/* BBS-122: approved browser comparison, now static and server-rendered.
   Club palette/gradient/colored shadow, logo, counters and article/post content remain owned by their components. */
body.ffb.figma-site .ffb-spectator-chip,
body.ffb.figma-site .ffb-spectator-new,
body.ffb.figma-site .ffb-article-badges .ffb-label-tag,
body.ffb.figma-site .ffb-article-breadcrumb,
body.ffb.figma-site .ffb-article-hero figcaption,
body.ffb.figma-site .ffb-article__body figcaption,
body.ffb.figma-site .ffb-article__byline,
body.ffb.figma-site .ffb-author-card__sample,
body.ffb.figma-site .ffb-breadcrumb,
body.ffb.figma-site .ffb-catalog__summary,
body.ffb.figma-site .ffb-footer__copyright,
body.ffb.figma-site .ffb-footer__inner>.ffb-btn,
body.ffb.figma-site .ffb-footer__nav>a,
body.ffb.figma-site .ffb-home-league__heading,
body.ffb.figma-site .ffb-rankings .ffb-filter__label,
body.ffb.figma-site .ffb-rankings .ffb-post__meta,
body.ffb.figma-site .ffb-rankings .ffb-post__time,
body.ffb.figma-site .ffb-rankings .ffb-reaction,
body.ffb.figma-site .ffb-rankings__header .ffb-breadcrumb,
body.ffb.figma-site .ffb-toc > ol > li > a::before,
body.ffb.figma-site .figma-board .ffb-composer--dock .ffb-composer__foot,
body.ffb.figma-site .figma-board .ffb-discussion-post--reply .ffb-discussion-post__header time,
body.ffb.figma-site .figma-board .ffb-discussion-post__header time,
body.ffb.figma-site .figma-board .ffb-login-line,
body.ffb.figma-site .figma-board .ffb-reply-help,
body.ffb.figma-site .figma-board .ffb-reply-help .ffb-meta,
body.ffb.figma-site .figma-board .figma-post-menu-label,
body.ffb.figma-site .figma-board .figma-reply-reference,
body.ffb.figma-site .figma-board-breadcrumb,
body.ffb.figma-site .figma-board-breadcrumb .ffb-breadcrumb__separator::after,
body.ffb.figma-site .figma-board-conversations p,
body.ffb.figma-site .figma-board-eyebrow,
body.ffb.figma-site .figma-board-kicker,
body.ffb.figma-site .figma-article-card__text>div,
body.ffb.figma-site .figma-favorite-select small,
body.ffb.figma-site .figma-home-post:not(.figma-home-post--favorite) .figma-home-post__actions>a,
body.ffb.figma-site .figma-home-post__actions,
body.ffb.figma-site .figma-home-post__author time,
body.ffb.figma-site .figma-home-post__club,
body.ffb.figma-site .figma-home-post__club strong,
body.ffb.figma-site .figma-home-preview>span,
body.ffb.figma-site .figma-page__note,
body.ffb.figma-site .figma-sidebar__signature,
body.ffb.figma-site :is(.figma-view-article,.figma-view-rankings) .figma-sidebar__signature,
body.ffb.figma-site .ffb-board-directory__foot>span:last-child,
body.ffb.figma-site .ffb-board-directory__region>p,
body.ffb.figma-site .ffb-board-directory__summary>span,
body.ffb.figma-site .ffb-board-footer summary>span { font-size:12px !important; line-height:1.6 !important; }

