/* ==========================================================
   字体：Nunito（只在 island 皮肤下发 @font-face，默认皮肤一个字节都不下载）
   ----------------------------------------------------------
   为什么自托管而不是 Google Fonts：fonts.googleapis.com 在国内基本打不开，
   走它会让整站等一个永远不回来的请求。文件来自 npm 包 @fontsource/nunito
   （Nunito 本身是 OFL 许可，可商用、可再分发），只取 latin 子集，
   每个字重约 16KB；浏览器只会下载**页面实际用到的字重**（@font-face 是按需加载）。
   ★ 中文不在这里：原库的字体栈是 `Nunito, 'Noto Sans SC', -apple-system, 'PingFang SC'`，
     中文字符自然会落到系统字体 —— 这是它自己的设计，不是我省事。
   ========================================================== */
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/nunito-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-latin-800.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/nunito-latin-900.woff2") format("woff2");
}

/* ==========================================================
   查款相册 · island 主题（第二个皮肤）
   ----------------------------------------------------------
   设计依据：animal-island-ui（MIT License, Copyright (c) 2026 guokaigdg）
             https://github.com/guokaigdg/animal-island-ui
             官方规范文档 docs/design-system/{design-rules,css-variables}.md
             与 docs/design-system/components/*.md

   ★★★ 这个文件的定位：**照抄，不创作。**
   每一个色号、圆角、阴影、字号都来自上面那份规范。数值后面标了出处
   （如「Card 规范」「Button 规范」），方便你随时核对是不是我编的。

   ★ 怎么启用：<body class="theme-island">（默认不启用，见 app.js 的切主题逻辑）
   ★ 怎么撤掉：删这个文件 + index.html 里那一行 link + app.js 里切主题那几行。
     默认主题一个像素都不会因为它的存在而改变 —— 全部规则都挂在 body.theme-island 下。

   ★ 为什么允许自己「适配手机」的只有宽度：
     圆角 12/18/24/50、按钮高 45、字 14、阴影 0 5px —— 这些是**手指能点、眼睛能读**
     的固定尺寸，按屏幕宽度等比缩会把 45px 的按钮缩成 15px，直接没法用。
     真正随屏幕变的只有容器宽度/内边距，那些我用 % / max-width 处理。
   ========================================================== */

