* {
    box-sizing: border-box;
}

:root {
    --bg: #f3f5f8;
    --card: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --dark: #111827;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --green: #059669;
    --red: #dc2626;
    --yellow: #f59e0b;
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --radius: 18px;
}

body {
    position: relative;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.wide-container {
    width: min(1560px, calc(100% - 24px));
    margin: 0 auto;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5000;
    backdrop-filter: blur(10px);
}

.header-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #ffffff;
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
}

.logo strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.nav a {
    padding: 9px 11px;
    border-radius: 10px;
    color: #374151;
}

.nav a:hover {
    background: #f3f4f6;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
    background: #eef2ff;
    color: #1e40af;
}

.btn-secondary:hover {
    background: #dbeafe;
    box-shadow: none;
}

.btn-dark {
    background: var(--dark);
}

.btn-danger {
    background: var(--red);
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-small {
    padding: 8px 11px;
    font-size: 13px;
}

.hero {
    padding: 42px 0 20px;
}

.hero-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #ffffff;
    padding: 42px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.hero-box::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.hero-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero h1 {
    position: relative;
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 50px);
    letter-spacing: -0.055em;
    line-height: 1.12;
    z-index: 1;
}

.hero p {
    position: relative;
    margin: 0;
    color: #dbeafe;
    line-height: 1.75;
    font-size: 16px;
    z-index: 1;
}

.hero-actions {
    position: relative;
    display: flex;
    gap: 10px;
    margin-top: 24px;
    z-index: 1;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.search-card,
.form-card,
.detail-card,
.admin-card,
.empty-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.search-card {
    margin-top: -6px;
}

.search-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr auto;
    gap: 12px;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    background: #ffffff;
    color: var(--text);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 800;
    color: #374151;
}

.section {
    padding: 24px 0;
}

.full-width-section {
    padding-left: 0;
    padding-right: 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title h1,
.section-title h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.section-title p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 16px;
}

.stat-box strong {
    display: block;
    font-size: 24px;
}

.stat-box span {
    color: #dbeafe;
    font-size: 13px;
}

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

.property-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #bfdbfe;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
}

.badge-green {
    background: #dcfce7;
    color: #047857;
}

.badge-yellow {
    background: #fef3c7;
    color: #b45309;
}

.badge-gray {
    background: #f3f4f6;
    color: #4b5563;
}

.property-card h3 {
    margin: 14px 0 10px;
    font-size: 20px;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

.meta {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.price {
    font-size: 22px;
    font-weight: 900;
    margin: 16px 0;
    letter-spacing: -0.04em;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid var(--line);
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.recent-slider {
    overflow: hidden;
    width: 100%;
    padding: 4px 0 12px;
}

.recent-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: recentSlide 28s linear infinite;
}

.recent-slider:hover .recent-track {
    animation-play-state: paused;
}

.recent-card {
    width: 350px;
    min-width: 350px;
}

@keyframes recentSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 9px));
    }
}

.desktop-table {
    display: block;
}

.property-table-wrap {
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    border-radius: var(--radius);
}

.property-table {
    width: 100%;
    min-width: 1500px;
    border-collapse: collapse;
    background: #ffffff;
}

.compact-table th,
.compact-table td {
    height: 48px;
    padding: 10px 8px;
    vertical-align: middle;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    text-align: left;
}

.property-table thead th {
    position: static;
    top: auto;
    z-index: auto;
    background: #f9fafb;
    color: #374151;
    font-size: 12px;
    font-weight: 900;
}

.property-table tbody tr {
    background: #ffffff;
}

.property-table tbody tr:hover {
    background: #f8fafc;
}

.property-table .table-title {
    font-weight: 800;
    color: #111827;
}

.contact-cell {
    font-weight: 800;
    color: #111827;
}

.table-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: none;
    white-space: nowrap;
}

.option-text {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid var(--line);
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.mobile-list {
    display: none;
}

.mobile-property-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.mobile-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mobile-id {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.mobile-property-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

.mobile-price {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--line);
    margin-bottom: 12px;
}

.mobile-price strong {
    font-size: 16px;
}

.mobile-price small {
    color: var(--muted);
    font-size: 12px;
}

.mobile-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-info-grid span {
    padding: 9px 10px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid var(--line);
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.mobile-detail-btn {
    width: 100%;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 18px;
    align-items: start;
}

.detail-card h1 {
    margin: 14px 0 8px;
    font-size: 32px;
    letter-spacing: -0.05em;
}

.detail-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.summary-item {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f9fafb;
}

.summary-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.summary-item strong {
    font-size: 17px;
}

.phone-box {
    background: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.phone-box h3 {
    margin-top: 0;
}

.phone-box .price {
    color: #ffffff;
}

.phone-box .meta {
    color: #cbd5e1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.full {
    grid-column: 1 / -1;
}

.notice {
    padding: 14px 16px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
    margin-bottom: 16px;
    font-weight: 700;
}

.error {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    margin-bottom: 16px;
    font-weight: 700;
}

.help-text {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

.option-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.option-checks label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    cursor: pointer;
    line-height: 1;
}

.option-checks input {
    width: auto;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.option-checks label:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 13px 12px;
    text-align: left;
    white-space: nowrap;
    font-size: 14px;
}

th {
    background: #f9fafb;
    color: #374151;
    font-size: 13px;
}

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

.site-footer {
    margin-top: 48px;
    padding: 32px 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 920px) {
    .container,
    .wide-container {
        width: min(100% - 24px, 430px);
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .header-inner {
        height: auto;
        padding: 16px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .nav a {
        text-align: center;
        background: #f9fafb;
        border: 1px solid var(--line);
    }

    .search-grid,
    .grid,
    .form-grid,
    .detail-layout,
    .detail-summary,
    .stats {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 24px 0 16px;
    }

    .hero-box {
        padding: 26px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 20px 0;
    }

    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .recent-track {
        animation: none;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 6px;
    }

    .recent-card {
        width: 310px;
        min-width: 310px;
    }

    .desktop-table {
        display: none;
    }

    .mobile-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .option-checks {
        gap: 8px;
    }

    .option-checks label {
        padding: 8px 11px;
        font-size: 13px;
    }

    .site-footer {
        margin-top: 24px;
    }
}
.blurred-text {
    display: inline-block;
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    opacity: 0.75;
}

.blurred-text::selection {
    background: transparent;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
}

.pagination a:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.pagination .active {
    background: var(--blue);
    color: #ffffff;
    border-color: var(--blue);
}

.pagination .disabled {
    color: #9ca3af;
    background: #f9fafb;
}

.pagination .dots {
    border: 0;
    background: transparent;
    min-width: auto;
}
.input-invalid {
    border-color: var(--red) !important;
    background: #fff7f7;
}

.input-invalid:focus {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}

.field-error {
    display: none;
    margin: 7px 0 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}

.field-error.show {
    display: block;
}

.disabled-btn,
.disabled-btn:hover {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.terms-box {
    border: 1px solid var(--line);
    background: #f9fafb;
    border-radius: 16px;
    padding: 18px;
}

.terms-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.terms-box p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 900;
}

.terms-check input {
    width: auto;
}
.community-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.community-head h1 {
    margin-bottom: 6px;
}

.community-head p {
    color: #666;
    font-size: 14px;
}

.community-point-box {
    background: #fff7e6;
    border: 1px solid #ffd591;
    color: #7a4b00;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.community-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-item {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.community-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.community-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.community-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    color: #3152a3;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
}

.community-date {
    color: #888;
    font-size: 13px;
}

.community-item h2 {
    font-size: 18px;
    margin: 0 0 12px;
}

.community-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #777;
    font-size: 13px;
}

.community-view {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
}

.community-view-head {
    border-bottom: 1px solid #eee;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.community-view-head h1 {
    margin: 12px 0;
    font-size: 25px;
}

.community-content {
    min-height: 240px;
    line-height: 1.8;
    font-size: 16px;
    white-space: normal;
    margin-bottom: 24px;
}

.empty-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    color: #777;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn.secondary {
    background: #f1f3f5;
    color: #333;
}

@media (max-width: 768px) {
    .community-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .community-head .btn {
        width: 100%;
        text-align: center;
    }

    .community-view {
        padding: 18px;
    }

    .community-view-head h1 {
        font-size: 22px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        text-align: center;
    }
}
.point-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 800;
}

.point-link:hover {
    text-decoration: underline;
}

.point-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.point-summary-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px;
}

.point-summary-card span {
    display: block;
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
}

.point-summary-card strong {
    font-size: 24px;
    color: #111;
}

.point-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.point-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.point-tabs a.active {
    background: #111;
    color: #fff;
}

.point-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.point-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
}

.point-history-item strong {
    display: block;
    margin-top: 8px;
}

.point-history-item p {
    color: #777;
    font-size: 13px;
    margin-top: 6px;
}

.point-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.point-badge.earn {
    background: #e8f7ee;
    color: #15803d;
}

.point-badge.charge {
    background: #eef4ff;
    color: #2563eb;
}

.point-badge.use {
    background: #fff1f2;
    color: #e11d48;
}

.point-amount {
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.point-amount.plus {
    color: #15803d;
}

.point-amount.minus {
    color: #e11d48;
}

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

    .point-history-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .point-amount {
        align-self: flex-end;
    }
}
.special-check {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
    color: #9a3412 !important;
}

.special-option {
    background: #fff7ed !important;
    border-color: #fb923c !important;
    color: #9a3412 !important;
    font-weight: 950 !important;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.18);
}

.option-text.special-option {
    padding: 6px 10px;
}
.advanced-search {
    display: grid;
    gap: 18px;
}

.search-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr auto;
    gap: 12px;
}

.filter-block {
    display: grid;
    gap: 10px;
}

.filter-block strong {
    font-size: 14px;
    color: #374151;
}

.filter-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-checks label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.filter-checks input {
    width: auto;
    margin: 0;
}

.price-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.search-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.room-deal-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.deal-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    font-size: 12px;
    font-weight: 950;
}

.deal-check {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #3730a3 !important;
}

@media (max-width: 920px) {
    .search-row,
    .price-filter-grid {
        grid-template-columns: 1fr;
    }

    .search-actions {
        flex-direction: column;
    }

    .search-actions .btn {
        width: 100%;
    }
}
.compact-search {
    padding: 18px;
}

.filter-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: -4px;
}

.filter-toggle {
    border: 1px solid var(--line);
    background: #f9fafb;
    color: #374151;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.filter-toggle:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.filter-active-text {
    color: #ea580c;
    font-size: 13px;
    font-weight: 900;
}

.advanced-filter-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 4px;
}

.advanced-filter-panel.is-open {
    display: grid;
    gap: 18px;
}

@media (max-width: 920px) {
    .compact-search {
        padding: 16px;
    }

    .filter-toggle-row {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-toggle {
        width: 100%;
    }

    .filter-active-text {
        text-align: center;
    }
}
.community-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.community-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 900;
}

.community-tabs a:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.community-tabs a.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.community-badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 12px;
    font-weight: 950;
}

.notice-item {
    border-color: #fdba74;
    background: #fffaf5;
}

.notice-item:hover {
    border-color: #fb923c;
}

.notice-check {
    background: #fff7ed !important;
    border-color: #fdba74 !important;
    color: #9a3412 !important;
}

.reaction-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

.reaction-box form {
    margin: 0;
}

