/* 入口曲のページ（/ja/starter-songs/・/en/starter-songs/）。assets/hub/hub-base.css の後に読む。規則は全部 .hub.ss の中。
   基準は hub-base と同じ（字の大きさ 12/13/15/18/22/28/40＋左の面の主役の可変・太さ 400/700/900・余白は 4 の倍数・ボタンは pill）。
   第三者の画像は「その動画を再生する操作としてのサムネ」だけ（16:9・切り抜かない・字を重ねない・YouTube への別窓のリンクの内側）。 */

/* ---------- 左の面: 試聴の台 ---------- */
.hub.ss .ss-plane .hub-plane-bar { align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
/* 「1 / 12」は右の ◀ ▶ の左に右ぞろえ（字の幅が変わっても ◀ ▶ は動かない） */
.hub.ss:lang(en) .ss-pos { translate: 0 -.023em; } /* 英字の題（Starter songs・900）と ◀ の中心は 0.7px 違う。「1 / 12」をその間に置く（どちらとも 0.4px 以内） */
.hub.ss .ss-page { font-size: 18px; font-weight: 900; line-height: 1; white-space: nowrap; font-feature-settings: "palt"; }
.hub.ss .ss-ctl { display: flex; align-items: center; gap: 8px; }
.hub.ss .ss-pos { min-width: 3.6em; margin-right: 4px; font-family: var(--en); font-size: 15px; font-weight: 700; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.hub.ss .ss-ctl .btn-circle[aria-disabled="true"] { opacity: .36; cursor: default; }
.hub.ss:not(.is-js) .ss-ctl { visibility: hidden; }
.hub.ss .ss-st-h { flex: none; margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 20px; }
.hub.ss .ss-st { flex: 1 1 auto; min-height: 0; display: flex; margin: 12px -8px 0; padding: 0 0 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.hub.ss .ss-st::-webkit-scrollbar { display: none; }
.hub.ss .ss-st:focus-visible { outline: 2px solid var(--plane-ink); outline-offset: -2px; }
.hub.ss .ss-sti { flex: 0 0 100%; min-width: 0; padding: 0 8px; scroll-snap-align: start; display: flex; flex-direction: column; }
.hub.ss .ss-sti-pic { position: relative; display: block; flex: none; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--plane-ink) 14%, var(--plane)); }
.hub.ss .ss-sti-pic img { width: 100%; height: 100%; object-fit: cover; } /* hqdefault（4:3 の上下の黒い帯つき）だけ、帯の分を外す。16:9 の絵は切らない */
.hub.ss .ss-sti-pic::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: rgba(7, 8, 12, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%23ffffff'/%3E%3C/svg%3E") 54% 50% / 24px no-repeat; transition: transform 160ms ease; }
.hub.ss .ss-sti-pic:hover::after { transform: scale(1.08); }
.hub.ss .ss-sti-txt { min-width: 0; padding-top: 16px; }
.hub.ss .ss-sti-g { font-size: 15px; font-weight: 900; line-height: 22px; }
.hub.ss .ss-sti-g a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hub.ss .ss-sti-t { margin-top: 4px; font-size: clamp(28px, 7cqi, 56px); font-weight: 900; line-height: 1.12; font-feature-settings: "palt"; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* 事実の行（世代・事務所・動画の種類。区切りは余白）と、その曲のために書かれた説明の文（無い曲は空の行＝高さはどの曲も同じ 2 行ぶん） */
.hub.ss .ss-sti-f { display: flex; flex-wrap: wrap; column-gap: 16px; margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 20px; }
.hub.ss .ss-sti-r { min-height: 48px; margin-top: 4px; font-size: 15px; line-height: 24px; word-break: auto-phrase; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ---------- 右: グループごとの最初の 1 曲 ---------- */
.hub.ss .ss-main { padding-bottom: 64px; }
.hub.ss .ss-sec { padding-top: 40px; }
.hub.ss .ss-ctrl { display: grid; gap: 4px; margin-top: 12px; }
.hub.ss .ss-ctrl > nav { min-width: 0; } /* 横に送るタブの並びが、段の幅を押し広げない */
/* 押せる範囲: 字の幅の短い項目（「すべて」）も 44px に届くよう、左右へ 10px 広げる（下線＝字の幅は変えない・隣どうしの範囲は重ならない＝間は 20px 以上） */
.hub.ss .ss-ctrl .tab::before { content: ""; position: absolute; inset: 0 -10px; }
.hub.ss .ss-ctrl .tab:first-child::before { left: -16px; } /* 先頭（「すべて」「All」＝字の短い項目）は左に隣が無いので、左へ多めに広げる */
.hub.ss .ss-ctrl .tabs { margin-inline: -16px -10px; padding-inline: 16px 10px; } /* 端の項目の広げた範囲が、横に送る並びの縁で切れない（字の位置は変わらない） */
.hub.ss:not(.is-js) .ss-ctrl { display: none; }
.hub.ss .ss-count { margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--sub); }
/* 最初の状態: JS が付いた端末は、世代のタブを 1 つ選んだ形（その世代の組だけ）。JS が無ければ全部の組（索引に入る中身は同じ） */
.hub.ss.is-js .ss-count:has(.ss-count-js) .ss-count-all, .hub.ss:not(.is-js) .ss-count-js { display: none; }
.hub.ss.is-js .ss-grid[data-show="1"] .ss-c:not([data-gen="1"]), .hub.ss.is-js .ss-grid[data-show="2"] .ss-c:not([data-gen="2"]),
.hub.ss.is-js .ss-grid[data-show="3"] .ss-c:not([data-gen="3"]), .hub.ss.is-js .ss-grid[data-show="4"] .ss-c:not([data-gen="4"]),
.hub.ss.is-js .ss-grid[data-show="5"] .ss-c:not([data-gen="5"]) { display: none; }
.hub.ss .ss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; margin-top: 20px; }
.hub.ss .ss-c { min-width: 0; }
.hub.ss .ss-c[hidden] { display: none; }
.hub.ss .ss-c-pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #14161d; }
.hub.ss .ss-c-pic picture { display: block; width: 100%; height: 100%; } /* <picture> は字の流れの箱なので、絵の高さを枠に合わせるために箱にする */
.hub.ss .ss-c-pic img { width: 100%; height: 100%; object-fit: cover; } /* 帯つきの hq に替わった時も、帯の分だけを外す（上の .ss-sti-pic と同じ） */
.hub.ss .ss-c-pic::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(7, 8, 12, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%23ffffff'/%3E%3C/svg%3E") 56% 50% / 14px no-repeat; }
.hub.ss .ss-c-g { display: block; margin-top: 12px; font-size: 15px; font-weight: 900; line-height: 22px; overflow-wrap: anywhere; font-feature-settings: "palt"; }
.hub.ss a.ss-c-g:hover { color: var(--accent-text); }
/* 札の字の所を押しても組のページへ（組の名前のリンクを札いっぱいに広げる）。サムネ（再生）は上に置く */
.hub.ss .ss-c { position: relative; }
.hub.ss a.ss-c-g::after { content: ""; position: absolute; inset: 0; }
.hub.ss .ss-c-pic { z-index: 1; }
.hub.ss .ss-c-t { display: block; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--sub); overflow-wrap: anywhere; }
.hub.ss .ss-faq .ss-qa { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.hub.ss .ss-faq .ss-qa:first-of-type { margin-top: 12px; border-top: 1px solid var(--rule); }
.hub.ss .ss-qa h3 { font-size: 15px; font-weight: 900; line-height: 24px; }
.hub.ss .ss-qa p { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--sub); }

@media (min-width: 1100px) {
  .hub.ss .ss-plane .hub-plane-body { padding-bottom: 32px; }
  /* 低い画面でも、サムネと字が台の中に入る幅（高さから逆算・16:9 のまま） */
  .hub.ss .ss-sti-pic { width: min(100%, calc((100vh - var(--hub-head-h) - 56px - 40px - 32px - 184px) * 16 / 9)); }
  @container main (min-width: 760px) { .hub.ss .ss-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @container main (max-width: 520px) { .hub.ss .ss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}
@media (max-width: 1099px) {
  .hub.ss .ss-plane { padding-bottom: 24px; }
  .hub.ss .ss-plane .hub-plane-bar { height: 56px; }
  .hub.ss .ss-st-h { margin-top: 0; }
  .hub.ss .ss-sti-pic { max-height: none; }
  .hub.ss .ss-sti-pic::after { right: 12px; bottom: 12px; width: 48px; height: 48px; background-size: 20px; }
  .hub.ss .ss-sti-t { font-size: 28px; }
  .hub.ss .ss-sti-r { min-height: 40px; font-size: 13px; line-height: 20px; -webkit-line-clamp: 2; }
  .hub.ss .ss-sti-f { font-size: 12px; }
  .hub.ss .ss-sec { padding-top: 32px; }
  .hub.ss .ss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .hub.ss .ss-c-g { margin-top: 8px; }
}
@media (max-width: 359px) { .hub.ss .ss-pos { display: none; } } /* 320px の幅では「1 / 12」を出さない（◀ ▶ と題が入らない。読み上げは各曲の名前が言う） */
@media (min-width: 600px) and (max-width: 1099px) { .hub.ss .ss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .hub.ss .ss-sti-pic::after { transition: none; } .hub.ss .ss-st { scroll-behavior: auto; } }
/* 長い「改行しない塊」の印（nw-l・nw-xl＝生成の側の stage-prose.mjs の chunkClass・2026-12-03）。この型の頁では、.nw と同じく折れないまま */
.hub.ss .nw-l, .hub.ss .nw-xl { white-space: nowrap; }
