/* ═══════════════════════════════════════════════════════════════════════
   fz5.css — 组件层(0908 Steven「网站是小程序的超集;文字精简后页面空荡,用结构和数据填」)。
   与小程序 app.wxss 同一套解剖:卡 / 眉题 / 大标题 / 弱文字 / 行 / 工具格 / 两种按钮 / 分段 / 空态 / 骨架 / 数字格;
   尺寸 = 小程序 rpx ÷ 2;颜色全部走 theme.css 令牌(小程序 theme.wxss 生成),深浅两档自动成立。
   规则:一屏一张实底卡(放最重要的一组数据),其余是行;一屏一个橙色主按钮;可改的行右侧铅笔,跳转的行 ›;
   桌面 ≥1024px 两栏(主栏 640 + 右栏 320,居中 1040)。样机:docs/design/2026-09-08-two-platform-preview.html。
   加载顺序:theme.css 之后、最后;回滚 = base.html 删一行 link。
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 页面容器 & 两栏 ── */
.fz5 { width: min(1040px, calc(100% - 24px)); margin: 0 auto; padding: 12px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.fz5 > * { margin: 0; }
@media (min-width: 1024px) {
  .fz5.fz5-two { display: grid; grid-template-columns: 640px 320px; gap: 24px; justify-content: center; align-items: start; }
  .fz5-main, .fz5-rail { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
}
@media (max-width: 1023px) {
  .fz5-main, .fz5-rail { display: contents; }
  .fz5-rail > .fz5-desk-only { display: none; }
}

/* ── 文字层级(小程序 pe / h1 / dim) ── */
.fz5 .pe, .fz5-pe { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--dim); margin: 0 0 5px; }
.fz5 .h1, .fz5-h1 { font-size: 18px; font-weight: 800; color: var(--snow); line-height: 1.3; margin: 0; }
.fz5 .dim, .fz5-dim { color: var(--dim); font-size: 12px; }
.fz5-gh { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--dim); margin: 4px 0 -4px; display: flex; align-items: baseline; justify-content: space-between; }
.fz5-gh a { font-size: 12px; letter-spacing: 0; color: var(--ice); text-decoration: none; font-weight: 600; }

/* ── 实底卡 ── */
.fz5-card { background: var(--card-glass); border: 1px solid var(--hair); border-radius: 10px; padding: 13px; box-shadow: var(--card-shadow); color: var(--text); }
.fz5-card .ttl { font-size: 17px; font-weight: 800; color: var(--snow); display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.fz5-card .ttl small { font-size: 12.5px; color: var(--dim); font-weight: 400; }
.fz5-tag { display: inline-block; padding: 0 5px; border: 1px solid var(--gold-line); color: var(--gold); border-radius: 5px; font-size: 12px; margin-right: 6px; vertical-align: 2px; font-weight: 700; }
.fz5-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.fz5-stats.c3 { grid-template-columns: repeat(3, 1fr); }
.fz5-stats.c2 { grid-template-columns: repeat(2, 1fr); }
.fz5-stats > div { background: var(--well-soft); border-radius: 8px; padding: 7px 8px; min-width: 0; }
.fz5-stats .k { font-size: 11px; color: var(--dim); }
.fz5-stats .v { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--snow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz5-stats .v.em { color: var(--snow); }
@media (max-width: 359px) { .fz5-stats { grid-template-columns: repeat(2, 1fr); } }   /* 海外版视觉优化 1008:320 宽四格挤成「40…」「Kae…」→ 两列两行 */   /* 海外版视觉优化 1008:数值不占橙色(一屏一处橙色留给主按钮 / 待办) */

/* ── 行(小程序 console-row / channel-row) ── */
.fz5-rows { background: var(--card-glass); border: 1px solid var(--hair); border-radius: 10px; padding: 0 13px; box-shadow: var(--card-shadow); }
.fz5-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--hair-soft); font-size: 14px; color: var(--text); text-decoration: none; min-height: 46px; }
.fz5-rows > .fz5-row:last-child, .fz5-rows > form:last-child > .fz5-row { border-bottom: 0; }
a.fz5-row:hover { background: none; color: var(--text); }
.fz5-row .fz-ico { width: 20px; height: 20px; color: var(--ice); flex: none; }
.fz5-row .t { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* 海外版视觉优化 1008:英文名词比中文长,行标题宁可折两行也不截成「Furnace …」;副行 small 仍单行省略 */
.fz5-row .t { white-space: normal; overflow-wrap: break-word; line-height: 1.35; }
@media (max-width: 359px) { .fz5-row .d { max-width: 50%; } .fz5-card > .fz5-row .d, .fz5-row .d.wrap { max-width: 56%; } }   /* 320 宽右侧数据让一点位,行标题不在词中间断开 */
.fz5-row .d { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.fz5-row .ch { color: var(--dim-lo); font-size: 18px; width: 12px; text-align: center; flex: none; line-height: 1; }
.fz5-row .pen { color: var(--dim); flex: none; }
.fz5-row .pen .fz-ico { width: 16px; height: 16px; color: var(--dim); }
.fz5-row .ok { color: var(--ok); font-weight: 800; flex: none; }
/* 「现在该干什么」一行(管理台表头下;一次只有一条,没有=整行不出现):琥珀底,链接/纯文字两态 */
.fz5-now { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 10px 13px; border-radius: 10px; border: 1px solid var(--ember-line); background: var(--ember-bg); color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.45; text-decoration: none; }
.fz5-now .go { color: var(--ember-text); margin-left: auto; font-size: 18px; line-height: 1; }
/* 纵向表单/控件堆(公告编辑等);[hidden] 必须赢过 display:flex */
.fz5-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fz5-stack[hidden], .fz5[hidden], .fz5 [hidden] { display: none !important; }
/* 旗徽(名片卡标题前):盟标图 / 徽章 emoji / 盟标字母,24px 方 */
.fz5-flag { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; margin-right: 7px; vertical-align: -6px; background: var(--well); border: 1px solid var(--hair); color: var(--ice); font-size: 10px; font-weight: 800; letter-spacing: .02em; object-fit: cover; overflow: hidden; white-space: nowrap; }
.fz5-row.is-now .t { color: var(--ember-text); }
.fz5-badge { background: var(--ember-bg); color: var(--ember-text); font-size: 11px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--ember-line); flex: none; }
.fz5-bar { height: 6px; border-radius: 3px; background: var(--well-soft); overflow: hidden; flex: none; width: 72px; }
.fz5-bar i { display: block; height: 100%; background: var(--ice); }   /* 海外版视觉优化 1008:进度条冰蓝(原橙渐变,一页里好几条) */

/* ── 工具格(小程序 联盟工具 三列) ── */
.fz5-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 1024px) { .fz5-main .fz5-grid3 { grid-template-columns: repeat(4, 1fr); } }
.fz5-tool { position: relative; background: var(--card-glass); border: 1px solid var(--hair); border-radius: 10px; padding: 11px 8px 9px; text-align: center; box-shadow: var(--card-shadow); text-decoration: none; color: var(--text); display: block; }
.fz5-tool .fz-ico { width: 22px; height: 22px; color: var(--ice); margin: 0 auto 6px; display: block; }
.fz5-tool b { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); }
.fz5-tool small { display: block; font-size: 11px; color: var(--dim); font-variant-numeric: tabular-nums; min-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz5-tool .fz5-badge { position: absolute; top: 6px; right: 6px; font-size: 10px; padding: 0 6px; }
/* 海外版上线前优化·付费流程 价值感 2:管理功能被收费闸停着时,收费入口右上角的锁(只视觉,开卡后不渲染) */
.fz5-tool .fz-ico.fz5-lock { position: absolute; top: 7px; right: 7px; width: 13px; height: 13px; margin: 0; color: var(--dim); }
.fz5-tool:hover { border-color: var(--line-hi); color: var(--text); }
.fz5-tool .fz-pin-badge { left: 6px; right: auto; }   /* 置顶标(0910 工具格置顶):左上,不压右上「限免」 */
.fz-channels.is-editing .fz5-tool { outline: 2px dashed var(--line-hi); outline-offset: -2px; cursor: pointer; }

/* ── 按钮(小程序 btn / btn-ghost) ── */
.fz5-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; height: 40px; line-height: 40px; border-radius: 7px; border: 0; background: linear-gradient(180deg, var(--grad-a), var(--ember-deep)); color: var(--on-ember); font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; font-family: inherit; padding: 0 14px; transition: transform .12s; }
.fz5-btn:hover { color: var(--on-ember); filter: brightness(1.05); }
.fz5-btn:active { transform: scale(.98); }
.fz5-btn.ghost { background: var(--well-soft); color: var(--text-2); border: 1px solid var(--line-hi); font-weight: 700; }
.fz5-btn.ghost:hover { color: var(--text); background: var(--ice-bg); }
.fz5-btn.sm { display: inline-block; width: auto; height: 28px; line-height: 28px; font-size: 12px; padding: 0 12px; border-radius: 6px; }
.fz5-btn.danger { background: none; border: 1px solid var(--danger-line); color: var(--danger); font-weight: 700; }
.fz5-actions { display: flex; gap: 8px; }
.fz5-actions > * { flex: 1; }
.fz5-link { color: var(--ice); text-decoration: none; font-size: 13px; font-weight: 600; }

