/* Social Handover — muted blue-gray + soft gray, green accent only */
:root {
    --bg-dark: #e6eaef;
    --bg-card: #ffffff;
    --bg-card-hover: #f2f4f6;
    --primary: #4a5866;
    --primary-soft: #6b7a88;
    --accent: #5A7A5C;
    --accent-hover: #4d6b4f;
    --purple: #5A7A5C;
    --purple-hover: #4d6b4f;
    --orange: #5A7A5C;
    --text: #2c3540;
    --text-muted: #6d7782;
    --border: #cfd6de;
    --success: #5A7A5C;
    --danger: #a45b5b;
    --warning: #8a7d56;
    --header-bg: #4a5866;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(44, 53, 64, 0.08);
    --heading: #2c3540;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ubuntu', system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--purple);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading, var(--text));
}

.hero h1 {
    color: #fff;
}



.container {
    max-width: 1600px;   /* or even 1800px */
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.top-header {
    background: var(--header-bg);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
    color: #e8edf1;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}
.logo-clone {
    color: var(--purple);
    font-weight: 400;
    font-size: 0.85em;
}
.logo:hover { text-decoration: none; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
}
.main-nav > a,
.nav-drop-btn {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 1;
}
.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown.active .nav-drop-btn,
.nav-dropdown:hover .nav-drop-btn {
    color: #ffffff;
    text-decoration: none;
}

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

.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.username { font-weight: 500; color: #fff; }
.header-actions .btn-outline {
    color: #e8edf1;
    border-color: rgba(255,255,255,0.4);
}
.header-actions .btn-outline:hover {
    border-color: #fff;
    color: #fff;
}
.header-actions .btn-link { color: #d5dde4; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary {
    background: var(--purple);
    color: #fff;
}
.btn-primary:hover {
    background: var(--purple-hover);
    text-decoration: none;
    color: #fff;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
    text-decoration: none;
}
.btn-link {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}
.btn-block {
    display: block;
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge.premium { background: #5f6d7a; color: #fff; }
.badge.pro { background: #4a5866; color: #fff; }
.badge.vip { background: #3a4652; color: #fff; }
.badge.verified { background: var(--success); color: #fff; }
.badge.listing-verified { background: transparent; color: var(--success); border: 1px solid var(--success); }
.badge.pinned { background: var(--success); color: #fff; }

/* Flash */
.flash {
    padding: 14px 0;
    text-align: center;
    font-weight: 500;
}
.flash-success { background: rgba(0,184,148,0.15); color: var(--success); }
.flash-error { background: rgba(214,48,49,0.15); color: var(--danger); }
.flash-info { background: rgba(90,122,92,0.12); color: var(--purple); }

/* Main */
.main-content {
    min-height: calc(100vh - 70px - 280px);
    padding: 30px 0 60px;
}

/* Hero / Search */
.hero {
    background: linear-gradient(135deg, #3a4652 0%, #4a5866 100%);
    border-radius: var(--radius);
    padding: 50px 40px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #fff;
}
.hero p {
    color: #c5ced6;
    margin-bottom: 30px;
}

.search-panel {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    text-align: left;
    color: var(--text);
}

.platform-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}
.platform-tabs a,
.platform-tabs span {
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--bg-dark);
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--border);
}
.platform-tabs a:hover,
.platform-tabs a.active {
    background: var(--header-bg);
    color: #fff;
    border-color: var(--header-bg);
    text-decoration: none;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.form-group {
    flex: 1;
    min-width: 140px;
}
.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text);
}
.form-check label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    cursor: pointer;
}
.form-check input { width: auto; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 0.95rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}
.form-group select,
select {
    color: #1a2330 !important;
    background: #fff !important;
}
.form-group select option,
select option {
    color: #1a2330 !important;
    background: #fff !important;
}

.read-receipt {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.72rem;
    letter-spacing: 0;
    color: #fff !important;
    background: #5A7A5C;
    border-radius: 4px;
    padding: 1px 6px 2px;
    font-weight: 700;
    float: right;
    line-height: 1.4;
}
.read-receipt.seen {
    color: #fff !important;
    background: #5A7A5C;
}
.chat-msg.staff .bubble .read-receipt,
.support-msg.staff .bubble .read-receipt,
.admin-support-msg .read-receipt {
    color: #fff !important;
    background: #5A7A5C;
}

.announce-box {
    background: #fff;
    border: 1px solid var(--border, #d4dbe3);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 20px;
}
.announce-box h3 { margin: 0 0 6px; font-size: 1rem; }
.announce-box.escrow-info h3 { color: var(--purple, #5A7A5C); }

.pay-setup-box {
    background: #fff8e8;
    border: 1px solid #f0d9a0;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 20px;
}

.escrow-unread-banner {
    background: #eef6ff;
    border: 1px solid #b8d4f5;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 0 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 0 0 30px;
}
.server-stat-card {
    background: #fff;
    border: 1px solid #d4dbe3;
    border-radius: 12px;
    padding: 16px 18px;
}
.server-stat-card h4 { margin: 0 0 8px; font-size: 0.9rem; color: #6b7580; }
.server-stat-card .val { font-size: 1.15rem; font-weight: 700; color: #2a333c; }
.disk-bar {
    height: 8px;
    background: #e8edf1;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}
.disk-bar > span {
    display: block;
    height: 100%;
    background: var(--purple, #5A7A5C);
}

.extra-fields { display: none; }
.extra-fields.show { display: block; }

.refunded-tick, .escrow-removed-tick {
    border: 1px solid #d4dbe3;
    background: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.8rem;
}
.refunded-tick.is-yes, .escrow-removed-tick.is-yes {
    background: #00b894;
    color: #fff;
    border-color: #00b894;
}

iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}
body { top: 0 !important; }
.skiptranslate iframe { display: none !important; }

/* Listing cards */
.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.sort-links a {
    color: var(--text-muted);
    margin-right: 12px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sort-links a.active,
.sort-links a:hover {
    color: var(--purple);
}
.sort-chevron {
    font-size: 0.72em;
    line-height: 1;
    opacity: 0.95;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.listing-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.listing-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
}
.listing-card .thumb {
    height: 140px;
    background: linear-gradient(45deg, #2d3436, #636e72);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}
.listing-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.listing-card .thumb.thumb-logo {
    background: #f4f6f8;
}
.listing-card .thumb.thumb-logo img {
    width: 58%;
    height: 58%;
    object-fit: contain;
}
.announce-box .btn { margin-top: 10px; }
.listing-card .thumb .badge {
    position: absolute;
    top: 10px;
    right: 10px;
}
.listing-card .body {
    padding: 16px;
}
.listing-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.listing-card .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.listing-card .stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.listing-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success);
}

/* Detail page */
.listing-detail {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}
@media (max-width: 900px) {
    .listing-detail { grid-template-columns: 1fr; }
}
.detail-main {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
}
.detail-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 90px;
}
.detail-sidebar .price-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 16px;
}

/* Tables */
.table-wrap {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
}
tr:hover td {
    background: var(--bg-card-hover);
}

/* Forms pages */
.auth-box,
.form-box {
    max-width: 420px;
    margin: 40px auto;
    background: var(--bg-card);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.auth-box h1,
.form-box h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.6rem;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    text-align: center;
}
.stat-card .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--purple);
}
.stat-card .label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Chat simple */
.chat-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    height: 400px;
    display: flex;
    flex-direction: column;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}
.chat-msg {
    margin-bottom: 12px;
    max-width: 80%;
}
.chat-msg.me {
    margin-left: auto;
    text-align: right;
}
.chat-msg .bubble {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-dark);
}
.chat-msg.me .bubble {
    background: var(--purple);
}
.chat-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--border);
    gap: 8px;
}
.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text);
}

/* Footer */
.site-footer {
    background: var(--header-bg, #4a5866);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 50px 0 20px;
    margin-top: 40px;
    color: #ffffff;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #ffffff !important;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 8px;
}
.footer-col a {
    color: #ffffff !important;
    font-size: 0.9rem;
}
.footer-col a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
.footer-about,
.footer-about p,
.footer-col .footer-about,
.footer-col .footer-about p {
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
    opacity: 1;
}
.disclaimer {
    font-size: 0.88rem;
    color: #ffffff !important;
    margin-top: 10px;
    line-height: 1.55;
    opacity: 1;
}
.footer-bottom,
.footer-bottom p {
    color: #ffffff !important;
}
.site-footer,
.site-footer h4,
.site-footer p,
.site-footer li,
.site-footer a,
.site-footer span,
.site-footer div,
.site-footer small,
.site-footer strong {
    color: #ffffff !important;
}
.form-group select.platform-native-select,
select.platform-native-select {
    appearance: menulist;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    background: #fff !important;
    color: #1a2330 !important;
    padding: 10px 12px;
    width: 100%;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 4px;
    font-size: 0.95rem;
}
select.platform-native-select option,
.form-group select.platform-native-select option,
select.platform-native-select optgroup {
    color: #1a2330 !important;
    background: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #ffffff !important;
}

.password-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.form-group .password-wrap input,
.password-wrap input[type="password"],
.password-wrap input[type="text"] {
    width: 100%;
    padding: 10px 48px 10px 14px !important;
}
.password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    z-index: 5;
}
.password-toggle:hover { color: var(--accent); }
.password-toggle svg { display: block; pointer-events: none; }
.password-toggle .eye-shut { display: none; }
.password-toggle.is-on .eye-open { display: none; }
.password-toggle.is-on .eye-shut { display: block; }

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.plan-card.selected { border-color: var(--purple); }
.plan-card h2 { margin-bottom: 8px; }
.plan-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.plan-price span { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.plan-copy p { margin-bottom: 10px; color: var(--text-muted); }

.pay-modal {
    position: fixed;
    inset: 0;
    background: rgba(42, 51, 60, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 16px;
}
.pay-modal[hidden] { display: none !important; }
.pay-modal-card {
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    padding: 24px;
    width: min(420px, 100%);
    position: relative;
    box-shadow: var(--shadow);
}
.pay-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-muted);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}
.filter-bar input, .filter-bar select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    min-width: 180px;
}

.pager {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}
.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border, #cfd6de);
    color: var(--text);
    text-decoration: none;
}
.pager-btn.current, .pager-btn:hover {
    background: var(--purple, #5A7A5C);
    border-color: var(--purple, #5A7A5C);
    color: #fff;
}

.reject-reason {
    margin-top: 6px;
    color: #ffb3b3;
    font-size: 0.85rem;
}

.help-prompt {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--purple, #5A7A5C);
    background: rgba(var(--accent-rgb, 90, 122, 92), 0.12);
    margin-bottom: 10px;
    color: var(--text);
}
.help-icon { font-size: 1.4rem; }
.help-prompt p { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-muted); }
.help-sent { color: var(--success) !important; font-weight: 600; }

.chat-topbar-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.chat-topbar-help {
    text-align: right;
    max-width: 280px;
    margin-left: auto;
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.4;
}
.chat-topbar-help .help-mini-text {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
}
.chat-topbar-help .btn { margin-top: 2px; }
@media (max-width: 640px) {
    .chat-topbar-help {
        text-align: left;
        max-width: 100%;
        margin-left: 0;
        width: 100%;
    }
}

.mini-carousel {
    position: relative;
    margin: 16px 0 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border, #2a2a3a);
    background: #111;
    min-height: 180px;
}
.mini-slide { display: none; width: 100%; max-height: 280px; object-fit: contain; }
.mini-slide.active { display: block; }
.mini-prev, .mini-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
}
.mini-prev { left: 8px; }
.mini-next { right: 8px; }

