/* KIT_VERSION=4 (hig-kit ~/Claude/hig-kit；数字表 NUMBERS.md；桌面数字来自 macOS 27 UI Kit Sketch 套件) */
/* transit 全站共用的界面层：照 Apple Human Interface Guidelines（iOS 26/27 Liquid Glass 版）和
   Apple 官方 iOS/iPadOS 27 UI Kit 的数字做，以 iOS 27 模拟器（iPhone 18 Pro Max，简体中文）
   上的地图 App / 设置 App 实测为准。每个数字的出处见 DESIGN-HIG.md；改动前先看那份表。

   用法：页面只引这一份 CSS，自己不写颜色、字号、圆角——全部用这里的 token 和类。 */

/* ---------- 1. 颜色（UI Kit › Colors 5707:28659；深色值同一套色板） ---------- */
:root{
  --bg:#f2f2f7;            /* systemGroupedBackground */
  --bg-elev:#ffffff;       /* 分组卡片 / 表单底 */
  --ink:#000000;           /* label */
  --ink-2:rgba(60,60,67,.6);   /* secondaryLabel */
  --ink-3:rgba(60,60,67,.3);   /* tertiaryLabel */
  --line:rgba(60,60,67,.29);   /* separator */
  --fill:rgba(120,120,128,.2); /* systemFill（分段控件底 #767680 12%、搜索框 #787880 16%） */
  --fill-2:rgba(120,120,128,.16);
  --fill-3:rgba(120,120,128,.1);  /* 地图 App 地点卡片里的半透明卡片：玻璃底上暗 6% */
  --tint:#0088ff;          /* kit tint */
  --green:#34c759; --orange:#ff9500; --red:#ff383c; --yellow:#ffcc00; --teal:#30b0c7; --indigo:#5856d6;
  --disabled:#aeaeb2;
  --glass:rgba(255,255,255,.55);   /* Liquid Glass 近似：底色 + 背景模糊 + 内描边 */
  --glass-edge:rgba(255,255,255,.7);
  --glass-shadow:0 8px 28px rgba(0,0,0,.16);
  --seg-on:#ffffff;
  --r-sheet:34px; --r-sheet-large:38px; --r-card:26px; --r-tile:16px;   /* iOS 27 UI Kit › Sheets › iPhone：中档/Inspector 34、大档 38 */
  --inset:16px;            /* UIKit 布局边距：窄机 16，≥414pt 宽的 Plus/Max 机型 20（iOS 27 设置/地图 App 在 iPhone 18 Pro Max 上实测 20） */
}
@media (min-width: 414px){ :root{--inset:20px} }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#000000; --bg-elev:#1c1c1e; --ink:#ffffff; --ink-2:rgba(235,235,245,.6); --ink-3:rgba(235,235,245,.3);
    --line:rgba(84,84,88,.65); --fill:rgba(120,120,128,.36); --fill-2:rgba(120,120,128,.32); --fill-3:rgba(120,120,128,.2);
    --tint:#0a84ff; --green:#30d158; --orange:#ff9f0a; --red:#ff453a; --yellow:#ffd60a; --teal:#40c8e0; --indigo:#5e5ce6;
    --glass:rgba(30,30,32,.55); --glass-edge:rgba(255,255,255,.14); --glass-shadow:0 8px 28px rgba(0,0,0,.5); --seg-on:#636366;
  }
}
:root[data-theme="dark"]{
  --bg:#000000; --bg-elev:#1c1c1e; --ink:#ffffff; --ink-2:rgba(235,235,245,.6); --ink-3:rgba(235,235,245,.3);
  --line:rgba(84,84,88,.65); --fill:rgba(120,120,128,.36); --fill-2:rgba(120,120,128,.32); --fill-3:rgba(120,120,128,.2);
  --tint:#0a84ff; --green:#30d158; --orange:#ff9f0a; --red:#ff453a; --yellow:#ffd60a; --teal:#40c8e0; --indigo:#5e5ce6;
  --glass:rgba(30,30,32,.55); --glass-edge:rgba(255,255,255,.14); --glass-shadow:0 8px 28px rgba(0,0,0,.5); --seg-on:#636366;
}

/* ---------- 2. 字体与 Dynamic Type（UI Kit › Text styles 5418:17464） ----------
   根字号 = 系统 Body 样式（17pt，跟随「文字大小」设置），其余全用 em。
   中文一律苹方（用户 2026-09-15 定）：Apple 设备上 -apple-system 之后紧跟 PingFang SC，
   日文页也用苹方；非 Apple 设备落到 Noto Sans CJK。 */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none !important}
html{font:-apple-system-body;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Hiragino Sans","Noto Sans CJK SC","Noto Sans SC","Noto Sans JP",sans-serif;
     -webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-size:1em;line-height:1.2941em}
.t-large{font-size:2em;line-height:1.2059em;font-weight:700;letter-spacing:.0108em}     /* Large Title 34/41 */
.t-title1{font-size:1.6471em;line-height:1.2143em;font-weight:700}                       /* Title 1 28/34 */
.t-title2{font-size:1.2941em;line-height:1.2727em;font-weight:700}                       /* Title 2 22/28 */
.t-title3{font-size:1.1765em;line-height:1.25em;font-weight:600}                          /* Title 3 20/25 */
.t-head{font-size:1em;line-height:1.2941em;font-weight:600}                              /* Headline 17/22 */
.t-body{font-size:1em;line-height:1.2941em}                                              /* Body 17/22 */
.t-callout{font-size:.9412em;line-height:1.3125em}                                       /* Callout 16/21 */
.t-sub{font-size:.8824em;line-height:1.3333em}                                           /* Subheadline 15/20 */
.t-foot{font-size:.7647em;line-height:1.3846em}                                          /* Footnote 13/18 */
.t-cap1{font-size:.7059em;line-height:1.3333em}                                          /* Caption 1 12/16 */
.t-cap2{font-size:.6471em;line-height:1.1818em}                                          /* Caption 2 11/13 */
.dim{color:var(--ink-2)}
.num{font-variant-numeric:tabular-nums}

/* ---------- 3. 材质：Liquid Glass 近似（HIG Materials：只给悬浮的控件层，不给内容层） ---------- */
.glass{background:var(--glass);-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);
       box-shadow:var(--glass-shadow),inset 0 0 0 .5px var(--glass-edge),inset 0 1px 0 var(--glass-edge)}

/* ---------- 4. SF Symbols：ui/sf/<name>.png 做蒙版，颜色跟 currentColor ---------- */
.sf{display:inline-block;width:1.2941em;height:1.2941em;background:currentColor;vertical-align:-.25em;flex:none;
    -webkit-mask:var(--sf) center/contain no-repeat;mask:var(--sf) center/contain no-repeat}

/* ---------- 5. 顶部工具条（UI Kit › Toolbar - Top - iPhone 1:54472）----------
   54 高（44 按钮 + 10 下边距），左右 16；按钮组 44 圆形玻璃；大标题 34/41 粗体在下一行。 */
.bar{position:fixed;top:0;left:0;right:0;z-index:20;padding:calc(env(safe-area-inset-top) + 0px) var(--inset) 10px;
     display:flex;align-items:center;gap:10px;pointer-events:none}
.bar>*{pointer-events:auto}
.bar .spacer{flex:1 1 auto;pointer-events:none}
.bar a .lb{display:none}   /* 返回目录的文字标签只在 Mac 侧栏底显示（11b） */
.btn-glass{display:inline-flex;align-items:center;justify-content:center;gap:.25em;height:44px;min-width:44px;padding:0 4px;border:0;border-radius:999px;
           color:var(--ink);font:inherit;font-weight:500;cursor:pointer;text-decoration:none;user-select:none;-webkit-user-select:none}
.btn-glass.text{padding:0 14px}                                      /* kit: Text 36 高，左右 8 + 组内 2/4 */
.btn-glass.tint{color:#fff;background:var(--tint);box-shadow:var(--glass-shadow)}
/* 玻璃圆钮按下由 ui/press.js 做（地图 App 实测是放大 ×1.135 + Spring(0.24,0.4) + 亮度 1.3，不是缩小）；这里不写 :active，免得桌面鼠标按下缩一下 */
.btn-group{display:inline-flex;border-radius:999px;padding:0 4px;gap:20px;height:44px;align-items:center}
.btn-group .btn-glass{background:none;box-shadow:none;height:36px;min-width:36px;padding:0 8px}
/* 胶囊文字按钮（UI Kit › Button - Liquid Glass - Text）：小 28 / 中 34 / 大 50 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;border-radius:999px;font:inherit;font-weight:500;
     color:var(--ink);cursor:pointer;text-decoration:none;user-select:none;-webkit-user-select:none}
.btn.s{height:28px;padding:5px 10px;font-size:.8824em;line-height:1.2em}
.btn.m{height:34px;padding:8px 12px;font-size:1em;line-height:1.0588em}
.btn.l{height:50px;padding:16px 20px;font-size:1em;line-height:1.0588em}
.btn.tint{background:var(--tint);color:#fff}
.btn.plain{background:none;color:var(--tint)}
.btn.red{color:var(--red)}
.btn:disabled{color:var(--disabled)}
.btn:active{opacity:.7}   /* 没量过：填充色按钮的按下态待 maa 逐帧量（NUMBERS.md Press states）；先留，别当依据 */

/* ---------- 6. 搜索胶囊（UI Kit › _Search - Top 5720:33677；地图 App 实测 44 高、距 sheet 内边 16）---------- */
.search{display:flex;align-items:center;gap:4px;height:44px;padding:0 10px 0 11px;border-radius:999px;background:var(--fill-2);color:var(--ink)}
.search .sf{width:1.2941em;height:1.2941em;color:var(--ink-2)}
.search input{flex:1 1 auto;min-width:0;border:0;background:none;font:inherit;font-size:1em;line-height:1.1934em;font-weight:500;color:var(--ink);outline:none;padding:0}
.search input::placeholder{color:var(--ink-3)}
.search .clear{border:0;background:none;padding:0;color:var(--ink-2);display:none}
.search.has .clear{display:inline-flex}

/* ---------- 7. 分段控件（UI Kit › Segmented Control 10460:145）：小 32 / 大 50，内边 2，段间 4，选中白底 20 模糊阴影 ---------- */
.seg{display:inline-flex;padding:2px;gap:4px;border-radius:999px;background:var(--fill)}
.seg button{flex:1 1 0;min-width:0;height:28px;padding:3px 6px;border:0;border-radius:999px;background:none;color:var(--ink);
            font:inherit;font-size:.7843em;line-height:1.35em;font-weight:500;white-space:nowrap;cursor:pointer}
.seg.l button{height:46px}
/* 工具条里的分段控件（学習 現代日本/東亜、クイズ 模式）= Kit Segmented Controls › Large 48：段 44、内边 2、段间 4、标签 13.33 Medium（选中 Semibold）；页内不要再写高度。
   同一条工具条里的圆钮随之用 Kit Toolbars › Buttons › 48pt 变体：48 玻璃圆、内符号区 40 @4（不是 44 居中 +2） */
html .bar .seg{height:48px;padding:2px;gap:4px} html .bar .seg button{height:44px;padding-left:12px;padding-right:12px}
html .bar:has(.seg) .btn-glass{height:48px;min-width:48px;padding:0 4px}
.seg button[aria-pressed="true"]{background:var(--seg-on);font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)}

/* ---------- 8. 非模态 Sheet（HIG Sheets / Maps：地图 App 实测：左右各内缩 8、圆角 38、抓手 58×4 距顶 5、
   内容顶部内边距 16、中档停靠高 = 屏高 44%，大档 = 屏高 − 62）---------- */
.sheet{position:fixed;left:8px;right:8px;bottom:0;z-index:15;height:44dvh;max-height:calc(100dvh - 62px);
       border-radius:var(--r-sheet);display:flex;flex-direction:column;
       transition:height .32s cubic-bezier(.2,.8,.2,1);will-change:height;touch-action:none}
.sheet.large{height:calc(100dvh - 62px);left:0;right:0;bottom:0;border-radius:var(--r-sheet-large) var(--r-sheet-large) 0 0}   /* Kit Large Detent：满宽贴底、上角 38（地图 App 搜索结果页实测同） */
.sheet.small{height:calc(env(safe-area-inset-bottom) + 96px)}
.sheet.dragging{transition:none}
.sheet .grab{flex:none;height:15px;padding-top:5px;display:flex;justify-content:center;cursor:grab}
.sheet .grab i{width:60px;height:4px;border-radius:100px;background:var(--ink);opacity:.2}   /* Kit Toolbars › Top - Sheet：抓手 60×4 距顶 5（地图 App 实测 58，按 Kit） */
/* 标题区 = iOS 27 UI Kit › Toolbars › iPhone › Top - Sheet › Title 2 Line（402×70）：抓手 60×4 @y5；44 圆钮 @(16,16)；
   标题块 46×39 @y19 居中 = Title Semibold 15 @y2 + Subtitle Medium 12 @y22；头高 70 → 抓手块 15 + 上 1 + 44 + 下 10。
   （历史：09-15 地图 App 地点卡片实测是 圆钮 15/15、标题 22/28 粗——Kit 有此组件，按 Kit。） */
