@charset "utf-8";

/*
##########################################################################
  /fanclub・/fanclub/{id} ページ専用CSS
  テーマカラー: var(--color-bg-fanclub) = #f8c829
##########################################################################*/

/* ==========================================================================
   セクション共通
   ========================================================================== */

.fanclub-section {
    padding: 2rem 1.5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.fanclub-empty {
    text-align: center;
    padding: 5rem 1rem;
    color: #999;
}
.fanclub-empty i {
    font-size: 3rem;
    color: var(--color-bg-fanclub);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}

/* ==========================================================================
   一覧グリッド
   ========================================================================== */

.fanclub-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ==========================================================================
   カード
   ========================================================================== */

.fanclub-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(248, 200, 41, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(248, 200, 41, 0.2);
}
.fanclub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(248, 200, 41, 0.18);
}
.fanclub-card.is-member {
    border-color: var(--color-bg-fanclub);
    box-shadow: 0 4px 20px rgba(248, 200, 41, 0.25);
}

/* 会員バッジ */
.fanclub-member-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-bg-fanclub);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(248, 200, 41, 0.4);
}

/* キャスト画像 */
.fanclub-cast-link { display: block; }
.fanclub-cast-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fffde7;
}
.fanclub-cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.fanclub-card:hover .fanclub-cast-image img { transform: scale(1.04); }

/* カード本体 */
.fanclub-card-body { padding: 1.2rem 1.2rem 1.4rem; }

