:root {
    --primary-dark: #89023E;
    --primary-hover: #6a0130;
    --soft-pink: #FFD9DA;
    --soft-pink-hover: #ffc2c4;
    --gold: #FFD700;
    --gold-hover: #e6c200;
    --navy: #003366;
    --navy-hover: #002244;
    --bar-top: #071a33;
    --bar-logo: #003366;
    --bar-menu: #001f4d;
    --lavender: #E6E6FA;
    --white: #ffffff;
    --black: #000000;
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--lavender);
    color: var(--black);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.text-pink { color: var(--primary-dark) !important; }

.main-container .text-gold,
.custom-card .text-gold,
.contrast-card .text-gold {
    color: var(--navy) !important;
}

.top-bar {
    background-color: var(--bar-top);
    color: #fff;
    padding: 0.55rem 0;
    position: relative;
    z-index: 1900;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar a,
.top-bar span,
.top-bar i,
.top-icon-link {
    color: #fff;
    text-decoration: none;
}

.top-icon-link {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.top-icon-link:hover { color: var(--gold); }

.top-post-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-dark);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

.top-post-btn:hover {
    background: var(--primary-hover);
    color: #fff !important;
}

.top-bar .dropdown-menu {
    z-index: 1901;
    background-color: #0a2544;
    border: 1px solid rgba(255,255,255,0.12);
}

.top-bar .dropdown-menu .dropdown-item,
.top-bar .dropdown-menu .topbar-dropdown-item {
    color: #fff;
}

.top-bar .dropdown-menu .dropdown-item:hover,
.top-bar .dropdown-menu .topbar-dropdown-item:hover,
.top-bar .dropdown-menu .dropdown-item.active {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.top-bar .dropdown-divider,
.top-bar .h-line {
    border-color: rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.2);
}

.top-bar .dropdown-header,
.top-bar .balance-dropdown-header {
    color: #fff;
    white-space: normal;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.balance-display [data-balance-value] {
    color: var(--gold) !important;
    font-weight: 700;
}

.balance-refresh-btn {
    padding: 0.1rem 0.35rem;
    line-height: 1;
    color: var(--gold);
}

.balance-refresh-btn:hover { color: #fff; }
.balance-spin { animation: fc-spin 0.7s linear infinite; }
@keyframes fc-spin { to { transform: rotate(360deg); } }

.admin-menu-bar {
    background-color: #343a40;
    color: #fff;
    padding: 0.55rem 0;
    position: relative;
    z-index: 1800;
}

.admin-menu-bar a,
.admin-menu-bar span,
.admin-menu-bar i {
    color: #fff;
    text-decoration: none;
}

.admin-bar-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.admin-nav-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--gold);
    white-space: nowrap;
}

.admin-nav-label i { color: var(--gold); }

.admin-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.15rem 0.7rem;
    border-radius: 0;
    white-space: nowrap;
}

.admin-nav-link i { color: #fff; }

.admin-nav-link:hover,
.admin-nav-link.admin-nav-active {
    color: var(--gold);
}

.admin-nav-link:hover i,
.admin-nav-link.admin-nav-active i {
    color: var(--gold);
}

.main-header {
    background: var(--bar-logo);
    border-bottom: 1px solid rgba(0,0,0,0.22);
    position: relative;
    z-index: 1000;
}

.brand-logo {
    height: 64px;
    width: auto;
}

.header-search {
    width: 360px;
    flex: 0 0 360px;
}

.header-search-form {
    width: 100%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    overflow: hidden;
}

.header-search-form .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    height: 38px;
    padding: 0.2rem 1rem;
    color: #fff;
}

.header-search-form .form-control::placeholder {
    color: rgba(255,255,255,0.65);
}

.header-search-form .form-control:focus {
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.header-search-form .btn {
    border-radius: 0;
    padding: 0 1rem;
}

.btn-outline-navy {
    border-color: rgba(255,255,255,0.55);
    color: #fff;
}

.btn-outline-navy:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

.menu-bar {
    background: var(--bar-menu);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 880;
}

.menu-bar .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.9rem 1.15rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
}

.menu-bar .nav-link i { color: var(--gold); }

.menu-bar .nav-link:hover,
.menu-bar .nav-link.active {
    background: var(--primary-dark);
    color: #fff !important;
}

.mobile-nav {
    background: var(--bar-menu);
}

