/* =====================================================================
   community.css ── 投稿ハブ・コミュニティ・個別投稿ページ用追加スタイル
   既存 assets/style.css を継承し、不足分のみ追加（既存セクション非干渉）
   ===================================================================== */

/* ---------- フォーム ---------- */
.post-form{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 36px;
  box-shadow:0 6px 22px rgba(110,64,30,.05);
}
.post-form__section{
  margin-bottom:28px;
  padding-bottom:24px;
  border-bottom:1px dashed var(--line);
}
.post-form__section:last-of-type{border-bottom:none; margin-bottom:0;}
.post-form__section-title{
  font-family:var(--f-display);
  font-size:15px; font-weight:700; color:var(--accent-deep);
  margin-bottom:14px;
  padding-left:12px;
  border-left:3px solid var(--accent);
}
.form-row{
  display:flex; flex-direction:column; gap:6px;
  margin-bottom:18px;
}
.form-row--2col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.form-row--2col .form-row{margin-bottom:0;}
.form-label{
  font-size:13px; font-weight:700; color:var(--ink);
  display:flex; align-items:center; gap:8px;
}
.form-label .req{
  font-size:10px; padding:2px 7px;
  background:var(--accent); color:var(--white);
  border-radius:60% 40% 50% 70%;
  font-weight:700; letter-spacing:.04em;
}
.form-label .opt{
  font-size:10px; padding:2px 7px;
  background:var(--paper-3); color:var(--accent-deep);
  border-radius:60% 40% 50% 70%;
  font-weight:700;
}
.form-help{
  font-size:11.5px; color:var(--ink-mute); line-height:1.6;
}
.form-input,
.form-select,
.form-textarea{
  width:100%;
  padding:11px 14px;
  font-family:var(--f-body);
  font-size:14px;
  color:var(--ink);
  background:var(--paper-quiet);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  transition:border-color .2s ease, background .2s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus{
  outline:none;
  border-color:var(--accent);
  background:var(--white);
}
.form-textarea{
  min-height:240px;
  line-height:1.85;
  resize:vertical;
}
.form-counter{
  font-size:11px; color:var(--ink-mute); text-align:right;
}
.form-photo-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.form-photo-slot{
  aspect-ratio:4/3;
  border:1.5px dashed var(--accent-light);
  border-radius:var(--radius-sm);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:var(--paper-2);
  color:var(--ink-mute);
  font-size:11.5px;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease;
  text-align:center;
  padding:8px;
}
.form-photo-slot:hover{background:var(--paper-3); border-color:var(--accent);}
.form-photo-slot__icon{
  font-size:24px; color:var(--accent); margin-bottom:4px;
}
.form-consent{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:18px 20px;
  margin-bottom:24px;
}
.form-consent__title{
  font-size:13px; font-weight:700; color:var(--accent-deep);
  margin-bottom:10px;
}
.form-check{
  display:flex; align-items:flex-start; gap:10px;
  font-size:12.5px; color:var(--ink-soft); line-height:1.65;
  margin-bottom:8px;
  cursor:pointer;
}
.form-check input[type="checkbox"]{
  margin-top:3px; accent-color:var(--accent);
}
.form-submit{
  display:flex; gap:12px; justify-content:center; margin-top:8px;
  flex-wrap:wrap;
}

/* ---------- コミュニティ：投稿一覧カード ---------- */
.tabs{
  display:flex; gap:6px; flex-wrap:wrap;
  margin-bottom:24px;
  border-bottom:2px solid var(--line);
}
.tab{
  padding:10px 18px;
  font-size:13px; font-weight:700;
  color:var(--ink-mute);
  border-bottom:3px solid transparent;
  margin-bottom:-2px;
  cursor:pointer;
  transition:color .2s ease, border-color .2s ease;
}
.tab:hover{color:var(--accent-deep);}
.tab.is-active{
  color:var(--accent-deep);
  border-bottom-color:var(--accent);
}
.tab__count{
  display:inline-block;
  font-size:10.5px; color:var(--ink-mute);
  background:var(--paper-3);
  padding:1px 8px;
  border-radius:99px;
  margin-left:6px;
}

.post-list{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}
.post-card{
  display:flex; flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 24px;
  color:var(--ink);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(110,64,30,.10);
  border-color:var(--accent-light);
}
.post-card__head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:10px; gap:10px;
}
.post-card__cat{
  display:inline-block;
  font-size:10.5px; font-weight:700;
  color:var(--accent-deep);
  background:var(--paper-3);
  padding:3px 10px;
  border-radius:60% 40% 50% 70%;
  letter-spacing:.06em;
}
.post-card__cat--kidney{background:#f3e0d6; color:#8a3a1a;}
.post-card__cat--temple{background:#e8dfd0; color:#6e401e;}
.post-card__cat--essay{background:#e8e0e8; color:#5a3a6a;}
.post-card__cat--longevity{background:#e3e8d6; color:#4a6a2a;}
.post-card__date{font-size:11px; color:var(--ink-mute);}
.post-card__title{
  font-family:var(--f-display);
  font-size:16.5px; font-weight:700; color:var(--ink);
  line-height:1.5;
  margin-bottom:8px;
}
.post-card__excerpt{
  font-size:12.5px; color:var(--ink-soft); line-height:1.75;
  margin-bottom:12px;
  flex:1;
}
.post-card__foot{
  display:flex; justify-content:space-between; align-items:center;
  font-size:11.5px; color:var(--ink-mute);
  border-top:1px dotted var(--line);
  padding-top:10px;
}
.post-card__author{font-weight:600;}
.post-card__reactions{display:flex; gap:10px;}
.post-card__reactions span{display:inline-flex; gap:3px; align-items:center;}

/* ---------- 個別投稿ページ ---------- */
.post-article{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:40px 48px;
  margin-bottom:32px;
  box-shadow:0 6px 22px rgba(110,64,30,.05);
}
.post-article__head{
  border-bottom:1px solid var(--line);
  padding-bottom:22px;
  margin-bottom:26px;
}
.post-article__cat{
  display:inline-block;
  font-size:11px; font-weight:700;
  color:var(--accent-deep);
  background:var(--paper-3);
  padding:4px 12px;
  border-radius:60% 40% 50% 70%;
  letter-spacing:.08em;
  margin-bottom:14px;
}
.post-article__title{
  font-family:var(--f-display);
  font-size:28px; font-weight:700; color:var(--ink); line-height:1.45;
  margin-bottom:16px;
}
.post-article__meta{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap;
  font-size:12.5px; color:var(--ink-mute);
}
.post-article__meta strong{color:var(--ink-soft); font-weight:700;}

.post-article__body p{
  font-size:14.5px; line-height:1.95; color:var(--ink-soft);
  margin-bottom:1.2em;
}
.post-article__body h3{
  font-size:18px;
  margin:1.6em 0 .6em;
  padding-left:12px;
  border-left:3px solid var(--accent);
  line-height:1.5;
}

.photo-gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin:24px 0;
}
.photo-gallery__slot{
  aspect-ratio:4/3;
  background:var(--paper-3);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent-deep);
  font-size:11.5px;
  text-align:center;
  padding:8px;
}

/* リアクションバー */
.reactions{
  display:flex; gap:10px; flex-wrap:wrap;
  margin:28px 0;
  padding:18px 22px;
  background:var(--paper-2);
  border-radius:var(--radius);
  border:1px solid var(--line);
}
.react-btn{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 16px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:99px;
  font-size:13px; font-weight:600;
  color:var(--ink-soft);
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, border-color .2s ease;
  font-family:var(--f-body);
}
.react-btn:hover{
  transform:translateY(-1px);
  border-color:var(--accent);
  background:var(--paper-3);
}
.react-btn .emoji{font-size:18px;}
.react-btn .count{
  font-size:11.5px; color:var(--accent-deep); font-weight:700;
}

/* コメント */
.comments{
  margin-top:32px;
}
.comments__title{
  font-family:var(--f-display);
  font-size:18px; font-weight:700; color:var(--ink);
  margin-bottom:18px;
  padding-bottom:8px;
  border-bottom:2px solid var(--accent);
  display:inline-block;
}
.comment{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 22px;
  margin-bottom:14px;
}
.comment__head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:8px;
  font-size:12px;
}
.comment__author{font-weight:700; color:var(--accent-deep);}
.comment__date{color:var(--ink-mute);}
.comment__body{font-size:13.5px; line-height:1.8; color:var(--ink-soft);}

/* 関連投稿 */
.related{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

/* レスポンシブ */
@media (max-width:1100px){
  .post-list, .related{grid-template-columns:1fr 1fr;}
  .form-row--2col{grid-template-columns:1fr;}
  .post-article{padding:28px 24px;}
}
@media (max-width:560px){
  .post-list, .related{grid-template-columns:1fr;}
  .form-photo-grid, .photo-gallery{grid-template-columns:1fr 1fr;}
  .post-form{padding:22px 18px;}
  .post-article__title{font-size:22px;}
  .tabs{overflow-x:auto; flex-wrap:nowrap; white-space:nowrap;}
}

/* =====================================================================
   Instagram連携ページ ── community/instagram.html 専用
   既存ルール非破壊。末尾append。
   Instagramブランドカラー(#E1306C系)はリンクボタンのみで使用。
   ===================================================================== */

/* 公式アカウント枠 */
.ig-account-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 36px;
  box-shadow:0 6px 22px rgba(110,64,30,.05);
}
.ig-account-card__head{
  display:flex; align-items:center; gap:20px;
  padding-bottom:20px;
  border-bottom:1px dashed var(--line);
  margin-bottom:20px;
}
.ig-account-card__avatar{
  flex-shrink:0;
  width:72px; height:72px;
  display:inline-flex; align-items:center; justify-content:center;
}
.ig-account-card__avatar svg{display:block; border-radius:18px;}
.ig-account-card__meta{flex:1; min-width:0;}
.ig-account-card__handle{
  font-family:var(--f-display);
  font-size:18px; font-weight:700;
  color:var(--accent-deep);
  margin-bottom:4px;
  word-break:break-all;
}
.ig-account-card__name{
  font-size:13px; color:var(--ink-soft);
  margin-bottom:8px;
}
.ig-account-card__stats{
  display:flex; flex-wrap:wrap; gap:8px;
  font-size:12px; color:var(--ink-mute);
  align-items:center;
}
.ig-account-card__stats strong{
  color:var(--accent-deep); font-weight:700;
  font-size:13px;
}
.ig-account-card__sep{color:var(--line); font-weight:400;}
.ig-account-card__notice{
  font-size:13px; line-height:1.8;
  color:var(--ink-soft);
  background:var(--paper-2);
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:var(--radius-sm);
  padding:14px 18px;
  margin-bottom:18px;
}
.ig-account-card__cta{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
}

/* Instagramブランドカラーボタン（リンクボタンのみ使用） */
.btn--ig{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 22px;
  background:linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color:#ffffff !important;
  font-family:var(--f-body);
  font-weight:700; font-size:13.5px;
  border:none;
  border-radius:99px;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow:0 4px 12px rgba(214,41,118,.20);
}
.btn--ig:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(214,41,118,.30);
  color:#ffffff !important;
}
.btn--ig[data-ig-disabled="true"],
.btn--ig[aria-disabled="true"]{
  background:#cbbfa8;
  cursor:not-allowed;
  pointer-events:none;
  opacity:.85;
  box-shadow:none;
}
.btn--ig__icon{display:inline-flex; align-items:center;}

