/* 運営の頁（dev.topx.jp）の世界。入口（top.css）と同じ決まりで、すべての頁を揃える。
     ・白い面1枚。箱も影も角丸も置かない。切れ目は細い罫だけ
     ・色は墨と灰。朱（凸版の色）は「見るべき所」だけ：主の釦・気を付ける値・消す操作
     ・欄は面を持たず、細い下線だけ（入口の入る欄と同じ）
   部品の形は admin.css・app.css のまま。ここでは色の札と、面・縁・線の出し方だけを替える。
   図の色は札（--accent など）から取っているので、札を替えれば図も揃う */

.dev-world {
  --brand: #e8400f;
  --accent: var(--ink);
  --accent-ink: var(--surface);
  --accent-8: rgba(28, 28, 30, .05);
  --accent-12: rgba(28, 28, 30, .09);
  --accent-tint: rgba(28, 28, 30, .07);
  --ok: var(--ink-2);
  --warn: #9aa1ac;
  --danger: var(--brand);
  --after: var(--ink);
  --card: var(--surface);
  accent-color: var(--ink);
}
html.dev-world, .dev-world body { background: var(--surface); }

/* ── 面 ── */
.dev-world #admin .head { box-shadow: none; border-radius: 0; background: none; padding: 4px 6px; min-height: 44px; }
.dev-world #admin .body {
  border-radius: 0; background: none; box-shadow: none;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 6px 6px 40px;
}
.dev-world #admin .brand-name { font-weight: 700; letter-spacing: .1em; }
.dev-world #admin .brand .mark { display: none; }

/* 頁の見出し。星図の読みと同じ形 */
.page-head { display: grid; gap: 10px; padding: 14px 0 20px; }
.page-head:empty { display: none; }
.page-head .r-kicker { display: flex; align-items: center; gap: 8px; }
.page-mark {
  width: 18px; height: 18px; background: var(--ink);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
}
.dev-world #admin .page-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
.dev-world #admin .tabpanel > .sect:first-child,
.dev-world #admin .tabpanel > .two:first-child { border-top: 1px solid var(--line-strong); }

/* 節の見出しは小さく、字間を空けて置く（大きさで競わせない。大きいのは頁の名前だけ） */
.dev-world #admin .sect h2, .dev-world #admin .sect h3 {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-2);
}
.dev-world #admin .lead-text h2 { color: var(--ink-3); }
.dev-world .cost-v { color: var(--ink); font-weight: 700; }

/* ── 釦。面を持たず、細い輪だけ。主の釦だけが朱の輪（入口の「はじめる」と同じ） ── */
.dev-world .btn {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.dev-world .btn:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.dev-world .btn:active { background: var(--fill-1); }
.dev-world .btn.primary {
  background: transparent; color: var(--brand); font-weight: 600; letter-spacing: .06em;
  box-shadow: inset 0 0 0 1px var(--brand);
}
.dev-world .btn.primary:hover, .dev-world .btn.primary:focus-visible { background: var(--brand); color: #fff; outline: none; }
.dev-world .btn.primary:active { background: var(--brand); }
.dev-world .btn.quiet { box-shadow: none; color: var(--ink-2); }
.dev-world .btn.quiet:hover { background: var(--fill-1); color: var(--ink); box-shadow: none; }
.dev-world .btn.quiet[aria-pressed="true"] { background: none; color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); border-radius: 0; }
.dev-world .btn.danger { color: var(--brand); }
.dev-world .btn.danger:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--brand); }
.dev-world .btn.danger.strong { background: var(--brand); color: #fff; box-shadow: none; }
.dev-world .btn[disabled], .dev-world .btn[aria-disabled="true"],
.dev-world .btn.primary[disabled], .dev-world .btn.danger[disabled] {
  background: transparent; color: var(--ink-3); opacity: .55;
  box-shadow: inset 0 0 0 1px var(--separator);
}
.dev-world .pager .btn.on { background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

/* ── 欄。面も枠も置かず、細い下線だけ。選ぶと線が朱になる ── */
.dev-world input[type="text"], .dev-world input[type="search"], .dev-world input[type="email"],
.dev-world input[type="password"], .dev-world input[type="number"], .dev-world input[type="date"],
.dev-world select {
  padding: 6px 2px 7px; border-radius: 0; background-color: transparent;
  box-shadow: inset 0 -1px 0 var(--line-strong);
  caret-color: var(--brand);
}
.dev-world select { padding-right: 26px; }
.dev-world textarea {
  border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong);
  caret-color: var(--brand);
}
.dev-world input[type="text"]:hover, .dev-world input[type="search"]:hover, .dev-world input[type="email"]:hover,
.dev-world input[type="password"]:hover, .dev-world input[type="number"]:hover, .dev-world textarea:hover { background-color: transparent; }
.dev-world input[type="text"]:focus, .dev-world input[type="search"]:focus, .dev-world input[type="email"]:focus,
.dev-world input[type="password"]:focus, .dev-world input[type="number"]:focus, .dev-world input[type="date"]:focus,
.dev-world select:focus {
  background-color: transparent; box-shadow: inset 0 -1.5px 0 var(--brand);
}
.dev-world textarea:focus { background: transparent; box-shadow: inset 0 0 0 1px var(--brand); }

/* ── 切り替え。溝もつまみも置かず、字と下線だけ ── */
.dev-world .seg { padding: 0; gap: 4px; border-radius: 0; background: none; }
.dev-world .seg-btn { padding: 5px 10px; border-radius: 0; color: var(--ink-3); }
.dev-world .seg-btn:hover { background: none; color: var(--ink); }
.dev-world .seg-btn[aria-pressed="true"] {
  background: none; color: var(--ink); font-weight: 600; box-shadow: inset 0 -1.5px 0 var(--ink);
}

/* ── 表 ── */
.dev-world #admin th {
  font-size: 11px; letter-spacing: .04em; color: var(--ink-3);
  border-bottom: 1px solid var(--line-strong);
}
.dev-world #admin tbody tr:hover { background: var(--fill-1); }