body.theme-island {
  /* ---------- 颜色：全部取自 css-variables.md 的 :root 模板 ---------- */
  --animal-primary:        #19c8b9;
  --animal-primary-hover:  #3dd4c6;
  --animal-primary-active: #11a89b;
  --animal-primary-bg:     #e6f9f6;

  --animal-text:           #794f27;
  --animal-text-body:      #725d42;
  --animal-text-secondary: #9f927d;
  --animal-text-muted:     #8a7b66;
  --animal-text-disabled:  #c4b89e;

  --animal-bg:             #f8f8f0;
  --animal-bg-content:     rgb(247, 243, 223);
  --animal-bg-input:       #fffdf7;   /* Input 规范：cream-deep */
  --animal-bg-disabled:    #f0ece2;

  --animal-border:         #c4b89e;
  --animal-border-hover:   #a89878;
  --animal-border-soft:    #e8dcc8;   /* Select 规范 */

  --animal-shadow-btn:     #bdaea0;
  --animal-shadow-input:   #d4c9b4;
  --animal-focus-yellow:   #ffcc00;
  --animal-focus-yellow-d: #e0b800;
  --animal-error:          #e05a5a;
  --animal-error-active:   #c94444;   /* 原库 danger 按钮的阴影色 */
  --animal-success:        #6fba2c;
  --animal-warning:        #f5c31c;

  --animal-ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* ---------- 把项目原有的粉变量整体映射过去 ----------
     ★ 映射规则：项目里 --pink 既当「文字色」又当「实心底色」，
       而原库没有「彩色实心底 + 白字」这个概念（它的 primary 是羊皮纸底土棕字）。
       所以 --pink 映射成 #794f27（原库正文字色），
       需要「薄荷绿」的地方改用 --pink-bright（那本来就是装饰色，不改字）。
       ★ 这就是为什么按钮的形态必须单独重写（见下面 .btn 那段）。 */
  --pink:        #794f27;
  --pink-bright: #19c8b9;
  --pink-light:  #82d5bb;   /* Tag/Badge 的 app-teal */
  --pink-deep:   #725d42;

  --pink-grad:      linear-gradient(135deg, #3dd4c6 0%, #11a89b 100%);
  --pink-grad-soft: linear-gradient(135deg, #19c8b9 0%, #11a89b 100%);
  --grad-warm:      linear-gradient(120deg, #f7cd67 0%, #e59266 100%);
  /* 头部：原库 Title 的默认绿（--rf #27d039 / --rb #20992a / --rk #115017） */
  --head-grad:      linear-gradient(135deg, #20992a 0%, #115017 100%);

  --pink-wash:   #e6f9f6;
  --pink-wash-2: #f5f0e6;   /* Tag soft 底 */

  --blue:        #e59266;   /* app-orange */
  --blue-light:  #f7cd67;   /* app-yellow */
  --blue-grad:   linear-gradient(135deg, #f7cd67 0%, #e59266 100%);
  --blue-wash:   #fff3e0;
  --blue-text:   #8f734f;   /* Tag 文字色 */

  --yellow:      #f7cd67;
  --yellow-wash: #fff8e1;
  --yellow-text: #8a6010;

  --orange:      #e59266;
  --orange-wash: #fff3e0;
  --orange-text: #8f734f;

  --red:         #c94444;   /* 原库 error-active，做文字时才读得清 */
  --gray-wash:   #f0ece2;

  /* ---------- 底 / 线 / 字 ---------- */
  --bg:        #f8f8f0;
  /* 卡片用「内容区」色（比页面底深一点）—— 原库靠**底色差 + 边框**分层，不靠阴影。
     我们现在是「白卡浮在粉底上」，会翻过来：米黄卡放在米白底上。 */
  --bg-card:   rgb(247, 243, 223);
  --line:      #c4b89e;
  --line-soft: #e8dcc8;
  --text:      #794f27;
  --text-2:    #725d42;
  --text-3:    #8a7b66;
  --text-4:    #9f927d;

  /* ---------- 圆角：12 是最小值，按钮/输入框 50 ---------- */
  --r-xs:   6px;
  --r-sm:   12px;
  --r-md:   18px;
  --r-lg:   20px;    /* Card 规范 */
  --r-xl:   24px;
  --r-pill: 999px;
  --r-btn:  50px;

  /* ---------- 阴影：soft elevation（Card 无阴影） ---------- */
  --sh-1: 0 2px 4px 0 rgba(61, 52, 40, 0.06);
  --sh-2: 0 3px 10px 0 rgba(61, 52, 40, 0.10);
  --sh-3: 0 8px 24px rgba(61, 52, 40, 0.18);

  /* ---------- 语义色（第 2 步抽出来的那批）---------- */
  --bg-glow-1: #f8f8f0;
  --bg-glow-2: #f8f8f0;
  --bg-outer:  #ece8dc;
  --accent-wash:   #e6f9f6;
  --accent-wash-2: #d7f4ef;
  --placeholder-bg: #f0ece2;
  --line-icon: #d4c9b4;
  --bg-input:  #fffdf7;
  --blue-wash-2: #fff8e1;
  --blue-line:   #e8dcc8;
  --blue-wash-3: #f7cd67;
  --line-orange: #f7cd67;
  --orange-bright: #e59266;
  --danger-wash:   #ffebee;
  --danger-wash-2: #ffd9dd;
  --line-faint: #f0ece2;
  --bg-dash:    rgb(250, 248, 242);   /* Card dashed 规范 */
  --line-dash:  #e8dcc8;
  --yellow-text-deep: #8a6010;
  --overlay-dark: #2b2418;
  --green-text: #6fba2c;
  --green-line: rgba(111, 186, 44, .3);

  /* ---------- 字体：原库字体栈，中文本来就走 Noto Sans SC → 系统 ---------- */
  --font: Nunito, 'Noto Sans SC', -apple-system, 'PingFang SC', 'Hiragino Sans GB',
          'Microsoft YaHei', sans-serif;
  --font-num: Nunito, ui-monospace, Menlo, Consolas, monospace;

  background: #f8f8f0;
  color: #794f27;
  font-weight: 500;   /* 规范：body 500，永不低于 400 */
}

/* ==========================================================
   组件形态（不是换色，是照规范重排）
   ========================================================== */

/* ---------- Card：20px 圆角、无阴影、靠底色差分层 ----------
   Card 规范：border-radius 20px / background rgb(247,243,223) / padding 16px 24px
             / color #725d42 / weight 500 / **无 box-shadow** / hover 才 translateY(-2px)
   ★ 我们原来有 --sh-1 粉光阴影，这里必须去掉 —— 规范明确写 Card 不许有阴影。 */
body.theme-island .card {
  background: rgb(247, 243, 223);
  border: 1px solid #e8dcc8;
  border-radius: 20px;
  box-shadow: none;
  color: #725d42;
  font-weight: 500;
  transition: all 0.3s var(--animal-ease);
}

/* ---------- Button ----------
   Button 规范（middle）：height 45px / padding 0 20px / font-size 14px / radius 50px
                         / border-width 2px / weight 600 / letter-spacing .02em
   primary：color #794f27; background #f8f8f0; border-color #f8f8f0;
            box-shadow 0 5px 0 0 #bdaea0; hover translateY(-1px)+0 6px; active translateY(2px)+0 1px
   ★ 注意 primary 的底色**就是页面底色**，靠 5px 堆叠阴影浮起来 —— 不是实心色块。 */
body.theme-island .btn {
  height: 45px;
  padding: 0 20px;
  border-radius: 50px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s var(--animal-ease);
}
body.theme-island .btn-primary {
  background: #f8f8f0;
  color: #794f27;
  border-color: #f8f8f0;
  box-shadow: 0 5px 0 0 #bdaea0;
}
body.theme-island .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 0 0 #bdaea0; }
body.theme-island .btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 0 #bdaea0; }

/* default / ghost：软阴影 0 2px 4px，hover 变 #19c8b9 */
body.theme-island .btn-ghost,
body.theme-island .btn-blue,
body.theme-island .btn-plain {
  background: #fff;
  color: #794f27;
  border: 2px solid #e8dcc8;
  box-shadow: 0 2px 4px 0 rgba(61, 52, 40, 0.06);
}
body.theme-island .btn-ghost:hover,
body.theme-island .btn-blue:hover,
body.theme-island .btn-plain:hover {
  color: #19c8b9;
  border-color: #19c8b9;
  box-shadow: 0 3px 10px 0 rgba(61, 52, 40, 0.10);
  transform: translateY(-1px);
}
/* danger-primary：白字，阴影用 error-active */
body.theme-island .btn-danger {
  background: #e05a5a;
  color: #fff;
  border-color: #e05a5a;
  box-shadow: 0 5px 0 0 #c94444;
}
body.theme-island .btn:active { transform: scale(1); }

/* ---------- 输入框 ----------
   Input 规范（middle）：height 40px / padding 0 18px / font 14px / radius 50px
                        **无边框** / background #fffdf7 / color #8a7b66 weight 500
                        placeholder #c4b89e weight 400 / 默认无阴影
                        hover 0 3px 0 #c4b89e / focus 0 3px 0 #e0b800 + 0 0 0 3px rgba(255,204,0,.15)
   ★ 我们原来的输入框是「粉底 + 透明边框」，这里是「奶油底 + 无边框 + 底边阴影」。 */
body.theme-island .input,
body.theme-island .textarea {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 50px;
  background: #fffdf7;
  color: #8a7b66;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: all 0.2s var(--animal-ease);
}
body.theme-island .textarea {
  height: auto;
  min-height: 78px;
  padding: 12px 18px;
  border-radius: 18px;   /* 多行输入用 --r-md，50px 胶囊放不下多行 */
  line-height: 1.6;
}
body.theme-island .input:hover,
body.theme-island .textarea:hover { box-shadow: 0 3px 0 0 #c4b89e; }
body.theme-island .input:focus,
body.theme-island .textarea:focus {
  background: #fffdf7;
  box-shadow: 0 3px 0 0 #e0b800, 0 0 0 3px rgba(255, 204, 0, 0.15);
}
body.theme-island .input::placeholder,
body.theme-island .textarea::placeholder { color: #c4b89e; font-weight: 400; }

/* ---------- Tag：999px 胶囊 + 1.5px 占位边框 ----------
   Tag 规范（medium）：height 32px / padding 0 12px / font 14px / weight 600
                     border-radius 999px / border 1.5px solid transparent
   solid：background rgb(247,243,223) / color #8f734f / border-color #d4c4a8
   ★ 1.5px 的透明边框是「占位」，这样切 outlined/dashed 时尺寸不跳。 */
body.theme-island .tag {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid #d4c4a8;
  background: rgb(247, 243, 223);
  color: #8f734f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  gap: 4px;
}
/* 原来那几个「粉/蓝/绿/橙」标签，按原库 12 色里最接近的 soft 变体落位 */
body.theme-island .tag-pink   { background: #fce4ec; color: #c2185b; border-color: transparent; }
body.theme-island .tag-blue   { background: #e6f0ff; color: #1565c0; border-color: transparent; }
body.theme-island .tag-green  { background: #e8f5e9; color: #2e7d32; border-color: transparent; }
body.theme-island .tag-orange { background: #fff3e0; color: #e65100; border-color: transparent; }
body.theme-island .tag-gray   { background: #f5f0e6; color: #8f734f; border-color: transparent; }
body.theme-island .tag-line   { background: transparent; color: #8f734f; border-color: #c4b89e; }

/* ---------- 分段控件 → 照 Tabs 规范 ----------
   Tabs 规范：容器 background rgb(247,243,223) / radius 20px / border 2px solid #9f927d
             tabList: padding 12px / gap 4px / background rgba(255,255,255,.6) / border-bottom 2px solid #c4b89e
             tabItem: padding 6px 14px / radius 50px / font 14px weight 500 / color #8a7b66
             active: background #0cc0b5 / color #fff9e3 / weight 600 */
body.theme-island .segment {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid #c4b89e;
  border-radius: 50px;
  box-shadow: none;
  margin: 14px 14px 12px;
}
body.theme-island .segment-item {
  height: 38px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #8a7b66;
  transition: all 0.2s var(--animal-ease);
}
body.theme-island .segment-item:hover { background: rgba(25, 200, 185, 0.1); color: #725d42; }
body.theme-island .segment-item.on {
  background: #0cc0b5;
  color: #fff9e3;
  font-weight: 600;
  box-shadow: none;
}

/* ---------- 弹窗：Modal 的 blob 裁剪要 SVG defs，这里先按 20px 圆角 + 2px 棕边 ----------
   ★ 原库 Modal 是 SVG blob clip-path（规范第 9 条：不许用圆角矩形替代）。
     那需要往页面里注入一段 <svg><defs><clipPath>。这一版先不做，
     因为 clip-path 会把内容裁掉一块，得先量准它的形状 —— 下一轮单独做。 */
body.theme-island .sheet,
body.theme-island .dialog {
  background: rgb(247, 243, 223);
  border: 2px solid #9f927d;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(61, 52, 40, 0.18);
}
body.theme-island .sheet-head { font-weight: 700; color: #725d42; }

/* ---------- 底栏 / 顶栏：跟着底色走 ---------- */
body.theme-island .dock,
body.theme-island .tabbar {
  background: rgba(248, 248, 240, 0.96);
  border-top: 2px solid #e8dcc8;
}
body.theme-island .nav { background: #f8f8f0; border-bottom: 2px solid #e8dcc8; }

/* ---------- Switch ----------
   Switch 规范：轨道 52×28 / border 2.5px solid #c4b89e / radius 50px / background #d4c9b4
                inset 0 2px 4px rgba(114,93,66,.15) / 手柄 21×21 / border 2.5px / **无外阴影**
                选中：轨道 #86d67a + 边 #6fba2c / 手柄边 #6fba2c */
body.theme-island .switch {
  width: 52px;
  min-width: 52px;
  height: 28px;
  border: 2.5px solid #c4b89e;
  border-radius: 50px;
  background: #d4c9b4;
  box-shadow: inset 0 2px 4px rgba(114, 93, 66, 0.15);
}
body.theme-island .switch .switch-knob {
  width: 21px;
  height: 21px;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  background: rgb(247, 243, 223);
  border: 2.5px solid #c4b89e;
  border-radius: 50%;
  box-shadow: none;
}
body.theme-island .switch.on {
  background: #86d67a;
  border-color: #6fba2c;
  box-shadow: inset 0 2px 4px rgba(90, 158, 30, 0.2);
}
body.theme-island .switch.on .switch-knob { left: calc(100% - 24px); border-color: #6fba2c; }

/* ---------- 去掉粉主题的「内高光」残留 ---------- */
body.theme-island .segment { box-shadow: none; }
body.theme-island .album-cover { background-color: #f0ece2; border-radius: 18px; }
body.theme-island .sec-title .dot { background: #19c8b9; border-radius: 2px; }

/* ==========================================================
   2026-11-06 · 界面结构重构配套（顶部区域 / 登录页 / 翻页）
   ----------------------------------------------------------
   结构上只有两处 DOM 变化（两套皮肤共用）：
     1. UI.actCard 从「图标左 + 两行字右」改成「图标上 + 标题下」，去掉副标题
     2. 品牌标题加了 `title-ribbon` 类（默认皮肤下无样式，island 下渲染成燕尾丝带）
   其余全部是 island 作用域内的样式重排，默认皮肤不受影响。
   ========================================================== */

/* ---------- ① 头部面板：从「深色渐变」改成「羊皮纸 + 底边一道线」 ----------
   为什么必须改：island 的整套语言是「羊皮纸底 + 土棕字 + 描边分层」，
   一块深绿渐变上放白卡是粉主题的做法，跟它不搭。
   ★ 圆角保留「只在下方两个角」：顶部贴着状态栏，四角圆角会露出页面底色。 */
body.theme-island .hd {
  background: #f8f8f0;
  color: #794f27;
  border-bottom: 2px solid #e8dcc8;
  box-shadow: none;
  padding-bottom: 16px;
}
body.theme-island .hd::after { display: none; }        /* 珊瑚橘光斑：粉主题的装饰 */
body.theme-island .hd .nav-btn {
  background: #fffdf7; color: #725d42;
  border: 1.5px solid #d4c9b4;
  box-shadow: none;
  border-radius: 50%;
}
body.theme-island .hd-sub { color: #8a7b66; font-size: 12px; opacity: 1; }

/* ---------- ② 燕尾丝带标题（Title 规范第 10 条） ----------
   规范原文：Title 是 swallowtail ribbon（clip-path + 折叠角 + 3deg 透视），
   **不是** blob / 胶囊 / 圆角矩形。
   ★ 这里用 clip-path 一行挖出两端的 V 形缺口（两端各 10px），
     再用 filter: drop-shadow 给一点立体感 —— 规范用的也是 filter，不是 box-shadow
     （box-shadow 会被 clip-path 一起裁掉，什么也看不到）。
   ★ 折叠角省略：规范里那对三角形给的是「丝带折到纸背后」的错觉，
     需要再加两个绝对定位的伪元素；中文标题宽度不定，量不准反而容易错位。

   ★★ 居中（2026-11-06 主人反馈）：丝带原来偏左。
      原因是它在 `.hd-top` 这个 flex 里排第一个，后面的 `.grow` 把剩余空间全吃掉
      → 丝带被压在最左边。改成**相对整个面板绝对居中**：
      `left:50% + translateX(-50%)`，这样不管右边有没有按钮、标题多长，都居中。
      ★ 绝对定位后它不再占流内高度，`.hd-top` 的 min-height 要自己让出 34px，
        否则丝带上下各溢出 2px、压到说明行。 */
body.theme-island .hd-top {
  position: relative;
  justify-content: center;
  /* 2em 高的飘带 + 燕尾还要往下沉 0.4em（17px 字号下约 7px），
     36px 装不下会让燕尾压到下面的说明行 */
  min-height: 46px;
}
body.theme-island .title-ribbon {
  /* 颜色用 app-orange（主人截图那版）。换别的色只改这四行 ——
     岛库 13 套配色都在 title.module.less 的 .color-* 里（teal 是 #82d5bb/#40a880/#186048）。 */
  --rf: #e59266;   /* 正面主体 */
  --rb: #c06a30;   /* 燕尾 */
  --rk: #7a3a10;   /* 折角 */
  --rt: #fff;      /* 文字 */
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  /* ★ 全用 em：源码注释写明「font-size 由 SIZE_MAP 注入，em 跟随缩放」，
     所以只改下面这个 font-size 就能整体放大缩小，三层比例完全不变。 */
  height: 2em; padding: 0 1.6em;
  color: var(--rt);
  font-size: 17px; font-weight: 900; letter-spacing: 0.04em; line-height: 1;
  white-space: nowrap;
  background: none;
  clip-path: none;   /* 覆盖早期那版「单层挖 V」的简化做法 */
  filter: drop-shadow(0 0.08em 0.12em rgba(0, 0, 0, 0.05));
}
/* 1. 左右燕尾（对应 .ribbonBackLeft / .ribbonBackRight）
      1.7em 见方、下沉 0.4em —— 只有底部和左右露出来，上半截被正面盖住。 */
body.theme-island .title-ribbon::before,
body.theme-island .title-ribbon::after {
  content: "";
  position: absolute;
  bottom: -0.4em;
  width: 1.7em; height: 1.7em;
  background: var(--rb);
  z-index: 1;
}
body.theme-island .title-ribbon::before {
  left: -0.6em;
  border-radius: 0.08em 0 0 0.08em;
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 30% 50%, 0% 0%);
}
body.theme-island .title-ribbon::after {
  right: -0.6em;
  border-radius: 0 0.08em 0.08em 0;
  clip-path: polygon(0% 0%, 100% 0%, 70% 50%, 100% 100%, 0% 100%);
}
/* 2. 正面主体（.ribbonFront）：左右各缩进 0.1em，3deg 透视 */
body.theme-island .title-ribbon .tr-body {
  position: absolute;
  inset: 0 0.1em;
  background: var(--rf);
  border-radius: 0.2em;
  z-index: 3;
  transform: perspective(11.5em) rotateX(3deg);
  box-shadow: inset 0 -0.06em 0 rgba(0, 0, 0, 0.05);
  pointer-events: none;
}
/* 3. 折叠角（.ribbonFoldLeft / .ribbonFoldRight）：border 三角，不是图片 */
body.theme-island .title-ribbon .tr-body::before,
body.theme-island .title-ribbon .tr-body::after {
  content: "";
  position: absolute;
  top: calc(100% - 0.05em);
  width: 0; height: 0;
  border-style: solid;
  z-index: 2;
}
body.theme-island .title-ribbon .tr-body::before {
  left: 0.15em;
  border-width: 0 0.95em 0.45em 0;
  border-color: transparent var(--rk) transparent transparent;
}
body.theme-island .title-ribbon .tr-body::after {
  right: 0.16em;
  border-width: 0 0 0.45em 0.95em;
  border-color: transparent transparent transparent var(--rk);
}
/* 4. 文字层（.ribbonText）：压在正面之上；
      0.11em 的上内边距是源码为 CJK 字形做的光学居中（否则中文看着偏上）。 */
body.theme-island .title-ribbon .tr-text {
  position: relative;
  z-index: 4;
  display: inline-flex; align-items: center;
  height: 2em;
  padding-top: 0.11em;
  color: var(--rt);
  text-shadow: 0 0.04em 0.08em rgba(0, 0, 0, 0.05);
}
/* 头部里的那一枚：绝对居中（左右两侧的图标/按钮各自留在原位，互不挤） */
body.theme-island .hd-top .title-ribbon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
/* 飘带本身就是视觉锚点，左上角那个小图标块收掉，否则两个「方块」打架 */
body.theme-island .hd-top .mk { display: none; }
body.theme-island .hd-top .brand { font-size: 17px; }

/* ---------- ③ 动作区：岛库的 primary / default 两级 ----------
   规范：3D 堆叠阴影**只给** primary；default 只用软阴影。
   这里主卡（创建相册）用 0 5px 0 0 #bdaea0，次卡用描边 + 无阴影。 */
body.theme-island .hd-acts { gap: 12px; margin-top: 14px; }
body.theme-island .hd-act {
  background: #f8f8f0;
  color: #725d42;
  border: 1.5px solid #c4b89e;
  border-radius: 18px;
  box-shadow: none;
  min-height: 76px; padding: 10px 8px; gap: 6px;
}
body.theme-island .hd-act .ic {
  width: 32px; height: 32px; border-radius: 11px;
  background: #fffdf7; color: #725d42;
  border: 1.5px solid #d4c9b4;
}
body.theme-island .hd-act b { color: #794f27; font-size: 13px; font-weight: 700; }
/* 主操作：薄荷描边 + 淡薄荷底 + 5px 实色堆叠（规范唯一允许的位置） */
body.theme-island .hd-act.is-primary {
  background: #e6f9f6;
  border: 2px solid #19c8b9;
  box-shadow: 0 5px 0 0 #bdaea0;
}
body.theme-island .hd-act.is-primary .ic {
  background: #19c8b9; color: #fff; border-color: #19c8b9;
}
body.theme-island .hd-act.is-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 #bdaea0;
}

/* ---------- ④ 登录页：Card 容器 + Input large 规格 ----------
   Input 规范（large）：height 48 / padding 0 22 / font 16 / radius 50 / **无边框**
                       background #fffdf7 / 文字 #8a7b66 500 / placeholder #c4b89e 400
                       focus = 0 3px 0 #e0b800 + 0 0 0 3px rgba(255,204,0,.15)
   Card 规范：radius 20 / background rgb(247,243,223) / padding 16px 24px / 无阴影 */
body.theme-island .login-logo {
  background: #e6f9f6;
  color: #19c8b9;
  border: 2px solid #19c8b9;
  box-shadow: none;
  border-radius: 24px;
}
body.theme-island .login-title.title-ribbon {
  font-size: 20px;
  height: 2em;
  padding: 0 1.6em;
  clip-path: none;
  margin-left: auto;
  margin-right: auto;
}
/* 丝带是 inline-flex，父级是块级 + text-align:center 才能居中 */
body.theme-island .login-wrap { text-align: center; }
body.theme-island .login-wrap .login-form { text-align: left; }
body.theme-island .login-sub { color: #8a7b66; opacity: 1; }
body.theme-island .login-form {
  background: rgb(247, 243, 223);
  border: 2px solid #9f927d;
  border-radius: 20px;
  padding: 20px 20px 22px;
  margin-top: 24px;
  gap: 14px;
}
body.theme-island .login-input {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 50px;
  background: #fffdf7;
  color: #8a7b66;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: none;
}
body.theme-island .login-input:hover { box-shadow: 0 3px 0 0 #c4b89e; }
body.theme-island .login-input:focus {
  border: 0;
  box-shadow: 0 3px 0 0 #e0b800, 0 0 0 3px rgba(255, 204, 0, 0.15);
}
body.theme-island .login-input::placeholder { color: #c4b89e; font-weight: 400; }
/* 登录按钮：岛库 primary —— 羊皮纸底 + 土棕字 + 5px 堆叠 */
body.theme-island #lfSubmit {
  background: #f8f8f0;
  color: #794f27;
  border: 2px solid #f8f8f0;
  box-shadow: 0 5px 0 0 #bdaea0;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
body.theme-island #lfSubmit:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 #bdaea0;
}
body.theme-island .login-switch { color: #8a7b66; }
/* ★ 这里的链接**不用薄荷绿**：它是 13px 正文，薄荷在羊皮纸上只有 1.97:1，读不清。
   岛库自己的 default 按钮 hover 也用薄荷，但那是「悬停瞬间」而不是常驻小字 ——
   常驻小字用土棕加粗 + 下划线，既守住色板又读得清（色板没改，只改怎么用）。 */
body.theme-island .login-switch b { color: #794f27; text-decoration: underline; }
body.theme-island .login-demo {
  background: rgb(250, 248, 242);
  border: 2px dashed #e8dcc8;
  color: #8a7b66;
}
body.theme-island .login-demo b { color: #725d42; }
/* 服务器设置那一行（列表样式）也跟着羊皮纸走 */
body.theme-island .login-wrap .list {
  background: #fffdf7;
  border: 2px dashed #e8dcc8;
  box-shadow: none;
  text-align: left;
}

/* ---------- ⑤ 翻页 / 列表底部 ----------
   「加载更多」用岛库的 primary（同一套 5px 堆叠），
   「已经到底了」用它的 dashed 分隔线语言（12px 节奏、2px 粗）。 */
body.theme-island .lg-more .btn {
  height: 45px;
  background: #f8f8f0;
  color: #794f27;
  border: 2px solid #f8f8f0;
  border-radius: 50px;
  box-shadow: 0 5px 0 0 #bdaea0;
  font-size: 14px;
  font-weight: 600;
}
body.theme-island .lg-more .btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 #bdaea0;
}
body.theme-island .lg-more .btn[disabled] {
  opacity: 0.5;
  box-shadow: 0 5px 0 0 #d4c9b4;
}
body.theme-island .lg-end {
  color: #9f927d;
  font-size: 12px;
  font-weight: 500;
  padding: 12px 0 4px;
}
body.theme-island .lg-end::before {
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 10px;
  background: repeating-linear-gradient(90deg, #e8dcc8 0 6px, transparent 6px 12px);
}

/* ---------- ⑥ 分隔线：实线 → 岛库的虚线语言 ---------- */
body.theme-island .divider-heart::before,
body.theme-island .divider-heart::after {
  height: 2px;
  background: repeating-linear-gradient(90deg, #e8dcc8 0 6px, transparent 6px 12px);
}

/* ---------- ⑦ 列表容器：岛库靠「描边 + 底色」分层，不靠阴影 ---------- */
body.theme-island .list {
  background: rgb(247, 243, 223);
  border: 1.5px solid #e8dcc8;
  border-radius: 20px;
  box-shadow: none;
}
body.theme-island .list-row + .list-row { border-top: 1.5px solid #e8dcc8; }

/* ==========================================================
   2026-11-06 · 分段控件按「档位」各给一套色
   ----------------------------------------------------------
   主人要求：「我创建的 / 我加入的 / 我关注的，点下去显示的颜色要不一样」。
   用岛库 13 套配色里的 **soft 变体**（浅底 + 同色系深字）——
   不是 solid（实心白字）的原因很简单：solid 那几档白字对比度只有 2.1-3.6，
   选中态是**常驻**状态而不是悬停瞬间，读不清就是真看不清。
   soft 的深字一档对比度都在 6:1 以上（岛库自己的 Tag soft 也是这么配的）。

   ★ 用 `[data-s]` 索引而不是新加类名：DOM 一行都不用改，
     首页三个分段本来就是 data-s="0/1/2"。 */
body.theme-island .segment-item.on {
  background: #e0f2f1;              /* app-teal-soft */
  color: #00695c;
  border: 1.5px solid #82d5bb;      /* app-teal */
  font-weight: 700;
}
body.theme-island .segment-item[data-s="0"].on {
  background: #e0f2f1;              /* app-teal-soft：我创建的 */
  color: #00695c;
  border-color: #82d5bb;
}
body.theme-island .segment-item[data-s="1"].on {
  background: #e6f0ff;              /* app-blue-soft：我加入的 */
  color: #1565c0;
  border-color: #889df0;
}
body.theme-island .segment-item[data-s="2"].on {
  background: #fce4ec;              /* app-pink-soft：我关注的 */
  color: #c2185b;
  border-color: #f8a6b2;
}
/* 未选中态保持素色，让选中的那一个更跳 */
body.theme-island .segment-item {
  border: 1.5px solid transparent;
  font-weight: 500;
}

/* ==========================================================
   2026-11-06 · 一律平面化：容器不再有投影，只用「描边 + 底色」分层
   ----------------------------------------------------------
   主人真机反馈：「内部的框就不要下面的阴影了，用标签那种平面的框，
   不然内部的框也再弄一个阴影，看起来有点臃肿」。

   岛库的规则本来就是这样（规范第 8 条：Card 没有 box-shadow，只靠位移浮起；
   Modal 用的是 SVG 裁剪，也没有投影）。阴影在这套语言里只剩三处合法：
     ① primary / danger 按钮的 `0 Npx 0 0` 实色堆叠（不是柔光，是硬边）
     ② Input 的 hover / focus 底边（`0 3px 0` 也是硬边）
     ③ Switch 轨道的内阴影
   柔光投影（`0 6px 16px rgba(...)`）**一处都不该有** —— 它是粉主题的味道。

   ★ 白卡在粉主题里靠阴影「浮」起来；换成描边后层次靠三件事：
     底色差（羊皮纸 → 米黄）、1.5px 描边、2px 虚线分隔。 */

body.theme-island .dialog,
body.theme-island .sheet,
body.theme-island .stat-card,
body.theme-island .img-card,
body.theme-island .list,
body.theme-island .card,
body.theme-island .me-head,
body.theme-island .tabbar,
body.theme-island .dock,
body.theme-island .sheet-item,
body.theme-island .pick-row,
body.theme-island .album-card {
  box-shadow: none;
}

/* 弹窗：平面卡片 —— 米黄底 + 2px 棕描边，靠这两样和页面分开 */
body.theme-island .dialog,
body.theme-island .sheet {
  background: rgb(247, 243, 223);
  border: 2px solid #9f927d;
  border-radius: 24px;
  box-shadow: none;
}
/* 弹窗里那条「取消 / 确定」的分割线：从实线改成岛库的虚线语言 */
body.theme-island .dialog-actions {
  border-top: 2px dashed #e8dcc8;
}
body.theme-island .dialog-actions button {
  font-weight: 600;
  color: #794f27;
}
body.theme-island .dialog-actions .ok {
  color: #0f8075;   /* 只有「确定」用主色的深一档，读得清又分得出主次 */
}
body.theme-island .dialog-actions .danger { color: #a32d2d; }

/* 弹窗里的输入框回落到「平面」：不要外层光晕叠着描边，只留底部那道黄线 */
body.theme-island .dialog .input:focus,
body.theme-island .dialog textarea:focus {
  box-shadow: 0 3px 0 0 #e0b800;
}

/* 圆形图标按钮（返回 / 关闭 / 更多）：**保留阴影**。
   ★ 2026-11-06 主人纠正：「不是所有按钮都做成平面的，是嵌套在内部的框才平面」。
     这类按钮是浮在内容上的独立控件，属于岛库的 default 按钮一族 ——
     规范给的就是软阴影 `0 2px 4px rgba(61,52,40,.06)`，不是没有阴影。 */
body.theme-island .nav-btn {
  background: #fffdf7;
  color: #725d42;
  border: 1.5px solid #e8dcc8;
  box-shadow: 0 2px 4px 0 rgba(61, 52, 40, 0.06);
}

/* 图片卡：照片本身已经够重，外面再加投影就是双重阴影 */
body.theme-island .img-card {
  background: rgb(247, 243, 223);
  border: 1.5px solid #e8dcc8;
  border-radius: 18px;
}

/* 底栏 / 工作台底栏：**保留浮起**（它压在整个页面之上，不是「内部的框」）。
   只把粉色的柔光换成岛库中性的那档，并加一道 1.5px 实线帮助分层。 */
body.theme-island .tabbar,
body.theme-island .dock {
  background: rgba(248, 248, 240, 0.98);
  border-top: 1.5px solid #e8dcc8;
  box-shadow: 0 -2px 10px rgba(61, 52, 40, 0.08);
}

/* 「我的」页那块统计卡：黄底是粉主题的点缀，岛库用米黄 + 描边 */
body.theme-island .stat-card {
  background: rgb(247, 243, 223);
  border: 1.5px solid #e8dcc8;
  border-radius: 20px;
}
body.theme-island .stat-card .stat-item + .stat-item::before {
  background: #e8dcc8;
}

/* ==========================================================
   2026-11-06 · 把岛库那 16 套配色真正用起来
   ----------------------------------------------------------
   主人两次强调「不要单调只用一种颜色」，并给了 Tag 的 16 色色板截图。
   岛库的用色哲学是「**彩色只占小面积**」：底色永远是羊皮纸，
   彩色落在标签、图标、选中态这些小块上。所以这里只给三类东西上色，
   不碰页面底/卡片底 —— 大面积铺色会变成另一个极端（花）。

   取色全部来自 data-display.md 的 Tag soft 变体（浅底 + 同色系深字，
   深字那一档对比度都在 6:1 以上，读得清）：
     app-teal  #e0f2f1 / #00695c
     app-blue  #e6f0ff / #1565c0
     app-orange #fff3e0 / #e65100
     purple    #f3e5f5 / #7b1fa2
     app-pink  #fce4ec / #c2185b
   ========================================================== */

/* ---------- ① 底栏：五个 Tab 各一色，只有选中的那个亮起来 ----------
   （默认全是素色 #9f927d，跟岛库 Tabs 的未选中一致；点了才显色，
     这样既多彩又不会满屏花花绿绿） */
body.theme-island .tabbar-item.on { background: transparent; font-weight: 700; }
body.theme-island .tabbar .tabbar-item:nth-child(1).on { color: #00695c; background: #e0f2f1; }
body.theme-island .tabbar .tabbar-item:nth-child(2).on { color: #1565c0; background: #e6f0ff; }
body.theme-island .tabbar .tabbar-item:nth-child(3).on { color: #e65100; background: #fff3e0; }
body.theme-island .tabbar .tabbar-item:nth-child(4).on { color: #7b1fa2; background: #f3e5f5; }
body.theme-island .tabbar .tabbar-item:nth-child(5).on { color: #c2185b; background: #fce4ec; }

/* 相册工作台那条底栏（5 个功能）同理，换个色序，别和上面撞 */
body.theme-island .dock .dock-item:nth-child(1).on { color: #00695c; background: #e0f2f1; }
body.theme-island .dock .dock-item:nth-child(2).on { color: #1565c0; background: #e6f0ff; }
body.theme-island .dock .dock-item:nth-child(3).on { color: #e65100; background: #fff3e0; }
body.theme-island .dock .dock-item:nth-child(4).on { color: #7b1fa2; background: #f3e5f5; }
body.theme-island .dock .dock-item:nth-child(5).on { color: #c2185b; background: #fce4ec; }

/* ---------- ② 「我的」页四个统计数字：四个颜色 ---------- */
body.theme-island .stat-item:nth-child(1) .n { color: #00695c; }
body.theme-island .stat-item:nth-child(2) .n { color: #1565c0; }
body.theme-island .stat-item:nth-child(3) .n { color: #e65100; }
body.theme-island .stat-item:nth-child(4) .n { color: #7b1fa2; }
body.theme-island .stat-item .l { color: #8a7b66; }

/* ---------- ③ 动作卡的次操作：换一套色，跟主操作的薄荷区分开 ----------
   主操作（创建相册）：薄荷实心图标 + 薄荷描边
   次操作（加入相册 / 生成合集码）：橙黄 outlined，有颜色但不抢 */
body.theme-island .hd-act:not(.is-primary) .ic {
  background: #fff3e0;
  color: #e65100;
  border-color: #f7cd67;
}

/* ==========================================================
   2026-11-06 · 岛库的装饰件：波浪分隔线（squiggle）+ 页脚
   ----------------------------------------------------------
   主人：「组织库的各个东西都可以用上，比如分割线、页脚，合适的地方自由添加」。

   Divider 规范里的 `squiggle` 是「薄荷青无缝波浪，固定 120px 宽平铺」，
   两端等高、切线水平，所以拼起来不露接头 —— 这里用同一条数据 URI 实现，
   不引入图片、不增加请求。
   ★ 只在两处用：① 列表「已经到底了」上方  ② 登录页页脚。
     5 个分组标题（相册分类/款式一览/说明…）仍用 1px 实线（规范里的 thin），
     那里用波浪会花 —— 分隔线的存在感要和它分隔的东西成比例。 */
body.theme-island .divider-heart::before,
body.theme-island .divider-heart::after {
  height: 1px;
  background: #e8dec7;   /* Divider 规范的 thin：1px solid */
}
body.theme-island .page-foot {
  margin-top: 30px;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 500;
  color: #9f927d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M0 5 Q15 1 30 5 T60 5 T90 5 T120 5' fill='none' stroke='%2319c8b9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top center;
  background-size: 120px 10px;
}
/* 「已经到底了」上方也换成同一条波浪（原来那条虚线太素，且和页脚不统一） */
body.theme-island .lg-end::before {
  height: 8px;
  margin-bottom: 12px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M0 5 Q15 1 30 5 T60 5 T90 5 T120 5' fill='none' stroke='%23c4b89e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center;
  background-size: 120px 10px;
}

/* ==========================================================
   2026-11-06 · 两处真机反馈
   ========================================================== */

/* ---------- ① 右侧那条粉色竖条 = 滚动条 ----------
   主人截图里页面右边有一条淡粉带，从顶部贯穿到底。
   那是 app.css 里 `::-webkit-scrollbar-thumb { background: #F0CFD8 }` ——
   粉主题的滚动条滑块，island 皮肤下没人管它，于是整站最"粉"的地方是滚动条。
   ★ 改土棕色（和 --animal-border 同族），既看得见又不抢眼。
   ★ 属性选择器要写两遍：`body.theme-island::-webkit-scrollbar-thumb` 管视口滚动条，
     `body.theme-island *::-webkit-scrollbar-thumb` 管内部滚动容器（.page-body 之类）。 */
body.theme-island::-webkit-scrollbar-thumb,
body.theme-island *::-webkit-scrollbar-thumb {
  background: #d4c9b4;
  border-radius: 3px;
}
body.theme-island::-webkit-scrollbar-thumb:hover,
body.theme-island *::-webkit-scrollbar-thumb:hover { background: #c4b89e; }
body.theme-island::-webkit-scrollbar,
body.theme-island *::-webkit-scrollbar { background: transparent; }

/* ---------- ② 弹窗里的输入框：一道阴影都不要 ----------
   主人：「就是这种弹窗里的输入框，不要做阴影」。
   我上一版只去掉了外圈光晕，底下还留着 `0 3px 0 #e0b800` 那道黄线，
   在浅底的弹窗里看着像一条金边 —— 他说的就是它。

   ★ 但 focus 还是得让人看得出来，所以把「阴影」换成「描边」：
     平时 1.5px 淡棕边，聚焦时变金黄色边（同一个黄色，只是从投影改成描边，
     不占额外高度、也不会在下方拖出一条带子）。 */
body.theme-island .dialog .input,
body.theme-island .dialog .textarea,
body.theme-island .sheet .input,
body.theme-island .sheet .textarea {
  box-shadow: none;
  border: 1.5px solid #e8dcc8;
}
body.theme-island .dialog .input:hover,
body.theme-island .dialog .textarea:hover,
body.theme-island .sheet .input:hover,
body.theme-island .sheet .textarea:hover {
  box-shadow: none;
  border-color: #d4c9b4;
}
body.theme-island .dialog .input:focus,
body.theme-island .dialog .textarea:focus,
body.theme-island .sheet .input:focus,
body.theme-island .sheet .textarea:focus {
  box-shadow: none;
  border-color: #e0b800;
  background: #fffdf7;
}

/* ---------- ① 续：滚动条补两刀 ----------
   ★ 上面那两条只能管 body 和 body 之后代。如果滚动发生在 `html` 上，
     `body.theme-island::-webkit-scrollbar-thumb` 是**抓不到的** ——
     滚动条伪元素属于真正滚动的那一层。
     所以：
       a) `html:has(body.theme-island)` 兜住「滚动在 html 上」的情况（:has 在 Chrome 105+ 可用）
       b) `.page-body` 自己就是内部滚动容器，手机上本来也不该显示滚动条 → 直接压成 0 宽。
         这一条最彻底：主人截图里那条带子只有 6-10px、从顶贯到底，
         和 `.page-body` 内部滚动条的位置完全吻合。 */
html:has(body.theme-island)::-webkit-scrollbar-thumb { background: #d4c9b4; }
html:has(body.theme-island)::-webkit-scrollbar { background: transparent; }
body.theme-island .page-body::-webkit-scrollbar { width: 0; height: 0; }
body.theme-island .page-body { scrollbar-width: none; }

/* ==========================================================
   2026-11-06 · 「我的」页头部：从「深色渐变」改成岛库的 pattern 卡
   ----------------------------------------------------------
   主人：「这个和第一个皮肤没有什么区别，它只是换了个颜色，不是很好看」。
   说得对 —— 上一版只把粉渐变换成绿渐变，结构完全没动：
   全宽深色块 + 圆头像 + 右下角一团橘色光斑。那团光斑正是他说「不好看」的地方
   （粉主题的「雾感」装饰，在羊皮纸体系里像一块脏印子）。

   岛库真正的招牌不是纯色块，是 **Card 的 pattern（波点纸）**：
   两层 radial-gradient 点阵 + 1.5px 同色描边 + 浅底 + 深字（layout.md 的
   `pattern="app-pink"` 那段就是这套配方，这里换成 app-teal，跟主色一体）。

   ★ 结构变化（这才是「不一样」的地方）：
     全宽块（只圆下面两个角）→ **四周留 14px 的独立卡片**（四角 20px 圆角）。
     统计卡仍然压在卡片下沿 20px 上 —— 对应岛库 `layer` 变体的「双层纸」错位。
   ★ padding-bottom 保持 44px、`.stat-card` 的 margin-top 保持 -20px：
     这两个数是 check-mehead-geometry 算「卡片压进头部多深」的依据，动了就会红。 */

body.theme-island .me-head {
  margin: calc(var(--safe-t) + 10px) 14px 0;
  padding: 18px 18px 22px;
  /* ★ 2026-11-06 主人：「这里为什么是两个叠在一起？按理来说应该是穿插的」。
     原来：头部是四角圆角卡片、统计卡负 20px 压进去，
     而头部那条下边框正好横在统计卡上方 —— 看起来就是「两张纸叠着」。
     改成**一张卡切成上下两半**：头部只留上面两个圆角、下边不画线；
     统计卡只留下面两个圆角、上边不画线。两段拼起来是完整的一个圆角矩形，
     中间靠底色差（薄荷 → 米黄）分区，没有任何横线。 */
  border-radius: 20px 20px 0 0;
  background:
    radial-gradient(circle, rgba(130, 213, 187, 0.32) 1.5px, transparent 1.5px) 0 0 / 28px 28px,
    radial-gradient(circle, rgba(130, 213, 187, 0.18) 1px, transparent 1px) 7px 7px / 14px 14px,
    #e0f2f1;
  border: 1.5px solid #82d5bb;
  border-bottom: 0;
  color: #00695c;
  box-shadow: none;
}
/* 那团橘色光斑：粉主题的「雾感」，在羊皮纸体系里就是一块脏印子 */
body.theme-island .me-head::after { display: none; }

/* 头像：岛库 Avatar 的「贴纸圈」—— 实色底 + 2px 奶油描边（描边色取页面底色，
   这样它压在波点上时边缘干净，不会让波点从缝里透出来） */
body.theme-island .me-head .avatar {
  width: 56px; height: 56px;
  background: #82d5bb;
  color: #fff;
  border: 2px solid #f8f8f0;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  box-shadow: none;
}
body.theme-island .me-head .nk { color: #00695c; font-size: 18px; font-weight: 700; }
body.theme-island .me-head .ac { color: #0f6e56; opacity: 1; font-weight: 500; }

/* 统计卡：压在头部卡片下沿。加一圈同色描边，靠「描边 + 底色差」分层（不要阴影） */
body.theme-island .stat-card {
  margin: 0 14px 0;              /* 原来是 -20px 压进头部（就是「叠」的来源） */
  padding: 18px 0 16px;          /* 原来是 34/18：那 34px 是给负 margin 让位的 */
  border: 1.5px solid #d4c9b4;
  border-top: 0;                 /* 顶边不画线 —— 和头部拼成一张卡 */
  border-radius: 0 0 20px 20px;  /* 只留下面两个圆角 */
  box-shadow: none;
}
/* 分段标题前那个小竖条：从粉色渐变改成岛库的主色实块 */
body.theme-island .sec-title .dot { background: #19c8b9; }

/* 退出登录：岛库的 danger-primary —— 实心红底 + 白字 + 5px 叠影（不是描边款） */
body.theme-island .btn-danger {
  background: #e05a5a;
  color: #fff;
  border: 2px solid #e05a5a;
  border-radius: 50px;
  height: 45px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 0 0 #c94444;
}
body.theme-island .btn-danger:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 #c94444;
}

/* ==========================================================
   2026-11-06 · 二级页顶栏（.nav）岛库化
   ----------------------------------------------------------
   这是全站覆盖面积最大的一处：`UI.nav` 在 21 处二级页里用着
   （相册详情/管理/成员/分享/余额明细/账号列表/用量…），
   而它一直是粉主题那套「半透明白 + 毛玻璃 blur + 1px 细线」。

   所以之前只有 4 个 Tab 页（用 UI.head 的）换了新皮，
   走进任何一个二级页，顶上还是白条 —— 观感断层就出在这儿。

   ★ 岛库不用毛玻璃：它的层次靠「不透明底色 + 1.5px 描边」。
     blur 在浅色纸上会糊成一团灰，反而显脏。
   ★ 底色取 #f8f8f0（和页面底同色）+ 底部 1.5px 描边 #c4b89e ——
     同色靠线条分层，是岛库 Card / Tabs 的同一套做法。 */
body.theme-island .nav {
  background: rgba(248, 248, 240, 0.97);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1.5px solid #c4b89e;
  box-shadow: none;
}
/* 滚动后：底色收紧成不透明（半透明在长列表里会让字透底），线保持 */
body.theme-island .nav.scrolled {
  background: #f8f8f0;
  border-bottom-color: #a89878;
}
body.theme-island .nav-title {
  color: #794f27;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
/* 顶栏里的圆形按钮：白底 + 淡棕描边 + 软阴影（它们是按钮，不是内嵌框，保留浮起） */
body.theme-island .nav .nav-btn {
  background: #fffdf7;
  color: #725d42;
  border: 1.5px solid #e8dcc8;
  box-shadow: 0 2px 4px 0 rgba(61, 52, 40, 0.06);
}
body.theme-island .nav .nav-btn:active {
  background: #f5f0e6;
  transform: scale(0.94);
}

/* ==========================================================
   2026-11-06 · 背景（Background）+ 标签多彩
   ----------------------------------------------------------
   主人给了岛库 Background 的 19 种和 Tag 的 16 色，说「适量使用」。

   ★ 为什么只用 dots 系列，不用 sweet-corner / coffee-break：
     那两个是**场景插画**（甜甜圈、咖啡杯），铺满一屏会盖住内容、抢走焦点。
     dots 是波点纹理，密度和透明度都可控，才适合当整页底。
   ★ 为什么是 0.10 的透明度、24px 网格：
     页面底下要压着大量商品图和价格，波点一浓就变「花墙纸」，
     价格读起来会累。这个值是在「有质感」和「不干扰」之间的保守选择。 */
body.theme-island .page-body {
  background-color: #f8f8f0;
  background-image:
    radial-gradient(circle, rgba(159, 146, 125, 0.13) 1.2px, transparent 1.2px) 0 0 / 24px 24px;
  /* ★ 用 local 而不是 fixed：这是滚动容器，local 让波点跟着内容走，
     像一沓会翻动的纸；fixed 会让它钉在视口上，滑起来像贴纸。 */
  background-attachment: local;
}
/* 登录页：整页只有一块表单，背景可以稍微明显一点（用 app-teal 的点，和主色呼应） */
body.theme-island .page-body.no-tab {
  background-image:
    radial-gradient(circle, rgba(130, 213, 187, 0.30) 1.6px, transparent 1.6px) 0 0 / 26px 26px,
    radial-gradient(circle, rgba(130, 213, 187, 0.16) 1px, transparent 1px) 8px 8px / 13px 13px;
}
/* 页面里的「区块」自己已经有底色了，别让底下波点透上来（会对不齐） */
body.theme-island .sec,
body.theme-island #checkList,
body.theme-island #albList { background: transparent; }

/* ---------- 标签：中性标签按卡轮换，语义标签保持固定 ----------
   ★ 只轮换 `.tag-gray`（人数这类**中性信息**）。
     「使用中」「管理员」这类**有语义的状态**必须固定色 ——
     同一个状态在列表里出现三种颜色，用户会以为它们含义不同（那是真的会误读）。
   ★ 纯 CSS 按序号轮换（`#checkList > :nth-child(5n+1)`）：
     `>` 后面接的是「第几张卡」，不管那张卡外面有没有套 `.managing`，
     所以批量管理模式和普通模式都能正确轮换。 */
body.theme-island #checkList > :nth-child(5n+1) .tag-gray,
body.theme-island #albList > :nth-child(5n+1) .tag-gray { background: #e0f2f1; color: #00695c; }
body.theme-island #checkList > :nth-child(5n+2) .tag-gray,
body.theme-island #albList > :nth-child(5n+2) .tag-gray { background: #e6f0ff; color: #1565c0; }
body.theme-island #checkList > :nth-child(5n+3) .tag-gray,
body.theme-island #albList > :nth-child(5n+3) .tag-gray { background: #fff3e0; color: #e65100; }
body.theme-island #checkList > :nth-child(5n+4) .tag-gray,
body.theme-island #albList > :nth-child(5n+4) .tag-gray { background: #f3e5f5; color: #7b1fa2; }
body.theme-island #checkList > :nth-child(5n+5) .tag-gray,
body.theme-island #albList > :nth-child(5n+5) .tag-gray { background: #fce4ec; color: #c2185b; }

/* 状态标签：固定语义色（使用中 = 薄荷、管理员 = 蓝），不随位置变 */
body.theme-island .tag-green { background: #d7f4ef; color: #0f6e56; border-color: transparent; }
body.theme-island .tag-blue  { background: #e6f0ff; color: #1565c0; border-color: transparent; }

/* 置顶角标：和「使用中」标签同一套薄荷（同类信息同色） */
body.theme-island .pin-mark {
  background: #d7f4ef;
  color: #0f6e56;
  border-radius: 6px;
}
