/* 検索のページ（/ja/search/・/en/search/）。assets/hub/hub-base.css の後に読む。規則は全部 .hub.fs の中。
   基準は hub-base と同じ: 字の大きさ 12/13/15/18/22/28/40（＋左の面の主役の可変）・太さ 400/700/900・余白は 4 の倍数・ボタンは pill。
   使わない形: 数字だけの特大・件数の札・塗りの札・左の色帯のカード・破線・入れ子のカード・飾りの区切り・字の後ろの右矢印・ホバーで出る線。
   検索欄はガイド（.gb-field）・「〇〇別」の引く欄（.ax-ask-field）と同じ手触り（白い pill・64px・左の虫めがね・右の「/」・消すボタン）。
   左の面の主役は見出し語（いちばん近い 1 件）。面の色はその組の色へ移る（--plane の transition は hub-base が持つ）。 */

/* ---------- 種類の色（暗い地の上の点。6px の点＋語） ---------- */
.hub.fs { --k-g: #ff4f9a; --k-m: #ffb020; --k-r: #3ec7ff; --k-s: #6fdc8c; --k-v: #ff7a45; --k-t: #b79cff; }
.hub.fs .fs-sec[data-k="g"] { --k: var(--k-g); }
.hub.fs .fs-sec[data-k="m"] { --k: var(--k-m); }
.hub.fs .fs-sec[data-k="r"] { --k: var(--k-r); }
.hub.fs .fs-sec[data-k="s"] { --k: var(--k-s); }
.hub.fs .fs-sec[data-k="v"] { --k: var(--k-v); }
.hub.fs .fs-sec[data-k="t"] { --k: var(--k-t); }

/* ---------- 左の面 ---------- */
.hub.fs .fs-plane .hub-plane-bar { align-items: center; height: 56px; }
.hub.fs .fs-page { font-size: 18px; font-weight: 900; line-height: 1; font-feature-settings: "palt"; }
.hub.fs .fs-plane .hub-plane-body { overflow: visible; }
.hub.fs .fs-lede { flex: none; font-size: clamp(22px, 5.6cqi, 40px); font-weight: 900; line-height: 1.3; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
.hub.fs .fs-field { flex: none; position: relative; margin-top: 28px; color: #07080c; }
.hub.fs .fs-icon { position: absolute; left: 22px; top: calc(50% - 12px); pointer-events: none; }
.hub.fs .fs-field input { display: block; width: 100%; height: 65px; padding-inline: 60px 64px; border: 0; border-radius: 999px; background: #ffffff; font-size: 22px; font-weight: 700; line-height: 1; color: #07080c; -webkit-appearance: none; appearance: none; }
.hub.fs .fs-field input::placeholder { color: #5b5f6b; font-weight: 400; opacity: 1; }
.hub.fs .fs-field input:focus-visible { outline: 3px solid #07080c; outline-offset: -3px; }
.hub.fs .fs-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.hub.fs .fs-kbd { position: absolute; right: 22px; top: calc(50% - 12px); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #8a8f9c; border-radius: 6px; font-family: var(--en); font-size: 12px; font-weight: 700; color: #5b5f6b; pointer-events: none; }
.hub.fs .fs-clear { position: absolute; right: 10px; top: calc(50% - 22px); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #07080c; }
.hub.fs .fs-clear:hover { background: #ececf0; }
.hub.fs .fs-clear:focus-visible { outline: 2px solid #07080c; outline-offset: -2px; }
.hub.fs .fs-field.has-value .fs-kbd { display: none; }
.hub.fs .fs-field input { padding-bottom: 2px; } /* 字（22px）を枠の中心へ。欄の高さは 65px（奇数）: 字は整数の px に置かれるので、64px だと和文か英字のどちらかが 0.5px を超えてずれる（実測 0.56／−0.52）。65px＋下の余白 2px で、和文 0.06・英字 −0.02 */
/* JS が無い端末: 欄は動かないので出さない（題・1 文・新しく載った作品は読める） */
.hub.fs:not(.is-js) .fs-field, .hub.fs:not(.is-js) .fs-stage { display: none; }

/* 状態の箱: 高さは決まっている（中身が替わっても、欄・ボタンの位置は動かない） */
.hub.fs .fs-stage { position: relative; flex: 1 1 auto; min-height: 0; margin-top: 24px; border-top: 1px solid var(--plane-rule); }
.hub.fs .fs-try, .hub.fs .fs-head, .hub.fs .fs-none { position: absolute; inset: 0; padding-top: 20px; overflow: hidden; }
.hub.fs .fs-try-h { font-size: 13px; font-weight: 700; line-height: 20px; }
.hub.fs .fs-try-list { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 12px; }
.hub.fs .fs-try-b { position: relative; isolation: isolate; display: grid; justify-items: start; align-content: center; min-height: 44px; text-align: left; color: inherit; }
.hub.fs .fs-try-b::before { content: ""; position: absolute; inset: -4px -8px; z-index: -1; border-radius: 8px; background: color-mix(in srgb, currentColor 10%, transparent); opacity: 0; transition: opacity 160ms ease; pointer-events: none; }
.hub.fs .fs-try-b:hover::before { opacity: 1; }
.hub.fs .fs-try-q { font-size: clamp(28px, 7cqi, 56px); font-weight: 900; line-height: 1.2; white-space: nowrap; font-feature-settings: "palt"; }
.hub.fs .fs-try-s { margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 20px; white-space: nowrap; }

/* 見出し語 */
.hub.fs .fs-head { display: flex; flex-direction: column; padding-bottom: 24px; }
.hub.fs .fs-hd-k { flex: none; font-size: 13px; font-weight: 700; line-height: 20px; }
.hub.fs .fs-hd-main { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; column-gap: 24px; margin-top: 8px; }
.hub.fs .fs-hd-main.has-pic { grid-template-columns: minmax(0, 1fr) auto; }
.hub.fs .fs-hd-txt { min-width: 0; }
.hub.fs .fs-hd-n { font-weight: 900; line-height: 1.08; font-feature-settings: "palt"; overflow-wrap: anywhere; word-break: auto-phrase; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hub.fs .fs-hd-n.is-1 { font-size: clamp(40px, 13cqi, 112px); }
.hub.fs .fs-hd-n.is-2 { font-size: clamp(32px, 8.5cqi, 72px); }
.hub.fs .fs-hd-n.is-3 { font-size: clamp(28px, 6cqi, 48px); }
.hub.fs .fs-hd-n.is-4 { font-size: clamp(22px, 4.4cqi, 36px); line-height: 1.2; }
.hub.fs .fs-hd-n a { transition: opacity 160ms ease; }
.hub.fs .fs-hd-n a:hover { opacity: .72; } /* ホバーの手がかりは濃さだけ（線を出さない） */
.hub.fs .fs-hd-s { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 28px; }
.hub.fs .fs-hd-x, .hub.fs .fs-hd-t { margin-top: 12px; font-size: 15px; line-height: 24px; }
.hub.fs .fs-hd-x { display: flex; flex-wrap: wrap; gap: 0 16px; }
.hub.fs .fs-hd-x a, .hub.fs .fs-x a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hub.fs .fs-hd-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.hub.fs .fs-hd-pic { position: relative; display: block; width: clamp(160px, 34cqi, 280px); aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--plane-ink) 12%, var(--plane)); }
.hub.fs .fs-hd-pic.is-art { width: clamp(112px, 24cqi, 200px); aspect-ratio: 1; }
.hub.fs .fs-hd-pic img { width: 100%; height: 100%; }
/* YouTube の絵は 16:9 の枠いっぱいに（読み込みの失敗の時に 4:3 の hq〔上下に黒い帯つき〕へ替わる。帯の分だけを外す・16:9 の絵は切らない）。ジャケットは正方形のまま */
.hub.fs :is(.fs-hd-pic, .fs-pic, .fs-v-pic):not(.is-art) img { object-fit: cover; }
.hub.fs .fs-hd-act { flex: none; margin-top: auto; padding-top: 16px; }
.hub.fs .fs-hd-act .btn > span { display: inline-block; }
.hub.fs .fs-hd-act .btn:lang(en) > span { translate: 0 .04em; } /* 英字だけの字（Open page）は和文の行の箱の中心より .04em 高く描かれる（「〇〇別」の .ax-nb .btn:lang(en) と同じ直し方） */
.hub.fs .fs-none-h { font-size: 22px; font-weight: 900; line-height: 1.4; overflow-wrap: anywhere; word-break: auto-phrase; text-wrap: balance; font-feature-settings: "palt"; }
.hub.fs .fs-none .fs-try-h { margin-top: 24px; }
/* 0 件で近い名前も無いとき: 一覧から探す道（字のリンクを縦に。右の矢印を付けない） */
.hub.fs .fs-browse { display: grid; gap: 4px; margin-top: 8px; }
.hub.fs .fs-browse a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }

/* 再生の印（サムネの右下の丸。字を重ねない） */
.hub.fs .fs-play { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(7, 8, 12, .8); color: #ffffff; }
.hub.fs .fs-play svg { translate: 1px 0; }

/* ---------- 右: 結果 ---------- */
.hub.fs .fs-main { padding-bottom: 64px; }
.hub.fs .fs-sec { padding-top: 40px; }
.hub.fs .fs-sec-h { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; line-height: 28px; }
.hub.fs .fs-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--k, var(--sub)); }
.hub.fs .fs-rows { margin-top: 8px; }
.hub.fs .fs-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "pic txt" "pic x"; align-items: center; column-gap: 16px; min-height: 80px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.hub.fs .fs-row.is-term { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "x"; min-height: 0; padding: 16px 0; }
.hub.fs .fs-pic { grid-area: pic; position: relative; display: block; width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14161d; }
.hub.fs .fs-pic img { width: 100%; height: 100%; }
.hub.fs .fs-pic.is-art { width: 54px; aspect-ratio: 1; border-radius: 4px; }
.hub.fs .fs-pic.is-swatch { background: var(--sw, #14161d); }
.hub.fs .fs-pic.is-play .fs-play { right: 4px; bottom: 4px; width: 20px; height: 20px; }
.hub.fs .fs-pic.is-play .fs-play svg { width: 10px; height: 10px; }
.hub.fs .fs-txt { grid-area: txt; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; min-width: 0; align-self: end; }
.hub.fs .fs-n { font-size: 18px; font-weight: 900; line-height: 28px; font-feature-settings: "palt"; overflow-wrap: anywhere; }
.hub.fs .fs-n:hover { color: var(--accent-text); }
/* 行のどこを押しても名前の行き先へ（名前のリンクを行いっぱいに広げる）。行の中のほかのリンク（サムネ・組の名前）は上に置く */
.hub.fs .fs-row { position: relative; }
.hub.fs .fs-n::after { content: ""; position: absolute; inset: 0; }
.hub.fs .fs-row :is(a.fs-pic, .fs-x a) { position: relative; z-index: 1; }
.hub.fs .fs-row .fs-pic.is-swatch { pointer-events: none; }
.hub.fs .fs-s { font-size: 13px; line-height: 20px; color: var(--sub); }
/* 名前（18px 900）と読み（13px 400）はベースラインで並ぶ。字面の下端をそろえる（和文の下端の深さは太さと大きさで違う: 900＝.093em・400＝.080em） */
.hub.fs .fs-txt { --fs-n: 18px; }
.hub.fs .fs-s { display: inline-block; pointer-events: none; translate: 0 calc(var(--fs-n) * var(--ja-b9) - 1em * var(--ja-b4)); }
.hub.fs .fs-x { grid-area: x; align-self: start; display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--sub); }
.hub.fs .fs-x a:hover { color: var(--ink); }
.hub.fs .fs-x-t { display: block; font-size: 15px; line-height: 24px; color: var(--ink); }
.hub.fs .fs-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hub.fs .fs-more:hover { text-decoration-color: var(--accent-text); }
/* 動画（再生の操作としてのサムネ・16:9・切り抜かない・字を重ねない） */
.hub.fs .fs-vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; margin-top: 16px; }
.hub.fs .fs-v-pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14161d; }
.hub.fs .fs-v-pic img { width: 100%; height: 100%; }
.hub.fs .fs-v-t { display: grid; margin-top: 8px; }
.hub.fs .fs-v-k { font-size: 12px; font-weight: 700; line-height: 20px; color: var(--sub); }
.hub.fs .fs-v-n { font-size: 13px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }

/* 打ち始める前: 新しく載った作品（作品へのリンクとしてのアートワーク・正方形のまま） */
.hub.fs .fs-fr-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; margin-top: 16px; }
.hub.fs .fs-fr-art { display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #14161d; }
.hub.fs .fs-fr-art img { width: 100%; height: 100%; }
.hub.fs .fs-fr-t { display: block; margin-top: 12px; font-size: 15px; font-weight: 900; line-height: 22px; overflow-wrap: anywhere; font-feature-settings: "palt"; }
.hub.fs .fs-fr-t:hover { color: var(--accent-text); }
.hub.fs .fs-fr { position: relative; }
.hub.fs .fs-fr-t::after { content: ""; position: absolute; inset: 0; }
.hub.fs .fs-fr :is(.fs-fr-art, .fs-fr-s a) { position: relative; z-index: 1; }
.hub.fs .fs-fr-s { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--sub); }
.hub.fs .fs-fr-s a { color: var(--ink); }
.hub.fs .fs-fr-s a:hover { color: var(--accent-text); }

@media (min-width: 1100px) {
  .hub.fs .fs-plane .hub-plane-body { padding-bottom: 24px; }
  @container main (max-width: 640px) {
    .hub.fs .fs-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hub.fs .fs-fr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @container plane (max-width: 480px) {
    .hub.fs .fs-kbd { display: none; }
    .hub.fs .fs-field input { padding-inline: 52px 24px; padding-bottom: 2px; font-size: 18px; }
    .hub.fs .fs-field.has-value input { padding-right: 56px; }
    .hub.fs .fs-icon { left: 18px; }
    .hub.fs .fs-hd-main.has-pic { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  }
}
@media (min-width: 1100px) and (max-height: 780px) {
  .hub.fs .fs-field { margin-top: 16px; }
  .hub.fs .fs-stage { margin-top: 16px; }
  .hub.fs .fs-try, .hub.fs .fs-head, .hub.fs .fs-none { padding-top: 12px; }
}

@media (max-width: 1099px) {
  /* スマホ・タブレット: 先頭の色の帯＝ページの名前・1 文・欄・状態の箱（高さ 248px で決まっている＝結果の頭が動かない） */
  .hub.fs .fs-plane { padding-bottom: 24px; }
  .hub.fs .fs-plane .hub-plane-bar { height: 48px; }
  .hub.fs .fs-lede { font-size: 15px; line-height: 24px; }
  .hub.fs .fs-field { margin-top: 12px; }
  .hub.fs .fs-field input { height: 52px; padding-inline: 52px; font-size: 18px; }
  .hub.fs .fs-field.has-value input { padding-right: 56px; }
  .hub.fs .fs-icon { left: 16px; }
  .hub.fs .fs-kbd { display: none; }
  .hub.fs .fs-clear { right: 4px; }
  .hub.fs .fs-stage { flex: none; height: 248px; margin-top: 20px; }
  /* 打つ前の例の札: 2 列にそろえ（列の頭が縦にそろう）、箱の高さは札の高さのまま（下に何も無い色の面を残さない）。
     打ち始めたあとの見出し語と 0 件の箱は 248px のまま（打つたびに結果の頭が動かない） */
  .hub.fs .fs-stage:has(> .fs-try:not([hidden])) { height: auto; }
  .hub.fs .fs-stage > .fs-try:not([hidden]) { position: static; }
  .hub.fs .fs-try, .hub.fs .fs-head, .hub.fs .fs-none { padding-top: 16px; }
  .hub.fs .fs-try-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 8px; }
  .hub.fs .fs-try-list > li { min-width: 0; }
  .hub.fs .fs-try-s { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .hub.fs .fs-try-q { font-size: 22px; }
  .hub.fs .fs-try-s { margin-top: 0; font-size: 12px; }
  .hub.fs .fs-head { padding-bottom: 0; }
  .hub.fs .fs-hd-main.has-pic { grid-template-columns: minmax(0, 1fr) 112px; column-gap: 16px; }
  .hub.fs .fs-hd-pic { width: 112px; }
  .hub.fs .fs-hd-pic.is-art { width: 80px; }
  .hub.fs .fs-hd-n.is-1 { font-size: 40px; }
  .hub.fs .fs-hd-main.has-pic .fs-hd-n.is-1 { font-size: 32px; } /* 絵の横に 5 字の名前（ウォニョン）が 320px でも 1 行に入る */
  .hub.fs .fs-hd-n.is-2 { font-size: 28px; }
  .hub.fs .fs-hd-n.is-3 { font-size: 22px; }
  .hub.fs .fs-hd-n.is-4 { font-size: 18px; }
  .hub.fs .fs-hd-s { margin-top: 4px; font-size: 15px; line-height: 22px; }
  .hub.fs .fs-hd-x, .hub.fs .fs-hd-t { margin-top: 8px; font-size: 13px; line-height: 20px; }
  .hub.fs .fs-hd-t { -webkit-line-clamp: 2; }
  .hub.fs .fs-hd-act .btn { height: 44px; }
  .hub.fs .fs-none-h { font-size: 18px; }
  .hub.fs .fs-none .fs-try-h { margin-top: 16px; }
  .hub.fs .fs-sec { padding-top: 32px; }
  .hub.fs .fs-row { grid-template-columns: 80px minmax(0, 1fr); column-gap: 12px; min-height: 72px; }
  .hub.fs .fs-pic { width: 80px; }
  .hub.fs .fs-pic.is-art { width: 45px; }
  .hub.fs .fs-n { font-size: 15px; line-height: 22px; }
  .hub.fs .fs-txt { --fs-n: 15px; }
  .hub.fs .fs-field input { padding-bottom: 2px; } /* 18px: 1.35px の所を 1px 上げる */
  .hub.fs .fs-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .hub.fs .fs-fr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .hub.fs .fs-fr-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hub.fs .fs-vs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .hub.fs .fs-try-b::before { transition: none; } }
/* 長い「改行しない塊」の印（nw-l・nw-xl＝生成の側の stage-prose.mjs の chunkClass・2026-12-03）。この型の頁では、.nw と同じく折れないまま */
.hub.fs .nw-l, .hub.fs .nw-xl { white-space: nowrap; }
