
/* ==========================================================================
   Section: modal_ui.css | Lines 906 to 1437
   ========================================================================== */
/* ===== Detail Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(160deg, #1a2540, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-card::-webkit-scrollbar {
    width: 6px;
}
.modal-card::-webkit-scrollbar-track {
    background: transparent;
}
.modal-card::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--surface-400);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.modal-header {
    padding: 40px 36px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-complex-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 21px;
    color: var(--surface-100);
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-body {
    padding: 28px 36px 36px;
}

/* Modal price hero */
.modal-price-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(212, 160, 35, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    margin-bottom: 28px;
}

.modal-price-label {
    font-size: 14px;
    color: var(--surface-400);
    font-weight: 500;
}

.modal-price-value {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, var(--accent-300));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modal info grid */
.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.modal-info-label {
    font-size: 12px;
    color: var(--surface-500);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.modal-info-value {
    font-size: 17px;
    color: #ffffff;
    font-weight: 700;
}

/* Modal options */
.modal-options {
    margin-bottom: 24px;
}

.modal-options-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--surface-300);
    margin-bottom: 12px;
}

.modal-options-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: #6ee7b7;
    font-weight: 500;
}

/* Modal price breakdown */
.modal-price-breakdown {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 28px;
}

.breakdown-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--surface-300);
    margin-bottom: 16px;
}

.breakdown-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.breakdown-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.breakdown-label {
    font-size: 14px;
    color: var(--surface-400);
}

.breakdown-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.breakdown-value.highlight {
    color: var(--accent-400);
    font-size: 18px;
}

/* Modal loan notice */
.modal-loan-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(212, 160, 35, 0.08);
    border: 1px solid rgba(212, 160, 35, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--accent-400);
}

.modal-loan-notice strong {
    font-weight: 700;
}

/* Modal CTA */
.modal-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
    color: var(--primary-900);
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(212, 160, 35, 0.3);
    margin-bottom: 12px;
}

.modal-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(212, 160, 35, 0.4);
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cta-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 1px;
}

.cta-number {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.modal-broker-note {
    text-align: center;
    font-size: 13px;
    color: var(--surface-500);
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .modal-card {
        max-height: 85vh;
        border-radius: 24px 24px 12px 12px;
    }

    .modal-header {
        padding: 32px 24px 20px;
    }

    .modal-body {
        padding: 20px 24px 28px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-price-value {
        font-size: 26px;
    }

    .modal-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-cta {
        font-size: 17px;
        padding: 16px;
    }
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-400), var(--primary-500));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(37, 99, 235, 0.1);
}

.property-card:hover::before {
    opacity: 1;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card complex tag */
.card-complex-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.card-complex-tag.berhill {
    background: rgba(232, 35, 26, 0.12);
    color: #f87171;
    border: 1px solid rgba(232, 35, 26, 0.2);
}

.card-complex-tag.junghung {
    background: rgba(201, 162, 39, 0.12);
    color: var(--accent-400);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.card-complex-tag.first {
    background: rgba(197, 153, 149, 0.15);
    color: #eabfb9;
    border: 1px solid rgba(197, 153, 149, 0.25);
}

.card-complex-tag.granluche {
    background: rgba(30, 58, 138, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(30, 58, 138, 0.4);
}

.card-complex-tag.default {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-400);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Card title */
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Card description - 동/층 | 프리미엄 | 방향 */
.card-desc {
    font-size: 15px;
    color: var(--surface-300);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Card price */
.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-price-label {
    font-size: 14px;
    color: var(--surface-400);
    font-weight: 500;
}

.card-price {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, var(--accent-300));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--surface-500);
    -webkit-text-fill-color: var(--surface-500);
    margin-left: 2px;
}

/* Card inquiry tag */
.card-inquiry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 12px 18px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 12px;
    font-size: 14px;
    color: var(--primary-300);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-inquiry:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

.card-inquiry svg {
    transition: transform 0.3s ease;
}

.property-card:hover .card-inquiry svg {
    transform: translateX(4px);
}

.card-inquiry a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}


/* ==========================================================================
   Section: modal_ui.css | Lines 1917 to 2389
   ========================================================================== */
/* ===== 모달 내 실거래 비교 ===== */
.modal-real-trade {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(74,222,128,0.06), rgba(34,197,94,0.03));
    border: 1px solid rgba(74,222,128,0.15);
    border-radius: 16px;
}

