/* 3 つの面（/ja/lab/groups/・members/・videos/ の下書き）。条件の部品（条件の欄・候補・軸の行・選択肢の面）は、Calendar の絞り込みの箱（.hf-embed）の中でも同じ形（規則を .hub .hf-embed にも当てる）。
   計画 PRODUCTION_PLAN_2026-11-14 §5 F3。試作 docs/mocks/hub_stage/hub.css（枝 lane-top-daily）の移植。
   規則は全部 <main class="hub hf"> の中（ヘッダー・フッターに触らない）。.is-js（頁の先頭の 1 行が main に付ける）＝JS の動く端末、
   .is-ready（faces.js が描き終えたら）、.is-cond（条件つきの URL で開いた）。JS の無い端末は、静的な HTML（条件なしの 24 行）のまま読む。
   試作からの変更: メンバーの顔の写真を置かない（顔の場所は組の色の面）。押せないページ送りは button。
   3 つの面（グループ・メンバー・動画）の見た目。土台は hub-base.css。
   左の面＝答え（面の切り替え・答えの 1 文・内訳・いま見ている 1 件）、右＝条件と結果。
   決まり: 連続して押すもの（札の ×・軸のボタン・ページ送り）は、条件が替わっても 1px も動かない。
   グループ・メンバー・動画の切り替えは、続けて押す間（＝同じ条件のまま）1px も動かない。
   そのために、答えの文・注記・内訳・条件の欄・行は、どれも高さを最初から確保する（中身が入らないときは字を 1 段小さくする）。 */

/* ---------- 左の面: グループ・メンバー・動画の切り替え（見た目は共通のタブ＝hub-base.css の .tabs。ここは置き場所だけ） ----------
   試作 2026-11-15（AI くささの直し）: 切り替えに件数を付けない（件数は読み上げだけ）。項目は字の幅なので、条件を替えても 1px も動かない。 */
.hub.hf .hub-plane-bar { align-items: center; }
/* 条件つきの URL で開いた直後は、静的な HTML の件数（条件なしの件数）が入っている。そのまま見せると描き直しで位置が動くので、描き終わるまで出さない */
.hub.hf.is-cond:not(.is-ready, .filters-pending) [data-faces] { visibility: hidden; }
.hub.hf.filters-pending:not(.is-ready) :is(.hub-plane-body, .hub-plane-foot, .hub-ctrl, [data-rows], [data-pager], [data-rel], [data-past]) { visibility: hidden; }
/* 条件の欄（打つ所）だけは、読み込みの間も見せたまま（隠すとフォーカスが外れ、起動の前に打った字の行き場が無くなる。2026-11-30） */
.hub.hf.filters-pending:not(.is-ready) .hub-ctrl .cond { visibility: visible; }
.hub.hf .result-frame { position: relative; overflow-anchor: none; }
.hub.hf[data-rows-state="waiting"] .result-frame { height: var(--wait-height); }
.hub.hf[data-rows-state="waiting"] .pager { position: absolute; inset: var(--pager-offset) 0 auto; }
.hub.hf[data-rows-state="waiting"] .rows { min-height: 0; max-height: var(--wait-height); overflow: hidden; }
.hub.hf[data-rows-state="waiting"] [data-zero] { position: absolute; inset: var(--wait-offset) 0 auto; z-index: 2; padding: 8px; background: var(--bg); border: 0; }
.hub.hf[data-rows-state="waiting"] .pager:empty,
.hub.hf[data-rows-state="error"] :is(.rows, .pager) { display: none; }
.hub.hf [data-zero] button[data-retry-filters] { min-height: 44px; margin-top: 8px; }
.hub.hf.filters-pending :is(.brk-n, .pager),
.hub.hf [data-rows][aria-hidden="true"],
.hub.hf:is(.filters-pending, [data-rows-state="error"]) :is(.pg-mini, .pager:empty, [data-rel], [data-past]) { visibility: hidden; }
/* 件数を外して「動画」の字だけ（幅 30px）になったので、押せる範囲を左右 7px ずつ広げる（字の幅＝下線の長さは変えない。予定表の切り替えと同じ作り。間は 20px 以上なので隣とは重ならない） */
.hub.hf [data-faces] .tab::before { content: ""; position: absolute; inset: 0 -7px; }
/* 両端は、並びの枠（左右 4px の余白で切られる）の内側に収める。最後の「動画」は実際の字幅に応じて左に広げ、44px を取る */
.hub.hf [data-faces] .tab:first-child::before { left: -4px; }
.hub.hf [data-faces] .tab:last-child::before { left: min(-12px, calc(100% - 40px)); right: -4px; }
@container plane (max-width: 387px) { .hub.hf [data-faces] .tab:not(:last-child)::before { inset-inline: -3px; } }

/* ---------- 左の面: 答えの 1 文（h1）。件数は文の中の言葉と同じ大きさ・太さ・書体（試作 2026-11-15 AI くささの直し: 数字だけを特大にしない） ---------- */
.hub.hf .ans { flex: none; padding-top: 24px; }
.hub.hf .ans-h { min-height: 156px; font-size: 40px; font-weight: 900; line-height: 52px; letter-spacing: 0; }
/* 文は高さを固定した箱（3 行ぶん）の上にそろえて置く（1 行でも 3 行でも、下の内訳の位置は同じ）。文節で折り返す。
   2026-11-30: PC も上にそろえる（前は下にそろえ、1 行のグループの面はタブの下が 135px・3 行のメンバーと動画は 31px で、タブを替えると文の頭が跳んだ。スマホは 11-30 に同じ直し） */
.hub.hf .ans-lead { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; height: 156px; overflow: hidden; }
/* 条件が 6 つを超えたときの、条件の見出しの並び（文のすぐ下・字だけ） */
.hub.hf .ans-conds { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 4px; font-size: 13px; font-weight: 700; line-height: 20px; }
.hub.hf .ans-conds span { white-space: nowrap; }
.hub.hf .ans-lead-t { display: block; word-break: auto-phrase; text-wrap: wrap; }
.hub.hf .ans-h[data-fit="2"] .ans-lead { font-size: 28px; line-height: 38px; }
.hub.hf .ans-h[data-fit="3"] .ans-lead { font-size: 22px; line-height: 30px; }
/* 4 段目（いちばん長い事務所・チャンネルの名前の文でも、いちばん狭い 320px の画面で箱に入れるための最後の段。2026-11-17 ブラウザの測り） */
.hub.hf .ans-h[data-fit="4"] .ans-lead { font-size: 18px; line-height: 24px; }
/* 件数は文の一部（書体・大きさ・太さ・色は前後の字と同じ）。数字と単位の間で行を割らない */
.hub.hf .ans-num { font: inherit; }
.hub.hf .ans-nw { white-space: nowrap; } /* 件数・単位・「です。」の間で行を割らない（「37 / 人です。」にしない） */
.hub.hf .ans-note { height: 54px; margin-top: 8px; overflow: hidden; font-size: 12px; line-height: 18px; }

/* ---------- 左の面: 内訳（押すとその条件が足される） ---------- */
.hub.hf .brk { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; height: 172px; margin-top: 16px; padding-top: 12px; overflow: hidden; }
/* 罫線は固定高の内側に描き、最後の項目の1pxを切らない。 */
@media (min-width: 1100px) {
  .hub.hf .brk { position: relative; }
  .hub.hf .brk::before { content: ""; position: absolute; inset: 0 0 auto; border-top: 1px solid var(--plane-rule); }
  .hub.hf .brk:empty::before { display: none; } /* 0 件で内訳が空のときは、罫だけを残さない（見出しの下に罫 1 本と空きだけが残っていた。2026-11-30） */
}
.hub.hf .brk-h { height: 20px; font-size: 12px; font-weight: 700; line-height: 20px; }
/* 1 本の内訳の中で、項目・数の 2 列をそろえる（試作 2026-11-15: 小さな棒グラフをやめた。数は項目と同じ大きさ・太さ） */
.hub.hf .brk-col ul { display: grid; grid-template-columns: minmax(0, 1fr) max-content; column-gap: 8px; }
.hub.hf .brk-col li, .hub.hf .brk-row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; }
.hub.hf .brk-row { align-items: center; height: 28px; font-size: 13px; line-height: 1; text-align: left; }
.hub.hf .brk-l { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
/* 出した行で総数に満たない分（押せない） */
.hub.hf .brk-rest { align-items: center; height: 28px; font-size: 13px; line-height: 1; opacity: .64; }
.hub.hf .brk-note { display: none; }
.hub.hf .brk-n { font-family: var(--ja); font-size: 13px; font-weight: 700; text-align: right; } /* 数は項目と同じ書体・大きさ・太さ */
/* ホバーは下線でなく地（面の色を 8% 濃く。左右 8px はみ出して塗る＝字の位置は動かない。影や下線は使わない。試作 2026-11-15） */
.hub.hf .brk-row { position: relative; isolation: isolate; }
.hub.hf .brk-row::before { content: ""; position: absolute; inset: 0 -8px; z-index: -1; background: var(--plane-soft); opacity: 0; transition: opacity 160ms ease; pointer-events: none; }
.hub.hf .brk-row:hover::before { opacity: 1; }
.hub.hf .brk-toggle, .hub.hf .axes-open, .hub .hf-embed .axes-open { display: none; }
.hub.hf .brk:empty, .hub.hf .peek:empty { border-top-color: transparent; }

/* ---------- 左の面: いま見ている 1 件（PC だけ。高さは最初から確保） ---------- */
.hub.hf .peek { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-content: start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--plane-rule); overflow: hidden; }
.hub.hf .peek-pic { position: relative; display: block; width: 200px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.hub.hf .peek-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; } /* 4:3 の画（sddefault・hqdefault。上下に黒帯）を 16:9 の箱に入れても、帯だけが切れて絵はつぶれない（2026-11-30） */
.hub.hf .peek-pic.is-swatch { background: var(--plane-soft); }
/* メンバーの識別用の絵: 16:9 のまま小さく（丸く切り抜かない）。画の無い人は画の場所を出さない（.peek.is-text は字だけの 1 列） */
.hub.hf .peek-pic.is-face { width: 160px; }
.hub.hf .peek.is-text { grid-template-columns: minmax(0, 1fr); }
.hub.hf .peek-pic .row-play { right: 8px; bottom: 8px; width: 32px; height: 32px; background: var(--plane-ink); color: var(--plane); }
.hub.hf .peek-name { height: 28px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 22px; font-weight: 900; line-height: 28px; font-feature-settings: "palt"; }
.hub.hf .peek-facts { margin-top: 4px; font-size: 13px; line-height: 24px; min-height: 72px; }
.hub.hf .peek-facts div { display: flex; gap: 16px; height: 24px; overflow: hidden; white-space: nowrap; }
.hub.hf .peek-facts a { display: inline-block; min-width: 44px; height: 24px; vertical-align: top; }
.hub.hf .peek-facts dt { flex: none; width: 5em; font-weight: 700; }
.hub.hf .peek-facts dd { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hub.hf .peek-ctrl { display: flex; align-items: center; gap: 24px; height: 80px; }
.hub.hf .peek-main { flex: none; width: 240px; padding: 0 16px; }
.hub.hf .peek-side { font-size: 13px; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- 右: いちばん上の行（パンくず・よく使う条件） ---------- */
.hub.hf .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.hub.hf .crumb { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1; color: var(--note); white-space: nowrap; }
.hub.hf .crumb a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--sub); }
.hub.hf .crumb a:hover { color: var(--ink); }
.hub.hf .crumb svg { color: var(--note); }
.hub.hf .saved { display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; height: 44px; font-size: 12px; }
.hub.hf .saved-k { flex: none; margin-right: 8px; color: var(--note); white-space: nowrap; }
.hub.hf .saved-list { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.hub.hf .saved-item { display: inline-flex; align-items: center; flex: none; max-width: 160px; height: 32px; border: 1px solid var(--rule); border-radius: 999px; }
.hub.hf .saved-item a { min-width: 0; padding: 0 4px 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; line-height: 30px; }
.hub.hf .saved-item a:hover { color: var(--accent-text); }
.hub.hf .saved-item button { flex: none; width: 28px; height: 30px; color: var(--note); font-size: 13px; }
.hub.hf .saved-item button:hover { color: var(--ink); }
.hub.hf .saved-add { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--sub); white-space: nowrap; }
.hub.hf .saved-add:hover { color: var(--ink); }
.hub.hf .saved-add:disabled { opacity: .36; cursor: default; }

