/* =========================================================
   STAYNSTAY PLACE DETAIL & REGIONAL HUB STYLES (SEO OPTIMIZED)
   ========================================================= */

.place-page-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 768px) {
    .place-page-container {
        padding: 16px 14px 100px;
    }
}

/* Breadcrumbs */
.place-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.place-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.place-breadcrumbs a:hover {
    color: #0f172a;
    text-decoration: underline;
}

.place-breadcrumbs span.sep {
    color: #cbd5e1;
    font-size: 11px;
}

.place-breadcrumbs span.current {
    color: #0f172a;
    font-weight: 600;
}

/* Google AdSense Banners (Slim Horizontal) */
.place-ad-slot {
    width: 100%;
    margin: 14px 0;
    background: #e2e8f0; /* 주변 배경(#F8FAFC, 카드 #FFFFFF) 대비 약 10% 어두운 톤 */
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 6px 10px;
    text-align: center;
    overflow: hidden;
    min-height: 55px;
    max-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.place-ad-label {
    font-size: 10px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}

.place-ad-slot ins.adsbygoogle {
    display: block;
    width: 100%;
    height: 90px;
    max-height: 90px;
}

@media (max-width: 640px) {
    .place-ad-slot {
        margin: 8px 0;
        padding: 4px 6px;
        min-height: 45px;
        max-height: 75px;
        border-radius: 8px;
    }
    .place-ad-slot ins.adsbygoogle {
        height: 50px;
        max-height: 50px;
    }
}

/* Hero Verification Header & Integrated Card */
.place-hero-header,
.place-hero-integrated-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 28px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.place-hero-top {
    margin-bottom: 16px;
}

.place-facts-section {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.place-facts-sub-title {
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.place-status-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.place-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    letter-spacing: -0.2px;
}

.place-badge.status-open {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.place-badge.status-open .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.place-badge.status-closed {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.place-badge.status-closed .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
}

.place-badge.type-F {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

.place-badge.type-H {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.place-badge.type-R {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.place-badge.badge-verified {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    margin-left: auto;
}

.place-title-h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.place-title-en {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 16px;
}

.place-gov-id-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    color: #475569;
}

.place-gov-id-box strong {
    color: #0f172a;
    font-family: monospace;
    font-size: 13px;
}

/* Fact Sheet Card */
.place-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.place-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.place-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (max-width: 640px) {
    .place-facts-grid {
        grid-template-columns: 1fr;
    }
}

.place-fact-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #f1f5f9;
}

.place-fact-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 6px;
}

.place-fact-value {
    font-size: 15px;
    color: #0f172a;
    font-weight: 700;
    word-break: keep-all;
}

/* Compact 4-Column Layout for Unified Hero Card */
.place-facts-grid.compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 1024px) {
    .place-facts-grid.compact {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .place-facts-grid.compact {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.place-facts-grid.compact .place-fact-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #f1f5f9;
}

.place-facts-grid.compact .place-fact-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 4px;
}

.place-facts-grid.compact .place-fact-value {
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 700;
    word-break: keep-all;
    line-height: 1.35;
}

/* Location Intelligence Card */
.place-loc-intel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

/* Radius Selector Bar (PRO vs Free) */
.place-radius-selector-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 16px;
    margin-bottom: 14px;
}

.radius-selector-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.radius-selector-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.radius-free-hint {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: -0.2px;
}

.radius-pro-badge {
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: -0.2px;
}

.radius-selector-live-stats {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.2px;
}

.radius-selector-live-stats .stat-count-f {
    color: #e11d48;
    font-weight: 800;
}

.radius-selector-live-stats .stat-count-h {
    color: #2563eb;
    font-weight: 800;
}

.radius-selector-live-stats .stat-count-r {
    color: #10b981;
    font-weight: 800;
}

.radius-pill-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-radius-pill {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
    user-select: none;
}

.btn-radius-pill:hover:not(.is-locked) {
    color: #0f172a;
    background: #e2e8f0;
}

.btn-radius-pill.active {
    background: #FF385C; /* Airbnb Brand Coral */
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.35);
}

.btn-radius-pill.is-locked {
    color: #94a3b8;
    background: transparent;
    cursor: pointer;
}

.btn-radius-pill.is-locked:hover {
    color: #e11d48;
    background: #fee2e2;
}

.btn-radius-pill .lock-icon {
    display: inline-block;
    vertical-align: middle;
}

.place-mini-map-wrap {
    position: relative;
    width: 100%;
    height: 340px;
    min-height: 260px;
    max-height: 750px;
    border-radius: 16px;
    overflow: visible; /* Allow handle button to overlap bottom border line */
    border: 1px solid #e2e8f0;
    margin-bottom: 26px;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
}

.place-mini-map-wrap.is-resizing {
    transition: none !important;
}

.place-mini-map-wrap.is-resizing #place-mini-map {
    pointer-events: none; /* Prevent map canvas from swallowing drag pointer */
}