/* 埋込グリッド */
.ig-embed-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.ig-embed-slot{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}
.ig-embed-slot:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(110,64,30,.08);
}
.ig-embed-slot__media{
  aspect-ratio:1/1;
  background:var(--paper-3);
  display:block;
}
.ig-embed-slot__media svg{display:block; width:100%; height:100%;}
.ig-embed-slot__caption{
  font-size:12px; color:var(--ink-soft);
  padding:12px 14px;
  border-top:1px solid var(--line);
  background:var(--paper-2);
}

/* ハッシュタグ案内バンド */
.ig-tag-band{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px 24px;
  margin-top:24px;
  display:flex; flex-wrap:wrap; align-items:center; gap:14px;
}
.ig-tag-band__label{
  font-family:var(--f-display);
  font-size:13px; font-weight:700;
  color:var(--accent-deep);
  flex-shrink:0;
}
.ig-tag-band__tags{display:flex; flex-wrap:wrap; gap:8px;}
.ig-tag{
  display:inline-block;
  padding:6px 14px;
  background:var(--white);
  border:1px solid var(--accent-light);
  border-radius:99px;
  color:var(--accent-deep);
  font-size:12.5px; font-weight:700;
  letter-spacing:.02em;
}
.ig-tag-band__note{
  flex-basis:100%;
  font-size:11.5px; color:var(--ink-mute);
  margin:4px 0 0;
  line-height:1.7;
}