.modal-rt-title {
    font-size: 16px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 14px;
}

.modal-rt-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-rt-table thead tr {
    border-bottom: 1px solid rgba(74,222,128,0.2);
}

.modal-rt-table th {
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--surface-400);
    text-align: center;
}

.modal-rt-table td {
    padding: 9px 6px;
    font-size: 13px;
    color: var(--surface-300);
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.modal-rt-table td.rt-td-price {
    font-weight: 700;
    color: #4ade80;
    text-align: right;
    white-space: nowrap;
}

.modal-rt-summary {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(74,222,128,0.15);
    font-size: 13px;
    color: var(--surface-400);
    text-align: center;
    font-weight: 500;
}

/* ===== 강서구 실거래 신고 섹션 ===== */
.real-trade-section {
    scroll-margin-top: 100px;
    padding: 80px 0 60px;
}

.rt-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
}

.rt-dong-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
}
.rt-dong-filters::-webkit-scrollbar { display: none; }

.rt-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--surface-300);
    margin-right: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rt-dong-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rt-dong-tab:hover {
    color: var(--surface-200);
    background: rgba(255,255,255,0.06);
}

.rt-dong-tab.active {
    color: #fff;
    background: var(--accent-500);
    border-color: var(--accent-400);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(212,160,35,0.3);
}

.rt-filters {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
}

.rt-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rt-tab:hover {
    color: var(--surface-300);
    background: rgba(255,255,255,0.06);
}

.rt-tab.active {
    color: #fff;
    background: #4ade80;
    border-color: #22c55e;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(74,222,128,0.3);
}

.rt-type-filters {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    max-width: 100%;
    min-width: 0;
}
.rt-type-filters::-webkit-scrollbar { display: none; }

.rt-type-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: var(--surface-400);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rt-type-tab:hover {
    color: var(--surface-200);
    background: rgba(255,255,255,0.08);
}

.rt-type-tab.active {
    color: #fff;
    background: var(--primary-500);
    border-color: var(--primary-400);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.rt-table-wrapper {
    border-radius: 16px;
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(12px);
    max-height: 600px;
    overflow-y: auto;
    width: 100%;
}

.rt-table {
    width: 100%;
    border-collapse: collapse;
}

.rt-table thead tr {
    background: linear-gradient(135deg, rgba(74,222,128,0.1), rgba(34,197,94,0.06));
    border-bottom: 1px solid rgba(74,222,128,0.15);
}

.rt-table th {
    padding: 14px 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--surface-300);
    text-align: center;
    letter-spacing: 0.5px;
}

.rt-table td.rt-td-date {
    color: var(--surface-200);
    font-weight: 500;
}

.rt-table td.rt-td-floor {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--surface-100);
}

.rt-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}

.rt-table tbody tr:hover {
    background: rgba(74,222,128,0.04);
}

