/* 2倍サイズの基準値（必要なら 1.8em～2.2emで微調整） */
:root { --custom-emoji-size: 2em; }

/* タイムライン本文 / 引用 / 通知 / プロフィール自己紹介 など汎用 */
.status__content img.custom-emoji,
.status__content img.emoji.custom-emoji,
.status__content .emojione.custom-emoji,
.reply-indicator__content img.custom-emoji,
.notification__message img.custom-emoji,
.account__header__bio img.custom-emoji,
.account__header__content img.custom-emoji,
.rich-formatting img.custom-emoji,
.status-card__description img.custom-emoji {
  width: var(--custom-emoji-size) !important;
  height: var(--custom-emoji-size) !important;
  max-height: none !important;
  vertical-align: -0.25em !important;
  image-rendering: auto;
}

/* 投稿作成欄のプレビュー（下書きの表示側） */
.compose-form .status__content img.custom-emoji,
.compose-form .rich-formatting img.custom-emoji {
  width: var(--custom-emoji-size) !important;
  height: var(--custom-emoji-size) !important;
  max-height: none !important;
  vertical-align: -0.25em !important;
}

/* リアクション（もし有効化している場合） */
.emoji-reaction__emoji img.custom-emoji,
.reactions-bar__item img.custom-emoji {
  width: var(--custom-emoji-size) !important;
  height: var(--custom-emoji-size) !important;
  max-height: none !important;
}

/* まれに基本スタイルが img.emoji 側で勝つことがあるので保険 */
img.emoji.custom-emoji,
img.custom-emoji {
  width: var(--custom-emoji-size) !important;
  height: var(--custom-emoji-size) !important;
  max-height: none !important;
}

/* 行高が詰まって上下が切れる場合の保険（最小限だけ足す） */
.status__content p,
.status__content,
.rich-formatting { line-height: 1.6; }


