/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/tokens.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   NeoLoma 设计语言 —— 令牌（Loma 2.0：冷钢 + 琥珀）
   --------------------------------------------------------------------
   方向：Aqua 透亮质感 + 强新拟物，但材质基底换成**中性冷钢**。

   为什么改：
   1.0 的每个材质值都在约 30° 的橙色调上（底色、面板、金属、高光、文字）。
   明度变化再多，没有色相对比，人眼很快适应，就会「腻」——这是物理原因，
   不是「颜色太亮」。

   2.0 的规则：
     · **结构用冷钢**：底色、面板、顶栏、页脚、输入槽全部是 R≈G≈B 的中性灰，
       高光偏冷白（铝的真实高光来自天空，不是金色）。
     · **琥珀只做强调**：主按钮、当前项、关键读数、焦点环、能量缝。
       周围都中性了，琥珀才有对比可依，才「跳」得出来。
     · **黄铜只做铭刻**：黄铜脊、权限组铭牌、品牌徽章 —— 这些是「铭牌」，
       不是「结构」。冷钢与黄铜并置，本身就是最真实的双金属反射。
     · **背景是中性暗场**：去掉橙/黄铜/铁锈三层暖色光池，
       只留一道偏冷的顶光，把暖色让给元件本身。

   所以「金属反射」靠的不是更亮的颜色，而是**冷白高光 vs 中性灰面**的对比，
   以及**冷钢 vs 黄铜**的材质并置。

   物理层级只有两套，贯穿全站：
     raised  凸起：面板、卡片、按钮（上方受光、下方带暗边）
     sunken  凹陷：输入框、进度槽、分段控件轨道（上方带暗影、下方返光）
   ========================================================================== */

:root {
  /* --- 底色：中性冷炭黑（R≈G≈B，蓝通道略高） -------------------------- */
  --neo-abyss: #05070b;
  --neo-deep: #0a0d13;
  --neo-mid: #131720;
  --neo-surface: #1d222c;

  /* --- 材质面：中性灰，明度递减 --------------------------------------
     每一档都是**四段**渐变而不是两段：0→15% 是一道明显更亮的肩部，
     之后迅速转暗并几乎走平。真实金属的漫反射很低，顶部那道亮肩是
     唯一被灯照到的地方 —— 两段均匀渐变看起来像纸板，四段才像金属。 */
  --neo-face-1: linear-gradient(
    180deg,
    rgba(96, 104, 118, 0.74) 0%,
    rgba(70, 76, 88, 0.72) 15%,
    rgba(48, 53, 63, 0.76) 52%,
    rgba(40, 44, 52, 0.78) 100%
  );
  --neo-face-2: linear-gradient(
    180deg,
    rgba(80, 87, 100, 0.9) 0%,
    rgba(58, 63, 74, 0.86) 15%,
    rgba(38, 42, 50, 0.88) 50%,
    rgba(31, 35, 42, 0.9) 100%
  );
  --neo-face-3: linear-gradient(
    180deg,
    rgba(62, 68, 79, 0.92) 0%,
    rgba(44, 48, 56, 0.9) 14%,
    rgba(28, 31, 38, 0.94) 55%,
    rgba(24, 27, 33, 0.95) 100%
  );
  --neo-sunken-1: linear-gradient(180deg, #080b11 0%, #11151d 100%);
  --neo-sunken-2: linear-gradient(180deg, #05080d 0%, #0c1017 100%);
  --neo-chrome: linear-gradient(180deg, #818b9c 0%, #454e5c 48%, #232830 100%);

  /* --- 冷钢面：全站所有「钢制凸起件」共用这一张面 ---------------------
     光源方向由这一处定义，别的地方不许再抄一遍。

     规矩只有一条：**从顶到底单调变暗**。
     旧版在 52%/56% 处埋了一道倒角亮线（#4a515e → #515a68 反而变亮），
     量出来它落在按钮下 56% 的位置，形成一条横贯的亮带；而顶边才是受光面。
     于是眼睛把这条带读成「光从下往上打」—— 光源方向反了。
     亮带删掉，光只从顶部来。

     0→10% 是亮肩（唯一被灯照到的地方），之后迅速走平：真实金属漫反射很低，
     两段均匀渐变看起来像纸板，四段才像金属。 */
  --neo-steel-face: linear-gradient(
    180deg,
    #9aa5b6 0%,
    #6d7684 10%,
    #4c535f 46%,
    #3a4049 78%,
    #262b34 100%
  );

  /* 钢件的边缘三件套：顶缘硬镜面线 + 底缘冷色反弹 + 底缘暗边。
     纯暗边只说明「有厚度」，反弹光才说明「这是被环境光照着的实物」。 */
  --neo-steel-rim:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.38),
    inset 0 -2px 0 rgb(var(--neo-bounce-rgb) / 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);

  /* 材质颗粒：SVG 噪点铺在最上层，overlay 混合 */
  --neo-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");

  /* --- 冷光只有三档：按「强度」分档，不是按每个元件随手取一个近似的白 ---
     之前全站散着十来个几乎相同的冷白（200,218,240 / 205,220,242 /
     210,224,244 / 235,243,255 / 180,200,228…），彼此差 5~15，肉眼分不出，
     却让「把整套金属调冷一点」变成改十几处。现在只留三档，用
     rgb(var(--x) / 透明度) 引用：
       light  = 顶缘硬镜面（最亮，只用在 1px 线上）
       cool   = 标准冷光：边框、返光、细高光
       bounce = 弱返光：沉降缝、底缘弹光                                   */
  --neo-light-rgb: 236 244 255;
  --neo-cool-rgb: 203 220 242;
  --neo-bounce-rgb: 178 198 226;

  /* --- 材质 RGB：给 rgb(var(--x) / 透明度) 用 --------------------------
     每种材质都是同一套三件套：lit（浅色档：边框、溢光）/ 本体 / seat（键脚
     那圈实心暗投影）。缺哪一件就会出现「差一点点」的硬编码。             */
  --neo-amber-rgb: 255 157 61;
  --neo-amber-lit-rgb: 255 205 150; /* 琥珀浅色档：边框、溢光、浅字 */
  --neo-amber-glow-rgb: 255 130 40; /* 琥珀外溢光 */
  --neo-brass-rgb: 224 180 92;
  --neo-brass-lit-rgb: 248 222 168;
  --neo-brass-seat-rgb: 90 62 10;
  --neo-ember-rgb: 255 106 61;
  --neo-ember-lit-rgb: 255 190 170;
  --neo-ember-seat-rgb: 84 21 9;
  --neo-jade-rgb: 108 196 150;
  --neo-seat-rgb: 96 42 6; /* 琥珀键脚那圈实心暗投影 */
  --neo-warm-white-rgb: 255 231 201; /* 压在琥珀面上的刻字高光 */

  /* 状态字的亮色档：同一种状态只允许一个色值，别各写各的近似色 */
  --neo-jade-ink: #b7e8c9;
  --neo-brass-ink: #ecd9a4;
  --neo-ember-ink: #ffbfb2;

  /* --- 高光与倒角：冷白，这是「金属反射」的本体 ----------------------- */
  --neo-specular: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.32);
  --neo-specular-hard: inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.88);
  --neo-specular-soft: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.15);
  --neo-rim: inset 0 -1px 0 rgba(0, 0, 0, 0.58);
  --neo-rim-hard: inset 0 -2px 0 rgba(0, 0, 0, 0.62);
  --neo-etch: inset 0 0 0 1px rgb(var(--neo-cool-rgb) / 0.08);
  --neo-well: inset 0 3px 8px rgba(0, 0, 0, 0.8), inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.06);

  /* 反弹光：中性环境里，底缘弹回的是冷光。
     纯暗边只说明「有厚度」，反弹光才说明「这是被环境光照着的实物」。 */
  --neo-bounce: inset 0 -2px 0 rgb(var(--neo-cool-rgb) / 0.1);

  /* 黄铜脊：页头铭牌与徽章座的侧边金属。
     这是全站少数保留暖色的材质 —— 冷钢与黄铜并置才有双金属反射。 */
  --neo-brass-edge: linear-gradient(180deg, #f7e0ad 0%, #d8ac53 38%, #8d6a22 54%, #5d4514 100%);

  /* --- 投影：实体感 = 更实、更近、带厚度 ------------------------------ */
  --neo-shadow-raised: 0 1px 0 rgba(0, 0, 0, 0.42), 0 8px 16px -12px rgba(0, 0, 0, 0.95);
  --neo-shadow-float: 0 2px 0 rgba(0, 0, 0, 0.48), 0 16px 30px -16px rgba(0, 0, 0, 1);
  --neo-shadow-deep: 0 3px 0 rgba(0, 0, 0, 0.52), 0 26px 48px -24px rgba(0, 0, 0, 1);
  --neo-shadow-amber: 0 2px 0 rgb(var(--neo-seat-rgb) / 0.9), 0 10px 22px -12px rgb(var(--neo-amber-glow-rgb) / 0.45);

  /* --- 强调色：琥珀（只在焦点处出现） --------------------------------- */
  --neo-amber: #ff9d3d;
  --neo-amber-hi: #ffdcb0;
  --neo-amber-deep: #c4600f;
  --neo-amber-deepest: #9c4406; /* 琥珀最深处：抛光条/键脚的底 */
  --neo-ember: #ff6a3d;
  /* 黄铜：第二材质，只用于铭刻 */
  --neo-brass: #e0b45c;
  --neo-brass-lit: #f8dea8;
  --neo-jade: #6cc496;

  /* --- 文字：中性微冷白（避免纯白的刺眼，也不带黄） -------------------
     三档是按「读不读得清」定的，不是按「看起来灰不灰」定的：
     dim 在深钢面上约 5:1、faint 约 3.4:1 —— 都还站得住小字。
     之前 faint 是 0.3，算术对比度只有 2.2:1，读数是「看得见但费劲」。 */
  --neo-ink: #eef2f8;
  --neo-ink-soft: rgba(226, 233, 244, 0.78);
  --neo-ink-dim: rgba(216, 225, 240, 0.6);
  --neo-ink-faint: rgba(206, 216, 232, 0.44);

  /* --- 圆角：胶囊语汇 + Aqua 的小圆角凹陷件 --------------------------- */
  --neo-radius-pill: 999px;
  --neo-radius-capsule: 24px;
  --neo-radius-panel: 18px;
  --neo-radius-chip: 12px;
  --neo-radius-input: 10px;

  /* --- 间距与栅格 ------------------------------------------------------ */
  --neo-gap-1: 4px;
  --neo-gap-2: 8px;
  --neo-gap-3: 12px;
  --neo-gap-4: 16px;
  --neo-gap-5: 24px;
  --neo-gap-6: 32px;
  --neo-gap-7: 48px;
  --neo-gap-8: 72px;
  --neo-wrap: 1180px;
  --neo-wrap-narrow: 760px;

  /* --- 字体 ------------------------------------------------------------ */
  --neo-font: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
  --neo-font-mono: 'JetBrains Mono', 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;

  /* --- 动效：更「机械」，按下要有实体下沉 ------------------------------ */
  --neo-ease: cubic-bezier(0.2, 0.82, 0.3, 1);
  --neo-press: 90ms;
  --neo-base: 200ms;
  --neo-slow: 420ms;

  /* --- 环境光：中性暗场 + 一道偏冷的顶光 -------------------------------
     这道顶光是「冷钢」成立的前提：没有它，整页只是一块均匀的黑，
     金属的所有高光就都成了凭空出现的线。0.09 时几乎看不出，提一档。 */
  --neo-glow-1: rgba(150, 180, 224, 0.12);
  --neo-glow-2: rgba(110, 130, 165, 0.07);
  --neo-glow-3: rgba(90, 110, 145, 0.055);

  /* --- 分段控件（顶栏导轨与页面 tabs 共用同一套材质） -------------------
     一条凹槽 + 若干「段」。只有当前项是一枚真实按键，其余各段贴在槽底、
     几乎没有面 —— 五段各做成胶囊，读起来就是五个并排按钮，不是分段控件。
     扩到别处时直接引这几个令牌，不要再抄一遍数值。 */
  --neo-groove-face: linear-gradient(180deg, #0b0f15 0%, #11161e 48%, #181f29 100%);
  --neo-groove-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(0, 0, 0, 0.9),
    inset 0 -1px 0 rgb(var(--neo-cool-rgb) / 0.16),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.12);
  /* 悬停：槽里浮起一小块，只给顶面返光，没有厚投影 */
  --neo-key-hover-face: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.11), rgb(var(--neo-cool-rgb) / 0.03));
  --neo-key-hover-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);

  /* --- 琥珀塑料面：当前项 / 分段键 / 主按钮共用 -------------------------
     只留一条窄镜面。宽白斑会读成塑料糖果，压在这种尺寸上尤其廉价。 */
  --neo-resin-face:
    radial-gradient(120% 74% at 34% 0%, rgba(255, 255, 255, 0.38), transparent 62%),
    linear-gradient(180deg, #ffbe71 0%, #ff9c39 47%, #e2700f 57%, #ad4c06 100%);
  --neo-resin-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -2px 5px rgb(var(--neo-seat-rgb) / 0.42),
    0 2px 0 rgb(var(--neo-seat-rgb) / 0.92),
    0 7px 14px -8px rgba(0, 0, 0, 0.95),
    0 0 14px -10px rgb(var(--neo-amber-rgb) / 0.6);
  /* 深棕字压在琥珀面上，刻字阴影要落在字的下方 */
  --neo-resin-ink: #2a1204;
  --neo-resin-ink-shadow: 0 1px 0 rgb(var(--neo-warm-white-rgb) / 0.5);
}