.rt-month-divider {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(4px);
    font-weight: 600;
    color: var(--accent-400);
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.rt-group-divider {
    background: rgba(37, 99, 235, 0.15);
    font-weight: 700;
    color: #fff;
    text-align: left;
    border-bottom: 2px solid var(--primary-500);
}
.rt-group-divider td {
    padding: 18px 20px !important;
    font-size: 17.5px;
    letter-spacing: 0.5px;
}
.rt-month-divider td {
    padding: 16px 20px !important;
    font-size: 16.5px;
    letter-spacing: 0.5px;
}

.rt-table td {
    padding: 13px 12px;
    font-size: 14px;
    color: var(--surface-400);
    text-align: center;
    vertical-align: middle;
}

.rt-table td.rt-td-apt {
    text-align: left;
    color: var(--surface-200);
    font-weight: 500;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 확장 모드에서 단지명 숨기기 & 글자 크기 키우기 */
.hide-apt-col .rt-th-apt,
.hide-apt-col .rt-td-apt {
    display: none;
}

.hide-apt-col td {
    font-size: 15.5px;
}

.hide-apt-col .rt-price-value {
    font-size: 17px;
}

.rt-table td.rt-td-price {
    text-align: right;
    font-weight: 700;
    color: #4ade80;
    font-size: 14px;
    white-space: nowrap;
}

.rt-table td.rt-td-type {
    font-size: 12.5px;
}

.rt-table td.rt-td-atype {
    text-align: center;
    font-size: 12px;
    color: var(--surface-500);
}

.rt-atype-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(129, 140, 248, 0.1);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.rt-th-atype {
    width: 70px;
}

.rt-td-dong {
    white-space: nowrap;
    font-size: 12px;
    color: var(--surface-400);
    font-weight: 500;
    text-align: center;
}

.rt-th-dong {
    width: 60px;
}

.rt-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.rt-type-badge.sale {
    background: rgba(239,68,68,0.12);
    color: #f87171;
}

.rt-type-badge.presale {
    background: rgba(168,85,247,0.12);
    color: #c084fc;
}

.rt-type-badge.jeonse {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
}

.rt-type-badge.wolse {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}

.rt-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.rt-badges-wrapper {
    display: flex;
    gap: 4px;
}

.rt-direct-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.rt-cancel-badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
}

.rt-high-badge {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.rt-highest-row {
    background: rgba(255, 215, 0, 0.04) !important;
}

.rt-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.rt-more-btn {
    padding: 10px 32px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 12px;
    color: #4ade80;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rt-more-btn:hover {
    background: rgba(74,222,128,0.15);
    border-color: rgba(74,222,128,0.4);
    transform: translateY(-1px);
}

.rt-info {
    font-size: 12px;
    color: var(--surface-600);
}


/* ==========================================================================
   Section: modal_ui.css | Lines 2570 to 2643
   ========================================================================== */
/* ===== 실거래 테이블 모바일 반응형 ===== */
@media (max-width: 768px) {
    .rt-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rt-table {
        min-width: 600px;
    }

    .rt-table th,
    .rt-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .rt-table td.rt-td-apt {
        max-width: 120px;
    }

    .rt-table td.rt-td-price {
        font-size: 13px;
    }

    .rt-dong-tab,
    .rt-type-tab,
    .rt-tab {
        padding: 8px 16px;
        font-size: 15px;
    }

    .rt-controls {
        gap: 8px;
    }

    .real-trade-section {
    scroll-margin-top: 30px;
        padding: 50px 0 40px;
    }
}

@media (max-width: 480px) {
    .rt-table {
        min-width: 520px;
    }

    .rt-table th,
    .rt-table td {
        padding: 8px 4px;
        font-size: 11px;
    }

    .rt-th-atype {
        width: 50px;
    }

    .rt-table td.rt-td-apt {
        max-width: 90px;
        font-size: 11px;
    }

    .rt-table td.rt-td-floor {
        font-size: 13px;
    }

    .rt-dong-tab,
    .rt-type-tab,
    .rt-tab {
        padding: 8px 14px;
        font-size: 14.5px;
    }
}


/* ==========================================================================
   Section: modal_ui.css | Lines 2956 to 3061
   ========================================================================== */
/* ===== 실거래 요약 카드 ===== */
.rt-summary-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}
.rt-summary-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}
.rt-summary-row-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--surface-100);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rt-summary-row-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--accent-500);
    border-radius: 2px;
}
.rt-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rt-stat-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}
.rt-stat-label {
    font-size: 11px;
    color: var(--surface-400);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.rt-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--surface-100);
    line-height: 1.2;
}
.rt-stat-value small {
    font-size: 11px;
    color: var(--surface-400);
    font-weight: 500;
    margin-left: 2px;
}
.rt-stat-sub {
    font-size: 10px;
    color: var(--surface-500);
    margin-top: 4px;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    word-break: keep-all;
    line-height: 1.4;
}
.rt-stat-high .rt-stat-label { color: #ef4444; }
.rt-stat-high .rt-stat-value { color: #fca5a5; }
.rt-stat-low .rt-stat-label { color: #3b82f6; }
.rt-stat-low .rt-stat-value { color: #93c5fd; }
.rt-stat-avg .rt-stat-label { color: var(--accent-400); }
.rt-stat-avg .rt-stat-value { color: var(--accent-300); }
.rt-stat-count .rt-stat-label { color: #4ade80; }
.rt-stat-count .rt-stat-value { color: #86efac; }

@media (max-width: 480px) {
    .rt-summary-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .rt-stat-card { padding: 12px 8px; border-radius: 12px; }
    .rt-stat-value { font-size: 15px; }
    .rt-stat-label { font-size: 10px; }
}

/* ===== 시세 차트 ===== */
.rt-chart-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 20px;
    height: 260px;
}
@media (max-width: 480px) {
    .rt-chart-wrapper { height: 220px; padding: 12px 8px; }
}

/* ===== 신규 거래 알림 ===== */
.rt-new-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212,160,35,0.1), rgba(74,222,128,0.05));
    border: 1px solid rgba(212,160,35,0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    animation: alertPulse 2s ease-in-out infinite;
    white-space: nowrap;
}
.rt-alert-icon { display: flex; align-items: center; flex-shrink: 0; }
.rt-alert-text { font-size: 13px; color: var(--surface-300); }
.rt-alert-text strong { color: var(--accent-400); font-weight: 700; }
.rt-alert-link { text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }
@keyframes alertPulse {
    0%, 100% { border-color: rgba(212,160,35,0.2); }
    50% { border-color: rgba(212,160,35,0.5); }
}


/* ==========================================================================
   Section: modal_ui.css | Lines 3062 to 3384
   ========================================================================== */
/* ===== 가격/평수 검색 바 ===== */
.rt-search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.rt-search-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}
.rt-search-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--surface-300);
    white-space: nowrap;
}
.rt-search-group select {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: var(--surface-200);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    appearance: auto;
}
.rt-search-group select:focus {
    outline: none;
    border-color: var(--accent-400);
    background: rgba(255,255,255,0.1);
}
select option,
.rt-search-group select option {
    background-color: #1e222b;
    color: #ffffff;
}
@media (max-width: 480px) {
    .rt-search-bar { gap: 8px; }
    .rt-search-group { min-width: 120px; }
    .rt-search-group select { font-size: 13px; padding: 8px 12px; }
}