.review-prompt {
    background: var(--bg-card, #1a1a24);
    border: 1px solid var(--border, #2a2a3a);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}
.review-form { margin-top: 12px; }
.review-form textarea {
    width: 100%;
    margin: 8px 0;
    background: #111;
    color: #fff;
    border: 1px solid var(--border, #2a2a3a);
    border-radius: 8px;
    padding: 8px;
}
.star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.star-input input { display: none; }
.star-input label {
    font-size: 1.4rem;
    color: #555;
    cursor: pointer;
}
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: #f1c40f; }

.review-list { display: grid; gap: 12px; }
.review-card {
    background: var(--bg-card, #1a1a24);
    border: 1px solid var(--border, #2a2a3a);
    border-radius: 12px;
    padding: 14px;
}
.review-card .stars { color: #f1c40f; margin-bottom: 6px; }

.smm-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1a24, #2d2460);
    border: 1px solid var(--purple, #6c5ce7);
    border-radius: 14px;
    padding: 20px;
    margin: 40px 0 20px;
}
.smm-banner p { margin: 6px 0 0; color: var(--text-muted, #a0a0b8); }

/* Utilities */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* Responsive */
@media (max-width: 992px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
    }
    .hero {
        padding: 30px 20px;
    }
    .hero h1 { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    .hero {
        padding: 30px 20px;
    }
    .hero h1 { font-size: 1.6rem; }
}

/* Deal stages */
.deal-stage-track {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0 18px;
    margin: 0 0 16px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.deal-stage-track li {
    flex: 1 1 120px;
    min-width: 120px;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 10px 12px;
    color: var(--text-muted);
}
.deal-stage-track li .n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d4dbe3;
    color: #3a4652;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 6px;
}
.deal-stage-track li .t {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--text);
}
.deal-stage-track li.done {
    border-color: #b7cbb8;
    background: #f3f7f3;
}
.deal-stage-track li.done .n { background: var(--success); color: #fff; }
.deal-stage-track li.current {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(90, 122, 92, 0.25);
    background: #fff;
}
.deal-stage-track li.current .n { background: var(--accent); color: #fff; }
.deal-stage-track li.current .t { font-weight: 600; }

.deal-stage-alert {
    background: #fff8e8;
    border: 1px solid #e2d2a0;
    border-left: 4px solid #c9a227;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 22px;
    color: var(--text);
}
.deal-stage-alert strong {
    display: block;
    margin-bottom: 6px;
    color: #5c4a14;
}
.deal-stage-alert p {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 0.95rem;
}
.deal-stage-alert .btn { margin-top: 2px; }

/* Dropdown menus: always dark text on white (never light-on-white) */
.top-header .nav-drop-menu,
.nav-drop-menu,
.main-nav .nav-drop-menu,
header .nav-drop-menu {
    background: #ffffff !important;
    color: #1a2330 !important;
    border: 1px solid #c5ced6 !important;
}
.top-header .nav-drop-menu a,
.nav-drop-menu a,
.main-nav .nav-drop-menu a,
header .nav-drop-menu a,
.nav-drop-menu a:link,
.nav-drop-menu a:visited,
.top-header .nav-drop-menu a:visited {
    color: #1a2330 !important;
    background: #ffffff !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
.nav-drop-menu a:hover,
.nav-drop-menu a.active,
.main-nav .nav-drop-menu a:hover,
.top-header .nav-drop-menu a:hover {
    color: #0f1720 !important;
    background: #e8eef1 !important;
}
@media (max-width: 992px) {
    .main-nav .nav-drop-menu,
    .top-header .nav-drop-menu {
        background: #2f3944 !important;
        color: #ffffff !important;
        border: none !important;
    }
    .main-nav .nav-drop-menu a,
    .top-header .nav-drop-menu a,
    .main-nav .nav-drop-menu a:link,
    .main-nav .nav-drop-menu a:visited {
        color: #f3f6f8 !important;
        background: transparent !important;
    }
    .main-nav .nav-drop-btn,
    .main-nav > a {
        color: #ffffff !important;
        opacity: 1 !important;
    }
}

/* Chatlist unread badge: below the time, same blue as the float icon */
.chatlist-item,
.acl-item {
    position: relative;
    overflow: visible;
}
.chatlist-meta,
.acl-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 36px;
    align-self: flex-start;
    position: relative;
}
.chatlist-meta .unread,
.acl-meta .unread,
.acl-meta .badge-unread,
.chatlist-escrow-fixed .unread {
    display: none !important;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    order: 2;
    position: static !important;
    right: auto;
    bottom: auto;
    top: auto;
    z-index: 3;
    background: #3b82f6 !important;
    color: #fff !important;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    line-height: 1;
    border-radius: 999px;
    padding: 0 6px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #3b82f6;
}
.chatlist-meta .unread.show,
.acl-meta .unread.show,
.acl-meta .badge-unread.show,
.chatlist-escrow-fixed .unread.show {
    display: inline-flex !important;
}
.acl-meta {
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-start;
    gap: 6px;
    padding-top: 2px;
}
.acl-meta .badge-unread {
    position: static;
    bottom: auto;
    right: auto;
    top: auto;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #3b82f6;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #3b82f6;
    line-height: 1;
}
.acl-meta .badge-unread.show {
    display: inline-flex !important;
}
.chatlist-meta {
    flex-direction: column !important;
    align-items: flex-end !important;
    align-self: flex-start !important;
    gap: 6px !important;
}
.chatlist-meta .unread,
.chatlist-escrow-fixed .unread {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #3b82f6 !important;
    color: #fff !important;
    font-size: 0.72rem;
    font-weight: 800;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #3b82f6 !important;
    line-height: 1;
}
.chatlist-meta .unread.show,
.chatlist-escrow-fixed .unread.show {
    display: inline-flex !important;
}
.chatlist-online,
.acl-online {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #22c55e;
    border: 2px solid #0f0f13;
    border-radius: 50%;
    right: -2px;
    top: 0;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.badge.premium { background: #c9a227; color: #fff; }
.badge.non-monetized { background: #8a7d56; color: #fff; }

.deal-stage-track li {
    position: relative;
}
.deal-stage-track li .n {
    position: relative;
    z-index: 1;
}
.deal-stage-track li.done::after {
    content: '✅';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.85rem;
    line-height: 1;
}

.deal-actions-compact .deal-stage-alert {
    padding: 10px 12px;
    margin-bottom: 10px;
}
.deal-actions-compact .btn-block {
    width: 100%;
}
.deal-actions-buttons .btn-block + .btn-block,
.deal-actions-buttons .mb-10 {
    margin-bottom: 8px;
}

body.chat-page .chat-msg .bubble,
body.chat-page .chat-msg .bubble [data-msg-text] {
    font-size: var(--chat-font-size, 14px);
}

.sh-trust-card {
    background: #fff;
    border: 1px solid var(--border, #d4dbe3);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 16px 0 22px;
}
.sh-trust-card h3 { margin: 0 0 10px; font-size: 1rem; }
.sh-trust-card ul { list-style: none; margin: 0; padding: 0; }
.sh-trust-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #eef2f5;
    font-size: 0.9rem;
}
.sh-trust-card li:last-child { border-bottom: 0; }
.sh-trust-note { font-size: 0.8rem; color: var(--text-muted, #6d7782); margin: 10px 0 0; }

.sh-buyer-link-box {
    background: #f3f7f3;
    border: 1px solid #b7cbb8;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 12px 0;
}
.sh-buyer-link-box strong { display: block; margin-bottom: 4px; }
.sh-buyer-link-box p { margin: 0; word-break: break-all; }

.sh-notes-box {
    background: #fff8e8;
    border: 1px solid #e2d2a0;
    border-radius: 12px;
    padding: 14px;
    margin: 16px 0;
}
.sh-notes-box textarea { width: 100%; }
.sh-notes-list { list-style: none; margin: 0; padding: 0; }
.sh-notes-list li { padding: 8px 0; border-top: 1px solid #efe4c4; font-size: 0.88rem; }

.sh-risk-box {
    background: #fff4f2;
    border: 1px solid #e7b8b0;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px 0;
    font-size: 0.82rem;
}
.sh-risk-box ul { margin: 6px 0 0; padding-left: 18px; }
.sh-risk-danger { color: #b42318; font-weight: 700; }
.sh-risk-warn { color: #9a6700; }
.sh-risk-clear { font-size: 0.8rem; color: #3b6d40; margin: 6px 0; }

.sh-health-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    background: #9aa5b1;
}
.sh-health-dot.is-ok { background: #22c55e; }
.sh-health-dot.is-bad { background: #ef4444; }

@property --sh-deal-border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes shDealBorderSpin {
    to { --sh-deal-border-angle: 360deg; }
}
@keyframes shDealSpinFallback {
    to { transform: rotate(360deg); }
}
@keyframes shTourHolePulse {
    0%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 0 rgba(90,122,92,.45), 0 0 0 100vmax rgba(18,24,32,.78); }
    50% { box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(90,122,92,0), 0 0 0 100vmax rgba(18,24,32,.78); }
}

.chat-deal-toggle.sh-deal-spin {
    position: relative;
    isolation: isolate;
    border: 3px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from var(--sh-deal-border-angle), #476349, #d7ead8, #5A7A5C, #fff, #476349) border-box;
    animation: shDealBorderSpin 2.2s linear infinite;
}
.chat-deal-toggle.sh-deal-spin.is-on {
    background:
        linear-gradient(#f3f7f3, #f3f7f3) padding-box,
        conic-gradient(from var(--sh-deal-border-angle), #476349, #d7ead8, #5A7A5C, #fff, #476349) border-box;
}
.chat-deal-toggle.sh-deal-spin::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: conic-gradient(#476349, #d7ead8, #5A7A5C, #ffffff, #476349);
    animation: shDealSpinFallback 2.2s linear infinite;
    z-index: -1;
    pointer-events: none;
}
@supports (background: conic-gradient(from 0deg, red, red)) {
    .chat-deal-toggle.sh-deal-spin::before { display: none; }
}

html.chat-lock,
body.chat-page:not(.deal-open) {
    overflow: hidden;
    height: 100%;
}
body.chat-page.deal-open {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100%;
}
body.chat-page.deal-open .chat-page-wrap {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto;
    min-height: calc(100dvh - 64px);
    overflow: visible;
    padding-bottom: 20px;
}
body.chat-page.deal-open .chat-box.chat-box-fullscreen {
    flex: none;
    min-height: 52vh;
    height: 52vh;
}
body.chat-page.deal-open .chat-actions-wrap {
    max-height: none;
}

.sh-spotlight-layer {
    position: fixed;
    inset: 0;
    z-index: 4000;
}
.sh-spotlight-dismiss {
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.sh-spotlight-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}
.sh-spotlight-hole {
    position: absolute;
    border-radius: 999px;
    outline: 2px solid #5A7A5C;
    outline-offset: 1px;
    box-shadow: 0 0 0 3px #fff, 0 0 0 100vmax rgba(18, 24, 32, 0.78);
}
.sh-spotlight-hole.is-pulsing {
    animation: shTourHolePulse 1.15s ease-in-out infinite;
}
.sh-spotlight-hotspot {
    position: absolute;
    z-index: 4;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}
.sh-spotlight-tip {
    position: absolute;
    z-index: 3;
    width: min(340px, calc(100vw - 24px));
}
.sh-spotlight-tip-card {
    position: relative;
    border-radius: 14px;
    background: #fff;
    padding: 18px 18px 16px;
    box-shadow: 0 16px 40px rgba(20, 28, 36, 0.28);
}
.sh-spotlight-tip-card p {
    margin: 0 0 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #2c3540;
}
.sh-spotlight-tip-arrow {
    position: absolute;
    top: -7px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
}

@media (max-width: 992px) {
    body.chat-page.deal-open .chat-page-wrap {
        min-height: calc(100dvh - 56px);
    }
}

@media (max-width: 768px) {
    body.chat-page .main-content {
        padding: 0 !important;
        min-height: 0;
        overflow: visible;
    }
    body.chat-page:not(.deal-open) {
        overflow: hidden !important;
        height: 100%;
    }
    body.chat-page:not(.deal-open) .chat-page-wrap {
        position: fixed !important;
        overflow: hidden;
    }
    body.chat-page.deal-open .chat-warnings {
        max-height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-deal-toggle.sh-deal-spin,
    .chat-deal-toggle.sh-deal-spin.is-on,
    .chat-deal-toggle.sh-deal-spin::before,
    .sh-spotlight-hole.is-pulsing {
        animation: none;
    }
}


.yt-countdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 16px;
    font-size: 0.9rem;
    max-width: 100%;
}
.yt-countdown-label {
    color: var(--primary, #4A5866);
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.4;
}
.yt-countdown-digits {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1px;
    font-size: clamp(2.4rem, 8vw, 4rem);
    line-height: 0.9;
    background: none;
    color: inherit;
    -webkit-text-fill-color: unset;
    filter: none;
    letter-spacing: 0;
    word-break: normal;
    font-variant-numeric: tabular-nums;
}
.yt-countdown-digits .film-ch {
    display: inline-block;
    font-family: Ubuntu, "Arial Black", "Helvetica Neue", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-variant-numeric: tabular-nums;
    background-image: linear-gradient(180deg, var(--primary, #4A5866) 0%, var(--secondary, #6B7A88) 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: none;
    -webkit-text-stroke: 0.4px rgba(0,0,0,.12);
}
.yt-countdown-digits .film-unit {
    display: inline-block;
    font-family: Ubuntu, sans-serif;
    font-size: 0.32em;
    font-weight: 700;
    font-style: normal;
    color: var(--secondary, #6B7A88);
    -webkit-text-fill-color: var(--secondary, #6B7A88);
    margin: 0 6px 8px 2px;
    letter-spacing: 0.04em;
}
.yt-countdown-digits .film-sp {
    display: inline-block;
    width: 0.28em;
}
.yt-countdown.ended .yt-countdown-digits .film-ch {
    filter:
        drop-shadow(1px 1px 0 #c07a7a)
        drop-shadow(0 4px 6px rgba(40, 20, 40, .25));
}

.yt-buy-guide {
    background: #f4f7f5;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0 0 18px;
    color: var(--text);
}
.yt-buy-guide ol { margin: 8px 0 0 18px; }
.yt-buy-guide li { margin: 4px 0; }

.pay-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.pay-card {
    border: 2px solid var(--border, #cfd6de);
    border-radius: 12px;
    padding: 16px 14px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    color: var(--text);
    user-select: none;
}
.pay-card input { display: none; }
.pay-card:has(input:checked),
.pay-card.selected {
    border-color: var(--accent, #5A7A5C);
    background: #eef3f0;
    box-shadow: 0 0 0 2px rgba(90,122,92,.2);
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.lang-btn:hover { border-color: #fff; }
.lang-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(15,20,25,.45);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.lang-modal.open { display: flex; }
.lang-modal-inner {
    background: #fff;
    color: #1f2933;
    width: min(560px, 100%);
    max-height: 80vh;
    overflow: auto;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.lang-modal-inner h3 { margin-bottom: 8px; color: #1f2933; }
.lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-list button {
    text-align: left;
    background: #f4f7f5;
    border: 1px solid #d4dbe3;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    color: #1f2933;
    font: inherit;
}
.lang-list button:hover,
.lang-list button.active {
    background: #eef3f0;
    border-color: #5A7A5C;
}
.lang-list small { display: block; color: #6d7782; font-size: .75rem; }

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 28px 0 8px;
}
.pager a, .pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border, #cfd6de);
    background: #fff;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}
.pager a:hover { border-color: var(--accent); }
.pager a.active, .pager .active {
    background: var(--accent, #5A7A5C);
    border-color: var(--accent, #5A7A5C);
    color: #fff !important;
}

.admin-stat.pulse {
    animation: statPulse 2.4s ease-out;
}
@keyframes statPulse {
    0% { box-shadow: 0 0 0 0 rgba(90,122,92,.55); }
    70% { box-shadow: 0 0 0 8px rgba(90,122,92,0); }
    100% { box-shadow: 0 0 0 0 rgba(90,122,92,0); }
}

.sh-confirm-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,20,25,.45);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.sh-confirm-backdrop.open { display: flex; }
.sh-confirm-box {
    background: #fff;
    color: #1f2933;
    border-radius: 14px;
    padding: 22px;
    width: min(420px, 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.sh-confirm-box p { margin: 0 0 16px; }
.sh-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }

.chat-float-bell { display: none; }
.chat-float-bell.show { display: flex; }

.extra-fields { display: none; }
.extra-fields.show { display: block; }

/* Staff / escrow chat bubbles: black background, white text */
.chat-msg.staff .bubble,
.support-msg.staff .bubble {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}
.chat-msg.staff .bubble strong,
.chat-msg.staff .bubble,
.chat-msg.staff .bubble .text-muted,
.chat-msg.staff .bubble small,
.support-msg.staff .bubble,
.support-msg.staff .bubble strong,
.support-msg.staff .bubble small {
    color: #fff !important;
}
.chat-msg.staff .bubble strong::after,
.support-msg.staff .bubble strong::after {
    content: none !important;
}
.gt-msg-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 0.72rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    background: transparent;
    cursor: pointer;
    opacity: 0.85;
}
.refunded-tick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border, #cfd6de);
    background: #fff;
    border-radius: 8px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.8rem;
}
.refunded-tick.is-yes {
    background: #111;
    color: #fff;
    border-color: #111;
}
.btn-msg-white { color: #fff !important; }
.country-cell { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.country-flag { width: 24px; height: 18px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }

.upload-zone {
    border: 2px dashed var(--border, #cfd6de);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    background: #fff;
    cursor: pointer;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--purple, #5A7A5C);
}
#imageInput { display: none; }
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
}
.preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #e8edf1;
    border: 1px solid var(--border, #cfd6de);
    min-width: 0;
}
.preview-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}
.preview-item .preview-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 640px) {
    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    }
}
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, iframe.goog-te-banner-frame { display: none !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-gadget-icon { display: none !important; }
body { top: 0 !important; }

.unread:empty,
.badge-unread:empty,
.unread[data-count="0"],
.badge-unread[data-count="0"] { display: none !important; }

.typing-indicator {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 12px 8px;
}
.typing-indicator.is-on {
    display: flex;
}
.typing-indicator[hidden] {
    display: none !important;
}
.typing-dots { display: inline-flex; gap: 3px; }
.typing-dots i {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary, #4A5866);
    display: block;
    animation: typingPulse 1s infinite ease-in-out;
}
.typing-dots i:nth-child(2) { animation-delay: .15s; background: var(--secondary, #6B7A88); }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typingPulse {
    0%, 80%, 100% { opacity: .25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.sh-toast {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 200;
    background: #1f2933;
    color: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    max-width: 360px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    font-size: 0.9rem;
}
.sh-toast .undo { margin-left: 10px; }

.faq-list details {
    background: #fff;
    border: 1px solid var(--border, #d4dbe3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
}
.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary, #4A5866);
}
.faq-list details p { margin: 10px 0 0; color: var(--text); }

.pay-card-name { display: block; }

.affiliate-how ol { padding-left: 18px; line-height: 1.55; }
.affiliate-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.affiliate-stat-grid .admin-stat { margin: 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sell page platform picker (custom list so options always show) */
.platform-picker {
    position: relative;
    width: 100%;
}
.platform-picker-btn {
    display: none;
    width: 100%;
    text-align: left;
    padding: 11px 40px 11px 14px;
    border-radius: 8px;
    border: 1px solid var(--border, #cfd6de);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2330' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: #1a2330;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    line-height: 1.4;
}
.platform-picker-btn:hover,
.platform-picker-btn:focus {
    border-color: var(--purple, #5A7A5C);
    outline: none;
}
.platform-picker.is-enhanced .platform-picker-btn {
    display: block;
}
.platform-picker.is-enhanced .platform-native-select {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}
.platform-picker-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 80;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #ffffff;
    color: #1a2330;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(26, 35, 48, 0.16);
    max-height: 280px;
    overflow-y: auto;
}
.platform-picker-menu[hidden] { display: none !important; }
.platform-picker-menu li {
    padding: 10px 14px;
    cursor: pointer;
    color: #1a2330;
    background: #ffffff;
    font-size: 0.95rem;
}
.platform-picker-menu li:hover,
.platform-picker-menu li:focus {
    background: #eef3f0;
    color: #1a2330;
}

/* FAQ search + category tabs */
.faq-toolbar { margin-bottom: 24px; }
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.faq-tab {
    appearance: none;
    border: 1px solid var(--border, #cfd6de);
    background: #fff;
    color: #2c3540;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-transform: none;
    line-height: 1.2;
}
.faq-tab:hover { border-color: var(--primary, #4A5866); }
.faq-tab.active {
    background: var(--header-bg, #4A5866);
    border-color: var(--header-bg, #4A5866);
    color: #fff;
}
.faq-search-wrap { display: block; }
.faq-search-wrap input[type="search"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 10px;
    background: #fff;
    color: #1a2330;
    font-size: 0.95rem;
    font-family: inherit;
}
.faq-search-wrap input[type="search"]:focus {
    outline: none;
    border-color: var(--purple, #5A7A5C);
}
.faq-section-title {
    text-transform: none;
    font-size: 1.15rem;
}

/* Affiliate referral link card */
.aff-link-card {
    background: #fff;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 28px rgba(44, 53, 64, 0.08);
    position: relative;
    overflow: hidden;
}
.aff-link-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #c9a227, #5A7A5C);
}
.aff-link-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary, #4A5866);
    margin-bottom: 10px;
}
.aff-link-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}
.aff-link-row input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--border, #cfd6de);
    border-radius: 10px;
    background: #f6f8fa;
    color: #1a2330;
    font-size: 0.92rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.aff-copy-btn {
    flex: 0 0 auto;
    min-width: 96px;
    font-weight: 700;
}
.aff-link-hint {
    margin: 10px 0 0;
    font-size: 0.88rem;
    color: var(--text-muted, #6d7782);
}
.aff-copy-status {
    margin: 8px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent, #5A7A5C);
}

@media (max-width: 560px) {
    .aff-copy-btn { width: 100%; }
}






/* ===== Blog ===== */
.blog-page { padding-bottom: 48px; }
.blog-index-hero { margin: 24px 0 28px; }
.blog-index-hero h1 { margin-bottom: 8px; }
.blog-home { padding: 36px 0 48px; background: transparent; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}
.blog-card {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #d4dbe3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.blog-card-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: #e8edf1;
    overflow: hidden;
}
.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-card-body { padding: 16px; }
.blog-card-body h2,
.blog-card-body h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 8px;
}
.blog-card-body p {
    color: var(--text-muted, #6d7782);
    font-size: 0.92rem;
    margin: 0 0 8px;
}
.blog-card-meta { font-size: 0.8rem; color: var(--text-muted, #6d7782); }
.blog-article { max-width: 760px; margin: 24px auto 0; }
.blog-kicker { font-size: 0.85rem; color: var(--text-muted, #6d7782); margin-bottom: 10px; }
.blog-article h1 { font-size: 1.85rem; line-height: 1.25; margin-bottom: 10px; }
.blog-meta { color: var(--text-muted, #6d7782); margin-bottom: 18px; }
.blog-hero { margin: 0 0 22px; }
.blog-hero img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}
.blog-body { font-size: 1.05rem; line-height: 1.75; }
.blog-body h2 { margin: 28px 0 12px; font-size: 1.35rem; }
.blog-body h3 { margin: 20px 0 8px; font-size: 1.12rem; }
.blog-body ul, .blog-body ol { margin: 0 0 16px 1.2em; }
.blog-body li { margin: 0 0 6px; }
.blog-body a { color: var(--purple, #5A7A5C); }
.blog-cta-wrap { text-align: center; margin: 32px 0; }
.blog-cta { display: inline-flex; min-height: 46px; align-items: center; padding: 0 28px; font-weight: 700; }
.blog-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 16px 0 22px;
}
.blog-share-label { font-size: 0.85rem; font-weight: 600; margin-right: 4px; }
.blog-share-btn {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--border, #d4dbe3);
    background: #fff;
    color: var(--text, #2a333c) !important;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
}
.blog-share-btn:hover { border-color: var(--purple, #5A7A5C); }
.blog-ad-slot {
    margin: 18px 0;
    padding: 12px;
    border: 1px dashed var(--border, #d4dbe3);
    border-radius: 10px;
    overflow: auto;
}
.blog-related { margin: 28px 0 8px; }
.blog-advertise {
    max-width: 760px;
    margin: 36px auto 12px;
    padding: 16px;
    border-top: 1px solid var(--border, #d4dbe3);
}
.blog-advertise-btn {
    background: none;
    border: none;
    color: var(--purple, #5A7A5C);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    min-height: 44px;
}
.blog-advertise-panel { margin-top: 10px; }
.blog-advertise-email { font-weight: 700; margin-top: 10px; }
@media (max-width: 640px) {
    .blog-article h1 { font-size: 1.45rem; }
    .blog-grid { grid-template-columns: 1fr; }
}