/* ---------- 右: 条件の欄（札と打ち込み。高さ固定・札は × が左＝続けて同じ場所を押して外せる） ---------- */
.hub.hf .cond, .hub .hf-embed .cond { position: relative; display: flex; align-items: center; height: 56px; border: 1px solid var(--rule); border-radius: 12px; background: var(--field); }
.hub.hf .cond:focus-within, .hub .hf-embed .cond:focus-within { border-color: var(--accent-text); }
.hub.hf .chips, .hub .hf-embed .chips { display: flex; flex: 0 1 auto; gap: 4px; min-width: 0; max-width: calc(100% - 216px); padding-left: 8px; overflow-x: auto; scrollbar-width: none; }
.hub.hf .chips::-webkit-scrollbar, .hub .hf-embed .chips::-webkit-scrollbar { display: none; }
/* 札が欄に入りきらないとき: 続きのある側の端をぼかし、隣に「ほか N」を出す（押すと送る）。欄の高さと先頭の × の位置は変わらない */
.hub.hf .chips.is-more-r, .hub .hf-embed .chips.is-more-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.hub.hf .chips.is-more-l, .hub .hf-embed .chips.is-more-l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.hub.hf .chips.is-more-l.is-more-r, .hub .hf-embed .chips.is-more-l.is-more-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.hub.hf .chips-more, .hub .hf-embed .chips-more { flex: none; height: 44px; padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--sub); white-space: nowrap; }
.hub.hf .chips-more:hover, .hub .hf-embed .chips-more:hover { color: var(--ink); }
.hub.hf .chips-more b, .hub .hf-embed .chips-more b { font-size: 1em; color: var(--ink); }
.hub.hf .chip, .hub .hf-embed .chip { display: inline-flex; flex: none; align-items: center; height: 40px; padding-right: 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.hub.hf .chip-x, .hub .hf-embed .chip-x { display: grid; place-items: center; width: 36px; height: 38px; color: var(--sub); font-size: 15px; border-radius: 999px; }
.hub.hf .chip-x:hover, .hub .hf-embed .chip-x:hover { color: var(--ink); }
.hub.hf .cond-input, .hub .hf-embed .cond-input { flex: 1 1 96px; min-width: 96px; height: 54px; padding: 0 12px; border: 0; outline: 0; background: none; font-size: 15px; }
.hub.hf .cond-input::placeholder, .hub .hf-embed .cond-input::placeholder { color: var(--note); }
.hub.hf .cond-clear, .hub .hf-embed .cond-clear { flex: none; height: 44px; margin-right: 4px; padding: 0 12px; font-size: 13px; /* 13px＝隣の条件の字と同じ大きさ。12px と 13px を別々に枠の中央へ置くと、1 倍の画面では字の中心が 0.64px ずれる（どう置いても 0.5px を超える）ので、大きさをそろえる（NEEDS.md §0-3） */ font-weight: 700; color: var(--sub); white-space: nowrap; }
.hub.hf .cond-clear:hover, .hub .hf-embed .cond-clear:hover { color: var(--ink); }
.hub.hf .cond-clear:disabled, .hub .hf-embed .cond-clear:disabled { opacity: .36; cursor: default; }
.hub.hf .cond-kbd, .hub .hf-embed .cond-kbd { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-right: 4px; border: 1px solid var(--rule); border-radius: 4px; font-family: var(--en); font-size: 12px; font-weight: 700; line-height: 1; color: var(--note); }
.hub.hf .cond:focus-within .cond-kbd, .hub .hf-embed .cond:focus-within .cond-kbd { visibility: hidden; }
/* 候補（欄の下に重ねて出す。下の内容は動かさない） */
.hub.hf .sug, .hub .hf-embed .sug { position: absolute; left: -1px; right: -1px; top: 60px; z-index: 40; padding: 4px; border: 1px solid var(--rule); border-radius: 12px; background: var(--field); }
.hub.hf .sug-item, .hub .hf-embed .sug-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; align-content: center; column-gap: 16px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 15px; text-align: left; }
.hub.hf .sug-item[aria-selected="true"], .hub .hf-embed .sug-item[aria-selected="true"] { background: rgba(255, 255, 255, .08); }
.hub.hf .sug-item[aria-disabled="true"], .hub .hf-embed .sug-item[aria-disabled="true"] { color: var(--note); cursor: default; }
.hub.hf .sug-l, .hub .hf-embed .sug-l { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; }
.hub.hf .sug-l span + span, .hub .hf-embed .sug-l span + span { margin-left: 12px; }
.hub.hf .sug-k, .hub .hf-embed .sug-k { font-size: 12px; color: var(--note); white-space: nowrap; }
.hub.hf .sug-pair { display: flex; align-items: baseline; gap: 8px; }
.hub.hf .sug-pair b { flex: none; font: inherit; }
.hub.hf .sug-pair small { overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 400; color: var(--note); }
.hub.hf .sug-n, .hub .hf-embed .sug-n { min-width: 64px; font-size: 12px; color: var(--sub); text-align: right; white-space: nowrap; }
.hub.hf .sug-n b, .hub .hf-embed .sug-n b { font: inherit; color: inherit; }
/* 候補の種類が全部同じときの、束の頭の 1 行（行の「メンバーの条件」と同じ字の形・左の位置は候補の字にそろえる） */
.hub.hf .sug-h, .hub .hf-embed .sug-h { height: 32px; padding: 0 12px; font-size: 12px; line-height: 32px; color: var(--note); }
.hub.hf .sug-none, .hub .hf-embed .sug-none { padding: 12px; font-size: 13px; color: var(--sub); }