/* ===== 최근 계약 사례 ===== */
.recent-deals-section { padding: 60px 0 40px; }
.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.deal-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.deal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-400), transparent);
}
.deal-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.deal-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.deal-apt {
    font-size: 13px;
    font-weight: 600;
    color: var(--surface-200);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.deal-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-300);
    margin-bottom: 4px;
}
.deal-price small {
    font-size: 11px;
    color: var(--surface-400);
    font-weight: 500;
}
.deal-detail {
    font-size: 11px;
    color: var(--surface-500);
    margin-bottom: 4px;
}
.deal-ago {
    font-size: 11px;
    color: #4ade80;
    font-weight: 600;
}
@media (max-width: 480px) {
    .deals-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .deal-card { padding: 14px 10px; }
    .deal-price { font-size: 16px; }
    .deal-apt { font-size: 11px; }
}

/* ===== 호가 vs 실거래가 비교 ===== */
.price-compare-section { padding: 40px 0 60px; }
.compare-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.compare-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.compare-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-2px);
}
.compare-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--surface-200);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.compare-col { text-align: center; }
.compare-label {
    display: block;
    font-size: 10px;
    color: var(--surface-500);
    margin-bottom: 4px;
}
.compare-price {
    font-size: 16px;
    font-weight: 800;
}
.compare-price.ask { color: #fca5a5; }
.compare-price.trade { color: #93c5fd; }
.compare-vs {
    font-size: 12px;
    font-weight: 800;
    color: var(--surface-500);
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
}
.compare-diff {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}
.compare-diff small {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.7;
    margin-left: 4px;
}
.compare-date {
    font-size: 10px;
    color: var(--surface-500);
}
@media (max-width: 480px) {
    .compare-grid { grid-template-columns: 1fr; }
    .compare-card { padding: 16px; }
    .compare-price { font-size: 14px; }
}

/* ===== 방문자 카운터 배지 ===== */
.visitor-badge {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 16px;
    align-items: center;
    gap: 6px;
    background: rgba(10,15,26,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 8px 14px;
    z-index: 50;
    transition: opacity 0.5s ease;
}
.visitor-icon { font-size: 14px; }
.visitor-text {
    font-size: 11px;
    color: var(--surface-400);
    font-weight: 500;
}

/* ===== kakao톡 플로팅 버튼 ===== */
.floating-kakao {
    position: fixed;
    bottom: 24px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FEE500;
    color: #3C1E1E;
    padding: 12px 18px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(254,229,0,0.3);
    transition: all 0.3s ease;
}
.floating-kakao:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(254,229,0,0.4);
}
.kakao-text { white-space: nowrap; }
@media (max-width: 480px) {
    .floating-kakao { padding: 10px 14px; font-size: 12px; bottom: 20px; left: 16px; }
}

/* ===== 매물 빠른 검색 ===== */
.listing-search-bar {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}
.listing-search-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--surface-200);
    margin-bottom: 14px;
}
.listing-search-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.ls-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 110px;
}
.ls-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--surface-500);
}
.ls-group select {
    padding: 9px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: var(--surface-200);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.ls-group select:focus {
    outline: none;
    border-color: var(--accent-400);
}
.ls-reset-btn {
    padding: 10px 18px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 10px;
    color: #fca5a5;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.ls-reset-btn:hover { background: rgba(239,68,68,0.2); }
.ls-result {
    display: none;
    margin-top: 14px;
}
/* [고도화 20260725] 통합 검색창 */
.ls-search-wrap { position: relative; margin-bottom: 14px; }
.ls-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--surface-500); pointer-events: none; }
.ls-search-input {
    width: 100%; box-sizing: border-box;
    padding: 12px 14px 12px 42px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff; font-size: 14px; font-weight: 500;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.ls-search-input::placeholder { color: var(--surface-500); }
.ls-search-input:focus { border-color: var(--accent-400); box-shadow: 0 0 0 3px rgba(212,160,35,0.15); }
/* [고도화] 결과 요약 + 고급 정렬 세그먼트 바 */
.ls-result-bar {
    display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
}
.ls-result-count { font-size: 13.5px; font-weight: 600; color: var(--surface-300); }
.ls-result-count b { color: var(--accent-400); font-size: 16px; margin: 0 2px; }
.ls-sort-group {
    display: inline-flex; gap: 2px; padding: 3px; margin-left: auto;
    background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 999px; overflow-x: auto; scrollbar-width: none;
}
.ls-sort-group::-webkit-scrollbar { display: none; }
.ls-sort-seg {
    border: 0; background: transparent; color: var(--surface-400);
    font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: -0.2px;
    padding: 6px 12px; border-radius: 999px; white-space: nowrap; cursor: pointer;
    transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
.ls-sort-seg:hover { color: #fff; }
.ls-sort-seg.active { color: #0b1220; background: linear-gradient(135deg, var(--accent-400), var(--accent-500)); box-shadow: 0 2px 8px rgba(212,160,35,0.35); }
.ls-clear-all {
    padding: 7px 14px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.22);
    border-radius: 999px; color: #fca5a5; font-size: 12px; font-weight: 700;
    cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.ls-clear-all:hover { background: rgba(239,68,68,0.2); }

/* [고도화 20260726] 통합 검색바: 타입/동/정렬 드롭다운 + 지도 버튼 */
.ls-primary { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.ls-primary-field { display: flex; flex-direction: column; gap: 5px; min-width: 130px; flex: 1 1 130px; }
.ls-primary-field label { font-size: 11px; font-weight: 700; color: var(--accent-400); letter-spacing: -0.2px; padding-left: 2px; }
.ls-primary-field select {
    width: 100%; padding: 11px 32px 11px 12px; font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--surface-100); background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; cursor: pointer;
    outline: none; transition: border-color 0.18s, box-shadow 0.18s; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a023' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.ls-primary-field select:focus { border-color: var(--accent-400); box-shadow: 0 0 0 3px rgba(212,160,35,0.15); }
.ls-map-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 0 18px; height: 43px;
    font-family: inherit; font-size: 13px; font-weight: 700; color: #0b1220;
    background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
    border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
    box-shadow: 0 3px 12px rgba(212,160,35,0.3); transition: transform 0.15s, box-shadow 0.15s;
}
.ls-map-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(212,160,35,0.45); }
/* 적용 필터 칩 */
.ls-chip-group { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.ls-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px;
    font-family: inherit; font-size: 12px; font-weight: 600; color: #e6ceb3;
    background: rgba(212,160,35,0.12); border: 1px solid rgba(212,160,35,0.3);
    border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.ls-chip:hover { background: rgba(212,160,35,0.22); }
.ls-chip-x { display: inline-flex; font-size: 10px; color: #d4a023; opacity: 0.85; }

@media (max-width: 480px) {
    .listing-search-bar { padding: 14px; }
    .listing-search-filters { gap: 8px; }
    .ls-group { min-width: 90px; }
    .ls-group select { font-size: 12px; padding: 7px 10px; }
    .ls-primary-field { min-width: 0; flex: 1 1 46%; }
    .ls-map-btn { flex: 1 1 100%; justify-content: center; }
    .ls-chip-group { margin-left: 0; width: 100%; }
    .rt-range-group { min-width: 0; flex: 1 1 100%; }
}

/* [고도화 20260726] 실거래 가격대·평수 듀얼 레인지 슬라이더 */
/* [수정 20260726] align-items: stretch 필수.
   이 요소는 .rt-search-group 과 .rt-range-group 을 함께 갖는데, 앞 클래스의 align-items:center 가
   그대로 남는다. 세로(column) 플렉스에서 align-items 는 '가로' 정렬이라 자식이 내용 폭으로 쪼그라들고,
   .rt-range-slider 는 자식이 전부 position:absolute 라 내용이 없어 폭이 0이 됐다
   (트랙이 사라지고 손잡이 두 개만 가운데 붙어 보이던 원인). 실측: group 570px / slider 0px. */
.rt-range-group { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 220px; flex: 1 1 240px; }
.rt-range-group > label { font-size: 12px; font-weight: 600; color: var(--surface-300); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rt-range-val { color: var(--accent-400); font-weight: 700; font-size: 12px; white-space: nowrap; }
.rt-range-hist { display: flex; align-items: flex-end; gap: 1px; height: 30px; padding: 0 9px; }
.rt-hb { flex: 1; background: rgba(212,160,35,0.28); border-radius: 2px 2px 0 0; min-height: 2px; transition: height 0.35s ease; }
.rt-range-slider { position: relative; height: 26px; }
.rt-range-slider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 5px; background: rgba(255,255,255,0.12); border-radius: 99px; }
.rt-range-fill { position: absolute; top: 50%; transform: translateY(-50%); height: 5px; background: linear-gradient(90deg, var(--accent-400), var(--accent-500)); border-radius: 99px; pointer-events: none; }
.rt-range-input { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 26px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.rt-range-input::-webkit-slider-runnable-track { -webkit-appearance: none; background: transparent; border: none; }
.rt-range-input::-moz-range-track { background: transparent; border: none; }
.rt-range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-400); box-shadow: 0 2px 6px rgba(0,0,0,0.45); cursor: pointer; pointer-events: auto; }
.rt-range-input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent-400); box-shadow: 0 2px 6px rgba(0,0,0,0.45); cursor: pointer; pointer-events: auto; }

/* [고도화 20260726] 실거래 정렬 세그먼트 */
.rt-sort-bar { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; flex-wrap: wrap; }
.rt-sort-label { font-size: 12px; font-weight: 700; color: var(--accent-400); }
.rt-sort-seg-group { display: inline-flex; gap: 2px; padding: 3px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.07); border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.rt-sort-seg-group::-webkit-scrollbar { display: none; }
.rt-sort-seg { border: 0; background: transparent; color: var(--surface-400); font-family: inherit; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; cursor: pointer; transition: color 0.18s, background 0.18s; }
.rt-sort-seg:hover { color: #fff; }
.rt-sort-seg.active { color: #0b1220; background: linear-gradient(135deg, var(--accent-400), var(--accent-500)); box-shadow: 0 2px 8px rgba(212,160,35,0.35); }

/* ==========================================================================
   Horizontal Scrollbars & Drag Scroll Styling
   ========================================================================== */
.rt-dong-filters,
.rt-filters,
.rt-type-filters,
.rt-month-filters,
.filter-tabs,
.type-filters,
.dong-filters,
.complex-tabs,
.minor-tabs {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: thin !important; /* Firefox */
    scrollbar-color: rgba(212, 160, 35, 0.4) transparent !important; /* Firefox */
    padding-bottom: 12px !important; /* 스크롤바가 생겨도 버튼을 가리지 않도록 마진 확보 */
}

.rt-dong-filters:active,
.rt-filters:active,
.rt-type-filters:active,
.rt-month-filters:active,
.filter-tabs:active,
.type-filters:active,
.dong-filters:active,
.complex-tabs:active,
.minor-tabs:active {
    cursor: grabbing;
}

/* Webkit 브라우저용 커스텀 스크롤바 (아주 얇고 깔끔하게 표시) */
.rt-dong-filters::-webkit-scrollbar,
.rt-filters::-webkit-scrollbar,
.rt-type-filters::-webkit-scrollbar,
.rt-month-filters::-webkit-scrollbar,
.filter-tabs::-webkit-scrollbar,
.type-filters::-webkit-scrollbar,
.dong-filters::-webkit-scrollbar,
.complex-tabs::-webkit-scrollbar,
.minor-tabs::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
}

.rt-dong-filters::-webkit-scrollbar-thumb,
.rt-filters::-webkit-scrollbar-thumb,
.rt-type-filters::-webkit-scrollbar-thumb,
.rt-month-filters::-webkit-scrollbar-thumb,
.filter-tabs::-webkit-scrollbar-thumb,
.type-filters::-webkit-scrollbar-thumb,
.dong-filters::-webkit-scrollbar-thumb,
.complex-tabs::-webkit-scrollbar-thumb,
.minor-tabs::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 35, 0.4) !important;
    border-radius: 10px !important;
}

.rt-dong-filters::-webkit-scrollbar-track,
.rt-filters::-webkit-scrollbar-track,
.rt-type-filters::-webkit-scrollbar-track,
.rt-month-filters::-webkit-scrollbar-track,
.filter-tabs::-webkit-scrollbar-track,
.type-filters::-webkit-scrollbar-track,
.dong-filters::-webkit-scrollbar-track,
.complex-tabs::-webkit-scrollbar-track,
.minor-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 10px !important;
}

/* [추가 20260726] 단지 배치도 (매물 상세) — 파일이 있는 단지에만 노출된다. */
.modal-siteplan { margin-top: 20px; }
.modal-siteplan .modal-section-title {
    display: flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: var(--accent-400); margin-bottom: 10px;
}
.modal-siteplan a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); }
.modal-siteplan img {
    display: block; width: 100%; height: auto;
    background: rgba(255,255,255,0.04); transition: transform 0.25s ease;
}
.modal-siteplan a:hover img { transform: scale(1.02); }
.modal-siteplan-note { margin: 8px 2px 0; font-size: 11px; color: var(--surface-500); line-height: 1.6; }