.mobile-nav .nav-link {
    color: #fff;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.content-area,
.main-container {
    flex: 1 1 auto;
}

.content-area.container,
.main-container.container,
.container.content-area,
.container.main-container {
    margin-left: auto !important;
    margin-right: auto !important;
}

.stat-card {
    border: none;
    border-radius: 24px;
    padding: 1.5rem;
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-card,
.contrast-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.search-input {
    background-color: rgba(230, 230, 250, 0.5);
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 12px 20px;
}

.search-input:focus {
    background-color: var(--white);
    border-color: var(--navy);
    box-shadow: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    font-weight: 700;
    border-radius: 14px;
    padding: 10px 22px;
    border: none;
}

.btn-gold:hover { background-color: var(--gold-hover); color: var(--navy); }

.btn-primary-dark,
.btn-purple {
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: 30px;
    padding: 10px 24px;
    border: none;
}

.btn-primary-dark:hover,
.btn-purple:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.btn-outline-pink {
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    background: transparent;
}

.btn-outline-pink:hover {
    background: var(--primary-dark);
    color: #fff;
}

.user-table th {
    background-color: rgba(230, 230, 250, 0.3);
    color: rgba(0, 51, 102, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 12px 15px;
    border: none;
}

.user-table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.status-badge { font-size: 0.65rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.status-verified { background-color: #28a745; color: var(--white); }
.status-pending { background-color: #ffc107; color: #000; }
.status-failed { background-color: #dc3545; color: var(--white); }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-card, .ad-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.post-card:hover, .ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.post-image, .ad-card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ad-card-media {
    display: block;
    position: relative;
}

.ad-card-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lavender);
    color: var(--navy);
    font-size: 2rem;
}

.ad-card-boost {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
}

.ad-card-cat {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 999px;
}

.ad-card-body, .post-content { padding: 1rem; }

.post-title, .ad-card-title {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.post-title:hover, .ad-card-title:hover { color: var(--primary-dark); }

.form-control, .form-select {
    border-radius: 12px;
    border: 2px solid rgba(0, 51, 102, 0.1);
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 102, 0.1);
}

.btn-primary {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.footer-section {
    background-color: var(--navy);
    color: var(--white);
    margin-left: 0 !important;
    width: 100% !important;
    flex-shrink: 0;
}

.footer-section a { color: rgba(255, 255, 255, 0.8); }
.footer-section a:hover { color: var(--white); }
.footer-section .footer-brand-link { color: var(--white); }
.footer-section .footer-brand-link:hover { color: var(--gold); }
.footer-section .footer-brand-link h5 { color: inherit; }

.s_cright {
    background-color: #6c757d;
    color: #ffffff;
    margin-left: 0 !important;
    width: 100% !important;
    flex-shrink: 0;
    padding: 0.6rem 0;
}
.s_cright a.footer-brand-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.s_cright a.footer-brand-link:hover { color: var(--gold); }

.custom-hover { transition: color 0.2s ease; }
.custom-hover:hover { color: var(--gold) !important; }

.alert { border-radius: 12px; border: none; }

.city-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.city-chip, .city-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(0,51,102,0.12);
    background: var(--soft-pink);
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
}

.city-chip:hover, .city-btn:hover {
    background: var(--soft-pink-hover);
    color: var(--navy);
}

.home-page {
    background: linear-gradient(180deg, #fff7f4 0%, #ffffff 32%, #fff3f0 100%);
}

.home-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 0 2rem;
    padding: 3.4rem 1.25rem 3rem;
    text-align: center;
    background-color: #fff4ef;
    background-image: url('/images/home-hero-bg.webp');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 247, 244, 0.42) 0%, rgba(255, 255, 255, 0.62) 58%, rgba(255, 247, 244, 0.5) 100%);
    pointer-events: none;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    margin: 0 auto;
}

.home-hero h1 {
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.home-lead {
    color: #243447;
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: none;
    margin: 0 auto 1.2rem;
}

.home-lead a {
    color: var(--primary-dark);
    font-weight: 700;
}

.home-steps {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.home-steps i,
.home-steps .home-steps-arrow {
    color: var(--primary-dark);
    margin: 0 0.45rem;
    font-size: 1.05em;
    vertical-align: -0.08em;
    opacity: 1;
}

.home-country {
    color: var(--primary-dark);
    font-weight: 800;
    margin: 1.75rem 0 0.75rem;
}

.home-state {
    color: var(--navy);
    font-weight: 700;
    margin: 0.9rem 0 0.45rem;
}

.home-page .city-chip {
    background: #ffffff;
    border-color: rgba(0, 51, 102, 0.18);
    color: var(--navy);
    font-weight: 600;
}

.home-page .city-chip:hover {
    background: var(--soft-pink);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.city-suggest-list { display: flex; flex-direction: column; gap: 0.5rem; }

.city-suggest-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.15rem;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.city-suggest-row:hover { border-color: var(--primary-dark); color: var(--primary-dark); }

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.4rem;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.feature-icon {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.feature-icon.gold { color: var(--navy); }

.feature-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.feature-card p {
    color: #334155;
    margin-bottom: 0;
}

.pro-hero, .pro-status, .pro-locked { border-radius: 20px; }
.pro-kicker { color: var(--primary-dark); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.8rem; }
.pro-badge-live { color: var(--primary-dark); font-weight: 800; }
.pro-plan-card, .pro-plan-mini {
    background: var(--white);
    border: 2px solid rgba(0,51,102,0.08);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    height: 100%;
}
.pro-plan-card.is-featured, .pro-plan-mini.is-featured { border-color: var(--gold); }
.pro-plan-days { font-weight: 800; color: var(--navy); }
.pro-plan-price { font-size: 1.6rem; font-weight: 900; color: var(--primary-dark); }
.pro-plan-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.ad-report-link { color: #dc3545; text-decoration: none; font-weight: 600; }
.ad-report-link:hover { color: #a71d2a; }
.ad-chat-row { display: flex; gap: 0.65rem; align-items: center; flex-wrap: wrap; }
.ad-chat-btn { font-size: 2rem; line-height: 1; text-decoration: none; }
.ad-chat-wa { color: #25D366; }
.ad-chat-sms { color: var(--primary-dark); }
.phone-mask {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--navy);
}
.post-chat-arrow {
    color: var(--navy);
    font-size: 1.25rem;
}
.post-chat-hint {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin: 0.35rem 0 0;
}
.ad-photo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.6rem; }
.ad-photo-cell img { width: 100%; border-radius: 12px; object-fit: cover; }

.post-single-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}
.post-single-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.post-single-title {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
}
.post-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.post-single-cat {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
}
.post-single-desc p {
    white-space: pre-wrap;
    margin-bottom: 0;
    color: #333;
}
.post-deleted-banner {
    color: #c1121f;
    background: #ffe5e8;
    border: 1px solid #c1121f;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.post-single-delete-form {
    margin: 0;
}
.post-single-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
}
.post-single-actions .ad-report-link {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
}
.post-single-actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
@media (max-width: 767.98px) {
    .post-single-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .post-single-actions .ad-report-link {
        display: block;
        text-align: left;
        margin-top: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 0.45rem 0;
    }
    .post-single-actions .btn {
        width: 100%;
        text-align: center;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
}
@media (min-width: 768px) {
    .post-single-photos {
        grid-template-columns: repeat(3, 1fr);
    }
}

.google-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 500;
}

.google-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.flag-svg {
    display: inline-block;
    width: 20px;
    height: 15px;
    vertical-align: middle;
    border-radius: 2px;
}

.hero-section {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}

.hero-title { color: var(--navy); font-weight: 900; }
.hero-subtitle { color: #555; }

.page-mid-cta, .home-mid-cta { text-align: center; margin: 2rem 0; }

.my-ad-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.my-ad-row {
    background: var(--white);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
}

.my-ad-line1 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.my-ad-title {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    max-width: 27ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-ad-title:hover { color: var(--gold); }

.my-ad-icon {
    color: var(--gold);
    font-size: 1rem;
    line-height: 1;
}
.my-ad-icon:hover { color: var(--primary-dark); }

.my-ad-st {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.my-ad-st.is-del { color: #c1121f; }

.my-ad-line2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 0.35rem;
    font-size: 0.92rem;
}
.my-ad-line2 a {
    color: #6b7280;
    text-decoration: none;
}
.my-ad-line2 a:hover { color: var(--gold); }

.my-ad-date {
    color: #6b7280;
    font-size: 0.72rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.my-ad-delete-form {
    display: inline;
    margin: 0;
}
.my-ad-delete {
    color: #c1121f !important;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.my-ad-delete:hover { color: #e11d48 !important; }

.my-ad-boost {
    margin-left: auto;
    color: var(--navy) !important;
    font-weight: 800;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
    text-decoration: none;
    padding: 0.15rem 0.55rem 0.2rem;
    border-radius: 10px;
    background: var(--gold);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.my-ad-boost:hover {
    background: var(--gold-hover);
    color: var(--navy) !important;
}
.my-ad-boost-left {
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.05rem;
}
.my-ad-boost i { margin-right: 0.2rem; }

.my-ad-row.is-boosted {
    border-color: rgba(255, 215, 0, 0.65);
    box-shadow: inset 3px 0 0 var(--gold);
}
.my-ad-row.is-deleted {
    opacity: 0.72;
}

.admin-ad-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.admin-ad-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lavender);
    color: var(--navy);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.admin-ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-ad-body {
    min-width: 0;
    flex: 1;
}

.admin-ad-title { max-width: 42ch; }

.admin-ad-st {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.admin-ad-st.is-on { color: #1a7f4b; }
.admin-ad-st.is-off { color: #b45309; }
.admin-ad-st.is-del { color: #b42318; }

.admin-ad-actions {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.admin-boost-nums {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: baseline;
    font-size: 0.88rem;
    color: #4a5568;
}

.admin-report-title {
    color: var(--navy);
    font-weight: 700;
    margin-top: 0.35rem;
}

.admin-report-dscr {
    color: #4a5568;
    font-size: 0.9rem;
    margin: 0;
}

.admin-report-attach {
    display: inline-block;
    margin: 0.35rem 0 0.6rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, 0.12);
}

.admin-report-attach img {
    display: block;
    max-width: 220px;
    max-height: 160px;
    object-fit: cover;
}

.admin-report-reply-box {
    margin-top: 0.8rem;
    border: 1px dashed rgba(0, 51, 102, 0.22);
    border-radius: 12px;
    padding: 0.5rem 0.85rem 0.75rem;
    background: #f4f6fb;
}

.admin-report-reply-box > summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-dark);
    list-style: none;
    padding: 0.25rem 0;
}

.admin-report-reply-box > summary::-webkit-details-marker { display: none; }

.admin-report-reply-box > summary i { margin-right: 0.35rem; }

.admin-report-parties {
    display: grid;
    gap: 0.75rem;
    margin: 0.75rem 0 0.85rem;
}

@media (min-width: 768px) {
    .admin-report-parties { grid-template-columns: 1fr 1fr; }
}

.admin-report-party {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-report-party-check {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0;
}

.admin-report-party-check input { margin-top: 0.2rem; }

.admin-report-party-meta {
    color: #6b7280;
    font-size: 0.76rem;
    font-weight: 400;
}

.admin-report-party textarea {
    min-height: 90px;
    resize: vertical;
}

.admin-report-party:not(:has(input:checked)) textarea { opacity: 0.45; }

.admin-report-reply-send { padding: 0.4rem 1.1rem; }
.report-file-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 140px;
    padding: 1.2rem 1rem;
    border: 2px dashed rgba(0, 51, 102, 0.28);
    border-radius: 14px;
    background: #f4f6fb;
    color: var(--navy);
    text-align: center;
    cursor: pointer;
}

.report-file-box:hover,
.report-file-box:focus-within {
    border-color: var(--primary-dark);
    background: #fff4f6;
}

.report-file-box input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.report-file-box i {
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.report-file-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
}

.report-file-name {
    font-size: 0.88rem;
    color: #4a5568;
}

.captcha-q {
    color: var(--navy);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.card-header-gold {
    background: var(--gold) !important;
    color: var(--navy) !important;
    border: none;
}

.refer-share-box {
    background: #f4f6fb;
    color: var(--navy);
    border: 1px solid rgba(0, 51, 102, 0.12);
}

.refer-switch {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    background: #f4f6fb;
    border: 1px solid rgba(0, 51, 102, 0.12);
    border-radius: 12px;
}

.refer-switch .form-check-input {
    width: 2.6rem;
    height: 1.35rem;
    margin-top: 0;
    flex-shrink: 0;
    background-color: #c5c9d4;
    border: 1px solid #7b8190;
    cursor: pointer;
}

.refer-switch .form-check-input:checked {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.refer-switch .form-check-input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 0.18rem rgba(137, 2, 62, 0.22);
}

.refer-switch .form-check-label {
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    margin-left: 0.7rem;
}

.webp-log {
    max-height: 280px;
    overflow: auto;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.8rem;
    background: #111;
    color: #ddd;
    border-radius: 8px;
    padding: 0.75rem;
}

.scraption-state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.65rem 1rem;
}

.scraption-state-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.45rem 0.6rem;
    background: var(--white);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 10px;
}

.scraption-state-item span:first-child {
    flex: 1;
    min-width: 0;
}

.scraption-runner-bar strong { font-size: 0.95rem; }

.scraption-runner-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-dark);
    box-shadow: 0 0 0 0 rgba(137, 2, 62, 0.5);
    animation: scraption-pulse 1.4s ease-out infinite;
}

.scraption-runner-pulse.is-done {
    background: #1a7f4b;
    animation: none;
}

.scraption-runner-pulse.is-err,
.scraption-runner-pulse.is-stop {
    background: #b42318;
    animation: none;
}

@keyframes scraption-pulse {
    0% { box-shadow: 0 0 0 0 rgba(137, 2, 62, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(137, 2, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(137, 2, 62, 0); }
}

.scraption-runner-log {
    max-height: 420px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    line-height: 1.45;
    background: #111;
    color: #ddd;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
}

.scraption-log-line {
    padding: 0.12rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    word-break: break-word;
}

.scraption-log-line.is-err { color: #ff8a80; }

@media (max-width: 991.98px) {
    .brand-logo { height: 48px; }
    .header-search { width: auto; flex: 1; }
    .home-hero { padding: 2.4rem 1rem 2.1rem; }
}

@media (min-width: 1200px) {
    .home-hero { padding: 4.2rem 2rem 3.6rem; }
    .home-hero-inner { width: min(1180px, 100%); }
}