#place-mini-map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom; /* Allow vertical touch scrolling past map on mobile */
}

/* Chrome DevTools Style Drag Resize Splitter Handle */
.map-resize-handle {
    position: absolute;
    bottom: -6px; /* Exactly centered on bottom border line */
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ns-resize;
    user-select: none;
    z-index: 1000;
}

/* Invisible hit area for easy grabbing */
.map-resize-handle::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -12px;
    left: -15px;
    right: -15px;
    cursor: ns-resize;
}

.chrome-grip-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.chrome-grip-lines span {
    display: block;
    width: 26px;
    height: 2px;
    background: #94a3b8; /* Chrome DevTools splitter grip gray */
    border-radius: 1px;
    transition: background 0.15s ease, transform 0.15s ease;
}

.map-resize-handle:hover .chrome-grip-lines span,
.place-mini-map-wrap.is-resizing .map-resize-handle .chrome-grip-lines span {
    background: #1e293b; /* Dark charcoal on hover/drag */
}

.place-intel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .place-intel-grid {
        grid-template-columns: 1fr;
    }
}

.place-intel-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 16px 18px;
}

.place-intel-box-title {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.place-intel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.place-intel-list li {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.place-intel-list li strong {
    color: #0f172a;
    font-weight: 700;
}

.subway-line-tag {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: -0.2px;
}

.density-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.density-badge.level-low {
    background: #ecfdf5;
    color: #059669;
}

.density-badge.level-med {
    background: #eff6ff;
    color: #2563eb;
}

.density-badge.level-high {
    background: #fef2f2;
    color: #dc2626;
}

.place-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.btn-place-action {
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-place-action:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.btn-place-action.primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.btn-place-action.primary:hover {
    background: #1e293b;
}

/* Freemium PRO Revenue Simulator Teaser */
.place-revenue-teaser-card {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 32px;
    color: #ffffff;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.3);
}

.revenue-teaser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.revenue-teaser-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.revenue-crown-pill {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.revenue-blur-body {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.revenue-blur-content {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .revenue-blur-content {
        grid-template-columns: 1fr;
    }
}

.revenue-blur-metric {
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.revenue-blur-metric .label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.revenue-blur-metric .val {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.revenue-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 20px;
}

.revenue-lock-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
}

.revenue-lock-text {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    max-width: 400px;
}

.revenue-lock-subtext {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: -4px;
}

.btn-revenue-pro {
    background: #fbbf24;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
    transition: all 0.2s;
    margin-top: 6px;
}

.btn-revenue-pro:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

/* Nearby Lodgings Grid (Internal Linking) */
.place-nearby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 840px) {
    .place-nearby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .place-nearby-grid {
        grid-template-columns: 1fr;
    }
}

.place-nearby-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s;
}

.place-nearby-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.place-nearby-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.place-nearby-addr {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.place-nearby-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Public Data EEAT Footer */
.place-eeat-footer {
    text-align: center;
    padding: 24px 16px 0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.6;
}

.place-eeat-footer a {
    color: #64748b;
    text-decoration: underline;
}

/* Regional Hub View Styles */
.region-hub-header {
    background: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 24px;
}

.region-hub-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.region-hub-subtitle {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.region-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .region-stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.region-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
}

.region-stat-card .label {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.region-stat-card .num {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.region-table-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Surrounding Competitor Airbnb Radar (PRO Exclusive Section)
   ========================================================================== */
.place-competitor-pro-card {
    position: relative;
    background: linear-gradient(135deg, #0b1329 0%, #172554 50%, #0f172a 100%);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 24px;
    padding: 32px;
    color: #ffffff;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(251, 191, 36, 0.15);
}

.competitor-radar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.competitor-crown-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.competitor-radar-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.competitor-radar-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
}

.competitor-radar-desc strong {
    color: #38bdf8;
}

.competitor-radar-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.competitor-radar-stat-box .stat-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.competitor-radar-stat-box .stat-val {
    font-size: 14px;
    font-weight: 800;
    margin-top: 2px;
}

.competitor-radar-body {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
}

.competitor-radar-body.is-locked .competitor-table-wrap {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.55;
    max-height: 280px;
    overflow: hidden;
}

.competitor-table-wrap {
    width: 100%;
    overflow-x: auto;
    transition: filter 0.3s ease;
}

.competitor-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

.competitor-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    font-weight: 700;
    font-size: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.competitor-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    vertical-align: middle;
}

.competitor-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.col-rank {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.rank-badge.top-rank {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.rank-dist {
    font-size: 12px;
    color: #38bdf8;
    font-weight: 700;
}

.comp-name-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.comp-name-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.comp-name-teaser {
    color: #cbd5e1;
    font-weight: 600;
}

.comp-name-masked {
    color: #64748b;
    font-family: monospace;
    font-size: 12px;
}

.comp-type-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.comp-type-pill.type-F { background: rgba(225, 29, 72, 0.15); color: #f43f5e; }
.comp-type-pill.type-H { background: rgba(37, 99, 235, 0.15); color: #60a5fa; }
.comp-type-pill.type-R { background: rgba(22, 163, 74, 0.15); color: #4ade80; }

.comp-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
}

.comp-status-pill.open {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.comp-status-pill.closed {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.col-metric {
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 13px;
    color: #cbd5e1;
}

.col-metric.font-bold {
    font-weight: 800;
    color: #fbbf24;
}

.btn-comp-action {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-comp-action:hover {
    background: #38bdf8;
    color: #0f172a;
}

.btn-comp-lock-btn {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-comp-lock-btn:hover {
    background: #fbbf24;
    color: #0f172a;
}

/* Lock Overlay */
.competitor-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 19, 41, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    z-index: 10;
}

.competitor-lock-overlay .lock-pill {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.competitor-lock-overlay .lock-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.competitor-lock-overlay .lock-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 16px 0;
    max-width: 520px;
}

.competitor-lock-overlay .lock-perks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 600;
}

.competitor-lock-overlay .lock-perks span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-unlock-competitors {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px -2px rgba(245, 158, 11, 0.4);
    transition: all 0.2s ease;
}

.btn-unlock-competitors:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -2px rgba(245, 158, 11, 0.5);
}

.competitor-pro-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: #94a3b8;
}

/* Prominent highlight button for quick actions */
.btn-place-action.pro-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #0f172a;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-place-action.pro-highlight:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-view-competitors-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #d97706;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-view-competitors-badge:hover {
    background: #d97706;
    color: #ffffff;
}

/* AI BigData Narrative Analysis Card (SEO & Editorial Quality) */
.place-narrative-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.04);
}

.place-narrative-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.place-narrative-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.place-narrative-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    letter-spacing: -0.3px;
}

.place-narrative-badge {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    color: #2563eb;
    background: #e0e7ff;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.place-narrative-body {
    line-height: 1.85;
}

.place-narrative-text {
    font-size: 14.5px;
    color: #334155;
    margin: 0;
    word-break: keep-all;
    line-height: 1.85;
}

.place-narrative-text strong {
    color: #0f172a;
    font-weight: 700;
}