/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/base.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   NeoLoma 设计语言 —— 基础层
   重置、排版、布局原语、中性冷场（冷钢基底 + 琥珀强调）。
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--neo-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--neo-ink);
  background-color: var(--neo-abyss);
  background-image:
    var(--neo-noise),
    radial-gradient(105% 65% at 14% -8%, var(--neo-glow-1) 0%, transparent 58%),
    radial-gradient(85% 55% at 88% 0%, var(--neo-glow-2) 0%, transparent 62%),
    radial-gradient(120% 80% at 50% 108%, var(--neo-glow-3) 0%, transparent 64%),
    linear-gradient(180deg, var(--neo-mid) 0%, var(--neo-deep) 46%, var(--neo-abyss) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Aqua 式滚动条：凹槽轨道 + 琥珀滑块 */
* {
  scrollbar-width: thin;
  scrollbar-color: #4a5361 #0d1119;
}

::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(90deg, #080b11, #11151d);
  box-shadow: inset 1px 0 0 rgb(var(--neo-cool-rgb) / 0.06), inset -1px 0 0 rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-thumb {
  border-radius: var(--neo-radius-pill);
  /* 同样用 --neo-steel-face：滑块也是钢件，也遵守「从顶到底单调变暗」。
     旧的 52%/54% 倒角亮线在 13px 高的滑块上同样落在下半部。 */
  background-image: var(--neo-steel-face);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.7);
}

::-webkit-scrollbar-thumb:hover {
  background-image: var(--neo-steel-face);
  filter: brightness(1.12);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 var(--neo-gap-4);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 var(--neo-gap-4);
}

/* 正文链接：琥珀字 + 同色细下划线。
   纯琥珀色的字在深底上会被读成「被强调的词」而不是「能点的地方」，
   一条下划线就能区分这两者，且不增加任何新的暖色面积。 */
a {
  color: var(--neo-amber);
  text-decoration: underline;
  -webkit-text-decoration-color: rgb(var(--neo-amber-rgb) / 0.4);
          text-decoration-color: rgb(var(--neo-amber-rgb) / 0.4);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition:
    color var(--neo-press) var(--neo-ease),
    -webkit-text-decoration-color var(--neo-press) var(--neo-ease);
  transition:
    color var(--neo-press) var(--neo-ease),
    text-decoration-color var(--neo-press) var(--neo-ease);
  transition:
    color var(--neo-press) var(--neo-ease),
    text-decoration-color var(--neo-press) var(--neo-ease),
    -webkit-text-decoration-color var(--neo-press) var(--neo-ease);
}

a:hover {
  color: var(--neo-amber-hi);
  -webkit-text-decoration-color: currentColor;
          text-decoration-color: currentColor;
}

/* 按钮、标签、卡片标题里的「链接」不该带下划线 —— 它们本身就是控件 */
.btn,
.chip,
.tag-chip,
.group-pill,
.eyebrow,
.nav-rail a,
.tabs a,
.tabs button,
.doc-list a,
.filter-list a,
.footer a,
.thread-meta a,
.post-side a,
/* 整卡就是链接（成员卡、帖子卡、资源卡）—— 下划线会像漏网的正文链接 */
.card a,
.resource-card a,
.thread-item a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
  text-decoration: none;
}

/* 卡内的链接是卡片的一部分，不是正文里的强调：常态用中性亮字，
   hover 才亮起琥珀。卡片一多（成员页一屏四张），每张都顶着一个琥珀名字
   就会变成一片暖点，而琥珀本该留给「主键 / 当前项 / 关键读数」。 */
.card a,
.resource-card a,
.thread-item a {
  color: var(--neo-ink);
  transition: color var(--neo-press) var(--neo-ease);
}

.card a:hover,
.resource-card a:hover,
.thread-item a:hover {
  color: var(--neo-amber-hi);
}

/* 成员卡整张就是一个 <a class="card"> —— 卡片**本身**继承的也是琥珀色，
   里面的名字会跟着变暖。卡片自身要回到中性色，只有名字在 hover 时亮起。 */
a.card,
a.card:hover {
  color: var(--neo-ink);
}

a.card:hover strong {
  color: var(--neo-amber-hi);
}

code,
pre,
kbd {
  font-family: var(--neo-font-mono);
  font-size: 0.88em;
}

/* 内联代码 = 刻进正文的一道冷钢刻槽，不是琥珀块。
   以前这里是琥珀底 + 琥珀字 + 琥珀边，一篇文档里几十个 inline code
   排下来就是成片的暖色 —— 琥珀本该留给「主按钮 / 当前项 / 关键读数」，
   代码标识属于结构信息，不该占用强调色。 */
code {
  padding: 0.12em 0.42em;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.22));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.16);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.5),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.14);
  color: var(--neo-ink);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

pre {
  overflow-x: auto;
  padding: var(--neo-gap-5);
  border-radius: var(--neo-radius-panel);
  background:
    var(--neo-noise),
    linear-gradient(180deg, #080b11, #11151d);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.09);
  box-shadow: var(--neo-well);
  line-height: 1.6;
}

pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  margin: var(--neo-gap-6) 0;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  padding-left: 1.35em;
  margin: 0 0 var(--neo-gap-4);
}

li {
  margin-bottom: var(--neo-gap-2);
}

/* 焦点环跟着元件自己的圆角走。这里不能再写 border-radius ——
   那会把胶囊键的圆角在获得焦点的瞬间改掉，看上去像元件跳了一下。 */
:focus-visible {
  outline: 2px solid var(--neo-amber);
  outline-offset: 3px;
}

::selection {
  background: rgb(var(--neo-amber-rgb) / 0.32);
  color: #1a0e04;
}

/* --- 布局原语 ---------------------------------------------------------- */

.wrap {
  width: min(100% - 40px, var(--neo-wrap));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 40px, var(--neo-wrap-narrow));
  margin-inline: auto;
}

.section {
  padding: var(--neo-gap-8) 0;
}

.section-tight {
  padding: var(--neo-gap-7) 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-4);
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-2);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--neo-gap-3);
  flex-wrap: wrap;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--neo-gap-3);
  flex-wrap: wrap;
}

.grid {
  display: grid;
  grid-gap: var(--neo-gap-5);
  gap: var(--neo-gap-5);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* 固定三列：卡片数能整除时排成完整矩阵，auto-fit 会在末行留孤卡 */
.grid-3-fixed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid-3-fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid-3-fixed {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 跳过链接 = 树脂面上的一枚键，和主按钮是同一块琥珀塑料 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--neo-radius-pill);
  background-image: var(--neo-resin-face);
  color: var(--neo-resin-ink);
  text-shadow: var(--neo-resin-ink-shadow);
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -2px 5px rgba(120, 48, 0, 0.42),
    0 2px 0 rgba(92, 38, 2, 0.92),
    0 6px 16px -8px rgba(0, 0, 0, 0.9);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* --- 标题区 ------------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--neo-gap-2);
  margin: 0 0 var(--neo-gap-3);
  padding: 5px 14px;
  border-radius: var(--neo-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neo-amber-hi);
  background: linear-gradient(180deg, rgb(var(--neo-amber-rgb) / 0.2), rgb(var(--neo-amber-rgb) / 0.07));
  border: 1px solid rgb(var(--neo-amber-lit-rgb) / 0.28);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.3), 0 2px 8px -4px rgba(0, 0, 0, 0.8);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--neo-gap-6);
}

/* 用 :not(.eyebrow) 排除铭牌 —— 否则 `.section-head p`（0,1,1）会盖掉
   `.eyebrow`（0,1,0），让每个内容页的 eyebrow 丢掉琥珀色变成普通灰字。 */
.section-head > p:not(.eyebrow) {
  color: var(--neo-ink-soft);
  font-size: 1.04rem;
  margin-bottom: 0;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.lede {
  font-size: 1.08rem;
  color: var(--neo-ink-soft);
  max-width: 62ch;
}

.muted {
  color: var(--neo-ink-dim);
}

.fineprint {
  font-size: 0.84rem;
  color: var(--neo-ink-dim);
  margin: var(--neo-gap-2) 0 0;
}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/components.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   NeoLoma 设计语言 —— 组件层
   --------------------------------------------------------------------
   Aqua 透亮 + 新拟物。材质是有名字的：
     · 面板 / 卡片 = 磨砂青铜板（凸起，顶面受光，底面落影）
     · 按钮       = 琥珀塑料（顶部一条硬镜面线，按下会陷进去）
     · 输入框     = 冲压凹槽（顶部暗、底部返光）
     · 进度槽     = 凹槽 + 抛光滑块
     · 顶栏       = 拉丝金属（横向发丝纹）
   全部不用 backdrop-blur —— 那是液态玻璃，不是 Aqua。
   ========================================================================== */

/* --- 面板与卡片（凸起的实体板） ---------------------------------------- */

.panel {
  position: relative;
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    /* 一道极窄的斜向反光：同一种光落在同一块板上 */
    linear-gradient(112deg, transparent 36%, rgb(var(--neo-cool-rgb) / 0.05) 54%, transparent 70%),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow:
    var(--neo-specular),
    var(--neo-rim),
    var(--neo-bounce),
    var(--neo-shadow-float);
  padding: var(--neo-gap-5);
}
.panel-tight {
  padding: var(--neo-gap-4);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--neo-gap-3);
  margin-bottom: var(--neo-gap-4);
  padding-bottom: var(--neo-gap-3);
  border-bottom: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}