body.ffb.figma-site :is(.figma-board-compose,.ffb-board-links .ffb-favorite,.ffb-btn--primary,.ffb-auth-new-member .ffb-btn,.ffb-auth-page .ffb-btn--outline,.ffb-mobile-compose-entry,.ffb-spectator button,.ffb-watch-dialog button,.ffb-watch-toast button) { font-weight:500 !important; }
body.ffb.figma-site :is(.ffb-watch-summary-item > strong,.ffb-watch-large,.ffb-rankings__rank) { font-variant-numeric:tabular-nums; }
@media(max-width:1099px) { body.ffb.figma-site .ffb-account__login > span:not(.figma-icon) { font-size:12px; line-height:1.4; } }
body.ffb.figma-site .figma-board .ffb-h1,
body.ffb.figma-site .figma-board-conversations h2 { font-weight:700 !important; }
body.ffb.figma-site .ffb-header .ffb-account__login { line-height:1.4 !important; }
body.ffb.figma-site .figma-home__intro > p { line-height:1.5 !important; }
body.ffb.figma-site .figma-home-post--favorite .figma-home-post__club { margin-bottom:16px !important; }
body.ffb.figma-site .figma-home-post--favorite .figma-home-post__content { gap:16px !important; }
body.ffb.figma-site .figma-article-card { border-radius:12px !important; }
body.ffb.figma-site .figma-article-card__text { padding:12px 16px 16px !important; gap:12px !important; }
body.ffb.figma-site :is(.figma-safety,.figma-empty-favorites) { padding:20px !important; gap:16px !important; }
body.ffb.figma-site .ffb-auth-page--register.ffb-auth-page--complete > .ffb-auth-content > .ffb-auth-intro { margin:16px 0 !important; }
body.ffb.figma-site .ffb-account__register { padding-inline:16px !important; }
body.ffb.figma-site .ffb-board-footer li > a { padding-block:8px !important; }
body.ffb.figma-site .ffb-board-footer__region > h3 { margin-bottom:20px !important; }
body.ffb.figma-site .ffb-board-directory__leagues { padding:20px 16px !important; }
body.ffb.figma-site .ffb-board-directory__results { padding:24px !important; }
body.ffb.figma-site .ffb-board-dialog__head { padding:20px !important; }
body.ffb.figma-site :is(.ffb-board-directory,.ffb-board-dialog,.ffb-watch-dialog,.ffb-watch-toast) { box-shadow:none !important; }
body.ffb.figma-site .ffb-article__header { gap:20px !important; }
body.ffb.figma-site .ffb-article__body h2 { margin:40px 0 24px !important; }
body.ffb.figma-site .ffb-article__body :is(p,ul,ol,blockquote,figure) { margin-bottom:24px !important; }
body.ffb.figma-site .ffb-article-hero figcaption { margin-top:12px !important; }
body.ffb.figma-site .ffb-editorial-aside { padding-top:40px !important; }
body.ffb.figma-site .ffb-rankings-aside__reading { gap:16px !important; }
body.ffb.figma-site .ffb-status-pill { border-radius:4px !important; }
body.ffb.figma-site .ffb-quick-phrase { border-radius:8px !important; }
body.ffb.figma-site .ffb-watch-panel,
body.ffb.figma-site .ffb-watch-first { padding:20px !important; }
body.ffb.figma-site .ffb-watch-summary { gap:12px !important; margin:20px 0 24px !important; }
body.ffb.figma-site .ffb-watch-summary-item { gap:4px !important; padding:16px 12px !important; border-radius:12px !important; }
body.ffb.figma-site .ffb-watch-filters,
body.ffb.figma-site .ffb-watch-card-grid,
body.ffb.figma-site .ffb-watch-steps { gap:12px !important; }
body.ffb.figma-site :is(.ffb-watch-card,.ffb-watch-steps li) { padding:16px !important; border-radius:12px !important; }
body.ffb.figma-site .ffb-watch-month { margin-top:24px !important; }
body.ffb.figma-site .ffb-watch-match { padding:16px 8px !important; }
body.ffb.figma-site .ffb-watch-toast { padding:16px !important; }
body.ffb.figma-site .ffb-watch-dialog h4 { margin-block:4px !important; }
body.ffb.figma-site .ffb-rankings__filters > .ffb-btn { color:#121212 !important; font-weight:500 !important; }
body.ffb.figma-site .ffb-talk .ffb-btn--club { font-weight:500 !important; }
body.ffb.figma-site .ffb-member-post-tools .ffb-member-save::before { width:18px !important; height:18px !important; }
body.ffb.figma-site .ffb-password-toggle svg { width:18px !important; height:18px !important; }
body.ffb.figma-site .figma-native-label > .ffb-native-label-text { font-family:var(--ffb-font); font-size:14px; font-weight:500; }
/* Keep all club color variables, gradients, colored shadows, brand and counters. */
@media (max-width:767px) {
  body.ffb.figma-site .ffb-board-footer li > a { padding-block:12px !important; }
  body.ffb.figma-site .ffb-article__body h2 { margin-top:32px !important; }
  body.ffb.figma-site .ffb-watch-panel { padding:16px !important; }
}

@media(max-width:1099px) { body.ffb.figma-site .figma-favorite-select { font-size:12px !important; } }

/* Existing 13px mobile club links are already readable; never shrink them. */
@media(min-width:600px) {
  body.ffb.figma-site .ffb-board-footer li>a { font-size:12px !important; line-height:1.6 !important; }
}
/* A2 selected-nav mask owns the accent; an inline icon must not paint over it. */
body.ffb.figma-site.ffb-club-presentation .figma-sidebar__nav > a[aria-current] .figma-icon > svg { opacity:0; }

/* ===== BBS-125: Figma案A（専用Local）— 文字・余白・エンブレム・掲示板右欄 ===== */
/* 文字：本文16px/1.7、返信15px/1.7、投稿者名14px/500、最小12px。見出しの行間1.4。 */
body.ffb.figma-site :is(.ffb-h1,.ffb-h2,.figma-board-identity h1) { line-height:1.4 !important; }
body.ffb.figma-site .figma-board .ffb-discussion-post__body { line-height:1.7 !important; }
body.ffb.figma-site .figma-board .ffb-discussion-post--reply .ffb-discussion-post__body { font-size:15px !important; line-height:1.7 !important; }
body.ffb.figma-site .figma-board .ffb-discussion-post__header strong { font-size:14px !important; line-height:1.6 !important; }
body.ffb.figma-site .figma-home-post__body { font-size:16px !important; line-height:1.7 !important; }
body.ffb.figma-site .figma-home-post__author > span { font-size:14px !important; line-height:1.6 !important; }
body.ffb.figma-site .figma-home__intro > p { font-size:16px !important; line-height:1.7 !important; }
body.ffb.figma-site .figma-board-description { font-size:16px !important; line-height:1.7 !important; }
body.ffb.figma-site .figma-safety > p:not(.figma-muted) { font-size:16px !important; line-height:1.7 !important; }
body.ffb.figma-site .ffb-home-clubs .ffb-home-club__name { font-size:12px !important; line-height:1.6 !important; }

/* 余白：投稿内8〜12px、投稿末尾16px、セクション間32px。 */
body.ffb.figma-site .figma-home__primary { gap:32px !important; }
body.ffb.figma-site .figma-home-post { padding-top:12px !important; padding-bottom:16px !important; }
body.ffb.figma-site .figma-home-post__content { gap:8px !important; }

/* エンブレム：透過画像をそのまま枠いっぱいに表示する（BBS-127で明るい面を廃止）。文字のクラブ名を必ず併記する。 */
body.ffb.figma-site .ffb-club-logo,
body.ffb.figma-site .ffb-home-club__logo { background:transparent !important; border:0 !important; border-radius:0; overflow:visible; }
body.ffb.figma-site .ffb-club-logo img,
body.ffb.figma-site .ffb-home-club__logo img { position:absolute; inset:0 !important; width:100% !important; height:100% !important; object-fit:contain; background:transparent !important; }
body.ffb.figma-site .ffb-home-club__logo { position:relative; }
body.ffb.figma-site .ffb-club-logo:has(img:not([hidden])) > span { visibility:hidden; }
body.ffb.figma-site .figma-home-post__club .ffb-club-logo { flex:0 0 28px !important; width:28px !important; height:28px !important; border-radius:6px; }
body.ffb.figma-site .figma-sidebar [data-favorite-link] .ffb-club-logo,
body.ffb.figma-site .figma-favorite-select .ffb-club-logo { flex:0 0 32px !important; width:32px !important; height:32px !important; border-radius:6px; }
body.ffb.figma-site .ffb-rankings__heading .ffb-club-logo { border-radius:6px; }

/* 掲示板の右欄（4ブロック）。見出し14px/700、ブロックは上線で区切る。 */
body.ffb.figma-site .figma-board-support.ffb-board-aside { gap:0 !important; border-top:0 !important; }
body.ffb.figma-site .ffb-board-aside__block { display:flex; flex-direction:column; gap:12px; padding:24px 0; border-top:1px solid var(--board-line,var(--ffb-line)); }
body.ffb.figma-site .ffb-board-aside__block > h2 { display:flex; align-items:center; gap:8px; margin:0; font-size:14px; font-weight:700; line-height:1.4; color:var(--board-text,var(--ffb-text)); }
body.ffb.figma-site .ffb-board-aside__block > h2 .figma-icon { flex:0 0 18px; }
body.ffb.figma-site .ffb-board-aside__block ul { display:flex; flex-direction:column; margin:0; padding:0; list-style:none; }
body.ffb.figma-site .ffb-board-aside__clubs li > a { display:flex; align-items:center; gap:10px; min-height:44px; padding-left:8px; color:var(--board-body,var(--figma-body)); font-size:13px; line-height:1.6; text-decoration:none; }
body.ffb.figma-site .ffb-board-aside__clubs li > a[aria-current] { color:var(--board-text,var(--ffb-text)); font-weight:700; box-shadow:inset 2px 0 var(--ffb-club-action,var(--ffb-link)); }
body.ffb.figma-site .ffb-board-aside__clubs li > a > span:last-child { flex:1 1 auto; min-width:0; overflow-wrap:anywhere; }
body.ffb.figma-site .ffb-board-aside__clubs .ffb-club-logo { flex:0 0 24px !important; width:24px !important; height:24px !important; border-radius:5px; font-size:0; }
body.ffb.figma-site .ffb-board-aside__articles li > a { display:flex; flex-direction:column; justify-content:center; gap:4px; min-height:64px; color:var(--board-body,var(--figma-body)); text-decoration:none; }
body.ffb.figma-site .ffb-board-aside__title { font-size:13px; font-weight:500; line-height:1.4; }
body.ffb.figma-site .ffb-board-aside__articles time { color:var(--board-meta,var(--ffb-text-2)); font-size:12px; line-height:1.6; }
body.ffb.figma-site .ffb-board-aside__rules > p { margin:0; color:var(--board-body,var(--figma-body)); font-size:16px; line-height:1.7; }
body.ffb.figma-site .ffb-board-aside__more { display:inline-flex; align-items:center; align-self:flex-start; min-height:44px; color:var(--ffb-link); font-size:12px; font-weight:500; line-height:1.6; text-decoration:none; }
body.ffb.figma-site .ffb-board-aside a:hover :is(span,.ffb-board-aside__title),
body.ffb.figma-site .ffb-board-aside__more:hover { text-decoration:underline; }
@media(max-width:1099px) {
  body.ffb.figma-site .ffb-board-aside__clubs ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; }
}