.reaction-btn {
    border: 1px solid var(--line);
    background: #ffffff;
    color: #374151;
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.reaction-btn:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.reaction-btn.active {
    background: #dbeafe;
    border-color: #60a5fa;
    color: #1d4ed8;
}

.reaction-btn.dislike:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.reaction-btn.dislike.active {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.comment-section {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.comment-section h2 {
    margin: 0 0 16px;
    font-size: 22px;
    letter-spacing: -0.035em;
}

.comment-form {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.comment-form textarea {
    min-height: 100px;
}

.comment-form .btn {
    justify-self: end;
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment-item {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fafb;
    padding: 16px;
}

.comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-head strong {
    font-size: 14px;
}

.comment-head span {
    color: var(--muted);
    font-size: 13px;
}

.comment-content {
    color: #374151;
    font-size: 14px;
    line-height: 1.8;
}

.comment-delete-form {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.comment-delete-form button {
    border: 0;
    background: transparent;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    padding: 4px 0;
}

.comment-delete-form button:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .community-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .community-tabs a {
        width: 100%;
    }

    .reaction-box {
        align-items: stretch;
        flex-direction: column;
    }

    .reaction-box form,
    .reaction-btn {
        width: 100%;
    }

    .comment-section {
        padding: 18px;
    }

    .comment-form .btn {
        width: 100%;
    }

    .comment-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* 주소 클릭 지도 모달 */
.address-map-btn {
    display: inline;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.address-map-btn:hover {
    color: var(--blue);
    text-decoration: underline;
}

.table-address-btn {
    font-weight: 900;
}

.mobile-address-btn {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.35;
}

body.modal-open {
    overflow: hidden;
}

.map-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
}

.map-modal.is-open {
    display: block;
}

.map-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.map-modal-panel {
    position: relative;
    width: min(980px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.map-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}

.map-modal-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.map-modal-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.map-modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.map-modal-close:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.map-modal-body {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 0;
    max-height: calc(100vh - 145px);
    overflow: auto;
}

.property-map {
    min-height: 520px;
    background: #e5e7eb;
}

.nearby-panel {
    padding: 20px;
    border-left: 1px solid var(--line);
    background: #f9fafb;
}

.nearby-panel h3 {
    margin: 0 0 14px;
    font-size: 18px;
    letter-spacing: -0.035em;
}

.nearby-list {
    display: grid;
    gap: 10px;
}

.nearby-item,
.nearby-loading {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.nearby-kind {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.nearby-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.nearby-item p {
    margin: 0 0 5px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
}

.nearby-item small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.nearby-loading {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 920px) {
    .map-modal-panel {
        width: min(100% - 20px, 430px);
        margin: 84px auto 10px;
        max-height: calc(100dvh - 104px);
        border-radius: 18px;
        display: flex;
        flex-direction: column;
    }

    .map-modal-head {
        flex: 0 0 auto;
        padding: 16px;
    }

    .map-modal-body {
        flex: 1 1 auto;
        grid-template-columns: 1fr;
        max-height: none;
        min-height: 0;
        overflow-y: auto;
        padding-bottom: 18px;
    }

    .property-map {
        min-height: 320px;
        flex: 0 0 auto;
    }

    .nearby-panel {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 16px 16px 24px;
    }
}

/* 커뮤니티 페이지 모바일/페이징 최적화 */
.community-section .container {
    max-width: 980px;
}

.community-count-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.community-count-box strong {
    color: #111827;
    font-weight: 950;
}

.community-count-box span {
    color: var(--muted);
    font-weight: 800;
}

.community-write-btn {
    white-space: nowrap;
}

.community-pagination {
    margin-top: 24px;
}

.community-writer {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .community-section {
        padding-top: 16px;
    }

    .community-head {
        gap: 12px;
        margin-bottom: 14px;
    }

    .community-head h1 {
        margin: 0 0 4px;
        font-size: 25px;
        letter-spacing: -0.045em;
    }

    .community-head p {
        margin: 0;
        line-height: 1.55;
        font-size: 13px;
    }

    .community-write-btn {
        width: 100%;
        min-height: 46px;
    }

    .community-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 7px;
        overflow-x: auto;
        padding: 2px 0 8px;
        margin-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .community-tabs a {
        flex: 0 0 auto;
        min-width: 76px;
        padding: 9px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .community-point-box {
        margin-bottom: 12px;
        padding: 12px 13px;
        line-height: 1.55;
        font-size: 13px;
    }

    .community-count-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 12px;
        padding: 12px 13px;
        font-size: 13px;
    }

    .community-list {
        gap: 10px;
    }

    .community-item {
        border-radius: 16px;
        padding: 15px;
    }

    .community-item:hover {
        transform: none;
    }

    .community-item-top {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 9px;
    }

    .community-category,
    .notice-badge {
        padding: 4px 9px;
        font-size: 11px;
    }

    .community-date {
        flex: 0 0 auto;
        font-size: 12px;
        padding-top: 2px;
    }

    .community-item h2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0 0 10px;
        font-size: 16px;
        line-height: 1.45;
        letter-spacing: -0.035em;
    }

    .community-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 8px;
        font-size: 12px;
    }

    .community-meta span {
        min-width: 0;
        padding: 6px 8px;
        border-radius: 999px;
        background: #f9fafb;
        border: 1px solid var(--line);
        color: #6b7280;
        font-weight: 800;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .community-writer {
        grid-column: 1 / -1;
        max-width: none;
        color: #374151 !important;
        background: #ffffff !important;
    }

    .notice-item {
        border-width: 1px;
        box-shadow: 0 8px 22px rgba(251, 146, 60, 0.10);
    }

    .community-pagination {
        gap: 6px;
        margin-top: 18px;
    }

    .community-pagination a,
    .community-pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 13px;
    }

    .community-pagination .dots {
        padding: 0 2px;
        min-width: auto;
    }
}


/* 커뮤니티 카테고리 모바일 접기/펼치기 및 글 개수 박스 제거 최신화 */
.community-category-filter {
    margin-bottom: 16px;
}

.community-category-mobile-toggle {
    display: none;
}

.community-count-box {
    display: none !important;
}

@media (max-width: 768px) {
    .community-category-filter {
        margin-bottom: 12px;
    }

    .community-category-mobile-toggle {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #ffffff;
        color: #111827;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 950;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .community-category-mobile-toggle span {
        color: var(--blue);
        font-size: 12px;
        font-weight: 900;
    }

    .community-category-mobile-toggle::after {
        content: "▼";
        color: #6b7280;
        font-size: 11px;
        margin-left: auto;
    }

    .community-category-mobile-toggle[aria-expanded="true"]::after {
        content: "▲";
    }

    .community-tabs {
        display: none;
        grid-template-columns: 1fr;
        gap: 7px;
        overflow: visible;
        padding: 8px 0 0;
        margin: 0;
    }

    .community-tabs.is-open {
        display: grid;
    }

    .community-tabs a {
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: 13px;
        font-size: 14px;
        white-space: normal;
    }
}
/* 커뮤니티 리스트형 최신화 */
.community-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.community-my-posts-btn,
.community-write-btn {
    white-space: nowrap;
}

.community-list-table {
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.community-list-header,
.community-row,
.community-row-main {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 140px 110px 80px 80px 90px;
    align-items: center;
    gap: 10px;
}

.community-list-header {
    padding: 13px 16px;
    background: #f9fafb;
    border-bottom: 1px solid var(--line);
    color: #374151;
    font-size: 13px;
    font-weight: 950;
}

.community-row {
    min-height: 54px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    color: #4b5563;
    font-size: 13px;
    transition: background 0.15s ease;
}

.community-row:last-child {
    border-bottom: 0;
}

.community-row:hover {
    background: #f8fafc;
}

.community-row-category {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.community-row-title {
    min-width: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-row-writer,
.community-row-date {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.community-row-actions form,
.community-manage-actions form {
    margin: 0;
}

.my-post-list-header {
    grid-template-columns: 130px minmax(0, 1fr) 110px 80px 80px 90px 150px;
}

.my-post-row {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 10px;
}

.my-post-row .community-row-main {
    grid-template-columns: 130px minmax(0, 1fr) 110px 80px 80px 90px;
    padding: 0;
}

.deleted-post-row {
    background: #f9fafb;
    opacity: 0.78;
}

.deleted-post-row .community-row-title {
    color: #6b7280;
    text-decoration: line-through;
}

.deleted-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    vertical-align: middle;
}

.deleted-post-view {
    border-color: #fecaca;
    background: #fffafa;
}

.deleted-notice-box {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 14px;
    font-weight: 800;
}

.deleted-help {
    color: #991b1b;
    font-size: 13px;
    font-weight: 900;
}

.community-manage-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .community-head-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .community-head-actions .btn {
        width: 100%;
    }

    .community-list-table {
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    }

    .community-list-header {
        display: none;
    }

    .community-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
        min-height: auto;
    }

    .community-row::after {
        content: "";
        display: block;
        clear: both;
    }

    .community-row-category {
        order: 1;
    }

    .community-row-title {
        order: 2;
        font-size: 16px;
        line-height: 1.4;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .community-row-writer,
    .community-row-date,
    .community-row > span:not(.community-row-category):not(.community-row-title) {
        order: 3;
        display: inline-flex;
        width: fit-content;
        max-width: 100%;
        padding: 5px 8px;
        border-radius: 999px;
        background: #f9fafb;
        border: 1px solid var(--line);
        color: #6b7280;
        font-size: 12px;
        font-weight: 800;
    }

    .my-post-row {
        grid-template-columns: 1fr;
    }

    .my-post-row .community-row-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .community-row-actions {
        justify-content: flex-start;
        width: 100%;
        margin-top: 4px;
    }

    .community-row-actions .btn,
    .community-row-actions form,
    .community-row-actions button {
        width: 100%;
    }

    .community-manage-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .community-manage-actions .btn,
    .community-manage-actions form,
    .community-manage-actions button {
        width: 100%;
    }
}

/* 공실 사진 버튼/모달 */
.photo-badge-btn {
    min-width: 66px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f97316;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.16);
}

.photo-badge-btn:hover {
    background: #ffedd5;
    border-color: #ea580c;
    color: #9a3412;
}

.photo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
}

.photo-modal.is-open {
    display: block;
}

.photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
}

.photo-modal-panel {
    position: relative;
    width: min(920px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
}

.photo-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}

.photo-modal-head h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.photo-modal-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.photo-modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.photo-modal-close:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.photo-modal-body {
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding: 20px;
    background: #f9fafb;
}

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

.property-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.property-photo-item {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.property-photo-item img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .photo-badge-btn {
        min-width: 62px;
        height: 27px;
        padding: 0 9px;
        font-size: 11px;
    }

    .photo-modal-panel {
        width: calc(100% - 20px);
        max-width: 430px;
        margin: 10px auto;
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .photo-modal-head {
        padding: 16px;
    }

    .photo-modal-head h2 {
        font-size: 19px;
    }

    .photo-modal-body {
        max-height: calc(100vh - 120px);
        padding: 14px;
    }

    .property-photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .property-photo-item img {
        height: auto;
        max-height: 420px;
        object-fit: contain;
        background: #111827;
    }
}
/* 관리자 회원관리 최신화 */
.admin-users-section .wide-container {
    width: min(1880px, calc(100% - 20px));
}

.admin-user-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.admin-user-filter a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    font-size: 13px;
    font-weight: 900;
}

.admin-user-filter a:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.admin-user-filter a.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.admin-user-filter span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.admin-users-table-wrap {
    padding: 0;
    overflow-x: auto;
}

.admin-users-table {
    min-width: 1760px;
}

.admin-users-table th,
.admin-users-table td {
    padding: 9px 8px;
    font-size: 12px;
    vertical-align: middle;
}

.admin-user-actions {
    max-width: 430px;
    gap: 6px;
}

.admin-user-actions .btn {
    padding: 7px 9px;
    font-size: 12px;
    border-radius: 9px;
}

.admin-point-form {
    display: grid;
    grid-template-columns: 92px 130px 54px;
    gap: 6px;
    align-items: center;
    min-width: 290px;
}

.admin-point-form input {
    height: 34px;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 12px;
}

.admin-point-form .btn {
    height: 34px;
    padding: 7px 9px;
    border-radius: 9px;
    font-size: 12px;
}

@media (max-width: 920px) {
    .admin-users-section .wide-container {
        width: min(100% - 16px, 100%);
    }

    .admin-user-filter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-user-filter a {
        justify-content: center;
    }

    .admin-users-table {
        min-width: 1680px;
    }
}
/* 커뮤니티 모바일 리스트형 강제 적용 */
@media (max-width: 768px) {
    .community-list-table {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: none;
    }

    .community-list-header {
        display: none;
    }

    .community-row {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) 54px;
        gap: 7px;
        align-items: center;
        min-height: 46px;
        padding: 10px 11px;
        border-bottom: 1px solid var(--line);
        background: #ffffff;
        font-size: 12px;
    }

    .community-row:hover {
        background: #ffffff;
    }

    .community-row-category {
        order: 1;
        min-width: 0;
    }

    .community-row-title {
        order: 2;
        min-width: 0;
        display: block;
        font-size: 14px;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .community-row-writer {
        display: none;
    }

    .community-row-date {
        order: 3;
        display: block;
        width: auto;
        max-width: none;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #9ca3af;
        font-size: 11px;
        font-weight: 800;
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

    .community-row > span:not(.community-row-category):not(.community-row-title):not(.community-row-writer):not(.community-row-date) {
        display: none;
    }

    .community-category,
    .notice-badge {
        max-width: 100%;
        padding: 3px 7px;
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .notice-item {
        box-shadow: none;
        border-left: 3px solid #fb923c;
        background: #fffaf5;
    }

    .deleted-post-row {
        opacity: 0.75;
    }

    .deleted-badge {
        margin-right: 4px;
        padding: 2px 6px;
        font-size: 10px;
    }
}
/* 커뮤니티 모바일 제목 잘림 개선 */
@media (max-width: 768px) {
    .community-row {
        grid-template-columns: 58px minmax(0, 1fr);
        grid-template-areas:
            "category title"
            "date title";
        gap: 5px 8px;
        min-height: 58px;
        padding: 10px 12px;
    }

    .community-row-category {
        grid-area: category;
        order: initial;
        align-self: start;
    }

    .community-row-title {
        grid-area: title;
        order: initial;
        align-self: center;
        display: -webkit-box;
        font-size: 14px;
        line-height: 1.45;
        white-space: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 2px;
    }

    .community-row-date {
        grid-area: date;
        order: initial;
        text-align: left;
        font-size: 10px;
    }

    .community-row-writer,
    .community-row > span:not(.community-row-category):not(.community-row-title):not(.community-row-date) {
        display: none;
    }

    .community-category,
    .notice-badge {
        padding: 3px 6px;
        font-size: 10px;
    }

    .deleted-badge {
        display: inline-flex;
        width: fit-content;
        margin-right: 4px;
        vertical-align: middle;
    }
}
/* 사이트 안내 팝업 */
.site-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    padding: 24px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-popup.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
}

.site-popup-panel {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100dvh - 48px);
    margin: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
}

.site-popup-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.site-popup-head h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -0.04em;
}

.site-popup-x {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.site-popup-x:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.site-popup-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 22px;
    -webkit-overflow-scrolling: touch;
}

.site-popup-body p {
    margin: 0 0 14px;
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 700;
}

.site-popup-body ul {
    margin: 0;
    padding-left: 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.8;
}

.site-popup-actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 22px 18px;
    border-top: 1px solid var(--line);
    background: #f9fafb;
}

.site-popup-actions .btn {
    width: 100%;
}

.site-popup-guide {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.site-popup-guide h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -0.035em;
    color: #111827;
}

@media (max-width: 768px) {
    .site-popup {
        padding: 14px 10px;
        align-items: flex-start;
    }

    .site-popup.is-open {
        align-items: flex-start;
    }

    .site-popup-panel {
        width: min(100%, 430px);
        max-height: calc(100dvh - 28px);
        margin: 0 auto;
        border-radius: 18px;
    }

    .site-popup-head {
        padding: 14px 16px;
    }

    .site-popup-head h2 {
        font-size: 20px;
    }

    .site-popup-x {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }

    .site-popup-body {
        padding: 14px 16px;
    }

    .site-popup-body p {
        font-size: 14px;
        line-height: 1.65;
    }

    .site-popup-body ul {
        font-size: 13px;
        line-height: 1.7;
    }

    .site-popup-guide {
        margin-top: 14px;
        padding-top: 13px;
    }

    .site-popup-guide h3 {
        font-size: 16px;
    }

    .site-popup-actions {
        grid-template-columns: 1fr;
        padding: 12px 16px 14px;
    }

    .site-popup-actions .btn {
        min-height: 44px;
        padding: 11px 14px;
    }
}
.hero-main {
    min-width: 0;
}

.gov-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    border-radius: 28px;
    padding: 28px 24px;
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gov-banner::after {
    content: "";
    position: absolute;
    right: -55px;
    top: -55px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.gov-banner-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    font-size: 12px;
    font-weight: 900;
}

.gov-banner h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 14px;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -0.06em;
}

.gov-banner p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #dbeafe;
    font-size: 15px;
    line-height: 1.7;
}

.gov-banner-button {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    font-size: 14px;
    font-weight: 900;
    transition: all 0.18s ease;
}

.gov-banner:hover .gov-banner-button {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}

@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-side-banner {
        width: 100%;
    }

    .gov-banner {
        min-height: 220px;
    }
}

@media (max-width: 920px) {
    .gov-banner {
        border-radius: 22px;
        padding: 24px 20px;
    }

    .gov-banner h3 {
        font-size: 28px;
    }

    .gov-banner p {
        font-size: 14px;
    }
}

.floating-banner-link {
    position: relative;
    overflow: hidden;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #0f172a, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-banner-link::after {
    content: "";
    position: absolute;
    right: -45px;
    top: -45px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.floating-banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.3);
}