.panel-title {
  font-weight: 650;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-3);
  padding: var(--neo-gap-5);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    linear-gradient(112deg, transparent 38%, rgb(var(--neo-cool-rgb) / 0.045) 56%, transparent 72%),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow:
    var(--neo-specular),
    var(--neo-rim),
    var(--neo-bounce),
    var(--neo-shadow-float);
  transition:
    transform var(--neo-base) var(--neo-ease),
    border-color var(--neo-base) var(--neo-ease),
    box-shadow var(--neo-base) var(--neo-ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--neo-amber-rgb) / 0.34);
  box-shadow:
    var(--neo-specular),
    var(--neo-rim),
    var(--neo-bounce),
    var(--neo-shadow-deep);
}

.card h3 {
  margin: 0;
}

/* 卡片标题是暖白，不是琥珀 —— 一屏六张卡全是橙标题会糊成一片 */
.card h3 a {
  color: var(--neo-ink);
}

.card h3 a:hover {
  color: var(--neo-amber-hi);
}

.card p {
  margin: 0;
  color: var(--neo-ink-soft);
  font-size: 0.95rem;
}

/* 凸起的金属小方块（图标座）：冷钢凹面 + 黄铜细边 + 琥珀字形。
   三层材质各占极小面积 —— 全片铺琥珀会把「强调」变回「结构」。 */
.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--neo-amber-hi);
  background-image:
    linear-gradient(180deg, rgba(96, 104, 118, 0.3), rgba(34, 38, 46, 0.55));
  border: 1px solid rgb(var(--neo-brass-rgb) / 0.26);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.42),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 2px 6px -3px rgba(0, 0, 0, 0.9);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- 琥珀塑料按键 ------------------------------------------------------ */

.btn {
  /* 冷钢面：--neo-steel-face。**从顶到底单调变暗**。
     旧版在 52%/56% 处埋了一道倒角亮线（#4a515e → #515a68 反而变亮），
     量出来在按钮下 56% 的位置形成一条横贯的亮带 —— 而顶边才是受光面。
     于是眼睛读成「光从下往上打」，也就是光源方向反了。亮带删掉，光只从顶部来。 */
  --btn-bg: var(--neo-steel-face);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--neo-gap-2);
  padding: 11px 24px;
  border-radius: var(--neo-radius-pill);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.16);
  /* <button> 的 UA 默认背景色是 buttonface（白），幽灵键的半透明渐变盖不住它 */
  background-color: transparent;
  background-image: var(--btn-bg);
  color: var(--neo-ink);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  /* 键面上的一行字不该折行。空间不够时由外层决定换行策略，
     而不是把「发帖」压成竖排的两个字（移动端顶栏正是这样）。 */
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  box-shadow:
    var(--neo-steel-rim),
    0 3px 0 rgba(0, 0, 0, 0.55),
    0 8px 16px -10px rgba(0, 0, 0, 0.95);
  transition:
    transform var(--neo-press) var(--neo-ease),
    box-shadow var(--neo-press) var(--neo-ease),
    filter var(--neo-press) var(--neo-ease);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.45),
    inset 0 -2px 0 rgb(var(--neo-bounce-rgb) / 0.11),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 4px 0 rgba(0, 0, 0, 0.55),
    0 12px 20px -12px rgba(0, 0, 0, 1);
}

/* 按下 = 实体沉进台面 */
.btn:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.16),
    0 1px 0 rgba(0, 0, 0, 0.55);
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.4);
}

/* 主键：琥珀塑料，与导轨上的当前项、分段键是同一个面（--neo-resin-face） */
.btn-primary {
  --btn-bg: var(--neo-resin-face);
  border-color: rgb(var(--neo-amber-lit-rgb) / 0.55);
  color: var(--neo-resin-ink);
  text-shadow: var(--neo-resin-ink-shadow);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -3px 6px rgb(var(--neo-seat-rgb) / 0.5),
    0 3px 0 rgb(var(--neo-seat-rgb) / 0.95),
    0 10px 20px -10px rgba(0, 0, 0, 0.95);
}

.btn-primary:hover {
  color: #1d0c02;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgb(var(--neo-seat-rgb) / 0.5),
    0 4px 0 rgb(var(--neo-seat-rgb) / 0.95),
    0 14px 24px -12px rgb(var(--neo-amber-glow-rgb) / 0.5);
}

.btn-primary:active {
  box-shadow:
    inset 0 2px 8px rgb(var(--neo-seat-rgb) / 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 0 rgb(var(--neo-seat-rgb) / 0.95);
}

/* 原先的第三种键（冷钢面 + 琥珀字）随顶栏「发帖」一起退场：
   那枚键唯一的使用处就是顶栏，而顶栏现在只留字（见 .btn-text）。 */

.btn-danger {
  --btn-bg: linear-gradient(180deg, #ffa08c 0%, #e05a3c 44%, #a8341c 54%, #6f1f0e 100%);
  border-color: rgb(var(--neo-ember-lit-rgb) / 0.5);
  color: #2b0a03;
  text-shadow: 0 1px 0 rgb(var(--neo-ember-lit-rgb) / 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -3px 6px rgb(var(--neo-ember-seat-rgb) / 0.5),
    0 3px 0 rgb(var(--neo-ember-seat-rgb) / 0.9),
    0 10px 20px -12px rgba(0, 0, 0, 0.95);
}

/* 幽灵键：不做主体，只留一圈刻线 */
.btn-ghost {
  --btn-bg: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.07), rgb(var(--neo-cool-rgb) / 0.015));
  border-color: rgb(var(--neo-cool-rgb) / 0.16);
  color: var(--neo-ink-soft);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55);
}

.btn-ghost:hover {
  color: var(--neo-ink);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.13), rgb(var(--neo-cool-rgb) / 0.04));
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-empty {
  opacity: 0.55;
  pointer-events: none;
}

/* --- 纯文字键 ------------------------------------------------------------ */
/* 顶栏原本是「一条冲压凹槽的导轨 + 四枚实体键」，两种材质在同一个顶栏里打架，
   而且都在和真正的内容抢注意力。现在顶栏只剩字：
   悬浮 = 字发亮并起辉光（中性冷白，强调琥珀）；按下 = 字沉一下、身后炸开
   一圈微光，像按下一枚字模。导航行的各项与右侧的键共用这同一套规则 ——
   两者的差别只在字号与字距，写在各自的上下文里。 */
.btn-text,
.nav-rail a {
  --btn-bloom: var(--neo-light-rgb);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: var(--neo-ink-soft);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--neo-press) var(--neo-ease),
    text-shadow var(--neo-press) var(--neo-ease),
    transform var(--neo-press) var(--neo-ease);
}

/* 按下时身后炸开的那圈微光。::before 画在文字下面，光从字背后透出来。 */
.btn-text::before,
.nav-rail a::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 50%,
    rgb(var(--btn-bloom) / 0.4),
    transparent 62%
  );
  opacity: 0;
  transform: scale(0.3);
  pointer-events: none;
  transition:
    opacity 140ms var(--neo-ease),
    transform 140ms var(--neo-ease);
}

.btn-text:hover,
.nav-rail a:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  border-color: transparent;
  background-image: none;
  color: #fff;
  text-shadow:
    0 0 10px rgb(var(--neo-cool-rgb) / 0.55),
    0 0 22px rgb(var(--neo-cool-rgb) / 0.2);
}

.btn-text:active,
.nav-rail a:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: none;
  text-shadow: 0 0 6px rgb(var(--neo-cool-rgb) / 0.3);
}

.btn-text:active::before,
.nav-rail a:active::before {
  opacity: 1;
  transform: scale(1);
  transition-duration: 40ms;
}

.btn-text:focus-visible,
.nav-rail a:focus-visible {
  outline: 1px solid rgb(var(--neo-amber-rgb) / 0.7);
  outline-offset: 2px;
}

/* 强调键（发帖 / 注册）：字本身是琥珀色，辉光也跟着是琥珀 */
.btn-text-accent {
  --btn-bloom: var(--neo-amber-lit-rgb);
  color: var(--neo-amber-hi);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
}

.btn-text-accent:hover {
  color: #fff4e2;
  text-shadow:
    0 0 10px rgb(var(--neo-amber-rgb) / 0.75),
    0 0 24px rgb(var(--neo-amber-rgb) / 0.38);
}

.btn-text-accent:active {
  text-shadow: 0 0 8px rgb(var(--neo-amber-rgb) / 0.45);
}

/* --- 小胶囊徽章 -------------------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--neo-radius-pill);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--neo-ink-soft);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.1), rgb(var(--neo-cool-rgb) / 0.03));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.14);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.22), 0 2px 4px -3px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.chip-live {
  color: var(--neo-jade-ink);
  background-image: linear-gradient(180deg, rgb(var(--neo-jade-rgb) / 0.22), rgb(var(--neo-jade-rgb) / 0.07));
  border-color: rgb(var(--neo-jade-rgb) / 0.3);
}

.chip-progress {
  color: var(--neo-amber-hi);
  background-image: linear-gradient(180deg, rgb(var(--neo-amber-rgb) / 0.22), rgb(var(--neo-amber-rgb) / 0.07));
  border-color: rgb(var(--neo-amber-lit-rgb) / 0.3);
}

.chip-planned {
  color: var(--neo-ink-dim);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.05), rgb(var(--neo-cool-rgb) / 0.02));
  border-color: rgb(var(--neo-cool-rgb) / 0.09);
}

/* 置顶 / 精选 / v2 = 状态强调。琥珀实心感要够，才能和旁边的分类签拉开。 */
.chip-aqua {
  color: var(--neo-amber-hi);
  background-image: linear-gradient(180deg, rgb(var(--neo-amber-rgb) / 0.3), rgb(var(--neo-amber-rgb) / 0.1));
  border-color: rgb(var(--neo-amber-lit-rgb) / 0.38);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-warm-white-rgb) / 0.16),
    0 2px 4px -3px rgba(0, 0, 0, 0.9);
}

/* 分类名（分区 / 文件名 / @handle）= 结构信息，做成**刻进面板的浅槽**。
   原来它是黄铜签，和琥珀的状态签在深底上只差 20° 色相，肉眼分不出是两类东西；
   改成中性凹槽后，「这是什么类别」与「这是什么状态」一眼可辨。
   类名 chip-teal 是历史遗留，实际早已不是绿色。 */
.chip-teal {
  color: var(--neo-ink-soft);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.2));
  border-color: rgb(var(--neo-cool-rgb) / 0.14);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.14);
}

