/* ==========================================================================
   起業家マイページ 骨格 & 共通UI スタイル (mypage.css)
   ========================================================================== */

:root {
    --bg: #0a0a0a;
    --bg-card: #111;
    --bg-card2: #161616;
    --border: #222;
    --border-hover: #333;
    --text: #e8e8e8;
    --text-muted: #888;
    --text-dim: #555;
    --accent: #d4a84a;
    --accent-dim: rgba(212, 168, 74, 0.12);
    --accent-border: rgba(212, 168, 74, 0.3);
    --danger: #ff4d4f;
    --success: #22c55e;
    --radius: 10px;
    --radius-sm: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

body,
.main,
.grid {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ==========================================================================
   1. メインレイアウト & 骨格 (Grid & Sidebar)
   ========================================================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent);
}

.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 20px 60px; /* 固定ヘッダーとの重なり回避（32pxに縮小） */
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
}

.col-messages {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 168, 74, 0.3) transparent;
}

.col-messages::-webkit-scrollbar {
    width: 4px;
}

.col-messages::-webkit-scrollbar-track {
    background: transparent;
}

.col-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 74, 0.25);
    border-radius: 4px;
}

.col-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 74, 0.5);
}

/* Settings Sidebar Style */
.settings-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-user-profile {
    padding: 0 12px;
}

.settings-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 16px;
    transition: border-color 0.2s;
    position: relative;
}

.settings-avatar:hover {
    border-color: var(--accent);
}

.settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings-avatar::after {
    content: url('data:image/svg+xml;utf8,<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>');
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.settings-avatar:hover::after {
    opacity: 1;
}

.sidebar-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.sidebar-company {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.sidebar-title {
    font-size: 12px;
    color: var(--text-dim);
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.settings-nav-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.settings-nav-item.active {
    color: var(--text);
    background: rgba(212, 168, 74, 0.05);
    border-left: 2px solid var(--accent);
    border-radius: 0 6px 6px 0;
}


/* ==========================================================================
   2. 共通カード UI (Settings Card)
   ========================================================================== */
.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-card-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.settings-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: var(--text);
    display: flex;
    align-items: center;
}

.settings-card-title .badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.settings-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.settings-card-body {
    padding: 12px 16px;
}

.settings-card-footer {
    padding: 12px 16px;
    background: transparent !important;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    position: sticky;
    bottom: 0;
    z-index: 10;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* ==========================================================================
   3. 統一されたフォーム要素 (Unified Form Controls)
   ========================================================================== */
.speaker-edit-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.form-label-sub {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}

.form-input, 
.form-textarea {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-input:focus, 
.form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-dim);
}

.btn-save {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    width: auto;
    min-width: 140px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-save:hover {
    opacity: 0.9;
}

.btn-save:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
}


/* ==========================================================================
   4. プロフィールプレビューモーダル & インラインボタン
   ========================================================================== */
.mpv-trigger-btn {
    position: absolute; 
    top: 20px; 
    right: 24px;
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    padding: 6px 14px;
    background: rgba(212, 168, 74, 0.12);
    border: 1px solid rgba(212, 168, 74, 0.35);
    border-radius: 20px;
    color: var(--accent);
    font-size: 12px; 
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.mpv-trigger-btn:hover {
    background: rgba(212, 168, 74, 0.22);
    box-shadow: 0 0 12px rgba(212, 168, 74, 0.2);
}

.mpv-inline-btn {
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    padding: 6px 14px;
    background: rgba(212, 168, 74, 0.12);
    border: 1px solid rgba(212, 168, 74, 0.35);
    border-radius: 20px;
    color: var(--accent);
    font-size: 12px; 
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.mpv-inline-btn:hover {
    background: rgba(212, 168, 74, 0.22);
    box-shadow: 0 0 12px rgba(212, 168, 74, 0.2);
}

.mpv-overlay {
    display: none;
    position: fixed; 
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.mpv-overlay.show { 
    display: flex !important; 
}

.mpv-modal {
    position: relative;
    width: 90%; 
    max-width: 780px;
    max-height: 90vh;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex; 
    flex-direction: column;
    animation: mpvSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mpvSlideUp { 
    from { transform: translateY(60px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

.mpv-banner {
    background: linear-gradient(135deg, rgba(212, 168, 74, 0.18), rgba(212, 168, 74, 0.08));
    border-bottom: 1px solid rgba(212, 168, 74, 0.3);
    color: var(--accent);
    font-size: 12px; 
    font-weight: 600;
    padding: 10px 20px;
    text-align: center;
    flex-shrink: 0;
}

.mpv-close-btn {
    position: absolute; 
    top: 8px; 
    right: 14px;
    background: none; 
    border: none;
    color: var(--text-muted);
    font-size: 18px; 
    cursor: pointer;
    width: 32px; 
    height: 32px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 1;
}

.mpv-close-btn:hover { 
    background: rgba(255,255,255,0.08); 
    color: var(--text); 
}

.mpv-content { 
    overflow-y: auto; 
    padding: 32px 28px 40px; 
    flex: 1; 
}

.mpv-loading { 
    display: flex; 
    justify-content: center; 
    padding: 60px 0; 
}

.mpv-hero { 
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
    margin-bottom: 28px; 
}

.mpv-avatar {
    width: 80px; 
    height: 80px; 
    border-radius: 16px;
    background: rgba(212, 168, 74, 0.12);
    border: 1px solid rgba(212, 168, 74, 0.2);
    flex-shrink: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 28px; 
    font-weight: 700; 
    color: var(--accent);
    overflow: hidden;
}

.mpv-avatar img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.mpv-hero-info { 
    flex: 1; 
    min-width: 0; 
}

.mpv-company { 
    font-size: 22px; 
    font-weight: 800; 
    color: var(--text); 
    margin-bottom: 4px; 
    line-height: 1.3; 
}

.mpv-name { 
    font-size: 13px; 
    color: var(--text-muted); 
    margin-bottom: 4px; 
}

.mpv-website a { 
    font-size: 12px; 
    color: var(--accent); 
    text-decoration: none; 
}

.mpv-website a:hover { 
    text-decoration: underline; 
}

.mpv-signals { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    margin: 20px 0; 
}

.mpv-signal-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 4px;
    padding: 6px 14px;
    background: rgba(212, 168, 74, 0.12);
    border: 1px solid rgba(212, 168, 74, 0.3);
    border-radius: 20px;
    font-size: 12px; 
    font-weight: 600; 
    color: var(--accent);
}

.mpv-section { 
    margin-bottom: 24px; 
}

.mpv-section-title {
    font-size: 11px; 
    font-weight: 700;
    color: var(--text-dim); 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mpv-section-body {
    font-size: 13px; 
    color: var(--text);
    line-height: 1.8;
    white-space: pre-wrap;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.mpv-meta-row { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin: 16px 0; 
}

.mpv-meta-chip {
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px; 
    color: var(--text-muted);
}

.mpv-meta-chip span { 
    color: var(--text); 
    font-weight: 600; 
}

.mpv-divider { 
    border: none; 
    border-top: 1px solid var(--border); 
    margin: 20px 0; 
}

.mpv-cta-row { 
    display: flex; 
    justify-content: center; 
    margin-top: 16px; 
}

.mpv-external-link {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    padding: 10px 24px;
    background: rgba(212, 168, 74, 0.1);
    border: 1px solid rgba(212, 168, 74, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent); 
    font-size: 13px; 
    font-weight: 600;
    text-decoration: none; 
    cursor: pointer;
    transition: all 0.2s;
}

.mpv-external-link:hover { 
    background: rgba(212, 168, 74, 0.2); 
}

.mpv-empty { 
    text-align: center; 
    padding: 40px; 
    color: var(--text-muted); 
    font-size: 13px; 
}


/* ==========================================================================
   5. 共通 UI (Toast & Skeleton Loader & Startup Carousel)
   ========================================================================== */
/* Toast Notification */
.vpo-toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.vpo-toast {
    background: rgba(34, 197, 94, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    animation: vpoToastEnter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.vpo-toast.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

@keyframes vpoToastEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skeleton Loader */
.skeleton-box {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
    display: block;
}

@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-circle {
    border-radius: 50%;
}

.skeleton-sidebar-profile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
}

.sk-wrapper { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 260px minmax(0, 1fr); 
    gap: 30px; 
}

.sk-avatar { width: 48px; height: 48px; margin-bottom: 8px; }
.sk-name { width: 140px; height: 20px; margin-bottom: 4px; }
.sk-title { width: 100px; height: 14px; margin-bottom: 8px; }
.sk-btn { width: 100%; height: 36px; border-radius: 6px; margin-top: 16px; }
.sk-btn2 { width: 100%; height: 36px; border-radius: 6px; }
.sk-main { width: 100%; height: 400px; border-radius: 12px; }

/* Startup Carousel for Mobile */
.startup-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-top: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.startup-carousel::-webkit-scrollbar {
    display: none;
}

.startup-carousel-card {
    position: relative;
    flex: 0 0 auto;
    width: 85%;
    max-width: 320px;
    scroll-snap-align: start;
}

.sp-section-heading {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    font-weight: 600;
}

/* User Signal Active Styles */
.settings-card .active-signal-group { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    margin-top: 4px; 
}

.settings-card .signal-btn { 
    background: rgba(255, 255, 255, 0.03) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    color: #777 !important; 
    padding: 8px 12px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    white-space: nowrap; 
}

.settings-card .signal-btn:hover { 
    border-color: var(--accent) !important; 
    color: var(--text) !important; 
    background: rgba(212,168,74,0.05) !important; 
}

.settings-card .signal-btn.active { 
    background: var(--accent-dim) !important; 
    border-color: var(--accent) !important; 
    color: var(--accent) !important; 
    font-weight: 600; 
    box-shadow: 0 0 10px rgba(212,168,74,0.1); 
}

.last-updated-badge { 
    position: absolute; 
    top: 20px; 
    right: 24px; 
    font-size: 11px; 
    color: var(--fg-muted); 
    background: rgba(255, 255, 255, 0.05); 
    padding: 4px 8px; 
    border-radius: 12px; 
}

/* ==========================================================================
   6. 投資家検索 UI 洗練化スタイル (SaaS Mini UI)
   ========================================================================== */
.vc-item {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vc-item.is-card {
    /* card mode inherits base styles but can have custom override if needed */
}
.vc-item:hover {
    background-color: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

/* URLリンクのステルス（引き算）デザイン */
.vc-url {
    font-size: 11px;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.vc-url:hover {
    color: var(--text) !important;
    text-decoration: underline !important;
}

/* メタ情報テキスト＆中黒区切り */
.vc-meta-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: var(--text-muted);
    gap: 4px;
}
.vc-meta-divider {
    color: rgba(255, 255, 255, 0.15);
    padding: 0 4px;
    font-size: 10px;
    user-select: none;
}

/* 上品なバッジ・チップ（タグ）スタイル */
.vc-tag-sector {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(212, 168, 74, 0.06);
    color: var(--accent);
    border: 1px solid rgba(212, 168, 74, 0.15);
    line-height: 1.2;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vc-tag-stage {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.2;
}

/* 適合度スコアバッジの洗練 */
.score-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.score-badge.is-perfect {
    background: rgba(212, 168, 74, 0.08);
    color: var(--accent);
    border-color: rgba(212, 168, 74, 0.25);
    box-shadow: 0 0 8px rgba(212, 168, 74, 0.05);
}
.vc-item:hover .score-badge {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.vc-item:hover .score-badge.is-perfect {
    border-color: rgba(212, 168, 74, 0.5) !important;
    box-shadow: 0 0 12px rgba(212, 168, 74, 0.1);
}

/* 詳細開閉トグルボタン */
.vc-toggle-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2px;
}
.vc-toggle-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vc-toggle-btn:hover {
    color: var(--text) !important;
}
.vc-toggle-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center 2px;
}

/* ページネーション (SaaS Minimal UI) */
.vc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    width: 100%;
    box-sizing: border-box;
}
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagination-btn:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text);
}
.pagination-btn.active {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
    font-weight: 600;
}
.pagination-btn:disabled {
    color: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.35;
}
.pagination-dots {
    color: rgba(255, 255, 255, 0.2);
    font-size: 11.5px;
    padding: 0 4px;
    user-select: none;
}

/* ==========================================================================
   Merged from mypage-tabs.css (Refactored)
   ========================================================================== */

/* ==========================================================================
   起業家マイページ 各タブ個別スタイル (mypage-tabs.css)
   ========================================================================== */

/* ==========================================================================
   1. ピッチ登壇申請タブ (旧 mypage-pitch.css)
   ========================================================================== */
.pitch-app-section {
    margin-bottom: 12px;
}

.pitch-app-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pitch-app-card {
    background: var(--bg-card);
    border: 2px solid rgba(212, 168, 74, 0.3);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
}

.pitch-app-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pitch-status-pending {
    background: rgba(212, 168, 74, 0.15);
    color: var(--accent);
}

.pitch-status-confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.pitch-status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.pitch-status-completed {
    background: rgba(136, 136, 136, 0.15);
    color: var(--text-muted);
}

.pitch-status-entry_submitted {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
}

.pitch-cta {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(212, 168, 74, 0.08), rgba(212, 168, 74, 0.02));
    border: 1px solid rgba(212, 168, 74, 0.25);
    border-radius: var(--radius-sm);
    text-align: center;
}

.pitch-cta p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pitch-app-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.pitch-info-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px;
}

.pitch-info-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    font-weight: 600;
}

.pitch-info-value {
    font-size: 13px;
    color: var(--text);
}

.btn-pitch-entry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent), #e8b84a);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-pitch-entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 74, 0.3);
}

.pitch-app-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.btn-pitch-change {
    flex: 1;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pitch-change:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-pitch-cancel {
    flex: 1;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: transparent;
    color: var(--danger);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pitch-cancel:hover {
    background: rgba(239, 68, 68, 0.08);
}


/* ==========================================================================
   2. 起業家プロフィール詳細・登壇履歴・リアクション (旧 mypage-speaker.css)
   ========================================================================== */
.speaker-section {
    display: none;
    margin-bottom: 12px;
}

.speaker-section.show {
    display: block;
}

.speaker-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.speaker-entry-card {
    background: var(--bg-card);
    border: 2px solid rgba(212, 168, 74, 0.5);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.speaker-entry-card:hover {
    border-color: var(--accent);
}

.speaker-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    gap: 12px;
}

.speaker-entry-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.speaker-entry-vol {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.speaker-entry-date {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.speaker-status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(212, 168, 74, 0.15);
    color: var(--accent);
}

.status-approved {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.status-completed {
    background: rgba(136, 136, 136, 0.15);
    color: var(--text-muted);
}

.speaker-entry-toggle {
    font-size: 12px;
    color: var(--text-dim);
    transition: transform 0.3s;
}

.speaker-entry-toggle.open {
    transform: rotate(180deg);
}

.speaker-entry-body {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
}

.speaker-entry-body.open {
    display: block;
}

.speaker-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.speaker-info-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.speaker-info-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.speaker-info-value {
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
}

.speaker-info-value a {
    color: var(--accent);
    text-decoration: none;
}

.speaker-info-value a:hover {
    text-decoration: underline;
}

.speaker-summary-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    margin-top: 12px;
    padding: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.speaker-zoom-box {
    margin-top: 12px;
    padding: 14px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.speaker-zoom-box a {
    color: var(--success);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.speaker-zoom-box a:hover {
    text-decoration: underline;
}

.speaker-zoom-copy {
    background: none;
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.speaker-zoom-copy:hover {
    background: rgba(34, 197, 94, 0.1);
}

.btn-speaker-entry {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-speaker-entry:hover {
    opacity: 0.85;
}

.btn-speaker-edit {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    background: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-speaker-edit:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.speaker-entry-cta {
    text-align: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    margin-top: 12px;
}

.speaker-entry-cta p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Modal styles removed (migrated to inline / page transition) */

/* Reactions / Feedback inside speaker section */
.reactions-section {
    margin-top: 6px;
    padding-top: 0;
}

.reactions-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.reactions-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.reaction-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.reaction-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}

.reaction-badge.active {
    background: rgba(0, 255, 136, 0.08);
    border-color: var(--accent);
}

.reaction-badge .count {
    font-weight: 700;
    color: var(--accent);
}

.reaction-detail {
    display: none;
    margin-top: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    max-height: 300px;
    overflow-y: auto;
}

.reaction-detail.show {
    display: block;
}

.reaction-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.reaction-item:last-child {
    border-bottom: none;
}

.reaction-item-name {
    font-size: 13px;
    font-weight: 600;
}

.reaction-item-company {
    font-size: 11px;
    color: var(--text-muted);
}

.reaction-item-date {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.comment-text {
    font-size: 13px;
    margin-top: 4px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.meeting-message {
    font-size: 12px;
    margin-top: 4px;
    color: var(--text-muted);
    line-height: 1.5;
}

.meeting-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.btn-accept {
    padding: 5px 14px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-decline {
    padding: 5px 14px;
    background: none;
    color: #e05555;
    border: 1px solid rgba(220, 50, 50, 0.4);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.meeting-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.meeting-status-badge.accepted {
    background: rgba(0, 255, 136, 0.12);
    color: var(--accent);
}

.meeting-status-badge.declined {
    background: rgba(220, 50, 50, 0.12);
    color: #e05555;
}

.meeting-status-badge.pending {
    background: rgba(255, 200, 0, 0.12);
    color: #ffc800;
}

.reaction-empty {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    padding: 16px;
}


/* ==========================================================================
   3. プロフィール共通・アンケート・モーダル (旧 mypage-profile.css)
   ========================================================================== */
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s;
}

.profile-avatar:hover {
    opacity: 0.85;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-company {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.profile-title-text {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.profile-category {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 20px;
    color: var(--accent);
}

.profile-field-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.btn-edit-inline {
    font-size: 11px;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
    opacity: 0.7;
}

.btn-edit-inline:hover {
    opacity: 1;
    text-decoration: underline;
}

.category-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.btn-edit-cat {
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
    transition: color 0.2s;
    padding: 0;
}

.btn-edit-cat:hover {
    color: var(--accent);
}

.survey-detail {
    margin-bottom: 16px;
}

.survey-detail-item {
    font-size: 12px;
    color: var(--text-muted);
    padding: 3px 0;
}

.survey-detail-label {
    color: var(--text-dim);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.survey-detail-value {
    font-size: 12px;
    color: var(--text);
}

/* Category Edit Modal */
.cat-edit-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.cat-edit-overlay.show {
    display: flex;
}

.cat-edit-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.cat-option {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-option:hover {
    border-color: var(--accent-border);
}

.cat-option.selected {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

/* Registration Survey Editor Styles */
.survey-section {
    display: none;
    margin-top: 8px;
}

.survey-section.active {
    display: block;
}

.survey-question {
    margin-bottom: 12px;
}

.survey-field-wrapper {
    max-width: 100%;
}

.survey-question-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.survey-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.survey-option {
    padding: 8px 14px;
    font-size: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-card);
    color: var(--text-muted);
}

.survey-option:hover {
    border-color: var(--border-hover);
}

.survey-option.selected {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 600;
}

.survey-radio {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.survey-radio-item {
    padding: 10px 14px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-card);
    color: var(--text-muted);
}

.survey-radio-item:hover {
    border-color: var(--border-hover);
}

.survey-radio-item.selected {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--accent);
    font-weight: 600;
}

.survey-textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    margin-top: 8px;
}

.survey-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.survey-conditional {
    display: none;
}

.survey-conditional.show {
    display: block;
}

.profile-info {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 4px;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 13px;
}

.profile-info-label {
    color: var(--text-muted);
    min-width: 80px;
}

.profile-info-value {
    color: var(--text);
    text-align: right;
    word-break: break-all;
}

.btn-edit {
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-logout {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 77, 79, 0.3);
    background: transparent;
    color: var(--danger);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: rgba(255, 77, 79, 0.08);
}

/* Edit Overlay (Generic) */
.edit-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.edit-overlay.show {
    display: flex;
}

.edit-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.edit-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Dashboard Stats */
.dashboard-stats {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}


/* ==========================================================================
   4. メッセージ・チャットプレビュー (旧 mypage-dashboard.css)
   ========================================================================== */
.stat-item {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    background: var(--bg-card2);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-muted);
}

.stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2px;
}

.stat-item.clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.stat-item.clickable:hover {
    background: rgba(212, 168, 74, 0.1);
    border: 1px solid rgba(212, 168, 74, 0.3);
}

.stat-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    margin-left: 4px;
}

.msg-open-link {
    display: block;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .2s;
    margin-top: 8px;
}

.msg-open-link:hover {
    background: rgba(212, 168, 74, .08);
    border-color: var(--accent);
}

.unread-preview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    color: var(--text);
    margin-bottom: 6px;
}

.unread-preview-item:hover {
    background: rgba(255, 255, 255, .03);
    border-color: var(--accent);
}

.unread-preview-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a3a5c, #2a2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.unread-preview-info {
    flex: 1;
    min-width: 0;
}

.unread-preview-name {
    font-size: 13px;
    font-weight: 700;
}

.unread-preview-body {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-preview-time {
    font-size: 10px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.unread-preview-empty {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.messages-section-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #e05555;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* Conversation list */
.chat-conv-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-conv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.chat-conv-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.chat-conv-item.has-unread {
    border-color: var(--accent);
}

.chat-conv-item.active {
    background: rgba(218, 165, 32, 0.08);
    border-color: var(--accent);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3a3a5c, #2a2a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.chat-conv-info {
    flex: 1;
    min-width: 0;
}

.chat-conv-name {
    font-size: 13px;
    font-weight: 600;
}

.chat-conv-preview {
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-conv-meta {
    text-align: right;
    flex-shrink: 0;
}

.chat-conv-date {
    font-size: 10px;
    color: var(--text-muted);
}

.chat-conv-unread {
    display: inline-block;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: var(--accent);
    color: #000;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 4px;
}

/* Chat thread */
.chat-thread {
    display: none;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-height: calc(100vh - 160px);
}

.chat-thread.open {
    display: flex;
}

.chat-bubbles {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.chat-thread-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.chat-back-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
}

.chat-thread-name {
    font-size: 14px;
    font-weight: 600;
}

.chat-thread-company {
    font-size: 11px;
    color: var(--text-muted);
}

.chat-bubbles {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.chat-bubble.received {
    align-self: flex-start;
    background: #2a2a42;
    border-bottom-left-radius: 4px;
}

.chat-bubble.sent {
    align-self: flex-end;
    background: rgba(218, 165, 32, 0.18);
    border-bottom-right-radius: 4px;
}

.chat-bubble-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.chat-bubble.received .chat-bubble-time {
    text-align: left;
}

.chat-bubble.sent .chat-bubble-time {
    text-align: right;
}

/* Chat input */
.chat-input-bar {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    background: #1a1a2e;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: #e0e0e0;
    font-size: 13px;
    outline: none;
    resize: none;
    min-height: 20px;
    max-height: 80px;
}

.chat-input:focus {
    border-color: var(--accent);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ==========================================================================
   5. 参加イベントタブ (旧 mypage-events.css)
   ========================================================================== */
.countdown-badge {
    display: inline-block;
    background: rgba(212, 168, 74, 0.15);
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.countdown-badge.today {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    animation: pulse 2s infinite;
}

.countdown-badge.past {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
}

.btn-follow {
    padding: 4px 10px;
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    background: transparent;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-follow:hover {
    background: var(--accent-dim);
}

.btn-follow.following {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.events-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    background: #111 !important;
    padding: 10px !important;
    border-radius: 6px !important;
    position: relative !important;
    z-index: 10 !important;
}

.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.event-card:hover {
    border-color: var(--accent-border);
}

.event-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.event-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.event-card-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 8px;
}

.badge-upcoming {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-past {
    background: rgba(136, 136, 136, 0.15);
    color: var(--text-muted);
}

.cancel-event-link {
    color: #ef4444;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cancel-event-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.cancel-confirm-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.cancel-confirm-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.cancel-confirm-modal h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.cancel-confirm-modal p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cancel-confirm-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cancel-confirm-btns button {
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel-no {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-cancel-no:hover {
    border-color: var(--text-muted);
}

.btn-cancel-yes {
    background: #ef4444;
    border: none;
    color: #fff;
}

.btn-cancel-yes:hover {
    background: #dc2626;
}

.btn-cancel-yes:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    font-size: 14px;
    position: relative !important;
    z-index: 10 !important;
}

.empty-state svg {
    margin-bottom: 12px;
    opacity: 0.3;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Published Events Section */
.published-events-section {
    margin-bottom: 24px;
}

.published-event-card {
    background: var(--bg-card);
    border: 2px solid rgba(212, 168, 74, 0.4);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.published-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #e8c97a);
}

.published-event-card:hover {
    border-color: var(--accent);
    background: rgba(212, 168, 74, 0.04);
    transform: translateY(-2px);
}

.published-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    background: rgba(212, 168, 74, 0.18);
    color: var(--accent);
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.btn-join-event {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-top: 8px;
}

.btn-join-event:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* Pitch Schedule Edit Modal */
.pitch-schedule-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.pitch-schedule-overlay.show {
    display: flex;
}

.pitch-schedule-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
}


/* ==========================================================================
   6. 投資家向け情報 / サブタブ (旧 mypage-inline.css)
   ========================================================================== */
.sp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sp-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.sp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.sp-modal-header h3 {
    margin: 0;
    font-size: 16px;
}

.sp-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.sp-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
}

.sp-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 16px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.sp-section-title:first-child {
    margin-top: 0;
}

.sp-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    gap: 12px;
}

.sp-label {
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 120px;
}

.sp-val {
    color: var(--text);
    text-align: right;
    word-break: break-word;
}

.startup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.startup-grid .startup-carousel-card {
    width: 100% !important;
    max-width: none !important;
}

/* Premium Investor Subtabs Styling (Glassmorphism & Gold Highlight) */
.investor-subtabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.investor-subtabs::-webkit-scrollbar {
    display: none;
}

.subtab-btn {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-muted);
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
    white-space: nowrap;
}

.subtab-btn::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f0d78c);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.subtab-btn:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.subtab-btn.active {
    color: var(--accent) !important;
    font-weight: 700;
}

.subtab-btn.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ==========================================================================
   4. 投資家検索タブ用テーブルスタイル (VC Table)
   ========================================================================== */
.vc-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.vc-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: left;
}
.vc-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}
.vc-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: top !important;
}
.vc-table-row {
    transition: background 0.2s;
}
.vc-table-row:hover {
    background: rgba(255, 255, 255, 0.04);
}
.vc-table-row.clickable-row {
    cursor: pointer;
}
.vc-table-row.clickable-row:hover {
    background: rgba(255, 255, 255, 0.06);
}
.col-company { width: 25%; min-width: 200px; }
.col-stage { width: 15%; min-width: 120px; }
.col-tags { width: 25%; min-width: 180px; }
.col-desc { width: 35%; min-width: 280px; }

/* 適合度バッジ */
.score-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    position: relative;
    cursor: help;
}

/* モバイルレスポンシブ対応 */
@media (max-width: 768px) {
    .vc-table-wrapper {
        border: none;
        background: transparent;
        backdrop-filter: none;
        overflow-x: visible;
        padding: 0;
    }
    .vc-table, .vc-table tbody, .vc-table tr, .vc-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .vc-table thead {
        display: none;
    }
    .vc-table tr.vc-table-row {
        margin-bottom: 16px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 16px;
    }
    .vc-table td {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
        text-align: left;
    }
    .vc-table td:last-child {
        border-bottom: none;
    }
    .vc-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        margin-bottom: 4px;
        letter-spacing: 0.05em;
    }
    .col-company, .col-stage, .col-tags, .col-desc {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* ==========================================================================
   Merged from mypage-responsive.css (Refactored)
   ========================================================================== */

/* ==========================================================================
   起業家マイページ 専用レスポンシブスタイル集約 (mypage-responsive.css)
   ========================================================================== */

/* ==========================================================================
   1. Breakpoint: 1024px (デスクトップ ➡ 小さめの画面)
   ========================================================================== */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: 260px 1fr;
    }

    .col-messages {
        grid-column: 1 / -1;
    }
}


/* ==========================================================================
   2. Breakpoint: 768px (タブレット ➡ 横長スマホ)
   ========================================================================== */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .col-messages {
        position: static;
        max-height: none;
    }

    .settings-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 16px;
        gap: 16px;
    }

    /* プロフィールカード */
    .profile-card {
        position: static;
        padding: 16px;
    }

    .profile-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .profile-name {
        font-size: 16px;
    }

    .profile-company {
        font-size: 12px;
    }

    /* イベントカード & セクション */
    .event-card {
        padding: 14px;
    }

    .event-card-title {
        font-size: 15px;
    }

    .event-card-meta span {
        font-size: 11px;
    }

    .cat-option {
        padding: 10px;
        font-size: 12px;
    }

    /* 面談 / リアクションカード */
    .meeting-card {
        padding: 14px;
    }

    .meeting-card .name {
        font-size: 14px;
    }

    .meeting-card .company {
        font-size: 11px;
    }

    /* チャット / メッセージ入力欄のiOSズーム防止 */
    .chat-input {
        font-size: 16px;
    }

    .chat-send-btn {
        width: 36px;
        height: 36px;
    }

    /* Responsive modal styles removed */

/* 投資家向け情報 サブタブ */
    .investor-subtabs {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 4px;
    }
    
    .subtab-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}


/* ==========================================================================
   3. Breakpoint: 600px (スマートフォン)
   ========================================================================== */
@media (max-width: 600px) {
    /* プレビューモーダル */
    .mpv-modal {
        width: 96%;
        max-height: 85vh;
        border-radius: 16px;
    }
    
    .mpv-content {
        padding: 20px 16px 32px;
    }
    
    .mpv-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mpv-company {
        font-size: 18px;
    }
    
    .mpv-trigger-btn {
        position: static;
        margin-top: 8px;
    }

    /* 起業家プロフィール フォーム */
    .speaker-edit-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .speaker-info-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   4. Breakpoint: 480px (小さめのスマートフォン)
   ========================================================================== */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 14px;
    }

    .nav-brand {
        font-size: 13px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-link {
        font-size: 11px;
    }

    .main {
        padding: 32px 12px 40px;
    }

    .page-title {
        font-size: 18px;
    }

    /* プロフィール */
    .profile-card {
        padding: 12px;
    }

    .profile-name {
        font-size: 14px;
    }

    .profile-company,
    .profile-title-text {
        font-size: 11px;
    }

    /* イベント / ピッチ申請 */
    .event-card {
        padding: 12px;
    }

    .event-card-title {
        font-size: 13px;
    }

    .event-card-meta span {
        font-size: 10px;
    }

    .pitch-app-section {
        padding: 12px;
    }

    .btn-pitch-entry {
        font-size: 12px;
        padding: 10px 20px;
    }

    .section-header {
        font-size: 13px;
    }
}


/* ==========================================================================
   5. Breakpoint: 375px (極小スマートフォン)
   ========================================================================== */
@media (max-width: 375px) {
    .main {
        padding: 32px 8px 40px;
    }
}