/* ---------- 右: 軸の行（押すと選択肢の面が開く） ---------- */
.hub.hf .axes, .hub .hf-embed .axes { position: relative; margin-top: 8px; }
.hub.hf .axes-row, .hub .hf-embed .axes-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: baseline; align-content: center; height: 36px; font-size: 13px; }
.hub.hf .axes-k, .hub .hf-embed .axes-k { font-size: 12px; color: var(--note); white-space: nowrap; }
.hub.hf .axes-list, .hub .hf-embed .axes-list { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.hub.hf .axes-list::-webkit-scrollbar, .hub .hf-embed .axes-list::-webkit-scrollbar { display: none; }
.hub.hf .axis, .hub .hf-embed .axis { position: relative; display: inline-grid; grid-auto-flow: column; align-items: baseline; align-content: center; column-gap: 4px; height: 36px; --ink-c: calc(var(--ja-c) * 1em); padding: 0 12px 0 0; margin-right: 8px; font-size: 13px; font-weight: 700; line-height: 1; color: var(--sub); white-space: nowrap; }
.hub.hf .axis:hover, .hub.hf .axis[aria-expanded="true"], .hub .hf-embed .axis:hover, .hub .hf-embed .axis[aria-expanded="true"] { color: var(--ink); }
.hub.hf .axis-n, .hub .hf-embed .axis-n { display: inline-block; width: 12px; font-family: var(--ja); font-size: 13px; /* 13px＝隣の見出しと同じ大きさ（理由は .cond-clear と同じ） */ font-weight: 700; color: var(--ink); text-align: left; } /* 試作 2026-11-15: 数字だけを別の色・極太にしない */
.hub.hf .axis[aria-expanded="true"]::after, .hub .hf-embed .axis[aria-expanded="true"]::after { content: ""; position: absolute; left: 0; right: 24px; bottom: 4px; height: 2px; background: var(--accent-text); }
/* 選択肢の面（PC は軸の行の下に重ねて開く。下の内容は動かさない） */
.hub.hf .pane, .hub .hf-embed .pane { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; padding: 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--field); }
.hub.hf .pane-head, .hub .hf-embed .pane-head { display: flex; align-items: baseline; gap: 16px; height: 44px; font-size: 15px; --ink-c: calc(var(--ja-c) * 1em); } /* 見出し・補足・閉じるは、字のベースラインでそろえてから中心へ動かす（「閉じる」の箱が高さ 44px なので、行の中央に来る） */
.hub.hf .pane-h, .hub .hf-embed .pane-h { font-size: 1em; font-weight: 900; }
.hub.hf .pane-sub, .hub .hf-embed .pane-sub { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--note); }
.hub.hf .pane-see, .hub .hf-embed .pane-see { display: none; }
.hub.hf .pane-close, .hub .hf-embed .pane-close { flex: none; height: 44px; padding: 0 4px; font-size: 13px; font-weight: 700; color: var(--sub); }
.hub.hf .pane-close:hover, .hub .hf-embed .pane-close:hover { color: var(--ink); }
.hub.hf .pane-find, .hub .hf-embed .pane-find { display: block; width: 100%; height: 44px; margin-bottom: 8px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 8px; background: var(--bg); font-size: 15px; }
.hub.hf .pane-find:focus-visible, .hub .hf-embed .pane-find:focus-visible { border-color: var(--accent-text); outline-offset: 0; }
.hub.hf .opts, .hub .hf-embed .opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); column-gap: 16px; max-height: 308px; overflow-y: auto; overscroll-behavior: contain; }
.hub.hf .opts-gap, .hub .hf-embed .opts-gap { grid-column: 1 / -1; height: 16px; }
.hub.hf .opt, .hub .hf-embed .opt { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; column-gap: 4px; height: 44px; border-bottom: 1px solid var(--rule); font-size: 13px; text-align: left; }
.hub.hf .opt-c, .hub .hf-embed .opt-c { font-size: 13px; color: var(--accent-text); visibility: hidden; }
.hub.hf .opt[aria-pressed="true"] .opt-c, .hub .hf-embed .opt[aria-pressed="true"] .opt-c { visibility: visible; }
.hub.hf .opt[aria-pressed="true"] .opt-l, .hub .hf-embed .opt[aria-pressed="true"] .opt-l { color: var(--ink); font-weight: 900; }
.hub.hf .opt-l, .hub .hf-embed .opt-l { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 700; color: var(--sub); }
.hub.hf .opt:hover .opt-l, .hub .hf-embed .opt:hover .opt-l { color: var(--ink); }
.hub.hf .opt-n, .hub .hf-embed .opt-n { font-family: var(--en); font-size: 12px; font-weight: 700; color: var(--note); }
.hub.hf .opt[aria-disabled="true"], .hub .hf-embed .opt[aria-disabled="true"] { cursor: default; }
.hub.hf .opt[aria-disabled="true"] .opt-l, .hub.hf .opt[aria-disabled="true"] .opt-n, .hub .hf-embed .opt[aria-disabled="true"] .opt-l, .hub .hf-embed .opt[aria-disabled="true"] .opt-n { color: rgba(255, 255, 255, .28); }
.hub.hf .pane-foot, .hub .hf-embed .pane-foot { min-height: 20px; margin-top: 8px; font-size: 12px; line-height: 20px; color: var(--note); }
.hub.hf .pane-back, .hub.hf .pane-menu-back, .hub .hf-embed .pane-back, .hub .hf-embed .pane-menu-back { display: none; }
.hub.hf .pane-kind, .hub .hf-embed .pane-kind { height: 32px; margin-top: 8px; font-size: 12px; font-weight: 400; line-height: 32px; color: var(--note); }
.hub.hf .pane-axes, .hub .hf-embed .pane-axes { display: flex; flex-wrap: wrap; }

/* ---------- 右: 件数と並びとページ送り（上） ---------- */
.hub.hf .bar { display: flex; align-items: center; gap: 16px; height: 48px; margin-top: 4px; border-bottom: 1px solid var(--rule); }
.hub.hf .bar-range { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--sub); }
.hub.hf .bar-range b { font: inherit; color: inherit; } /* 試作 2026-11-15: 範囲と総数の数字も、前後の字と同じ */
.hub.hf .bar-all { margin-left: 12px; }
.hub.hf .bar-sort { position: relative; flex: none; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--note); }
.hub.hf .bar-sort select { width: 184px; height: 36px; padding: 0 28px 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; appearance: none; -webkit-appearance: none; cursor: pointer; }
.hub.hf .bar-sort::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; translate: 0 -5px; border-right: 1.5px solid var(--sub); border-bottom: 1.5px solid var(--sub); transform: rotate(45deg); pointer-events: none; }
.hub.hf .pg-mini { flex: none; display: flex; width: 76px; justify-content: center; }
.hub.hf .pg-mini :is(a, button) { position: relative; flex: 0 0 44px; display: grid; place-items: center; height: 36px; padding: 0; border: 0; background: none; font-family: var(--en); font-size: 13px; line-height: 14px; color: var(--ink); }
.hub.hf .pg-mini > :first-child { --circle-offset: 2px; }
.hub.hf .pg-mini > :last-child { --circle-offset: -2px; }
/* 操作領域は中央で接する。36px の丸と矢印は従来の中心（18px、58px）に置く。 */
.hub.hf .pg-mini > ::before { content: ""; position: absolute; inset: 0 4px; translate: var(--circle-offset) 0; border: 1px solid var(--rule); border-radius: 50%; pointer-events: none; }
.hub.hf .pg-mini a:hover::before { border-color: var(--ink); }
.hub.hf .pg-mini [aria-disabled="true"], .hub.hf .pager [aria-disabled="true"] { opacity: .36; pointer-events: none; }

/* ---------- 結果の行（罫で区切る・箱なし・高さ固定） ---------- */
.hub.hf .rows { display: block; }
/* 0件の案内が出ても、空の行リストの原点は結果枠の先頭に置く。 */
.hub.hf .rows[data-full="0"]:empty { position: absolute; inset: 0 0 auto; }
.hub.hf .rows[data-full="1"] { min-height: calc(var(--row-h) * 24); }
.hub.hf { --row-h: 96px; }
.hub.hf .row { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; height: var(--row-h); border-bottom: 1px solid var(--rule); transition: background-color 160ms ease; }
.hub.hf .row:hover, .hub.hf .row:focus-within { background: rgba(255, 255, 255, .04); }
/* 行のどこを押しても、名前の頁へ行く（名前のリンクの ::after が行を覆う。右端の → だけの列は置かない。2026-12-01・「〇〇別」の頁の行と同じ作り）。
   行の中のほかの操作（絵・札・所属の名前・右の本数）は、その上に出して押せるまま。ホバーは地の色だけ（下線を足さない）。キーボードは行に輪を出す */
.hub.hf .row { position: relative; }
.hub.hf .row-name a::after { content: ""; position: absolute; inset: 0; }
.hub.hf .row :is(.row-pic, .row-face, .row-more, .row-vals button, .row-vals a, .member-dates button) { position: relative; z-index: 1; }
/* 動画の曲の行は、曲名（その組の動画一覧の曲の位置へ）が行を覆う。組の名前（.row-grp・組のページへ）は行を覆わず、覆いの上に出して押せる。ホバーは色だけ（2026-12-01） */
.hub.hf .row-name a.row-grp { position: relative; z-index: 1; }
.hub.hf .row-name a.row-grp::after { content: none; }
/* 曲名のリンクは、行を覆う箱を頭（::before）に置く。前の覆う箱（組の名前の ::after）と同じ、組の名前と曲名の継ぎ目に置くため（末尾に置くと、スマホの 2 段の折り返しで曲名の 1 語目だけが上の段に残った） */
.hub.hf .row-name a.row-song::after { content: none; }
.hub.hf .row-name a.row-song::before { content: ""; position: absolute; inset: 0; }
@media (hover: hover) and (min-width: 1100px) { .hub.hf .row-name a.row-grp:hover { color: var(--accent-text); } }
/* 1099px 以下では、組の名前を押しても行の覆い（曲名＝曲の位置）へ通す（名前の段は overflow: hidden で当たりを 44px に広げられず、19px の当たりを残さない。
   キーボードと読み上げでは今までどおり組のページへ行ける。ホバーの色も出さない＝押せる別の行き先に見せない。2026-12-01） */
@media (max-width: 1099px) { .hub.hf .row-name a.row-grp { pointer-events: none; } }
/* キーボードで行を覆うリンクに来たときは、行に輪（行の外へ 2px あけて 2px。絵・字の上の層に描く＝絵に隠れず、右の本数にも触れない。押す邪魔をしない）。
   :has() の無いブラウザでは、名前のリンクの輪を消さない（今までのリンクの輪が出る） */