.chip-coral {
  color: var(--neo-ember-ink);
  background-image: linear-gradient(180deg, rgb(var(--neo-ember-rgb) / 0.22), rgb(var(--neo-ember-rgb) / 0.07));
  border-color: rgb(var(--neo-ember-rgb) / 0.3);
}

/* 黄铜小签：许可证、组 id 这类「铭刻上去的标识」。
   原来是紫色 chip-violet，是 NeoLoma 之前的旧调色板残留 —— 全站唯一的冷色，很扎眼。 */
.chip-brass {
  color: var(--neo-brass-ink);
  background-image: linear-gradient(180deg, rgb(var(--neo-brass-rgb) / 0.24), rgb(var(--neo-brass-rgb) / 0.08));
  border-color: rgb(var(--neo-brass-rgb) / 0.34);
}

/* 刻字小签：资源标签（#地形 / #数据表）。
   原先复用 chip-planned —— 那是「计划中」的状态色，灰得像禁用，语义也不对。
   这里做成刻进面板的浅槽 + 暖字，跟琥珀色的分类 chip 拉开层级。 */
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--neo-radius-pill);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--neo-brass-ink);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.14));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.13);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.7),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.09);
}

.tag-chip::before {
  content: '#';
  margin-right: 1px;
  color: rgb(var(--neo-cool-rgb) / 0.6);
}

/* 条约列表：序号是刻进面板里的小凹槽，条目之间用刻线分隔 —— 像仪表面板上的铭牌条目 */
.rule-list {
  list-style: none;
  counter-reset: rule;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--neo-ink-dim);
}

.rule-list li {
  counter-increment: rule;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: start;
  line-height: 1.55;
}

.rule-list li::before {
  content: counter(rule);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--neo-amber-hi);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.16));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.09);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.72),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.07);
}

/* --- 冲压凹槽（输入控件） ---------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--neo-gap-4);
}

.field > label {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--neo-ink-soft);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--neo-ink-dim);
}

.field-error {
  font-size: 0.8rem;
  color: var(--neo-ember-ink);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--neo-ink);
  background-image:
    var(--neo-noise),
    /* 槽底有一点环境返光，否则就是一块纯黑的洞。中性暗场里返的是冷光。 */
    radial-gradient(140% 180% at 50% 0%, rgb(var(--neo-bounce-rgb) / 0.11), transparent 58%),
    var(--neo-sunken-1);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  border-radius: var(--neo-radius-input);
  box-shadow:
    inset 0 4px 8px rgba(0, 0, 0, 0.82),
    inset 0 -2px 0 rgb(var(--neo-bounce-rgb) / 0.1),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.06);
  transition:
    border-color var(--neo-press) var(--neo-ease),
    box-shadow var(--neo-press) var(--neo-ease);
}

.textarea {
  border-radius: var(--neo-radius-chip);
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

.select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  /* 让原生下拉面板（popup）整体走暗色，否则选项列表是系统浅色 */
  color-scheme: dark;
  background-image:
    var(--neo-noise),
    var(--neo-sunken-1),
    linear-gradient(45deg, transparent 50%, #8f9aad 50%),
    linear-gradient(135deg, #8f9aad 50%, transparent 50%);
  background-position:
    0 0,
    0 0,
    calc(100% - 18px) calc(50% + 1px),
    calc(100% - 13px) calc(50% + 1px);
  background-size:
    100% 100%,
    100% 100%,
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

/* 弹出的选项列表由浏览器渲染，option 必须自带底色，否则是白底浅字 */
.select option {
  background-color: #11151d;
  color: var(--neo-ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 6px 10px;
}

.select option:checked {
  background-color: #1c2230;
  background-image: linear-gradient(90deg, rgb(var(--neo-amber-rgb) / 0.24), rgb(var(--neo-amber-rgb) / 0.04));
  color: var(--neo-amber-hi);
  font-weight: 650;
}

.select option:hover {
  background-color: #252c3a;
  color: #fff;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--neo-ink-faint);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgb(var(--neo-amber-rgb) / 0.55);
  box-shadow:
    inset 0 4px 8px rgba(0, 0, 0, 0.82),
    inset 0 -2px 0 rgb(var(--neo-bounce-rgb) / 0.12),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.06),
    0 0 0 3px rgb(var(--neo-amber-rgb) / 0.16);
}

.input[aria-invalid='true'],
.textarea[aria-invalid='true'] {
  border-color: rgb(var(--neo-ember-rgb) / 0.6);
}

/* --- 附件选择：把原生 file 控件的 UA 按钮换掉 ---------------------------
   原生 <input type="file"> 的按钮由浏览器绘制：系统白底浅字，在冷钢面里
   像一块掉出来的白纸片。UA 按钮不能直接上色，只能用 ::file-selector-button
   自绘 —— 键从凹槽里升起来，和其它次级键共用同一张冷钢面。
   （按钮本身没法改成 input::-webkit-file-upload-button，
     那条只在 Blink 上生效，Firefox 不认。） */
.input[type='file'] {
  padding: 7px 8px;
  line-height: 1.5;
  cursor: pointer;
}

.input[type='file']::-webkit-file-upload-button {
  margin-right: 12px;
  padding: 7px 18px;
  border-radius: var(--neo-radius-pill);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.16);
  /* 与 .btn 同一张冷钢面，光源方向仍由 --neo-steel-face 一处定义 */
  background-image: var(--neo-steel-face);
  color: var(--neo-ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.05),
    0 3px 7px -4px rgba(0, 0, 0, 0.95);
  -webkit-transition:
    color var(--neo-ease),
    border-color var(--neo-ease);
  transition:
    color var(--neo-ease),
    border-color var(--neo-ease);
}

.input[type='file']::file-selector-button {
  margin-right: 12px;
  padding: 7px 18px;
  border-radius: var(--neo-radius-pill);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.16);
  /* 与 .btn 同一张冷钢面，光源方向仍由 --neo-steel-face 一处定义 */
  background-image: var(--neo-steel-face);
  color: var(--neo-ink-soft);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.26),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.05),
    0 3px 7px -4px rgba(0, 0, 0, 0.95);
  transition:
    color var(--neo-ease),
    border-color var(--neo-ease);
}

.input[type='file']::-webkit-file-upload-button:hover {
  color: var(--neo-ink);
  border-color: rgb(var(--neo-amber-rgb) / 0.42);
}

.input[type='file']::file-selector-button:hover {
  color: var(--neo-ink);
  border-color: rgb(var(--neo-amber-rgb) / 0.42);
}

/* --- 凹槽进度条 + 抛光滑块 --------------------------------------------- */

.meter {
  position: relative;
  height: 10px;
  border-radius: var(--neo-radius-pill);
  background-image: var(--neo-sunken-2);
  border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.85), inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.07);
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  border-radius: var(--neo-radius-pill);
  /* 用材质的三个档位拼一根抛光的能量条，而不是另写一串橙色 */
  background-image: linear-gradient(
    180deg,
    rgb(var(--neo-amber-lit-rgb) / 1) 0%,
    var(--neo-amber) 46%,
    var(--neo-amber-deep) 56%,
    var(--neo-amber-deepest) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 10px -2px rgb(var(--neo-amber-rgb) / 0.55);
}

.meter-fill.amber {
  background-image: linear-gradient(
    180deg,
    var(--neo-brass-lit) 0%,
    var(--neo-brass) 46%,
    rgb(var(--neo-brass-rgb) / 0.82) 56%,
    rgb(var(--neo-brass-rgb) / 0.56) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.meter-fill.dim {
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.28), rgb(var(--neo-cool-rgb) / 0.1));
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.25);
}

/* --- 仪表读数表 -------------------------------------------------------- */

.spec-list {
  margin: 0;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.spec-list > div {
  display: grid;
  grid-template-columns: minmax(96px, 34%) 1fr;
  grid-gap: var(--neo-gap-3);
  gap: var(--neo-gap-3);
  padding: 10px 12px;
  border-radius: 10px;
}

.spec-list > div:nth-child(odd) {
  background: rgb(var(--neo-cool-rgb) / 0.04);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.06);
}

.spec-list dt {
  color: var(--neo-ink-dim);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.spec-list dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--neo-ink);
}

/* --- 凝胶头像 ---------------------------------------------------------- */

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1d0c02;
  background-image:
    radial-gradient(120% 90% at 30% 12%, rgba(255, 255, 255, 0.55), transparent 52%),
    linear-gradient(180deg, var(--avatar, #ff9d3d), rgba(0, 0, 0, 0.45));
  border: 1px solid rgb(var(--neo-amber-lit-rgb) / 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 2px 5px -2px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgb(var(--neo-warm-white-rgb) / 0.4);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.avatar-sm {
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
  border-radius: 9px;
}

.avatar-lg {
  width: 72px;
  height: 72px;
  font-size: 1.6rem;
  border-radius: 18px;
}

.avatar-xl {
  width: 104px;
  height: 104px;
  font-size: 2.3rem;
  border-radius: 24px;
}

/* --- 色板（头像颜色这类「一组颜色里选一个」的控件） --------------------
   选中态不能用白色描边：色块本身就是高饱和亮色，白边落在浅黄/浅蓝上
   几乎看不见 —— 截图里八个色块一个都没显示「当前选中」，用户根本
   不知道自己头像是什么颜色。改用琥珀点亮环 + 一圈暗隙：
   暗隙把色块和环分开，环才是琥珀本身的颜色，任何底色上都读得出来。 */
.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.55);
  /* 色值由行内 --swatch 传入，控件外观本身走令牌 */
  background-image: linear-gradient(180deg, var(--swatch), var(--swatch));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 6px rgba(0, 0, 0, 0.28),
    0 2px 5px -2px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transition:
    box-shadow var(--neo-press) var(--neo-ease),
    transform var(--neo-press) var(--neo-ease);
}

.swatch:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(0, 0, 0, 0.28),
    0 5px 10px -5px rgba(0, 0, 0, 1);
}

.swatch:focus-visible {
  outline: 2px solid rgb(var(--neo-amber-lit-rgb) / 0.9);
  outline-offset: 3px;
}

/* 选中 = 这枚色块被点亮：外圈琥珀环，中间夹一道暗隙 */
.swatch[aria-pressed='true'] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 6px rgba(0, 0, 0, 0.28),
    0 0 0 2px #0a0d13,
    0 0 0 4px rgb(var(--neo-amber-lit-rgb) / 0.95),
    0 0 14px -2px rgb(var(--neo-amber-rgb) / 0.55);
}

/* --- 拉丝金属顶栏 ------------------------------------------------------
   顶栏不是「一条背景色」，是一块悬在内容之上的金属板：
     · 横向发丝纹 —— 拉丝才是金属，竖条纹太像栅栏
     · 上缘一条硬镜面线（受光面），板面下暗（背光面）
     · 底部 2px 的黑色板边 = 看得见的厚度
     · 板边下方一道琥珀能量缝，把顶栏和正文切开
   导航则是 Aqua 的分段控件：一条**凹陷导轨**，当前项是一枚**凸起的
   琥珀塑料键**，其余项贴在导轨底部。
   -------------------------------------------------------------------- */