/* お気に入りの切り替え：最小64px、選択中は淡い面と枠（「・選択中」の文字でも区別）。 */
body.ffb.figma-site .figma-favorite-select { min-height:64px; border-radius:8px !important; }
body.ffb.figma-site .figma-favorite-select[aria-pressed=true] { background:var(--ffb-primary-soft) !important; border-color:var(--ffb-link) !important; }
body.ffb.figma-site .figma-home-preview { padding:10px 12px !important; border-left:0 !important; border-radius:8px; background:var(--ffb-surface-2); }
body.ffb.figma-site .figma-home-preview > span { font-size:12px !important; color:var(--ffb-text-2); }
body.ffb.figma-site .figma-home-preview > p { font-size:16px !important; line-height:1.7 !important; color:var(--figma-body) !important; }

/* 返信の接続線：形と位置は維持し、線色だけ明るくする。 */
body.ffb.figma-site .figma-board .ffb-topic { --board-thread-line:#8190a3; }

/* ランキング等の主ボタン：淡い青の面には暗い文字を使う（コントラスト確保）。 */
html[data-theme=dark] body.ffb.figma-site .ffb-rankings__filters > .ffb-btn { background:var(--ffb-link) !important; border-color:var(--ffb-link) !important; color:#101419 !important; }

/* ホームの「クラブから探す」：エンブレム（PC64／SP48の明るい面）を上、クラブ名と☆を下に置く。 */
body.ffb.figma-site .ffb-home-clubs .ffb-home-club { display:grid !important; grid-template-columns:minmax(0,1fr) 24px; align-items:end; column-gap:2px; }
body.ffb.figma-site .ffb-home-clubs .ffb-home-club__link { display:flex !important; flex-direction:column; align-items:center; gap:6px; min-width:0; padding-top:8px; text-align:center; }
body.ffb.figma-site .ffb-home-clubs .ffb-home-club__logo { display:block !important; flex:0 0 auto; width:64px !important; height:64px !important; }
body.ffb.figma-site .ffb-home-clubs .ffb-favorite { align-self:end; min-height:44px; }
@media(max-width:1099px) {
  body.ffb.figma-site .ffb-home-clubs .ffb-home-club__logo { width:48px !important; height:48px !important; }
}