/* ── 分段 / 胶囊(作战室 chips、外观三档) ── */
.fz5-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fz5-chips::-webkit-scrollbar { display: none; }
.fz5-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; background: var(--ice-bg); border: 1px solid var(--line-hi); color: var(--ice); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fz5-chip.on { background: var(--ice); color: var(--bg); border-color: var(--ice); }
.fz5-chip:hover { color: var(--ice); }
.fz5-chip.on:hover { color: var(--bg); }
.fz5-seg { display: flex; background: var(--well-soft); border: 1px solid var(--hair); border-radius: 8px; padding: 3px; gap: 2px; }
.fz5-seg > * { flex: 1; text-align: center; font-size: 12.5px; padding: 6px 0; border-radius: 6px; color: var(--dim); text-decoration: none; border: 0; background: none; font-family: inherit; cursor: pointer; }
.fz5-seg > .on, .fz5-seg > .is-on { background: var(--card-hi); color: var(--snow); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line-hi); }

/* ── 今日军令卡(网页与出图卡与小程序同结构) ── */
.fz5-order .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fz5-order .hd b { font-size: 16px; color: var(--snow); }
.fz5-order .hd span { font-size: 12px; color: var(--dim); white-space: nowrap; }
.fz5-seal { display: inline-block; border: 2px solid var(--ember); color: var(--ember-text); border-radius: 6px; padding: 0 7px; font-weight: 800; font-size: 12px; transform: rotate(-4deg); margin-right: 8px; }
.fz5-order .cmd { margin: 10px 0 0; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.5; white-space: pre-wrap; }
.fz5-order .lab { margin: 10px 0 4px; font-size: 11px; letter-spacing: 2px; color: var(--dim); font-weight: 700; }
.fz5-order ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 14px; counter-reset: fzo; font-size: 13.5px; }
.fz5-order ol li { break-inside: avoid; counter-increment: fzo; display: flex; gap: 7px; padding: 4px 0; border-bottom: 1px solid var(--hair-soft); color: var(--text); }
.fz5-order ol li::before { content: counter(fzo); width: 14px; flex: none; color: var(--dim); font-variant-numeric: tabular-nums; font-size: 12px; }
@media (min-width: 1024px) { .fz5-main .fz5-order ol { columns: 3; } }
.fz5-order .ft { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--dim); }
/* 0924 窄屏(320/360):右侧链接 / 开战时间不折行;左侧「执政官 X · 明日 Y」按段折行(.ft-seg 整段换行,一段都放不下才段内折) */
.fz5-order .ft > :first-child { min-width: 0; }
.fz5-order .ft > :last-child { flex: none; white-space: nowrap; }
.fz5-order .ft-seg { display: inline-block; }
/* 0924 终审:备战阶段行 320 宽时右侧「周二 · 执政官 科技加速」把标题挤成「阶段二 · 建…」→ 360 以下右侧整句挪到标题下一行(五行同一排法) */
@media (max-width: 359px) {
  .fz5-row.pr-ph { flex-wrap: wrap; row-gap: 2px; }
  .fz5-row.pr-ph .d { order: 3; flex-basis: 100%; max-width: none; text-align: left; }
}
.fz5-order .ft b { color: var(--text-2); font-weight: 700; }

/* ── 留言板 ── */
.fz5-mood { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.fz5-mood input { flex: 1; min-width: 0; height: 34px; border-radius: 7px; background: var(--well); border: 1px solid var(--hair); padding: 0 10px; font: inherit; font-size: 13px; color: var(--text); }
.fz5-msg { display: flex; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--hair-soft); font-size: 13px; color: var(--text); }
.fz5-msg .av { width: 24px; height: 24px; border-radius: 50%; background: var(--card-hi); display: grid; place-items: center; font-size: 11px; color: var(--ice); font-weight: 800; flex: none; }
.fz5-msg .n { color: var(--dim); font-size: 12px; margin-right: 4px; white-space: nowrap; }
.fz5-msg .lk { margin-left: auto; font-size: 12px; color: var(--dim); white-space: nowrap; }
.fz5-msg .lk button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }

/* ── 空态 / 骨架 ── */
.fz5-empty { text-align: center; color: var(--dim); font-size: 13px; padding: 14px 0; }
.fz5-empty a { color: var(--ice); text-decoration: none; font-weight: 600; }
.fz5-skel { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; }
.fz5-skel i { display: block; height: 12px; border-radius: 6px; background: var(--hair-soft); }
.fz5-skel i:nth-child(2) { width: 60%; }
.fz5-skel i:nth-child(3) { width: 40%; }
@media (prefers-reduced-motion: no-preference) { .fz5-skel i { animation: fz5-pulse 1.4s ease-in-out infinite; } }
@keyframes fz5-pulse { 50% { opacity: .45; } }

/* ── 表单件(与行同宽) ── */
.fz5-input, .fz5 textarea.fz5-input { width: 100%; box-sizing: border-box; background: var(--well); border: 1px solid var(--hair); border-radius: 7px; padding: 9px 11px; font: inherit; font-size: 14px; color: var(--text); }
.fz5-input::placeholder { color: var(--dim-lo); }
.fz5-lbl { font-size: 12px; color: var(--dim); margin: 8px 0 4px; }

/* ── kingdom/world(0908 王国页 / 世界页迁 fz5;只补这两页缺的件:卡内行、名次、键值行、可点的数字格、入口卡) ── */
/* 王国页「待核实的小盟」折叠(0924 视觉复查:原来行内 style 收到这里) */
.kh-stubs > summary.kh-stubs-hd { cursor: pointer; list-style: none; margin: 0; }   /* 两级:压过 .pe 的下边距 */
.kh-stubs-hd::-webkit-details-marker { display: none; }
.kh-stubs-note { margin: 6px 0 2px; }
.fz5-card > .fz5-row.kh-stub-member { padding-left: 18px; }   /* 5.4.1 复查:单 class 被 .fz5-card > .fz5-row{padding:9px 0}(0,2,0)盖掉,成员行缩进丢了 */
.kh-stub-member .t { font-weight: 500; }
.kh-stub-merge { display: flex; gap: 6px; align-items: center; margin: 0; flex: none; }
.kh-stub-merge select.fz5-input { width: auto; padding: 4px 6px; font-size: 12px; }
.fz5-card > .fz5-row { padding: 9px 0; min-height: 0; }
.fz5-card > .fz5-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fz5-card > .fz5-row .d { white-space: normal; text-align: right; max-width: 68%; }
.fz5-row.is-now .d { color: var(--ember-text); font-weight: 700; }
.fz5-row .no { flex: none; width: 22px; text-align: center; font-size: 13px; font-weight: 800; color: var(--dim-lo); font-variant-numeric: tabular-nums; }
.fz5-row .no.g1 { color: var(--gold); }
.fz5-row .no.g2, .fz5-row .no.g3 { color: var(--dim); }
.fz5-row .t small { display: block; font-size: 12px; font-weight: 500; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.fz5-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hair-soft); font-size: 12px; color: var(--dim); }
.fz5-kv b { font-size: 22px; font-weight: 800; color: var(--snow); font-variant-numeric: tabular-nums; }
.fz5-kv small { font-size: 12px; color: var(--dim); margin-left: 6px; font-weight: 400; font-variant-numeric: tabular-nums; }
.fz5-stats > a { background: var(--well-soft); border-radius: 8px; padding: 7px 8px; min-width: 0; display: block; text-decoration: none; color: inherit; }
.fz5-stats > a:hover { background: var(--ice-bg); color: inherit; }
.fz5-stats .v.ok { color: var(--ok); }
.fz5-entry { display: flex; align-items: center; gap: 12px; text-decoration: none; }
a.fz5-entry:hover { border-color: var(--line-hi); color: var(--text); }
.fz5-entry .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--well); border: 1px solid var(--hair); color: var(--ice); }
.fz5-entry .ico .fz-ico { width: 22px; height: 22px; }
.fz5-entry.is-hot .ico { color: var(--ember-text); background: var(--ember-bg); border-color: var(--ember-line); }
.fz5-entry .m { flex: 1; min-width: 0; }
.fz5-entry .m b { display: block; font-size: 16px; font-weight: 800; color: var(--snow); }
.fz5-entry .m .dim { display: block; margin-top: 2px; font-variant-numeric: tabular-nums; }
.fz5-entry .ch { color: var(--dim-lo); font-size: 20px; flex: none; }
.fz5.fz5-narrow { width: min(640px, calc(100% - 24px)); }