.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #0d1016;
  background-image:
    var(--neo-noise),
    /* 环境光从左上斜扫过金属面 */
    linear-gradient(104deg, transparent 16%, rgb(var(--neo-cool-rgb) / 0.07) 38%, transparent 56%),
    /* 右端一道更窄的返光，避免右侧成为死板 */
    linear-gradient(74deg, transparent 58%, rgb(var(--neo-cool-rgb) / 0.05) 78%, transparent 95%),
    /* 横向发丝纹 */
    repeating-linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.03) 0 1px, transparent 1px 4px),
    /* 板面本身：上亮下暗 */
    linear-gradient(180deg, #3c4453 0%, #232a36 44%, #1a202a 54%, #10141c 100%);
  border-bottom: 2px solid rgba(0, 0, 0, 0.78);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.52),
    inset 0 -1px 0 rgb(var(--neo-cool-rgb) / 0.05),
    0 12px 26px -14px rgba(0, 0, 0, 1);
}

/* 板边下的琥珀能量缝 */
.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(var(--neo-amber-rgb) / 0.32) 14%,
    rgb(var(--neo-amber-lit-rgb) / 0.6) 50%,
    rgb(var(--neo-amber-rgb) / 0.32) 86%,
    transparent 100%
  );
  pointer-events: none;
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--neo-gap-4);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--neo-gap-3);
  color: var(--neo-ink);
  flex: none;
}

.brand:hover {
  color: var(--neo-ink);
}

/* 黄铜徽章座：图标嵌进一圈金属环里 */
.brand-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 15px;
  background-image:
    radial-gradient(120% 110% at 32% 6%, rgb(var(--neo-amber-lit-rgb) / 0.3), transparent 62%),
    linear-gradient(180deg, rgba(70, 78, 92, 0.6), rgba(20, 24, 32, 0.88));
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.5),
    inset 0 -2px 5px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgb(var(--neo-brass-rgb) / 0.45),
    0 0 0 4px rgba(6, 9, 14, 0.9),
    0 0 0 5px rgb(var(--neo-brass-rgb) / 0.22),
    0 5px 12px -5px rgba(0, 0, 0, 0.95);
  transition: box-shadow var(--neo-base) var(--neo-ease);
}

.brand:hover .brand-badge {
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.6),
    inset 0 -2px 5px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgb(var(--neo-brass-rgb) / 0.7),
    0 0 0 4px rgba(6, 9, 14, 0.9),
    0 0 0 5px rgb(var(--neo-brass-rgb) / 0.35),
    0 6px 16px -6px rgb(var(--neo-amber-rgb) / 0.4);
}

/* 图标是透明 PNG：inset 阴影按元素盒子绘制，会透过透明区留下一个圆角矩形亮环，
   压在怀表顶冠上像一道划痕。改用 drop-shadow，阴影沿 PNG 自身的 alpha 轮廓走。 */
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.55));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--neo-ink);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
}

.brand-text em {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--neo-amber);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85), 0 0 12px rgb(var(--neo-amber-rgb) / 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--neo-gap-4);
  margin-left: auto;
}

/* 导航行：不再是一条冲压凹槽。
   槽 + 导轨 + 滑动指针那套是「分段控件」的语言，和右边纯文字的键站在一起
   就是两种材质在同一个顶栏里打架。现在整条导航就是一行字，
   行为规则（辉光 / 按下微光 / 焦点环）与 .btn-text 共用上面那一组。 */
.nav-rail {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 只有字号与字距跟右侧的键不同：导航是常驻项，克制一点 */
.nav-rail a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 当前页 = 琥珀字。以前它是一枚压在槽底的琥珀塑料键；
   没有槽了，位置感交给字色本身，其余各项保持中性。 */
.nav-rail a[aria-current='page'] {
  --btn-bloom: var(--neo-amber-lit-rgb);
  color: var(--neo-amber-hi);
  font-weight: 650;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.8),
    0 0 12px rgb(var(--neo-amber-rgb) / 0.35);
}

.nav-rail a[aria-current='page']:hover {
  color: #fff4e2;
  text-shadow:
    0 0 10px rgb(var(--neo-amber-rgb) / 0.75),
    0 0 24px rgb(var(--neo-amber-rgb) / 0.38);
}

/* 右侧控制舱：与导轨之间一道刻线分隔 */
.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--neo-gap-2);
  padding-left: var(--neo-gap-4);
}

.nav-actions:empty {
  display: none;
}

.nav-actions::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 28%, rgba(0, 0, 0, 0.9) 72%, transparent);
  box-shadow: 1px 0 0 rgb(var(--neo-cool-rgb) / 0.09);
}

.nav-user {
  max-width: 210px;
}

.nav-user-name {
  /* flex 子项默认 min-width:auto，不置 0 的话省略号不生效 */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* CJK 在 0.85rem 下笔画挤，给顶栏的键多一点横向余量 */
.nav-actions .btn-sm {
  padding: 7px 18px;
  font-size: 0.88rem;
}

/* 顶栏的纯文字键：字距给松一点，让辉光有地方散开。
   必须排在 .nav-actions .btn-sm 之后 —— 同权重，靠后覆盖。 */
.nav-actions .btn-text {
  padding: 8px 11px;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.16);
  /* 与按钮同一张冷钢面，光源方向由 --neo-steel-face 一处定义 */
  background-image: var(--neo-steel-face);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.3), 0 2px 6px -3px rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--neo-ink-soft);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--neo-gap-3);
    padding: var(--neo-gap-3);
    border-radius: var(--neo-radius-panel);
    background-image:
      var(--neo-noise),
      linear-gradient(180deg, #2a303b, #181d28);
    border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
    box-shadow: var(--neo-shadow-deep);
  }
  .nav[data-open='false'] {
    display: none;
  }
  .nav-rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
  }
  .nav-rail a {
    padding: 9px 13px;
  }
  .nav-actions {
    padding-left: 0;
    padding-top: var(--neo-gap-3);
    border-top: 1px solid rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 0 rgb(var(--neo-cool-rgb) / 0.07);
  }
  .nav-actions::before {
    display: none;
  }
  /* 窄屏这一行是「发帖 + 用户名 + 退出」。用户名一旦长起来（Causefficts 工作室），
     两个键就被挤到没有内容宽度 —— 只写 flex:1 挡不住，因为 flex-basis 是 0
     而键里的字又不能折行。让用户名吃掉剩余空间并自己出省略号，
     两个键按内容宽度站定。 */
  .nav-user {
    flex: 1 1;
    min-width: 0;
    /* 桌面端的 210px 上限在窄屏反而成了下限似的挤压源，交给 flex 算 */
    max-width: none;
  }
  .nav-actions .btn {
    flex: 0 0 auto;
  }
}

/* --- 页头铭牌（内容页抬头） --------------------------------------------
   以前页头只是一段飘在背景上的文字 —— 全站唯一没有材质的区域，
   页面一打开就露出「这还没做」。现在每张内容页的抬头都是一块
   **磨砂青铜铭牌**：左侧一道黄铜竖脊，板面顶亮底暗，底缘有厚度。
   -------------------------------------------------------------------- */

.page-head {
  position: relative;
  max-width: none;
  margin-bottom: var(--neo-gap-6);
  padding: var(--neo-gap-5) var(--neo-gap-6) var(--neo-gap-5) calc(var(--neo-gap-6) + 8px);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    radial-gradient(130% 170% at 4% -12%, rgb(var(--neo-cool-rgb) / 0.12), transparent 56%),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    var(--neo-bounce),
    0 2px 0 rgba(0, 0, 0, 0.4),
    0 18px 38px -22px rgba(0, 0, 0, 1);
  overflow: hidden;
  /* 铭牌内部：左标题右操作 —— 右边空一大块会像没做完 */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  grid-column-gap: var(--neo-gap-6);
  column-gap: var(--neo-gap-6);
}

.page-head > .eyebrow,
.page-head > h2,
.page-head > h1,
.page-head > p:not(.eyebrow) {
  grid-column: 1;
}

/* grid 子项默认在行内轴拉伸，eyebrow 会被抻成一条横条 */
.page-head > .eyebrow {
  justify-self: start;
}

.page-head > .row,
.page-head > .search-console {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .page-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-head > .row,
  .page-head > .search-console {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    margin-top: var(--neo-gap-4);
  }
}

/* 左侧黄铜脊 = 金属板的边 */
.page-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background-image: var(--neo-brass-edge);
  box-shadow:
    1px 0 0 rgb(var(--neo-cool-rgb) / 0.45),
    3px 0 8px rgba(0, 0, 0, 0.55);
}

.page-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin-bottom: var(--neo-gap-3);
}

/* 只压描述段，别把 eyebrow 铭牌的配色也压掉 */
.page-head > p:not(.eyebrow) {
  max-width: 68ch;
  color: var(--neo-ink-soft);
}

/* --- 检索台：输入槽 + 琥珀检索键 ----------------------------------------
   输入框和按钮不再各自带一圈边框 —— 它们合成一台仪器，
   键从槽里升起来，这正是 Aqua 检索框的做法。
   -------------------------------------------------------------------- */

.search-console {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  /* 别超过所在列。窄屏（390）下列宽只有 300 出头，检索台要能跟着缩，
     否则搜索键会被挤出卡片右边缘 —— 只露半个「搜」字，点都点不到。 */
  max-width: 100%;
  border-radius: var(--neo-radius-pill);
  background-image:
    var(--neo-noise),
    linear-gradient(180deg, #080b11 0%, #0f131a 100%);
  border: 1px solid rgba(0, 0, 0, 0.7);
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.85),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.14),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.09);
}

.search-console:focus-within {
  border-color: rgb(var(--neo-amber-rgb) / 0.5);
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.85),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.14),
    0 0 0 3px rgb(var(--neo-amber-rgb) / 0.16);
}

.search-console .input {
  width: 260px;
  /* min-width:auto 会让 input 拒绝收缩到固有宽度以下，于是 260px 在窄屏上
     依然把搜索键顶出卡片。归零才真的能被 flex 压缩。 */
  min-width: 0;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--neo-radius-pill);
  background: transparent;
  box-shadow: none;
}

.search-console .input:focus {
  outline: none;
  box-shadow: none;
}

/* 检索台的搜索键 = 仪器的一部分，不是页面主操作。
   降成冷钢面 + 琥珀字，把琥珀实心面让给页头唯一的那个主操作
   （论坛的「发新主题」、资源库的「上传资源」）—— 每屏至多一枚琥珀主键。 */
.search-console .btn {
  height: 34px;
  padding: 0 20px;
  --btn-bg: linear-gradient(
    180deg,
    rgba(122, 134, 152, 0.34) 0%,
    rgba(72, 80, 92, 0.3) 16%,
    rgba(38, 42, 50, 0.34) 100%
  );
  border-color: rgb(var(--neo-cool-rgb) / 0.22);
  color: var(--neo-amber-hi);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.72);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.55),
    0 6px 12px -9px rgba(0, 0, 0, 0.95);
}

/* 窄屏：检索台独占一行。移动端本来就没有并排的空间，
   与其把输入槽压成一条缝，不如让它铺满、搜索键固定在右端。 */
@media (max-width: 560px) {
  .search-console {
    width: 100%;
  }
  .search-console .input {
    width: auto;
    flex: 1 1 auto;
  }
  .search-console .btn {
    flex: none;
    padding: 0 16px;
  }
}

