/* Base Layout */
.sd-main-layout {
    display: flex;
    max-width: 1400px;
    margin: 80px auto 40px;
    padding: 0 24px;
    gap: 32px;
    position: relative;
    z-index: 2;
    align-items: flex-start; /* For sticky sidebar */
}

/* Sidebar Navigation */
.sd-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-back-link {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    opacity: 0.8;
}

.vc-back-link:hover {
    color: var(--accent);
    opacity: 1;
}

.sd-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding-left: 16px;
}

.sd-nav-link {
    color: var(--fg-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.2s;
    position: relative;
}

.sd-nav-link:hover {
    color: var(--fg-default);
}

.sd-nav-link.active {
    color: var(--accent);
    font-weight: 700;
}

.sd-nav-link.active::before {
    content: '';
    position: absolute;
    left: -18px; /* Match internal padding + border width */
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Main Content Area */
.sd-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sd-density-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sd-hidden {
    display: none;
}

.sd-modal-overlay.sd-hidden {
    display: none;
}

/* Shared Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 16px 20px;
    scroll-margin-top: 80px; /* Offset for sticky nav scrolling */
}

/* Hero Section */
.sd-hero-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sd-hero-top {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* ------------------- */
/* Crunchbase Hero UI */
/* ------------------- */
.cb-style-hero {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.4); /* Flat dark base instead of heavy glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.cb-hero-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cb-hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative; /* For absolute flag overlay */
}

.cb-hero-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%; /* Make it circular for face photos */
    background: rgba(255, 255, 255, 0.05); /* Subtle background instead of stark white */
    border: 2px solid rgba(255, 255, 255, 0.1); /* Slightly thicker border for portrait style */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cb-hero-country-flag {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    background: #1a1a1a;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.startup-photo, .startup-photo-initial {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Important: prevents stretching of face photos */
}

.cb-hero-logo .startup-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.startup-photo-initial {
    background: linear-gradient(135deg, var(--accent), #8c6a21);
    color: #fff;
    font-size: 44px;
    font-weight: bold;
}

.cb-hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cb-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 4px;
}

.cb-company-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.sd-hero-founder-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sd-hero-position {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    opacity: 0.9;
}
.sd-hero-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.cb-hero-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cb-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.cb-elevator-pitch {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75); /* A bit softer white */
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cb-meta-row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 6px;
    margin-bottom: 12px;
}

.cb-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 0;
}

.cb-meta-item.empty {
    opacity: 0.8;
    background: rgba(255, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px dashed rgba(255, 0, 0, 0.2);
}

.cb-meta-item svg {
    width: 13px;
    height: 13px;
    color: rgba(212, 168, 74, 0.8); /* VPO Gold for a touch of color */
}

.cb-url a {
    color: #5C9DFF; /* Soft Blue link */
    text-decoration: none;
}

.cb-url a:hover {
    text-decoration: underline;
}

.cb-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cb-tags-row .vc-tag.category-tag {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(212, 168, 74, 0.15); /* VPO Gold */
    color: #d4a84a;
    border: 1px solid rgba(212, 168, 74, 0.2);
}

.cb-tags-row .vc-tag.badge-tag {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px; 
    background: rgba(59, 130, 246, 0.1); 
    color: #93c5fd; 
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Hero Meta */
.sd-hero-meta {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    font-size: 11px;
    color: var(--fg-muted);
}

/* Content Sections */
.sd-content-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-section-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sd-section-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-sub-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
    letter-spacing: 0.03em;
}

.sd-text {
    color: rgba(255, 255, 255, 0.6); /* Lighter white */
    line-height: 1.55;
    font-size: 12px;
    font-weight: 400;
    white-space: pre-wrap;
    letter-spacing: 0.03em;
}

/* Team Founder */
.sd-founder-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#sdFounderPhotoPreview img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.sd-founder-pos {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.sd-founder-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

/* Property Tables */
.sd-prop-table {
    display: flex;
    flex-direction: column;
}

.sd-prop-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sd-prop-row:last-child {
    border-bottom: none;
}

.sd-prop-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--fg-muted);
}

.sd-prop-val {
    font-size: 12.5px; /* Reduced from 14.5px */
    color: rgba(255, 255, 255, 0.65); /* Lighter white */
    line-height: 1.5;
}

/* PR / News */
.sd-pr-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sd-pr-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.sd-pr-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 74, 0.3);
    transform: translateY(-2px);
}

.sd-pr-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 74, 0.1);
    border-radius: 50%;
    color: var(--accent);
}

.sd-pr-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sd-pr-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    transition: color 0.2s;
}