/* ── me.html ── */
/* 行内折叠(details):summary 就是一行(右侧铅笔),点开表单/明细贴在行下;组里最后一条不带底线 */
.fz5-fold > summary { list-style: none; cursor: pointer; }
.fz5-fold > summary::-webkit-details-marker { display: none; }
.fz5-fold[open] > summary.fz5-row { border-bottom-color: transparent; }
.fz5-fold > .fz5-stack { margin: 0; padding: 2px 0 13px; border-bottom: 1px solid var(--hair-soft); }
.fz5-rows > .fz5-fold:last-child > summary.fz5-row, .fz5-rows > .fz5-fold:last-child > .fz5-stack { border-bottom: 0; }
.fz5-rows form { margin: 0; }
/* 数据槽允许换行(领主档案摘要:盾/矛/射 · 火炉 · 统帅 · 击败 一个都不剪) */
.fz5-row .d.wrap { white-space: normal; text-align: right; max-width: 66%; line-height: 1.4; }
/* 一行开关(对外展示) */
.fz5-switch { flex: none; width: 44px; height: 24px; border-radius: 999px; padding: 0; cursor: pointer; position: relative; background: var(--well); border: 1px solid var(--hair); }
.fz5-switch .knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--dim); transition: left .15s; }
.fz5-switch.is-on { background: linear-gradient(180deg, var(--grad-a), var(--ember-deep)); border-color: transparent; }
.fz5-switch.is-on .knob { left: 22px; background: var(--on-ember); }
/* 兵种属性表(领主档案行展开) */
.fz5-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13px; }
.fz5-table th { padding: 6px 4px; font-size: 11px; font-weight: 700; color: var(--dim); text-align: center; border-bottom: 1px solid var(--hair); }
.fz5-table td { padding: 7px 4px; color: var(--text); text-align: center; border-bottom: 1px solid var(--hair-soft); }
.fz5-table tr:last-child td { border-bottom: 0; }
.fz5-table th:first-child, .fz5-table td:first-child { text-align: left; font-weight: 700; }
.fz5-table td.is-spec { color: var(--ember-text); }
/* OCR 排队条(原 me.html 页内样式搬过来;app.js 靠 data-ocr-banner/data-ocr-msg 轮询、.is-error 切换,类名不动) */
.ocr-queue-banner { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 13px; border-radius: 10px; font-size: 13px; background: var(--card-glass); color: var(--text); border: 1px solid var(--hair); box-shadow: var(--card-shadow); }
.ocr-queue-banner.is-error { border-color: var(--ember-line); color: var(--ember-text); }
.ocr-queue-spinner { width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto; border: 2px solid var(--hair); border-top-color: var(--ember); animation: fz5-ocrspin .8s linear infinite; }
.ocr-queue-banner.is-error .ocr-queue-spinner { display: none; }
@keyframes fz5-ocrspin { to { transform: rotate(360deg); } }

/* ── 主 session 收口(0908):全局 label{flex-direction:column} 会把 label.fz5-row 竖排;is-now 行的 .d 只在今日活动卡里变橙 ── */
label.fz5-row { flex-direction: row; align-items: center; gap: 10px; }
label.fz5-row > span { font-size: inherit; font-weight: inherit; }
.fz5-row.is-now .d { color: var(--dim); font-weight: 500; }
.kh-pulse .fz5-row.is-now .d { color: var(--ember-text); font-weight: 700; }

/* ── members ── */
/* 成员榜(templates/alliance/members.html,0908 迁 fz5):手机=页头 + 控件 + 盟主卡 + 分阶行组;桌面 ≥1024 = 全宽 1200 表;二选一显示。
   .fz5-wide 容器变体给所有表格页;.mb-table 只动本页的表(me.html 的 .fz5-table 兵种小表不受影响)。 */
@media (min-width: 1024px) { .fz5.fz5-wide { width: min(1200px, calc(100% - 48px)); } }
/* 页头:‹ 标题 · N 人 | 右侧一个动作 */
.mb-head { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.mb-head .back { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; margin-left: -6px; border-radius: 8px; color: var(--ice); text-decoration: none; }
.mb-head .back .fz-ico { width: 22px; height: 22px; }
.mb-head h1 { flex: 1; min-width: 0; margin: 0; font-size: 18px; font-weight: 800; color: var(--snow); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-head h1 .n { font-size: 13px; font-weight: 500; color: var(--dim); font-variant-numeric: tabular-nums; }
.mb-head .fz5-btn.sm { flex: none; }
.mb-head { flex-wrap: wrap; }
.mb-head h1 { flex: 1 0 auto; }   /* 海外版视觉优化 1008:320 宽标题被按钮挤成「Membe…」→ 标题不缩,放不下时按钮换到下一行 */
/* 一行弱信息(在线 / 认领台账 / 一起看):span 之间自动加「·」 */
.mb-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--dim); }
.mb-line b { color: var(--snow); font-weight: 700; font-variant-numeric: tabular-nums; }
/* 海外版视觉优化 1008:「·」挂在前一段末尾(原在下一段开头,折行后新行以「·」起头) */
.mb-line > span:has(+ span)::after { content: "·"; margin-left: 8px; color: var(--dim-lo); }
.claim-summary .claim-chip { margin: 0 4px 0 0; }
.mb-line .fz5-chip { flex: none; }
/* 小 chip(阶 / 待确认类别)与认领三态(只在管理视角) */
.mb-chip { display: inline-block; padding: 0 6px; margin-left: 5px; border-radius: 5px; border: 1px solid var(--line-hi); color: var(--ice); font-size: 11px; font-weight: 700; line-height: 17px; vertical-align: 1px; white-space: nowrap; }
.mb-chip.mb-earth { color: var(--fz-gold); border-color: var(--fz-gold); }   /* 5.4.0 地球(3阶地球 / 金球) */
.claim-chip { display: inline-block; padding: 0 7px; margin-left: 5px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 17px; vertical-align: 1px; white-space: nowrap; }
.claim-chip.is-self { color: var(--ok); background: var(--ok-bg); border: 1px solid var(--ok-line); }
.claim-chip.is-apply { color: var(--ice); background: var(--apply-bg); border: 1px solid var(--apply-line); }
.claim-chip.is-none { color: var(--dim); border: 1px dashed var(--muted-line); }
/* 分阶行组:眉题是按钮(可折叠),› 随开合转向 */
.mb-group { display: flex; flex-direction: column; gap: 11px; }
.mb-gh { width: 100%; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
.mb-gh .tg { display: inline-block; font-size: 16px; letter-spacing: 0; color: var(--dim-lo); transition: transform .15s; }
.mb-group.is-open .mb-gh .tg { transform: rotate(90deg); }
/* 成员行:字母徽 / 名 + chips + 在线灯 / 数据行(span 之间自动加「·」,.ln 盾矛射另起一行)/ 右侧战力 + 动作 */
.mb-av { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--well); border: 1px solid var(--hair); color: var(--ice); font-size: 12.5px; font-weight: 800; }
.is-placeholder .mb-av { border-style: dashed; color: var(--dim-lo); }
.mb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mb-row .t { flex: none; }
.mb-row .t a { color: inherit; text-decoration: none; }
.mb-row .t .fz-livetag, .mb-hero .ttl .fz-livetag { font-size: 11px; flex: none; }
.mb-row .d { max-width: none; white-space: normal; line-height: 1.5; }
.mb-row .d > .ln, .mb-hero .meta > .ln { display: block; }
.mb-row .d > span:not(.ln), .mb-hero .meta > span:not(.ln) { white-space: nowrap; }   /* 0923 复查:390 宽「打熊一车伤害 未填」曾折成「单 / 开一车」 */
/* 海外版视觉优化 1008:每段做成不拆的小块、段与段之间可以折行(原来「·」在下一段开头且段间没有断点:盟主卡整行撑出屏幕 15px / 320 宽 85px,
   折行时新行以「·」开头)→「·」挂在上一段末尾 */