/* --- 侧栏筛选列表 -------------------------------------------------------
   以前每一项都是一枚独立胶囊，一列下来全是胶囊，噪音盖过内容。
   现在改成面板里的分隔行，当前项用左侧琥珀脊标出来。
   -------------------------------------------------------------------- */

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--neo-gap-3);
  padding: 9px 12px;
  border-radius: 9px;
  border-left: 3px solid transparent;
  color: var(--neo-ink-soft);
  font-size: 0.9rem;
  transition:
    color var(--neo-press) var(--neo-ease),
    background-color var(--neo-press) var(--neo-ease),
    border-color var(--neo-press) var(--neo-ease);
}

.filter-list a:hover {
  color: var(--neo-ink);
  background: rgb(var(--neo-cool-rgb) / 0.06);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.12);
}

.filter-list a[aria-current='page'] {
  color: var(--neo-amber-hi);
  border-left-color: var(--neo-amber);
  /* 当前项：面是抬高的冷钢，琥珀只留给左缘那一条与文字。
     整行灌琥珀会在深色底上塌成一片棕，读起来像脏而不是像「选中」。 */
  background: linear-gradient(180deg, rgba(96, 104, 118, 0.26), rgba(38, 42, 50, 0.34));
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.24),
    0 0 0 1px rgb(var(--neo-amber-rgb) / 0.14);
}

.filter-list .count {
  font-family: var(--neo-font-mono);
  font-size: 0.8rem;
  color: var(--neo-ink-faint);
}

.filter-list a[aria-current='page'] .count {
  color: var(--neo-amber);
}

/* --- 英雄区 ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--neo-gap-8) 0 var(--neo-gap-7);
  isolation: isolate;
}

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

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* 素材本身是暖色实拍。降饱和把它压成钢灰色的活动背景，
     首屏的色相仍由主题（冷钢 + 琥珀）决定，而不是由影片决定。 */
  filter: saturate(0.42) contrast(1.06) brightness(0.86);
  transition: opacity var(--neo-slow) var(--neo-ease);
}

.hero-video[data-ready='true'] video {
  opacity: 0.26;
}

/* 首屏压光：顶部一片冷白环境光（像天光斜落），下方沉入中性黑。 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(64% 54% at 24% 24%, rgba(150, 180, 224, 0.14), transparent 72%),
    radial-gradient(50% 44% at 82% 16%, rgb(var(--neo-cool-rgb) / 0.07), transparent 76%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.42), rgba(4, 6, 10, 0.92));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  grid-gap: var(--neo-gap-7);
  gap: var(--neo-gap-7);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  margin-bottom: var(--neo-gap-4);
}

.hero-sub-title {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.36em;
  color: var(--neo-amber);
  font-weight: 500;
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--neo-gap-3);
  margin-bottom: var(--neo-gap-5);
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-2);
}

.hero-facts li {
  display: flex;
  flex-wrap: wrap;
  gap: var(--neo-gap-2);
  margin: 0;
}

.hero-facts span {
  padding: 4px 12px;
  border-radius: var(--neo-radius-pill);
  font-size: 0.8rem;
  color: var(--neo-ink-soft);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.09), rgb(var(--neo-cool-rgb) / 0.02));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.2);
}

.hero-lens {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--neo-gap-3);
}

.hero-lens img {
  width: min(100%, 340px);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 70px rgb(var(--neo-bounce-rgb) / 0.16));
  animation: neo-float 9s var(--neo-ease) infinite alternate;
}

@keyframes neo-float {
  from {
    transform: translateY(-6px) rotate(-1.2deg);
  }
  to {
    transform: translateY(6px) rotate(1.2deg);
  }
}

.hero-lens-caption {
  font-size: 0.8rem;
  color: var(--neo-ink-dim);
  text-align: center;
  margin: 0;
}

/* --- 列表与表格 -------------------------------------------------------- */

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-2);
}

.list-row {
  display: flex;
  align-items: center;
  gap: var(--neo-gap-3);
  padding: var(--neo-gap-3) var(--neo-gap-4);
  border-radius: var(--neo-radius-chip);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.05), rgb(var(--neo-cool-rgb) / 0.015));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.09);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.14), 0 2px 5px -4px rgba(0, 0, 0, 0.9);
  transition: border-color var(--neo-press) var(--neo-ease), background-image var(--neo-press) var(--neo-ease);
}

.list-row:hover {
  border-color: rgb(var(--neo-amber-rgb) / 0.3);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.09), rgb(var(--neo-cool-rgb) / 0.03));
}

.list-row h3 {
  margin: 0;
  font-size: 1rem;
}

.list-row p {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--neo-ink-dim);
}

/* --- 分发台：同一块面板上的四个刻槽 -------------------------------------
   四个下载目标不做成四张卡、四枚并排按钮 —— 那样一看就是「四个都在抢
   注意力」，而且每屏只能有一枚琥珀主键，四枚键里必然有三枚是假的。
   做法是一块面板上刻出四道槽：真正的键只有每行右端那一枚，
   推荐的那一行用左侧琥珀脊标出来（脊是标记，不是按键）。 */
.deck {
  padding: var(--neo-gap-5) var(--neo-gap-6);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    radial-gradient(120% 160% at 6% -14%, rgb(var(--neo-cool-rgb) / 0.1), transparent 58%),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    var(--neo-bounce),
    0 18px 38px -24px rgba(0, 0, 0, 1);
  overflow: hidden;
}

.deck > .panel-head {
  padding-bottom: var(--neo-gap-3);
}

.dl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 行与行之间是一条刻线（暗线 + 下方一线冷返光），不是四张独立胶囊 */
.dl-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: var(--neo-gap-4);
  gap: var(--neo-gap-4);
  padding: var(--neo-gap-4) var(--neo-gap-3) var(--neo-gap-4) var(--neo-gap-4);
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.06);
  transition: background-color var(--neo-press) var(--neo-ease);
}

.dl-row:first-child {
  border-top: 0;
  box-shadow: none;
}

.dl-row:hover {
  background-color: rgb(var(--neo-cool-rgb) / 0.035);
}

/* 推荐项的标记是左侧一道琥珀脊 —— 它要读成「被标出来」，不是「被按下」 */
.dl-row-primary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 2px;
  background: var(--neo-amber);
  box-shadow: 0 0 10px -1px rgb(var(--neo-amber-rgb) / 0.65);
}

.dl-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--neo-ink-soft);
  background-image: linear-gradient(180deg, rgba(96, 104, 118, 0.26), rgba(34, 38, 46, 0.5));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.14);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.45);
}

.dl-mark svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Windows 的窗格走实心：CSS 的 fill:none 优先级高于 presentation attribute，
   所以实心方块要在这里单独放行。 */
.dl-mark svg .dl-mark-solid {
  fill: currentColor;
  stroke: none;
}

.dl-row-primary .dl-mark {
  color: var(--neo-amber-hi);
  border-color: rgb(var(--neo-brass-rgb) / 0.26);
}

.dl-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dl-name {
  font-weight: 650;
  font-size: 0.97rem;
  color: var(--neo-ink);
}

.dl-meta {
  font-size: 0.84rem;
  color: var(--neo-ink-dim);
}

/* 文件名是一等信息：用户要确认自己拿的是哪个包 */
.dl-file {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--neo-ink-faint);
  word-break: break-all;
}

.dl-note {
  font-size: 0.8rem;
  color: var(--neo-ink-faint);
}

.dl-act {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 未发布：右侧只留一行刻字，不画键 —— 面板上没有可点的东西时，
   四个禁用胶囊会成为最抢眼的元素，而它们其实什么都做不了 */
.dl-state {
  padding: 2px 2px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  /* 是状态而不是装饰：faint（0.44）在暗面板上只有约 3.3:1，小字读着费劲 */
  color: var(--neo-ink-dim);
  white-space: nowrap;
}

/* 未发布时只让同行略降一档，不把整行弄灰 —— 整行发灰读起来像页面坏了。
   主推那一行始终是全文最亮的一行（它是要推荐的目标，不是缺件）。 */
.dl-row-pending .dl-name {
  color: var(--neo-ink-soft);
}

.dl-row-primary .dl-name {
  color: var(--neo-ink);
}

.deck-note {
  margin: var(--neo-gap-4) 0 0;
  padding-top: var(--neo-gap-3);
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.05);
  font-size: 0.84rem;
  color: var(--neo-ink-faint);
}

/* 窄屏：真的能下载时键独占一行铺满；未发布的只留右侧状态字，保持三列 */
@media (max-width: 620px) {
  .deck {
    padding: var(--neo-gap-4);
  }
  .dl-row {
    gap: var(--neo-gap-3);
  }
  .dl-row-ready {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .dl-row-ready .dl-act {
    grid-column: 1 / -1;
    margin-top: var(--neo-gap-2);
  }
  .dl-row-ready .dl-act .btn {
    width: 100%;
  }
  .dl-file {
    display: none;
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 0 rgb(var(--neo-cool-rgb) / 0.05);
}

.data-table th {
  color: var(--neo-ink-dim);
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: rgb(var(--neo-cool-rgb) / 0.035);
}

/* --- 空态与提示 -------------------------------------------------------- */

.empty {
  padding: var(--neo-gap-7) var(--neo-gap-5);
  text-align: center;
  border-radius: var(--neo-radius-panel);
  border: 1px dashed rgb(var(--neo-cool-rgb) / 0.16);
  background-image: var(--neo-sunken-2);
  box-shadow: var(--neo-well);
  color: var(--neo-ink-dim);
}

.notice {
  padding: var(--neo-gap-3) var(--neo-gap-4);
  border-radius: var(--neo-radius-chip);
  font-size: 0.9rem;
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.08), rgb(var(--neo-cool-rgb) / 0.02));
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.16);
  color: var(--neo-ink-soft);
}

.notice-error {
  color: var(--neo-ember-ink);
  border-color: rgb(var(--neo-ember-rgb) / 0.35);
  background-image: linear-gradient(180deg, rgb(var(--neo-ember-rgb) / 0.16), rgb(var(--neo-ember-rgb) / 0.05));
}

.notice-ok {
  color: var(--neo-jade-ink);
  border-color: rgb(var(--neo-jade-rgb) / 0.3);
  background-image: linear-gradient(180deg, rgb(var(--neo-jade-rgb) / 0.15), rgb(var(--neo-jade-rgb) / 0.05));
}

/* --- Aqua 分段控件（导轨 + 当前段） ------------------------------------
   与顶栏导轨是**同一套材质**，共用 tokens 里的 --neo-groove-* / --neo-resin-*。
   -------------------------------------------------------------------- */

.tabs {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: var(--neo-radius-pill);
  background-image: var(--neo-groove-face);
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: var(--neo-groove-shadow);
  overflow-x: auto;
}