.sd-pr-item:hover .sd-pr-title {
    color: var(--accent);
}

.sd-pr-meta {
    font-size: 12px;
    color: var(--fg-muted);
}

/* History / News */
.sd-history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-pitch-card {
    display: flex;
    gap: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s;
    align-items: center;
}

.sd-pitch-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 168, 74, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.sd-pitch-thumb {
    width: 200px;
    height: 112px;
    border-radius: 8px;
    object-fit: cover;
    background: #111;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.sd-pitch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sd-pitch-vol {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    display: inline-block;
    padding: 4px 10px;
    background: rgba(212, 168, 74, 0.1);
    border-radius: 4px;
    align-self: flex-start;
}

.sd-pitch-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    transition: color 0.2s;
}

.sd-pitch-card:hover .sd-pitch-title {
    color: var(--accent);
}

.sd-pitch-date {
    font-size: 13px;
    color: var(--fg-muted);
}

/* Utils */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.sd-loading-container, .sd-error-container {
    padding: 64px 0;
    text-align: center;
}

.sd-loading-text {
    margin-top: 16px;
    color: var(--fg-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sd-main-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .sd-sidebar {
        width: 100%;
        position: static;
        top: auto;
    }
    
    .sd-nav-links {
        flex-direction: row;
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* acts as horizontal tabs on mobile */
        padding-bottom: 8px;
        overflow-x: auto;
    }
    
    .sd-nav-link {
        white-space: nowrap;
        padding: 8px 16px;
    }
    
    .sd-nav-link.active::before {
        left: 0;
        top: auto;
        bottom: -8px;
        width: 100%;
        height: 2px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .sd-main-layout {
        padding: 0 16px;
        margin-top: 80px; /* Reduced to avoid huge top gap */
        gap: 16px; /* Tighter layout */
    }
    
    .glass-panel {
        padding: 20px 16px; /* Slightly tighter border padding */
    }
    
    .sd-content,
    .sd-density-layout {
        gap: 24px; /* Reduced gap between blocks */
    }
    
    .sd-hero-section,
    .sd-content-section {
        gap: 20px; /* Reduced vertical space between hero items and title/content */
    }
    
    .sd-section-title {
        font-size: 18px; /* Slightly smaller for mobile */
        padding-bottom: 12px;
    }
    
    .cb-hero-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .cb-hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .cb-hero-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .cb-company-name {
        font-size: 22px;
        margin-bottom: 4px;
    }
    
    .cb-hero-actions {
        width: 100%;
    }
    
    .cb-action-btn {
        width: 100%;
    }
    
    .cb-elevator-pitch {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .cb-meta-row {
        justify-content: center;
        column-gap: 16px;
        row-gap: 8px;
    }
    
    .cb-tags-row {
        justify-content: center;
    }
    
    .sd-prop-row {
        grid-template-columns: 1fr;
        gap: 4px; /* Tighter properties */
        padding: 10px 0;
    }
    
    .sd-pitch-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .sd-pitch-thumb {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }
    
    .sd-founder-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }
    
}

/* 内部のコンポーネントをぼかす（オーバーレイ自体はぼかさない） */
.sd-guest-gate-wrapper > *:not(.sd-guest-gate-overlay) {
    filter: blur(12px);
    opacity: 0.5;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.sd-guest-gate-overlay {
    position: absolute;
    top: 0;
    background: rgba(212, 168, 74, 0.1);
    border-radius: 4px;
    align-self: flex-start;
}

/* History / News */
.sd-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sd-pitch-card {
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all 0.2s;
    align-items: center;
}

.sd-pitch-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 168, 74, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.sd-pitch-thumb {
    width: 160px;
    height: 90px;
    border-radius: 6px;
    object-fit: cover;
    background: #111;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.sd-pitch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sd-pitch-vol {
    font-size: 10px;
    color: var(--accent);
    font-weight: 700;
    display: inline-block;
    padding: 3px 8px;
    background: rgba(212, 168, 74, 0.1);
    border-radius: 4px;
    align-self: flex-start;
}

.sd-pitch-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    transition: color 0.2s;
}

.sd-pitch-card:hover .sd-pitch-title {
    color: var(--accent);
}

.sd-pitch-date {
    font-size: 11px;
    color: var(--fg-muted);
}

/* Utils */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.sd-loading-container, .sd-error-container {
    padding: 64px 0;
    text-align: center;
}

.sd-loading-text {
    margin-top: 16px;
    color: var(--fg-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sd-main-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .sd-sidebar {
        width: 100%;
        position: static;
        top: auto;
    }
    
    .sd-nav-links {
        flex-direction: row;
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* acts as horizontal tabs on mobile */
        padding-bottom: 8px;
        overflow-x: auto;
    }
    
    .sd-nav-link {
        white-space: nowrap;
        padding: 8px 16px;
    }
    
    .sd-nav-link.active::before {
        left: 0;
        top: auto;
        bottom: -8px;
        width: 100%;
        height: 2px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .sd-main-layout {
        padding: 0 16px;
        margin-top: 80px; /* Reduced to avoid huge top gap */
        gap: 16px; /* Tighter layout */
    }
    
    .glass-panel {
        padding: 20px 16px; /* Slightly tighter border padding */
    }
    
    .sd-content,
    .sd-density-layout {
        gap: 24px; /* Reduced gap between blocks */
    }
    
    .sd-hero-section,
    .sd-content-section {
        gap: 20px; /* Reduced vertical space between hero items and title/content */
    }
    
    .sd-section-title {
        font-size: 14px; /* Slightly smaller for mobile */
        padding-bottom: 8px;
    }
    
    .cb-hero-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .cb-hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .cb-hero-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .cb-company-name {
        font-size: 19px;
        margin-bottom: 4px;
    }
    
    .cb-hero-actions {
        width: 100%;
    }
    
    .cb-action-btn {
        width: 100%;
    }
    
    .cb-elevator-pitch {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .cb-meta-row {
        justify-content: center;
        column-gap: 16px;
        row-gap: 8px;
    }
    
    .cb-tags-row {
        justify-content: center;
    }
    
    .sd-prop-row {
        grid-template-columns: 1fr;
        gap: 4px; /* Tighter properties */
        padding: 10px 0;
    }
    
    .sd-pitch-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .sd-pitch-thumb {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }
    
    .sd-founder-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }
    
}

/* 内部のコンポーネントをぼかす（オーバーレイ自体はぼかさない） */
.sd-guest-gate-wrapper > *:not(.sd-guest-gate-overlay) {
    filter: blur(12px);
    opacity: 0.5;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.sd-guest-gate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
    pointer-events: none; /* Let clicks pass through except on the modal */
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    transition: color 0.2s;
}

.sd-pitch-card:hover .sd-pitch-title {
    color: var(--accent);
}

.sd-pitch-date {
    font-size: 13px;
    color: var(--fg-muted);
}

/* Utils */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.sd-loading-container, .sd-error-container {
    padding: 64px 0;
    text-align: center;
}

.sd-loading-text {
    margin-top: 16px;
    color: var(--fg-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sd-main-layout {
        flex-direction: column;
        gap: 24px;
    }
    
    .sd-sidebar {
        width: 100%;
        position: static;
        top: auto;
    }
    
    .sd-nav-links {
        flex-direction: row;
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* acts as horizontal tabs on mobile */
        padding-bottom: 8px;
        overflow-x: auto;
    }
    
    .sd-nav-link {
        white-space: nowrap;
        padding: 8px 16px;
    }
    
    .sd-nav-link.active::before {
        left: 0;
        top: auto;
        bottom: -8px;
        width: 100%;
        height: 2px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .sd-main-layout {
        padding: 0 16px;
        margin-top: 80px; /* Reduced to avoid huge top gap */
        gap: 16px; /* Tighter layout */
    }
    
    .glass-panel {
        padding: 20px 16px; /* Slightly tighter border padding */
    }
    
    .sd-content,
    .sd-density-layout {
        gap: 24px; /* Reduced gap between blocks */
    }
    
    .sd-hero-section,
    .sd-content-section {
        gap: 20px; /* Reduced vertical space between hero items and title/content */
    }
    
    .sd-section-title {
        font-size: 18px; /* Slightly smaller for mobile */
        padding-bottom: 12px;
    }
    
    .cb-hero-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .cb-style-hero {
        padding: 24px 16px;
    }
    
    .cb-hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .cb-hero-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .cb-company-name {
        font-size: 22px;
        margin-bottom: 4px;
    }
    
    .cb-hero-actions {
        width: 100%;
    }
    
    .cb-action-btn {
        width: 100%;
    }
    
    .cb-elevator-pitch {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .cb-meta-row {
        justify-content: center;
        column-gap: 16px;
        row-gap: 8px;
    }
    
    .cb-tags-row {
        justify-content: center;
    }
    
    .sd-prop-row {
        grid-template-columns: 1fr;
        gap: 4px; /* Tighter properties */
        padding: 10px 0;
    }
    
    .sd-pitch-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .sd-pitch-thumb {
        width: 100%;
        aspect-ratio: 16/9;
        height: auto;
    }
    
    .sd-founder-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }
    
}

/* 内部のコンポーネントをぼかす（オーバーレイ自体はぼかさない） */
.sd-guest-gate-wrapper {
    position: relative;
    width: 100%;
}

.sd-guest-gate-wrapper > *:not(.sd-guest-gate-overlay) {
    filter: blur(12px);
    opacity: 0.5;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.sd-guest-gate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
    pointer-events: none; /* Let clicks pass through except on the modal */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ========================================================================= */
/* Offer Modal Styles */
/* ========================================================================= */
.sd-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.sd-modal-content {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.sd-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
    color: var(--fg-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.sd-modal-close:hover {
    color: #fff;
}

.sd-modal-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.sd-modal-desc {
    font-size: 11px;
    color: var(--fg-muted);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.offer-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offer-modal-btn {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s;
}

.offer-modal-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.offer-modal-btn:disabled {
    cursor: not-allowed;
    opacity: 0.9;  /* Don't fade out completely so it's readable */
    background: rgba(255, 255, 255, 0.02);
    -webkit-text-fill-color: initial;
    color: inherit;
}

.offer-btn-title {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.offer-btn-title svg {
    flex-shrink: 0;
}

#btnRequestInfo .offer-btn-title {
    color: var(--accent);
}

.offer-btn-desc {
    font-size: 10px;
    color: var(--fg-muted);
    margin-top: 6px;
    font-weight: 400;
    line-height: 1.5;
}

.offer-modal-acc {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.offer-modal-acc .toggle-btn {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid transparent;
}

.offer-modal-acc:focus-within .toggle-btn,
.offer-modal-acc:hover .toggle-btn {
    background: rgba(255, 255, 255, 0.05); /* slightly lighter on hover of wrapper */
}

.offer-modal-form {
    padding: 0 16px 16px 16px;
}

.offer-modal-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 4px;
    min-height: 80px;
    resize: vertical;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    display: block;
    box-sizing: border-box;
}

.offer-modal-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* ========================================= */
/* 統合モーダル: チェックリスト & セクション  */
/* ========================================= */

/* セクション区切り */
.sd-offer-section {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 0 10px;
}

/* セクションラベル */
.sd-offer-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

/* チェックボックスリスト全体 */
.sd-check-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 各チェックボックスアイテム */
.sd-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}

.sd-check-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sd-check-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.sd-check-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    transition: color 0.15s;
}

.sd-check-item:has(input:checked) .sd-check-label {
    color: #fff;
    font-weight: 600;
}

/* テキストエリア */
.sd-offer-textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 6px;
    min-height: 68px;
    resize: vertical;
    font-family: inherit;
    font-size: 13px;
    display: block;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.sd-offer-textarea:focus {
    outline: none;
    border-color: rgba(212, 168, 74, 0.5);
}

.sd-offer-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* ========================================== */
/* Tabs & Sidebar Search Upgrades */
/* ========================================== */

/* Vertical layout (No tabs) */
.sd-hero-section,
.sd-content-section {
    display: flex !important;
    flex-direction: column;
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

.sd-hero-section.sd-hidden,
.sd-content-section.sd-hidden {
    display: none !important;
}

/* Tabs Container */
.sd-tabs-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sd-tabs {
    display: flex;
    gap: 6px;
}

.sd-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--fg-muted);
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    outline: none;
}

.sd-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.sd-tab-btn.active {
    background: rgba(212, 168, 74, 0.12);
    color: var(--accent);
    border: 1px solid rgba(212, 168, 74, 0.3);
    box-shadow: 0 4px 20px rgba(212, 168, 74, 0.08);
}

/* Sidebar Search */
.sd-sidebar-search {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: 12px;
}

.sd-sidebar-search-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sd-sidebar-search .filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sd-sidebar-search .filter-group label {
    font-size: 11px;
    color: var(--fg-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sd-sidebar-search .vc-input,
.sd-sidebar-search .vc-select {
    width: 100%;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    color: #fff !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    transition: all 0.2s ease;
}

.sd-sidebar-search .vc-input:focus,
.sd-sidebar-search .vc-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 8px rgba(212, 168, 74, 0.25) !important;
    outline: none;
}

.sd-sidebar-search .p-btn-primary {
    width: 100%;
    background: var(--accent) !important;
    color: #111 !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 11px !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(212, 168, 74, 0.15);
}

.sd-sidebar-search .p-btn-primary:hover {
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

/* Needs & Challenges Styles */
.sd-challenge-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.sd-challenge-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 74, 0.2);
}

.sd-hiring-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    transition: all 0.2s ease;
}

.sd-hiring-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.35);
}