.sheet .head{flex:none;padding:1px 16px 10px;display:flex;align-items:flex-start;gap:0}
.sheet .head .tt{flex:1 1 auto;min-width:0;text-align:center;padding-top:5px}
.sheet .head .tt .t-title2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8824em;line-height:1.3333em;font-weight:600}   /* Semibold 15/20 */
.sheet .head .tt .t-sub{font-size:.7059em;line-height:1.3333em;font-weight:500}                                                            /* Medium 12/16 */
.sheet .head .slot{flex:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.sheet .head .search{flex:1 1 auto;margin:0 1px}
.btn-glass.fill{background:var(--fill);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
/* .sheet > (#list | #card) > .body 这种多套一层的：中间那层也得是 flex 列且 min-height:0，不然 .body 的 overflow 失效、大档里滚不动（maa 真机 09-15） */
.sheet > #list,.sheet > #card{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.sheet .body{flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;   /* .sheet 整体 touch-action:none 会把原生滚动也禁掉；.body 放开纵向，sheet.js 该接管时自己 preventDefault（maa 真机 09-15） */
             padding:0 0 calc(env(safe-area-inset-bottom) + 16px)}

/* ---------- 9. 分组列表（UI Kit › Row 550:50430：Regular 52 / Tall 68；iOS 27 设置 App 在 iPhone 18 Pro Max 上实测：
   卡片内缩 20（= 布局边距）、圆角 26、单行 52.33（含 1/3 分隔线）、图标 28 距卡片边 18、文字与分隔线内缩 60（无图标 20）、
   分隔线 0.67 粗、卡片与卡片相隔 35、大标题到首张卡片 13；段头 17 半粗 上 28 下 6、段尾 13/18 上 6 下 24（设置 App，另一会话实测）。
   Sheet 里的列表照地图 App 地点卡片：卡片与段头都从 Sheet 边内缩 20，段头用 label 色。 ---------- */
.group{margin:0 var(--inset);background:var(--bg-elev);border-radius:var(--r-card);overflow:hidden}
.group + .group{margin-top:35px}
.sect{margin:0}
.sect h2,.sect .h{margin:0;padding:28px calc(var(--inset) + 20px) 6px;font-size:1em;line-height:1.2941em;font-weight:600;color:var(--ink-2)}
.sect:first-child h2,.sect:first-child .h{padding-top:10px}
.sect .foot{margin:0;padding:6px calc(var(--inset) + 20px) 24px;color:var(--ink-2);font-size:.7647em;line-height:1.3846em}
.sect .foot + *{margin-top:0}
.sheet .sect h2,.sheet .sect .h{padding-left:var(--inset);padding-right:var(--inset);color:var(--ink)}
.sheet .sect .foot{padding-left:var(--inset);padding-right:var(--inset)}
.row{position:relative;display:flex;align-items:center;gap:14px;min-height:52.33px;padding:15px 20px 15px 20px;color:inherit;text-decoration:none;background:none;border:0;width:100%;font:inherit;text-align:left}
.row:has(.hint){padding-top:13px;padding-bottom:13px;min-height:68.33px}
.row + .row::before{content:"";position:absolute;left:20px;right:20px;top:0;height:1px;background:var(--line);transform:scaleY(.67);transform-origin:top}
.row.icon{padding-left:18px}
.row.icon + .row.icon::before{left:60px}
.row .ico{width:28px;height:28px;border-radius:6.5px;display:flex;align-items:center;justify-content:center;color:#fff;flex:none}
.row .ico .sf{width:1em;height:1em}
.row .lab{flex:1 1 auto;min-width:0}
.row .lab .name{font-size:1em;line-height:1.2941em}
.row .lab .name,.row .lab .hint{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}   /* UIKit subtitle 单元格：单行截断 */
.row .lab .hint{font-size:.8824em;line-height:1.3333em;color:var(--ink-2);margin-top:0}
.row .val{color:var(--ink-2);font-size:1em;white-space:nowrap;text-align:right}
.row .val.ink{color:var(--ink);font-weight:600}
.row .chev{color:var(--ink-3);width:.8em;height:.8em}
a.row:active,button.row:active{background:var(--fill)}
.row.btn-row{color:var(--tint);justify-content:flex-start}
.row.btn-row.red{color:var(--red)}
/* 值区里的置信度小圆点（数据页用） */
.dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-left:6px;vertical-align:middle;background:var(--ink-3)}
.dot.official{background:var(--green)} .dot.listing{background:var(--tint)} .dot.measured{background:var(--ink)}
.dot.crowd{background:var(--orange)} .dot.estimated{background:var(--ink-3)}

/* ---------- 10. 地图页壳：地图全屏，控件浮在上面（HIG Maps：别用不可交互的东西盖住地图；自定义控件要有描边/阴影对比）---------- */
/* 地图页的壳。主屏幕网页 App 用 status-bar-style=default（视口从状态栏之下开始，env(safe-area-inset-top)=0，fixed 元素、rect、触摸一致，
   和 maa 手机页同一做法）。black-translucent 在 iOS 27 的网页 App 容器里会把布局视口缩成 894 并向上偏 62（scrollY=-62），
   fixed 元素画在视觉视口、点击却按布局视口算，差一个状态栏高，锁 body/html 都治不好——pipeline/ui/standalone-test.html 是当时的实验页，留着备查。 */
.map-shell{position:fixed;inset:0;overflow:hidden}
.map-shell .map{position:absolute;inset:0}
/* 右侧浮动控件组（地图 App 实测：竖向玻璃胶囊 49 宽、每个按钮 44、右边距 22、底边在 sheet 中档上沿之上 35） */
.map-ctl{position:fixed;right:var(--inset);z-index:16;display:flex;flex-direction:column;border-radius:999px;padding:0}
.map-ctl .btn-glass{background:none;box-shadow:none}
.map-ctl .btn-glass + .btn-glass{margin-top:-4px}
/* 顶部状态胶囊（地图 App「定位服务已关闭 ›」那种） */
.pill{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top) + 12px);z-index:16;
      height:44px;padding:0 14px 0 18px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;font-weight:500;color:var(--ink)}

/* ---------- 11. 宽屏：HIG Maps「iPadOS/macOS 用侧栏或 popover」。两套数字，按指针分：
   触屏（iPad，pointer: coarse）= iPadOS 27 地图 App 实测（iPad Pro 13″ 竖屏 1032×1376，09:56）：侧栏面板宽 440、距左 24、顶 = 状态栏 + 8、距底 20，
     圆角同 Sheet（38），搜索胶囊 44 距面板边 16 距顶 16；控件簇右上角距右 24。
   鼠标（Mac，pointer: fine）= macOS 27 UI Kit 的数字，见下面 11b（历史：09-15 曾用 Maps 实测 200/282/13 和无出处的 360/380，均作废）。 ---------- */