.fanclub-cast-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.fanclub-cast-name a { color: #333; text-decoration: none; transition: color 0.2s; }
.fanclub-cast-name a:hover { color: var(--color-bg-fanclub); }

.fanclub-title {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fanclub-description {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* メタ情報 */
.fanclub-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
}
.fanclub-price { font-weight: 700; color: #333; }
.fanclub-price i { color: var(--color-bg-fanclub); margin-right: 2px; }
.fanclub-member-count { color: #999; }
.fanclub-member-count i { margin-right: 2px; }

/* ==========================================================================
   ボタン
   ========================================================================== */

.fanclub-action { text-align: center; }

.fanclub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.fanclub-btn-login    { background: #f0f0f0; color: #555; }
.fanclub-btn-login:hover { background: #e5e5e5; color: #333; }
.fanclub-btn-join     { background: var(--color-bg-fanclub); color: #1a1a1a; box-shadow: 0 4px 12px rgba(248,200,41,0.35); }
.fanclub-btn-join:hover { box-shadow: 0 6px 18px rgba(248,200,41,0.5); transform: translateY(-1px); color: #1a1a1a; }
.fanclub-btn-view     { background: linear-gradient(135deg, #a8edea, #6ec6c2); color: #fff; box-shadow: 0 4px 12px rgba(110,198,194,0.3); }
.fanclub-btn-view:hover { box-shadow: 0 6px 18px rgba(110,198,194,0.45); transform: translateY(-1px); color: #fff; }

/* ==========================================================================
   ページネーション
   ========================================================================== */

.fanclub-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   showページ ── ヘッダー
   ========================================================================== */

.fc-show-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(248, 200, 41, 0.08);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(248, 200, 41, 0.25);
}

/* メイン画像（3:2エリア） */
.fanclub-main-image {
    flex-shrink: 0;
    width:100%;
    max-width: 80%;
    margin:0 auto 2.5rem;
    aspect-ratio: 3 / 2;
    border-radius: 10px;
    overflow: hidden;
}

/* キャストサムネイル（円形） */
.fc-show-cast {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(248, 200, 41, 0.4);
}
.fc-show-cast img { width: 100%; height: 100%; object-fit: cover; }

.fc-show-info { flex: 1; }

.fc-show-cast-name {
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.fc-show-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}
.fc-show-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.fc-show-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.88rem;
}
.fc-show-price { font-weight: 700; color: #333; }
.fc-show-price i { color: var(--color-bg-fanclub); margin-right: 3px; }
.fc-show-members { color: #999; }

/* CTA */
.fc-show-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.fc-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--color-bg-fanclub);
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
}

.fc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.fc-status-form { display: inline; }

.fc-btn-join  { background: var(--color-bg-fanclub); color: #1a1a1a; box-shadow: 0 4px 12px rgba(248,200,41,0.35); }
.fc-btn-join:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(248,200,41,0.5); color: #1a1a1a; }
.fc-btn-login { background: #f0f0f0; color: #555; }
.fc-btn-login:hover { background: #e5e5e5; color: #333; }
.fc-btn-cancel { background: transparent; color: #999; border: 1px solid #ddd; font-size: 0.8rem; padding: 0.4rem 0.9rem; }
.fc-btn-cancel:hover { background: #f5f5f5; color: #666; }

/* ==========================================================================
   showページ ── コンテンツ一覧
   ========================================================================== */

.fc-contents-area { margin-bottom: 2rem; }

.fc-contents-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.2rem;
    padding-left: 0.8rem;
    border-left: 4px solid var(--color-bg-fanclub);
}
.fc-contents-heading i { color: var(--color-bg-fanclub); margin-right: 0.4rem; }

.fc-empty { text-align: center; padding: 3rem 1rem; color: #aaa; }

.fc-contents-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.fc-content-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(248, 200, 41, 0.2);
    padding: 1.2rem;
    box-shadow: 0 2px 10px rgba(248, 200, 41, 0.06);
    transition: box-shadow 0.2s;
}
.fc-content-card:hover { box-shadow: 0 6px 20px rgba(248, 200, 41, 0.12); }
.fc-content-card.is-paid { border-color: rgba(248, 200, 41, 0.4); }

.fc-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 10px;
    margin-bottom: 0.7rem;
}
.badge-free { background: #e8f5e9; color: #388e3c; }
.badge-paid { background: #fffde7; color: #92400e; }

.fc-content-title  { font-size: 1rem; font-weight: 700; color: #333; margin-bottom: 0.4rem; }
.fc-content-desc   { font-size: 0.82rem; color: #777; line-height: 1.6; margin-bottom: 0.8rem; }

.fc-content-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 0.9rem;
}
.fc-content-category { background: rgba(248,200,41,0.15); color: #92400e; padding: 0.1rem 0.5rem; border-radius: 10px; }

.fc-content-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    justify-content: center;
    transition: all 0.2s;
}
.fc-content-btn-view   { background: linear-gradient(135deg, #a8edea, #6ec6c2); color: #fff; }
.fc-content-btn-view:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(110,198,194,0.35); color: #fff; }
.fc-content-btn-login  { background: #f0f0f0; color: #555; }
.fc-content-btn-login:hover { background: #e5e5e5; color: #333; }
.fc-content-btn-locked { background: #f5f5f5; color: #bbb; cursor: default; }

/* 戻るリンク */
.fc-back-link { margin-top: 2rem; text-align: center; }
.fc-back-link a { font-size: 0.85rem; color: #aaa; text-decoration: none; transition: color 0.2s; }
.fc-back-link a:hover { color: var(--color-bg-fanclub); }

/* ==========================================================================
   member/fanclubs/{id} ページ  ── mfc-* 名前空間
   ========================================================================== */

/* 成功フラッシュ */
.mfc-alert {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #166534;
    margin-bottom: 1rem;
}

/* ファンクラブ情報カード */
.mfc-info-card {
    width:94%;
    margin:0 auto 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.mfc-info-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.mfc-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
}

.mfc-info-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.mfc-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
}

.mfc-price-badge i { color: var(--color-bg-fanclub, #f8c829); }

.mfc-status-unregistered {
    display: inline-block;
    font-size: 0.75rem;
    color: #64748b;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.mfc-info-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 1rem;
}

.mfc-subscribe-wrap {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* 投稿ヘッダー */
.mfc-post-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.mfc-post-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin: 0.35rem 0 0.6rem;
    font-size: 0.77rem;
    color: #64748b;
}

.mfc-post-type {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid transparent;
}
.mfc-post-type.is-free { background: #f0fdf4; color: #166534; border-color: #86efac; }
.mfc-post-type.is-paid { background: #fffbeb; color: #92400e; border-color: #fcd34d; }

.mfc-post-channel {
    display: inline-block;
    background: rgba(248, 200, 41, 0.12);
    color: #92400e;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
}

.mfc-post-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* post body — padding reset (member-actions の padding を無効化) */
.member-fanclub-post__body {
    padding: 0 !important;
    margin-top: 0.75rem;
}

/* ファンクラブ一覧・入会中一覧 ── 行カード */
.mfc-row-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 0.6rem;
}

.mfc-row-cast-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.mfc-row-cast-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mfc-row-main {
    flex: 1;
    min-width: 0;
}

.mfc-row-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.mfc-row-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mfc-row-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.mfc-row-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 768px) {
    .fanclub-section { padding: 1.5rem 1rem 3rem; }
    .fanclub-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .fanclub-card-body { padding: 0.9rem 0.9rem 1rem; }
    .fanclub-cast-name { font-size: 0.95rem; }
    .fanclub-description { display: none; }

    .fc-show-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1.2rem;
    }
    .fc-show-header .fanclub-cast-image { width: 100%; max-width: 320px; }
    .fc-show-meta { justify-content: center; }
    .fc-show-cta  { justify-content: center; }
    .fc-contents-list { grid-template-columns: 1fr; }

    /* mfc — show */
    .mfc-info-card { padding: 1.2rem; }
    .mfc-info-top { flex-direction: column; gap: 0.6rem; }
    .mfc-info-badges { justify-content: flex-start; }

    /* mfc — list */
    .mfc-row-card { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .mfc-row-actions { width: 100%; justify-content: flex-start; }
    .mfc-row-desc { white-space: normal; }
}

@media (max-width: 480px) {
    .fanclub-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ファンクラブメッセージ UI
   ============================================================ */

.mfc-msg-section {
    max-width: 680px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

/* フォーム */
.mfc-msg-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.mfc-msg-textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    resize: vertical;
    box-sizing: border-box;
}

.mfc-msg-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.15);
}

.mfc-msg-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mfc-msg-file-label {
    font-size: 0.82rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.3rem 0.65rem;
}
.mfc-msg-file-label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #374151;
}

.mfc-msg-file-input { display: none; }

.mfc-msg-sent-today {
    font-size: 0.85rem;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1.2rem;
}

.mfc-msg-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* スレッド */
.mfc-msg-thread {
    margin-bottom: 1.25rem;
}

.mfc-msg-bubble {
    max-width: 100%;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.mfc-msg-bubble--member {
    background: #ffffff;
    border: 4px solid #cedef1;
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.mfc-msg-bubble--cast {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.mfc-msg-bubble-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.mfc-msg-sender {
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
}

.mfc-msg-date {
    font-size: 0.72rem;
    color: #94a3b8;
}

.mfc-msg-body {
    font-size: 0.88rem;
    color: #1e293b;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.mfc-msg-image {
    max-width: 100%;
    max-height: 280px;
    border-radius: 8px;
    margin-top: 0.5rem;
    display: block;
    object-fit: contain;
}

.mfc-msg-admin-note {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.3rem;
    border-top: 1px dashed #fca5a5;
    padding-top: 0.3rem;
}

/* アラート */
.mfc-alert--success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.mfc-alert--error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

/* キャスト側 管理ラッパー */
.mfc-msg-admin-wrap {
    max-width: 820px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.mfc-msg-admin-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.mfc-msg-admin-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.mfc-msg-admin-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mfc-msg-admin-member-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

/* スレッド一覧 */
.mfc-msg-thread-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mfc-msg-thread-row {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.mfc-msg-thread-row:hover {
    background: #f8fafc;
}

.mfc-msg-thread-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
}

.mfc-msg-thread-member {
    font-weight: 700;
    font-size: 0.88rem;
}

.mfc-msg-thread-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.mfc-msg-thread-preview {
    font-size: 0.83rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mfc-msg-reply-count {
    font-size: 0.72rem;
    color: #6366f1;
    background: #ede9fe;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

/* バッジ */
.mfc-msg-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.mfc-msg-badge--warn { background: #d97706; }
.mfc-msg-badge--hidden { background: #6b7280; }

/* ナビゲーションバッジ */
.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 9999px;
    position: absolute;
    top: -4px;
    right: -8px;
    line-height: 1;
}

/* メッセージページ ── 戻るリンク */
.mfc-msg-page-nav {
    margin-bottom: 1rem;
}

/* メッセージ削除ボタン */
.mfc-msg-delete-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.mfc-msg-delete-btn {
    background: none !important;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 0.1rem 0.25rem;
    line-height: 1;
    transition: color 0.15s;
    box-shadow: none !important;
    float:right;
}

.mfc-msg-delete-btn:hover {
    background: none !important;
    color: #dc2626;
}

/* メッセージエントリーカード（show ページ） */
.mfc-msg-entry-section {
    max-width: 680px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}

.mfc-msg-entry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #98c2da;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
}

.mfc-msg-entry-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}

.mfc-msg-entry-icon {
    font-size: clamp(1.6rem, 3.0rem, 5rem);
    color: #d7ecf7;
    flex-shrink: 0;
    transform: scaleX(-1);
}

.mfc-msg-entry-label {
    font-weight: 700;
    font-size: 1.2rem;
    color:#FFF;
    margin: 0 0 0.15rem;
}

.mfc-msg-entry-desc {
    font-size: 0.78rem;
    color:#FFF;
    margin: 0;
}

.mfc-msg-entry-badge {
    background: #dc2626;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
}