.floating-banner-label {
    position: relative;
    z-index: 1;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    font-size: 12px;
    font-weight: 900;
}

.floating-banner-link strong {
    position: relative;
    z-index: 1;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.floating-banner-link p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #dbeafe;
    line-height: 1.6;
    font-size: 14px;
}

.floating-banner-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,0.14);
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 1500px) {
    .floating-side-banner {
        display: none;
    }
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px 320px;
    gap: 18px;
    align-items: stretch;
}

.hero-main {
    min-width: 0;
}

.hero-side-group {
    display: contents;
}

.hero-side-banner {
    display: flex;
}

.hero-side-banner .gov-banner {
    width: 100%;
    min-height: 100%;
}

.hero-side-banner-wide .gov-banner {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.gov-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border-radius: 28px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.gov-banner::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.gov-banner-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    font-size: 13px;
    font-weight: 900;
}

.gov-banner h3 {
    position: relative;
    z-index: 1;
    margin: 18px 0 14px;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.gov-banner p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #dbeafe;
    line-height: 1.7;
    font-size: 16px;
}

.gov-banner-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-weight: 900;
    font-size: 16px;
}

.gov-banner:hover {
    transform: translateY(-2px);
}

@media (max-width: 1500px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) 250px 280px;
    }

    .gov-banner h3 {
        font-size: 40px;
    }
}

@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-side-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 920px) {
    .hero-side-group {
        grid-template-columns: 1fr;
    }

    .gov-banner {
        min-height: auto;
        padding: 24px;
    }

    .gov-banner h3 {
        font-size: 34px;
    }
}

/* 메인 히어로 배너 4열 구성 - 대성에너지/한전ON 전입 전출 배너 추가 */
.hero-layout {
    display: grid;
    grid-template-columns: minmax(460px, 1.45fr) 260px 300px minmax(280px, 0.95fr);
    gap: 18px;
    align-items: stretch;
}

.hero-side-group {
    display: contents;
}

.hero-side-banner,
.hero-energy-stack,
.hero-energy-banner {
    min-width: 0;
}

.hero-side-banner,
.hero-energy-banner {
    display: flex;
}

.hero-energy-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    height: 100%;
}

.hero-side-banner .gov-banner {
    width: 100%;
    min-height: 100%;
}

.hero-energy-banner {
    align-items: stretch;
}

.energy-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px 20px;
    border-radius: 26px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb 55%, #1e40af);
    color: #ffffff;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.energy-banner::after {
    content: "";
    position: absolute;
    right: -48px;
    top: -62px;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
}

.energy-banner-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 950;
}

.energy-banner strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 18px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.055em;
}

.energy-banner p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.55;
}

.energy-banner-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
}

.energy-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.14);
}

.energy-banner:hover .energy-banner-button {
    background: rgba(255, 255, 255, 0.22);
}

.kepco-banner {
    background: linear-gradient(135deg, #16a34a, #2563eb 58%, #1e3a8a);
}

.kepco-banner::after {
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1500px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr) 230px 260px 270px;
    }

    .gov-banner h3 {
        font-size: 36px;
    }

    .energy-banner strong {
        font-size: 24px;
    }
}

@media (max-width: 1280px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-side-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .hero-energy-stack {
        gap: 16px;
    }

    .gov-banner {
        min-height: 220px;
    }

    .energy-banner {
        min-height: 102px;
    }
}

@media (max-width: 920px) {
    .hero-side-group {
        grid-template-columns: 1fr;
    }

    .hero-energy-stack {
        grid-template-rows: auto;
        gap: 16px;
    }

    .energy-banner {
        min-height: auto;
        border-radius: 22px;
        padding: 24px 20px;
    }

    .energy-banner strong {
        font-size: 30px;
    }

    .energy-banner p {
        font-size: 14px;
    }
}

/* 히어로 높이 정렬 보정: 왼쪽 메인 배너를 오른쪽 배너 라인 높이에 맞춤 */
.hero-main {
    display: flex;
    min-width: 0;
}

.hero-main .hero-box {
    width: 100%;
    height: 100%;
}

/* 최근 공실 좌우 독립 광고문의 배너 - 문서 흐름 고정형 */
.ad-rail-section {
    position: relative;
}

.ad-rail-layout {
    width: min(100%, 1880px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(0, 1180px) minmax(140px, 1fr);
    gap: 24px;
    align-items: start;
    padding: 0 18px;
}

.ad-rail-main {
    width: 100%;
    min-width: 0;
}

.inline-ad-banner {
    width: 100%;
    min-width: 0;
}

.inline-ad-link {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 122px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    color: #111827;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.inline-ad-link::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -46px;
    width: 124px;
    height: 124px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
}

.inline-ad-link:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.inline-ad-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.inline-ad-link strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.045em;
}