@media (min-width: 900px){
  .sheet{left:24px;right:auto;top:calc(env(safe-area-inset-top) + 8px);bottom:20px;width:440px;height:auto !important;max-height:none;
         border-radius:var(--r-sheet);transition:none}
  .sheet .grab{display:none}
  .sheet .head{padding-top:16px}
  .bar{left:auto;right:0;padding:calc(env(safe-area-inset-top) + 8px) 24px 10px;justify-content:flex-end;gap:12px}
  .bar .spacer{display:none}
  .bar .seg{flex:0 0 auto;width:auto}
  .bar .seg button{flex:0 0 auto;padding-left:12px;padding-right:12px}
  .map-ctl{right:24px}
  .pill{left:auto;right:24px;transform:none}
}
@media (min-width: 900px) and (pointer: fine){
  /* ---------- 11b. 桌面 = macOS 27 UI Kit（Apple Design Resources 官方 Sketch 套件 2026-06-23 / meta 190；每个数字见 NUMBERS.md「macOS 27 UI Kit」）。
     规则（用户 2026-09-15）：网页按原生程序的做法，尺寸一律从 Kit 取，真机只量动效和 App 布局。
     布局 = NavigationSplitView：左 = Kit Windows › Left Pane（侧栏 256 宽、面板内边 8、窗口圆角 16、侧栏材质 #fafafa 80% + 模糊 100）；
     右 = Kit Windows › Utility Panel（280 宽）贴在侧栏右边 8。根字号 = Kit Body 13/16；其余字号照 Kit 文本样式表。
     列表行 = Kit Sidebars › Large 40（Body 13 标题 + Subheadline 11 副标题，图标 24 距边 14，选中底 r8 距边 10、黑 11%）；段头 = Kit Sidebars › Header 18 高 Bold 11；
     工具条 = Kit Titlebars and Toolbars › XL：36 胶囊、间 8、距边 8、分段 32×28 内缩 4；搜索 = XL 工具条搜索 36；
     开关 = Kit Toggles - Switches › Regular 54×24（圆钮 32×20 距 2，按下 50×31）；分段 = Kit Segmented Controls › Regular 24 r6；
     按钮 = Kit Buttons › Regular 24 r6 / Large 28 胶囊 / XL 36 胶囊，标签 Medium 13 内边 16；卡片 = Kit Group Box r12 黑 3%。
     组合（哪个组件放哪、多宽）= macOS 27 地图 App，NUMBERS.md「macOS 27 地图 App 的组合尺寸」（2026-09-16 辅助功能树实测，用户拍板「Mac 布局也一起改」）：
     侧栏 200 贴左通高无圆角（行 180 @10、行高 Medium 32）；顶部 52 = Kit 标题栏；地点卡 320 浮在地图上（左距侧栏 8、上下 8、内边 16、标题 Title 1 22 Bold 距顶 48、
     28 圆钮 @12、主钮 288×45、次钮 288×36 胶囊）；右侧控件竖排 36 玻璃钮 @右 8 从顶 8 起、间 6；返回目录 = 侧栏底 Regular 24 无边框钮（Maps「Clear Recents」位）。
     历史：09-15 的 Left Pane 256 + Utility Panel 280 并排、09-16 之前的 200/282/13 均作废。 ---------- */
  html{font-size:13px}
  body{line-height:1.2308em}                                        /* Body 13/16 */
  .t-large{font-size:2em;line-height:1.2308em;letter-spacing:0}     /* Large Title 26/32 */
  .t-title1{font-size:1.6923em;line-height:1.1818em}                /* Title 1 22/26 */
  .t-title2{font-size:1.3077em;line-height:1.2941em}                /* Title 2 17/22 */
  .t-title3{font-size:1.1538em;line-height:1.3333em}                /* Title 3 15/20 */
  .t-head,.t-body{font-size:1em;line-height:1.2308em}               /* Headline / Body 13/16 */
  .t-callout{font-size:.9231em;line-height:1.25em}                  /* Callout 12/15 */
  .t-sub{font-size:.8462em;line-height:1.2727em}                    /* Subheadline 11/14 */
  .t-foot,.t-cap1,.t-cap2{font-size:.7692em;line-height:1.3em}      /* Footnote / Caption 10/13 */
  /* 侧栏 = Kit Windows › Left Pane（材质 #fafafa 80% + 模糊 100），宽 200 贴左通高（Maps）；上面 52 = Kit Titlebar（标题 Bold 15 + 副题 Medium 11，左起 14 = Kit 侧栏文字内缩） */
  /* 材质 = 地图 App 实机采样（2026-09-16 09:xx，同状态截图 PLAN-MAC-LOOK 第 0 节 #8/#11）：侧栏和卡片都透出底图的颜色（侧栏压在海上 (232,238,217)、卡片 (246,254,233)），
     Kit 的 #fafafa 80% + 模糊 100 几乎不透色，作废；改成 白 78% + 模糊 40 + 饱和 1.8 */
  .sheet{left:0;top:0;bottom:0;width:200px;border-radius:0;box-shadow:none}
  html .sheet.glass,html .sheet{background:rgba(255,255,255,.78);-webkit-backdrop-filter:blur(40px) saturate(1.8);backdrop-filter:blur(40px) saturate(1.8)}   /* html .sheet.glass 压过后面的 html .glass（A26 材质），验收 619397d 打回的就是这条没生效 */
  .sheet .head{height:52px;min-height:52px;padding:0 8px 0 14px;gap:8px;align-items:center}
  .sheet .head .slot{width:auto;height:auto;min-width:0} .sheet .head .slot:empty{display:none}
  .sheet .head .tt{text-align:left;padding:0;min-width:0}
  .sheet .head .tt .t-title2{font-size:1.1538em;line-height:1.3333em;font-weight:700}          /* Kit Window Title (with sidebar) Bold 15 */
  .sheet .head .tt .t-sub{font-size:.8462em;line-height:1.2727em;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* 副标题 Medium 11 */
  .sheet::after{content:"";flex:none;height:32px}   /* 侧栏底 32 = 「目录 ›」灰字（14 @底 13）的位子，正文在它上面滚，不压到它 */
  .sheet.opt::after,.sheet.split #card::after{content:none}
  /* 段头 = Kit Sidebars › Header：18 高 Bold 11 @y2，段间距 14（Kit Medium 例子）→ 32 的盒 = Maps 的 AXHeading 32 */
  .sheet .mh{height:32px;padding:16px 14px 0;font-size:.8462em;line-height:1.2727em;font-weight:700;color:var(--ink-2);box-sizing:border-box}
  .sheet .body > .mh:first-child,.sheet .body > :first-child > .mh:first-child{height:18px;padding-top:2px}
  .sheet .mh .sf{display:none}
  .sheet .mlist{margin:0 10px;background:none;border-radius:0;overflow:visible}   /* 行底（选中/悬停 r8）距窗格边 10 = Kit 选中底 −4 于 14 的内缩 */
  .sheet .mlist + .mlist{margin-top:14px}
  /* 行 = Kit Sidebars › Rows › Medium 32：图标 20 @14（= 行底 +4）、标题 Regular 13 @38（图标后 4）、trailing Detail Medium 13 右端 6；单行，副题不进侧栏 */
  .sheet .mrow{min-height:32px;height:32px;padding:0 6px 0 4px;gap:4px;border-radius:8px}
  .sheet .mrow + .mrow::before{content:none}
  .sheet .mrow .ico{width:20px;height:20px;font-size:1em;background:none}
  /* 两行塞进 32：标题 13/16 + 副题 11/14 = 30（地图 App 侧栏「Recents」行就是这样：Tokyo Station / Chiyoda，用户 09-16 截图） */
  .sheet .mrow .name{font-weight:400;line-height:1.2308em}
  .sheet .mrow .hint{display:block;font-size:.8462em;line-height:1.2727em;margin-top:0}
  .sheet .mrow .val{font-size:1em;line-height:1.2308em;font-weight:500;color:var(--ink-2)} .sheet .mrow .val b{font-weight:500} .sheet .mrow .val > small{display:none}
  .sheet .mrow .chev{display:none}
  .sheet .mrow .name .en{display:none}
  .sheet .mrow:hover{background:rgba(0,0,0,.05)}
  .sheet .mrow:active,.sheet .mrow[aria-current="true"]{background:rgba(0,0,0,.11)}
  /* 折叠段（Maps 侧栏段头带 Kit Headers - Trailing/Submenu 展开箭头 Bold 11）：.mh[data-fold] 点开/收起下一个列表 */
  .sheet .mh[data-fold]{cursor:default;display:flex;align-items:center;justify-content:space-between}
  .sheet .mh[data-fold]::after{content:"";width:10px;height:10px;background:currentColor;-webkit-mask:url(sf/chevron.right.png) center/contain no-repeat;mask:url(sf/chevron.right.png) center/contain no-repeat}
  .sheet .mh[data-fold="open"]::after{-webkit-mask-image:url(sf/chevron.down.png);mask-image:url(sf/chevron.down.png)}
  .sheet .mh[data-fold="closed"] + .mlist{display:none}
  /* 控件（Regular 尺寸） */
  html .sw{width:54px;height:24px} html .sw i::after{width:32px;height:20px} html .sw input:checked + i::after{transform:translateX(20px)}
  html .sw.hold i::after,html .sw input:active + i::after{transform:scale(1.5625,1.55)}
  html .sw input:active:checked + i::after{transform:translateX(20px) scale(1.5625,1.55)}
  html .sw.hold i::after{transform:translateX(var(--kx,0px)) scale(1.5625,1.55) !important}
  html .sw.live input:checked + i::after{animation:knob-on-mac .34s cubic-bezier(.2,.8,.2,1) both} html .sw.live input:not(:checked) + i::after{animation:knob-off-mac .34s cubic-bezier(.2,.8,.2,1) both}
  .sheet .seg{padding:0;gap:0;border-radius:6px;background:rgba(0,0,0,.08)}
  .sheet .seg button{height:24px;min-width:30px;padding:0 6px;border-radius:6px;font-size:1em;line-height:1.2308em}
  .sheet .seg button[aria-pressed="true"]{background:var(--tint);color:#fff;box-shadow:none}
  .btn.s{height:24px;padding:0 16px;border-radius:6px;font-size:1em;line-height:1.2308em}
  .btn.m{height:28px;padding:0 16px;font-size:1em;line-height:1.2308em}
  .btn.l{height:36px;padding:0 16px;font-size:1em;line-height:1.2308em}
  html .chips button{height:28px;padding:0 16px;font-size:1em}   /* html 前缀：基础规则在文件后面（第 14 节），同权重会盖掉这里 */
  /* 右侧控件簇 = Maps：36 玻璃钮竖排 @右 8，从顶 8 起，间 6（pitch 42）；.bar 里的钮/分段/菜单钮全在这一列，MapLibre ± 接在下面（shell.js 放 top-right，--bar-h 是这列到哪） */
  .bar{top:8px;right:8px;left:auto;bottom:auto;width:auto;padding:0;flex-direction:column;align-items:flex-end;gap:6px}
  .btn-glass{height:36px;min-width:36px}
  html .bar:has(.seg) .btn-glass{height:36px;min-width:36px;padding:0 4px}   /* Mac 工具条一律 XL 36，不用 iPhone 的 48pt 变体 */
  .btn-glass.text{padding:0 16px;font-size:1em}
  html .bar .seg{height:36px;padding:4px;gap:0;border-radius:999px;flex:none;width:auto} html .bar .seg button{height:28px;min-width:32px;padding:0 8px;font-size:1em;border-radius:999px}
  html .maplibregl-ctrl-top-right{top:var(--bar-h,8px);right:8px} html .maplibregl-ctrl-top-right .maplibregl-ctrl{margin:0 0 6px 0}
  .map-ctl{right:8px}
  .map-ctl .btn-glass{height:36px;min-width:36px}
  /* 返回目录（.bar 里第一颗 chevron.left）= Kit Push buttons › Regular 24 无边框（tint 文字 Medium 13），放侧栏底 (16, 底 8) = Maps「Clear Recents」/「Terms & Conditions」位；标签 .lb 只在这里显示 */
  html .bar > a.btn-glass:first-child{position:fixed;left:16px;bottom:13px;top:auto;right:auto;z-index:16;height:14px;min-width:0;padding:0;border-radius:0;gap:2px;flex-direction:row-reverse;
     background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--ink-3);font-size:.8462em;line-height:1.2727em;font-weight:400}   /* 实机「Terms & Conditions ›」：灰 11，14 高 @(16, 底 13)，箭头在右 */
  html .bar > a.btn-glass:first-child .sf{width:9px;height:9px;-webkit-mask-image:url(sf/chevron.right.png);mask-image:url(sf/chevron.right.png)}
  html .bar > a.btn-glass:first-child .lb{display:inline}
  html .bar > a.btn-glass:first-child:hover{color:var(--ink-2)}
  /* 地点卡片 = Maps 浮在地图上的 320 卡：左距侧栏 8、上下 8，材质 Kit Popovers（r20、白 70% + #bfbfbf 10% + 模糊 30、阴影 0 18 46 25%）；内容 288 @16 */
  .sheet.panel-wide{width:200px}
  .sheet.split{overflow:visible}
  .sheet.split #card{position:absolute;left:208px;top:8px;bottom:8px;width:320px;display:flex;flex-direction:column;border-radius:20px;
    background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(40px) saturate(1.8);backdrop-filter:blur(40px) saturate(1.8);
    box-shadow:0 18px 46px rgba(0,0,0,.25),inset 0 0 0 .5px rgba(0,0,0,.08)}   /* 白 86% + 饱和：实机卡片 (246,254,233) 带底图色 */
  /* 卡片头 = Maps：28 圆钮 @(12,12)（Kit XL 工具条钮的内钮 28）；标题 Title 1 22 Bold 居中、距卡顶 48；副题 Subheadline 11 居中；正文距标题 20 */
  .sheet.split #card .head{height:auto;min-height:0;padding:12px 12px 0;gap:0;flex-wrap:wrap;align-items:flex-start;justify-content:space-between}
  .sheet.split #card .head .slot{display:flex;width:28px;height:28px;flex:none}
  .sheet.split #card .head .tt{flex:1 0 100%;order:3;padding:0;margin-top:8px;text-align:center}
  .sheet.split #card .head .tt .t-title2{font-size:1.6923em;line-height:1.1818em;font-weight:700;white-space:normal}
  .sheet.split #card .head .tt .t-sub{display:block;margin-top:2px;white-space:normal}
  .sheet.split #card .head .btn-glass.fill{width:28px;height:28px;border-radius:14px}
  .sheet.split #card .head .btn-glass.fill .sf{width:13px;height:13px}
  /* 关闭钮：网页本身开在浏览器窗口里，红绿灯（Kit Window Controls / Utility Panel Stoplights）属于窗口，浏览器已经有一套；
     窗口里的面板/弹出窗（大阪图层、学習/クイズ 详情与图例）= Kit Titlebars and Toolbars › Buttons › Medium 24（内符号 20）玻璃圆钮放 ×，
     地点卡片是 28（Maps）。用户 09-16：「一个标签页也无脑加三个红绿灯吗」，09-15 那版红绿灯作废 */
  .sheet .head .btn-glass.fill{width:24px;height:24px;min-width:0;padding:0;border-radius:12px;background:rgba(0,0,0,.06);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .sheet .head .btn-glass.fill .sf{width:12px;height:12px;display:block}
  .sheet .head .btn-glass.fill:hover{background:rgba(0,0,0,.1)} .sheet .head .btn-glass.fill:active{background:rgba(0,0,0,.16)}
  .sheet.split #card .body{padding:20px 0 16px}   /* Maps：标题块到主钮 20 */
  .sheet.split #card .gap{height:0}
  /* 动作 = Maps 卡片的按钮列：链接（可达性图）= 主钮 288×45 tint（图标在上 + Bold 13）；开关/跳转 = 次钮 288×36 胶囊 Bordered（图标左 + tint 文字居中，Kit Push buttons XL）；
     .jump（滚到本卡某段）在通高的卡上没意义，不显示 */
  .sheet.split #card .actions{display:flex;flex-direction:column;gap:8px;margin:0 16px;padding:0;background:none;border-radius:0;max-width:none}
  .sheet.split #card .actions .btn{flex:none;width:288px;height:36px;padding:0 16px;border-radius:999px;gap:6px;background:rgba(0,0,0,.08);color:var(--tint);font-size:1em;line-height:1.2308em;font-weight:500;position:relative;white-space:nowrap;flex-direction:row}
  .sheet.split #card .actions .btn .sf{display:block;width:14px;height:14px}
  .sheet.split #card .actions .btn + .btn::before{content:none}
  .sheet.split #card .actions .btn.tint{background:rgba(0,0,0,.08);color:var(--tint)}
  .sheet.split #card .actions a.btn{height:45px;flex-direction:column;gap:2px;background:var(--tint);color:#fff;font-weight:700}
  .sheet.split #card .actions a.btn .sf{width:16px;height:16px}
  .sheet.split #card .actions .btn:hover{background:rgba(0,0,0,.12)} .sheet.split #card .actions a.btn:hover{background:var(--tint);filter:brightness(1.08)}
  .sheet.split #card .actions .btn:active{background:rgba(0,0,0,.16)}
  .sheet.split #card .actions .btn.jump,.sheet.split #card .actions button.btn{display:none}   /* 跳转和钉住进底部工具条 */
  .sheet.split #card .actions:not(:has(a.btn)){display:none}
  /* 卡片底部工具条 = Maps 地点卡「Added / Favorite / More」：288×36 @底 8，三颗 28 圆钮居中间 8（Kit XL 工具条钮的内钮 28）；正文底部留 60 */
  .sheet.split #card .cardbar{display:flex;position:absolute;left:50%;bottom:8px;transform:translateX(-50%);height:36px;padding:4px;gap:8px;align-items:center;border-radius:999px;z-index:2;
    background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(6px) saturate(2);backdrop-filter:blur(6px) saturate(2);box-shadow:0 8px 15px rgba(0,0,0,.02),inset 0 0 0 .5px rgba(219,219,219,.95)}
  .sheet.split #card .cardbar button{width:28px;height:28px;border-radius:14px;border:0;padding:0;background:none;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
  .sheet.split #card .cardbar button .sf{width:14px;height:14px}
  .sheet.split #card .cardbar button:hover{background:rgba(0,0,0,.06)} .sheet.split #card .cardbar button:active{background:rgba(0,0,0,.16)}
  .sheet.split #card .cardbar button[aria-pressed="true"]{color:var(--tint)}
  .sheet.split #card:has(.cardbar) .body{padding-bottom:60px}
  .sheet.split #card .actions.small .btn{font-size:1em;padding:0 16px}
  .sheet.split #card .stats{margin-top:12px !important}
  .sheet.split #list{display:flex;flex-direction:column;min-height:0;height:100%}
  .sheet.split #card .stats{padding:0 16px;gap:8px}               /* 288 − 8 = 280 → 每列 140；数字 Title 1 22 */
  .sheet .stat{border-radius:12px;padding:10px 12px;background:rgba(0,0,0,.03)}
  .sheet .stat .t{line-height:1.2308em}
  .sheet .stat .s{font-size:.8462em;line-height:1.2727em}
  .sheet .stat .n{font-size:1.6923em;line-height:1.1818em}
  .sheet .mcard{margin:0 10px;border-radius:12px;background:rgba(0,0,0,.03)}   /* 侧栏里和行底对齐（10）；卡片里 16 = Maps 内容 288 */
  /* 地点卡里的分组（实机 2026-09-16）：键值组「Details」没有盒，行 48、发丝线通宽、标签和值都在内容边上；列表组（岗位/来源，Pinned 面板的 Home/Work 那种）是白盒 */
  .sheet.split #card .mcard{background:none;border-radius:0}
  .sheet.split #card .mcard .r{padding-left:0;padding-right:0}
  .sheet.split #card .mcard .r + .r::before,.sheet.split #card .mcard .src + .r::before{left:0;right:0;background:rgba(0,0,0,.08)}
  .sheet.split #card .mcard .txt,.sheet.split #card .mcard .empty,.sheet.split #card .mcard .src,.sheet.split #card .mcard .sub{padding-left:0;padding-right:0}
  .sheet.split #card .mcard:has(.job),.sheet.split #card .mlist{background:rgba(255,255,255,.55);border-radius:12px;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.08)}
  .sheet.split #card .mcard:has(.job) .r{padding-left:12px;padding-right:12px}
  .sheet.split #card .mfoot{padding-left:0;padding-right:0}   /* 段脚和无框行同一左边 */
  .sheet.split #card .mcard,.sheet.split #card .mfoot,.sheet.split #card .mlist{margin-left:16px;margin-right:16px}
  .sheet.split #card .mh{padding-left:16px;padding-right:16px}
  .sheet .mcard + .mcard{margin-top:8px}
  .sheet .mcard .hdr{padding:8px 12px 2px;line-height:1.2308em}
  /* KIT-MAP：分组卡片里的行 = macOS 27 Kit › Forms › Row：文字行 40（文字 16 高 @12）、带 24 控件 48、两行 56；分隔 1px 黑 5% 内缩 10 */
  .sheet .mcard .r{min-height:40px;padding:12px 10px;gap:8px}
  .sheet .mcard .r:has(.sw,.seg,.pop,.btn,.disc,input[type=range]),.sheet .mcard .r.disc{min-height:48px}
  .sheet .mcard .r:has(.hint),.sheet .mcard .r:has(.hint):has(.sw,.seg,.pop,.btn,input[type=range]){min-height:56px;padding:12px 10px}   /* 两行行 56 压过带控件的 48（:has 特异度） */
  .sheet .mcard .r:has(.seg):not(#card *),.sheet .mcard .r:has(.seg):has(.hint):not(#card *){flex-wrap:wrap;min-height:56px;padding:6px 10px;row-gap:4px}   /* 6 + 16 + 4 + 24 + 6 = 56 */   /* 200 侧栏放不下「标签 + 分段」一行：分段落到第二行，行高仍是 Forms 两行的 56；卡片（320）里不换行 */
  .sheet .mcard .r:has(.seg):not(#card *) .seg{flex:1 0 100%;display:flex} .sheet .mcard .r:has(.seg):not(#card *) .seg button{flex:1 1 0}
  .sheet .mcard .r + .r::before,.sheet .mcard .src + .r::before{left:10px;right:10px;background:rgba(0,0,0,.05)}
  .sheet .mfoot{margin:0 10px;padding:6px 10px;min-height:0;font-size:.8462em;line-height:1.2727em}   /* 和 .sheet .mcard 的 10 对齐 */   /* Subheadline 11 secondary */
  .sheet .mh.prominent{height:auto;font-size:1em;line-height:1.2308em;font-weight:700;padding:14px 14px 6px}   /* Sidebars › Headers › Large：Bold 13 */
  /* 卡片里的段头 = Maps「Details」：Title 3 15/20 Semibold（AX 19 高 = 20 − 1，同「Marked Location」25 = Title 1 26 − 1），左对齐内容 288，上距 20 */
  .sheet.split #card .mh{height:auto;padding:20px 16px 6px;font-size:1.1538em;line-height:1.3333em;font-weight:600;color:var(--ink);box-sizing:content-box}
  .sheet.split #card .body > .mh:first-child,.sheet.split #card .body > :first-child > .mh:first-child{padding-top:0}
  .sheet.split #card .actions + .mh,.sheet.split #card section:first-child + section > .mh:first-child{padding-top:20px}
  .sheet .mh .act{font-size:.8462em}
  .sheet .r.disc::after{width:20px;height:20px;border-radius:5px;background:rgba(0,0,0,.08);-webkit-mask:none;mask:none;position:relative}   /* Disclosure Buttons › Small 20 r5 */
  .sheet .mcard .r + .r.disc{border-top:1px solid rgba(0,0,0,.05)}   /* 可展开行的分隔线改 border，::before 留给箭头 */
  .sheet .mcard .r + .r.disc::before,.sheet .mcard .r.disc::before,.sheet .r.disc::before{content:"";position:absolute;right:15px;left:auto;top:auto;height:10px;width:10px;background:var(--ink);   /* 压过分隔线的 ::before（同特异度，写在后面） */-webkit-mask:url(sf/chevron.down.png) center/contain no-repeat;mask:url(sf/chevron.down.png) center/contain no-repeat}
  details[open] > .sheet .r.disc::before,.sheet details[open] > .r.disc::before,.sheet .r.disc[aria-expanded="true"]::before{-webkit-mask-image:url(sf/chevron.up.png);mask-image:url(sf/chevron.up.png)}
  .sheet .r .pop{height:24px;padding:0 8px 0 10px;border-radius:6px;background:rgba(0,0,0,.08);color:var(--ink);font-weight:500;white-space:nowrap;flex:none}   /* Pop-up Buttons › Regular 24 r6，单行 */
  .sheet .r .pop::after{width:10px;height:10px;background:var(--ink)}
  html .chips button{background:rgba(0,0,0,.08);color:var(--ink);font-weight:500}   /* Push buttons › Bordered 黑 8% */
  html .chips button[aria-pressed="true"]{background:var(--tint);color:#fff}
  html .actions .btn{height:24px}   /* .sheet.split #card .actions 的分段规则在上面，这里兜住不在卡片里的动作行 */
  .sheet .mcard .r .k .hint,.sheet .mcard .src,.sheet .mcard .txt{font-size:.8462em;line-height:1.2727em}
  .sheet .mcard .src{padding:0 12px 8px}
  .sheet .mcard .txt,.sheet .mcard .empty{padding:8px 12px}
  /* 卡片里的列表行（岗位 / 来源）= Kit 侧栏行 Large 40：标题 13、副题 11、元数据 11；展开区内缩 12 */
  .sheet .job .jr{height:40px;min-height:40px;padding:5px 12px;gap:8px} .sheet .job + .job::before{left:12px;right:12px}   /* Kit Sidebars › Large 40：两行（13/16 + 11/14），超出省略 */
  .sheet .job .name{font-weight:500;line-height:1.2308em} .sheet .job .hint,.sheet .job .meta{font-size:.8462em;line-height:1.2727em;margin-top:0}
  .sheet .job .val b{font-weight:500}
  .sheet .job .det{padding:0 12px 10px;font-size:.8462em;line-height:1.2727em} .sheet .job .det .q{padding:8px 10px;border-radius:8px}
  .sheet .mcard .sub{padding:10px 12px 2px;font-size:.8462em;line-height:1.2727em}
  /* ---- 以下按 KIT-INVENTORY.md 逐项（A1 A2 A3 A10 A14 A15 A19 A24 A25 A26 C1 F2–F4）---- */
  /* A26 浮层材质 = Kit Materials › Regular：#ececec 63% + 模糊 60 + 饱和 1.45（侧栏/面板另用 Kit 侧栏材质，见上） */
  html .glass{background:rgba(236,236,236,.63);-webkit-backdrop-filter:blur(60px) saturate(1.45);backdrop-filter:blur(60px) saturate(1.45);box-shadow:0 0 1px rgba(0,0,0,.25),0 8px 24px rgba(0,0,0,.12)}
  /* A1 工具条玻璃 = Kit Titlebars and Toolbars › XL › Buttons 的玻璃：黑 25% + 白 25% + #444 60%（plus lighter）+ #f8f8f8 20%（luminosity）合成 ≈ 白 50%；背景模糊 6、饱和 2；
     边 = 0.5 扩散 #dbdbdb（plus darker）；投影 0 8 15 黑 2%。混合模式和折射 CSS 做不了，这里是按合成结果的近似 */
  html .bar .glass,html .bar .btn-glass,html .map-ctl .btn-glass,html .maplibregl-ctrl-group,html .maplibregl-ctrl-attrib{background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(6px) saturate(2);backdrop-filter:blur(6px) saturate(2);
     box-shadow:0 8px 15px rgba(0,0,0,.02),inset 0 0 0 .5px rgba(219,219,219,.95)}
  /* A2 工具条分段：段间 Kit 分隔 3×22（36 轨道里居中） */
  html .bar .seg button{position:relative}
  html .bar .seg button + button::before{content:"";position:absolute;left:-1.5px;top:3px;width:3px;height:22px;border-radius:1.5px;background:rgba(0,0,0,.08)}
  html .bar .seg button[aria-pressed="true"]{background:rgba(0,0,0,.08);box-shadow:none;font-weight:500}
  /* A3 菜单 = Kit Menus › Light › Regular：容器 r12、内边 5/12，行 24、Medium 13、文字起点 31（勾 4 宽 @0 + 图标槽），悬停底 r8；行间无分隔线；材质同 Popover（白 70% + 模糊 30，阴影 0 18 46 25%） */
  html .menu{width:auto;min-width:184px;padding:5px 12px;border-radius:12px;background:rgba(255,255,255,.7);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:0 18px 46px rgba(0,0,0,.25),inset 0 0 0 .5px rgba(0,0,0,.1)}
  html .menu button{height:24px;padding:0 12px 0 31px;border-radius:8px;font-size:1em;line-height:1.2308em;font-weight:500;margin:0 -6px;width:calc(100% + 12px)}
  html .menu button + button::before{content:none}
  html .menu button .sf{left:6px;width:14px;height:14px;top:5px}
  html .menu button:hover,html .menu button:active,html .menu button:focus-visible{background:var(--tint);color:#fff}
  html .menu button:hover .sf{color:#fff}
  /* A10 建议卡 = Kit Group Box r12 黑 3%，图标 24（Kit 侧栏 Large 图标），字 Body 13 / Subheadline 11 */
  .sheet .sugg{margin:0 14px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.03);grid-template-columns:24px 1fr 16px;column-gap:8px}
  .sheet .sugg .ico{width:24px;height:24px} .sheet .sugg .ico .sf{width:.9em;height:.9em}
  .sheet .sugg .t{line-height:1.2308em} .sheet .sugg .s{font-size:.8462em;line-height:1.2727em;margin-top:0} .sheet .sugg .a{margin-top:6px}
  .sheet .sugg .x{width:16px;height:16px}
  /* A14/A15 展开指示 = Kit Disclosure Buttons › Small：20×20 r5、黑 8%（按下 16%）、chevron Bold 10；行右端一颗，展开后翻成向上；「看 N 家店」的 summary 也用它 */
  .sheet .job .jr[aria-expanded]::after,.sheet .sublist summary::after{content:"";flex:none;width:20px;height:20px;border-radius:5px;background:rgba(0,0,0,.08);
     -webkit-mask:none;mask:none;position:relative;transform:none;transition:none}
  .sheet .job .jr[aria-expanded]::after{margin-left:4px}
  .sheet .job .jr[aria-expanded]::before,.sheet .sublist summary::before{content:"";position:absolute;right:12px;width:10px;height:10px;background:currentColor;
     -webkit-mask:url(sf/chevron.down.png) center/contain no-repeat;mask:url(sf/chevron.down.png) center/contain no-repeat;pointer-events:none;color:var(--ink)}
  .sheet .job .jr{position:relative} .sheet .job .jr[aria-expanded]::before{right:17px;top:15px}
  .sheet .job .jr[aria-expanded="true"]::before{-webkit-mask-image:url(sf/chevron.up.png);mask-image:url(sf/chevron.up.png)}
  .sheet .job .jr:active::after{background:rgba(0,0,0,.16)}
  .sheet .sublist summary{position:relative;justify-content:space-between;padding-right:0;color:var(--ink);font-weight:500}
  .sheet .sublist summary::before{right:5px;top:5px;-webkit-mask-image:url(sf/chevron.right.png);mask-image:url(sf/chevron.right.png)}
  .sheet .sublist[open] summary::before{-webkit-mask-image:url(sf/chevron.down.png);mask-image:url(sf/chevron.down.png)}
  .tiers-how .job .jr[aria-expanded]::before{right:5px}
  /* A19 滑块 = Kit Sliders › Regular：控件 24 高、轨道 6 胶囊（未填黑 10%，已填 #0088ff）、圆钮 20×16 白胶囊 阴影 0 .5 6 12%，两端内缩 10 */
  html .row.slider input[type=range],html .r.slider input[type=range]{height:24px}
  html .row.slider input[type=range]::-webkit-slider-runnable-track,html .r.slider input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--tint) 0,var(--tint) var(--p,50%),rgba(0,0,0,.1) var(--p,50%),rgba(0,0,0,.1) 100%)}
  html .row.slider input[type=range]::-webkit-slider-thumb,html .r.slider input[type=range]::-webkit-slider-thumb{width:20px;height:16px;border-radius:999px;margin-top:-5px;box-shadow:0 .5px 6px rgba(0,0,0,.12),inset 0 0 0 .5px rgba(0,0,0,.06)}
  html .row.slider input[type=range]::-moz-range-track,html .r.slider input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:rgba(0,0,0,.1)}
  html .row.slider input[type=range]::-moz-range-progress,html .r.slider input[type=range]::-moz-range-progress{height:6px;border-radius:3px}
  html .row.slider input[type=range]::-moz-range-thumb,html .r.slider input[type=range]::-moz-range-thumb{width:20px;height:16px;border-radius:999px;box-shadow:0 .5px 6px rgba(0,0,0,.12)}
  html .row.slider input[type=range]:active::-webkit-slider-thumb,html .r.slider input[type=range]:active::-webkit-slider-thumb{width:25px;height:20px;margin-top:-7px}   /* Kit Clicked 圆钮 25×20 */
  /* A24 地图 ± = Kit Titlebars and Toolbars › XL › Button Group：36 胶囊，内两颗 28 距 4，分隔 22×3；距右/底 8 */
  html .maplibregl-ctrl-bottom-right{right:8px;bottom:8px} html .maplibregl-ctrl-bottom-right .maplibregl-ctrl{margin:0 0 8px 0}
  html .maplibregl-ctrl-group{width:36px;border-radius:999px;padding:4px;overflow:visible}
  html .maplibregl-ctrl-group button{width:28px;height:28px;border-radius:999px;background-color:transparent;position:relative}
  html .maplibregl-ctrl-group button + button{border-top:0;margin-top:4px}
  html .maplibregl-ctrl-group button + button::before{content:"";position:absolute;left:3px;top:-3.5px;width:22px;height:3px;border-radius:1.5px;background:rgba(0,0,0,.08)}
  html .maplibregl-ctrl-group button:hover{background-color:rgba(0,0,0,.06)} html .maplibregl-ctrl-group button:active{background-color:rgba(0,0,0,.16)}
  html .maplibregl-ctrl-group:not(:empty){box-shadow:0 8px 15px rgba(0,0,0,.02),inset 0 0 0 .5px rgba(219,219,219,.95)}
  /* A25 署名 ⓘ = Kit Medium 工具条钮 24×24 胶囊玻璃；展开后的文字 Footnote 10 */
  html .maplibregl-ctrl-attrib.maplibregl-compact{min-height:24px;border-radius:12px;margin:0} html .maplibregl-ctrl-attrib-button{width:24px;height:24px}
  html .maplibregl-ctrl-attrib{font-size:.7692em;line-height:1.3em}
  /* C1 第二张 Sheet（大阪「图层」）= Kit Popovers：从工具条钮下弹出，r20、白 70% + #bfbfbf 10% + 模糊 30、阴影 0 18 46 25%、箭头 46×10；头同面板头（24，红灯关闭） */
  html .sheet.opt{left:auto;right:58px;top:13px;bottom:auto;width:320px;max-height:calc(100dvh - 60px);border-radius:20px;background:rgba(255,255,255,.7);
     -webkit-backdrop-filter:blur(40px) saturate(1.8);backdrop-filter:blur(40px) saturate(1.8);box-shadow:0 18px 46px rgba(0,0,0,.25),inset 0 0 0 .5px rgba(0,0,0,.08)}   /* 宽 320、右缘 1222（离右列 14）、顶 13 = 实机 Map Modes 弹窗（styl-work/native-mapmodes.png 1280×744 @2x，2026-09-16） */
  /* 图层弹窗 = 地图 App「Map Modes」（隔壁实机截图 2026-09-16）：标题 17 Bold 居中；模式 = 65 方块 tile r14、间 10、选中 3px tint 环、标签 13；开关 = 白盒 r13 里 44 高的行，左侧 16 复选框 + 13 标签，发丝线内缩 32；底部灰 13 出处 */
  html .sheet.opt .head{height:auto;min-height:0;padding:14px 12px 0} html .sheet.opt .head .slot{width:24px;height:24px} html .sheet.opt .head .tt{padding:0;text-align:center}   /* html 前缀：第 14 节的 iOS 规则在后面；标题居中 = 实机 Map Modes */
  html .sheet.opt .head .tt .t-head{font-size:1.3077em;line-height:1.2941em;font-weight:700;padding-top:0}
  .sheet.opt .modes{display:flex;gap:10px;justify-content:center;padding:14px 16px 4px}
  .sheet.opt .mode{width:65px;border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;color:var(--ink);font:inherit}
  .sheet.opt .mode .thumb{width:65px;height:65px;border-radius:14px;background:#e8e6df center/cover no-repeat;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.12)}
  .sheet.opt .mode[aria-checked="true"] .thumb{box-shadow:0 0 0 3px var(--tint),inset 0 0 0 .5px rgba(0,0,0,.12)}
  .sheet.opt .mode span{font-size:1em;line-height:1.2308em}
  .sheet.opt .modeopts{margin:12px 16px 0;background:rgba(255,255,255,.9);border-radius:13px;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.06)}
  .sheet.opt .modeopts .r{min-height:44px;padding:10px 16px;gap:8px}
  .sheet.opt .modeopts .r:has(.sw){flex-direction:row-reverse;justify-content:flex-end}
  .sheet.opt .modeopts .r + .r::before,.sheet.opt .modeopts div + .r::before{left:40px;right:0;background:rgba(0,0,0,.08)}
  html .sheet.opt .sw{width:16px;height:16px} html .sheet.opt .sw i{border-radius:5.5px;background:rgba(0,0,0,.1)} html .sheet.opt .sw i::after{display:none}
  html .sheet.opt .sw input:checked + i{background:#0088ff}
  html .sheet.opt .sw input:checked + i::after{display:block;content:"";position:absolute;inset:0;background:#fff;-webkit-mask:url(sf/checkmark.png) center/9px no-repeat;mask:url(sf/checkmark.png) center/9px no-repeat;transform:none;width:auto;height:auto;border-radius:0;box-shadow:none;top:0;left:0}
  html .sheet.opt .sw input:active + i{background:rgba(0,0,0,.19)}
  .sheet.opt .mfoot{margin:10px 16px 14px;padding:0;text-align:center;font-size:1em;line-height:1.2308em;color:var(--ink-3)}
  .sheet.opt .mfoot.note{text-align:left;font-size:.8462em;line-height:1.2727em;margin-top:8px}
  .sheet.opt::before{content:"";position:absolute;top:-10px;right:3px;width:46px;height:10px;   /* 箭头中心对准右列 36 钮的中心（右 8 + 18 = 26；46/2 = 23 → right 3） */background:rgba(255,255,255,.7);clip-path:polygon(0 100%,50% 0,100% 100%)}
  /* 表格（四档/分区/工时；Kit 无表格 → HIG Tables）：字号 Body 13，单元格内边 4 */
  html .sheet table{font-size:1em;line-height:1.2308em} html .sheet table th,html .sheet table td{padding:4px 6px 4px 0}   /* html 前缀：页内 table.tiers{.7647em} 同权重在后面 */
  html .hpop .maplibregl-popup-content{font-size:1em;line-height:1.2308em}   /* 大阪车站弹出窗（Kit Popover）里的表：Body 13，不随手机的 .7647em */
  /* 缩略图块：Kit 没有这种控件；面板 280 − 内缩 14×2 − 间 8×2 = 236 → 三块各 78（推算，不是 Kit 数字），标签 Subheadline 11 */
  html .sheet .tiles{padding:0 14px;gap:8px} html .sheet .tiles button{width:78px} html .sheet .tiles .img{width:78px;height:78px;border-radius:12px}
  html .sheet .tiles .img i{border-radius:10px} html .sheet .tiles .lb{margin-top:6px;font-size:.8462em;line-height:1.2727em}
}
@media (min-width: 900px) and (pointer: fine) and (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .sheet{background:rgba(12,12,12,.85);-webkit-backdrop-filter:blur(80px) saturate(200%);backdrop-filter:blur(80px) saturate(200%)}
  :root:not([data-theme="light"]) .sheet.split #card{background:rgba(40,40,40,.7);background-image:none}
  :root:not([data-theme="light"]) .sheet .stat,:root:not([data-theme="light"]) .sheet .mcard{background:rgba(255,255,255,.03)}
  :root:not([data-theme="light"]) .sheet .mrow:hover{background:rgba(255,255,255,.06)}
  :root:not([data-theme="light"]) .sheet .mrow:active,:root:not([data-theme="light"]) .sheet .mrow[aria-current="true"]{background:rgba(255,255,255,.12)}
  :root:not([data-theme="light"]) .sheet .seg,:root:not([data-theme="light"]) .sheet.split #card .actions .btn:not(a){background:rgba(255,255,255,.1)}
  :root:not([data-theme="light"]) .sheet.split #card .actions{background:none}
}
@media (min-width: 900px) and (pointer: fine){
  :root[data-theme="dark"] .sheet{background:rgba(12,12,12,.85);-webkit-backdrop-filter:blur(80px) saturate(200%);backdrop-filter:blur(80px) saturate(200%)}
  :root[data-theme="dark"] .sheet.split #card{background:rgba(40,40,40,.7);background-image:none}
  :root[data-theme="dark"] .sheet .stat,:root[data-theme="dark"] .sheet .mcard{background:rgba(255,255,255,.03)}
  :root[data-theme="dark"] .sheet .mrow:hover{background:rgba(255,255,255,.06)}
  :root[data-theme="dark"] .sheet .mrow:active,:root[data-theme="dark"] .sheet .mrow[aria-current="true"]{background:rgba(255,255,255,.12)}
  :root[data-theme="dark"] .sheet .seg,:root[data-theme="dark"] .sheet.split #card .actions .btn:not(a){background:rgba(255,255,255,.1)}
  :root[data-theme="dark"] .sheet.split #card .actions{background:none}
}
/* ---------- 11c. 首页 Mac = Kit 侧栏行 + Group Box（KIT-INVENTORY F2–F4）：行 Large 40、图标 24 @14、标题 Regular 13 + 副题 11、无分隔线无箭头；分组 = Group Box r12 黑 3%；段头 18 / Bold 11 ---------- */
@media (min-width: 900px) and (pointer: fine){
  .group{margin:0 14px;border-radius:12px;background:rgba(0,0,0,.03);padding:4px}
  .group + .group{margin-top:14px}
  .sect h2,.sect .h{padding:16px 28px 2px;font-size:.8462em;line-height:1.2727em;font-weight:700;color:var(--ink-2)}
  .sect:first-child h2,.sect:first-child .h{padding-top:2px}
  .sect .foot{padding:6px 28px 14px;font-size:.8462em;line-height:1.2727em}
  .row,.row:has(.hint),.row.icon{min-height:40px;padding:5px 10px;gap:4px;border-radius:8px}
  .row + .row::before,.row.icon + .row.icon::before{content:none}
  .row:hover{background:rgba(0,0,0,.05)} .row:active{background:rgba(0,0,0,.11)}
  .row .ico{width:24px;height:24px;border-radius:6px}
  .row .lab .name{line-height:1.2308em} .row .lab .hint{font-size:.8462em;line-height:1.2727em}
  .row .chev{display:none}
}
@media (min-width: 900px) and (pointer: fine) and (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .group{background:rgba(255,255,255,.03)} :root:not([data-theme="light"]) .row:hover{background:rgba(255,255,255,.06)} }
@media (min-width: 900px) and (pointer: fine){ :root[data-theme="dark"] .group{background:rgba(255,255,255,.03)} :root[data-theme="dark"] .row:hover{background:rgba(255,255,255,.06)} }
/* ---------- 12. 动效（HIG Motion）：短、准，只给主要交互；系统开了减弱动态就全关 ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{transition:none !important;animation:none !important}
}

/* ---------- 13. 开关（UI Kit › Toggles 5433:19059；设置 App 实测 63×28，圆钮 38×24 白色药丸，开 #34c759，关 rgba(60,60,67,.3)）----------
   用法：<label class="row"><span class="lab">…</span><span class="sw"><input type="checkbox"><i></i></span></label>
   动效照 hig-kit（maa 手机页，模拟器 120fps 逐帧 + Kit Toggle State=Pressed 从 Figma 网页版读）：
   按住 = Liquid Glass 镜片：圆钮 38×24 → 58×38（scale 1.526,1.583），压出轨道上下各 5；镜片 = 白 62%→12% 渐变 + 0.5 内描边 #ccc + 底部暗边内阴影 + 顶部高光 + 背景模糊；
   拖动跟手（--kx）；松开：先落到对侧（~0.1s，保持拉长）再回缩成药丸（~0.2s），轨道颜色 0.2s 交叉淡入；全程只动 transform，不动 width。
   HIG.switches()（hig.js）负责指针事件；浏览器松手后自带的 click 会再翻一次，所以捕获阶段吞掉。 */
.sw{position:relative;display:inline-block;width:63px;height:28px;flex:none;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.sw input{position:absolute;inset:0;opacity:0;margin:0;width:100%;height:100%;cursor:pointer}
.sw i{position:absolute;inset:0;border-radius:999px;background:rgba(60,60,67,.3);pointer-events:none;transition:background-color .2s cubic-bezier(.4,0,.6,1)}
.sw i::after{content:"";position:absolute;top:2px;left:2px;width:38px;height:24px;border-radius:999px;background:#fff;
             box-shadow:0 3px 8px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.16);transform-origin:center;will-change:transform;
             transition:background .12s,box-shadow .12s}
.sw input:checked + i{background:var(--green)}
.sw input:checked + i::after{transform:translateX(21px)}
.sw.hold i::after,.sw input:active + i::after{
  transform:scale(1.526,1.583);transition:transform .12s cubic-bezier(.2,.8,.2,1),background .12s,box-shadow .12s;
  background:linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.28) 45%, rgba(255,255,255,.12) 100%);
  box-shadow:inset 0 0 0 .5px rgba(204,204,204,.95),inset 0 -1.5px 3px rgba(40,40,40,.28),inset 0 1px 1px rgba(255,255,255,.9),0 4px 10px rgba(0,0,0,.18);
  -webkit-backdrop-filter:blur(1.5px) saturate(1.5);backdrop-filter:blur(1.5px) saturate(1.5)}