.mb-row .d > span:not(.ln), .mb-hero .meta > span:not(.ln) { display: inline-block; }
.mb-row .d > span:not(.ln):has(+ span:not(.ln))::after, .mb-hero .meta > span:not(.ln):has(+ span:not(.ln))::after { content: "\00a0·\00a0"; color: var(--dim-lo); }
.mb-row .fz-castle { --s: auto; display: inline; width: auto; height: auto; margin-left: 3px; background: none; box-shadow: none; color: var(--text-2); font-size: inherit; font-weight: 700; }
.mb-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mb-side .pw { font-size: 14px; font-weight: 800; color: var(--snow); font-variant-numeric: tabular-nums; }
.mb-row.is-me .t, .mb-hero.is-me .ttl { color: var(--ember-text); }
.mb-acts { display: flex; gap: 6px; margin: 0; }
/* 盟主卡(本屏唯一实底卡) */
.mb-hero .ttl .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-hero .ttl .nm a { color: inherit; text-decoration: none; }
.mb-hero .meta { margin-top: 8px; line-height: 1.5; }
.mb-hero > .fz5-btn { margin-top: 10px; }
/* 按条件出名单(fz5-fold 折叠行下的条件表单) */
.mb-reward form { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: flex-end; padding: 8px 0 12px; }
.mb-reward label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--dim); }
.mb-reward label .fz5-input { width: 96px; padding: 6px 8px; font-size: 12.5px; }
.mb-reward label.ck { flex-direction: row; align-items: center; gap: 6px; align-self: center; }
/* 5.4.0 多选:点「多选」后点行勾人,底部一条贴底操作栏 */
.mb-page.is-picking .mb-row.is-manage, .mb-page.is-picking .mb-desk tr.is-manage { cursor: pointer; }
.mb-page.is-picking .mb-acts { visibility: hidden; }
.mb-row.is-picked, .mb-desk tr.is-picked td { background: var(--ice-bg); }
.mb-row.is-picked { box-shadow: inset 3px 0 0 var(--ice); }
.mb-pickbar { position: sticky; bottom: 0; z-index: 900; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--hair); background: var(--card); box-shadow: var(--card-shadow); }
.mb-pickbar[hidden] { display: none; }
@media (max-width: 860px) { .mb-pickbar { bottom: 86px; } }   /* 0923 复查:手机上压在悬浮底栏上,与 .att-save 同高 */
/* 0923 复查:手机上外观浮钮(右下 40px,static/theme.css .theme-fab)压住贴底操作条最右那颗(「确认记入」「记最近一次打熊」被遮、
   点右半边变成切外观)→ 贴底条右边让出浮钮位;html body 压过各页内联的 padding 简写(theme.css 是生成文件,不在那里加) */
@media (max-width: 860px) { html body .att-sticky, html body .att-save, html body .bo-sticky, html body .mb-pickbar { padding-right: 56px; } }
.mb-pickbar .n { flex: 1; font-size: 13px; color: var(--dim); }
.mb-pickbar .n b { color: var(--snow); font-variant-numeric: tabular-nums; }
.mb-pickbar .fz5-btn[disabled] { opacity: .45; }
/* 弹层(编辑成员 / 编辑地心):全页各一份,JS 填值 */
.mb-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 18px; background: var(--mask-strong); backdrop-filter: blur(5px); }
.mb-editor { width: min(400px, 100%); box-sizing: border-box; padding: 16px; border-radius: 12px; border: 1px solid var(--hair); background: var(--card); box-shadow: var(--card-shadow); color: var(--text); }
.mb-editor .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mb-editor h2 { margin: 0; font-size: 17px; font-weight: 800; color: var(--snow); }
.mb-editor .top p { margin: 3px 0 0; }
.mb-editor .x { border: 0; background: none; color: var(--dim); cursor: pointer; font-size: 22px; line-height: 1; padding: 0 2px; }
.mb-editor label { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--dim); }
/* 编辑地心:名次口径「全区 / 盟内」二选一(0926)——分段样式;复位 .mb-editor label 的纵排与 margin、全局 input 把单选撑成的 40px 大圆 */
.mb-editor .mb-scope { margin-top: 10px; }
.mb-editor .mb-scope > label { position: relative; flex-direction: row; align-items: center; justify-content: center; gap: 6px; margin-top: 0; padding: 7px 0; cursor: pointer; }
/* 5.4.3 复查:分段控件不露原生单选圆点(同地心页 .ec-seg),选中态靠下一条 :has(input:checked);键盘焦点描边可见 */
.mb-scope input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; flex: none; width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; accent-color: var(--ice); }
.mb-scope > label:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 1px; }
.mb-scope > label:has(input:checked) { background: var(--card-hi); color: var(--snow); box-shadow: inset 0 0 0 1px var(--line-hi); }
.mb-editor .fz5-actions { margin-top: 14px; }
.mb-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; }
.mb-f .fz5-input { flex: 1 1 120px; width: auto; padding: 6px 9px; font-size: 13px; }
.mb-f .fz5-btn { flex: none; }
.mb-danger { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair-soft); }
.mb-danger .mb-f { margin-top: 0; }
/* 桌面表(全宽):发丝线行 / tabular-nums / 数字右对齐 / 表头 12px 冰蓝字距 .08em / 悬停底色 / 我的行橙字 */
.fz5-table.mb-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; color: var(--text); background: var(--card-glass); border: 1px solid var(--hair); border-radius: 10px; box-shadow: var(--card-shadow); font-variant-numeric: tabular-nums; }
.mb-table th, .mb-table td { padding: 9px 12px; border-bottom: 1px solid var(--hair-soft); text-align: left; vertical-align: middle; font-weight: 400; }
.mb-table th { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ice); white-space: nowrap; background: var(--well-soft); }
.mb-table th { white-space: normal; vertical-align: bottom; line-height: 1.3; }   /* 海外版视觉优化 1008:英文表头(Fire Crystal / Bear Rally Damage)可折两行,1280 宽整表放得下,打熊伤害列不再被贴右的操作列盖住 */
.mb-table th:first-child { border-top-left-radius: 10px; }
.mb-table th:last-child { border-top-right-radius: 10px; }
.mb-table th a { color: inherit; text-decoration: none; }
.mb-table th a.on { color: var(--snow); border-bottom: 2px solid var(--ice); }
.mb-table .r { text-align: right; }
.mb-table td.no { color: var(--dim-lo); font-weight: 800; }
.mb-table td.num { font-weight: 700; color: var(--snow); }
.mb-table td.nm { white-space: nowrap; }
.mb-table td.nm a { color: var(--text); text-decoration: none; font-weight: 700; }
.mb-table td.nm a:hover { color: var(--ice); }
.mb-table td .dim { font-size: 12px; }
.mb-table td .id { margin-left: 8px; }
.mb-table td .fz-livetag { font-size: 11px; margin-left: 6px; }
.mb-table td.acts { text-align: right; white-space: nowrap; }
/* 0923 复查:名字列不换行 + 表格横向滚动时,桌面「编辑」列被挤出视口(Mac 不显示滚动条 = 看不到入口)→ 操作列贴右 */
@media (min-width: 1024px) {
  .mb-table td.acts { position: sticky; right: 0; z-index: 1; background: linear-gradient(var(--card-glass), var(--card-glass)), var(--bg); box-shadow: -8px 0 8px -8px var(--card-shadow); }   /* 与表格玻璃底同色、不透底 */
  .mb-table tbody tr:nth-child(even) td.acts { background: linear-gradient(var(--glass-top), var(--glass-top)), linear-gradient(var(--card-glass), var(--card-glass)), var(--bg); }   /* 偶数行同全站斑马纹 */
  .mb-table tr.is-picked td.acts { background: var(--ice-bg); }
}
.mb-table td.acts > * + * { margin-left: 6px; }
.mb-table tbody tr:hover > td { background: var(--ice-bg); }
.mb-table tbody tr:last-child > td { border-bottom: 0; }
.mb-table tr.is-me > td.nm, .mb-table tr.is-me > td.nm a { color: var(--ember-text); }   /* 海外版视觉优化 1008:「我」那一行只名字橙(原整行 7 格全橙) */
.mb-table tr.gh > td { padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--dim); background: var(--well-soft); }
.mb-table .mb-av { width: 24px; height: 24px; margin-right: 8px; font-size: 11px; vertical-align: middle; }
/* 手机列表 / 桌面表 二选一 */
@media (max-width: 1023px) { .mb-desk { display: none; } }
@media (min-width: 1024px) {
  .mb-mobile { display: none !important; }
  .mb-desk { overflow-x: auto; }
  .mb-search { width: 360px; }
  .mb-manage { display: flex; flex-wrap: wrap; align-items: center; padding: 0 6px; }
  .mb-manage > .fz5-row, .mb-manage > .mb-reward > summary { border-bottom: 0; padding: 8px 10px; min-height: 0; }
  .mb-manage > .mb-reward { flex: 0 0 auto; }
  .mb-manage > .mb-reward[open] { flex-basis: 100%; }
  .mb-manage > .mb-reward[open] > summary { border-bottom-color: var(--hair-soft); }
  .mb-manage > .mb-reward form { padding: 10px 10px 12px; }
}

/* ── warroom ── 作战室五页(0908 备战日历 / 兵工厂 / 熊坑 / 国战 / 霜龙王城)壳层补件:
   页头一行 / 分段徽 / 行内折叠编辑(<details> 的 summary 就是一行)/ 卡内小标题与数据行 / 表单格 / 人名池 / 分组 */