.inline-ad-link p {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    color: #4b5563;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.inline-ad-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 13px;
    background: var(--blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 1500px) {
    .ad-rail-layout {
        grid-template-columns: minmax(0, 1180px);
        justify-content: center;
        padding: 0;
    }

    .inline-ad-banner {
        display: none !important;
    }
}

@media (max-width: 920px) {
    .ad-rail-layout {
        width: min(100% - 24px, 430px);
    }
}


/* 모바일 헤더 햄버거 메뉴 */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
    .site-header {
        z-index: 5000;
    }

    .header-inner {
        min-height: 68px;
        height: auto;
        padding: 10px 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        align-items: center;
        gap: 10px;
    }

    .logo {
        min-width: 0;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .logo strong {
        font-size: 17px;
    }

    .logo small {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .nav {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 0 4px;
        border-top: 1px solid var(--line);
    }

    .nav.is-open {
        display: grid;
    }

    .nav a {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #f9fafb;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 11px 12px;
        font-size: 14px;
        font-weight: 900;
    }

    .nav a.btn,
    .nav a.btn-small {
        background: var(--blue);
        border-color: var(--blue);
        color: #ffffff;
        padding: 11px 12px;
    }
}


/* 공실 비밀번호 입력/표시 */
.password-secure-box {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 18px;
    padding: 18px;
}

.password-secure-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.password-secure-head strong {
    font-size: 16px;
    color: #111827;
    letter-spacing: -0.03em;
}

.password-secure-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.password-secure-box p {
    margin: 0 0 14px;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.7;
}

.password-input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.password-info-row {
    margin-top: 8px;
}

.password-pill {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.password-pill b,
.password-cell {
    font-weight: 950;
    color: #111827;
}

.password-cell span {
    display: inline-block;
}

@media (max-width: 920px) {
    .password-input-grid {
        grid-template-columns: 1fr;
    }

    .password-secure-box {
        padding: 15px;
    }

    .password-secure-head {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* 공실 건물명/주소 표시 */
.property-address-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.property-address-line-table {
    margin-top: 0;
}

.property-building-name,
.property-address-text {
    font-size: 14px;
    font-weight: 900;
    color: #374151;
    line-height: 1.4;
}

.property-building-name {
    color: #111827;
}

.mobile-property-address-line {
    margin: 0 0 14px;
}

@media (max-width: 920px) {
    .property-address-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .property-building-name,
    .property-address-text {
        font-size: 14px;
    }

    .mobile-address-btn.property-address-text {
        margin: 0;
        font-size: 14px;
    }
}


/* 건물명/주소 라벨 및 신규 옵션 표시 최신화 */
.property-address-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.property-address-item {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.property-address-label {
    display: block;
    color: #6b7280;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.property-building-name,
.property-address-text {
    font-size: 14px;
    font-weight: 900;
    color: #374151;
    line-height: 1.4;
}

.property-building-name {
    color: #111827;
}

.property-address-line-table {
    flex-wrap: nowrap;
    gap: 16px;
}

.property-address-line-table .property-address-item:first-child {
    min-width: 96px;
}

.property-address-line-table .property-address-item:last-child {
    min-width: 180px;
}

.mobile-property-address-line {
    margin-bottom: 14px;
}

@media (max-width: 920px) {
    .property-address-line,
    .property-address-line-table,
    .mobile-property-address-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .property-address-item {
        width: 100%;
    }

    .property-address-label {
        font-size: 11px;
    }

    .property-building-name,
    .property-address-text {
        font-size: 14px;
    }
}

/* 전체 공실 목록 - 독립형 가로 카드 레이아웃 */
.property-desktop-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
}

.property-row-card {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

.property-row-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.property-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.property-row-id {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
    font-weight: 900;
}

.property-row-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.7fr) minmax(90px, 0.55fr) minmax(120px, 0.65fr) minmax(70px, 0.42fr) minmax(90px, 0.5fr) minmax(150px, 0.8fr) minmax(150px, 0.8fr);
    gap: 14px;
    align-items: center;
    width: 100%;
}

.property-row-address,
.property-row-money,
.property-row-detail,
.property-row-contact,
.property-row-passwords {
    min-width: 0;
}

.property-row-label,
.property-address-label {
    display: block;
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.2;
}

.property-row-money strong,
.property-row-detail strong,
.property-row-contact strong,
.property-row-passwords strong {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.45;
    word-break: keep-all;
}

.property-row-money small {
    display: block;
    margin-top: 3px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
}

.property-row-passwords {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.property-row-options {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--line);
}

.property-row-option-list,
.property-row-options .table-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 100%;
    white-space: normal;
}

.property-row-option-list .option-text,
.property-row-options .option-text {
    white-space: nowrap;
}

.property-empty-option {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 800;
}

.property-address-line-table {
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 16px;
}

.property-address-line-table .property-address-item {
    min-width: 0;
}

.property-address-line-table .property-address-item:first-child {
    flex: 0 1 130px;
}

.property-address-line-table .property-address-item:last-child {
    flex: 1 1 auto;
}

.property-address-line-table .property-building-name,
.property-address-line-table .property-address-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .property-row-main {
        grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(90px, 0.55fr)) minmax(140px, 0.75fr) minmax(140px, 0.75fr);
    }

    .property-row-detail:nth-of-type(5) {
        display: none;
    }
}

@media (max-width: 920px) {
    .property-desktop-list {
        display: none;
    }

    .property-row-card {
        display: none;
    }
}


/* 전체 공실 목록 - 엑셀 느낌의 독립형 와이드 레이아웃 */
#property-list .wide-container {
    width: min(1840px, calc(100% - 32px));
    max-width: none;
}

.property-excel-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.property-excel-head,
.property-excel-row {
    display: grid;
    grid-template-columns: 48px 188px minmax(220px, 0.9fr) 92px 92px 70px 82px 164px 150px minmax(360px, 1.4fr);
    gap: 12px;
    align-items: center;
    width: 100%;
}

.property-excel-head {
    min-height: 38px;
    padding: 0 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    color: #4b5563;
    font-size: 12px;
    font-weight: 950;
}

.property-excel-row {
    min-height: 64px;
    padding: 8px 14px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.property-excel-row:last-child {
    border-bottom: 0;
}

.property-excel-row:hover {
    background: #f8fafc;
}

.property-excel-id,
.property-excel-money strong,
.property-excel-value,
.property-excel-contact,
.property-excel-passwords,
.property-excel-address .property-building-name,
.property-excel-address .property-address-text {
    color: #111827;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.3;
}

.property-excel-id {
    color: #334155;
}

.property-excel-type {
    min-width: 0;
    overflow: visible;
}

.property-excel-type .room-deal-wrap {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
}

.property-excel-type .badge,
.property-excel-type .deal-badge {
    flex: 0 0 auto;
    transform: none;
    transform-origin: left center;
}

.property-excel-address {
    min-width: 0;
}

.property-excel-address .property-address-line-table {
    display: grid;
    grid-template-columns: minmax(90px, 0.9fr) minmax(110px, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
}

.property-excel-address .property-address-item {
    min-width: 0;
}

.property-excel-address .property-address-label {
    display: block;
    margin-bottom: 2px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 950;
    line-height: 1.1;
}

.property-excel-address .property-building-name,
.property-excel-address .property-address-text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-excel-money small {
    display: block;
    margin-top: 2px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.property-excel-passwords {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    min-width: 0;
    font-size: 12px;
}

.property-excel-passwords span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6b7280;
    font-weight: 900;
}

.property-excel-passwords b {
    color: #111827;
    font-weight: 950;
}

.property-excel-options {
    min-width: 0;
}

.property-excel-option-list,
.property-excel-options .table-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 100%;
    white-space: normal;
}

.property-excel-options .option-text {
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
}

.property-empty-option {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1500px) {
    #property-list .wide-container {
        width: min(100% - 20px, 1480px);
    }

    .property-excel-head,
    .property-excel-row {
        grid-template-columns: 44px 176px minmax(190px, 0.85fr) 82px 86px 62px 72px 142px 132px minmax(260px, 1.2fr);
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .property-excel-options .option-text {
        padding: 4px 7px;
        font-size: 10.5px;
    }
}

@media (max-width: 1180px) {
    .property-excel-head,
    .property-excel-row {
        grid-template-columns: 42px 158px minmax(170px, 0.8fr) 76px 82px 56px 68px 126px minmax(150px, 0.9fr) minmax(180px, 1fr);
        gap: 7px;
    }

    .property-excel-head span:nth-child(9),
    .property-excel-row .property-excel-passwords {
        display: none;
    }
}

@media (max-width: 920px) {
    #property-list .wide-container {
        width: min(100% - 24px, 430px);
    }

    .property-excel-list {
        display: none;
    }
}


/* 옵션 검색 필터 */
.option-filter-checks {
    gap: 10px;
}

.option-filter-label {
    min-height: 42px;
    padding: 10px 14px !important;
    background: #ffffff !important;
    border: 1px solid #dbe3ee !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.option-filter-label:hover {
    background: #eef4ff !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
}

.option-filter-label input:checked + span {
    color: #1d4ed8;
    font-weight: 950;
}

.option-filter-label:has(input:checked) {
    background: #eef4ff !important;
    border-color: #93c5fd !important;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.10);
}

@media (max-width: 920px) {
    .option-filter-checks {
        gap: 8px;
    }

    .option-filter-label {
        min-height: 38px;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}


/* 모바일 공실 카드 재정리: 같은 행 묶음 + 부드러운 콤팩트 */
@media (max-width: 920px) {
    .mobile-property-card {
        padding: 16px;
        border-radius: 18px;
        background: #ffffff;
    }

    .mobile-card-top {
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eef2f7;
    }

    .mobile-property-card .property-address-line,
    .mobile-property-card .mobile-property-address-line,
    .mobile-property-card .mobile-info-grid,
    .mobile-property-card .mobile-price {
        display: none !important;
    }

    .mobile-compact-list {
        display: grid;
        gap: 0;
        margin: 0 0 12px;
        padding: 2px 0;
        border-radius: 16px;
        background: #f8fafc;
        border: 1px solid #eef2f7;
        overflow: hidden;
    }

    .mobile-compact-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 10px 12px;
        border-bottom: 1px solid #e8edf4;
    }

    .mobile-compact-row:last-child {
        border-bottom: 0;
    }

    .mobile-compact-row-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
    }

    .mobile-compact-cell {
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .mobile-compact-cell span {
        display: block;
        margin-bottom: 4px;
        color: #6b7280;
        font-size: 11px;
        font-weight: 950;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .mobile-compact-cell strong,
    .mobile-compact-address {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #111827;
        font-size: 14px;
        font-weight: 950;
        line-height: 1.35;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-compact-address:hover {
        color: var(--blue);
        text-decoration: underline;
    }

    .mobile-compact-cell.price-cell strong {
        font-size: 15px;
    }

    .mobile-compact-cell.price-cell small {
        display: inline;
        margin-left: 2px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-property-card > .info-row {
        margin: 10px 0 0;
        gap: 7px;
    }

    .mobile-property-card .info-pill {
        padding: 7px 9px;
        font-size: 12px;
        background: #ffffff;
    }
}

@media (max-width: 340px) {
    .mobile-compact-row-pair {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }
}

/* 안내말씀 팝업 핵심 기능 강조 */
.site-popup-intro-highlight {
    padding: 14px 16px;
    margin: 0 0 16px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    color: #1e3a8a;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 900;
}

.site-popup-highlight-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.site-popup-highlight-list li {
    position: relative;
    padding: 13px 14px 13px 44px;
    border: 1px solid #dbeafe;
    border-radius: 15px;
    background: #f8fbff;
    color: #374151;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 750;
}

.site-popup-highlight-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
}

.site-popup-highlight-list strong,
.site-popup-keyword {
    color: #1d4ed8;
    font-weight: 950;
}

.site-popup-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.site-popup-feature-card {
    padding: 13px 14px;
    border-radius: 15px;
    border: 1px solid #e0e7ff;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.06);
}

.site-popup-feature-card span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 6px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 950;
}

.site-popup-feature-card p {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 800;
}

.site-popup-guide .site-popup-normal-list {
    margin-top: 12px;
}

.site-popup-guide .site-popup-normal-list li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .site-popup-intro-highlight {
        padding: 12px 13px;
        margin-bottom: 13px;
        font-size: 13px;
        line-height: 1.65;
        border-radius: 14px;
    }

    .site-popup-highlight-list {
        gap: 8px;
        margin-top: 12px;
    }

    .site-popup-highlight-list li {
        padding: 11px 12px 11px 39px;
        border-radius: 13px;
        font-size: 12.5px;
        line-height: 1.6;
    }

    .site-popup-highlight-list li::before {
        left: 12px;
        top: 12px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .site-popup-feature-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .site-popup-feature-card {
        padding: 11px 12px;
        border-radius: 13px;
    }

    .site-popup-feature-card span {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .site-popup-feature-card p {
        font-size: 12px;
        line-height: 1.55;
    }
}


/* 회원가입 회원유형별 추가 인증정보 */
.register-member-extra {
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: 16px;
    padding: 16px;
}

.register-member-extra label {
    color: #1f2937;
}

.register-member-extra .help-text {
    margin-bottom: 0;
}

.register-verification-note {
    grid-column: 1 / -1;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 800;
}

.admin-user-verify-cell {
    min-width: 190px;
    line-height: 1.65;
    white-space: normal;
}

.admin-user-verify-cell strong {
    display: inline-block;
    color: #111827;
    font-weight: 950;
}

.admin-user-verify-cell span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 920px) {
    .register-member-extra {
        padding: 14px;
    }

    .register-verification-note {
        padding: 12px 13px;
        font-size: 12px;
    }

    .admin-user-verify-cell {
        min-width: 170px;
    }
}

/* 신고 기능 */
.report-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    min-width: 38px;
    padding: 0 8px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff7f7;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.report-mini-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.report-mini-btn:disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.report-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
}

.report-modal.is-open {
    display: block;
}

.report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.report-modal-panel {
    position: relative;
    width: min(460px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    margin: 24px auto;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.report-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.report-modal-head h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.035em;
}

.report-modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f9fafb;
    color: #374151;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.report-modal-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.report-form {
    display: grid;
    gap: 12px;
    padding: 20px;
    max-height: calc(100dvh - 124px);
    overflow-y: auto;
}

.report-form textarea {
    min-height: 96px;
}

.report-help {
    margin: 0;
    padding: 12px 13px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.reported-hidden-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.reported-notice-box {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.community-view-actions {
    align-items: center;
    gap: 8px;
}

.report-owner-alert {
    position: fixed;
    top: 88px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9400;
    width: min(560px, calc(100% - 28px));
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #fecaca;
    border-radius: 18px;
    background: #fff7f7;
    color: #7f1d1d;
    box-shadow: 0 20px 50px rgba(127, 29, 29, 0.18);
}

.report-owner-alert strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 950;
}

.report-owner-alert p {
    margin: 3px 0;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.5;
}

.report-owner-alert small {
    display: block;
    margin-top: 7px;
    color: #991b1b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.report-owner-alert button {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #ffffff;
    color: #991b1b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.admin-property-stats {
    grid-template-columns: repeat(5, 1fr);
}

.admin-reported-row {
    background: #fff7f7;
}

@media (max-width: 920px) {
    .report-mini-btn {
        height: 24px;
        min-width: 36px;
        padding: 0 8px;
        font-size: 10px;
    }

    .report-modal-panel {
        width: min(100% - 20px, 430px);
        margin: 78px auto 10px;
        max-height: calc(100dvh - 96px);
        border-radius: 18px;
    }

    .report-form {
        max-height: calc(100dvh - 166px);
        padding: 16px;
    }

    .report-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .report-actions .btn {
        width: 100%;
    }

    .report-owner-alert {
        top: 82px;
        padding: 14px;
        border-radius: 16px;
    }

    .admin-property-stats {
        grid-template-columns: 1fr;
    }
}

/* =========================
   관리자 공실관리/회원관리 풀와이드 압축 레이아웃
   - 데스크톱에서 가로스크롤 최소화
   - 관리자 박스형 카드 제거
   - 여백 큰 칼럼 축소, 정보 칼럼 확장
========================= */
@media (min-width: 921px) {
    .admin-users-section .wide-container,
    body:has(.admin-property-stats) .container,
    body:has(.admin-property-stats) .wide-container {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .admin-users-section .section-title,
    body:has(.admin-property-stats) .section-title {
        margin-bottom: 12px;
    }

    .admin-users-section .admin-card,
    body:has(.admin-property-stats) .admin-card {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .admin-users-table-wrap,
    body:has(.admin-property-stats) .table-wrap {
        width: 100% !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    .admin-users-table,
    body:has(.admin-property-stats) table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
        background: #ffffff !important;
        border: 1px solid var(--line);
    }

    .admin-users-table th,
    .admin-users-table td,
    body:has(.admin-property-stats) table th,
    body:has(.admin-property-stats) table td {
        padding: 8px 6px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        vertical-align: middle !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .admin-users-table th,
    body:has(.admin-property-stats) table th {
        font-size: 11px !important;
        font-weight: 950 !important;
    }

    .admin-users-table .btn,
    body:has(.admin-property-stats) table .btn {
        padding: 6px 8px !important;
        border-radius: 8px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    /* 회원관리 칼럼 폭 최적화 */
    .admin-users-table th:nth-child(1),
    .admin-users-table td:nth-child(1) { width: 34px; }

    .admin-users-table th:nth-child(2),
    .admin-users-table td:nth-child(2) { width: 62px; }

    .admin-users-table th:nth-child(3),
    .admin-users-table td:nth-child(3) { width: 66px; }

    .admin-users-table th:nth-child(4),
    .admin-users-table td:nth-child(4) { width: 38px; text-align: center; }

    .admin-users-table th:nth-child(5),
    .admin-users-table td:nth-child(5) { width: 48px; text-align: center; }

    .admin-users-table th:nth-child(6),
    .admin-users-table td:nth-child(6) { width: 58px; }

    .admin-users-table th:nth-child(7),
    .admin-users-table td:nth-child(7) { width: 82px; }

    .admin-users-table th:nth-child(8),
    .admin-users-table td:nth-child(8) { width: 78px; }

    .admin-users-table th:nth-child(9),
    .admin-users-table td:nth-child(9) { width: 78px; }

    .admin-users-table th:nth-child(10),
    .admin-users-table td:nth-child(10) { width: 168px; }

    .admin-users-table th:nth-child(11),
    .admin-users-table td:nth-child(11) { width: 128px; }

    .admin-users-table th:nth-child(12),
    .admin-users-table td:nth-child(12) { width: 92px; }

    .admin-users-table th:nth-child(13),
    .admin-users-table td:nth-child(13) { width: 58px; text-align: right; }

    .admin-users-table th:nth-child(14),
    .admin-users-table td:nth-child(14) { width: 246px; }

    .admin-users-table th:nth-child(15),
    .admin-users-table td:nth-child(15) { width: 174px; }

    .admin-user-verify-cell {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .admin-user-verify-cell strong,
    .admin-user-verify-cell span {
        display: inline !important;
        margin-right: 4px;
        white-space: normal !important;
    }

    .admin-user-verify-cell strong::after {
        content: ':';
    }

    .admin-user-verify-cell span::after {
        content: ' ';
    }

    .admin-point-form {
        display: grid !important;
        grid-template-columns: 72px minmax(76px, 1fr) 44px !important;
        gap: 4px !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .admin-point-form input {
        height: 31px !important;
        min-width: 0 !important;
        padding: 6px 7px !important;
        border-radius: 8px !important;
        font-size: 11px !important;
    }

    .admin-point-form .btn {
        height: 31px !important;
        padding: 6px 7px !important;
    }

    .admin-user-actions {
        max-width: none !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    .admin-user-actions .btn {
        flex: 0 0 auto;
    }

    /* 공실관리 상단 통계 카드 압축 */
    body:has(.admin-property-stats) .admin-property-stats,
    body:has(.admin-property-stats) .stats {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }

    body:has(.admin-property-stats) .stat-box,
    body:has(.admin-property-stats) .admin-stat-card {
        min-height: 86px !important;
        padding: 14px 16px !important;
        border-radius: 14px !important;
    }

    /* 공실관리 테이블 칼럼 폭 최적화 */
    body:has(.admin-property-stats) table th:nth-child(1),
    body:has(.admin-property-stats) table td:nth-child(1) { width: 44px; }

    body:has(.admin-property-stats) table th:nth-child(2),
    body:has(.admin-property-stats) table td:nth-child(2) { width: 76px; }

    body:has(.admin-property-stats) table th:nth-child(3),
    body:has(.admin-property-stats) table td:nth-child(3) { width: 52px; text-align: center; }

    body:has(.admin-property-stats) table th:nth-child(4),
    body:has(.admin-property-stats) table td:nth-child(4) { width: 110px; }

    body:has(.admin-property-stats) table th:nth-child(5),
    body:has(.admin-property-stats) table td:nth-child(5) { width: 128px; }

    body:has(.admin-property-stats) table th:nth-child(6),
    body:has(.admin-property-stats) table td:nth-child(6) {
        width: 240px !important;
        max-width: 240px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body:has(.admin-property-stats) table th:nth-child(7),
    body:has(.admin-property-stats) table td:nth-child(7) { width: 220px !important; }

    body:has(.admin-property-stats) table th:nth-child(8),
    body:has(.admin-property-stats) table td:nth-child(8) { width: 110px !important; }

    body:has(.admin-property-stats) table th:nth-child(9),
    body:has(.admin-property-stats) table td:nth-child(9) { width: 90px !important; }

    body:has(.admin-property-stats) table th:nth-child(10),
    body:has(.admin-property-stats) table td:nth-child(10) {
        width: 258px !important;
        min-width: 258px !important;
    }

    body:has(.admin-property-stats) table td:nth-child(4),
    body:has(.admin-property-stats) table td:nth-child(5),
    body:has(.admin-property-stats) table td:nth-child(6),
    body:has(.admin-property-stats) table td:nth-child(7) {
        font-size: 12px !important;
    }

    body:has(.admin-property-stats) table .actions,
    body:has(.admin-property-stats) table td:last-child {
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body:has(.admin-property-stats) table .actions {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 5px !important;
        max-width: none !important;
        width: 100% !important;
    }

    body:has(.admin-property-stats) table td:last-child .btn {
        min-width: 0 !important;
        padding: 7px 9px !important;
        font-size: 12px !important;
        border-radius: 9px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 920px) {
    .admin-users-section .wide-container,
    body:has(.admin-property-stats) .container,
    body:has(.admin-property-stats) .wide-container {
        width: calc(100% - 16px) !important;
        max-width: none !important;
    }

    .admin-users-table-wrap,
    body:has(.admin-property-stats) .table-wrap {
        overflow-x: auto !important;
    }

    .admin-users-table {
        min-width: 1480px !important;
    }

    body:has(.admin-property-stats) table {
        min-width: 980px !important;
    }
}

/* 사이트 로고 이미지 적용 */
.site-header .header-inner {
    min-height: 118px;
    align-items: center;
}

.logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-image-only {
    flex: 0 0 auto;
}

.logo-main-image {
    display: block;
    width: 320px;
    height: auto;
    max-height: 96px;
    object-fit: contain;
}

.logo-image-wrap,
.logo-image,
.logo-text-wrap {
    display: none;
}

@media (max-width: 920px) {
    .site-header .container.header-inner {
        width: 100% !important;
        max-width: none !important;
        min-height: 84px !important;
        height: auto !important;
        padding: 10px 12px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .site-header .logo {
        flex: 0 0 auto !important;
        max-width: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 auto 0 0 !important;
        padding: 0 !important;
    }

    .site-header .logo-main-image {
        width: 210px !important;
        max-height: 66px !important;
        height: auto !important;
        margin-left: 0 !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .site-header .mobile-menu-toggle {
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    .site-header .nav {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .site-header .container.header-inner {
        min-height: 84px !important;
        padding: 10px 12px !important;
    }

    .site-header .logo-main-image {
        width: 210px !important;
        max-height: 66px !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 380px) {
    .site-header .logo-main-image {
        width: 190px !important;
        max-height: 60px !important;
        margin-left: 0 !important;
    }
}


/* 복층/부가세 별도 표시 */
.vat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 27px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.property-type-extra-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.vat-option-row {
    display: none !important;
}

.vat-option-row.is-visible {
    display: inline-flex !important;
}

@media (max-width: 768px) {
    .vat-badge {
        min-width: 58px;
        height: 26px;
        padding: 0 8px;
        font-size: 11px;
    }
}


/* 상가 평수 표시 */
.store-area-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 27px;
    padding: 0 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #86efac;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.store-area-row {
    display: none;
    width: min(360px, 100%);
    margin-top: 12px;
}

.store-area-row.is-visible {
    display: block;
}

.store-area-row label {
    margin-bottom: 7px;
}

@media (max-width: 768px) {
    .store-area-badge {
        min-width: 54px;
        height: 26px;
        padding: 0 8px;
        font-size: 11px;
    }

    .store-area-row {
        width: 100%;
    }
}

/* 상단 공실등록요청 배너 */
.header-brand-area {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.header-request-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
    white-space: nowrap;
}

.header-request-banner:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.header-request-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
}

.header-request-banner strong {
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.header-request-banner small {
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}


/* 헤더 인기글 티커 */
.header-popular-ticker {
    flex: 1 1 360px;
    min-width: 240px;
    max-width: 620px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    border: 1px solid #fed7aa;
    color: #111827;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.10);
    overflow: hidden;
}

.header-popular-ticker:hover {
    background: linear-gradient(135deg, #ffedd5, #fef3c7);
    border-color: #fdba74;
    transform: translateY(-1px);
}

.header-popular-ticker.is-empty {
    opacity: 0.82;
}

.header-popular-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.header-popular-mask {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 22px;
    overflow: hidden;
    white-space: nowrap;
}

.header-popular-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.header-popular-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-popular-rank {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 21px;
    padding: 0 7px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
}

.header-popular-title,
.header-popular-slide-text {
    display: block;
    min-width: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -0.035em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-popular-ticker:hover .header-popular-slide-text,
.header-popular-ticker:hover .header-popular-title {
    color: #9a3412;
}

.header-popular-ticker.is-empty .header-popular-mask {
    height: auto;
}

.header-popular-ticker.is-empty .header-popular-title {
    position: static;
}

@media (max-width: 920px) {
    .header-brand-area {
        max-width: calc(100% - 58px);
        gap: 8px;
    }

    .header-request-banner {
        min-height: 38px;
        padding: 7px 9px;
        border-radius: 13px;
        gap: 6px;
    }

    .header-request-kicker {
        display: none;
    }

    .header-request-banner strong {
        font-size: 13px;
    }

    .header-request-banner small {
        display: none;
    }

    .header-popular-mask {
        height: 18px;
    }

    .header-popular-slide {
        gap: 6px;
    }

    .header-popular-rank {
        min-width: 25px;
        height: 18px;
        padding: 0 6px;
        font-size: 10px;
    }

    .header-popular-title,
    .header-popular-slide-text {
        font-size: 12px;
        line-height: 1.2;
    }
}

@media (max-width: 420px) {
    .header-brand-area {
        gap: 6px;
    }

    .header-request-banner {
        padding: 7px 8px;
    }

    .header-request-banner strong {
        font-size: 12px;
    }
}


/* 모바일 헤더 인기글/공실등록요청 위치 보정 */
@media (max-width: 920px) {
    .site-header .container.header-inner {
        flex-wrap: nowrap !important;
    }

    .site-header .header-brand-area {
        flex: 1 1 auto !important;
        max-width: none !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "logo ticker request";
        align-items: center !important;
        gap: 8px !important;
    }

    .site-header .logo {
        grid-area: logo;
        margin: 0 !important;
    }

    .site-header .logo-main-image {
        width: 150px !important;
        max-height: 52px !important;
    }

    .site-header .header-request-banner {
        grid-area: request;
        justify-self: end;
        min-height: 36px !important;
        padding: 7px 10px !important;
        border-radius: 13px !important;
        gap: 0 !important;
    }

    .site-header .header-request-banner strong {
        font-size: 12px !important;
        letter-spacing: -0.05em;
    }

    .site-header .header-popular-ticker {
        grid-area: ticker;
        justify-self: stretch;
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
        height: 34px;
        padding: 6px 9px;
        gap: 6px;
        box-shadow: 0 8px 18px rgba(249, 115, 22, 0.08);
    }

    .site-header .header-popular-label {
        height: 21px;
        padding: 0 7px;
        font-size: 10px;
    }

    .site-header .header-popular-title {
        display: inline-block;
        min-width: max-content;
        font-size: 12px;
        animation: headerPopularTickerMobile 12s linear infinite;
    }

    .site-header .header-login-actions,
    .site-header .guest-mobile-actions {
        flex: 0 0 auto !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 430px) {
    .site-header .container.header-inner {
        gap: 7px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .site-header .header-brand-area {
        grid-template-columns: auto minmax(48px, 1fr) auto;
        gap: 6px !important;
    }

    .site-header .logo-main-image {
        width: 132px !important;
        max-height: 48px !important;
    }

    .site-header .header-request-banner {
        padding: 7px 8px !important;
    }

    .site-header .header-request-banner strong {
        font-size: 11px !important;
    }

    .site-header .header-popular-ticker {
        height: 32px;
        padding: 5px 7px;
    }

    .site-header .header-popular-label {
        display: none;
    }

    .site-header .header-popular-title {
        font-size: 11px;
    }
}

@media (max-width: 370px) {
    .site-header .logo-main-image {
        width: 116px !important;
        max-height: 44px !important;
    }

    .site-header .header-request-banner strong {
        font-size: 10px !important;
    }
}

@keyframes headerPopularTickerMobile {
    0% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% + 100px));
    }
}


/* 헤더 메뉴 한줄 유지 확장 */
@media (min-width: 921px) {
    .site-header .container.header-inner {
        width: min(1740px, calc(100% - 28px)) !important;
        max-width: none !important;
        height: 78px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding-left: 0;
        padding-right: 0;
    }

    .site-header .header-brand-area {
        flex: 1 1 auto;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .site-header .logo {
        flex: 0 0 auto;
    }

    .site-header .logo-main-image {
        width: 238px;
        max-height: 72px;
        height: auto;
        object-fit: contain;
    }

    .site-header .header-request-banner {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 7px 11px;
        border-radius: 14px;
        gap: 7px;
    }

    .site-header .header-request-kicker {
        height: 22px;
        padding: 0 7px;
        font-size: 10px;
    }

    .site-header .header-request-banner strong {
        font-size: 14px;
        letter-spacing: -0.04em;
    }

    .site-header .header-request-banner small {
        font-size: 11px;
    }

    .site-header .nav {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 5px;
        white-space: nowrap;
        font-size: 14px;
    }

    .site-header .nav a {
        flex: 0 0 auto;
        padding: 8px 8px;
        border-radius: 9px;
        white-space: nowrap;
    }

    .site-header .nav a.btn,
    .site-header .nav .btn-small {
        padding: 8px 10px;
    }

    .site-header .mobile-menu-toggle {
        display: none;
    }

    .site-header .header-popular-ticker {
        flex: 1 1 360px;
        min-width: 240px;
        max-width: 620px;
    }

    .site-header .guest-desktop-nav,
    .site-header .header-login-actions {
        flex: 0 0 auto;
    }

}

@media (min-width: 1200px) {
    .site-header .nav {
        gap: 7px;
        font-size: 15px;
    }

    .site-header .nav a {
        padding: 9px 10px;
    }

    .site-header .nav a.btn,
    .site-header .nav .btn-small {
        padding: 8px 11px;
    }
}

@media (min-width: 1500px) {
    .site-header .container.header-inner {
        width: min(1840px, calc(100% - 32px)) !important;
        gap: 22px;
    }

    .site-header .header-brand-area {
        gap: 16px;
    }

    .site-header .header-popular-ticker {
        max-width: 720px;
    }

    .site-header .logo-main-image {
        width: 270px;
        max-height: 82px;
    }

    .site-header .header-request-banner {
        min-height: 46px;
        padding: 8px 14px;
        gap: 8px;
    }

    .site-header .header-request-banner strong {
        font-size: 15px;
    }

    .site-header .header-request-banner small {
        font-size: 12px;
    }

    .site-header .nav {
        gap: 10px;
        font-size: 15px;
    }

    .site-header .nav a {
        padding: 9px 11px;
    }
}

@media (max-width: 920px) {
    .site-header .container.header-inner {
        width: min(100% - 24px, 430px);
    }
}

/* 왼쪽 독립 광고배너 3단 구성 */
.ad-left-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-self: start;
}

.ad-left-stack .inline-ad-banner {
    width: 100%;
}

.ad-left-stack .inline-ad-link {
    min-height: 122px;
}

.ad-inquiry-ad-link {
    background: linear-gradient(135deg, #14532d, #16a34a);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 42px rgba(22, 163, 74, 0.24);
}

.ad-inquiry-ad-link::after {
    background: rgba(255, 255, 255, 0.12);
}

.ad-inquiry-ad-link:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 52px rgba(22, 163, 74, 0.34);
}

.ad-inquiry-ad-link .inline-ad-label {
    background: rgba(255, 255, 255, 0.16);
    color: #dcfce7;
}

.ad-inquiry-ad-link strong {
    color: #ffffff;
    font-size: 22px;
}

.ad-inquiry-ad-link p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.ad-inquiry-ad-link .inline-ad-button {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ad-inquiry-ad-link .inline-ad-button:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1500px) {
    .ad-left-stack {
        display: none;
    }
}

/* 모바일 공실목록 월세 보조문구 줄바꿈 강제 */
@media (max-width: 768px) {
    .mobile-info-grid .mobile-info-item,
    .mobile-info-grid > div,
    .mobile-info-grid > span,
    .mobile-info-grid > p,
    .mobile-property-card .mobile-info-item,
    .mobile-property-card .info-item,
    .mobile-property-card .property-info-item {
        min-width: 0 !important;
        overflow: visible !important;
    }

    .mobile-info-grid small,
    .mobile-property-card small,
    .mobile-property-card .price small,
    .mobile-property-card .mobile-price small,
    .mobile-property-card .property-price small {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 3px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }

    .mobile-info-grid .price,
    .mobile-info-grid .mobile-price,
    .mobile-info-grid strong,
    .mobile-property-card .price,
    .mobile-property-card .mobile-price,
    .mobile-property-card strong {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: clip !important;
    }

    .mobile-info-grid [class*="rent"],
    .mobile-property-card [class*="rent"],
    .mobile-info-grid [class*="price"],
    .mobile-property-card [class*="price"] {
        min-width: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: clip !important;
    }
}


/* 모바일 상단 생활/공공 배너 가로형 압축 */
@media (max-width: 768px) {
    .hero-side-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 12px !important;
    }

    .hero-side-banner,
    .hero-side-banner-wide,
    .hero-energy-banner {
        width: 100% !important;
        min-height: 0 !important;
    }

    .gov-banner,
    .energy-banner {
        min-height: 0 !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-areas:
            "label title button"
            "label desc button" !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 2px !important;
        padding: 13px 14px !important;
        border-radius: 18px !important;
    }

    .gov-banner::after,
    .energy-banner::after {
        width: 78px !important;
        height: 78px !important;
        right: -28px !important;
        top: -34px !important;
        opacity: 0.7 !important;
    }

    .gov-banner-label,
    .energy-banner-label {
        grid-area: label !important;
        align-self: center !important;
        width: 52px !important;
        min-width: 52px !important;
        height: 28px !important;
        padding: 0 7px !important;
        margin: 0 !important;
        border-radius: 999px !important;
        font-size: 11px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .gov-banner h3 {
        grid-area: title !important;
        margin: 0 !important;
        font-size: 18px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.05em !important;
        min-width: 0 !important;
    }

    .energy-banner strong {
        grid-area: title !important;
        margin: 0 !important;
        font-size: 18px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.05em !important;
        min-width: 0 !important;
    }

    .gov-banner p,
    .energy-banner p {
        grid-area: desc !important;
        margin: 2px 0 0 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        min-width: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .gov-banner-button,
    .energy-banner-button {
        grid-area: button !important;
        width: auto !important;
        min-width: 76px !important;
        height: 34px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        align-self: center !important;
        justify-self: end !important;
    }

    .hero-energy-stack {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 390px) {
    .gov-banner,
    .energy-banner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "title button"
            "desc button" !important;
        padding: 12px 13px !important;
    }

    .gov-banner-label,
    .energy-banner-label {
        display: none !important;
    }

    .gov-banner h3,
    .energy-banner strong {
        font-size: 17px !important;
    }

    .gov-banner-button,
    .energy-banner-button {
        min-width: 70px !important;
        height: 32px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
    }
}


/* 모바일 히어로배너 압축 및 공공배너 문구 표시 개선 */
@media (max-width: 768px) {
    .hero {
        padding: 14px 0 10px !important;
    }

    .hero-layout {
        gap: 12px !important;
    }

    .hero-box {
        padding: 22px 20px !important;
        border-radius: 22px !important;
    }

    .hero-box::after {
        right: -74px !important;
        top: -92px !important;
        width: 210px !important;
        height: 210px !important;
    }

    .hero-kicker {
        padding: 7px 11px !important;
        margin-bottom: 12px !important;
        font-size: 12px !important;
    }

    .hero h1 {
        margin-bottom: 10px !important;
        font-size: 28px !important;
        line-height: 1.13 !important;
        letter-spacing: -0.06em !important;
    }

    .hero p {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        margin-top: 18px !important;
    }

    .hero-actions .btn {
        min-height: 46px !important;
        padding: 11px 14px !important;
        border-radius: 13px !important;
        font-size: 15px !important;
    }

    .stats {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        margin-top: 16px !important;
    }

    .stat-box {
        padding: 12px 14px !important;
        border-radius: 15px !important;
    }

    .stat-box strong {
        font-size: 21px !important;
    }

    .stat-box span {
        font-size: 12px !important;
    }

    .gov-banner,
    .energy-banner {
        grid-template-columns: minmax(48px, auto) minmax(0, 1fr) auto !important;
        column-gap: 9px !important;
        padding: 12px 13px !important;
    }

    .gov-banner p,
    .energy-banner p {
        display: block !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: initial !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .gov-banner-button,
    .energy-banner-button {
        min-width: 58px !important;
        height: 32px !important;
        padding: 0 9px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: 26px !important;
    }

    .hero-box {
        padding: 20px 18px !important;
    }

    .gov-banner,
    .energy-banner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "title button"
            "desc button" !important;
    }

    .gov-banner-label,
    .energy-banner-label {
        display: none !important;
    }
}


/* 모바일 히어로 통계 3개 한줄 표시 */
@media (max-width: 768px) {
    .hero .stats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 14px !important;
        width: 100% !important;
    }

    .hero .stat-box {
        min-width: 0 !important;
        height: 62px !important;
        padding: 9px 6px !important;
        border-radius: 13px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero .stat-box strong {
        display: block !important;
        width: 100% !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero .stat-box span {
        display: block !important;
        width: 100% !important;
        margin-top: 4px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

@media (max-width: 360px) {
    .hero .stats {
        gap: 5px !important;
    }

    .hero .stat-box {
        height: 58px !important;
        padding: 8px 4px !important;
        border-radius: 12px !important;
    }

    .hero .stat-box strong {
        font-size: 16px !important;
    }

    .hero .stat-box span {
        font-size: 10px !important;
    }
}


/* 모바일 히어로 하단 광고배너 2열 표시 */
.mobile-hero-ad-grid {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hero-ad-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 10px !important;
        width: 100% !important;
    }

    .mobile-hero-ad-card {
        min-width: 0 !important;
        min-height: 86px !important;
        height: 86px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        gap: 5px !important;
        padding: 12px 13px !important;
        border-radius: 18px !important;
        color: #ffffff !important;
        overflow: hidden !important;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14) !important;
    }

    .mobile-hero-ad-card span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 22px !important;
        padding: 0 8px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        font-size: 10px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .mobile-hero-ad-card strong {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        font-size: 15px !important;
        font-weight: 950 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.05em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mobile-hero-ad-card small {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mobile-inquiry-ad {
        background: linear-gradient(135deg, #0f172a, #1d4ed8) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
    }

    .mobile-inquiry-ad {
        background: linear-gradient(135deg, #14532d, #16a34a) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
    }

    .ad-left-stack {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .mobile-hero-ad-grid {
        gap: 8px !important;
    }

    .mobile-hero-ad-card {
        min-height: 78px !important;
        height: 78px !important;
        padding: 10px 11px !important;
        border-radius: 16px !important;
    }

    .mobile-hero-ad-card span {
        height: 20px !important;
        padding: 0 7px !important;
        font-size: 9px !important;
    }

    .mobile-hero-ad-card strong {
        font-size: 14px !important;
    }

    .mobile-hero-ad-card small {
        font-size: 11px !important;
    }
}


/* 모바일 최근등록공실 순환영역 숨김 */
@media (max-width: 768px) {
    .mobile-recent-section {
        display: none !important;
    }
}

/* 포인트샵 최신화 */
.point-shop-page {
    padding-top: 34px;
    padding-bottom: 64px;
}

.point-shop-head {
    margin-bottom: 20px;
}

.point-shop-head h1 {
    margin: 0 0 10px;
    font-size: 32px;
    letter-spacing: -0.05em;
}

.point-shop-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
    font-weight: 700;
}

.point-summary-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px;
    margin: 20px 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.point-summary-user strong {
    display: block;
    font-size: 21px;
    letter-spacing: -0.035em;
}

.point-summary-user span {
    display: inline-flex;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
}

.point-summary-number {
    text-align: right;
    color: #374151;
    font-size: 14px;
    font-weight: 900;
}

.point-summary-number strong {
    display: block;
    margin-top: 5px;
    color: var(--blue);
    font-size: 27px;
    letter-spacing: -0.04em;
}

.point-shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 20px;
}

.point-shop-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.point-shop-tabs a:hover {
    background: #eef2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.point-shop-tabs a.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.point-shop-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.point-shop-guide-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.point-shop-guide-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    letter-spacing: -0.03em;
}

.point-shop-guide-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}

.point-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.point-item-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 250px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.point-item-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.point-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.point-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
}

.point-category-common {
    background: #eef2ff;
    color: #3730a3;
}

.point-category-general {
    background: #ecfdf5;
    color: #047857;
}

.point-category-landlord {
    background: #fff7ed;
    color: #c2410c;
}

.point-category-agent {
    background: #fdf2f8;
    color: #be185d;
}

.point-item-price {
    color: var(--blue);
    font-size: 19px;
    font-weight: 950;
    white-space: nowrap;
}

.point-item-card h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.04em;
    line-height: 1.35;
}

.point-item-card p {
    flex: 1;
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
    font-size: 14px;
    font-weight: 700;
}

.point-item-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.point-item-actions {
    margin-top: auto;
}

.point-redeem-btn {
    width: 100%;
    min-height: 43px;
    border: 0;
    border-radius: 13px;
    background: var(--blue);
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.point-redeem-btn:hover {
    background: var(--blue-dark);
}

.btn-disabled {
    width: 100%;
    min-height: 43px;
    padding: 11px 14px;
    border: 0;
    border-radius: 13px;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 14px;
    font-weight: 900;
    cursor: not-allowed;
}

.point-shop-empty {
    padding: 34px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

.alert {
    padding: 14px 16px;
    margin: 16px 0;
    border-radius: 12px;
    font-weight: 800;
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .point-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .point-shop-guide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .point-shop-page {
        padding-top: 22px;
    }

    .point-shop-head h1 {
        font-size: 27px;
    }

    .point-summary-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .point-summary-number {
        text-align: left;
    }

    .point-shop-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .point-shop-tabs a {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .point-shop-grid {
        grid-template-columns: 1fr;
    }

    .point-item-card {
        min-height: auto;
    }
}

/* 포인트샵 카테고리 버튼 강화 */
.point-shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 20px;
}

.point-shop-tabs a {
    position: relative;
    min-width: 120px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
}

.point-shop-tabs a::before {
    display: block;
    margin-bottom: 7px;
    font-size: 22px;
}

.point-shop-tabs a[href*="all"]::before {
    content: "🛍️";
}

.point-shop-tabs a[href*="common"]::before {
    content: "✨";
}

.point-shop-tabs a[href*="general"]::before {
    content: "🏠";
}

.point-shop-tabs a[href*="landlord"]::before {
    content: "📢";
}

.point-shop-tabs a[href*="agent"]::before {
    content: "💼";
}

.point-shop-tabs a:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
    background: #f8fbff;
}

.point-shop-tabs a.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
}

.point-shop-tabs a.active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.18);
}

.point-shop-guide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.point-shop-guide-card {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

.point-shop-guide-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    color: #111827;
}

.point-shop-guide-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
    font-size: 14px;
}

@media (max-width: 768px) {
    .point-shop-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .point-shop-tabs a {
        min-width: 0;
        padding: 14px 12px;
        font-size: 14px;
        border-radius: 16px;
    }

    .point-shop-tabs a::before {
        font-size: 20px;
    }

    .point-shop-guide {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   2026-05 모바일 헤더/공공배너 실기기 보정
   - 로그인 상태 모바일 헤더: 로고/아이콘/포인트/햄버거 겹침 방지
   - 실제 휴대폰 브라우저에서 정부24/인터넷등기소/대성에너지/한전ON 배너 문구 넘침 방지
   ========================================================= */

@media (max-width: 920px) {
    .site-header .header-inner:has(.header-login-actions) {
        height: auto !important;
        min-height: 74px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 12px 0 !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-brand-area {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        gap: 0 !important;
    }

    .site-header .header-inner:has(.header-login-actions) .logo {
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    .site-header .header-inner:has(.header-login-actions) .logo-main-image {
        width: 142px !important;
        max-width: 42vw !important;
        height: auto !important;
        display: block !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-request-banner {
        display: none !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-login-actions {
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        margin-left: auto !important;
        min-width: 0 !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-user-pill {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 14px !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-user-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 12px !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-user-name {
        display: none !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-point-pill {
        height: 38px !important;
        min-width: 48px !important;
        padding: 0 8px !important;
        border-radius: 14px !important;
        font-size: 12px !important;
        justify-content: center !important;
    }

    .site-header .header-inner:has(.header-login-actions) .login-menu-toggle {
        width: 40px !important;
        height: 38px !important;
        min-width: 40px !important;
        border-radius: 14px !important;
    }

    .site-header .header-inner:has(.header-login-actions) .login-only-nav {
        top: calc(100% + 8px) !important;
        left: 12px !important;
        right: 12px !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .site-header .header-inner:not(:has(.header-login-actions)) {
        height: auto !important;
        padding: 16px 0 !important;
    }
}

@media (max-width: 380px) {
    .site-header .header-inner:has(.header-login-actions) .logo-main-image {
        width: 128px !important;
        max-width: 39vw !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-login-actions {
        gap: 5px !important;
    }

    .site-header .header-inner:has(.header-login-actions) .header-point-pill {
        min-width: 44px !important;
        padding: 0 7px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 768px) {
    .hero-side-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-top: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .hero-side-banner,
    .hero-side-banner-wide,
    .hero-energy-stack,
    .hero-energy-banner {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
    }

    .hero-energy-stack {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 10px !important;
    }

    .gov-banner,
    .energy-banner {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 86px !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "title button"
            "desc button" !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 4px !important;
        padding: 16px 14px 15px !important;
        border-radius: 22px !important;
        overflow: hidden !important;
    }

    .gov-banner-label,
    .energy-banner-label {
        display: none !important;
    }

    .gov-banner h3,
    .energy-banner strong {
        grid-area: title !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: clamp(20px, 6.2vw, 28px) !important;
        line-height: 1.14 !important;
        letter-spacing: -0.065em !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: anywhere !important;
        overflow: visible !important;
    }

    .gov-banner p,
    .energy-banner p {
        grid-area: desc !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: clamp(13px, 3.7vw, 17px) !important;
        line-height: 1.28 !important;
        letter-spacing: -0.04em !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow: visible !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: initial !important;
    }

    .gov-banner-button,
    .energy-banner-button {
        grid-area: button !important;
        align-self: center !important;
        justify-self: end !important;
        width: auto !important;
        min-width: 74px !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border-radius: 16px !important;
        font-size: 15px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .gov-banner::after,
    .energy-banner::after {
        width: 132px !important;
        height: 132px !important;
        right: -52px !important;
        top: -60px !important;
        opacity: 0.65 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 430px) {
    .gov-banner,
    .energy-banner {
        min-height: 86px !important;
        padding: 15px 13px !important;
        column-gap: 9px !important;
        border-radius: 20px !important;
    }

    .gov-banner h3,
    .energy-banner strong {
        font-size: 24px !important;
        line-height: 1.12 !important;
    }

    .gov-banner p,
    .energy-banner p {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    .gov-banner-button,
    .energy-banner-button {
        min-width: 60px !important;
        height: 42px !important;
        padding: 0 12px !important;
        border-radius: 14px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 360px) {
    .gov-banner,
    .energy-banner {
        min-height: 80px !important;
        padding: 13px 12px !important;
    }

    .gov-banner h3,
    .energy-banner strong {
        font-size: 20px !important;
        letter-spacing: -0.06em !important;
    }

    .gov-banner p,
    .energy-banner p {
        font-size: 13px !important;
    }

    .gov-banner-button,
    .energy-banner-button {
        min-width: 54px !important;
        height: 38px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }
}

/* 커뮤니티 모바일 리스트 재정렬 최종 */
.community-mobile-meta,
.community-mobile-author,
.community-mobile-stats {
    display: none;
}

.community-date-mobile {
    display: none;
}

.community-date-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .community-list-table {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    }

    .community-list-header {
        display: none !important;
    }

    .community-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "meta author"
            "title title"
            "stats stats" !important;
        column-gap: 10px !important;
        row-gap: 7px !important;
        min-height: 0 !important;
        padding: 12px 14px !important;
        border-bottom: 1px solid var(--line);
        align-items: center !important;
        color: #111827;
    }

    .community-row:last-child {
        border-bottom: 0;
    }

    .community-row:hover {
        background: #ffffff;
    }

    .community-mobile-meta {
        grid-area: meta !important;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .community-mobile-author {
        grid-area: author !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        min-width: 0 !important;
        max-width: 112px !important;
        overflow: hidden !important;
        color: #1d4ed8 !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .community-mobile-avatar {
        display: inline-grid !important;
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
        margin: 0 !important;
        transform: none !important;
        font-size: 10px !important;
        background: #eef2ff !important;
    }

    .community-mobile-author-name {
        display: inline-block !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .notice-badge,
    .community-category {
        flex: 0 0 auto !important;
        padding: 5px 8px !important;
        font-size: 11px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .community-row-date {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 5px 8px !important;
        border-radius: 999px !important;
        background: #f3f4f6 !important;
        border: 1px solid #e5e7eb !important;
        color: #6b7280 !important;
        font-size: 11px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }

    .community-date-desktop {
        display: none !important;
    }

    .community-date-mobile {
        display: inline !important;
    }

    .community-row-title {
        grid-area: title !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        color: #111827 !important;
        font-size: 15px !important;
        font-weight: 950 !important;
        line-height: 1.38 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        word-break: keep-all !important;
        overflow-wrap: anywhere !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .community-mobile-stats {
        grid-area: stats !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        color: #6b7280 !important;
        font-size: 11px !important;
        font-weight: 850 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .community-mobile-stats span {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        padding: 5px 8px !important;
        border-radius: 999px !important;
        background: #f9fafb !important;
        border: 1px solid var(--line) !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .community-row-category,
    .community-row-writer,
    .community-row > .community-row-date,
    .community-row > .community-row-stat {
        display: none !important;
    }

    .deleted-badge,
    .reported-hidden-badge,
    .community-report-count {
        vertical-align: middle !important;
    }

    .notice-item {
        border-left: 3px solid #fb923c !important;
        box-shadow: none !important;
    }
}


/* 프로필 반짝 테두리 꾸미기 아이템 */
.profile-glow-wrap,
.is-profile-glow {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
}

.profile-glow-wrap::before,
.is-profile-glow::before {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 999px;
    background: conic-gradient(from 0deg, #60a5fa, #a78bfa, #f472b6, #facc15, #34d399, #60a5fa);
    animation: profileGlowRotate 2.4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.55));
}

.profile-glow-wrap::after,
.is-profile-glow::after {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -2;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.34), rgba(244, 114, 182, 0.18), transparent 68%);
    animation: profileGlowPulse 1.8s ease-in-out infinite;
}

.profile-glow-wrap > img,
.is-profile-glow > img,
.profile-glow-wrap > .profile-preview-empty {
    position: relative;
    z-index: 1;
    border-radius: 999px;
}

.profile-glow-wrap .profile-preview-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #eef2ff;
}

@keyframes profileGlowRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes profileGlowPulse {
    0%, 100% {
        opacity: 0.68;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-glow-wrap::before,
    .profile-glow-wrap::after,
    .is-profile-glow::before,
    .is-profile-glow::after {
        animation: none;
    }
}


.point-owned-btn {
    text-align: center;
    background: #ecfdf5 !important;
    border-color: #86efac !important;
    color: #047857 !important;
}

/* 프로필 반짝 테두리 미리보기/컬렉션 버튼 */
.profile-glow-preview-card,
.profile-glow-shop-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin: 10px 0 12px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff, #eef2ff);
}

.profile-glow-preview-avatar,
.profile-glow-shop-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: #2563eb;
    font-size: 22px;
}

.profile-glow-preview-avatar img,
.profile-glow-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    display: block;
}

.profile-glow-preview-empty {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef2ff;
}

.profile-glow-preview-text,
.profile-glow-shop-preview strong {
    display: block;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.3;
}

.profile-glow-shop-preview small {
    display: block;
    margin-top: 3px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.collection-action-form {
    margin-top: 12px;
}

.collection-action-form .btn {
    width: 100%;
}

.decoration-result-message {
    margin-bottom: 14px;
}

.point-owned-btn {
    text-align: center;
}

@media (max-width: 768px) {
    .profile-glow-preview-card,
    .profile-glow-shop-preview {
        padding: 12px;
    }

    .profile-glow-preview-avatar,
    .profile-glow-shop-avatar {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}


/* 프로필 꾸미기 확장 슬롯: 하트 이펙트 */
.profile-hearts-wrap,
.is-profile-hearts {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
}

.profile-hearts-wrap > img,
.is-profile-hearts > img,
.profile-hearts-wrap > .profile-preview-empty,
.is-profile-hearts > .profile-preview-empty,
.profile-preview-image,
.header-user-profile-image,
.community-avatar img,
.community-profile-avatar img {
    position: relative;
    z-index: 2;
}

.profile-heart {
    position: absolute;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fb4b8b;
    font-size: 10px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(244, 63, 94, 0.35);
    pointer-events: none;
    opacity: 0;
    animation-name: profileHeartFloat;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

.profile-heart-1 {
    left: -4px;
    bottom: 2px;
    font-size: 9px;
    animation-duration: 2.2s;
    animation-delay: 0s;
    --heart-x: -7px;
}

.profile-heart-2 {
    left: 45%;
    bottom: -3px;
    font-size: 11px;
    animation-duration: 2.7s;
    animation-delay: 0.35s;
    --heart-x: 3px;
}

.profile-heart-3 {
    right: -5px;
    bottom: 4px;
    font-size: 9px;
    animation-duration: 2.35s;
    animation-delay: 0.75s;
    --heart-x: 8px;
}

.profile-heart-4 {
    left: 18%;
    bottom: 0;
    font-size: 8px;
    animation-duration: 2.9s;
    animation-delay: 1.15s;
    --heart-x: -3px;
}

.profile-heart-5 {
    right: 18%;
    bottom: -2px;
    font-size: 12px;
    animation-duration: 3.1s;
    animation-delay: 1.55s;
    --heart-x: 6px;
}

.profile-preview .profile-heart {
    font-size: 15px;
}

.profile-glow-preview-avatar .profile-heart,
.profile-glow-shop-avatar .profile-heart {
    font-size: 13px;
}

.header-user-icon .profile-heart,
.community-avatar .profile-heart,
.community-profile-avatar .profile-heart {
    font-size: 8px;
}

.is-equipped-collection {
    border-color: #fb7185 !important;
    box-shadow: 0 14px 34px rgba(251, 113, 133, 0.16) !important;
}

.is-equipped-collection .collection-badge {
    background: #ffe4e6;
    color: #be123c;
}

.decoration-preview-card,
.decoration-shop-preview {
    overflow: visible;
}

@keyframes profileHeartFloat {
    0% {
        transform: translate3d(0, 4px, 0) scale(0.55) rotate(-8deg);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    55% {
        opacity: 0.95;
    }

    100% {
        transform: translate3d(var(--heart-x, 8px), -28px, 0) scale(1.15) rotate(12deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-heart {
        animation: none !important;
        opacity: 0.7;
    }
}


/* 꾸미기 아이템 슬롯 구분 UI */
.point-shop-decoration-wrap,
.point-shop-normal-wrap {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.point-shop-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 2px;
}

.point-shop-section-head h2 {
    margin: 0 0 6px;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.point-shop-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.point-shop-effect-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.point-shop-effect-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 10px;
    border-bottom: 1px solid #f1f5f9;
}

.point-shop-effect-head strong {
    display: block;
    color: #111827;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.point-shop-effect-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.point-shop-effect-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #475569;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.point-shop-effect-grid {
    margin-top: 0;
}

.point-decoration-card {
    border-color: #dbeafe;
}

.point-decoration-card:hover {
    border-color: #93c5fd;
}

.point-shop-effect-profile_frame {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.point-shop-effect-profile_effect {
    background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
}

.point-shop-effect-nickname_effect {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7ff 100%);
}

.point-shop-effect-comment_effect {
    background: linear-gradient(180deg, #ffffff 0%, #f8fff9 100%);
}

.equipped-slot-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}

.equipped-slot-card {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f9fafb;
}

.equipped-slot-card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

.equipped-slot-card strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.equipped-slot-card small {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.equipped-slot-card.is-equipped {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.equipped-slot-card.is-equipped span,
.equipped-slot-card.is-equipped small {
    color: #1d4ed8;
}

.collection-slot-guide {
    margin: 0 0 14px;
    padding: 13px 15px;
    border-radius: 15px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.6;
}

.collection-slot-list {
    display: grid;
    gap: 18px;
}

.collection-slot-section {
    display: grid;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.collection-slot-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.collection-slot-head h4 {
    margin: 0 0 5px;
    font-size: 17px;
    letter-spacing: -0.035em;
}

.collection-slot-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.collection-slot-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #475569;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.collection-slot-empty {
    margin: 0;
    padding: 18px;
    font-size: 13px;
}

.collection-slot-profile_frame {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.collection-slot-profile_effect {
    background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
}

.collection-slot-nickname_effect {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7ff 100%);
}

.collection-slot-comment_effect {
    background: linear-gradient(180deg, #ffffff 0%, #f8fff9 100%);
}

@media (max-width: 920px) {
    .equipped-slot-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .point-shop-section-head,
    .point-shop-effect-head,
    .collection-slot-head {
        flex-direction: column;
    }

    .point-shop-effect-head > span,
    .collection-slot-head > span {
        align-self: flex-start;
    }
}

@media (max-width: 520px) {
    .equipped-slot-overview {
        grid-template-columns: 1fr;
    }

    .point-shop-effect-section,
    .collection-slot-section {
        padding: 13px;
    }
}


/* 추가 꾸미기 아이템: 프레임/이펙트/닉네임/댓글 */
.is-profile-gold-frame,
.profile-gold-frame-wrap {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
    border: 0 !important;
    box-shadow: none !important;
}

.is-profile-gold-frame::before,
.profile-gold-frame-wrap::before {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 999px;
    background: conic-gradient(from 0deg, #92400e, #f59e0b, #facc15, #fde68a, #f59e0b, #92400e);
    animation: profileGoldRotate 3s linear infinite;
    filter: drop-shadow(0 0 7px rgba(245, 158, 11, 0.55));
    pointer-events: none;
}

.is-profile-gold-frame::after,
.profile-gold-frame-wrap::after {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -2;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.30), rgba(245, 158, 11, 0.12), transparent 70%);
    animation: profileGoldPulse 1.9s ease-in-out infinite;
    pointer-events: none;
}

.is-profile-gold-frame > img,
.profile-gold-frame-wrap > img,
.is-profile-gold-frame > .profile-preview-empty,
.profile-gold-frame-wrap > .profile-preview-empty,
.is-profile-gold-frame > .profile-glow-preview-empty,
.profile-gold-frame-wrap > .profile-glow-preview-empty {
    position: relative;
    z-index: 2;
    border-radius: 999px;
}

.is-profile-diamond-frame,
.profile-diamond-frame-wrap {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
    border: 0 !important;
    box-shadow: none !important;
}

.is-profile-diamond-frame::before,
.profile-diamond-frame-wrap::before {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    border-radius: 999px;
    background: conic-gradient(from 0deg, #0ea5e9, #67e8f9, #dbeafe, #38bdf8, #a78bfa, #67e8f9, #0ea5e9);
    animation: profileDiamondRotate 2.6s linear infinite;
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.58));
    pointer-events: none;
}

.is-profile-diamond-frame::after,
.profile-diamond-frame-wrap::after {
    content: "◆";
    position: absolute;
    right: -7px;
    top: -8px;
    z-index: 5;
    color: #0ea5e9;
    font-size: 12px;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.9);
    animation: profileDiamondSpark 1.45s ease-in-out infinite;
    pointer-events: none;
}

.is-profile-diamond-frame > img,
.profile-diamond-frame-wrap > img,
.is-profile-diamond-frame > .profile-preview-empty,
.profile-diamond-frame-wrap > .profile-preview-empty,
.is-profile-diamond-frame > .profile-glow-preview-empty,
.profile-diamond-frame-wrap > .profile-glow-preview-empty {
    position: relative;
    z-index: 2;
    border-radius: 999px;
}

.profile-stars-wrap,
.is-profile-stars,
.profile-snow-wrap,
.is-profile-snow {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
}

.profile-stars-wrap > img,
.is-profile-stars > img,
.profile-stars-wrap > .profile-preview-empty,
.is-profile-stars > .profile-preview-empty,
.profile-snow-wrap > img,
.is-profile-snow > img,
.profile-snow-wrap > .profile-preview-empty,
.is-profile-snow > .profile-preview-empty {
    position: relative;
    z-index: 2;
}

.profile-star,
.profile-snow {
    position: absolute;
    z-index: 8;
    pointer-events: none;
    line-height: 1;
    opacity: 0;
}

.profile-star {
    color: #facc15;
    font-size: 11px;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.9);
    animation: profileStarRise 2.8s linear infinite;
}

.profile-snow {
    color: #60a5fa;
    font-size: 11px;
    text-shadow: 0 0 8px rgba(191, 219, 254, 0.95);
    animation: profileSnowFall 3.2s linear infinite;
}

.profile-star-1,
.profile-snow-1 {
    left: -7px;
    top: 12px;
    animation-delay: 0s;
}

.profile-star-2,
.profile-snow-2 {
    left: 8px;
    top: -6px;
    animation-delay: 0.45s;
}

.profile-star-3,
.profile-snow-3 {
    right: -7px;
    top: 9px;
    animation-delay: 0.9s;
}

.profile-star-4,
.profile-snow-4 {
    left: 2px;
    bottom: -5px;
    animation-delay: 1.35s;
}

.profile-star-5,
.profile-snow-5 {
    right: 3px;
    bottom: -6px;
    animation-delay: 1.8s;
}

.is-nickname-rainbow {
    display: inline-block;
    font-weight: 950 !important;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e, #06b6d4, #6366f1, #ec4899, #ef4444);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: nicknameRainbowFlow 2.8s linear infinite;
}

.comment-item.is-comment-crown {
    border-color: #fbbf24 !important;
    background: linear-gradient(135deg, #fffbeb, #ffffff) !important;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.14);
}

.comment-crown-mark {
    display: inline-block;
    margin-right: 4px;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.55));
    animation: commentCrownBounce 1.8s ease-in-out infinite;
}

.comment-crown-preview {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 5px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    color: #92400e;
    font-size: 12px;
    font-weight: 950;
}

.nickname-rainbow-preview {
    display: inline-block;
    margin-left: 5px;
    font-size: 13px;
    font-weight: 950;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #22c55e, #06b6d4, #6366f1, #ec4899, #ef4444);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: nicknameRainbowFlow 2.8s linear infinite;
}

@keyframes profileGoldRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes profileDiamondRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes profileGoldPulse {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes profileDiamondSpark {
    0%, 100% {
        transform: scale(0.85) rotate(0deg);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.2) rotate(18deg);
        opacity: 1;
    }
}

@keyframes profileStarRise {
    0% {
        transform: translateY(8px) scale(0.65) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-26px) scale(1.15) rotate(120deg);
        opacity: 0;
    }
}

@keyframes profileSnowFall {
    0% {
        transform: translateY(-12px) translateX(0) scale(0.7) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(24px) translateX(8px) scale(1.05) rotate(160deg);
        opacity: 0;
    }
}

@keyframes nicknameRainbowFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 300% 50%;
    }
}

@keyframes commentCrownBounce {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-2px) rotate(5deg);
    }
}

/* 프로필 꾸미기 프레임 잘림 보정 */
.community-avatar,
.community-profile-avatar,
.community-mobile-avatar,
.header-user-icon,
.profile-glow-preview-avatar,
.profile-glow-shop-avatar {
    overflow: visible !important;
}

.community-row,
.community-row-writer,
.community-mobile-author,
.community-list-table {
    overflow: visible !important;
}

.community-avatar.profile-gold-frame-wrap::before,
.community-avatar.profile-diamond-frame-wrap::before,
.community-profile-avatar.profile-gold-frame-wrap::before,
.community-profile-avatar.profile-diamond-frame-wrap::before,
.community-mobile-avatar.profile-gold-frame-wrap::before,
.community-mobile-avatar.profile-diamond-frame-wrap::before,
.header-user-icon.profile-gold-frame-wrap::before,
.header-user-icon.profile-diamond-frame-wrap::before,
.community-avatar.is-profile-gold-frame::before,
.community-avatar.is-profile-diamond-frame::before,
.community-profile-avatar.is-profile-gold-frame::before,
.community-profile-avatar.is-profile-diamond-frame::before,
.community-mobile-avatar.is-profile-gold-frame::before,
.community-mobile-avatar.is-profile-diamond-frame::before,
.header-user-icon.is-profile-gold-frame::before,
.header-user-icon.is-profile-diamond-frame::before {
    inset: -3px !important;
}

.community-avatar.profile-gold-frame-wrap::after,
.community-avatar.profile-diamond-frame-wrap::after,
.community-profile-avatar.profile-gold-frame-wrap::after,
.community-profile-avatar.profile-diamond-frame-wrap::after,
.community-mobile-avatar.profile-gold-frame-wrap::after,
.community-mobile-avatar.profile-diamond-frame-wrap::after,
.header-user-icon.profile-gold-frame-wrap::after,
.header-user-icon.profile-diamond-frame-wrap::after,
.community-avatar.is-profile-gold-frame::after,
.community-avatar.is-profile-diamond-frame::after,
.community-profile-avatar.is-profile-gold-frame::after,
.community-profile-avatar.is-profile-diamond-frame::after,
.community-mobile-avatar.is-profile-gold-frame::after,
.community-mobile-avatar.is-profile-diamond-frame::after,
.header-user-icon.is-profile-gold-frame::after,
.header-user-icon.is-profile-diamond-frame::after {
    inset: -5px !important;
}

.community-avatar > img,
.community-profile-avatar > img,
.community-mobile-avatar > img,
.header-user-icon > img {
    position: relative !important;
    z-index: 2 !important;
    border-radius: 999px !important;
}

@media (max-width: 768px) {
    .community-list-table {
        overflow: visible !important;
        border-radius: 14px;
    }

    .community-row {
        overflow: visible !important;
        padding-right: 18px !important;
    }

    .community-mobile-author {
        overflow: visible !important;
        max-width: 128px !important;
        padding: 5px 0 5px 6px !important;
    }

    .community-mobile-author-name {
        max-width: 86px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .community-mobile-avatar {
        overflow: visible !important;
        margin: 2px 3px 2px 4px !important;
    }
}


/* 메인페이지 커뮤니티 인기글 TOP5 */
.popular-community-section {
    display: block !important;
    padding-top: 6px;
    padding-bottom: 26px;
}

.popular-community-main {
    display: block !important;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.popular-community-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #eef6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
}

.popular-community-card::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.popular-community-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.popular-community-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 12px;
    font-weight: 950;
}

.popular-community-head h2 {
    margin: 0;
    color: #111827;
    font-size: 26px;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.popular-community-head p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
}

.popular-community-more {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 950;
}

.popular-community-more:hover {
    background: #dbeafe;
}

.popular-community-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.popular-community-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 14px;
    border: 1px solid #e0e7ff;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.popular-community-item:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.popular-rank {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.popular-community-content {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.popular-community-title-row {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.popular-community-category {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 950;
}

.popular-community-title-row strong {
    min-width: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 950;
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-community-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 850;
}

.popular-community-meta span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid var(--line);
}

.popular-community-empty {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px dashed #c7d2fe;
    border-radius: 18px;
    background: #f8fafc;
    color: #6b7280;
    text-align: center;
}

.popular-community-empty strong {
    color: #111827;
}

@media (max-width: 1180px) {
    .popular-community-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .popular-community-item:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 920px) {
    .popular-community-section {
        padding-top: 2px;
        padding-bottom: 22px;
    }

    .popular-community-main {
        width: min(100% - 24px, 430px);
        margin: 0 auto;
    }

    .popular-community-card {
        padding: 17px;
        border-radius: 18px;
    }

    .popular-community-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
    }

    .popular-community-head h2 {
        font-size: 22px;
    }

    .popular-community-head p {
        font-size: 13px;
    }

    .popular-community-more {
        width: 100%;
        min-height: 40px;
        padding: 10px 12px;
        text-align: center;
    }

    .popular-community-list {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .popular-community-item,
    .popular-community-item:first-child {
        grid-column: auto;
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px;
        padding: 12px;
    }

    .popular-rank {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .popular-community-title-row strong {
        font-size: 14px;
    }

    .popular-community-meta {
        gap: 5px;
        font-size: 11px;
    }
}

/* 모바일 헤더 인기글 2줄 배치 최종 보정 */
@media (max-width: 920px) {
    .site-header .container.header-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 8px !important;
        padding-top: 10px !important;
        padding-bottom: 12px !important;
    }

    .site-header .header-brand-area {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        grid-template-areas:
            "logo request"
            "ticker ticker" !important;
        align-items: center !important;
        gap: 8px 10px !important;
    }

    .site-header .logo {
        grid-area: logo !important;
        justify-self: start !important;
        margin: 0 !important;
    }

    .site-header .logo-main-image {
        width: 136px !important;
        max-height: 48px !important;
        object-fit: contain !important;
    }

    .site-header .header-request-banner {
        grid-area: request !important;
        justify-self: end !important;
        min-height: 36px !important;
        padding: 7px 10px !important;
        border-radius: 13px !important;
        gap: 0 !important;
        white-space: nowrap !important;
    }

    .site-header .header-request-banner strong {
        font-size: 12px !important;
        letter-spacing: -0.05em !important;
    }

    .site-header .header-request-banner small,
    .site-header .header-request-kicker {
        display: none !important;
    }

    .site-header .header-popular-ticker {
        grid-area: ticker !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 7px 10px !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .site-header .header-popular-label {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        height: 23px !important;
        padding: 0 8px !important;
        margin: 0 !important;
        border-radius: 999px !important;
        font-size: 11px !important;
        font-weight: 950 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .site-header .header-popular-mask {
        display: block !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }

    .site-header .header-popular-title {
        display: block !important;
        max-width: 100% !important;
        color: #111827 !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        animation: none !important;
        transform: none !important;
    }

    .site-header .header-login-actions,
    .site-header .guest-mobile-actions {
        align-self: start !important;
        margin-left: 0 !important;
        padding-top: 5px !important;
    }
}

@media (max-width: 430px) {
    .site-header .container.header-inner {
        width: min(100% - 20px, 410px) !important;
        gap: 6px !important;
    }

    .site-header .header-brand-area {
        gap: 7px 8px !important;
    }

    .site-header .logo-main-image {
        width: 120px !important;
        max-height: 44px !important;
    }

    .site-header .header-request-banner {
        min-height: 34px !important;
        padding: 6px 8px !important;
    }

    .site-header .header-request-banner strong {
        font-size: 11px !important;
    }

    .site-header .header-popular-ticker {
        height: 36px !important;
        padding: 6px 9px !important;
    }

    .site-header .header-popular-label {
        height: 22px !important;
        padding: 0 7px !important;
        font-size: 10px !important;
    }

    .site-header .header-popular-title {
        font-size: 11px !important;
    }
}




/* 헤더 인기글 TOP5 자동 전환 */
.header-popular-slide:focus-visible {
    outline: 2px solid #fb923c;
    outline-offset: 2px;
}

@media (max-width: 920px) {
    .site-header .header-popular-mask {
        position: relative !important;
        height: 18px !important;
    }

    .site-header .header-popular-slide {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        min-width: 0 !important;
        opacity: 0 !important;
        transform: translateY(8px) !important;
        pointer-events: none !important;
        transition: opacity 0.22s ease, transform 0.22s ease !important;
    }

    .site-header .header-popular-slide.is-active {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    .site-header .header-popular-rank {
        flex: 0 0 auto !important;
        min-width: 25px !important;
        height: 18px !important;
        padding: 0 6px !important;
        border-radius: 999px !important;
        background: #111827 !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 950 !important;
        line-height: 18px !important;
        text-align: center !important;
    }

    .site-header .header-popular-slide-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: block !important;
        max-width: 100% !important;
        color: #111827 !important;
        font-size: 12px !important;
        font-weight: 950 !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
}