.sw input:active:checked + i::after{transform:translateX(21px) scale(1.526,1.583)}
.sw.hold i::after{transform:translateX(var(--kx,0px)) scale(1.526,1.583) !important;animation:none !important;transition:background .12s,box-shadow .12s}
.sw:not(.live) i::after{transition:transform .2s cubic-bezier(.2,.8,.2,1),background .12s,box-shadow .12s}
.sw.live input:checked + i::after{animation:knob-on .34s cubic-bezier(.2,.8,.2,1) both}
.sw.live input:not(:checked) + i::after{animation:knob-off .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes knob-on{0%{transform:translateX(0) scale(1.526,1.583)}30%{transform:translateX(15px) scale(1.55,1.35)}100%{transform:translateX(21px) scale(1)}}
@keyframes knob-off{0%{transform:translateX(21px) scale(1.526,1.583)}30%{transform:translateX(6px) scale(1.55,1.35)}100%{transform:translateX(0) scale(1)}}
/* 桌面（Kit Regular 54×24）：位移 20、按下 scale 1.5625,1.55；曲线同上（动效只有手机实测，桌面未量） */
@keyframes knob-on-mac{0%{transform:translateX(0) scale(1.5625,1.55)}30%{transform:translateX(14px) scale(1.55,1.35)}100%{transform:translateX(20px) scale(1)}}
@keyframes knob-off-mac{0%{transform:translateX(20px) scale(1.5625,1.55)}30%{transform:translateX(6px) scale(1.55,1.35)}100%{transform:translateX(0) scale(1)}}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .sw i{background:rgba(120,120,128,.32)} }
:root[data-theme="dark"] .sw i{background:rgba(120,120,128,.32)}
/* 可选（默认不开，见 hig.js nativeSwitch() 的注释）：Safari 的 <input switch> 外形像系统开关但动效只是颜色淡入 */
html.native-switch .sw{width:auto;height:auto;display:inline-flex;align-items:center}
html.native-switch .sw i{display:none}
html.native-switch .sw input{position:static;opacity:1;width:auto;height:auto;margin:0;accent-color:var(--green)}
/* ---------- 14. 滑块（UI Kit › Sliders 7:53847）：轨道 4 高圆角，填充色 tint，圆钮 28 白色带阴影；整行左右内缩 20 ---------- */
.row.slider{padding:8px 20px 10px}
.row.slider input[type=range],.r.slider input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:28px;margin:0;background:none;cursor:pointer}
.row.slider input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--tint) 0,var(--tint) var(--p,50%),var(--fill) var(--p,50%),var(--fill) 100%)}
.r.slider input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--tint) 0,var(--tint) var(--p,50%),var(--fill) var(--p,50%),var(--fill) 100%)}
.row.slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:#fff;margin-top:-12px;box-shadow:0 3px 8px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.08)}
.r.slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:#fff;margin-top:-12px;box-shadow:0 3px 8px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.08)}
.row.slider input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:var(--fill)}
.r.slider input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:var(--fill)}
.row.slider input[type=range]::-moz-range-progress{height:4px;border-radius:2px;background:var(--tint)}
.r.slider input[type=range]::-moz-range-progress{height:4px;border-radius:2px;background:var(--tint)}
.row.slider input[type=range]::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15)}
.r.slider input[type=range]::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15)}
/* 行里的分段控件占满右侧 */
.row .seg{flex:1 1 auto;max-width:60%}

