/* ==============================================
 * SKE48 Member Profile v25 - External CSS
 * profile-output.php 縺九ｉ蛻・屬縺輔ｌ縺溘せ繧ｿ繧､繝ｫ繧ｷ繝ｼ繝・n * PHP螟画焚縺ｯCSS Custom Properties (--mp25-*) 縺ｫ鄂ｮ謠帶ｸ医∩
 * ============================================== */
        /* ============================================
         * SKE48 Member Profile v25
         * ============================================ */
        .mp25 {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            color: #1f2937;
            background: #ffffff; /* グレー背景を撤廃し白に統一 */
            max-width: 100%;
            font-size: 16px;
            line-height: 1.6;
        }
        .mp25 * { box-sizing: border-box; }
        .mp25 a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
        .mp25 a:hover { opacity: 0.7; }

        /* Hero Section - Large Photo Centered */
        .mp25-hero {
            background: linear-gradient(180deg, var(--mp25-theme-bg) 0%, #fff 100%);
            padding: 40px 0 32px;
            text-align: center;
        }
        
        .mp25-hero-header {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 20px;
            text-align: left;
        }

        .mp25-hero-content {
            max-width: 960px;
            margin: 0 auto;
            display: flex;
            align-items: stretch; /* 写真の高さに合わせて中身を引き伸ばす */
            gap: 40px;
            padding: 0 20px;
        }

        .mp25-avatar-wrapper {
            position: relative;
            flex: 0 0 320px;
            margin-bottom: 0;
            display: flex; /* 写真が必ず全体の高さに合うように */
        }
        .mp25-avatar {
            width: 100%;
            height: auto;
            aspect-ratio: 3/4;
            border-radius: 16px;
            object-fit: cover;
            box-shadow: 0 12px 40px rgba(0,0,0,0.15);
            border: 4px solid #fff;
            align-self: flex-start; /* 写真自体は上端に固定 */
        }
        
        .mp25-hero-info {
            text-align: left;
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        
        .mp25-name-row {
            display: flex;
            align-items: baseline; /* 名前とふりがなをベースラインで揃える */
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }

        .mp25-name-kana-top {
            font-size: 16px;
            color: #6b7280;
            font-weight: 600;
            line-height: 1; /* 行間を詰め気味にする */
        }

        /* H1化に伴いリセットとスタイル調整 */
        .mp25-name-ja {
            font-size: 38px; font-weight: 800;
            color: #111827;
            line-height: 1.2;
            margin: 0; 
        }
        
        .mp25-sns-row {
            display: flex;
            gap: 8px;
            margin-top: auto; /* SNSアイコンをHeroエリアの最下部（写真の高さに合わせる）に配置 */
            padding-top: 16px;
        }
        .mp25-sns-btn {
            width: 36px; height: 36px;
            background: var(--mp25-theme-color);
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .mp25-sns-btn:hover { 
            transform: scale(1.1);
            opacity: 1; 
        }
        .mp25-sns-btn svg { width: 16px; height: 16px; fill: #fff; }
        
        .mp25-name-en {
            font-size: 15px; color: var(--mp25-theme-color);
            letter-spacing: 2px;
            margin-bottom: 12px;
            text-transform: uppercase;
            font-weight: 500;
        }
        
        .mp25-divider {
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, 
                var(--mp25-theme-color) 0%, 
                var(--mp25-theme-color-light) 50%, 
                transparent 100%); /* 左寄せなのでグラデーションを左から右へ */
            border-radius: 2px;
            margin-bottom: 24px;
        }

        .mp25-name-badges {
            display: flex;
            align-items: center;
            gap: 10px; flex-wrap: wrap;
            margin-bottom: 16px; /* プロフィールリストとの間に余白を確保 */
        }
        .mp25-badge {
            display: inline-block;
            background: var(--mp25-theme-color);
            color: #fff;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 13px; font-weight: 600;
        }
        .mp25-badge.outline {
            background: transparent;
            border: 2px solid var(--mp25-theme-color);
            color: var(--mp25-theme-color);
        }
        
        /* ヒーローエリア内のプロフィール専用スタイル */
        .mp25-hero-prof-list {
            margin-top: 8px;
            background: rgba(255,255,255,0.6);
            border-radius: 12px;
            padding: 20px; /* 余白を少し広げて高さをかせぐ */
            border: 1px solid rgba(255,255,255,0.8);
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            flex-grow: 1; /* プロフィールリストも可能な限り広げる */
            display: flex;
            flex-direction: column;
            justify-content: center; /* 中身を中央寄りに */
        }
        
        .mp25-prof-grid-hero {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px 20px; /* 行間を8pxから12pxに広げてバランスをとる */
        }
        /* ゆとりがあれば2列に */
        @media (min-width: 800px) {
            .mp25-prof-grid-hero { grid-template-columns: repeat(2, 1fr); }
        }
        
        .mp25-prof-item-hero {
            display: flex;
            flex-direction: column;
        }
        .mp25-prof-grid-hero .full {
            grid-column: 1 / -1;
        }
        
        .mp25-prof-item-hero dt {
            font-size: 11px;
            color: #6b7280;
            font-weight: 700;
            margin-bottom: 0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .mp25-prof-item-hero dd {
            font-size: 14px;
            color: #111827;
            margin: 0;
            line-height: 1.4;
            font-weight: 500;
        }
        
        /* 活動期間の簡略化スタイル */
        .mp25-period-row {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed rgba(0,0,0,0.1);
        }
        .mp25-period-duration {
            margin-left: 8px;
            font-size: 12px;
            color: #6b7280;
            font-weight: normal;
        }

        /* Hide unused elements */
        .mp25-hero-group,
        .mp25-name-kana,
        .mp25-hero-meta { display: none; }
        
        @media (max-width: 768px) {
            .mp25-hero-header {
                text-align: center;
                padding: 0 16px;
            }
            .mp25-hero-content {
                flex-direction: column;
                align-items: center;
                gap: 24px;
                padding: 0 16px;
            }
            .mp25-avatar-wrapper {
                flex: none;
                width: 280px;
                max-width: 85vw;
                margin: 0 auto;
            }
            .mp25-hero-info {
                text-align: center;
                width: 100%;
                align-items: center; /* 中身のバッジ等も中央に寄せる */
            }
            .mp25-name-row {
                flex-direction: column; /* スマホでは名前とふりがなを縦に並べる */
                justify-content: center;
                align-items: center;
                gap: 4px; /* 縦並びの隙間を狭める */
                margin-top: 4px;
            }
            .mp25-name-badges {
                justify-content: center;
                margin-bottom: 20px;
            }
            .mp25-divider {
                background: linear-gradient(90deg, 
                    transparent 0%, 
                    var(--mp25-theme-color-light) 20%, 
                    var(--mp25-theme-color) 50%, 
                    var(--mp25-theme-color-light) 80%, 
                    transparent 100%);
            }
            .mp25-badges {
                justify-content: center;
            }
            .mp25-sns-row {
                justify-content: center;
            }
            .mp25-prof-grid-hero {
                grid-template-columns: 1fr;
                gap: 8px; /* スマホでは間隔を少し詰める */
            }
            .mp25-prof-item-hero {
                text-align: center; /* スマホでは項目内も中央寄せ */
            }
            
            .mp25-hero { padding: 32px 0 24px; }
            .mp25-name-ja { font-size: 28px; }

            .mp25-period-duration {
                display: block; /* スマホでは改行して表示 */
                margin-left: 0;
                margin-top: 4px;
            }
        }

        /* Container */
        .mp25-container {
            max-width: 880px;
            margin: 0 auto;
            padding: 24px 0;
        }

        /* Section */
        .mp25-section { margin-bottom: 20px; }
        /* .mp25-sec-header removed as links moved to footer */
        
        /* H2化に伴いリセット */
        .mp25-sec-title {
            font-size: 18px; font-weight: 700; color: #111827;
            align-items: center; gap: 8px; /* display:flex removed if no vertical bar/icon needed, but keep if useful for alignment */
            margin: 0 0 12px 0; /* Add bottom margin directly */
            padding: 0; 
            border: none; /* Reset theme borders just in case */
            line-height: 1.4; /* Force tight line height */
            height: auto; min-height: 0; /* Prevent inherited height */
        }
        /* 縦棒削除のため非表示化 */
        .mp25-sec-title::before {
            content: none; 
        }
        .mp25-sec-desc {
            font-size: 13px;
            color: #6b7280;
            line-height: 1.6;
            margin: 0 0 16px 0;
        }
        .mp25-sec-more {
            font-size: 13px; color: var(--mp25-theme-color);
            font-weight: 600;
        }
        .mp25-sec-more {
            font-size: 13px; color: var(--mp25-theme-color);
            font-weight: 600;
        }
        .mp25-sec-footer {
            margin-top: 12px;
            text-align: right;
        }
        .mp25-sec-more-block {
            display: block;
            width: 100%;
            text-align: right;
            font-size: 15px; /* 統一のため15pxに変更 */
            color: var(--mp25-theme-color);
            font-weight: normal;
            padding: 8px 0;
            border-top: 1px dotted #e5e7eb;
        }
        .mp25-sec-more-block:hover {
            opacity: 0.7;
            text-decoration: underline;
        }

        /* News Section (post-list-archive.php sync) */
        .mp25-mixed-list { display: flex; flex-direction: column; border-top: 1px solid #eee; margin-bottom: 20px; }
        .mp25-l-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; text-decoration: none; color: #333; transition: background-color 0.2s; }
        .mp25-l-item:hover { background-color: #fafafa; }
        .mp25-l-thumb { width: 200px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background-color: #eee; flex-shrink: 0; margin-right: 20px; display: flex; align-items: flex-start; }
        .mp25-l-img { width: 100%; height: 100% !important; object-fit: cover; object-position: center; }
        .mp25-l-content { flex-grow: 1; min-width: 0; }
        .mp25-l-title { font-size: 16px; font-weight: 700; line-height: 1.5; color: #333; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .mp25-l-meta { font-size: 12px; color: #999; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .mp25-l-cat { color: #f39c12; font-weight: 700; font-size: 10px; border: 1px solid #f39c12; padding: 2px 6px; border-radius: 3px; line-height: 1; }
        
        .mp25-badge-inline { display: inline-block; font-weight: 700; line-height: 1; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; font-size: 10px; padding: 3px 6px; border-radius: 3px; margin-right: 6px; vertical-align: middle; position: relative; top: -1px; }
        .mp25-badge-new { background-color: #e74c3c; }
        .mp25-badge-new-secondary { background-color: #e67e22; }
        .mp25-badge-update { background-color: #3498db; }
        
        .mp25-icon-update {
            display: inline-block; width: 11px; height: 11px;
            background-color: currentColor;
            mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/><path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"/><path d="M16 21h5v-5"/></svg>');
            -webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/><path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"/><path d="M16 21h5v-5"/></svg>');
            mask-size: cover; -webkit-mask-size: cover; margin-right: 3px;
        }

        @media (max-width: 640px) {
            .mp25-l-thumb { width: 100px; margin-right: 12px; }
            .mp25-l-title { font-size: 14.5px; }
            .mp25-l-item { padding: 12px 0; }
        }

        /* Event Section */
        .mp25-event-list { display: flex; flex-direction: column; gap: 12px; }
        .mp25-event-item {
            display: flex; align-items: center; gap: 16px;
            background: #fff; padding: 16px;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        .mp25-event-date {
            flex: 0 0 54px;
            text-align: center;
            background: var(--mp25-theme-bg);
            padding: 10px 4px;
            border-radius: 8px;
        }
        .mp25-event-date-num {
            font-size: 20px; font-weight: 800;
            color: var(--mp25-theme-color);
        }
        .mp25-event-date-day { font-size: 12px; color: #9ca3af; }
        .mp25-event-info { flex: 1; min-width: 0; }
        .mp25-event-title {
            font-size: 16px; font-weight: normal; 
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .mp25-event-venue {
            font-size: 13px; color: #6b7280;
            display: flex; align-items: center; gap: 4px; margin-top: 2px;
        }
        .mp25-event-mobile-date { display: none; }
        .mp25-event-arrow { color: #d1d5db; font-size: 18px; margin-left: 8px; }

        @media (max-width: 640px) {
            .mp25-event-item {
                padding: 12px 14px;
                gap: 10px;
                align-items: flex-start;
            }
            .mp25-event-date { display: none; } /* スマホでは左の日付ボックスを隠す */
            .mp25-event-info {
                display: flex;
                flex-direction: column;
                gap: 2px;
            }
            .mp25-event-mobile-row {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-bottom: 2px;
            }
            .mp25-event-mobile-date {
                display: block;
                font-size: 13px;
                font-weight: 700;
                color: var(--mp25-theme-color);
                background: var(--mp25-theme-bg);
                padding: 1px 6px;
                border-radius: 4px;
            }
            .mp25-event-venue {
                margin-top: 0;
                font-size: 12px;
            }
            .mp25-event-title {
                font-size: 15px;
                font-weight: 600;
                white-space: normal; /* 折り返しを許可 */
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                line-height: 1.4;
            }
            .mp25-event-arrow {
                align-self: center;
                margin-left: 4px;
            }
        }

        /* Profile Section */
        .mp25-prof-card {
            background: #fff;
            border-radius: 16px;
            padding: 24px;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        @media (max-width: 640px) {
            .mp25-prof-card {
                background: transparent !important;
                border: none !important;
                box-shadow: none !important;
                padding: 0 !important;
                border-radius: 0 !important;
            }
            .mp25-content-body {
                padding: 0 4px !important; /* 文字が端に寄りすぎないよう微調整 */
            }
        }
        .mp25-prof-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        @media (max-width: 480px) {
            .mp25-prof-grid { grid-template-columns: 1fr; }
        }
        .mp25-prof-item dt {
            font-size: 13px; color: #6b7280;
            font-weight: 600; margin-bottom: 4px;
        }
        .mp25-prof-item dd {
            font-size: 16px; font-weight: normal;
            color: #374151; margin: 0;
            line-height: 1.6;
        }
        .mp25-prof-item.full { grid-column: 1 / -1; }
        .mp25-prof-item.full dd { font-weight: normal; }

        /* Content Body (魅力解説テキスト用) */
        .mp25-content-body {
            font-size: 15px; line-height: 1.8; color: #374151;
        }
        /* AFFINGERの強力なセレクタ（IDを含む:not擬似クラスなど）に勝つため、IDを2つ重ねた最強のセレクタを使用 */
        #st-page #content .mp25 .mp25-content-body p { 
            margin: 0 0 1.2em 0 !important; 
            padding: 0 !important;
            text-indent: 0 !important;
        }
        #st-page #content .mp25 .mp25-content-body p:last-child { margin-bottom: 0 !important; }
        
        #st-page #content .mp25 .mp25-content-body h2, 
        #st-page #content .mp25 .mp25-content-body h3, 
        #st-page #content .mp25 .mp25-content-body h4, 
        #st-page #content .mp25 .mp25-content-body h5 {
            color: #111827 !important; 
            margin: 1.5em 0 0.8em 0 !important; 
            padding: 0 0 0.3em 0 !important;
            font-weight: bold !important;
            background: none !important;
            border-top: none !important;
            border-left: none !important;
            border-right: none !important;
            line-height: 1.4 !important;
            clear: both !important;
            text-indent: 0 !important;
            width: 100% !important;
            display: block !important;
            box-sizing: border-box !important;
        }
        #st-page #content .mp25 .mp25-content-body h3 { 
            font-size: 1.15em !important; 
            border-bottom: 2px solid #fed7aa !important; /* エディタでのh2相当を黄色下線に */
        }
        #st-page #content .mp25 .mp25-content-body h4 { 
            font-size: 1.05em !important;
        }
        
        /* AFFINGERのデフォルト見出し装飾や大きな余白を打ち消す */
        #st-page #content .mp25 .mp25-content-body h2::before, #st-page #content .mp25 .mp25-content-body h2::after,
        #st-page #content .mp25 .mp25-content-body h3::before, #st-page #content .mp25 .mp25-content-body h3::after,
        #st-page #content .mp25 .mp25-content-body h4::before, #st-page #content .mp25 .mp25-content-body h4::after {
            content: none !important;
            display: none !important;
        }
        #st-page #content .mp25 .mp25-content-body h3:first-child, 
        #st-page #content .mp25 .mp25-content-body p:first-child,
        #st-page #content .mp25 .mp25-content-body .wp-block-heading:first-child {
            margin-top: 0 !important;
            padding-top: 0 !important;
        }
        #st-page #content .mp25 .mp25-content-body p:empty {
            display: none !important; /* WPの自動整形による空の不要な余白を消す */
        }
        #st-page #content .mp25 .mp25-content-body ul, #st-page #content .mp25 .mp25-content-body ol { 
            margin: 0 0 1.2em 1.5em !important; padding: 0 !important; 
        }
        #st-page #content .mp25 .mp25-content-body li { 
            margin-bottom: 0.5em !important; text-indent: 0 !important; 
        }
        #st-page #content .mp25 .mp25-content-body img { max-width: 100%; height: auto; border-radius: 8px; }

        /* WP Core Blocks adjustments */
        #st-page #content .mp25 .mp25-content-body .wp-block-heading { 
            margin-top: 1.5em !important; 
            padding-top: 0 !important;
            margin-left: 0 !important;
            padding-left: 0 !important;
            text-indent: 0 !important;
        }

        /* Activity Timeline */
        .mp25-timeline {
            margin-top: 20px; padding-top: 16px;
            border-top: 1px solid #e5e7eb;
        }
        .mp25-timeline-title {
            font-size: 12px; color: #6b7280;
            font-weight: 600; margin-bottom: 8px;
            display: flex; align-items: center; gap: 6px;
        }
        .mp25-timeline-bar {
            display: flex; align-items: center;
            gap: 8px; margin-bottom: 6px;
        }
        .mp25-timeline-dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            background: var(--mp25-theme-color);
        }
        .mp25-timeline-line {
            flex: 1; height: 3px;
            background: linear-gradient(90deg, var(--mp25-theme-color), var(--mp25-theme-color-light));
            border-radius: 2px;
        }
        .mp25-timeline-dates {
            display: flex; justify-content: space-between;
            font-size: 13px; color: #374151;
        }
        .mp25-timeline-duration {
            text-align: center;
            font-size: 14px; font-weight: 600;
            color: var(--mp25-theme-color);
            margin-top: 8px;
        }

        /* Singles Section */
        .mp25-single-scroll {
            display: flex; gap: 16px;
            overflow-x: auto; padding: 4px 4px 16px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .mp25-single-scroll::-webkit-scrollbar { display: none; }
        
        .mp25-single-card {
            flex: 0 0 110px;
            text-align: center;
        }
        .mp25-single-thumb {
            width: 110px; height: 110px;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 10px;
            position: relative;
            background: #e5e7eb;
        }
        .mp25-single-thumb img {
            width: 100%; height: 100%; object-fit: cover;
        }
        .mp25-single-badge {
            position: absolute;
            font-size: 11px; font-weight: 700;
            color: #fff; padding: 3px 8px;
            border-radius: 4px;
        }
        .mp25-single-badge.center {
            top: 6px; left: 6px;
            background: #e11d48;
        }
        .mp25-single-badge.first {
            bottom: 6px; left: 6px;
            background: #f97316;
        }
        .mp25-single-num {
            font-size: 12px; color: #9ca3af;
            font-weight: 700;
        }
        .mp25-single-title {
            font-size: 13px; font-weight: normal;
            line-height: 1.4;
            display: -webkit-box; -webkit-line-clamp: 2;
            -webkit-box-orient: vertical; overflow: hidden;
        }

        /* Songs Section */
        .mp25-song-list {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        .mp25-song-item {
            padding: 16px 20px;
            border-bottom: 1px solid #f3f4f6;
            display: flex; align-items: center; gap: 12px;
            font-size: 16px;
        }
        .mp25-song-item:last-child { border-bottom: none; }
        .mp25-song-icon { color: var(--mp25-theme-color); }
        .mp25-song-center {
            font-size: 12px; font-weight: 700;
            background: #fef2f2; color: #dc2626;
            padding: 3px 10px; border-radius: 6px;
            margin-left: auto;
        }
        .mp25-song-more {
            padding: 16px;
            text-align: center;
            background: #f9fafb;
            font-size: 15px; font-weight: normal; /* 統一のため15pxに変更 */
            color: #6b7280;
            cursor: pointer;
            border: none; width: 100%;
        }
        .hidden-song { display: none; }

        /* Related Members Section */
        .mp25-related-scroll {
            display: flex; gap: 16px;
            overflow-x: auto; padding: 4px 4px 16px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .mp25-related-scroll::-webkit-scrollbar { display: none; }
        
        .mp25-related-card {
            flex: 0 0 100px;
            text-align: center;
        }
        .mp25-related-thumb {
            width: 100px; height: 100px;
            border-radius: 50%;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin: 0 auto 10px;
            background: #e5e7eb;
        }
        .mp25-related-thumb img {
            width: 100%; height: 100%; object-fit: cover;
        }
        .mp25-related-name {
            font-size: 13px; font-weight: normal;
            line-height: 1.4;
            display: -webkit-box; -webkit-line-clamp: 2;
            -webkit-box-orient: vertical; overflow: hidden;
        }

        /* Alumni Members Label Section */
        .mp25-alumni-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
        }
        .mp25-alumni-list-title {
            font-size: 14px;
            font-weight: 600;
            color: #6b7280;
            width: 100%;
            margin-bottom: 4px;
        }
        .mp25-alumni-label {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            font-size: 13px;
            color: #374151;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .mp25-alumni-label:hover {
            background: #f9fafb;
            border-color: #d1d5db;
            color: #111827;
        }

        /* Scroll Wrapper with Arrows */
        .mp25-scroll-wrapper {
            position: relative;
        }
        .mp25-scroll-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px; height: 36px;
            background: rgba(255,255,255,0.95);
            border: 1px solid #e5e7eb;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.2s;
        }
        .mp25-scroll-arrow:hover {
            background: #fff;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .mp25-scroll-arrow.left { left: -8px; }
        .mp25-scroll-arrow.right { right: -8px; }
        .mp25-scroll-arrow svg {
            width: 16px; height: 16px;
            fill: #374151;
        }
        .mp25-scroll-arrow.disabled {
            opacity: 0.3;
            cursor: default;
        }
        /* スマホでも矢印を表示（サイズ調整） */
        @media (max-width: 640px) {
            .mp25-scroll-arrow {
                width: 28px; height: 28px;
            }
            .mp25-scroll-arrow.left { left: 4px; }
            .mp25-scroll-arrow.right { right: 4px; }
            .mp25-scroll-arrow svg {
                width: 14px; height: 14px;
            }
        }
        /* スクロール可能を示すフェードグラデーション */
        .mp25-scroll-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 40px;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(249,250,251,0.9));
            pointer-events: none;
            z-index: 5;
        }

        /* Empty State */
        .mp25-empty {
            text-align: center;
            padding: 24px;
            color: #9ca3af;
            font-size: 15px; /* 統一のため15pxに変更 */
        }
        /* ============================================
         * Birthday Special Styles
         * ============================================ */
        .mp25-birthday .mp25-hero {
            background: linear-gradient(180deg, #fff0f5 0%, #fff 100%) !important;
        }
        .mp25-birthday .mp25-avatar-wrapper::before {
            content: '👑';
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 40px;
            z-index: 10;
            animation: mp25-crown-bounce 1s ease-in-out infinite;
        }
        .mp25-birthday .mp25-avatar {
            border-color: #f472b6 !important;
            box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.3), 0 12px 40px rgba(244, 114, 182, 0.3) !important;
        }
        .mp25-birthday-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
            color: #fff;
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 24px;
            animation: mp25-badge-pulse 2s ease-in-out infinite;
        }
        @keyframes mp25-crown-bounce {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(-8px); }
        }
        @keyframes mp25-badge-pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        /* Confetti */
        .mp25-confetti {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            overflow: hidden;
        }
        .mp25-confetti-piece {
            position: absolute;
            width: 10px;
            height: 10px;
            top: -20px;
            animation: mp25-confetti-fall 4s linear forwards;
        }
        @keyframes mp25-confetti-fall {
            0% { transform: translateY(0) rotate(0deg); opacity: 1; }
            100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
        }
        /* Topic Links */
        .mp25-topic-link {
            display: inline-flex; align-items: center;
            background: #f0fdf4; color: #166534;
            padding: 3px 8px; border-radius: 4px;
            font-size: 11px; font-weight: 600;
            margin-right: 6px; margin-top: 4px;
            text-decoration: none; border: 1px solid #bbf7d0;
            transition: all 0.2s;
        }
        .mp25-topic-link:hover {
            background: #dcfce7;
            transform: translateY(-1px);
        }
        .mp25-topic-link svg {
            width: 12px; height: 12px; margin-right: 3px; fill: currentColor;
        }
        /* Wysiwyg Content Adjustment */
        .mp25-topic-body p { margin: 0 0 6px 0; line-height: 1.5; }
        .mp25-topic-body p:last-child { margin-bottom: 0; }
        /* Personal Genre Header */
        .mp25-personal-header {
            background: #f3f4f6;
            padding: 12px 16px;
            border-radius: 6px;
            border-left: 5px solid var(--genre-color, var(--mp25-theme-color));
            font-size: 16px; font-weight: 700 !important;
            color: #111827 !important;
            margin-bottom: 16px;
            letter-spacing: 0.02em;
        }
        @media (max-width: 640px) {
            .mp25-personal-header {
                background: transparent !important; /* スマホでは背景なしにして囲み感を消す */
                color: #111827 !important;
                font-size: 15px;
                font-weight: 800 !important;
                padding: 12px 0 12px 12px;
                border-left: 5px solid var(--genre-color, var(--mp25-theme-color));
                border-radius: 0;
            }
        }
        /* タグ（interests-db.phpと統一・ジャンルカラー対応） */
        .mp25-topic-tag {
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 12px; color: var(--genre-color, #4b5563) !important; font-weight: 600;
            background: var(--genre-bg, #f3f4f6); padding: 5px 12px; border-radius: 4px;
            text-decoration: none !important; border: 1px solid var(--genre-border, #e5e7eb);
            transition: all .2s ease;
        }
        .mp25-topic-tag:hover { opacity: 0.7; }
        /* 話題アイテム（ジャンル色ボーダー） */
        .mp25-topic-item {
            position: relative;
            padding-left: 12px;
            border-left: 3px solid var(--genre-color, #e5e7eb);
            margin-bottom: 16px;
        }
        .mp25-topic-item:last-child { margin-bottom: 0; }
        .mp25-topic-tags-row {
            display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
        }
        /* Personal Footer (Disclaimer) */
        .mp25-personal-footer {
            margin-top: 24px;
            padding: 16px;
            background: #f9fafb;
            border: 1px dashed #d1d5db;
            border-radius: 8px;
            font-size: 12px;
            color: #6b7280;
            line-height: 1.6;
        }
        .mp25-personal-footer p { margin: 0 0 12px 0; }
        .mp25-btn-feedback {
            display: inline-flex; align-items: center;
            background: #fff; color: #4b5563;
            padding: 6px 16px;
            border: 1px solid #d1d5db;
            border-radius: 20px;
            font-size: 12px; font-weight: 600;
            transition: all 0.2s;
        }
        .mp25-btn-feedback:hover {
            background: #f3f4f6;
            color: #111827;
            border-color: #9ca3af;
        }

        /* 外部URLリンク用スタイル（interests-db.phpと共通） */
        .mp25-topic-link-external {
            display: inline-flex; align-items: center;
            padding: 3px 8px; border-radius: 4px;
            font-size: 11px; font-weight: 600;
            margin-right: 6px; margin-top: 4px; text-decoration: none !important;
            border: 1px solid; transition: opacity .2s;
        }
        .mp25-topic-link-external:hover { 
            opacity: 0.7; 
            transform: translateY(-1px);
        }
        .mp25-topic-link-external svg { width: 12px; height: 12px; margin-right: 3px; fill: currentColor; flex-shrink: 0; }
        /* YouTube */
        .mp25-topic-link-yt { background: #fef2f2; color: #dc2626 !important; border-color: #fca5a5; }
        /* YouTubeモーダルボタン（buttonタグ用リセット） */
        button.mp25-topic-link-yt {
            cursor: pointer; font-family: inherit; line-height: inherit;
        }
        /* X (Twitter) */
        .mp25-topic-link-x { background: #f9fafb; color: #000 !important; border-color: #d1d5db; }
        /* その他の外部リンク */
        .mp25-topic-link-ext { background: #eff6ff; color: #2563eb !important; border-color: #93c5fd; }

        /* Personal Footer Accordion */
        .mp25-personal-footer summary {
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            color: #9ca3af;
            list-style: none;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .mp25-personal-footer summary::-webkit-details-marker { display: none; }
        .mp25-personal-footer summary::before {
            content: '▶';
            font-size: 8px;
            transition: transform 0.2s;
        }
        .mp25-personal-footer[open] summary::before {
            transform: rotate(90deg);
        }
        .mp25-personal-footer-body {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #e5e7eb;
        }

        /* // 2026.03.09: ダイジェスト機能停止のため一時コメントアウト
1284:         // Digest Topics Section
1285:         .mp25-digest-topics {
1286:             background: #fff;
1287:             border-radius: 12px;
1288:             overflow: hidden;
1289:             border: 1px solid #e5e7eb;
1290:             box-shadow: 0 4px 12px rgba(0,0,0,0.05);
1291:         }
1292:         .mp25-digest-topic-item {
1293:             display: flex;
1294:             align-items: center;
1295:             gap: 12px;
1296:             padding: 12px 16px;
1297:             border-bottom: 1px solid #f3f4f6;
1298:             text-decoration: none;
1299:             color: inherit;
1300:             transition: all 0.2s;
1301:         }
1302:         .mp25-digest-topic-item:last-child { border-bottom: none; }
1303:         .mp25-digest-topic-item:hover {
1304:             background: #fff7ed;
1305:         }
1306:         .mp25-digest-topic-date {
1307:             flex: 0 0 auto;
1308:             font-size: 13px;
1309:             color: #9ca3af;
1310:             font-weight: 600;
1311:             white-space: nowrap;
1312:         }
1313:         .mp25-digest-topic-text {
1314:             font-size: 15px;
1315:             font-weight: normal;
1316:             line-height: 1.4;
1317:             color: #374151;
1318:             display: -webkit-box;
1319:             -webkit-box-orient: vertical;
1320:             -webkit-line-clamp: 1;
1321:             overflow: hidden;
1322:         }
1323:         .mp25-digest-topic-item:hover .mp25-digest-topic-text {
1324:             color: var(--mp25-theme-color);
1325:         }
1326:         */
        /* Visually Hidden (for SEO) */
        .mp25-visually-hidden {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            padding: 0 !important;
            margin: -1px !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            white-space: nowrap !important;
            border: 0 !important;
        }