.fz5-pgh { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 2px 0 0; }
.fz5-pgh .bk { flex: none; width: 32px; height: 32px; display: grid; place-items: center; margin-left: -6px; border-radius: 10px; color: var(--ice); text-decoration: none; font-size: 22px; line-height: 1; font-weight: 400; }
.fz5-pgh .bk:hover { background: var(--ice-bg); color: var(--ice); }
.fz5-pgh h1 { flex: 1; min-width: 0; margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: .01em; color: var(--snow); text-align: left; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359px) { .fz5-pgh h1 { white-space: normal; overflow-wrap: break-word; font-size: 17px; } }   /* 海外版视觉优化 1008:320 宽页名(Foundry Attendance)折行,不截成「Foundry Att…」 */
.fz5-pgh .act { flex: none; background: none; border: 0; padding: 6px 0 6px 8px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ice); text-decoration: none; cursor: pointer; }
.fz5-pgh .act:hover { color: var(--ice); text-decoration: underline; }
.fz5-chips > .fz5-badge { align-self: center; }
.fz5-rows > details > summary { list-style: none; cursor: pointer; }
.fz5-rows > details > summary::-webkit-details-marker { display: none; }
.fz5-rows > details:last-child > .fz5-row, .fz5-rows > details[open] > .fz5-row { border-bottom: 0; }
.fz5-edit { padding: 0 0 12px; border-bottom: 1px solid var(--hair-soft); }
.fz5-rows > details:last-child > .fz5-edit { border-bottom: 0; }
.fz5-card h2 { margin: 0 0 6px; font-size: 16.5px; line-height: 1.3; font-weight: 800; color: var(--snow); }
.fz5-card h3 { margin: 12px 0 6px; font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--snow); }
.fz5-meta { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.fz5-meta strong, .fz5 .dim strong { color: var(--snow); font-weight: 700; }
.fz5-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.fz5-fields > label { display: grid; gap: 4px; font-size: 12px; color: var(--dim); min-width: 0; }
.fz5-fields:has(input[type="datetime-local"]) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }   /* 0923 复查:兵工厂本场设置两个开战时间在 390 宽溢出 110px */
.fz5-fields small { color: var(--dim); font-variant-numeric: tabular-nums; }
.fz5-pool { display: flex; flex-wrap: wrap; gap: 6px; }
.fz5-pool .fz5-chip { cursor: pointer; }
.fz5-pool .fz5-chip small { color: var(--dim); font-weight: 400; }
.fz5-group { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.fz5-row input[type="checkbox"] { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ice); }

/* ── attendance ── */
/* 通用出勤页 templates/alliance/attendance.html(0909 A 包第 3 步):已记的场每人一行三态(到场 / 缺席 / 请假 + 备注)、
   替补上场行、记出勤保存条(贴底)、名单正文、本人明细的到 / 缺 / 请假小标;组件其余全部沿用上方的行 / 卡 / 按钮。 */
.att-mark { flex-wrap: wrap; }
.att-mark .acts { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.att-mark .acts .fz5-input { width: 92px; height: 28px; padding: 0 8px; font-size: 12px; box-sizing: border-box; }
.att-mark .acts select.fz5-input { width: auto; max-width: 140px; }
@media (max-width: 1023px) { .att-mark .acts { flex-basis: 100%; justify-content: flex-end; flex-wrap: wrap; } }   /* 海外版视觉优化 1008:+wrap,替补上场 / 名单人数两行在手机宽不再撑出卡片 */
.att-mark .acts .fz5-btn { white-space: nowrap; }
.att-mark .acts select.fz5-input { min-width: 0; }
.fz5-btn.sm.on { background: var(--ice-bg); color: var(--ice); border-color: var(--ice); }
.att-save { position: sticky; bottom: 12px; padding: 10px 0 0; background: linear-gradient(180deg, transparent, var(--bg) 40%); }
@media (max-width: 860px) { .att-save { bottom: 86px; } }
.att-names { font-size: 13px; line-height: 1.6; color: var(--text); padding: 4px 0 6px; word-break: break-all; }
.att-state { flex: none; font-size: 11px; font-weight: 700; line-height: 18px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--ok-line); color: var(--ok); }
.att-state.is-absent { color: var(--danger); border-color: var(--danger-line); }
.att-state.is-excused { color: var(--dim); border-color: var(--hair); }

/* ── lineup ── 排阵候选表(0909 A 包第 4 步:意愿 · 上次 · 近 3 场 · 连续;兵工厂 / 峡谷排阵页共用,宏在 templates/_lineup_hist.html)
   .lu-head 表头(点列名排序,.on 当前列)/ .lu-row 峡谷页每人一行(grid 五列,管理多一列分组 select)/ .lu-hist 兵工厂候选行里的四列 /
   .warn 连续缺 ≥ 门槛 */
.lu-head, .lu-row { display: grid; grid-template-columns: minmax(0, 1fr) 52px 36px 52px 40px; gap: 4px; align-items: center; }
.lu-row { padding: 9px 0; border-bottom: 1px solid var(--hair-soft); font-size: 13.5px; color: var(--text); min-height: 40px; }
.lu-row.has-sel { grid-template-columns: minmax(0, 1fr) 52px 36px 52px 40px 84px; }
.lu-row.solo { grid-template-columns: minmax(0, 1fr); }
.lu-rows > div > .lu-row:last-child { border-bottom: 0; }
.lu-head { padding: 9px 0 5px; font-size: 11px; font-weight: 700; color: var(--dim); border-bottom: 1px solid var(--hair-soft); }
.lu-head .lu-c { cursor: pointer; user-select: none; }
.lu-head .lu-c.on { color: var(--ice); }
.lu-head .lu-c.on::after { content: " ▾"; font-size: 9px; }
.lu-head .lu-c.on[data-cur="asc"]::after { content: " ▴"; }
.lu-c { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lu-head .lu-c:first-child, .lu-row .lu-c:first-child { text-align: left; }
.lu-name { font-weight: 700; color: var(--snow); }
.lu-name small { color: var(--dim); font-weight: 400; margin-left: 6px; font-variant-numeric: tabular-nums; }
.lu-row.is-mine .lu-name { color: var(--fz-ember-hi); }
.lu-c.warn { color: var(--danger); font-weight: 800; }
.lu-sel { width: 100%; box-sizing: border-box; background: var(--well); border: 1px solid var(--hair); border-radius: 6px; padding: 4px 6px; font: inherit; font-size: 12.5px; color: var(--text); }
/* 兵工厂候选行(.ar2-roster-row,flex):四列跟在名字后;上方排序条是一行 chip 样的列名 */
.lu-hist { display: inline-grid; grid-template-columns: 52px 36px 52px 40px; gap: 4px; font-size: 12px; color: var(--dim); }
.lu-hist .lu-c.warn { color: var(--danger); }
.lu-head.lu-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; border-bottom: 0; }
.lu-head.lu-bar .lu-c { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--hair); background: var(--well-soft); text-align: center; }
.lu-head.lu-bar .lu-c.on { border-color: var(--line-hi); background: var(--ice-bg); }

/* ── lineup · 窄屏 ── <600px(0909 手机截图 390px 五列 + 下拉挤不下):名字整行不截、历史四项收成名字下一行小字(.lu-mini,
   标记里本来就有,宽屏 display:none)、分组下拉靠右占两行;表格表头藏起(排序只在 ≥600px 的表格里)。≥600px 一切照旧。 */
.lu-mini { display: none; }
@media (max-width: 599px) {
  .lu-head:not(.lu-bar) { display: none; }
  .lu-row, .lu-row.has-sel, .lu-row.solo { grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: auto; column-gap: 10px; row-gap: 2px; }
  .lu-row > .lu-c { display: none; }
  .lu-row > .lu-name { display: block; grid-column: 1; grid-row: 1; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
  .lu-row > .lu-mini { display: block; grid-column: 1; grid-row: 2; }
  .lu-row > .lu-sel { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: auto; min-width: 84px; }
  .lu-mini { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: normal; line-height: 1.5; text-align: left; }
  .lu-mini .warn { color: var(--danger); font-weight: 800; }
  /* 兵工厂候选行(.ar2-roster-row)里的四列:同样收成名字下面一行 */
  .lu-hist { display: block; flex: 1 1 100%; }
  .lu-hist > .lu-c { display: none; }
  .lu-hist > .lu-mini { display: block; }
}

/* ── score ── */
/* 0909 B 包 战果截图 → 积分(兵工厂 / 峡谷):出勤页的传截图卡与积分榜行(名次 + 名字 + 积分)、改分 / 榜单人数行;
   草稿页 templates/alliance/attendance_ocr.html 的核对行(到场 / 缺席单选 + 积分输入)与识别原文;其余沿用行 / 卡 / 按钮。 */
.sc-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.sc-form .fz5-input { width: auto; max-width: 100%; }
.sc-form input[type="file"] { flex: 1 1 200px; min-width: 0; }
.sc-upload > summary { cursor: pointer; list-style: none; }
.sc-upload > summary::-webkit-details-marker { display: none; }
.sc-row .rk { flex: none; min-width: 26px; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; }
.sc-row .d, .sc-pts { font-variant-numeric: tabular-nums; }
.sc-row.is-absent { background: var(--danger-bg); }
.sc-opt { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.sc-opt input { margin: 0; accent-color: var(--ice); }
.att-mark .acts .sc-pts { width: 112px; }
.att-mark .acts .sc-n { width: 52px; }
/* 0922 邮件榜截图指引:四步 + 标注图 */
.sc-steps { margin: 6px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.sc-steps li { margin: 4px 0; }
.sc-guide-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 8px; }
.sc-guide-imgs img { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(128, 128, 128, .25); display: block; }
.sc-raw { font: 11.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--dim); white-space: pre-wrap; word-break: break-all; padding: 4px 0 8px; }
.sc-warn { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--danger); }