/* ---------- 14. 地图 App 的 Sheet 内容组件（iOS 27 地图 App 实测，2026-09-15；见 DESIGN-HIG.md「地图 App 组件」）----------
   段头 .mh：17 半粗 label 色，上 28 下 10，距 Sheet 边 20，可带 › ；
   卡片 .mcard：半透明填充圆角 20，距 Sheet 边 20，左右内边 16；头行 .hdr = 24 图标 + 17 半粗；行 .r = 47（17/22 + 12.5×2）值右对齐；分隔线 1；
   列表 .mlist/.mrow（搜索结果、最近）：白卡片圆角 26 距边 20 卡片间 13；行 69 = 13.5 + 17/22 + 15/20 + 13.5；圆图标 34 距卡片边 16；文字 61；分隔线 1 内缩 61/16；
   筛选胶囊 .chips：32 高，间 8，选中 tint 白字，未选中 fill + 1 描边；
   缩略图块 .tiles（地图模式）：87 图 + 2 选中描边 = 91，圆角 12，间 10，标签 13 距块 10；
   建议卡 .sugg（首页「附近的公共交通」）：白 55% 圆角 16，圆图标 36，标题 17 半粗，副标题 15，右上 ×，下方 17 tint 链接；
   快捷圆钮 .quick（首页 家/工作/添加）：70 圆 + 13 标签。 */