.tabs a,
.tabs button {
  padding: 7px 18px;
  border-radius: var(--neo-radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--neo-ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color var(--neo-press) var(--neo-ease),
    background-image var(--neo-press) var(--neo-ease),
    border-color var(--neo-press) var(--neo-ease),
    box-shadow var(--neo-press) var(--neo-ease);
}

.tabs a:hover,
.tabs button:hover {
  color: var(--neo-ink);
  background-image: var(--neo-key-hover-face);
  border-color: rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow: var(--neo-key-hover-shadow);
}

.tabs a[aria-current='page'],
.tabs button[aria-selected='true'] {
  color: var(--neo-resin-ink);
  background-image: var(--neo-resin-face);
  border-color: rgb(var(--neo-amber-lit-rgb) / 0.55);
  text-shadow: var(--neo-resin-ink-shadow);
  box-shadow: var(--neo-resin-shadow);
}

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

/* 页脚 = 机箱的下半截：拉丝金属底板，比顶栏更暗、发丝更细 */
.footer {
  position: relative;
  margin-top: var(--neo-gap-8);
  padding: var(--neo-gap-7) 0 var(--neo-gap-6);
  border-top: 1px solid rgba(0, 0, 0, 0.85);
  color: var(--neo-ink-dim);
  font-size: 0.88rem;
  background-color: #0a0c11;
  background-image:
    var(--neo-noise),
    /* 横向发丝纹 */
    repeating-linear-gradient(
      90deg,
      rgb(var(--neo-cool-rgb) / 0.028) 0 1px,
      transparent 1px 3px
    ),
    /* 顶缘受光，往下迅速沉暗 */
    linear-gradient(180deg, rgb(var(--neo-bounce-rgb) / 0.055) 0%, rgba(0, 0, 0, 0) 42%);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.11),
    inset 0 24px 40px -32px rgba(0, 0, 0, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: var(--neo-gap-5);
  gap: var(--neo-gap-5);
  margin-bottom: var(--neo-gap-5);
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neo-ink-soft);
  margin-bottom: var(--neo-gap-3);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer a {
  color: var(--neo-ink-dim);
}

.footer a:hover {
  color: var(--neo-amber);
}

.footer-bottom {
  padding-top: var(--neo-gap-4);
  border-top: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 0 rgb(var(--neo-cool-rgb) / 0.05);
  display: flex;
  justify-content: space-between;
  gap: var(--neo-gap-3);
  flex-wrap: wrap;
}

/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/pages.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
/* ==========================================================================
   NeoLoma 设计语言 —— 页面层
   论坛、文档、资源库、账户与个人主页的版式。
   材质约定：内容板 = 凸起实体；承载内容的槽位 = 凹陷。
   ========================================================================== */

/* --- 论坛 -------------------------------------------------------------- */

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-gap: var(--neo-gap-5);
  gap: var(--neo-gap-5);
  align-items: start;
}

@media (max-width: 980px) {
  .forum-layout {
    grid-template-columns: 1fr;
  }
}

.category-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--neo-gap-4);
  padding: var(--neo-gap-4);
  border-radius: var(--neo-radius-chip);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.05), rgb(var(--neo-cool-rgb) / 0.015));
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.09);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.14), 0 2px 5px -4px rgba(0, 0, 0, 0.9);
  transition: border-color var(--neo-press) var(--neo-ease), background-image var(--neo-press) var(--neo-ease);
}

.category-card:hover {
  border-color: rgb(var(--neo-amber-rgb) / 0.3);
  background-image: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.09), rgb(var(--neo-cool-rgb) / 0.03));
}

.category-card h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.category-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--neo-ink-dim);
}

.thread-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: var(--neo-gap-4);
  gap: var(--neo-gap-4);
  align-items: center;
  padding: var(--neo-gap-4);
  border-radius: var(--neo-radius-chip);
  background-image:
    var(--neo-noise),
    var(--neo-face-1);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 2px 6px -5px rgba(0, 0, 0, 0.95);
  transition:
    border-color var(--neo-press) var(--neo-ease),
    transform var(--neo-press) var(--neo-ease),
    box-shadow var(--neo-press) var(--neo-ease);
}

.thread-item:hover {
  border-color: rgb(var(--neo-amber-rgb) / 0.32);
  transform: translateX(2px);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 4px 10px -6px rgba(0, 0, 0, 1);
}

.thread-item h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
}

.thread-item h3 a {
  color: var(--neo-ink);
}

.thread-item h3 a:hover {
  color: var(--neo-amber-hi);
}

.thread-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--neo-gap-2);
  font-size: 0.8rem;
  color: var(--neo-ink-dim);
}

.thread-stats {
  display: flex;
  gap: var(--neo-gap-4);
  text-align: center;
}

/* 帖子计数 = 跟个人主页同款的背光仪表读数窗（缩一号） */
.thread-stats div {
  position: relative;
  min-width: 56px;
  padding: 7px 10px 6px;
  border-radius: 9px;
  background-image:
    var(--neo-noise),
    radial-gradient(92% 140% at 50% 0%, rgb(var(--neo-bounce-rgb) / 0.1), transparent 66%),
    linear-gradient(180deg, #070a10 0%, #11151d 100%);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.09);
  box-shadow:
    inset 0 3px 7px rgba(0, 0, 0, 0.88),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.09),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.06);
  overflow: hidden;
}

/* 读数窗顶上的琥珀背光缝：一条线，不是一片辉光 */
.thread-stats div::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background-image: linear-gradient(
    90deg,
    transparent,
    rgb(var(--neo-amber-lit-rgb) / 0.55) 22%,
    rgb(var(--neo-amber-lit-rgb) / 0.85) 50%,
    rgb(var(--neo-amber-lit-rgb) / 0.55) 78%,
    transparent
  );
  pointer-events: none;
}

.thread-stats strong {
  position: relative;
  display: block;
  font-size: 1.05rem;
  color: var(--neo-amber-hi);
  text-shadow: 0 0 12px rgb(var(--neo-amber-rgb) / 0.35);
}

.thread-stats span {
  position: relative;
  font-size: 0.72rem;
  color: var(--neo-ink-dim);
  letter-spacing: 0.04em;
}

/* 楼层：像一张嵌在凹槽里的印刷卡片 */
.post {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 3px 10px -7px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

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

.post-side {
  padding: var(--neo-gap-4);
  background-image: var(--neo-sunken-2);
  /* 刻线：暗线在前、冷光返在后，才读得出「这里是两块板的分界」。
     之前返光只有 0.06，等于只有一道黑缝，两栏看起来像串色。 */
  border-right: 1px solid rgba(0, 0, 0, 0.7);
  box-shadow: inset -1px 0 0 rgb(var(--neo-bounce-rgb) / 0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--neo-gap-2);
  text-align: center;
}

.post-side .handle {
  font-weight: 650;
  color: var(--neo-ink);
  word-break: break-all;
}

.post-main {
  padding: var(--neo-gap-4) var(--neo-gap-5);
  min-width: 0;
}

.post-head {
  display: flex;
  justify-content: space-between;
  gap: var(--neo-gap-3);
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--neo-ink-dim);
  padding-bottom: var(--neo-gap-3);
  margin-bottom: var(--neo-gap-3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 0 rgb(var(--neo-cool-rgb) / 0.06);
}

.post-body {
  overflow-wrap: anywhere;
}

.post-body > :last-child {
  margin-bottom: 0;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  margin-top: var(--neo-gap-5);
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: var(--neo-gap-4);
}

/* 表格单元格里的标识符/路径不该被折断成一行一个字，
   窄屏的溢出由外层 .table-scroll 横向滚动吸收。 */
.doc-content td code,
.post-body td code,
.doc-content th code,
.post-body th code {
  white-space: nowrap;
}

.post-body th,
.post-body td {
  padding: 9px 12px;
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  text-align: left;
}

.post-body th {
  background: rgb(var(--neo-cool-rgb) / 0.06);
}

.post-body blockquote {
  margin: 0 0 var(--neo-gap-4);
  padding: var(--neo-gap-3) var(--neo-gap-4);
  /* 引述块 = 一块略亮的冷钢面 + 一道琥珀分隔线。
     底色原来是琥珀 8%，在深底上会糊成一片暖褐 —— 暖色只留给那条线。 */
  border-left: 3px solid var(--neo-amber);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.05), rgb(var(--neo-cool-rgb) / 0.015));
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.08);
  color: var(--neo-ink-soft);
}

.post-body img {
  border-radius: var(--neo-radius-chip);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.9);
}

.post-body input[type='checkbox'] {
  margin-right: 6px;
  accent-color: var(--neo-amber);
}

/* --- 文档 -------------------------------------------------------------- */

.doc-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  grid-gap: var(--neo-gap-6);
  gap: var(--neo-gap-6);
  align-items: start;
}

.doc-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-4);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

/* 窄屏下文档清单会很长，限高滚动，正文不必等它读完。
   这条媒体查询必须**排在 .doc-sidebar 基础规则之后** —— 同特异性的规则
   按出现顺序生效，写在前面会被后面的 max-height: calc(100vh - 110px) 覆盖，
   于是窄屏下目录又变成一条把正文顶到屏幕外的长列表。

   另外两件事必须一起做，只改限高是不够的：
   ① 限高加在 .doc-list 而不是 .doc-sidebar 上 —— 侧栏里还装着「本页目录」，
      把整个侧栏做成滚动容器会把它一起困住（22 份文档的清单滚完才看得到）。
   ② 侧栏整体排到正文之后。否则清单被限短以后，本页目录立刻接替占满首屏，
      等于把「首屏没有正文」这个问题从一块换到另一块。 */
@media (max-width: 980px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }
  /* 正文优先：侧栏排到正文之后，和资源库、论坛的窄屏顺序一致。
     否则首屏先被「跨文档清单 + 本页目录」两个长列表占满 ——
     限高只能让其中一个变短，另一个立刻接手首屏。 */
  .doc-content {
    order: 1;
  }
  .doc-sidebar {
    order: 2;
    position: static;
    max-height: none;
    overflow: visible;
  }
  .doc-list {
    max-height: 30vh;
    overflow-y: auto;
    /* 滚动条出现时不要挤动清单宽度 */
    scrollbar-gutter: stable;
  }
}

/* 文档清单 = 面板里的分隔行，当前项用左侧琥珀脊标记 */
.doc-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  border-left: 3px solid transparent;
  color: var(--neo-ink-soft);
  font-size: 0.9rem;
  transition:
    color var(--neo-press) var(--neo-ease),
    background-color var(--neo-press) var(--neo-ease),
    border-color var(--neo-press) var(--neo-ease);
}

.doc-list a:hover {
  color: var(--neo-ink);
  background: rgb(var(--neo-cool-rgb) / 0.06);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.12);
}

.doc-list a[aria-current='page'] {
  color: var(--neo-amber-hi);
  border-left-color: var(--neo-amber);
  background: linear-gradient(180deg, rgba(96, 104, 118, 0.26), rgba(38, 42, 50, 0.34));
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.24),
    0 0 0 1px rgb(var(--neo-amber-rgb) / 0.14);
}

.doc-list .doc-sum {
  display: block;
  font-size: 0.76rem;
  color: var(--neo-ink-faint);
  margin-top: 2px;
}

.doc-list a[aria-current='page'] .doc-sum {
  color: rgb(var(--neo-amber-lit-rgb) / 0.7);
}

.toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc a {
  display: block;
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 0.84rem;
  color: var(--neo-ink-dim);
  border-left: 2px solid rgb(var(--neo-cool-rgb) / 0.12);
}

