/* 薯条：现代极简浅色画布。白色卡片 + 细边框 + 轻阴影；深色缩略图承载画面；橙色只做价格与进度点缀。
   视觉规范来自《薯条视频站设计方案》（用户定稿），薯条标志与插画沿用原手绘版本。 */
:root {
  --bg-page: #F6F5F2; --bg-canvas: #FAF9F6; --bg-surface: #FFFFFF; --bg-subtle: #F2F0EC; --bg-hover: #EAE7E1; --bg-dark: #141413;
  --ink: #141413; --ink-2: #4A4843; --ink-3: #85817A; --ink-4: #B5B1A8;
  --fry: #F59E0B; --fry-soft: #FEF3C7; --fry-deep: #B45309; --brand: #E04F33; --brand-soft: #FEECE8;
  --ok: #10B981; --ok-soft: #ECFDF5; --info: #2563EB; --info-soft: #EFF6FF; --err: #DC2626; --err-soft: #FEF2F2;
  --line: rgba(20,20,19,.075); --line-strong: rgba(20,20,19,.15);
  --shadow-xs: 0 1px 2px rgba(20,20,19,.03);
  --shadow-sm: 0 2px 8px -2px rgba(20,20,19,.05), 0 1px 2px rgba(20,20,19,.03);
  --shadow-md: 0 10px 30px -6px rgba(20,20,19,.07), 0 2px 6px -1px rgba(20,20,19,.04);
  --shadow-lg: 0 24px 64px -12px rgba(20,20,19,.10), 0 4px 16px -4px rgba(20,20,19,.04);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", ui-monospace, Consolas, monospace;
  --stroke: #1A1815; /* 手绘线条色（深色底上改成浅色） */
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg-page); color: var(--ink); font: 400 14.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; user-select: none; }
button:disabled { cursor: not-allowed; }
a { color: var(--ink); text-decoration: none; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
textarea:focus-visible, input:focus-visible, select:focus-visible { outline: none; }
.ln { fill: none; stroke: var(--stroke); stroke-linecap: round; stroke-linejoin: round; }
svg.i { width: 16px; height: 16px; flex: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ================= 顶栏 ================= */
.app-nav { position: sticky; top: 0; z-index: 20; height: 60px; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.brand-tag { font-size: 11.5px; font-weight: 500; color: var(--ink-3); padding: 2px 7px; border-radius: 6px; background: var(--bg-subtle); margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; height: 100%; overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: center; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { height: 36px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; white-space: nowrap; transition: all .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-subtle); }
.nav-links a.on { color: var(--ink); font-weight: 600; background: var(--bg-subtle); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.credit-pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 9px; border-radius: 999px; background: var(--bg-surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-xs); font-size: 13px; transition: all .15s; white-space: nowrap; }
a.credit-pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.credit-pill svg { width: 18px; height: 18px; }
.credit-pill b { font-weight: 600; color: var(--ink); }
.credit-pill small { color: var(--ink-3); font-size: 12px; }
.station-pill { cursor: default; }
.station-pill small { color: var(--ink-2); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); display: inline-block; flex: none; }
.dot.ok { background: var(--ok); } .dot.busy { background: var(--fry); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #FFF; font-size: 13px; font-weight: 600; display: inline-grid; place-items: center; transition: opacity .15s; flex: none; }
.avatar:hover { opacity: .85; }
.avatar.admin { background: var(--brand); }
.menu { position: absolute; right: 16px; top: 54px; min-width: 190px; background: var(--bg-surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 6px; box-shadow: var(--shadow-lg); z-index: 30; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; }
.menu a:hover, .menu button:hover { background: var(--bg-subtle); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu .who { padding: 8px 12px 6px; font-size: 12px; color: var(--ink-3); }
.banner { background: var(--fry-soft); color: var(--fry-deep); padding: 9px 20px; font-size: 13px; text-align: center; font-weight: 500; }

/* ================= 按钮与控件 ================= */
.btn-primary { height: 44px; padding: 0 20px; border-radius: 11px; background: var(--ink); color: #FFF; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 2px 8px rgba(20,20,19,.14); transition: all .16s ease; white-space: nowrap; }
.btn-primary:hover:not(:disabled) { background: #292826; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20,20,19,.18); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { background: var(--bg-hover); color: var(--ink-3); box-shadow: none; }
.cost-badge { padding: 2px 9px; border-radius: 999px; background: rgba(245,158,11,.22); color: #FCD34D; font-size: 12.5px; font-weight: 600; }
.btn-primary:disabled .cost-badge { background: rgba(20,20,19,.06); color: var(--ink-3); }
.btn-secondary { height: 36px; padding: 0 14px; border-radius: 9px; background: var(--bg-surface); border: 1px solid var(--line-strong); color: var(--ink); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow-xs); transition: all .15s; white-space: nowrap; }
.btn-secondary:hover:not(:disabled) { background: var(--bg-subtle); border-color: var(--ink-3); }
.btn-secondary:disabled { opacity: .5; }
.btn-secondary svg { width: 15px; height: 15px; }
.btn-secondary.danger { color: var(--err); }
.btn-ghost { height: 30px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; transition: all .15s; }
.btn-ghost:hover:not(:disabled) { background: var(--bg-subtle); color: var(--ink); }
.btn-ghost:disabled { opacity: .55; cursor: wait; }
.btn-ghost svg { width: 14px; height: 14px; color: var(--fry-deep); }
.link-btn { color: var(--ink); font-weight: 600; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.link-btn:hover { text-decoration-color: var(--ink); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 10px; background: var(--bg-subtle); border: 1px solid var(--line); }
.seg.fit { display: inline-flex; width: auto; }
.seg button { height: 30px; padding: 0 10px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 5px; transition: all .14s ease; white-space: nowrap; }
.seg button:hover:not(:disabled):not(.on) { color: var(--ink); }
.seg button.on { background: var(--bg-surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-xs); }
.seg button:disabled { opacity: .35; }
.seg.sm button { height: 26px; padding: 0 9px; font-size: 12px; }
.ar-box { display: inline-block; border: 1.5px solid currentColor; border-radius: 2px; opacity: .75; }
.filter-pills { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.filter-pills button, .filter-pills a { height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: all .15s; display: inline-flex; align-items: center; }
.filter-pills button:hover, .filter-pills a:hover { color: var(--ink); background: var(--bg-subtle); }
.filter-pills .on { background: var(--ink) !important; color: #FFF !important; font-weight: 600; }
.input-group { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.input, .input-group input, .input-group textarea, .input-group select { height: 42px; padding: 0 13px; border-radius: 10px; background: var(--bg-canvas); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 400; color: var(--ink); transition: all .15s; width: 100%; }
.input-group textarea, textarea.input { height: auto; min-height: 96px; padding: 11px 13px; line-height: 1.6; resize: vertical; }
.input:focus, .input-group input:focus, .input-group textarea:focus { background: var(--bg-surface); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,19,.06); }
.input-group .hint { font-weight: 400; }
.check-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.check-pill input { width: 15px; height: 15px; accent-color: var(--ink); cursor: pointer; }
.check-pill small { color: var(--ink-3); font-size: 12px; font-weight: 400; }
.err-msg { font-size: 12.5px; color: var(--err); min-height: 18px; margin: -4px 0; }
.hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }
.muted { color: var(--ink-3); }

/* ================= 卡片 ================= */
.card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-xs); }
.card h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card h4 span { font-size: 12px; color: var(--ink-3); font-weight: 400; }

/* ================= 创作台 ================= */
.create-layout { display: grid; grid-template-columns: 400px minmax(0,1fr); min-height: calc(100vh - 60px); }
/* 左栏独立滚动：生成记录再长，生成按钮也够得着 */
.composer-pane { position: sticky; top: 60px; align-self: start; height: calc(100vh - 60px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 22px 24px 26px; background: var(--bg-surface); border-right: 1px solid var(--line); }
.composer-inner { display: flex; flex-direction: column; gap: 16px; }
.mode-pills { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: var(--bg-subtle); border: 1px solid var(--line); }
.mode-pills button { height: 32px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all .15s; }
.mode-pills button:hover:not(.on) { color: var(--ink); }
.mode-pills button.on { background: var(--bg-surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-xs); }
.prompt-card { background: var(--bg-canvas); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 12px 14px 10px; transition: border-color .15s, box-shadow .15s, background .15s; }
.prompt-card:focus-within { background: var(--bg-surface); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,19,.05); }
.dropzone { margin-bottom: 10px; padding: 12px; border: 1.5px dashed var(--line-strong); border-radius: 9px; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--ink); background: var(--bg-subtle); }
.dropzone svg { width: 16px; height: 16px; color: var(--ink-3); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.thumb { position: relative; width: 64px; height: 64px; border-radius: 9px; overflow: hidden; background: var(--bg-subtle); border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(20,20,19,.72); color: #FFF; font-size: 12px; line-height: 20px; }
.thumb.add { display: grid; place-items: center; border: 1.5px dashed var(--line-strong); background: var(--bg-surface); color: var(--ink-3); font-size: 22px; }
.thumb.add:hover { border-color: var(--ink); color: var(--ink); }
.role-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.role-chip { height: 30px; padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-surface); display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: all .15s; }
.role-chip:hover:not(.on) { border-color: var(--ink-3); color: var(--ink); }
.role-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.role-chip.on { background: var(--ink); color: #FFF; border-color: var(--ink); }
.role-chip.add { padding: 0 11px; border-style: dashed; }
.prompt-card textarea { width: 100%; min-height: 92px; resize: none; font-size: 14px; line-height: 1.62; color: var(--ink); display: block; }
.prompt-card textarea::placeholder { color: var(--ink-3); }
.prompt-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.prompt-tags span { font-size: 11.5px; color: var(--ink-3); }
.tag-chip { padding: 2px 8px; border-radius: 6px; background: var(--bg-subtle); color: var(--ink-2); font-size: 11.5px; transition: all .14s; }
.tag-chip:hover { background: var(--bg-hover); color: var(--ink); }
.prompt-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.char-cnt { font-size: 12px; color: var(--ink-3); }
.field-block { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; justify-content: space-between; }
.field-label span + span { font-weight: 400; color: var(--ink-3); }
.pickwrap { position: relative; }
.model-picker { width: 100%; padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-canvas); border: 1px solid var(--line-strong); display: grid; grid-template-columns: 36px minmax(0,1fr) auto 16px; align-items: center; gap: 10px; text-align: left; transition: all .15s; }
.model-picker:hover, .model-picker[aria-expanded="true"] { background: var(--bg-surface); border-color: var(--ink); box-shadow: var(--shadow-xs); }
.model-ico { width: 36px; height: 36px; border-radius: 9px; background: var(--bg-surface); border: 1px solid var(--line); display: grid; place-items: center; }
.model-ico svg { width: 20px; height: 20px; }
.model-info { min-width: 0; }
.model-info .nm { font-weight: 600; font-size: 14px; color: var(--ink); display: block; line-height: 1.25; }
.model-info .ds { font-size: 12px; color: var(--ink-3); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-price { padding: 3px 8px; border-radius: 6px; background: var(--fry-soft); color: var(--fry-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chev { width: 15px; height: 15px; color: var(--ink-3); transition: transform .15s; }
.model-picker[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--ink); }
.model-pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: var(--bg-surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 6px; box-shadow: var(--shadow-lg); }
.model-opt { width: 100%; padding: 10px; border-radius: 9px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto 16px; align-items: center; gap: 10px; text-align: left; transition: background .12s; }
.model-opt:hover { background: var(--bg-subtle); }
.model-opt[aria-selected="true"] { background: var(--bg-canvas); }
.model-opt .model-ico { width: 34px; height: 34px; }
.model-opt .nm { font-weight: 600; font-size: 13.5px; display: block; }
.model-opt .ds { font-size: 12px; color: var(--ink-3); display: block; line-height: 1.35; }
.model-opt .pr { font-size: 12px; font-weight: 600; color: var(--ink-2); text-align: right; white-space: nowrap; }
.model-opt .pr small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.model-opt .ck { width: 15px; height: 15px; opacity: 0; color: var(--ink); }
.model-opt[aria-selected="true"] .ck { opacity: 1; }
.param-grid { display: flex; flex-direction: column; gap: 12px; }
.param-row-2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; }
details.adv summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); list-style: none; display: inline-flex; align-items: center; gap: 4px; }
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary::before { content: "›"; display: inline-block; transition: transform .15s; }
details.adv[open] summary::before { transform: rotate(90deg); }
details.adv .check-pill { margin-top: 8px; }
.submit-area { padding-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.submit-area .btn-primary { width: 100%; }
.eta-line { font-size: 12px; color: var(--ink-3); text-align: center; }

/* ================= 生成记录 ================= */
.feed-pane { padding: 24px 28px 40px; background: var(--bg-canvas); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.feed-head-l { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.feed-head h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.privacy-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-3); padding: 4px 10px; border-radius: 999px; background: var(--bg-subtle); }
.privacy-tag svg { width: 13px; height: 13px; }
.day-divider { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: 4px; display: flex; align-items: center; gap: 10px; }
.day-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.video-grid.img { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.vcard { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column; min-width: 0; }
.vcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.vthumb { aspect-ratio: 16/9; background: #1C1B19; position: relative; overflow: hidden; display: grid; place-items: center; }
.vthumb.portrait { aspect-ratio: 9/16; } .vthumb.square { aspect-ratio: 1; }
.vthumb img, .vthumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.vthumb.media { cursor: pointer; }
.vthumb.media:hover img { transform: scale(1.035); }
.play-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(20,20,19,.72); color: #FFF; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; opacity: 0; transform: scale(.92); transition: all .18s ease; pointer-events: none; }
.play-btn svg { width: 17px; height: 17px; margin-left: 2px; }
.hover-bar { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, transparent 42%, transparent 58%, rgba(0,0,0,.56) 100%); padding: 10px 12px; display: flex; justify-content: space-between; align-items: flex-end; opacity: 0; transition: opacity .18s ease; }
.vthumb.media:hover .play-btn, .vthumb.media:focus-visible .play-btn, .vthumb.media:hover .hover-bar, .vthumb.media:focus-visible .hover-bar, .vthumb.media:focus-within .hover-bar { opacity: 1; transform: scale(1); }
@media (hover: none) { .hover-bar { opacity: 1; } }
.hover-acts { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.icon-act { width: 30px; height: 30px; border-radius: 8px; background: rgba(20,20,19,.72); color: #FFF; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: all .14s; }
.icon-act:hover { background: #FFF; color: var(--ink); transform: scale(1.05); }
.icon-act.on { background: var(--fry); border-color: var(--fry); color: #FFF; }
.icon-act svg { width: 14px; height: 14px; }
.dur-pill { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: rgba(20,20,19,.72); color: #FFF; font-size: 11.5px; font-weight: 500; }
.pub-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(20,20,19,.72); color: #FFF; backdrop-filter: blur(8px); font-size: 11px; font-weight: 500; }
.vthumb.state-gen { background: radial-gradient(120% 100% at 20% 15%, #2D2A24 0%, #171614 100%); color: #FFF; }
.shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(245,158,11,.10) 50%, transparent 75%); background-size: 220% 100%; animation: shimmer 2.2s infinite linear; }
@keyframes shimmer { to { background-position: -220% 0; } }
.gen-center { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 12px; }
.gen-center svg { width: 26px; height: 26px; color: rgba(255,255,255,.7); }
.gen-pct { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: #FFF; }
.gen-title { font-size: 14px; font-weight: 600; color: #FFF; }
.gen-sub { font-size: 11.5px; color: rgba(255,255,255,.65); }
.gen-bar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.gen-bar i { display: block; height: 100%; background: var(--fry); border-radius: 999px; transition: width .6s linear; }
.vthumb.state-fail { background: var(--bg-subtle); color: var(--ink-3); }
.fail-box { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); text-align: center; padding: 0 12px; }
.fail-box svg { width: 28px; height: 28px; opacity: .55; }
.vbody { padding: 12px 14px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.vprompt { font-size: 13.5px; color: var(--ink); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta { margin-top: auto; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.mtag { padding: 1px 7px; border-radius: 5px; background: var(--bg-subtle); color: var(--ink-2); font-weight: 600; font-size: 11.5px; white-space: nowrap; }
.mtag.live { background: var(--info-soft); color: var(--info); }
.mtag.err { background: var(--err-soft); color: var(--err); }
.mtag.warn { background: var(--fry-soft); color: var(--fry-deep); }
.mtag.ok { background: var(--ok-soft); color: var(--ok); }
.vmeta .acts-r { margin-left: auto; display: inline-flex; gap: 10px; }
.empty-state { padding: 52px 16px; text-align: center; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 12px; grid-column: 1 / -1; font-size: 13.5px; }
.empty-state svg { width: 112px; height: 94px; }

/* ================= 通用页面 ================= */
.page-pane { max-width: 1240px; margin: 0 auto; padding: 26px max(28px, env(safe-area-inset-right)) 48px max(28px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 22px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head-l { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.page-head h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.page-head p { font-size: 13px; color: var(--ink-3); }
.storage-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border-radius: 999px; background: var(--bg-surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.storage-bar { width: 68px; height: 6px; border-radius: 999px; background: var(--bg-subtle); overflow: hidden; display: inline-block; }
.storage-bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.lib-cap { padding: 11px 13px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lib-cap b { font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-cap span { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.lib-cap .author { color: var(--ink-2); font-weight: 600; }

/* ================= 故事短片 ================= */
.story-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.step-bar { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.step-item { display: inline-flex; align-items: center; gap: 7px; }
.step-item b { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-subtle); color: var(--ink-3); font-size: 11.5px; font-weight: 600; display: inline-grid; place-items: center; }
.step-item.done { color: var(--ink-2); } .step-item.done b { background: var(--ok-soft); color: var(--ok); }
.step-item.cur { color: var(--ink); font-weight: 600; } .step-item.cur b { background: var(--ink); color: #FFF; }
.step-sep { width: 24px; height: 1px; background: var(--line-strong); }
.idea-card { background: var(--bg-surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 12px; }
.idea-main { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; }
.idea-badge { padding: 4px 9px; border-radius: 6px; background: var(--fry-soft); color: var(--fry-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.editable { padding: 4px 8px; margin: -4px -8px; border-radius: 6px; transition: background .14s, box-shadow .14s; outline: none; display: block; cursor: text; }
.editable:hover { background: var(--bg-subtle); }
.editable:focus { background: var(--bg-surface); box-shadow: 0 0 0 2px var(--ink); }
.editable:empty::before { content: attr(data-ph); color: var(--ink-4); }
.idea-text { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.idea-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.idea-meta span b { color: var(--ink-2); font-weight: 600; margin-left: 4px; }
.idea-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.idea-form textarea { width: 100%; min-height: 84px; resize: vertical; font-size: 15px; line-height: 1.6; }
.idea-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.idea-row .field-label { margin-right: -6px; }
.idea-row .btn-primary { margin-left: auto; }
.shots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.shot-card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 11px; transition: border-color .15s, box-shadow .15s; }
.shot-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.shot-head { display: flex; align-items: center; gap: 8px; }
.shot-num { padding: 2px 8px; border-radius: 6px; background: var(--bg-subtle); color: var(--ink-2); font-size: 11.5px; font-weight: 700; font-family: var(--mono); white-space: nowrap; }
.shot-head .editable { flex: 1; font-size: 14px; font-weight: 600; margin: -4px 0; }
.shot-vis { aspect-ratio: 16/9; border-radius: 9px; background: #191816; position: relative; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; --stroke: #F2EFE8; }
.shot-vis svg { width: 72%; height: auto; }
.cam-pill { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(20,20,19,.72); color: rgba(255,255,255,.9); backdrop-filter: blur(6px); font-size: 11px; font-weight: 500; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-field { display: flex; flex-direction: column; gap: 3px; }
.shot-field small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.shot-desc { font-size: 13px; color: var(--ink); line-height: 1.55; }
.shot-line { font-size: 12.5px; color: var(--ink-2); padding: 7px 10px; margin: 0; border-radius: 8px; background: var(--bg-canvas); border-left: 2.5px solid var(--fry); }
.shot-foot { display: flex; justify-content: flex-end; }
.story-dock { background: var(--bg-surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dock-checks { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dock-right { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-wrap: wrap; }
.dock-eta { font-size: 12.5px; color: var(--ink-3); }

/* ================= 角色 ================= */
.char-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; max-width: 680px; }

/* ================= 我的薯条 ================= */
.me-pane { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 22px; }
.tier-card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 16px; align-self: start; }
.tier-badge-row { display: flex; align-items: center; gap: 12px; }
.tier-badge-row svg { width: 46px; height: 46px; flex-shrink: 0; }
.tier-badge-row b { display: block; font-size: 16px; font-weight: 700; }
.tier-badge-row small { color: var(--ink-3); font-size: 12.5px; }
.bal-hero { padding: 18px 0 4px; border-top: 1px solid var(--line); }
.bal-label { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.bal-num { font-size: 46px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: var(--ink); }
.bal-num small { font-size: 16px; font-weight: 500; color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.quota-meter { height: 8px; border-radius: 999px; background: var(--bg-subtle); overflow: hidden; }
.quota-meter i { display: block; height: 100%; background: var(--fry); border-radius: 999px; transition: width .25s ease; }
.quota-captions { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.equiv-box { padding: 14px; border-radius: var(--r-md); background: var(--bg-canvas); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.equiv-box b { color: var(--ink); font-weight: 700; }
.equiv-box .plus { color: var(--ok); }
.me-right { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .b { cursor: pointer; transition: opacity .15s; }
.chart-svg .b:hover { opacity: .82; }
.me-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; }
.spend-list { display: flex; flex-direction: column; gap: 12px; }
.spend-row { display: grid; grid-template-columns: 64px 1fr 56px; align-items: center; gap: 10px; font-size: 13px; }
.spend-row span:first-child { color: var(--ink-2); font-weight: 500; }
.spend-track { height: 7px; border-radius: 999px; background: var(--bg-subtle); overflow: hidden; }
.spend-track i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.spend-val { text-align: right; font-weight: 600; color: var(--ink); }
.ledger-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.ledger-tbl td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.ledger-tbl tr:last-child td { border-bottom: 0; }
.ledger-tbl td:first-child { color: var(--ink-3); width: 96px; font-size: 12px; white-space: nowrap; }
.ledger-tbl td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.plus { color: var(--ok); }
.form-stack { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }

/* ================= 登录 ================= */
.login-pane { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.login-showcase { padding: 44px 48px; background: #161614; color: #FFF; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; --stroke: #F2EFE8; }
.login-showcase::before { content: ""; position: absolute; width: 460px; height: 460px; right: -120px; bottom: -120px; background: radial-gradient(circle, rgba(245,158,11,.18) 0%, rgba(224,79,51,.08) 45%, transparent 70%); pointer-events: none; }
.login-showcase .brand { color: #FFF; }
.login-copy h1 { font-size: clamp(30px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin: 28px 0 12px; }
.login-copy p { font-size: 14.5px; color: rgba(255,255,255,.68); max-width: 360px; line-height: 1.65; }
.login-art { width: min(300px, 70%); height: auto; align-self: center; position: relative; z-index: 1; }
.login-feats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.6); position: relative; z-index: 1; }
.login-feats span { display: inline-flex; align-items: center; gap: 6px; }
.login-feats i { width: 6px; height: 6px; border-radius: 50%; background: var(--fry); }
.login-form-wrap { padding: 48px 28px; background: var(--bg-surface); display: grid; place-items: center; }
.login-form { width: min(340px, 100%); display: flex; flex-direction: column; gap: 16px; }
.login-form h2 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.login-form .sub { font-size: 13px; color: var(--ink-3); margin-top: -8px; }
.login-form .btn-primary { width: 100%; }
.login-help { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.invite-notice { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--bg-canvas); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.invite-notice b { color: var(--ink); font-weight: 600; }

/* ================= 后台 ================= */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.kpi-card { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 6px; }
.kpi-card .k { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.kpi-card .v { font-size: 26px; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.kpi-card .v small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.kpi-card .s { font-size: 12px; color: var(--ink-3); }
.kpi-bar { height: 4px; border-radius: 999px; background: var(--bg-subtle); overflow: hidden; margin-top: 4px; }
.kpi-bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.timeline-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink); gap: 10px; flex-wrap: wrap; }
.timeline-head span { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.tl-track { height: 12px; border-radius: 6px; background: var(--bg-subtle); position: relative; overflow: hidden; }
.tl-track i { position: absolute; top: 0; bottom: 0; background: var(--ok); border-radius: 3px; }
.tl-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-top: 6px; }
.admin-cols { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; align-items: start; }
.tblwrap { overflow-x: auto; }
.mem-tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.mem-tbl th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding: 0 8px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mem-tbl td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mem-tbl tr:last-child td { border-bottom: 0; }
.tier-select { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 9px; border-radius: 8px; background: var(--bg-canvas); border: 1px solid var(--line-strong); transition: border-color .15s; }
.tier-select:hover { border-color: var(--ink); }
.tier-select svg.pk { width: 18px; height: 18px; }
.tier-select select { font-weight: 600; font-size: 12.5px; cursor: pointer; padding-right: 2px; appearance: auto; }
.mini-meter { width: 56px; height: 5px; border-radius: 999px; background: var(--bg-subtle); display: inline-block; vertical-align: middle; margin-right: 8px; overflow: hidden; }
.mini-meter i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; }
.more-btn { width: 28px; height: 28px; border-radius: 7px; color: var(--ink-3); display: inline-grid; place-items: center; }
.more-btn:hover { background: var(--bg-subtle); color: var(--ink); }
.more-btn svg { width: 15px; height: 15px; }
.invite-box { display: flex; flex-direction: column; gap: 12px; }
.invite-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); font-weight: 500; gap: 10px; }
.invite-url-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--bg-canvas); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.invite-url-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-list { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.svc-list div { display: flex; justify-content: space-between; color: var(--ink-3); gap: 10px; }
.svc-list div span:last-child { color: var(--ink-2); font-weight: 500; }
.svc-ok { color: var(--ok) !important; } .svc-no { color: var(--err) !important; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
pre.log { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font: 12px/1.6 var(--mono); overflow: auto; max-height: 64vh; white-space: pre-wrap; word-break: break-all; }

/* ================= 弹层与提示 ================= */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(20,20,19,.62); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.modal .box { background: var(--bg-surface); border-radius: var(--r-xl); max-width: min(980px, 100%); max-height: 100%; overflow: auto; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.modal .media { background: #111; display: grid; place-items: center; }
.modal .media video, .modal .media img { max-width: 100%; max-height: 70vh; display: block; }
.modal .info { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.modal .info p:first-child { font-size: 14.5px; }
.modal .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.modal .row .sp { margin-left: auto; }
.modal .x { position: fixed; top: 14px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 20px; box-shadow: var(--shadow-md); }
.dialog { background: var(--bg-surface); border-radius: var(--r-lg); padding: 22px; width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); }
.dialog h3 { font-size: 17px; font-weight: 700; }
.dialog .row { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 10px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #FFF; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .2s ease; z-index: 60; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.boot { min-height: 100vh; display: grid; place-items: center; }

/* ================= 窄屏 ================= */
@media (max-width: 1080px) { .nav-links a { padding: 0 10px; } }
@media (max-width: 980px) {
  .create-layout { grid-template-columns: minmax(0,1fr); }
  .composer-pane { position: static; height: auto; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .feed-pane { padding: 20px 18px 40px; }
  .me-pane, .me-split, .admin-cols, .settings-grid { grid-template-columns: minmax(0,1fr); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .login-pane { grid-template-columns: minmax(0,1fr); }
  .login-showcase { padding: 28px 22px; } .login-art { display: none; } .login-copy h1 { margin-top: 18px; }
  .login-form-wrap { padding: 28px 22px 40px; align-items: start; }
}
@media (max-width: 720px) {
  /* 手机：导航单独一行，可横向滑动 */
  .app-nav { gap: 0 10px; padding: 0 14px; height: auto; min-height: 56px; flex-wrap: wrap; }
  .brand { height: 56px; }
  .nav-links { order: 3; flex: 1 0 100%; height: 44px; justify-content: flex-start; margin: 0 -14px; padding: 0 10px 6px; }
  .nav-links a { height: 32px; padding: 0 12px; font-size: 13.5px; }
  .lib-cap { flex-direction: column; align-items: flex-start; gap: 1px; }
  .lib-cap b { max-width: 100%; }
  .nav-right .station-pill { display: none; }
  .composer-pane { padding: 18px 16px 22px; }
  .page-pane { padding: 20px 16px 40px; }
  .lib-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .video-grid { grid-template-columns: minmax(0,1fr); }
  .param-row-2 { grid-template-columns: minmax(0,1fr); }
  .idea-main { grid-template-columns: minmax(0,1fr); }
  .seg button { padding: 0 6px; }
}

/* ================= 补充 ================= */
.vthumb.contain img { object-fit: contain; }
.login-art { aspect-ratio: 320 / 280; }
.cam-pill.editable { margin: 0; display: block; cursor: text; }
.cam-pill.editable:hover { background: rgba(20,20,19,.86); }
.cam-pill.editable:focus { background: rgba(20,20,19,.92); box-shadow: 0 0 0 2px var(--fry); }
.cam-pill.editable:empty::before { color: rgba(255,255,255,.5); }
.shot-foot .btn-ghost svg { color: inherit; }
.dialog > .btn-secondary { justify-content: center; height: 40px; }
.card > h4 .btn-secondary { flex: none; }
.app-nav .nav-links[hidden] { display: none !important; }

/* ================= 系统健康 ================= */
.dot.err { background: var(--err); }
.banner.err { background: var(--err-soft); color: var(--err); }
.health-list { display: flex; flex-direction: column; }
.health-row { display: grid; grid-template-columns: 92px 10px minmax(0,1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.health-row:last-child { border-bottom: 0; }
.health-row time { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.health-row i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ok); }
.health-row i.warn { background: var(--fry); }
.health-row i.error { background: var(--err); }
.health-row small { color: var(--ink-3); margin-left: 6px; }
.problems { display: flex; flex-direction: column; gap: 8px; }
.problem { padding: 11px 14px; border-radius: var(--r-md); font-size: 13.5px; line-height: 1.55; }
.problem.error { background: var(--err-soft); color: var(--err); }
.problem.warn { background: var(--fry-soft); color: var(--fry-deep); }
.problem.ok { background: var(--ok-soft); color: var(--ok); }