/* ── changelog(0910 更新公告页):版本卡内的分类小标 + 条目列表;其余全用 fz5 基元 ── */
.cl-page { max-width: 720px; }
.cl-entry .ttl span { font-variant-numeric: tabular-nums; }
.cl-entry .ttl small { text-align: right; }
.cl-sec h3 { margin: 12px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--dim); }
.cl-sec ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.75; color: var(--text); }
.cl-sec li + li { margin-top: 3px; }

/* ── fortress ── 堡垒分配两页(0923 网站版:templates/alliance/fortress.html / fortress_kingdom.html,对齐小程序 5.4.0):
   .fo-kv 键值行(标签淡在左、值加粗在右;表单行里的输入框 / 勾选框靠右)/ 当按钮用的 chip / 名单行(车头 · 手动小标、
   座位标 f 要塞 · b 堡垒 · fb 两车 · w 候补、箱、淡显)/ 发群文字 / 分堡表建筑行(建筑 · 盟标 · 备注)/ 卡里的折叠行;
   其余全用上方的卡 / 行 / 按钮 / 折叠。 */
.fo-kv .lab { flex: none; color: var(--dim); font-size: 12.5px; }
.fo-kv .val { flex: 1; min-width: 0; text-align: right; color: var(--snow); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fo-kv .val small { color: var(--dim); font-size: 12px; font-weight: 400; }
.fo-kv .val.ok { color: var(--ok); }
.fo-kv .fz5-input.fo-in { flex: none; width: 150px; min-height: 0; margin-left: auto; padding: 6px 9px; text-align: right; }
.fo-kv input[type="checkbox"] { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0 0 0 auto; accent-color: var(--ice); }
.fz5-card > details > summary.fz5-row { padding: 9px 0; min-height: 0; }
.fz5-card > details:last-child > summary.fz5-row, .fz5-card > details:last-child > .fz5-stack { border-bottom: 0; }
button.fz5-chip { font-family: inherit; line-height: 1.5; cursor: pointer; }
.fo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fo-chips.fo-end { flex: 1; justify-content: flex-end; }
.fo-head, .fo-man { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 5px; font-size: 11px; line-height: 17px; vertical-align: 1px; }
.fo-head { color: var(--gold); background: var(--gold-bg); border: 1px solid var(--gold-line); font-weight: 800; }
.fo-man { color: var(--dim); border: 1px solid var(--hair); font-weight: 600; }
.fo-k { flex: none; font-size: 11.5px; font-weight: 800; border-radius: 5px; padding: 1px 7px; white-space: nowrap; }
.fo-k.k-f, .fo-k.k-fb { color: var(--gold); background: var(--gold-bg); }
.fo-k.k-b { color: var(--ice); background: var(--ice-bg); }
.fo-k.k-w { color: var(--dim); background: var(--well-soft); }
.fo-box { flex: none; font-size: 11.5px; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fo-seat.is-dim { opacity: .55; }
.fz5-gh .fo-n { margin-left: 10px; letter-spacing: 0; font-weight: 500; text-align: right; }
.fz5-now .fz5-link { margin-left: auto; flex: none; }
.fo-text { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: var(--well); border: 1px solid var(--hair); font-size: 13px; line-height: 1.6; color: var(--text-2); white-space: pre-wrap; word-break: break-all; }
.fo-me form { margin-top: 10px; }
.fo-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fk-b { flex: none; width: 64px; font-weight: 700; color: var(--snow); white-space: nowrap; }
.fk-tag { flex: none; min-width: 44px; text-align: center; font-size: 12px; font-weight: 800; color: var(--ice); background: var(--ice-bg); border: 1px solid var(--line-hi); border-radius: 6px; padding: 1px 8px; }
.fk-tag.is-empty { color: var(--dim); background: none; border-color: var(--hair); font-weight: 400; }
.fz5-row .d.fk-note { flex: 1; max-width: none; text-align: left; }
.fk-log .d { max-width: none; white-space: normal; line-height: 1.5; }
/* 0924 5.4.2 按座:分堡表按盟配色(--ktag0..7 底 / 字,本盟冰蓝描边)+ 时间列;组头 / 车头待定金标 / 同时段 / 加人行;
   成员面与报名链接页的「各座」一行(时间 · n/N / 车头 · 名字 / 动作)、行内淡橙「报名」与灰「取消」胶囊;
   本地时刻小字;分箱卡名字流;选人抽屉行;报名链接页大字日期 / 名单点名字。 */
.fk-tag.kt0 { color: var(--ktag0-fg); background: var(--ktag0-bg); border-color: transparent; }
.fk-tag.kt1 { color: var(--ktag1-fg); background: var(--ktag1-bg); border-color: transparent; }
.fk-tag.kt2 { color: var(--ktag2-fg); background: var(--ktag2-bg); border-color: transparent; }
.fk-tag.kt3 { color: var(--ktag3-fg); background: var(--ktag3-bg); border-color: transparent; }
.fk-tag.kt4 { color: var(--ktag4-fg); background: var(--ktag4-bg); border-color: transparent; }
.fk-tag.kt5 { color: var(--ktag5-fg); background: var(--ktag5-bg); border-color: transparent; }
.fk-tag.kt6 { color: var(--ktag6-fg); background: var(--ktag6-bg); border-color: transparent; }
.fk-tag.kt7 { color: var(--ktag7-fg); background: var(--ktag7-bg); border-color: transparent; }
.fk-tag.is-own { border-color: var(--ktag-own); box-shadow: 0 0 0 1px var(--ktag-own); }
.fk-hh { flex: none; min-width: 40px; text-align: right; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.fk-hh .fo-lt:not([hidden]) { display: block; margin-left: 0; font-size: 11px; }   /* 分堡表:本地时刻叠在时间下面,不挤盟标备注 */
/* 0926 5.4.3 分堡表:期数「推算」灰色小标签(抬头与换季提醒卡)/ 编号下一行淡色奖励文字(有奖励时编号列放宽;
   不截断:字体宽的机器上装不下就在空格处折行成「宠物自选箱」/「×100」,数量不会被省略号吃掉)/
   表下 冰蓝「撤回」+ 危险描边「清空」靠右 / 换季提醒卡一行(期数 · 清空)。 */
.fo-kv .val small.fk-guess { display: inline-block; margin-left: 4px; color: var(--dim); font-weight: 400; padding: 0 5px; border: 1px solid var(--hair); border-radius: 5px; font-size: 11px; line-height: 16px; vertical-align: 1px; }
/* 5.4.3 复查:有奖励时这一行本来就两行高(编号 + 奖励)→ 备注换到盟标下面的第二行,拿盟标到时间之间的整段宽
   (360 宽约 150px;原来挤在同一行只剩 38–52px、320 海外时区铅笔被挤出行外)。编号列 64–92px,奖励在空格处折行;没奖励的行照旧一行。 */
.fk-rw-on .fz5-row { display: grid; grid-template-columns: minmax(64px, 92px) auto minmax(0, 1fr) auto auto;
  grid-template-areas: "b tag . hh pen" "b note note hh pen"; column-gap: 10px; row-gap: 2px; }
.fk-rw-on .fk-b { grid-area: b; width: auto; min-width: 0; }
.fk-rw-on .fk-tag { grid-area: tag; justify-self: start; }
.fk-rw-on .fz5-row .d.fk-note { grid-area: note; max-width: none; min-width: 0; }
.fk-rw-on .fk-hh { grid-area: hh; min-width: 0; }
/* 窄屏海外时区:「本地 周五 04:30」可在空格处折行,时间列按内容收放(.fk-hh 的 min-width 40px 会让 grid 列压到 40 以下的内容宽,字压到铅笔上) */
.fk-rw-on .fk-hh .fo-lt:not([hidden]) { white-space: normal; }
.fk-rw-on .fz5-row .pen { grid-area: pen; }
.fk-b .fk-rw { display: block; font-size: 11px; font-weight: 400; color: var(--dim); white-space: normal; word-break: keep-all; overflow-wrap: break-word; line-height: 1.35; }
.fk-season .fz5-input.fo-in { width: 96px; }
.fk-season .fz5-btn.sm { flex: none; }
/* 5.4.3 复查:「建筑」组头右侧 冰蓝文字「撤回」+ 小号危险「清空」(原来单独一行正压在整宽「复制发群」上面,手机易点错);
   换季提醒 = 琥珀提示条一行「新赛季」+ 右侧小号危险「清空」(期数只在抬头出现一次)。 */
.fk-ops { display: flex; align-items: center; gap: 14px; letter-spacing: 0; }
.fk-ops form { margin: 0; }
.fz5-gh button.fz5-link { border: 0; background: none; padding: 0; cursor: pointer; font-family: inherit; font-size: 12px; letter-spacing: 0; }
.fz5-gh .fz5-btn.sm { letter-spacing: 0; }
.fk-remind .fz5-btn.sm { flex: none; margin-left: auto; }
/* 0926 5.4.3 出图 / 导出(冰蓝,不占橙):堡垒页「名单」组头右侧「导出」链接 / 已发卡里「复制发群 · 出图」同一行两颗(flex 各占一份,
   不用百分比凑宽)/ 分堡表页第一张卡抬头右侧「出图」「导出」两个链接。 */
.fz5-gh .fo-exp { margin-left: 12px; }
.fo-acts { display: flex; gap: 8px; margin-top: 10px; }
.fo-acts > .fz5-btn { flex: 1 1 0; min-width: 0; }
.fk-exp { flex: none; display: flex; gap: 14px; }
.fo-top > summary { list-style: none; cursor: pointer; }
.fo-top > summary::-webkit-details-marker, .fo-un > summary::-webkit-details-marker { display: none; }
.fo-un > summary { list-style: none; cursor: pointer; margin-bottom: 8px; }
.fo-setl { letter-spacing: 0; font-size: 12px; font-weight: 600; color: var(--ice); }
.fo-top[open] > .fz5-card { margin-top: 12px; }
.fo-grp { margin-top: 10px; }
.fo-gh .t { color: var(--snow); }
.fo-nn { flex: none; font-size: 12.5px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.fo-tchips { padding: 2px 0 10px; }
.fo-pend { display: inline-block; padding: 0 6px; border-radius: 5px; font-size: 12px; line-height: 19px; color: var(--gold); background: var(--gold-bg); border: 1px solid var(--gold-line); font-weight: 800; }
.fo-same { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 5px; font-size: 11px; line-height: 17px; vertical-align: 1px; color: var(--ice); border: 1px solid var(--line-hi); font-weight: 600; }
.fo-add { color: var(--ice); }
.fo-add .t { color: var(--ice); font-weight: 600; }
.fo-lt { margin-left: 6px; font-size: 11.5px; font-weight: 500; color: var(--dim); white-space: nowrap; }
.fz5-chip.fo-go { color: var(--ember-text); background: var(--ember-bg-soft); border-color: var(--ember-line); }
.fz5-chip.fo-off { color: var(--dim); background: none; border-color: var(--hair); }
/* 1006 奖励分配(templates/alliance/fortress_reward.html + 堡垒页顶部入口卡;老分箱卡样式随卡下线):
   物品条贴顶(每样 名称 · 大字剩余 · 小字「剩余」,超出变红)/ 战力 | 地心 / 人员一行(勾选框 · 名字 · 盟标 · 战力或地心 · 已分)/ 底栏贴底 */
.fr-entry { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); border-color: var(--line-hi); }
.fr-entry .pe { margin-bottom: 0; }
.fr-entry-s { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.fr-entry .fz5-btn.ice, .fz5-btn.ice { background: var(--ice); color: var(--bg); margin-top: 4px; }
.fr-hd form { margin: 0; }
.fr-clear { color: var(--danger); background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 0; cursor: pointer; }
.fr-bar { position: sticky; top: 0; z-index: 3; display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; margin: 4px 0 6px; background: var(--bg); scrollbar-width: none; }
.fr-bar::-webkit-scrollbar { display: none; }
.fr-it { flex: none; display: flex; flex-direction: column; align-items: flex-start; min-width: 72px; padding: 7px 11px; border-radius: 12px; border: 1px solid var(--hair); background: var(--card); text-decoration: none; color: var(--text-2); }
.fr-it span { font-size: 12px; font-weight: 700; white-space: nowrap; }
.fr-it b { font-size: 22px; line-height: 1.15; font-weight: 800; color: var(--snow); font-variant-numeric: tabular-nums; }
.fr-it small { font-size: 11px; color: var(--dim); white-space: nowrap; }
.fr-it.on { border-color: var(--ice); background: var(--ice-bg); }
.fr-it.is-over b, .fr-it .fr-over { color: var(--danger); }
.fr-it .fr-pend { color: var(--gold); font-size: 16px; }
.fr-seg { display: flex; gap: 6px; margin: 2px 0 10px; }
.fr-sum { margin: 2px 0 8px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
/* 5.5.11 页头下一行期数(推算的带灰色小标签)/ 人员组头 全部 | 本盟 */
/* 1007 期数选择:示例图(游戏「常规活动 › 堡垒」页左上角「第N赛季 x/8期」框出)+ 奖励分配页期数一行可展开 */
.fo-ex { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 8px; border: 1px solid var(--hair); }
/* 5.5.12 按游戏显示填:周六到周二期数表单「期」旁「已结束」(今天游戏里那一期已结束;同「推算」小标签的样子) */
.fz5-lbl small.fo-ended { display: inline-block; margin-left: 4px; color: var(--dim); padding: 0 5px; border: 1px solid var(--hair); border-radius: 5px; font-size: 11px; line-height: 16px; vertical-align: 1px; }
.fr-perf > summary.fr-per { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.fr-perf > summary.fr-per::-webkit-details-marker { display: none; }
.fr-perf > summary.fr-per .pen { margin-left: auto; }
.fr-perf > summary.fr-per .pen .fz-ico { width: 14px; height: 14px; color: var(--dim); }
.fr-perf > form { margin: 0 0 8px; }
.fr-per { margin: -2px 2px 6px; font-size: 12.5px; color: var(--dim-hi, var(--dim)); }
.fr-per small.fk-guess { display: inline-block; margin-left: 4px; color: var(--dim); padding: 0 5px; border: 1px solid var(--hair); border-radius: 5px; font-size: 11px; line-height: 16px; }
#fr-people .fo-chips { gap: 6px; }
.fr-inl { display: inline; margin: 0; }
.fr-more { margin-top: 8px; }
.fr-pool, .fr-er { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 0; border-top: 1px solid var(--hair-soft); }
.fr-pool .t { font-weight: 800; color: var(--snow); }
.fr-er .t { min-width: 72px; font-weight: 700; color: var(--text-2); }
.fr-kv { font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.fr-step { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.fr-step .fz5-input.fo-in { width: 96px; margin: 0; }
.fr-n { min-width: 28px; text-align: center; font-size: 17px; font-weight: 800; color: var(--snow); font-variant-numeric: tabular-nums; }
.fr-dim { color: var(--dim); font-size: 12px; }
.fr-p { gap: 10px; }
.fr-p input[type="checkbox"] { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--ice); }
.fr-p.is-sel { background: var(--ice-bg); }
.fr-pn { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; text-decoration: none; color: var(--text); }
.fr-pn .t { flex: 1; min-width: 0; font-weight: 700; color: var(--snow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fr-tag { margin-left: 6px; padding: 0 5px; border-radius: 5px; font-size: 11px; color: var(--ice); border: 1px solid var(--line-hi); font-weight: 600; }
.fr-k { flex: none; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.fr-got { flex-basis: 100%; color: var(--text-2); font-size: 12.5px; }
.fr-pn .fr-n { flex: none; }
.fr-add { margin-top: 10px; }
.fr-dock { position: sticky; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.fr-save { order: 2; display: flex; gap: 8px; align-items: center; }
.fr-save .fz5-input.fo-in { flex: 1; width: auto; margin: 0; }
.fr-cp { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; color: var(--text-2); }
.fr-log { margin: 10px 2px 0; font-size: 11.5px; color: var(--dim); line-height: 1.7; }
.fo-search { margin: 8px 0; }
.fo-picks { max-height: 60vh; overflow-y: auto; }
button.fz5-row.fo-pick-row, label.fz5-row.fo-pickme { width: 100%; box-sizing: border-box; background: none; border: 0; border-bottom: 1px solid var(--hair-soft); font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.fo-pick-row[hidden], .fo-pickme[hidden] { display: none; }
.fo-names { max-height: 50vh; overflow-y: auto; }
.fo-pickme input[type="radio"] { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; accent-color: var(--ice); }
.fo-pickme:has(input:checked) { background: var(--ember-bg-soft); }
.fo-pickme:has(input:checked) .t { color: var(--ember-text); }
.fo-me .fo-kv .val { white-space: normal; overflow-wrap: anywhere; }
.fo-pickme.is-off { opacity: .45; cursor: not-allowed; }
.fo-bs .fz5-chip[disabled] { opacity: .45; cursor: not-allowed; }   /* 链接页:选中的人被移出过这座 → 这座「报名」置灰 */
/* 各座一行 = 两列格:第一行 左「座 · 时间」(浏览器不在 UTC 时本地小字单占下一行、不缩进)、右动作;第二行 左 车头 · 名字、右 n/N。
   0924 终审:原先 flex 折行,本地小字挤进标题行后每行排法不一(n/N 有的同行有的掉行、带「第 N 座 / 取消」的又一种) */
.fo-b { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 11px 0; border-bottom: 1px solid var(--hair-soft); }
.fz5-rows > .fo-b:last-child { border-bottom: 0; }
.fo-bt { grid-column: 1; grid-row: 1; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; color: var(--snow); }
.fo-bt .fo-lt { flex-basis: 100%; order: 2; margin-left: 0; }
.fo-bt b { font-weight: 800; }
.fo-hm { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.fo-ba { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.fo-ba form { margin: 0; }
.fo-st { font-size: 12.5px; font-weight: 700; color: var(--ok); white-space: nowrap; }
.fo-st.is-off { color: var(--dim); }   /* 成员面:管理移出过本人的座,灰字「已移出」、没有动作 */
.fo-bn { grid-column: 1; grid-row: 2; font-size: 12.5px; line-height: 1.55; color: var(--dim); overflow-wrap: anywhere; }
.fo-b > .fo-nn { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; line-height: 1.55; }
/* 报名链接页:整张表单同页面容器一样按列排、间距 11(「选座」小标题曾上 4px、下沿压进座位框 4px) */
.fo-page form[data-fo-join] { display: flex; flex-direction: column; gap: 11px; }
.fo-page form[data-fo-join] > .fo-search { margin: 0; }
/* 堡垒页写完跳回锚点(#fo-gN / #fo-pick / #fo-tN / #bN …):落点让出吸顶站顶栏(手机 51 / 电脑 75)与吸顶提示条(同 .flash-wrap 口径) */
.fo-page [id] { scroll-margin-top: 60px; }
.flash-wrap ~ main .fo-page [id] { scroll-margin-top: 116px; }
@media (min-width: 861px) {
  .fo-page [id] { scroll-margin-top: 84px; }
  .flash-wrap ~ main .fo-page [id] { scroll-margin-top: 140px; }
}
.fo-date { margin: 4px 0 12px; font-size: 22px; font-weight: 800; color: var(--snow); letter-spacing: .5px; }
.fz5-card .fo-date { margin: 6px 0 0; font-size: 16px; }

/* ── 5.4.0 界面优化 · 网站管理台(与小程序管理台第二版同一套) ── */
/* 已完成的任务收在一行「✓ 已完成 N 项 ›」;四个常用入口收成一行文字链接 */
.as-done > summary { list-style: none; cursor: pointer; color: var(--dim); }
.as-done > summary::-webkit-details-marker { display: none; }
.as-done > summary .fz-ico { width: 16px; height: 16px; color: var(--ok); flex: none; }
.as-done > summary .t { font-weight: 600; color: var(--dim-hi); }
.as-done[open] > summary .ch { transform: rotate(90deg); }
.as-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 2px 8px; font-size: 13px; font-weight: 600; line-height: 1.6; }
.as-links a { color: var(--ice); text-decoration: none; }
/* 成员数据卡:一行一项 = 名字 · 进度条 · 已填/在册 · ›(满了变绿) */
.as-md .pe { margin-bottom: 2px; }
.as-dq { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair-soft); color: var(--text); text-decoration: none; font-size: 13.5px; }
.as-md .pe + .as-dq { border-top: 0; }
.as-dq .k { flex: none; width: 104px; font-weight: 700; color: var(--snow); line-height: 1.3; }   /* 海外版视觉优化 1008:英文活动名 70px 折三行(Tundra / Arms / League)→ 104px 最多两行 */
.as-dq .bar { flex: 1; min-width: 0; height: 6px; border-radius: 3px; background: var(--rbar-track); overflow: hidden; }
.as-dq .bar i { display: block; height: 100%; border-radius: 3px; background: var(--ice); }
.as-dq .bar i.full { background: var(--ok); }
.as-dq .v { flex: none; width: 56px; text-align: right; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.as-dq .v b { color: var(--snow); font-size: 14px; }
.as-dq .mv { flex: 1; color: var(--text-2); font-variant-numeric: tabular-nums; }
.as-dq .mv b { color: var(--snow); }
.as-dq .ch { flex: none; color: var(--dim-lo); font-size: 18px; line-height: 1; }
@media (max-width: 359px) { .as-dq { gap: 8px; } .as-dq .k { width: 84px; } .as-dq .v { width: 46px; } }   /* 海外版视觉优化 1008:320 宽「截止时刻」那一行放得下 */

/* ── 5.4.0 界面优化 · 网站成员名单 ── */
/* 桌面:操作列有列名、表头同样贴右;「兵」一列允许折行,1200 宽里放得下,贴右的操作列不再压住「地心 / 打熊」两列。
   styles.css 给所有 table 一个 min-width:1280(老表格页横滑用),成员表在 1200 容器里因此永远横滑、贴右的操作列正好压在「地心 / 打熊」上 → 本表撤掉 */
.fz5-table.mb-table { min-width: 0; }
.mb-table th.acts { text-align: right; }
@media (min-width: 1024px) {
  .mb-table th.acts { position: sticky; right: 0; z-index: 2; background: linear-gradient(var(--well-soft), var(--well-soft)), var(--bg); }
}
/* 0923 复查:1024–1199 宽表格仍比容器宽(名字列不折行约 338px),贴右的操作列盖住「打熊」→ 这一档名字列折行、格子收紧,整表放进容器 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .mb-table td.nm { white-space: normal; min-width: 160px; }
  .mb-table th, .mb-table td { padding-left: 8px; padding-right: 8px; }
}
.mb-table td.tr { white-space: normal; min-width: 132px; max-width: 210px; line-height: 1.45; }
.mb-table td.tr .dim { display: block; word-break: keep-all; }   /* 盾矛射只在空格处折行,不把「T11火10」拆成「T11火 / 10」 */
/* 手机:名字行与数据行都不再截成「…」:名字行的认领 / 地球 / 在线标跟着折行完整显示;
   数据行每项自己不断开(火晶 8 / 打熊一车伤害 1.86亿),项与项之间可折行——分隔点的空格放在允许折行的伪元素里,折行落在「·」后面 */
.mb-row .t { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.5; }
.mb-row .d { overflow: visible; text-overflow: clip; }
.mb-row .d > span + span:not(.ln)::before { white-space: normal; }
.mb-row .d > .ln { word-break: keep-all; }
/* 编辑面板第一行:当前地心 + 「编辑地心」(手机行只剩一个编辑图标,地心从这里进) */
.mb-mm-ec .v { flex: 1 1 120px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mb-acts .mb-ib { width: 34px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--ice); }
.mb-acts .mb-ib::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.mb-acts .mb-ib.ic-ed::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4l10-10-4-4L4 16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4l10-10-4-4L4 16z'/%3E%3C/svg%3E"); }


/* ── 5.4.0 保存提示条贴顶时让出站顶栏(原 top:8px,滚动后压在顶栏上;顶栏高 手机 51 / 电脑 75,本地种子站实测) ── */
.flash-wrap { top: 59px; }
@media (min-width: 861px) { .flash-wrap { top: 83px; } }

/* 海外版阶段 2(2026-10-07):时间旁的时区字样「UTC」+ 浏览器本地时间小字(static/utc-localtime.js 填;本地就是 UTC 时不出) */
.ev-utc { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--dim); margin-left: 4px; white-space: nowrap; }
.ev-lt { display: block; font-size: 10.5px; line-height: 1.3; color: var(--dim); font-weight: 400; font-variant-numeric: tabular-nums; }
.ev-lt[hidden] { display: none; }

/* ── 海外版视觉优化(1008,上线前优化 · 视觉):全站共用的几处 ── */
/* 原生文件选择框:按钮做成冰蓝次要键(原来是浏览器默认灰按钮,深色主题下尤其扎眼) */
input[type="file"] { color: var(--dim); font-size: 13px; max-width: 100%; }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line-hi); background: var(--ice-bg); color: var(--ice); font: inherit; font-weight: 700; cursor: pointer; }
input[type="file"]::file-selector-button:active { opacity: .72; }
/* 管理定向月卡横幅(_billing_notice.html)借用了 .flash-wrap 的吸顶:手机上三行横幅一直压在每页顶上、底色半透明透出下面的字
   → 横幅跟着页面走(不吸顶)、底色不透;保存提示等其它 flash 照旧吸顶 */
#bn-wrap { position: static; }
#bn-wrap .flash { background: linear-gradient(var(--float), var(--float)), var(--card); }
/* 「我」页「我的联盟」管理行:盟名整行在上,角色名 + 按钮在下(原三样挤一行,长盟名被截成「[WLF] Nor…」或折成五行窄条) */
@media (max-width: 560px) {
  .me-managed > .fz5-row:has(> .fz5-btn) { flex-wrap: wrap; row-gap: 6px; }
  .me-managed > .fz5-row:has(> .fz5-btn) > .t { flex: 1 1 100%; }
  .me-managed > .fz5-row > .d { max-width: none; margin-right: auto; }
}