/* 札は面を持たない。字の色だけで言う（気を付ける物だけ朱） */
.dev-world #admin .pill { padding: 0; border-radius: 0; background: none; letter-spacing: .04em; }
.dev-world #admin .pill.done { background: none; color: var(--ink-2); }
.dev-world #admin .pill.wait { background: none; color: var(--ink); }
.dev-world #admin .pill.rework { background: none; color: var(--brand); }
.dev-world #admin .pill.todo { background: none; color: var(--ink-3); }

/* ── 帯と針。太い帯は置かず、細い線にする ── */
.dev-world .meter, .dev-world .gauge { height: 2px; border-radius: 0; background: var(--separator); overflow: visible; }
.dev-world .meter i, .dev-world .gauge span { border-radius: 0; height: 2px; }
.dev-world .share-bar { height: 4px; border-radius: 0; background: var(--separator); }
.dev-world .share-row i, .dev-world .legend i, .dev-world .legend i.rt-ok, .dev-world .legend i.rt-ng,
.dev-world .tc-tip i { width: 8px; height: 8px; border-radius: 50%; }
.dev-world .hb-track { height: 4px; border-radius: 0; background: var(--separator); }
.dev-world .hb-track > i, .dev-world .rt { border-radius: 0; }
.dev-world .rt-ok { background: var(--ink); }
.dev-world .rt-ng { background: var(--brand); }
.dev-world .tc-tip { border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-strong); }
.dev-world .now { border-top: 0; }
.dev-world .now-v { font-weight: 700; }
.dev-world .heat canvas { border-radius: 0; background: #f5f5f6; }

/* ── アカウント。受け持ちは十二宮の印。入れた所だけ墨、ほかは灰（星図の輪と同じ） ── */
.dev-world .role { padding: 4px 6px 4px 0; border-radius: 0; background: none; }
.dev-world .role:hover { background: none; }
.dev-world .role:hover span { color: var(--ink); }
.dev-world .role i { width: 30px; height: 30px; border-radius: 0; background: var(--sign-off, rgba(128, 138, 155, .34)); opacity: 1;
  -webkit-mask-size: contain; mask-size: contain; }
.dev-world .role:has(input:checked) { background: none; }
.dev-world .role:has(input:checked) i { background: var(--ink); }
.dev-world .role:has(input:focus-visible) { outline: 2px solid var(--brand); }
.dev-world .issued { border-radius: 0; background: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0; }
.dev-world #admin .tag { color: var(--ink-2); }
.dev-world #admin .tag.gone { color: var(--brand); }
.dev-world .switch-state[data-on="true"] { color: var(--ink); }

/* ── 画像 ── */
.dev-world .pair { border-radius: 0; background: none; box-shadow: none; }
.dev-world .pair:hover { box-shadow: none; }
.dev-world .pair:hover b { color: var(--brand); }
.dev-world .pair-shots { background: none; }
.dev-world .pair figcaption { padding: 0 0 12px; }
.dev-world .lightbox { border-radius: 0; }
.dev-world .lb-body figcaption, .dev-world .lb-arrow { border-radius: 0; }

/* ── 窓（確かめ・入力）。角を立て、影の代わりに細い縁 ── */
.dev-world dialog:not(.lightbox):not(.door-dialog) { border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-strong), 0 18px 60px rgba(28, 28, 30, .12); }