.toc a:hover {
  color: var(--neo-ink);
  background: rgb(var(--neo-cool-rgb) / 0.07);
}

.toc li[data-level='3'] a {
  padding-left: 26px;
  font-size: 0.8rem;
}

.toc li[data-level='4'] a {
  padding-left: 40px;
  font-size: 0.78rem;
}

.doc-content {
  min-width: 0;
  padding: var(--neo-gap-6);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 3px 12px -8px rgba(0, 0, 0, 0.95);
}

.doc-content h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.doc-content h2 {
  font-size: 1.5rem;
  margin-top: var(--neo-gap-6);
  padding-bottom: var(--neo-gap-2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 0 rgb(var(--neo-cool-rgb) / 0.06);
}

.doc-content h3 {
  font-size: 1.16rem;
  margin-top: var(--neo-gap-5);
}

.doc-content h4 {
  font-size: 1.02rem;
  margin-top: var(--neo-gap-4);
  color: var(--neo-ink-soft);
}

/* 表格的横向滚动交给这层包装（渲染器在 renderTable 里输出）。
   以前直接在 <table> 上写 display:block + overflow-x:auto —— 那样 <table>
   不再是表格布局，浏览器只能把各列平均压窄，于是 project-state.md 这种
   长标识符被逐字断行成 projec / t- / state.m / d，整张表读不了。
   包一层之后 table 恢复 display:table，窄屏让外层横向滚动。 */
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: var(--neo-gap-4);
}

.table-scroll > table {
  margin-bottom: 0;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: var(--neo-gap-4);
  /* 窄屏下限住最小可读宽度，交给外层滚动，而不是压到逐字断行 */
  min-width: 460px;
}

.doc-content th,
.doc-content td {
  padding: 10px 13px;
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  text-align: left;
  vertical-align: top;
}

.doc-content th {
  background: rgb(var(--neo-cool-rgb) / 0.06);
  font-weight: 650;
}

.doc-content blockquote {
  margin: 0 0 var(--neo-gap-4);
  padding: var(--neo-gap-3) var(--neo-gap-4);
  /* 引述块 = 一块略亮的冷钢面 + 一道琥珀分隔线。
     底色原来是琥珀 8%，在深底上会糊成一片暖褐 —— 暖色只留给那条线。 */
  border-left: 3px solid var(--neo-amber);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(180deg, rgb(var(--neo-cool-rgb) / 0.05), rgb(var(--neo-cool-rgb) / 0.015));
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.08);
  color: var(--neo-ink-soft);
}

.doc-content li input[type='checkbox'] {
  margin-right: 6px;
  accent-color: var(--neo-amber);
}

.doc-content img {
  border-radius: var(--neo-radius-chip);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
}

/* --- 资源库 ------------------------------------------------------------ */

.resource-card {
  display: flex;
  flex-direction: column;
  gap: var(--neo-gap-3);
  padding: var(--neo-gap-5);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    var(--neo-face-2);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 3px 10px -7px rgba(0, 0, 0, 0.95);
  transition: transform var(--neo-base) var(--neo-ease), border-color var(--neo-base) var(--neo-ease);
}

.resource-card:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--neo-amber-rgb) / 0.32);
}

.resource-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.resource-card h3 a {
  color: var(--neo-ink);
}

.resource-card h3 a:hover {
  color: var(--neo-amber-hi);
}

.resource-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--neo-ink-soft);
}

.resource-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--neo-gap-3);
  font-size: 0.78rem;
  color: var(--neo-ink-dim);
  flex-wrap: wrap;
  padding-top: var(--neo-gap-2);
  border-top: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 -1px 0 rgb(var(--neo-cool-rgb) / 0.05);
}

/* 附件 = 凹槽里的实物 */
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--neo-gap-3);
  padding: var(--neo-gap-3) var(--neo-gap-4);
  border-radius: var(--neo-radius-chip);
  background-image: var(--neo-sunken-1);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8), inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.07);
  flex-wrap: wrap;
}

.file-name {
  font-family: var(--neo-font-mono);
  font-size: 0.88rem;
  word-break: break-all;
}

.file-size {
  font-size: 0.78rem;
  color: var(--neo-ink-dim);
}

/* --- 账户与主页 -------------------------------------------------------- */

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 200px);
  padding: var(--neo-gap-6) 0;
}

/* 登录/注册卡 = 一块抛光金属板，与页头铭牌同材质 */
.auth-card {
  position: relative;
  width: min(100%, 460px);
  padding: var(--neo-gap-6);
  padding-left: calc(var(--neo-gap-6) + 8px);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    radial-gradient(130% 170% at 4% -12%, rgb(var(--neo-amber-lit-rgb) / 0.14), transparent 56%),
    var(--neo-face-3);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.36),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    var(--neo-bounce),
    0 3px 0 rgba(0, 0, 0, 0.45),
    0 26px 50px -24px rgba(0, 0, 0, 1);
  overflow: hidden;
}

/* 左侧黄铜脊 */
.auth-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background-image: var(--neo-brass-edge);
  box-shadow:
    1px 0 0 rgb(var(--neo-cool-rgb) / 0.45),
    3px 0 8px rgba(0, 0, 0, 0.55);
}

.auth-card h1 {
  font-size: 1.6rem;
  margin-bottom: var(--neo-gap-2);
}

.profile-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--neo-gap-5);
  padding: var(--neo-gap-6);
  padding-left: calc(var(--neo-gap-6) + 8px);
  border-radius: var(--neo-radius-panel);
  background-image:
    var(--neo-noise),
    radial-gradient(130% 170% at 4% -12%, rgb(var(--neo-amber-lit-rgb) / 0.13), transparent 56%),
    var(--neo-face-3);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-light-rgb) / 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.52),
    var(--neo-bounce),
    0 2px 0 rgba(0, 0, 0, 0.4),
    0 22px 44px -22px rgba(0, 0, 0, 1);
  flex-wrap: wrap;
  overflow: hidden;
}

/* 与页头铭牌同一套材质：左侧黄铜脊 */
.profile-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background-image: var(--neo-brass-edge);
  box-shadow:
    1px 0 0 rgb(var(--neo-cool-rgb) / 0.45),
    3px 0 8px rgba(0, 0, 0, 0.55);
}

.profile-name {
  font-size: 1.7rem;
  font-weight: 680;
  margin: 0;
  letter-spacing: -0.02em;
}

.profile-handle {
  font-family: var(--neo-font-mono);
  font-size: 0.86rem;
  color: var(--neo-amber);
}

.profile-bio {
  color: var(--neo-ink-soft);
  margin: var(--neo-gap-2) 0 0;
  max-width: 62ch;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  grid-gap: var(--neo-gap-3);
  gap: var(--neo-gap-3);
}

/* 仪表读数块 = 背光的凹槽小窗 */
.stat {
  position: relative;
  padding: var(--neo-gap-4) var(--neo-gap-3) calc(var(--neo-gap-3) + 4px);
  border-radius: var(--neo-radius-chip);
  background-image:
    var(--neo-noise),
    radial-gradient(92% 140% at 50% 0%, rgb(var(--neo-bounce-rgb) / 0.11), transparent 66%),
    linear-gradient(180deg, #070a10 0%, #11151d 100%);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.09);
  box-shadow:
    inset 0 4px 10px rgba(0, 0, 0, 0.9),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.1),
    0 1px 0 rgb(var(--neo-cool-rgb) / 0.07);
  text-align: center;
  overflow: hidden;
}

/* 窗顶一道琥珀背光缝：琥珀只占一条线，不铺成整片暖雾 ——
   四个读数窗并排时，四片暖雾会互相叠成一整条暖色带。 */
.stat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(var(--neo-amber-lit-rgb) / 0.55) 22%,
    rgb(var(--neo-amber-lit-rgb) / 0.85) 50%,
    rgb(var(--neo-amber-lit-rgb) / 0.55) 78%,
    transparent
  );
  pointer-events: none;
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--neo-amber-hi);
  text-shadow: 0 0 16px rgb(var(--neo-amber-rgb) / 0.4), 0 1px 0 rgba(0, 0, 0, 0.85);
}

/* 后台一排六个读数，六个都是琥珀就等于六个都不是重点。
   只有「待审资源」是能立刻动手的那一个 —— 琥珀留给它，
   其余用冷白高亮字、顶缝换冷光，暖色不再铺成一整条带。 */
.stat-quiet strong {
  color: var(--neo-ink);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
}

.stat-quiet::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgb(var(--neo-cool-rgb) / 0.3) 28%,
    rgb(var(--neo-cool-rgb) / 0.5) 50%,
    rgb(var(--neo-cool-rgb) / 0.3) 72%,
    transparent
  );
}

.stat span {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--neo-ink-faint);
}

/* --- 管理后台 ---------------------------------------------------------- */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: var(--neo-gap-4);
  gap: var(--neo-gap-4);
}

.perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  grid-gap: var(--neo-gap-2);
  gap: var(--neo-gap-2);
}

.perm {
  display: flex;
  align-items: center;
  gap: var(--neo-gap-2);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgb(var(--neo-cool-rgb) / 0.045);
  box-shadow: inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.12);
  font-size: 0.84rem;
  color: var(--neo-ink-soft);
}

.perm input {
  accent-color: var(--neo-amber);
}

/* 权限组 = 黄铜铭牌。
   原来是**实心黄铜面**（一整块不透明的黄铜渐变），成员页四张卡并排时
   就有六块金灿灿的实体挡在中间，暖色面积压过了琥珀。
   铭牌是「刻上去的字」，所以改成：中性钢面 + 黄铜刻线 + 黄铜字 ——
   黄铜仍然只出现在该出现的地方，但不再是一块块金砖。 */
.group-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--neo-radius-pill);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--neo-brass-ink);
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.34),
    rgba(0, 0, 0, 0.16)
  );
  border: 1px solid rgb(var(--neo-brass-rgb) / 0.42);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgb(var(--neo-bounce-rgb) / 0.12),
    0 1px 3px -2px rgba(0, 0, 0, 0.9);
}

/* --- 分页 -------------------------------------------------------------- */

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--neo-gap-2);
  margin-top: var(--neo-gap-6);
  flex-wrap: wrap;
}

.pager a,
.pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--neo-radius-pill);
  border: 1px solid rgb(var(--neo-cool-rgb) / 0.12);
  /* 与 .btn 同一张冷钢面（--neo-steel-face），别再各写一份 */
  background-image: var(--neo-steel-face);
  color: var(--neo-ink-soft);
  font-size: 0.88rem;
  box-shadow:
    inset 0 1px 0 rgb(var(--neo-cool-rgb) / 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 2px 5px -3px rgba(0, 0, 0, 0.9);
}

.pager a:hover {
  color: var(--neo-ink);
  border-color: rgb(var(--neo-cool-rgb) / 0.3);
}

.pager [aria-current='page'] {
  color: var(--neo-resin-ink);
  background-image: var(--neo-resin-face);
  border-color: rgb(var(--neo-amber-lit-rgb) / 0.5);
  text-shadow: var(--neo-resin-ink-shadow);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 2px 0 rgb(var(--neo-seat-rgb) / 0.85);
}

/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/