/* 関連リンクグリッド */
.ig-related-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.ig-related-card{
  display:flex; flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 24px;
  color:var(--ink);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ig-related-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(110,64,30,.10);
  border-color:var(--accent-light);
}
.ig-related-card__kicker{
  font-size:10.5px; letter-spacing:.08em;
  color:var(--accent); font-weight:700;
  margin-bottom:6px;
}
.ig-related-card__title{
  font-family:var(--f-display);
  font-size:16px; font-weight:700;
  color:var(--ink);
  margin-bottom:8px;
  line-height:1.5;
}
.ig-related-card__desc{
  font-size:12.5px; color:var(--ink-soft); line-height:1.7;
  margin-bottom:12px; flex:1;
}
.ig-related-card__more{
  font-size:12px; color:var(--accent-deep);
  font-weight:700;
}
.ig-related-card--soon{
  background:var(--paper-2);
  cursor:not-allowed;
  opacity:.75;
}
.ig-related-card--soon:hover{
  transform:none;
  box-shadow:none;
  border-color:var(--line);
}
.ig-related-card--soon .ig-related-card__more{color:var(--ink-mute);}

/* レスポンシブ */
@media (max-width:1100px){
  .ig-embed-grid{grid-template-columns:repeat(3, 1fr);}
  .ig-related-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .ig-account-card{padding:24px 22px;}
  .ig-account-card__head{flex-direction:column; align-items:flex-start; gap:12px;}
  .ig-embed-grid{grid-template-columns:1fr 1fr;}
  .ig-embed-grid .ig-embed-slot:nth-child(3){display:none;}
}
@media (max-width:560px){
  .ig-embed-grid{grid-template-columns:1fr;}
  .ig-embed-grid .ig-embed-slot:nth-child(3){display:flex;}
  .ig-related-grid{grid-template-columns:1fr;}
  .ig-tag-band{padding:16px 18px;}
}