/* ── 分析の先頭：すべてのアカウントの今 ── */
.all-people { display: grid; gap: 10px; }
.all-people .r-nums { margin-bottom: 4px; }

/* ── 運営の入口（入る前）。入口と同じく、欄は真ん中に、字も真ん中から ── */
.dev-world .dev-login-box { justify-items: stretch; text-align: center; }
.dev-world .dev-login-box .nu-field { justify-items: center; font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.dev-world .dev-login-box .nu-field input { text-align: center; font-size: 15px; letter-spacing: 0; color: var(--ink); }
.dev-world .dev-login-box .btn.primary { justify-self: center; padding: 7px 26px; letter-spacing: .12em; }

@media (max-width: 900px) {
  .dev-world #admin .body { padding: 4px 2px 32px; }
  /* 天体の帯は1行にして横へ送る（3行に折ると、頁の中身が下へ押される） */
  .dev-world #admin .orbit { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .dev-world #admin .orbit::-webkit-scrollbar { display: none; }
}

/* ── 星詠みの図（star-charts.js）。線は細い墨、軌道は髪の毛ほどの灰、針だけが朱 ── */
.sc-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 4vw, 56px); }
.sc { position: relative; flex: none; width: min(100%, 430px); outline: none; touch-action: pan-y; cursor: crosshair; }
.sc svg { display: block; width: 100%; height: auto; max-width: none; overflow: visible; }
.sc:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 50%; }
.sc-rim { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.sc-orbit { fill: none; stroke: var(--line-strong); stroke-width: .7; }
.sc-orbit.faint { stroke-dasharray: 1.5 3; }
.sc-tick { stroke: var(--ink); stroke-width: .8; opacity: .55; }
.sc-label { font-size: 10.5px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.sc-needle { stroke: var(--brand); stroke-width: 1.4; transition: transform .12s linear; }
.sc-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 30%; display: grid; justify-items: center; gap: 2px; text-align: center; pointer-events: none;
}
.sc:not(.houses) .sc-core { top: 50.2%; }
.sc-core small { font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; }
.sc-core b { font-size: clamp(17px, 2.2vw, 24px); font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-read { flex: 1 1 15em; min-width: 0; max-width: 26em; margin: 0; display: grid; gap: 0; }
.sc-read div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--separator); }
.sc-read dt { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.sc-read dt i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.sc-read dd { margin: 0; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* 十二宮の盤 */
.sc.houses { cursor: default; }
.sc-house { stroke: var(--ink); stroke-width: 5; transition: opacity .16s; }
.sc-chord { stroke: var(--ink); stroke-width: .8; opacity: var(--o, .5); transition: opacity .16s; }
.sc.houses[data-on="true"] .sc-house:not(.on) { opacity: .16; }
.sc.houses[data-on="true"] .sc-chord:not(.on) { opacity: .05 !important; }
.sc.houses .sc-chord.on { stroke: var(--brand); stroke-width: 1.2; opacity: 1 !important; }
.sc-sign {
  position: absolute; translate: -50% -50%; width: 9.5%; aspect-ratio: 1;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.sc-sign i {
  display: block; width: 100%; height: 100%; background: var(--sign-off, rgba(128, 138, 155, .34));
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  transition: background .14s;
}
.sc-sign:hover i, .sc-sign:focus-visible i, .sc-sign[aria-pressed="true"] i { background: var(--ink); }
.sc-sign:focus-visible { outline: none; }
.sc.houses .sc-core { width: 24%; padding: 8px 0; background: var(--surface); border-radius: 50%; aspect-ratio: 1; align-content: center; box-shadow: 0 0 0 1px var(--line-strong); }

/* 小さな出生図（アカウントの受け持ちの形） */
.natal { flex: none; align-self: center; overflow: visible; }
.nt-line { fill: none; stroke: var(--ink); stroke-width: .9; stroke-linejoin: round; }
.nt-on { fill: var(--ink); }
.nt-off { fill: var(--line-strong); }
.dev-world .user-head { align-items: center; }

/* 星の盤 */
.sc.stars { cursor: crosshair; }
.sc-star { fill: var(--ink); transition: opacity .14s; }
.sc-star.warn { fill: var(--brand); }
.sc.stars[data-on="true"] .sc-star:not(.on) { opacity: .28; }
.sc-star.on { stroke: var(--surface); stroke-width: 1; paint-order: stroke; }
.sc-ray { stroke: var(--brand); stroke-width: 1; }
.sc.stars:not([data-on="true"]) .sc-ray { visibility: hidden; }
.sc-read .sc-name dt { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* 月の満ち欠け */
.moon { flex: none; vertical-align: middle; }
.mn-rim { fill: none; stroke: var(--ink); stroke-width: 1; }
.mn-lit { fill: var(--ink); }
.moon.warn .mn-lit { fill: var(--brand); }
.moon.warn .mn-rim { stroke: var(--brand); }
.with-mark { display: flex; align-items: center; gap: 9px; padding: 2px 0; }
.bk-moon { display: flex; align-items: center; gap: 18px; padding: 6px 0 2px; }
.bk-moon p { display: grid; gap: 4px; }
.bk-moon b { font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.bk-moon small { font-size: 11.5px; color: var(--ink-3); }

/* ── ヘルス ── */
.hl-verdict { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: .02em; line-height: 1.3; }
.hl-verdict[data-state="bad"], .hl-verdict[data-state="warn"] { color: var(--brand); }
.hl-parts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.hl-part {
  display: grid; grid-template-columns: 12px minmax(9em, 15em) 6.5em minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 10px 0; border-top: 1px solid var(--separator); font-size: 13px;
}
.hl-part i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); align-self: center; }
.hl-part b { font-weight: 600; }
.hl-state { font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; }
.hl-note { color: var(--ink-2); line-height: 1.6; word-break: auto-phrase; }
.hl-part[data-state="warn"] i { background: none; box-shadow: inset 0 0 0 2px var(--brand); }
.hl-part[data-state="bad"] i { background: var(--brand); }
.hl-part[data-state="warn"] .hl-state, .hl-part[data-state="bad"] .hl-state { color: var(--brand); font-weight: 600; }
.hl-part[data-state="rest"] i { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); }
.hl-part[data-state="rest"] b { color: var(--ink-3); }
.hl-bad { color: var(--brand); }
@media (max-width: 700px) {
  .hl-part { grid-template-columns: 12px minmax(0, 1fr) auto; }
  .hl-note { grid-column: 2 / -1; }
}

/* ── 手法の数学 ── */
.dev-world .mm-find { max-width: 30em; font-size: 16px; }
.mm-fams { flex-wrap: wrap; margin-top: 6px; }
.mm-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.mm { display: grid; gap: 8px; align-content: start; padding: 18px 0 20px; border-top: 1px solid var(--separator); scroll-margin-top: 12px; min-width: 0; }
.mm:target h4 { color: var(--brand); }
.mm-kicker { font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
.dev-world #admin .mm h4 { font-size: 17px; font-weight: 700; letter-spacing: .02em; line-height: 1.4; }
.mm-formula {
  margin: 2px 0; padding: 8px 0 8px 14px; border-left: 1px solid var(--ink);
  font-family: var(--mono, ui-monospace, monospace); font-size: 12.5px; line-height: 1.7;
  white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink);
}
.mm-text { font-size: 13px; line-height: 1.85; color: var(--ink); word-break: auto-phrase; }
.mm-steps { margin: 0; padding-left: 1.5em; display: grid; gap: 4px; font-size: 13px; line-height: 1.8; }
.mm-steps li::marker { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mm-facts { margin: 4px 0 0; display: grid; gap: 5px; }
.mm-facts div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 10px; font-size: 12px; line-height: 1.7; }
.mm-facts dt { color: var(--ink-3); }
.mm-facts dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.mm-facts a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.mm-facts a:hover { text-decoration-color: var(--brand); color: var(--brand); }
.mm-facts code { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; color: var(--ink-3); }

.mm-alt dd b { font-weight: 600; color: var(--ink); }
.mm-alt dd small { margin-left: .8em; font-size: 11px; color: var(--ink-3); }
.mm-alt[data-kind^="より正確"] dd b { color: var(--brand); }
.mm-alt[data-kind="未確認"] dd b { color: var(--ink-3); font-weight: 400; }
.mm-alt[data-kind="直した"] dd b { color: var(--ink); }
.mm-alt[data-kind^="同じ式で"] dd b, .mm-alt[data-kind^="まったく同じ"] dd b { color: var(--brand); }

/* ── 動き。線は伸び、星は灯り、数は数え上がる。動きを抑える設定では止める ── */
@media (prefers-reduced-motion: no-preference) {
  .sc-bar { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-draw .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--k, 0) * 6ms); }
  .sc-house { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-draw .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--k, 0) * 40ms); }
  .sc-chord { animation: sc-fade .9s ease backwards; animation-delay: .4s; }
  .sc-star { transform-box: fill-box; transform-origin: center; animation: sc-pop .45s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k, 0) * 18ms); }
  .sc-rim, .sc-orbit { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-draw 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
  .sc-read div { animation: rise .4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .sc-read div:nth-child(1) { animation-delay: .05s; } .sc-read div:nth-child(2) { animation-delay: .1s; }
  .sc-read div:nth-child(3) { animation-delay: .15s; } .sc-read div:nth-child(4) { animation-delay: .2s; }
  .sc-read div:nth-child(n+5) { animation-delay: .25s; }
  .moon .mn-lit { transform-box: fill-box; transform-origin: center; animation: moon-fill .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  .page-head > * { animation: rise .45s cubic-bezier(.2, .7, .2, 1) backwards; }
  .page-head > :nth-child(2) { animation-delay: .06s; } .page-head > :nth-child(3) { animation-delay: .12s; }
  .orb { animation: rise .4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .orb:nth-child(1) { animation-delay: 0s; } .orb:nth-child(2) { animation-delay: .03s; } .orb:nth-child(3) { animation-delay: .06s; }
  .orb:nth-child(4) { animation-delay: .09s; } .orb:nth-child(5) { animation-delay: .12s; } .orb:nth-child(6) { animation-delay: .15s; }
  .orb:nth-child(7) { animation-delay: .18s; } .orb:nth-child(8) { animation-delay: .21s; } .orb:nth-child(n+9) { animation-delay: .24s; }
  .tabpanel:not([hidden]) .sect { animation: rise .5s cubic-bezier(.2, .7, .2, 1) backwards; }
  .tabpanel:not([hidden]) .sect:nth-of-type(2) { animation-delay: .08s; } .tabpanel:not([hidden]) .sect:nth-of-type(3) { animation-delay: .16s; }
  .tabpanel:not([hidden]) .sect:nth-of-type(n+4) { animation-delay: .24s; }
  #admin tbody tr { animation: rise .35s ease backwards; }
  #admin tbody tr:nth-child(2) { animation-delay: .03s; } #admin tbody tr:nth-child(3) { animation-delay: .06s; }
  #admin tbody tr:nth-child(4) { animation-delay: .09s; } #admin tbody tr:nth-child(5) { animation-delay: .12s; }
  #admin tbody tr:nth-child(n+6) { animation-delay: .15s; }
  .hl-part { animation: rise .4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .hl-part:nth-child(2) { animation-delay: .04s; } .hl-part:nth-child(3) { animation-delay: .08s; } .hl-part:nth-child(4) { animation-delay: .12s; }
  .hl-part:nth-child(5) { animation-delay: .16s; } .hl-part:nth-child(6) { animation-delay: .2s; } .hl-part:nth-child(n+7) { animation-delay: .24s; }
  .hl-verdict { animation: rise .5s cubic-bezier(.2, .7, .2, 1) backwards; }
  .prog { animation: rise .4s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k, 0) * 40ms); }
  .mm { animation: rise .4s cubic-bezier(.2, .7, .2, 1) backwards; }
  .vers-bar::after { transition: width .7s cubic-bezier(.2, .7, .2, 1); }
  .meter i, .gauge span { transition: width .7s cubic-bezier(.2, .7, .2, 1); }
}
@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@keyframes sc-fade { from { opacity: 0; } to { opacity: var(--o, .5); } }
@keyframes sc-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes moon-fill { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

/* 案件ごとの進み（画像一覧） */
.progress { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 6px 28px; margin-bottom: 8px; }
.prog { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--separator); min-width: 0; }
.prog-body { display: grid; gap: 2px; min-width: 0; }
.prog-body b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prog-body small { font-size: 11px; color: var(--ink-3); }
.prog-body em { font-style: normal; color: var(--brand); font-weight: 600; }