@supports selector(:has(a)) {
  .hub.hf .row-name a:not(.row-grp):focus-visible { outline: none; }
  .hub.hf .row:has(.row-name a:not(.row-grp):focus-visible)::before { content: ""; position: absolute; inset: -4px; z-index: 2; border: 2px solid var(--accent-text); pointer-events: none; }
}
.hub.hf .row-pic { position: relative; display: block; width: 128px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14161d; }
.hub.hf .row-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hub.hf .row-pic.is-swatch { background: var(--sw, #14161d); }
.hub.hf .row-play { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(7, 8, 12, .8); color: #fff; }
.hub.hf .row-play svg { translate: 1px 0; } /* 三角の形の中心を丸の中心へ（余白でなく位置で動かす） */
.hub.hf .row.is-member { grid-template-columns: 96px minmax(0, 1fr) auto; }
.hub.hf .row-face { display: block; width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14161d; }
.hub.hf .row-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* ページの無い人の絵は、その動画を YouTube で再生するサムネ（再生の印つき・グループの行のサムネと同じ形） */
.hub.hf .row-face.is-play { position: relative; }
/* 画の無い人・組: 絵と同じ大きさ・同じ角の丸みの面を、その組の色で置く（2026-11-30。前の人の行は小さい点 1 つで、画像が読み込めなかった行に見えた）。
   字・記号・頭文字は入れない。地（#07080c）に近い暗い色（#0f172a など）でも面が見えるよう、罫と同じ色の 1px の縁を内側に引く（明るい色では見えない。大きさは変わらない）。
   HTML は変えない（行の部品は「〇〇別」の頁も描くので、その頁の出力を 1 字も変えないため）: 点の印（.row-dot・--g＝組の色）を、この頁では面いっぱいに広げる */
.hub.hf .row-face.is-none { background: none; }
.hub.hf .row-face.is-none .row-dot { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--g); }
.hub.hf .row-face.is-none .row-dot, .hub.hf .row:not(.is-wait) .row-pic.is-swatch { border: 1px solid var(--rule); }
.hub.hf .row-body { min-width: 0; }
.hub.hf .row-head { min-width: 0; }
.hub.hf .row-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 900; line-height: 22px; font-feature-settings: "palt"; }
.hub.hf .row-song { font-weight: 900; }
.hub.hf .row-sub:empty { display: none; } /* 読みの無い組（XRO ほか）は段ごと出さない。字の塊は行の上下の中心に寄る（行の高さは同じ。2026-11-30） */
.hub.hf .row-sub { height: 18px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; line-height: 18px; color: var(--note); }
/* 行の値（札）は 1 段に入る分だけ。入らない札は、途中で切らずに札ごと次の段（隠れる段）へ送る（faces.js の fitVals が、隠れた札を押せなくする） */
.hub.hf .row-vals { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 0 12px; height: 28px; overflow: hidden; white-space: nowrap; font-size: 12px; color: var(--sub); }
.hub.hf .val { padding: 0; gap: 4px; flex: none; display: inline-flex; align-items: center; height: 28px; white-space: nowrap; font-size: 12px; line-height: 28px; color: var(--sub); }
.hub.hf .val.is-long { flex: 0 1 auto; min-width: 72px; overflow: hidden; }
.hub.hf .val.is-long .val-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* グループ・動画の行は、どの行も同じ種類の札を同じ順に出す（2026-11-30）。札は 1 段に並べたまま折り返さず、長い値（事務所・チャンネル）だけを … で縮める。
   前は 1 段に入らない札を次の段（隠れる段）へ送っていたので、事務所の名前が長い行だけデビュー年に入れ替わった。値の無い行は、その札が無いだけ */
.hub.hf .row:not(.is-member) .row-vals { flex-wrap: nowrap; }
.hub.hf button.val:hover { color: var(--ink); }
.hub.hf button.val:hover .val-plus { color: var(--accent-text); }
.hub.hf .val-plus { pointer-events: none; flex: none; display: inline-block; width: 12px; text-align: center; translate: 0 calc((var(--sym-plus) - var(--ja-c)) * 1em); font-size: 12px; color: var(--note); }
.hub.hf .val.is-on { color: var(--ink); font-weight: 700; }
.hub.hf .row-fact { flex: none; color: var(--note); }
.hub.hf:not(.is-js) .val-plus { display: none; }
.hub.hf .row-more { min-width: 44px; display: inline-grid; grid-auto-flow: column; align-items: baseline; align-content: center; column-gap: 4px; height: 44px; font-size: 12px; color: var(--sub); white-space: nowrap; }
.hub.hf .row-more b { font: inherit; font-size: 15px; translate: 0 1px; color: inherit; }
.hub.hf .row-more:hover { color: var(--ink); }
/* 右の本数は下線を引かない（数字だけに線が付いて「本」と割れて見えた）。リンクである事はホバーの色（上の行）で示す。右の矢印は 2026-12-01 に外した */
.hub.hf .row.is-wait .row-name { color: var(--note); font-weight: 400; }

/* ---------- 0 件のとき（URL で来たとき）: 条件を 1 つ外すと N 件 ---------- */
.hub.hf .zero { padding: 24px 0 32px; border-bottom: 1px solid var(--rule); }
.hub.hf .zero-h { font-size: 18px; font-weight: 900; }
.hub.hf .zero-p { margin-top: 4px; font-size: 13px; color: var(--sub); }
.hub.hf .zero-list { margin-top: 12px; border-top: 1px solid var(--rule); }
/* 関連（グループを 1 つ選んだとき: 親のグループ・ユニット・ソロへの入口。NEEDS.md §0-6）。行は 0 件のときの一覧と同じ部品 */
.hub.hf .rel { margin-top: 32px; }
.hub.hf .rel-k { margin-top: 16px; font-size: 13px; font-weight: 700; line-height: 20px; color: var(--note); }
.hub.hf .rel .rel-list { margin-top: 4px; }
.hub.hf .zero-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; align-content: center; column-gap: 16px; min-height: 48px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.hub.hf .zero-list a:hover { background: rgba(255, 255, 255, .04); }
.hub.hf .zero-list b { font-size: 15px; font-weight: 700; }

/* ---------- ページ送り（下）: 前・次の位置と大きさは変わらない ---------- */
.hub.hf .pager { display: grid; grid-template-columns: 176px 176px minmax(0, 1fr); align-items: center; column-gap: 8px; height: 96px; }
.hub.hf .pager :is(a, button) { width: 176px; }
.hub.hf .pager-pos { font-size: 13px; color: var(--sub); text-align: right; white-space: nowrap; }
.hub.hf .pager-pos b { font: inherit; color: inherit; }

/* ---------- 静的なリンク（軸のハブ）・質問 ---------- */
.hub.hf .sec { margin-top: 48px; }
.hub.hf .sec-h, .hub.hf .sec > h2:not(.sec-h) { font-size: 18px; font-weight: 900; line-height: 1.4; }
/* 本番の動画の頁だけに在る節（id="next-three-pages"）の見出しは、全体の監査（audit-world-class）が印の無い <h2> の形で決めているので、印を足さずに同じ見出しの大きさで組む
  （前はサイト共通の h2 の大きさで、ほかの節の見出し 18px より大きく出ていた） */
.hub.hf .sec-p { margin-top: 4px; font-size: 13px; color: var(--sub); }
.hub.hf .hubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; margin-top: 12px; border-top: 1px solid var(--rule); }
.hub.hf .hubs a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 700; }
.hub.hf .hubs a:hover { color: var(--accent-text); }
/* 名前から探す（グループの面だけ・開いて読む。トップ → 一覧 → 詳細の深さ 2 を支えるリンクの束） */
.hub.hf .names > summary { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding-top: 8px; cursor: pointer; list-style: none; --ink-c: calc(var(--ja-c) * 18px); }
.hub.hf .names > summary::-webkit-details-marker { display: none; }
.hub.hf .names > summary::after { content: "▾"; margin-left: auto; font-size: 13px; color: var(--sub); }
.hub.hf .names[open] > summary::after { content: "▴"; }
.hub.hf .names-list a { font-weight: 400; }
.hub.hf .faq { padding: 16px 0; border-top: 1px solid var(--rule); }
.hub.hf .faq:last-child { border-bottom: 1px solid var(--rule); }
.hub.hf .faq-list { margin-top: 12px; }
.hub.hf .faq h3 { font-size: 15px; font-weight: 900; }
.hub.hf .faq p { margin-top: 4px; font-size: 13px; line-height: 1.8; color: var(--sub); }
/* 質問と答えは文節で折り返す・最後の段に 1〜2 字を残さない（前は「そのメン／バーは」「同じ条件のま／ま、」「580 組／です。」と語の途中や末尾の 2 字で折れていた） */
.hub.hf :is(.faq h3, .faq p, .sec-p, .zero-h) { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- JS なし: 条件を選ぶ部品は出さない（答えの文・24 行・ページ送り・ハブへのリンクが読める） ---------- */
.hub.hf:not(.is-js) .saved, .hub.hf:not(.is-js) .cond, .hub.hf:not(.is-js) .axes, .hub.hf:not(.is-js) .bar-sort, .hub.hf:not(.is-js) .peek, .hub.hf:not(.is-js) .peek-ctrl, .hub.hf:not(.is-js) .brk-toggle, .hub.hf .axes-open, .hub .hf-embed .axes-open { display: none; }
.hub.hf .brk:empty, .hub.hf .peek:empty { border-top-color: transparent; }
.hub.hf:not(.is-js) button.val { cursor: default; }
.hub.hf:not(.is-js) .brk-row { cursor: default; }

/* ---------- 高さの低い PC（859px 以下）: 文と内訳を 1 段詰める ---------- */
@media (min-width: 1100px) and (max-height: 859px) {
  .hub.hf .ans { padding-top: 16px; }
  .hub.hf .ans-h { font-size: 28px; line-height: 38px; }
  .hub.hf .ans-lead { height: 114px; }
  .hub.hf .ans-h[data-fit="2"] .ans-lead { font-size: 22px; line-height: 28px; }
  .hub.hf .ans-h[data-fit="3"] .ans-lead { font-size: 18px; line-height: 22px; }
  .hub.hf .ans-h[data-fit="4"] .ans-lead { font-size: 15px; line-height: 20px; }
  .hub.hf .ans-note { height: 36px; margin-top: 4px; }
  .hub.hf .brk { height: 152px; margin-top: 8px; }
  .hub.hf .brk-row, .hub.hf .brk-rest { height: 24px; }
  .hub.hf .peek { margin-top: 8px; padding-top: 12px; }
  .hub.hf .peek-ctrl { height: 72px; }
}
/* さらに低い PC（659px 以下）: いま見ている 1 件の場所が 130px を切り、絵と所属の字が途中で切れていた（1280×600 で高さ 68px）。
   切れた形で見せず、場所ごと空ける（中身を隠すだけ。下のボタンの位置は変わらない） */
@media (min-width: 1100px) and (max-height: 659px) {
  .hub.hf .peek { visibility: hidden; }
}
/* ---------- PC: 左右それぞれの幅で中身を替える（左の面はトップと同じ割り方なので、右は 470〜880px の間で動く） ---------- */
@container main (max-width: 760px) {
  /* 行の値を減らす（性別・2 つ目のポジション・人数） */
  .hub.hf .row-fact, .hub.hf .row .k-gd, .hub.hf .row .k-pos + .k-pos { display: none; }
  .hub.hf .hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container main (max-width: 620px) {
  /* 軸のボタンは入る分で折り返す（選択肢の面は、軸の行のすぐ下に開く） */
  .hub.hf .axes-row, .hub .hf-embed .axes-row { grid-template-columns: 64px minmax(0, 1fr); height: auto; align-content: start; }
  .hub.hf .axes-list, .hub .hf-embed .axes-list { flex-wrap: wrap; overflow: visible; }
  /* 折り返すときは、行ごとの数を均等に（6 つなら 3＋3。前は「名前 … デビュー年」／「活動」と 1〜2 つだけが次の行に落ちた。2026-11-30）。
     ボタンを行の中の字として並べ、行の長さを text-wrap: balance でそろえる（ボタンの言葉・大きさ・間は同じ） */
  .hub.hf .axes-list, .hub .hf-embed .axes-list { display: block; text-wrap: balance; }
  .hub.hf .axis, .hub .hf-embed .axis { margin-right: 4px; }
  .hub.hf .row .k-co, .hub.hf .row .k-ch, .hub.hf .row .k-pos, .hub.hf .bar-from, .hub.hf .row-more-l { display: none; }
  .hub.hf .bar-all { margin-left: 0; }
  .hub.hf .chips, .hub .hf-embed .chips { max-width: calc(100% - 200px); }
}
@container plane (max-width: 600px) {
  .hub.hf .brk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub.hf .brk-col:nth-child(3) { display: none; }
  .hub.hf .peek { column-gap: 16px; }
  .hub.hf .peek-pic { width: 160px; }
  .hub.hf .peek-main { width: 200px; }
}
@container plane (max-width: 440px) {
  .hub.hf .tabs { --tab-gap: 20px; }
  .hub.hf .peek-pic { width: 128px; }
  .hub.hf .peek-pic.is-face { width: 128px; }
  .hub.hf .peek-name { font-size: 18px; }
  .hub.hf .peek-main { width: 168px; padding: 0 12px; }
  .hub.hf .peek-ctrl { gap: 16px; }
}
/* 左の面がいちばん狭いとき（幅 360px。高さ 690px 未満の PC）: 件数が最大の桁（571・2,236・17,069）でも横に送らずに収める */
@container plane (max-width: 387px) {
  .hub.hf .tabs { --tab-gap: 16px; margin-right: -12px; }
  .hub.hf .tab { gap: 4px; }
}

/* ---------- スマホ・狭い画面: 左の面は上の帯。条件の面は下から出る ---------- */
@media (max-width: 1099px) {
  .hub.hf { --row-h: 72px; }
  .hub.hf[data-face="m"] { --row-h: 96px; }
  .hub.hf .hub-plane-bar { height: 48px; }
  /* 答えの帯は詰める（文 2 行ぶん＋件数）。注記は「内訳と数え方を見る」の中 */
  .hub.hf .ans { padding-top: 12px; }
  .hub.hf .ans-h { min-height: 90px; font-size: 22px; line-height: 30px; }
  /* 箱（3 行ぶん）の上にそろえる（2026-11-30）。下にそろえると、1 行・2 行の文のときタブの下が 82px・52px 空き、条件を足して行が増えるたびに文の頭が上下した。
     上にそろえると、タブ → 文の頭はいつも同じ間（カレンダーの見出しの 1 文と同じ置き方）。箱の高さは変えないので、下の操作の位置は 1px も動かない */
  .hub.hf .ans-lead { height: 90px; justify-content: flex-start; }
  .hub.hf .ans-h[data-fit="2"] .ans-lead { font-size: 18px; line-height: 24px; }
  .hub.hf .ans-h[data-fit="3"] .ans-lead { font-size: 15px; line-height: 20px; }
  .hub.hf .ans-h[data-fit="4"] .ans-lead { font-size: 13px; line-height: 18px; }
  .hub.hf .ans-conds { margin-top: 0; font-size: 12px; line-height: 16px; gap: 0 8px; }
  .hub.hf .ans-note { display: none; }
  .hub.hf .brk-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 44px; margin-top: 4px; border-top: 1px solid var(--plane-rule); font-size: 13px; font-weight: 700; }
  .hub.hf .brk-toggle span:last-child { font-family: var(--en); transition: rotate 160ms ease, translate 160ms ease; }
  .hub.hf .brk { display: none; height: auto; margin-top: 0; padding: 0 0 8px; border-top: 0; grid-template-columns: minmax(0, 1fr); }
  .hub.hf .brk.is-open { display: grid; align-content: start; overflow-y: auto; }
  .hub.hf[data-rows-state="waiting"] .brk.is-open { height: var(--wait-breakdown); }
  .hub.hf .brk.is-open + .brk-note { display: block; padding-bottom: 12px; font-size: 12px; line-height: 18px; }
  .hub.hf .brk.is-open + .brk-note:empty { display: none; }
  .hub.hf .brk-h { height: 32px; line-height: 32px; margin-top: 8px; }
  .hub.hf .brk-row, .hub.hf .brk-rest { height: 44px; }
  .hub.hf .peek, .hub.hf .peek-ctrl { display: none; }
  /* 右の 1 段目: よく使う条件 → 条件の欄 →［条件を足す］［並び］の 1 行 */
  .hub.hf .hub-ctrl { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
  .hub.hf .cond, .hub .hf-embed .cond { grid-column: 1 / -1; }
  .hub.hf .top { display: none; }
  .hub.hf .chips, .hub .hf-embed .chips { max-width: calc(100% - 132px); }
  .hub.hf .cond-input, .hub .hf-embed .cond-input { flex-basis: 64px; min-width: 64px; font-size: 18px; } /* 16px 以上（打つときに画面が拡大されない）。字の大きさの 7 段の 18px（ガイドの検索と同じ） */
  .hub.hf .cond-kbd, .hub .hf-embed .cond-kbd { display: none; }
  .hub.hf .chip-x, .hub .hf-embed .chip-x { width: 44px; height: 48px; margin: -4px 0; } /* 押せる大きさは 44px 以上。札の高さ（40px）は変えない */
  .hub.hf .chips-more, .hub .hf-embed .chips-more { min-width: 44px; }
  .hub.hf .axes, .hub .hf-embed .axes { position: static; grid-column: 1; margin-top: 8px; }
  .hub.hf .axes [data-axes-rows], .hub .hf-embed .axes [data-axes-rows] { display: none; }
  .hub.hf .axes-open, .hub .hf-embed .axes-open { display: inline-flex; height: 44px; padding: 0 16px; font-size: 13px; font-weight: 700; }
  .hub.hf .bar { grid-column: 2; justify-content: flex-end; height: 44px; margin-top: 8px; border-bottom: 0; }
  .hub.hf .bar-range, .hub.hf .pg-mini, .hub.hf .bar-sort span { display: none; }
  .hub.hf .bar-sort select { width: 168px; height: 44px; }
  .hub.hf .hub-list { margin-top: 8px; border-top: 1px solid var(--rule); }
  /* 選択肢の面は、下から出る面（先頭に「N 件を見る」） */
  .hub.hf .pane, .hub .hf-embed .pane { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 240; display: flex; flex-direction: column; max-height: 82vh; padding: 0 var(--gut) calc(16px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; }
  .hub.hf .pane-back, .hub .hf-embed .pane-back { display: block; position: fixed; inset: 0; z-index: 230; background: rgba(7, 8, 12, .72); }
  .hub.hf .pane-head, .hub .hf-embed .pane-head { flex: none; height: 64px; gap: 8px; align-items: center; } /* 下から出る面は、高さ 48px のボタンが並ぶので中央ぞろえ（字を中心へ動かす translate は PC だけ） */
  .hub.hf .pane-sub, .hub .hf-embed .pane-sub { display: none; }
  .hub.hf .pane-see, .hub .hf-embed .pane-see { display: inline-flex; flex: 1; height: 48px; padding: 0 16px; }
  .hub.hf .pane-h, .hub .hf-embed .pane-h { flex: none; }
  .hub.hf .pane-close, .hub .hf-embed .pane-close { padding: 0 8px; }
  .hub.hf .pane-menu-back, .hub .hf-embed .pane-menu-back { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; height: 44px; font-size: 13px; font-weight: 700; color: var(--sub); }
  .hub.hf .pane-menu, .hub .hf-embed .pane-menu { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
  .hub.hf .pane-axes .axis, .hub .hf-embed .pane-axes .axis { height: 44px; min-width: 44px; margin-right: 8px; }
  .hub.hf .opts, .hub .hf-embed .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; flex: 1 1 auto; min-height: 0; }
  .hub.hf .pane-find, .hub .hf-embed .pane-find { flex: none; font-size: 18px; }
  /* 行: 画・名前・値（字だけ）・右端。値は 1 行の字として見せる（押して足すのは、条件を足す・内訳から） */
  .hub.hf .row { position: relative; grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 12px; }
  .hub.hf .row.is-member { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .hub.hf .row-pic { width: 96px; }
  .hub.hf .row-face { width: 72px; }
  /* 再生のサムネ（ページの無い人の絵）は押せる物なので 44px 以上: 絵の大きさ（72×40.5）はほかの行と同じまま、上下に 4px ずつ押せる所を足す（行の高さは変えない） */
  .hub.hf .row-face.is-play { background: none; overflow: visible; }
  .hub.hf .row-face.is-play img { border-radius: 8px; background: #14161d; }
  .hub.hf .row-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-height: 44px; }
  /* 1 語で行の幅より長い名前（320px の BABYMONSTER）は、その語の末尾を … で省く（字の途中で切れたまま枠に当てない。読み上げの名前は全部の字のまま）。
     語を包むのは faces-rows.js の nameWords。2 行の … は上の行の側 */
  .hub.hf .row-name .nm-w { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: top; }
  .hub.hf .row-sub, .hub.hf .row-fact, .hub.hf .val-plus, .hub.hf .row-more-l { display: none; }
  /* 値は 1 行の字（入らない分は … で省く） */
  .hub.hf .row-vals { height: 18px; column-gap: 8px; line-height: 18px; pointer-events: none; }
  .hub.hf .val, .hub.hf .val.is-long { height: 18px; min-width: 0; max-width: none; line-height: 18px; overflow: visible; }
  .hub.hf .val.is-long .val-t { overflow: visible; }
  /* グループ・動画の行: 長い値は … で縮める（字の列の幅に収める）。グループの行のデビュー年は出さない（事務所を出す。どの行も 種別・性別・世代・事務所） */
  .hub.hf .row:not(.is-member) .val.is-long { flex: 0 1 auto; min-width: 4em; overflow: hidden; } /* 4 字ぶんより狭くは縮めない（それより狭いときは、全部の行でその札を出さない＝faces.js の fitVals） */
  .hub.hf .row:not(.is-member) .val.is-long .val-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .hub.hf .row[data-kind="g"] .k-dy { display: none; }
  .hub.hf .row-vals .val.is-on { display: none; }
  .hub.hf .pager { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 8px; height: 112px; align-content: center; }
  .hub.hf .pager :is(a, button) { width: auto; }
  .hub.hf .pager-pos { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .hub.hf .hubs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}

/* ==========================================================================
   インクのそろえ（NEEDS.md §0-3。宣言の意味は hub-base.css の「部品: インクのそろえ」）
   行は、中央ぞろえでなくベースラインでそろえてから動かす（中央ぞろえは、ブラウザが行の箱を整数の px に丸めるので 0.5px ずれる）。
   ========================================================================== */
/* 基準（和文）: この要素の字の大きさで、字面の中心（--ink-c）と下端（--ink-b）を決める */
.hub.hf .row-more, .hub.hf .axes-row, .hub.hf .sug-item, .hub.hf .zero-list a, .hub.hf .pager-pos, .hub.hf .brk-toggle, .hub .hf-embed .axes-row, .hub .hf-embed .sug-item { --ink-c: calc(var(--ja-c) * 1em); --ink-b: calc(var(--ja-b) * 1em); }
/* 本数と単位はベースラインで組む（右の矢印は 2026-12-01 に外した） */
/* 中央ぞろえの行の中の 1 行の字は、行の箱を字の大きさ（line-height: 1）にする: 1.6 倍のままだと、行の箱が小数の px になって字が上へ寄る */
.hub.hf .cond-clear, .hub.hf .chips-more, .hub.hf .pane-h, .hub.hf .pane-close, .hub.hf .bar-sort, .hub.hf .saved, .hub.hf .brk-toggle, .hub .hf-embed .cond-clear, .hub .hf-embed .chips-more, .hub .hf-embed .pane-h, .hub .hf-embed .pane-close { line-height: 1; }
/* 高さが偶数の枠の中の 13px の字は、行の箱も偶数の px にする（奇数だと、枠の中央の位置が 0.5px になり、1 倍の画面で字が 0.69px 上へ寄る） */
.hub.hf .bar-sort select { line-height: 16px; }
.hub.hf .pane-sub, .hub .hf-embed .pane-sub { line-height: 16px; }
/* 小さい和文を、基準の中心へ */
.hub.hf .axes-k, .hub.hf .sug-k, .hub.hf .sug-n, .hub .hf-embed .axes-k, .hub .hf-embed .sug-k, .hub .hf-embed .sug-n { translate: 0 calc(var(--ja-c) * 1em - var(--ink-c)); }
@media (min-width: 1100px) { .hub.hf .pane-sub, .hub.hf .pane-close, .hub .hf-embed .pane-sub, .hub .hf-embed .pane-close { translate: 0 calc(var(--ja-c) * 1em - var(--ink-c)); } }
/* 丸の中の矢印: 形の中心が Outfit の数字の中心より高いので、その分だけ下げる */
.hub.hf .pg-mini :is(a, button) span { display: inline-block; translate: var(--circle-offset) calc((var(--arr-c) - var(--en-c)) * 1em); }
/* 答えの件数は試作 2026-11-15 から文の中の字（そろえる組が無い） */
/* translate はインラインの箱に効かないので、文の中の数字は inline-block にする */
.hub.hf .pager-pos b { display: inline-block; }
/* 「▾」は、形の中心が箱の中心より低い。箱の中心に合わせておく（開いて 180° 回しても位置が変わらない） */
.hub.hf .brk-toggle span:last-child { display: inline-block; line-height: 1; translate: 0 calc(var(--sym-caret-box) * -1em); }
.hub.hf .brk-toggle[aria-expanded="true"] span:last-child { rotate: 180deg; translate: 0 calc(var(--sym-caret-box) * 1em); } /* 180° 回すと形は箱の中心より上へ出るので、同じ量だけ下げる */
/* 条件の「×」は、形の中心が和文より高いので、その分だけ下げる */
.hub.hf .chip-x span, .hub .hf-embed .chip-x span { translate: 0 calc(var(--sym-times) * 1em); }

/* ==========================================================================
   EN（/en/lab/groups/・members/・videos/）: 英字は Outfit で組む（行の箱は和文と同じ基準の書体＝KPD Strut JA のまま。Calendar の EN と同じ）。
   ========================================================================== */
.hub.hf:lang(en) { --ja: "KPD Strut JA", "Outfit", "KPD Sans JP Local", "KPD Sans JP", system-ui, sans-serif; }
/* EN の条件の「×」: 条件の名前は Outfit（欧字の字面の中心は和文より高い）。測った差（0.56px・15px の × で .037em）だけ、× を和文の時より上へ */
.hub.hf:lang(en) .chip-x span, .hub:lang(en) .hf-embed .chip-x span { translate: 0 calc((var(--sym-times) - .037) * 1em); }
/* EN の答えの見出しは、意味の句のかたまり（Japanese members｜of fourth-generation groups:）ごとに折り返す（JA の文節のかたまりと同じ） */
.hub.hf .ans-lead-t .ph, .hub.hf .faq .ph { display: inline-block; max-width: 100%; }
/* EN の本数と単位（195 videos）: 大きな数字と小さな単位は下端でそろえる。欧字の単位は字面の下端がベースライン（和文の「本」はベースラインより下へ出るので JA は 1px 下げる）。
   前は JA と同じ 1px で、数字の下端が単位より 1px 下にあった */
.hub.hf:lang(en) .row-more b { translate: none; }

.hub.hf .member-dates, .hub.hf .membership { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.hub.hf .member-date-compact { display: none; }
.hub.hf .member-dates { margin: 0; font-size: 12px; color: var(--sub); }
.hub.hf .membership, .hub.hf .member-dates .val { position: relative; z-index: 1; pointer-events: auto; }
/* 所属の札の間の空いた所は、行を覆う名前のリンクへ通す（札・組の名前は今までどおり上の層。PC もスマホも同じ。スマホは選んだ札を出さない。2026-12-01） */
.hub.hf .membership { pointer-events: none; }
.hub.hf .membership :is(button, a, .val) { pointer-events: auto; }
.hub.hf .membership { max-width: 100%; gap: 8px; }
.hub.hf .membership > :last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hub.hf .membership-name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub.hf .membership a { flex: 0 1 auto; padding-inline-end: 4px; }
.hub.hf .membership .val.is-long { min-width: 0; }
/* 選択は色と印で示す。字幅を保ち、続けて押すリンクを動かさない。 */
.hub.hf .membership .val { padding: 0; font-weight: 400; text-align: start; }
.hub.hf .membership > .val:not(.is-long) { flex: 0 0 44px; justify-content: center; }
.hub.hf:not(.is-ready) .membership > button.membership-add { visibility: hidden; }
.hub.hf .membership[hidden] { display: none; }
.hub.hf .membership .val.is-on { display: inline-flex; }

@media (max-width: 1099px) {
  .hub.hf[data-face="m"] { --row-h: 120px; }
  /* 上の 2 段に写真・人物名・右端の導線を収め、所属の段は端まで使う。 */
  .hub.hf .row.is-member { grid-template-rows: 44px 20px 44px; align-content: center; }
  .hub.hf .is-member .row-body { display: contents; }
  .hub.hf .is-member .row-face { grid-area: 1 / 1 / 3 / 2; }
  .hub.hf .is-member .row-more { grid-area: 1 / 3 / 2 / 4; } /* 名前の段（44px）にそろえる（前は名前と生年月日の 2 段の真ん中で、名前の字より 11px 下。2026-11-30） */
  .hub.hf .is-member .row-more { translate: 0 -1px; } /* 箱の中心をそろえたあとに残る 1.09px（数字の字の中心が名前の字より下）を戻す */
  .hub.hf .is-member .row-head { grid-area: 1 / 2 / 3 / 3; }
  .hub.hf .is-member .member-dates { display: none; }
  .hub.hf .is-member .row-vals { grid-area: 3 / 1 / 4 / -1; position: relative; height: 44px; }
  .hub.hf .is-member .membership {
    display: flex;
    gap: 28px;
    width: 100%;
    height: 44px;
  }
  /* 狭い面は選んだ所属を先頭に見せる。fitVals の段判定の原点も 0 のまま。 */
  .hub.hf .is-member .membership.is-alternative { position: absolute; top: 0; visibility: hidden; }
  .hub.hf .is-member .membership[hidden] { display: none; }
  .hub.hf .is-member .membership :is(.val, a) {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    height: 44px;
    box-sizing: border-box;
  }
  .hub.hf .is-member .membership .val { position: relative; min-width: 0; }
  .hub.hf .is-member .membership button::after { content: ""; position: absolute; inset: 0 auto 0 0; width: min(44px, calc(100% + 28px)); }
  .hub.hf .membership .val.is-long .val-t { overflow: hidden; text-overflow: ellipsis; }
  /* 所属の段は、名前・生年月日と同じ左の線から（2026-11-30）。「＋」と組の名前の間は、ほかの札の「＋ 韓国」と同じ 4px。
     前は段が絵の列から始まり、44px の箱の真ん中に「＋」を置いたので、「＋」と名前の間が 44px 空いていた。
     押せる所（44×44）は、「＋」の左（絵の列の下の空き。絵は上の 2 段だけ）へ広げる。名前のリンクとは重ならない */
  .hub.hf .is-member .row-vals { grid-area: 3 / 2 / 4 / -1; }
  /* 所属の段は 1 段いっぱいの幅。空いた所は行を覆う名前のリンクへ通す（上の .membership の決まり。押せるのは「＋」と組の名前だけ） */
  .hub.hf .is-member .membership { gap: 4px; }
  .hub.hf .is-member .membership > .val:not(.is-long) { flex: 0 0 12px; justify-content: flex-start; }
  .hub.hf .is-member .membership .val-plus { display: inline-block; }
  .hub.hf .is-member .membership button::after { inset: 0 auto 0 -32px; width: 44px; }
}

@media (min-width: 1100px) {
  /* メンバーの行は字が 4 段（名前・読み・生年月日・所属と国籍）。96px では名前の字の上端が上の罫から 5px、下の「＋」の段が下の罫から 9px しか空かなかった（2026-11-30）。
     行を 120px にして、字の塊の上下をグループ・動画の行と同じ 19px ほどにそろえる。字の塊は上の段（名前の行の箱 22px）より下の段（札の箱 28px）の空きが大きいので、
     上に 4px 足して、インクの上下と絵の中心を合わせる。24 行の場所取りは同じ --row-h で取るので、ページ送りは条件を替えても動かない */
  .hub.hf[data-face="m"] { --row-h: 120px; }
  .hub.hf .is-member .row-body { padding-top: 4px; }
  /* グループ・動画の行も同じ考え方: 下の札の段（箱 28px・字 12px）の空きの分だけ、字の塊を 2px 下げる（上 18〜19・下 21 → 上下とも 20 前後） */
  .hub.hf .row:not(.is-member) .row-body { padding-top: 4px; }
  /* 右の本数は名前の段にそろえる（390 と同じ決まり。2026-12-01）。行の字の段（名前と読み・生年月日・札）を行の格子の段（subgrid）にして、本数を 1 段目に置く。
     絵は段を押し広げない（上下に同じだけ引く＝絵の中心は字の塊の中心のまま）。本数の字の右端は行の右端（全行で同じ x） */
  .hub.hf .row { grid-template-rows: repeat(3, auto); align-content: center; }
  .hub.hf .row > :is(.row-pic, .row-face) { grid-row: 1 / -1; margin-block: -48px; }
  .hub.hf .row-body { grid-row: 1 / -1; display: grid; grid-template-rows: subgrid; }
  .hub.hf .row > .row-more { grid-row: 1; align-self: start; margin-block: -12px; translate: 0 5px; } /* 箱の中心を 1 段目の上から 10px に置き、名前の字の中心まで下げる（測って 4.76〜4.91px） */
  .hub.hf .membership { min-width: min(100%, 96px); } /* 44px の操作域 2 個と間の 8px */
  .hub.hf.is-ready .is-member .row-vals { overflow: visible; }
  .hub.hf .membership :is(.val, a) { position: relative; display: inline-flex; align-items: center; min-width: 44px; min-height: 24px; box-sizing: border-box; overflow: visible; }
  .hub.hf:not(.is-js) .membership .val-plus { display: inline-block; visibility: hidden; }
  .hub.hf:not(.is-ready) .membership button::after { content: ""; position: absolute; inset: 0 auto 0 0; width: clamp(100%, 44px, calc(100% + 8px)); }
  .hub.hf.is-ready .membership :is(button, a)::after {
    content: "";
    position: absolute;
    inset: var(--hit-inset, 0);
  }
}
@media (min-width: 1100px) {
  .hub.hf .row-name a { display: inline-block; max-width: 100%; height: 24px; line-height: 24px; vertical-align: top; overflow: hidden; text-overflow: ellipsis; }
  /* 動画の曲の行の曲名のリンクは、前の字（span.row-song）と同じ組み方のまま（行の字として流し、長い曲名は .row-name の … で省く） */
  .hub.hf .row-name a.row-song { display: inline; max-width: none; height: auto; line-height: inherit; vertical-align: baseline; overflow: visible; text-overflow: clip; }
  /* 短い名前（CL・SF9・izna）のリンクに min-width を付けない（前は名前と曲名の間が 13〜25px 空いていた。2026-11-30）。
     押せる所は、行全体を覆う名前のリンクの ::after（上の「行のどこを押しても」） */
  .hub.hf .row-vals :is(button.val, .val.is-on) { min-width: 44px; }
  .hub.hf .row-vals .membership .val { min-width: 0; }
  .hub.hf .is-member .row-sub { height: 15px; line-height: 15px; }
  .hub.hf .saved-list { overflow-x: auto; scroll-snap-type: x mandatory; }
  .hub.hf .saved-item { scroll-snap-align: start; }
}
@container main (max-width: 760px) {
  /* 狭い列では保存済みの一件を全幅で見せ、横送りで次の一件に移る。 */
  .hub.hf .saved-list:not(:empty) { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; width: 144px; min-width: 90px; }
  .hub.hf .saved-list:not(:empty) .saved-item { justify-content: space-between; }
  .hub.hf .saved:has(.saved-item) .saved-k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (min-width: 1100px) {
  @container main (max-width: 480px) {
    .hub.hf .pager { position: relative; }
    .hub.hf .pager-pos { position: absolute; right: 0; bottom: 0; }
  }
}
@media (max-width: 1099px) {
  .hub.hf .is-member .row-name { display: block; max-height: none; }
  .hub.hf .is-member .row-name a { display: block; min-height: 44px; }
  .hub.hf .member-name { height: 44px; display: flex; align-items: center; overflow: hidden; }
  .hub.hf .is-member .member-date-compact { display: block; height: 20px; line-height: 20px; font-size: 12px; font-weight: 400; color: var(--sub); white-space: nowrap; }
  .hub.hf a.row-face { position: relative; overflow: visible; }
  .hub.hf a.row-face img { border-radius: inherit; }
  .hub.hf a.row-face::after { content: ""; position: absolute; inset: -4px 0; }
  .hub.hf .row-body { min-height: 44px; }
  /* グループ・動画の行: 名前・値の 2 段を行の格子の 2 段（subgrid）にして、字の塊（名前 22＋値 18）を行の上下の中央に置く。
     右の「194 本」は名前の段（1 段目）にそろえる（前は行の真ん中＝名前と値の間の高さにあった。2026-11-30）。
     名前が 2 段に折れても、本数は 1 段目の字の中心（段の上から 11px）に置く（44px の押せる箱の中心を合わせる） */
  .hub.hf .row:not(.is-member) { grid-template-rows: auto auto; align-content: center; }
  .hub.hf .row:not(.is-member) > .row-pic { grid-row: 1 / 3; margin-block: -24px; } /* 絵（54px）は 2 段の高さ（40px〜）を押し広げない（上下同じだけ引くので、絵の中心は 2 段の中心のまま） */
  .hub.hf .row:not(.is-member) .row-body { grid-row: 1 / 3; display: grid; grid-template-rows: subgrid; min-height: 0; }
  .hub.hf .row:not(.is-member) > .row-more { grid-row: 1; align-self: start; margin-block: -12px; } /* 下も同じだけ引き、1 段目の高さ（名前 22px）を押し広げない。数字の字の中心が名前の字の中心に来る位置（差 0.24px） */
  /* メンバーの行（名前の箱 44・生年月日 20・所属 44）も、字の上下の空き（上 20・下 23.5）をそろえる: 行の中身を 2px 下げる */
  .hub.hf .row.is-member { padding-top: 4px; }
}
.hub.hf .axis, .hub.hf .chip-x { min-width: 44px; }
.hub.hf .chips:not(:empty) { min-width: 60px; }
.hub.hf .chip { max-width: 100%; }
.hub.hf .chip-l { overflow: hidden; text-overflow: ellipsis; }
.hub.hf a.chip-l { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; }
.hub.hf .chip-tab { flex: none; color: var(--sub); }
.hub.hf .chip-x { flex-shrink: 0; min-height: 44px; }
.hub.hf .chip.is-clipped { visibility: hidden; }
.hub.hf .saved-item :is(a, button), .hub.hf .pane-close { min-width: 44px; }
.hub.hf :is(.row-vals, .member-dates, .row-name, .peek-facts, .brk, .saved-list, .chips, .tabs, .opts, .axes-list) :is(a, button, input, select, summary) { outline-offset: -3px; } /* 生年月日の札も内へ（外へ 4px 出すと、すぐ下の所属の札に輪が重なっていた。2026-11-30） */
@media (max-width: 1099px) {
  .hub.hf .chips { padding-block: 4px; }
  .hub.hf .chip-x { height: 44px; }
}

/* 条件欄が二段の一覧でも、一覧の頭は三段のときとそろえる。 */
@media (min-width: 1100px) {
  .hub.hf [data-axes-rows]:has(> :nth-child(2):last-child) { padding-bottom: 36px; }
}
/* 横送りの札は、適用先と条件名を一緒に読める幅を持つ。 */
.hub.hf .chips:has(.chip-tab) { max-width: none; padding-left: 4px; }
.hub.hf a.chip-l > :last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hub.hf .cond:has(.chip-tab) .cond-input { flex-basis: 44px; min-width: 44px; }
.hub.hf .chip:has(.chip-tab) { padding-right: 4px; }
.hub.hf .cond:has(.chip-tab) :is(.cond-clear, .chips-more) { min-width: 44px; padding-inline: 4px; }
.hub.hf:lang(en) .cond:has(.chip-tab) .chips-more { width: 8ch; white-space: normal; }
/* 折り返す札の並びは、右にも左と同じ 4px を空ける（長い札の値は末尾の … まで見せ、札の右の縁を枠に当てない） */
@media (max-width: 380px) {
  .hub.hf .cond:has(.chip-tab) { flex-wrap: wrap; height: auto; }
  .hub.hf .chips:has(.chip-tab) { flex: 1 1 100%; flex-wrap: wrap; row-gap: 8px; padding-right: 4px; }
}
@media (min-width: 381px) and (max-width: 500px) {
  .hub.hf:lang(en) .cond:has(.chip-tab),
  .hub.hf .cond:has(.carried ~ .carried ~ .carried) { flex-wrap: wrap; height: auto; }
  .hub.hf:lang(en) .chips:has(.chip-tab),
  .hub.hf .cond:has(.carried ~ .carried ~ .carried) .chips { flex: 1 1 100%; flex-wrap: wrap; row-gap: 8px; padding-right: 4px; }
}

/* ポインタが細かい PC（1100px 以上・マウスとトラックパッド）: 行の札の「＋」と字の間・札どうしの間を全部同じにする（「＋ IVE　＋ IZ*ONE　＋ 韓国」。2026-11-30 指揮の決め＝案 A）。
   押せる所は 24×24 以上（WCAG 2.5.8 AA）。所属の「＋」と名前のリンクの押せる所は faces.js の fitMembershipTargets が空きへ 24px まで広げる（隣と重ならない）。
   タッチの環境と 1099px 以下は、今までどおり 44×44 */
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .hub.hf .membership { min-width: 0; height: 28px; gap: 4px; } /* 高さはほかの札（28px）と同じ（中の「＋」の箱を 24px にしても、札の段の位置がずれない） */
  .hub.hf .membership > .val:not(.is-long) { flex: 0 0 12px; justify-content: flex-start; }
  .hub.hf .membership :is(.val, a), .hub.hf .row-vals :is(button.val, .val.is-on) { min-width: 0; }
  .hub.hf .membership a { padding-inline-end: 0; } /* 札どうしの間は全部 12px（所属の後ろだけ 16px になっていた） */
  .hub.hf:not(.is-ready) .membership button::after { inset: 0 auto 0 -12px; width: 24px; }
  .hub.hf:not(.is-ready) .membership a::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(100%, 24px); } /* 描き終わる前（押せる所を測る前）も、短い名前（IVE）のリンクは 24px 以上（後ろの 12px の間へ広げる） */
  /* 「＋」の箱は字の幅（12px）なので、フォーカスの輪は内へ入れず箱の外に（外へ 2px・名前までの 4px の中に収まる）。
     箱の高さは名前のリンクと同じ 24px（段の 28px の中央）にして、外へ出た輪が上の生年月日の札に掛からないようにする */
  .hub.hf .membership > button { height: 24px; outline-offset: 0; }
}

/* ==========================================================================
   スマホ・狭い画面（1099px 以下）の余白の段（2026-11-27。本人 11-25 がカレンダーに言った「全体的に余白がなかったりで、全然世界一に感じなかった」を、一覧 3 つにも当てる）
   その場の数字を足さず、カレンダー（calendar.css の --cs-*）と同じ段（4・8・12・16・24・32・48）だけを使う。1 つの値に変数は 1 つ。机の幅（1100px 以上）には効かない。
     まとまりの中（小見出し → 一覧・下から出る面の上の縁と中の間・選択肢の右の余り）……… 8   --fs-in-group-s
     まとまりの中（条件の欄 → ボタン・ボタン → 一覧の罫・答え → 内訳の罫・見出し → 中身）…… 16  --fs-in-group
     色の面の直下（面 → 条件の欄）…………………………………………………………………… 24  --fs-under-plane
     まとまりの間（ページ送り → 関連・これまでのメンバー）………………………………………… 32  --fs-group
     節の間（カテゴリ・名前から探す・よくある質問）……………………………………………… 48  --fs-section
   行の高さ: 絵（96×54・人は 72×40.5 の 2 段）の上下に 16 以上（カレンダーの一覧の行＝56px の絵と罫の上下 16 の 88px と同じ）。
   決めた余白が画面で守られているかは、CSS の字でなく描いた箱で測る（_work-32/faces390/tools/rhythm.mjs。共通の測りに入れる案は報告に）。
   ========================================================================== */
@media (max-width: 1099px) {
  .hub.hf { --fs-in-group-s: 8px; --fs-in-group: 16px; --fs-under-plane: 24px; --fs-group: 32px; --fs-section: 48px; }
  /* 行（グループ・動画）: 72 → 88（絵の上下 9 → 17。名前が 2 段に折れる行でも、字の箱の上下が 13 以上） */
  /* 下の罫は、近い条件の最後の行の罫が引く（前は外の箱にも罫があり、32px の間を置いて 2 本並んでいた） */
  .hub.hf .zero { padding: 24px 0 0; border-bottom: 0; }
  .hub.hf { --row-h: 88px; }
  /* 色の面 → 条件の欄（前は 0＝欄の上の縁が色の面の下の縁に貼り付いていた） */
  .hub.hf .hub-ctrl { margin-top: var(--fs-under-plane); }
  /* 条件の欄 →［絞り込む］［並び］（前は 8）・ボタン → 一覧の罫（前は 8） */
  .hub.hf .axes, .hub.hf .bar { margin-top: var(--fs-in-group); }
  .hub.hf .hub-list { margin-top: var(--fs-in-group); }
  /* タブの並び → 答えの箱は 24（前は 12。320px で 3 段の答えの 1 段目がタブの下線に 12px で寄っていた） */
  .hub.hf .ans { padding-top: var(--fs-under-plane); }
  /* 答えの字 → 内訳の罫（前は 4。2 段の答えの「…です。」の下端が罫に 10px で寄っていた） */
  .hub.hf .brk-toggle { margin-top: var(--fs-in-group); }
  /* ページ送り: 最後の行の罫 → ボタンは 16、位置の字（1 / 25 ページ）の下に余りを持たない（前は高さ 112 の真ん中に置き、字の下に 18 余って、節の間が見た目 66 になっていた） */
  .hub.hf .pager { height: auto; padding-top: var(--fs-in-group); align-content: start; }
  /* 節・まとまり: 見出し → 中身は 16（前は 12）、小見出し → 一覧は 8（前は 4） */
  .hub.hf :is(.sec > .hubs, .faq-list, .zero-list) { margin-top: var(--fs-in-group); }
  .hub.hf .rel .rel-list { margin-top: var(--fs-in-group-s); }
  .hub.hf .rel { margin-top: var(--fs-group); }
  .hub.hf .sec { margin-top: var(--fs-section); }
  /* 名前から探す: 見出しの上に余分の 8 を足さない（節の間をほかの節と同じ 48 に） */
  .hub.hf .names > summary { padding-top: 0; }
  /* 条件の欄: 外す物が無いときは「すべてクリア」を出さない（押せない字が欄の 3 割を取り、EN の 320〜390px で案内の字「e.g. 4th gen Japanese main vocal」が字の途中で切れていた）。
     欄の箱は動かない（札・入力の左の位置も同じ）。入りきらない案内の字は … で終える */
  .hub.hf .cond-clear:disabled { display: none; }
  .hub.hf .cond-input { text-overflow: ellipsis; }
  /* 下から出る面: 上の縁 → ボタンは 16（前は 8）、ボタン → 中身は 16（前は 8〜10） */
  .hub.hf .pane { padding-top: calc(var(--fs-in-group-s) - 1px); } /* 上の縁の罫 1px を含めて 8＋（64 の段の中の）8＝16 */
  .hub.hf .pane-head { margin-bottom: var(--fs-in-group-s); }
  /* 選択肢: 右端の数の右に 8 を残す（フォーカスの輪（内へ 3px）が数字の上を通っていた） */
  .hub.hf .opt { padding-right: var(--fs-in-group-s); }
  /* 軸のボタン: 字の左にも 8（前は左 0・右 12＋最小の幅の余りで、フォーカスの輪が字の左の縁に貼り付き、右へ片寄っていた）。件数が空の間は字の左右をそろえる。
     字の左端は「グループの条件」の字にそろえたまま */
  .hub.hf .pane-axes .axis-n:empty { display: none; }
  .hub.hf .pane-axes .axis { justify-content: center; padding: 0 var(--fs-in-group-s); margin: 0 var(--fs-in-group) 0 calc(var(--fs-in-group-s) * -1); }
}
/* 600〜1099px（タブレット・横向き）: 答えは 1〜2 段で入るので、答えの箱は 2 段ぶん（60）。前は 3 段ぶん（90）で、1 段の答えの上に 60px の空きがあった。
   入らない長い文は、今までどおり faces.js の fitAnswer が字を 1 段小さくする（箱の高さは変えない＝下の内訳・条件の欄は動かない） */
@media (min-width: 600px) and (max-width: 1099px) {
  .hub.hf .ans-h { min-height: 60px; }
  .hub.hf .ans-lead { height: 60px; }
}

@media (max-width: 380px) {
  .hub.hf:lang(en) .zero-list a { column-gap: var(--fs-in-group-s); }
  .hub.hf .row:not(.is-member) .row-name { line-height: 20px; max-height: 40px; }
}