/* KIT-MAP：分组列表 = iOS 27 Kit › Lists（Grouped Table View r26 白底；Header Nested 42 / Prominent 45；Rows Default 52 / Large 68；Footer 30；配件 Detail / Disclosure / Pop-up） */
.mh{margin:0;padding:30px var(--inset) 10px;font-size:1em;line-height:1.2941em;font-weight:600;color:var(--ink-2);display:flex;align-items:center;   /* Nested 42 = 10 + 22 + 10，组间 20 */gap:4px}   /* Kit Lists › Header › Nested：Semibold 17 secondaryLabel，下 10；上 28 = 组间距（设置 App 实测，Kit 头组件不含） */
.mh .sf{width:.7em;height:.7em;color:var(--ink-3)}
.mh:first-child{padding-top:10px}
.mh.prominent{font-size:1.1765em;line-height:1.25em;color:var(--ink);padding:20px var(--inset) 10px}   /* Header › Prominent 45：Semibold 20 + trailing Action Regular 15 tint */
.mh .act{margin-left:auto;font-size:.75em;line-height:1.3333em;font-weight:400;color:var(--tint);background:none;border:0;padding:0;font-family:inherit;cursor:pointer;text-decoration:none}
.mfoot{margin:0 var(--inset);padding:8px 16px;min-height:30px;box-sizing:border-box;font-size:.7647em;line-height:1.3846em;color:var(--ink-2);word-break:break-word}   /* Lists › Footer 30：Regular 13 @(16,8) secondaryLabel */
.mfoot a{color:var(--tint);text-decoration:none}
.mcard{margin:0 var(--inset);border-radius:26px;background:var(--bg-elev);overflow:hidden}   /* Grouped Table View：白底 r26（Kit corner smoothing .6 不可复现） */
.mcard + .mcard{margin-top:12px}
.mcard .hdr{display:flex;align-items:center;gap:10px;padding:12px 16px 4px;font-weight:600;line-height:1.2941em}
.mcard .hdr .ico{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--tint);flex:none}
.mcard .hdr .ico .sf{width:.85em;height:.85em}
.mcard .r{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:15px 16px;color:inherit;text-decoration:none;background:none;border:0;width:100%;font:inherit;text-align:left}
.mcard .r + .r::before,.mcard .src + .r::before{content:"";position:absolute;left:16px;right:16px;top:0;height:1px;background:var(--line)}
.mcard .r .k{flex:1 1 auto;min-width:0}
.mcard .r .k .hint{font-size:.8824em;line-height:1.2em;color:var(--ink-2);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* Large 68：Subtitle Regular 15/18 @36，一行，放不下省略（多行就不是 Kit 行了） */
.mcard .r .k{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* 标题一行省略；.hint 自己是块，各自省略 */
.mcard .r > .sf{flex:none;width:.75em;height:.75em;color:var(--ink-3)}   /* trailing Symbol 配件（􀰑 等）独立一格，不跟在文字后面 */
.mcard .r:has(.hint){min-height:68px;padding:14px 16px}
.mcard .r:has(.sw){padding-top:12px;padding-bottom:12px}   /* Accessories - Trailing › Toggle：28 高在 52 行里上下 12 */
.mcard .r:has(.seg){padding-top:10px;padding-bottom:10px}   /* Small 分段 32 在 52 行里上下 10 */
.mcard .r:has(.hint):has(.sw,.seg){min-height:68px}
.mcard .r .v{color:var(--ink-2)}   /* trailing Detail = secondaryLabel */
.mcard .r .v b,.mcard .r .v.ink{color:var(--ink)}
/* 可展开行：Accessories - Trailing › Disclosure Collapsed 􀆊 / Expanded 􀆈（Semibold 17，8 宽，距边 16） */
.r.disc{cursor:pointer;list-style:none} .r.disc::-webkit-details-marker{display:none}
.r.disc::after{content:"";flex:none;width:.7em;height:.7em;background:var(--ink-3);-webkit-mask:url(sf/chevron.down.png) center/contain no-repeat;mask:url(sf/chevron.down.png) center/contain no-repeat}
details[open] > .r.disc::after,.r.disc[aria-expanded="true"]::after{-webkit-mask-image:url(sf/chevron.up.png);mask-image:url(sf/chevron.up.png)}
/* 行里的选择 = Accessories - Trailing › Pop-up Button：当前值 Regular 17 secondary + 􀆏 */
.r .pop{display:inline-flex;align-items:center;gap:4px;color:var(--ink-2);background:none;border:0;padding:0;font:inherit;cursor:pointer}
.r .pop::after{content:"";width:.75em;height:.75em;background:var(--ink-3);-webkit-mask:url(sf/chevron.up.chevron.down.png) center/contain no-repeat;mask:url(sf/chevron.up.chevron.down.png) center/contain no-repeat}
.mcard .hdr + .r::before{content:none}
.mcard .r .v{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.mcard .r .v.none{color:var(--ink-3)}
.mcard .r.slider{padding:8px 16px 10px}
.mcard .r .seg{flex:1 1 auto;max-width:60%}
.mcard .src{padding:0 16px 10px;margin-top:-6px;color:var(--ink-2);font-size:.7647em;line-height:1.3846em;word-break:break-word}
.mcard .src a{color:var(--tint);text-decoration:none}
.mcard .empty{padding:12.5px 16px;color:var(--ink-2)}
.mcard .txt{padding:12px 16px;color:var(--ink-2);font-size:.8824em;line-height:1.3333em}
.mlist{margin:0 var(--inset);background:var(--bg-elev);border-radius:var(--r-card);overflow:hidden}
.mlist + .mlist{margin-top:13px}
.mrow{position:relative;display:flex;align-items:center;gap:11px;min-height:68px;padding:14px 16px;color:inherit;text-decoration:none;background:none;border:0;width:100%;font:inherit;text-align:left;cursor:pointer}
.mrow + .mrow::before{content:"";position:absolute;left:61px;right:16px;top:0;height:1px;background:var(--line)}
.mrow:not(:has(.ico)) + .mrow:not(:has(.ico))::before{left:16px}   /* 没有前置图标的行（来源列表）：分隔线内缩 16（Kit Rows 无 accessory） */
.mrow .ico{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;background:var(--fill);color:#fff;font-size:1.0588em;line-height:1}
.mrow .ico .sf{width:1em;height:1em}
.mrow .lab{flex:1 1 auto;min-width:0}
.mrow .name{font-weight:600;line-height:1.2941em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrow .hint{font-size:.8824em;line-height:1.2em;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}   /* Kit Rows › Large 68：Title 17/22 @14 + Subtitle 15/18 @36 + 14 */
.mrow .chev{color:var(--ink-3);width:.75em;height:.75em}
.mrow:active{background:var(--fill)}
.chips{display:flex;gap:8px;padding:0 var(--inset);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:none;height:28px;padding:0 10px;border:0;border-radius:999px;background:rgba(118,118,128,.12);color:var(--tint);font:inherit;font-size:.8824em;font-weight:500;box-shadow:inset 0 0 0 1px var(--line);cursor:pointer;white-space:nowrap}
.chips button[aria-pressed="true"]{background:var(--tint);color:#fff;box-shadow:none}
.tiles{display:flex;gap:10px;padding:0 var(--inset);overflow-x:auto;scrollbar-width:none}
.tiles::-webkit-scrollbar{display:none}
.tiles button{flex:0 0 auto;width:91px;border:0;background:none;padding:0;font:inherit;color:var(--ink);cursor:pointer;text-align:center}
.tiles .img{display:block;width:91px;height:91px;border-radius:14px;padding:2px}
.tiles .img i{display:block;width:100%;height:100%;border-radius:12px;background:var(--fill) center/cover no-repeat}
.tiles button[aria-pressed="true"] .img{box-shadow:inset 0 0 0 2px var(--tint)}
.tiles .lb{margin-top:10px;font-size:.7647em;line-height:1.3846em}
.tiles button[aria-pressed="true"] .lb{font-weight:600}
.sugg{margin:0 var(--inset);padding:14px 16px 14px;border-radius:16px;background:rgba(255,255,255,.55);display:grid;grid-template-columns:36px 1fr 20px;column-gap:12px;align-items:start}
.sugg .ico{width:36px;height:36px;border-radius:50%;background:var(--tint);color:#fff;display:flex;align-items:center;justify-content:center}
.sugg .ico .sf{width:1.1em;height:1.1em}
.sugg .t{font-weight:600;line-height:1.2941em}
.sugg .s{font-size:.8824em;line-height:1.3333em;color:var(--ink-2);margin-top:2px}
.sugg .a{grid-column:2;margin-top:12px;color:var(--tint);background:none;border:0;padding:0;font:inherit;text-align:left;cursor:pointer}
.sugg .x{border:0;background:none;padding:0;color:var(--ink-3);cursor:pointer;width:20px;height:20px;display:flex;align-items:center;justify-content:center}
.sugg .x .sf{width:.9em;height:.9em}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .sugg{background:rgba(255,255,255,.08)} }
:root[data-theme="dark"] .sugg{background:rgba(255,255,255,.08)}
.quick{display:flex;gap:16px;padding:0 var(--inset)}
.quick button{width:70px;border:0;background:none;padding:0;font:inherit;color:var(--ink);cursor:pointer;text-align:center}
.quick .c{width:70px;height:70px;border-radius:50%;background:rgba(255,255,255,.6);color:var(--tint);display:flex;align-items:center;justify-content:center}
.quick .c .sf{width:1.7em;height:1.7em}
.quick .lb{margin-top:8px;font-size:.7647em;line-height:1.3846em}
.quick .sub{font-size:.7647em;line-height:1.3846em;color:var(--tint)}
/* 地点卡片主按钮：50 高 tint，图标在上、13 标签在下（「规划」） */
.btn.l.stack{flex-direction:column;gap:2px;padding:6px 20px;line-height:1}
.btn.l.stack .sf{width:1em;height:1em}
.btn.l.stack span{font-size:.7647em;font-weight:600}
.mbtn{padding:0 var(--inset)}
.mbtn .btn{width:100%}

/* ---------- 15. 下拉菜单（UIMenu；hig-kit NUMBERS.md：248 宽、行 42、17 regular、上下 5、圆角 26、玻璃、选中行 ✓ 在前 22 符号位、标签距左 50）----------
   用法：<div class="menu" hidden role="menu"><button role="menuitemradio" aria-checked="true"><i class="sf" data-sf="checkmark"></i>当地</button>…</div>
   HIG.menu(anchorEl, menuEl, onPick) 负责开合与键盘。用它做「货币」那类选择，不用 <select>。 */
.menu{position:absolute;z-index:30;width:250px;padding:6px 0;border-radius:26px;overflow:hidden;   /* iOS 27 Kit › Menus › iPhone：250 宽、项 42、勾 Semibold 15 @10、字 Regular 17 @68 */
      background:var(--glass);-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);
      box-shadow:var(--glass-shadow),inset 0 0 0 .5px var(--glass-edge)}
.menu button{display:flex;align-items:center;width:100%;height:42px;padding:0 16px 0 68px;position:relative;border:0;background:none;color:var(--ink);
             font:inherit;font-size:1em;line-height:1.2941em;text-align:left;cursor:pointer}
.menu button + button::before{content:none}   /* Kit：项之间无线，只有分节 Separator */
.menu button .sf{position:absolute;left:10px;width:14px;height:14px;top:14px;display:none}
.menu button[aria-checked="true"] .sf{display:block}
.menu button:active,.menu button:focus-visible{background:var(--fill)}

/* ---------- 16. 统计卡 .stats/.stat（健身 › 摘要 iOS 27 实测 2026-09-15 11:47：两列各 195、距边 20、间 10、圆角 20、内边 16；
   标题 17 半粗 + 右上 17 的 › 圆钮；副标题 15 灰；大数字 28 粗；脚注 13）。放在地图 Sheet 里时底用半透明填充（同 .mcard）。 ---------- */
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 var(--inset)}
.stat{background:var(--fill-3);border-radius:20px;padding:16px;min-width:0}
.stat.wide{grid-column:1/-1}
.stat .t{display:flex;align-items:center;justify-content:space-between;font-size:1em;line-height:1.2941em;font-weight:600}
.stat .t .sf{width:1em;height:1em;color:var(--ink-3)}
.stat .s{font-size:.8824em;line-height:1.3333em;color:var(--ink-2);margin-top:2px}
.stat .n{font-size:1.6471em;line-height:1.2143em;font-weight:700;margin-top:2px;font-variant-numeric:tabular-nums;overflow:visible;white-space:normal}   /* 数字不许省略号：单位放不下就折到下一行（用户 09-15） */
.stat .n small{font-size:.5357em;font-weight:600;color:var(--ink-2);margin-left:.15em;white-space:nowrap}
.stat .f{font-size:.7647em;line-height:1.3846em;color:var(--ink-2);margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stat .f a{color:var(--tint);text-decoration:none}
.stat input[type=range]{margin-top:8px}
/* 置信度小胶囊（未量：13 半粗、24 高、tint 12% 底——待有实测再改） */
.tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:.7647em;font-weight:600;background:rgba(0,136,255,.12);color:var(--tint);vertical-align:middle}
.tag.green{background:rgba(52,199,89,.14);color:#248a3d} .tag.orange{background:rgba(255,149,0,.14);color:#c93400} .tag.gray{background:var(--fill);color:var(--ink-2)}

/* ---------- 17. 地点卡片动作行 .actions = iOS 27 Kit › Buttons › Medium 34（Bordered：#767680 12% 底 + tint 字 Regular 17；首枚 Bordered Prominent：tint 底白字；符号 + 文字，内边 12），
   一排、间 8、距 Sheet 边 16。（历史：地图 App 实测的 50 高图标在上那种，Kit 里没有，KIT-MAP 改成 Kit 按钮。） ---------- */
.gap{height:16px}   /* 卡片头下的第一段间距（cost groups()） */
.cardbar{display:none}   /* Mac 地点卡底部工具条（11b）；iOS 用 .actions 胶囊 */
/* 模式 tile（大阪「地图模式」弹窗，照地图 App「Map Modes」：iOS 版也是一排带缩略图的方块 + 标签；Mac 尺寸在 11b） */
.modes{display:flex;gap:12px;justify-content:center;padding:6px var(--inset) 10px}
.mode{border:0;background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;color:var(--ink);font:inherit;font-size:.7647em;line-height:1.3846em}
.mode .thumb{width:84px;height:84px;border-radius:18px;background:#e8e6df center/cover no-repeat;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.12)}
.mode[aria-checked="true"] .thumb{box-shadow:0 0 0 3px var(--tint),inset 0 0 0 .5px rgba(0,0,0,.12)}
.actions{display:flex;gap:8px;padding:0 var(--inset);overflow-x:auto;scrollbar-width:none}
.actions::-webkit-scrollbar{display:none}
.actions .btn{flex:1 1 auto;min-width:0;height:34px;padding:8px 12px;border-radius:999px;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;
              background:rgba(118,118,128,.12);color:var(--tint);font-size:1em;font-weight:400;line-height:1.0588em;white-space:nowrap}
.actions .btn .sf{width:1em;height:1em}
.actions .btn.tint{background:var(--tint);color:#fff}
.actions .btn:disabled{color:var(--ink-3);opacity:.7}
/* 地图 App「地图模式」那类按需打开的小 Sheet：标题 17 半粗居中 + 关闭 44，内容按需高 */
/* 手机上第二张 Sheet 的高度由 sheet.js 定（元素高 H−62，靠 translate 露出中档）；之前这里 height:auto !important 把元素压成内容高，未变换时顶不在 62，中档就被推到屏幕底下只露个头（09-16 模拟器实测） */
.sheet.opt .head{padding:0 15px 10px}
.sheet.opt .head .tt .t-head{font-size:1em;font-weight:600;line-height:1.2941em;padding-top:12px}
/* A25 底图署名 ⓘ（手机）= Kit Toolbars › Buttons 44 玻璃圆钮；Mac 在 11b 里是 24 */
.maplibregl-ctrl-attrib.maplibregl-compact{box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:0;border-radius:22px;background:var(--glass);-webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);box-shadow:var(--glass-shadow),inset 0 0 0 .5px var(--glass-edge);margin:0 16px 16px 0}
.maplibregl-ctrl-attrib.maplibregl-compact-show{width:auto;height:auto;padding:12px 48px 12px 16px;border-radius:22px}   /* 展开：文字在左，44 钮在右 */
.maplibregl-ctrl-attrib-button{width:44px;height:44px;border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:24px 24px;background-color:transparent}
.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:22px}


/* ---------- 18. 勾选框 .cb（2026-09-16，唯一地图 Map Modes 白盒里的叠加项；PLAN-MAC-LOOK §0 #26）----------
   iPhone：Kit Lists › Rows › Editing 多选圆 22（未选 1.5 边 #bfbfbf；选中 tint 底 + 白 􀆅），iOS 没有方形勾选框；
   Mac（11b 媒体查询里）：Kit Toggles - Checkboxes › Regular 16 r5.5（未选黑 10%，选中 tint + 白勾），标签距 5（NUMBERS.md「Checkbox」行）。
   用法：<label class="r"><span class="cb"><input type="checkbox"><i></i></span><span class="k">…</span></label> */
.cb{position:relative;display:inline-flex;width:22px;height:22px;flex:none}
.cb input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}
.cb i{position:relative;display:block;width:22px;height:22px;border-radius:50%;box-sizing:border-box;border:1.5px solid #bfbfbf;background:none;pointer-events:none}
.cb input:checked + i{border-color:var(--tint);background:var(--tint)}
.cb input:checked + i::after{content:"";position:absolute;inset:0;background:#fff;-webkit-mask:url(sf/checkmark.png) center/12px 12px no-repeat;mask:url(sf/checkmark.png) center/12px 12px no-repeat}
@media (min-width: 900px) and (pointer: fine){
  .cb{width:16px;height:16px}
  .cb i{width:16px;height:16px;border-radius:5.5px;border:0;background:rgba(0,0,0,.10)}
  .cb input:active + i{background:rgba(0,0,0,.19)}
  .cb input:checked + i{background:var(--tint)}
  .cb input:checked + i::after{-webkit-mask-size:9.3px 8.9px;mask-size:9.3px 8.9px}
  .r .cb + .k{margin-left:5px}
  .sheet.opt .modeopts .r:has(.cb){flex-direction:row;justify-content:flex-start;gap:0;min-height:24px;padding:4px 16px}   /* Kit：16 框在 24 行里 @y4 */
  .sheet.opt .modeopts .r:has(.cb) + .r::before{left:16px}
}

/* ---------- 19. Mac 材质 = 系统材质配方（MATERIALS.md，2026-09-16 晚；替掉 A26/侧栏/卡片/弹窗/A1 那几条采样或 Kit 近似的 α）----------
   Maps 是 Catalyst 应用：侧栏 = UIKit 玻璃侧栏（§4 sidebar）、Map Modes 弹窗 = NSPopover 玻璃（§4 NSPopover frame）、右列钮 = UIGlassEffect
   （§4 clear：glassStyle 1；regular 在黑底出 52% 白，App 实测 #282828 更暗，两者中 clear 近；钮的 tintColor 未解）、搜索框 = 玻璃 + 搜索框参数
   （§4 search field）、地点卡 = MUBlurView systemMaterial → Mac NSVisualEffectMaterial popover(6)（§3；§6：EnableThickCardMaterial 开则是 menu(5)，
   该开关默认态未解）。玻璃的脸色矩阵 out = Black + (White−Black)·in 折成 CSS contrast(c) brightness(b)（§4「What of the glass can be written in CSS」表：
   b·c = 斜率，b(1−c)/2 = 截距）；白填 rgba(255,255,255,α) 一并折进同一仿射（out' = (1−α)·out + α）；MaxLuma 上限 / §3 的 darken 填充 = 该元素自身
   mix-blend-mode: darken 于过滤后的背景（子元素或伪元素的 blend 被父层叠上下文隔离，Chrome 实测出纯灰——所以侧栏和卡的材质各画在 body 级的
   固定层 .mat 上，面板本身透明）；Bleed / 折射 / 变色层 / BlurFill 不做（§4 表：rough / omit）。 */
.mat{display:none}
@media (min-width: 900px) and (pointer: fine){
  .mat{display:block;position:fixed;pointer-events:none;z-index:14}
  /* 侧栏：§4 sidebar light — BlurRadius 10；Face White 1.03 Black 0.4（0.4 + 0.63·in）Saturation 1.2；FillColor 白 20% → 合成 0.52 + 0.504·in =
     contrast(.326) brightness(1.544)；MaxLuma 0.85（填后 0.88 = #e0e0e0）→ darken；KeyFillHighlightHeight 0（无边光）；Shadow 0 */
  #matSidebar{left:0;top:0;bottom:0;width:200px;background:#e0e0e0;mix-blend-mode:darken;
     -webkit-backdrop-filter:blur(12.5px) contrast(.326) brightness(1.544) saturate(1.2);backdrop-filter:blur(12.5px) contrast(.326) brightness(1.544) saturate(1.2)}
  html .sheet.glass,html .sheet{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  /* 地点卡：§3 NSVisualEffectMaterial popover(6) light — gaussianBlur 30 → colorSaturate 2.0 → 填 rgba(246,246,246,.60)（合成 0.579 + 0.4·in =
     contrast(.257) brightness(1.558)）→ #f1f1f1 darken；变色层 5% 略。几何同 #card（208/8/8，320，r20） */
  #matCard{left:208px;top:8px;bottom:8px;width:320px;border-radius:20px;background:#f1f1f1;mix-blend-mode:darken;
     -webkit-backdrop-filter:blur(30px) saturate(2) contrast(.257) brightness(1.558);backdrop-filter:blur(30px) saturate(2) contrast(.257) brightness(1.558)}
  html .sheet.split #card{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  /* Map Modes 弹窗：§4 NSPopover frame light — BlurRadius 10；Face White 0.95 Black 0.2（→ contrast(.65) brightness(1.15)）Saturation 1；
     FillColor rgba(255,255,255,.1)；MaxLumaSDR 1（无上限，可直接画在元素上）；RingShadowOpacity 0.06 → 0 0 0 1px 黑 6%；外阴影仍是 Kit Popover 的
     0 18 46 25%（窗口阴影不在配方里）；箭头（::before）同材质 */
  html .sheet.opt{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(12.5px) contrast(.65) brightness(1.15);backdrop-filter:blur(12.5px) contrast(.65) brightness(1.15);box-shadow:0 18px 46px rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.06)}
  html .sheet.opt::before{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(12.5px) contrast(.65) brightness(1.15);backdrop-filter:blur(12.5px) contrast(.65) brightness(1.15)}
  /* 右列玻璃钮 / ± 组：§4 clear light — BlurRadius 10；Face White 0.95 Black 0.2 Sat 1（→ contrast(.65) brightness(1.15)）；FillColor rgba(255,255,255,.1)；
     KeyFillHighlight amount 0.4 自上 → inset 0 1px 白 40%；ShadowAmount 75 / Height 80 / rgba(0,0,0,.1) → 0 8px 24px 黑 10%；无 ring shadow */
  html .bar .glass,html .bar .btn-glass,html .map-ctl .btn-glass,html .maplibregl-ctrl-group,html .maplibregl-ctrl-attrib{background:rgba(255,255,255,.1);
     -webkit-backdrop-filter:blur(6px) contrast(.65) brightness(1.15);backdrop-filter:blur(6px) contrast(.65) brightness(1.15);
     box-shadow:0 8px 24px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.4)}
  html .maplibregl-ctrl-group:not(:empty){box-shadow:0 8px 24px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.4)}
  /* 搜索框：§4 search field light = regular 基线（BlurRadius 5；Face 0.4 + 0.56·in = contrast(.41) brightness(1.36) saturate(1.2)；FillColor 白 20%）
     + BlurOpacity 0.4 / Bleed 12.6 / InnerRefraction −18（CSS 做不了，略）；外边 1px 黑 5% 是 Kit XL Search Field 的 */
  .sheet #list .head .search{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(1.3px) contrast(.41) brightness(1.36) saturate(1.2);backdrop-filter:blur(1.3px) contrast(.41) brightness(1.36) saturate(1.2);box-shadow:0 0 0 1px rgba(0,0,0,.05)}
}
@media (min-width: 900px) and (pointer: fine) and (prefers-color-scheme: dark){
  /* §4 sidebar dark：BlurRadius 10；Face White 0.5 Black 0.1 Sat 0.6（→ contrast(.67) brightness(.6) saturate(.6)）；FillColor 0；MaxLumaSDR 1（无上限） */
  :root:not([data-theme="light"]) #matSidebar{background:transparent;mix-blend-mode:normal;-webkit-backdrop-filter:blur(12.5px) contrast(.67) brightness(.6) saturate(.6);backdrop-filter:blur(12.5px) contrast(.67) brightness(.6) saturate(.6)}
  :root:not([data-theme="light"]) .sheet{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  /* §3 popover(6) dark：saturate 2.0 → 填 rgba(40,40,40,.60)（合成 0.094 + 0.4·in = contrast(.68) brightness(.588)）→ #1c1c1c lighten */
  :root:not([data-theme="light"]) #matCard{background:#1c1c1c;mix-blend-mode:lighten;-webkit-backdrop-filter:blur(30px) saturate(2) contrast(.68) brightness(.588);backdrop-filter:blur(30px) saturate(2) contrast(.68) brightness(.588)}
  :root:not([data-theme="light"]) .sheet.split #card{background:transparent;background-image:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  /* §4 NSPopover frame dark：Face White 0.8 Black 0.05（→ contrast(.88) brightness(.85)）；FillColor rgba(255,255,255,.05) */
  :root:not([data-theme="light"]) .sheet.opt,:root:not([data-theme="light"]) .sheet.opt::before{content:"";background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(12.5px) contrast(.88) brightness(.85);backdrop-filter:blur(12.5px) contrast(.88) brightness(.85)}
  /* §4 clear dark：同上脸色；FillColor rgba(255,255,255,.05) */
  :root:not([data-theme="light"]) .bar .glass,:root:not([data-theme="light"]) .bar .btn-glass,:root:not([data-theme="light"]) .map-ctl .btn-glass,:root:not([data-theme="light"]) .maplibregl-ctrl-group{background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(6px) contrast(.88) brightness(.85);backdrop-filter:blur(6px) contrast(.88) brightness(.85)}
  /* §4 search field dark = regular dark（Face 0.08 + 1.045·in = contrast(.87) brightness(1.2) saturate(1.3)；FillColor 0）；MaxLuma 0.6 做不了（见上），略 */
  :root:not([data-theme="light"]) .sheet #list .head .search{background:transparent;-webkit-backdrop-filter:blur(1.3px) contrast(.87) brightness(1.2) saturate(1.3);backdrop-filter:blur(1.3px) contrast(.87) brightness(1.2) saturate(1.3)}
}
@media (min-width: 900px) and (pointer: fine){
  :root[data-theme="dark"] #matSidebar{background:transparent;mix-blend-mode:normal;-webkit-backdrop-filter:blur(12.5px) contrast(.67) brightness(.6) saturate(.6);backdrop-filter:blur(12.5px) contrast(.67) brightness(.6) saturate(.6)}
  :root[data-theme="dark"] .sheet{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
  :root[data-theme="dark"] #matCard{background:#1c1c1c;mix-blend-mode:lighten;-webkit-backdrop-filter:blur(30px) saturate(2) contrast(.68) brightness(.588);backdrop-filter:blur(30px) saturate(2) contrast(.68) brightness(.588)}
  :root[data-theme="dark"] .sheet.split #card{background:transparent;background-image:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  :root[data-theme="dark"] .sheet.opt,:root[data-theme="dark"] .sheet.opt::before{content:"";background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(12.5px) contrast(.88) brightness(.85);backdrop-filter:blur(12.5px) contrast(.88) brightness(.85)}
  :root[data-theme="dark"] .bar .glass,:root[data-theme="dark"] .bar .btn-glass,:root[data-theme="dark"] .map-ctl .btn-glass,:root[data-theme="dark"] .maplibregl-ctrl-group{background:rgba(255,255,255,.05);-webkit-backdrop-filter:blur(6px) contrast(.88) brightness(.85);backdrop-filter:blur(6px) contrast(.88) brightness(.85)}
  :root[data-theme="dark"] .sheet #list .head .search{background:transparent;-webkit-backdrop-filter:blur(1.3px) contrast(.87) brightness(1.2) saturate(1.3);backdrop-filter:blur(1.3px) contrast(.87) brightness(1.2) saturate(1.3)}
}

/* ---------- 20. iPhone 材质（MATERIALS.md，2026-09-16 晚）----------
   §1 证据表把 Sheet 记成 MUBlurView systemMaterial → CoreMaterial platformContentLight（§2：blur 30、sat 1.5、brightness +0.1、luminance
   重映射 0.75/[0.9,0.83,0.925,0.815]×luminanceColorMap.png，算法未解）。模拟器里 iOS 27 Maps 同状态核对（raw/renders/ios-maps-globe-sheet.png，
   3x）：Sheet 压黑太空 #858585 = 0.52，正是 §4 regular 玻璃在黑底的值（0.4 + 0.2·0.8 = 0.52）；压海 #98d8fb 与 regular 脸算出的 #80cff7 差 ≤ 24；
   而 §2 配方的 Kit 顶替填出 #bbbbbb（0.73）。所以 iOS 26 的 Sheet 按 §4「Baseline — regular glass」写（与 44 圆钮同集；搜索胶囊 §4 search field）。
   未解：Sheet 的实际模糊比 BlurRadius 5 强得多（玻璃的 backdrop 采样缩放未记，搜索框那行提到 0.5——半径可能按缩放后的像素算）；MaxLuma
   （regular dark 0.35 / search dark 0.6）需要 body 级材质层，手机端未做。写法同 §19：脸色矩阵 + 白填折成一个 contrast/brightness。 */
@media (max-width: 899.98px), (pointer: coarse){
  /* Sheet：§4 regular light — BlurRadius 5；Face 0.4 + 0.56·in（contrast(.41) brightness(1.36)）Sat 1.2；FillColor 白 20%；MaxLuma 1 */
  .sheet.glass,.sheet{background-color:rgba(255,255,255,.2);background-image:none;
     -webkit-backdrop-filter:blur(5px) contrast(.41) brightness(1.36) saturate(1.2);backdrop-filter:blur(5px) contrast(.41) brightness(1.36) saturate(1.2)}
  /* 44 圆钮组：§4 regular light — BlurRadius 5；Face 0.4 + 0.56·in（contrast(.41) brightness(1.36)）Sat 1.2；FillColor 白 20%；
     KeyFillHighlight 0.5 自上 → inset 0 1px 白 50%；ShadowOpacity 0 → 无投影 */
  .bar .btn-glass,.map-ctl .btn-glass,.bar .glass{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(5px) contrast(.41) brightness(1.36) saturate(1.2);backdrop-filter:blur(5px) contrast(.41) brightness(1.36) saturate(1.2);
     box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
  /* 搜索胶囊：§4 search field light = regular 脸 + blur 5 + 白填 20%（BlurOpacity 0.4 / Bleed 12.6 / 折射略） */
  .sheet .head .search{background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(1.3px) contrast(.41) brightness(1.36) saturate(1.2);backdrop-filter:blur(1.3px) contrast(.41) brightness(1.36) saturate(1.2)}
}
@media (max-width: 899.98px) and (prefers-color-scheme: dark), (pointer: coarse) and (prefers-color-scheme: dark){  /* 暗色：Sheet / 圆钮 / 搜索 = §4 regular dark（Face 0.08 + 1.045·in = contrast(.87) brightness(1.2) saturate(1.3)，FillColor 0；MaxLuma 0.35 / 0.6 未做） */
  :root:not([data-theme="light"]) .sheet.glass,:root:not([data-theme="light"]) .sheet{background-color:rgba(0,0,0,0);background-image:none;-webkit-backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3);backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3)}
  :root:not([data-theme="light"]) .bar .btn-glass,:root:not([data-theme="light"]) .map-ctl .btn-glass,:root:not([data-theme="light"]) .bar .glass,:root:not([data-theme="light"]) .sheet .head .search{background:rgba(0,0,0,0);-webkit-backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3);backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3)}
}
@media (max-width: 899.98px), (pointer: coarse){
  :root[data-theme="dark"] .sheet.glass,:root[data-theme="dark"] .sheet{background-color:rgba(0,0,0,0);background-image:none;-webkit-backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3);backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3)}
  :root[data-theme="dark"] .bar .btn-glass,:root[data-theme="dark"] .map-ctl .btn-glass,:root[data-theme="dark"] .bar .glass,:root[data-theme="dark"] .sheet .head .search{background:rgba(0,0,0,0);-webkit-backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3);backdrop-filter:blur(5px) contrast(.87) brightness(1.2) saturate(1.3)}
}