/* =====================================================================
   CGM 10カテゴリ拡張（2026-04-23 hegyi）
   新規6カテゴリのバッジ色／ランキング／プロフィール／拡張リアクション
   ===================================================================== */

/* --- 新カテゴリのバッジ配色 --- */
.post-card__cat--meet{background:#fde6d6; color:#8a4a1a;}
.post-card__cat--rescue{background:#f6dadd; color:#8a2a3a;}
.post-card__cat--goods{background:#e0e0f0; color:#3a3a7a;}
.post-card__cat--photo{background:#dceaf2; color:#1a4a6e;}
.post-card__cat--spot{background:#dee8d6; color:#3a6a2a;}
.post-card__cat--food{background:#f4e4cc; color:#7a4a1a;}

/* --- ランキングリスト --- */
.ranking-list{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:10px;
  counter-reset:rank;
}
.ranking-item{
  display:flex; align-items:center; gap:18px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 18px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.ranking-item:hover{transform:translateX(2px); box-shadow:0 6px 16px rgba(110,64,30,.08);}
.ranking-item__rank{
  flex-shrink:0;
  width:44px; height:44px;
  border-radius:50%;
  background:var(--paper-3); color:var(--accent-deep);
  font-family:var(--f-display);
  font-size:18px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.ranking-item:nth-child(1) .ranking-item__rank{background:#f4d97a; color:#7a5a10;}
.ranking-item:nth-child(2) .ranking-item__rank{background:#d8d8d8; color:#444;}
.ranking-item:nth-child(3) .ranking-item__rank{background:#e8c8a4; color:#7a4a1a;}
.ranking-item__body{flex:1; min-width:0;}
.ranking-item__title{
  display:block;
  font-family:var(--f-display);
  font-size:15.5px; font-weight:700; color:var(--ink);
  text-decoration:none;
  margin-bottom:4px; line-height:1.45;
}
.ranking-item__title:hover{color:var(--accent-deep);}
.ranking-item__meta{
  display:flex; gap:12px; flex-wrap:wrap;
  font-size:11.5px; color:var(--ink-mute);
  align-items:center;
}

/* --- 共感の多い投稿者リスト --- */
.author-list{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:8px;
}
.author-item{
  display:flex; align-items:center; gap:14px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px 16px;
}
.author-item__rank{
  width:28px; height:28px;
  background:var(--paper-3); color:var(--accent-deep);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:13px;
}
.author-item__avatar{
  width:42px; height:42px;
  background:var(--accent); color:#fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display);
  font-weight:800; font-size:18px;
}
.author-item__body{flex:1; min-width:0;}
.author-item__name{
  display:block;
  font-weight:700; color:var(--ink);
  text-decoration:none;
  margin-bottom:2px;
}
.author-item__name:hover{color:var(--accent-deep);}
.author-item__meta{font-size:11.5px; color:var(--ink-mute);}
.author-item__tag{
  font-size:10.5px; font-weight:700;
  padding:3px 10px;
  border-radius:60% 40% 50% 70%;
  letter-spacing:.06em;
}

/* --- 写真ランキング --- */
.photo-rank-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
}
.photo-rank-card{
  display:flex; flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.photo-rank-card__img{
  position:relative;
  aspect-ratio:1/1;
  background:var(--paper-3);
  color:var(--accent-deep);
  display:flex; align-items:center; justify-content:center;
  font-size:11px; text-align:center;
  padding:10px;
}
.photo-rank-card__rank{
  position:absolute;
  top:6px; left:6px;
  width:26px; height:26px;
  background:rgba(0,0,0,.7); color:#fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:12px;
}
.photo-rank-card__caption{
  padding:8px 10px;
  font-size:11.5px; line-height:1.5;
  color:var(--ink-soft);
}
.photo-rank-card__caption small{
  display:block; margin-top:4px;
  color:var(--ink-mute); font-size:10.5px;
}

/* --- プロフィールページ --- */
.profile-head{
  display:flex; gap:24px; align-items:flex-start;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 32px;
  margin-bottom:24px;
  box-shadow:0 6px 22px rgba(110,64,30,.05);
}
.profile-head__avatar{
  flex-shrink:0;
  width:88px; height:88px;
  background:var(--accent); color:#fff;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display);
  font-size:38px; font-weight:800;
}
.profile-head__body{flex:1; min-width:0;}
.profile-head__name{
  font-family:var(--f-display);
  font-size:24px; font-weight:700; color:var(--ink);
  margin-bottom:2px;
}
.profile-head__handle{
  font-size:13px; color:var(--ink-mute);
  margin-bottom:10px;
}
.profile-head__bio{
  font-size:13.5px; line-height:1.7; color:var(--ink-soft);
  margin-bottom:14px;
}
.profile-head__chips{
  display:flex; flex-wrap:wrap; gap:6px;
  margin-bottom:14px;
}
.profile-head__chips .chip{font-size:11px;}
.profile-head__actions{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}

.profile-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.profile-block{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px 24px;
}
.profile-block__title{
  font-family:var(--f-display);
  font-size:15px; font-weight:700; color:var(--accent-deep);
  margin-bottom:14px;
  padding-left:10px;
  border-left:3px solid var(--accent);
}
.profile-detail{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:8px;
}
.profile-detail li{
  display:flex; justify-content:space-between;
  font-size:13px; line-height:1.6;
  padding-bottom:6px;
  border-bottom:1px dotted var(--line);
}
.profile-detail li:last-child{border-bottom:none;}
.profile-detail span{color:var(--ink-mute);}
.profile-detail strong{color:var(--ink); font-weight:700;}

.profile-cats{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:8px;
}
.profile-cats li{
  display:flex; justify-content:space-between; align-items:center;
  font-size:13px; color:var(--ink-soft);
  padding:5px 0;
  border-bottom:1px dotted var(--line);
}
.profile-cats li:last-child{border-bottom:none;}

.profile-reactions{
  list-style:none; padding:0; margin:0;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:10px;
}
.profile-reactions li{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:12px 10px;
  text-align:center;
}
.profile-reactions .emoji{font-size:24px;}
.profile-reactions span{font-size:11px; color:var(--ink-mute);}
.profile-reactions strong{
  font-size:18px; color:var(--accent-deep);
  font-weight:800;
}

/* --- 拡張リアクションボタン（ブックマーク・通報・引用） --- */
.react-btn--bookmark{border-color:var(--accent-light);}
.react-btn--report{border-color:#e8a87c; color:#8a3a1a;}
.react-btn--report:hover{background:#fff5e6;}
.react-btn--quote{border-color:var(--accent); color:var(--accent-deep);}
.react-btn--quote:hover{background:var(--paper-3);}

/* --- 投稿ハブ拡張：cards--4 を10枚（4列×3段、最後段2枚） --- */
@media (min-width:1101px){
  .cards--4 .card:nth-last-child(-n+2){
    /* 最終2枚を中央寄せにしたい場合に有効化（現状はデフォルトのまま） */
  }
}

/* --- レスポンシブ追加 --- */
@media (max-width:1100px){
  .photo-rank-grid{grid-template-columns:repeat(3, 1fr);}
  .profile-grid{grid-template-columns:1fr;}
  .profile-reactions{grid-template-columns:repeat(5, 1fr);}
}
@media (max-width:560px){
  .ranking-item{flex-wrap:wrap; gap:10px;}
  .ranking-item__rank{width:36px; height:36px; font-size:14px;}
  .photo-rank-grid{grid-template-columns:repeat(2, 1fr);}
  .profile-head{flex-direction:column; align-items:center; text-align:center; padding:22px 18px;}
  .profile-head__chips, .profile-head__actions{justify-content:center;}
  .profile-reactions{grid-template-columns:repeat(3, 1fr);}
}
