:root {
    --ink: #111827;
    --muted: #667085;
    --paper: #ffffff;
    --panel: #ffffff;
    --line: #e5e7eb;
    --night: #07111f;
    --teal: #12bfa0;
    --blue: #2f6fed;
    --gold: #f5b942;
    --coral: #f25f5c;
    --green: #18a058;
}

* {
    letter-spacing: 0;
}

body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

main > .container.py-5,
main > .app-band.py-5 {
    padding-top: 2.35rem !important;
    padding-bottom: 2.35rem !important;
}

main > .container.pb-5 {
    padding-bottom: 2.35rem !important;
}

.app-screen.container.py-4 {
    padding-top: 1.35rem !important;
    padding-bottom: 1.55rem !important;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: #174fbf;
}

.app-navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(17, 24, 39, 0.06);
}

.navbar-brand,
.app-navbar .nav-link {
    color: var(--ink);
}

.app-navbar .nav-link {
    opacity: 0.68;
    font-weight: 600;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link.active {
    color: var(--blue);
    opacity: 1;
}

.navbar-toggler {
    border-color: rgba(17, 24, 39, 0.12);
}

.navbar-toggler-icon {
    filter: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    color: #fff;
    box-shadow: 0 10px 30px rgba(18, 191, 160, 0.25);
}

.btn {
    border-radius: 8px;
    font-weight: 700;
}

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

.btn-primary:hover {
    background: #245ed2;
    border-color: #245ed2;
}

.btn-outline-light {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
}

.app-navbar .btn-outline-light {
    color: var(--ink);
    border-color: var(--line);
}

.app-navbar .btn-outline-light:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.nav-icon-btn,
.nav-profile-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-icon-btn {
    font-size: 1.1rem;
}

.nav-icon-btn.dropdown-toggle::after {
    display: none;
}

.nav-icon-btn:hover,
.nav-icon-btn.active,
.nav-profile-btn:hover {
    color: var(--blue);
    border-color: rgba(47, 111, 237, 0.35);
    box-shadow: 0 12px 26px rgba(47, 111, 237, 0.12);
    transform: translateY(-1px);
}

.nav-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    border: 2px solid #fff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.notification-menu {
    width: min(360px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.notification-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 10px;
}

.notification-menu-head strong {
    font-size: 0.94rem;
}

.notification-menu-head a {
    font-size: 0.82rem;
    font-weight: 850;
}

.notification-empty {
    padding: 18px 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.notification-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
    color: var(--ink);
}

.notification-item:hover,
.notification-item.is-unread {
    background: #f4f8ff;
}

.notification-dot {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--blue);
    background: #eef7ff;
}

.notification-item strong,
.notification-item small,
.notification-item time {
    display: block;
}

.notification-item strong {
    font-size: 0.9rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.notification-item small,
.notification-item time {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 3px;
    line-height: 1.35;
}

.hero-section {
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 64px 0 56px;
    color: var(--ink);
    background:
        radial-gradient(circle at 80% 16%, rgba(18, 191, 160, 0.15), transparent 30%),
        radial-gradient(circle at 12% 30%, rgba(47, 111, 237, 0.11), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.6rem;
    line-height: 1;
    font-weight: 900;
    margin: 12px 0 16px;
}

.hero-copy {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 620px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #344054;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}

.hero-trust-row i {
    color: var(--teal);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
}

.hero-metrics-mobile {
    display: none;
}

.hero-metrics div,
.mini-stat,
.feature-card,
.panel,
.auth-card,
.glass-panel,
.payment-method-card,
.offer-card,
.forum-card,
.metric-card {
    border-radius: 8px;
}

.hero-metrics div {
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.07);
}

.hero-metrics strong {
    display: block;
    font-size: 1.65rem;
    color: var(--ink);
}

.hero-metrics span {
    color: var(--muted);
    font-size: 0.9rem;
}

.phone-shell {
    width: min(420px, 100%);
    min-height: 570px;
    border-radius: 32px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 40px 90px rgba(17, 24, 39, 0.14);
    position: relative;
    overflow: hidden;
}

.phone-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 191, 160, 0.12), transparent 48%, rgba(47, 111, 237, 0.08));
    pointer-events: none;
}

.phone-shell > * {
    position: relative;
}

.phone-header {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}

.phone-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d5dd;
}

.phone-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    color: var(--ink);
    margin-bottom: 18px;
    border: 1px solid var(--line);
}

.wallet-amount {
    font-size: 2rem;
    font-weight: 900;
}

.phone-card i {
    font-size: 2.5rem;
    color: var(--teal);
}

.proxy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.proxy-grid div {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    min-height: 116px;
}

.proxy-grid i {
    color: var(--gold);
    font-size: 1.6rem;
}

.proxy-grid span,
.proxy-grid strong {
    display: block;
}

.proxy-grid strong {
    color: var(--ink);
    margin-top: 8px;
}

.activity-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 10px;
    color: var(--muted);
    border: 1px solid var(--line);
}

.activity-line span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal);
}

.hero-photo-card {
    position: relative;
    width: min(620px, 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 42px 100px rgba(17, 24, 39, 0.16);
    background: #fff;
}

.hero-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.floating-proof {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 260px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.1);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.14);
    color: var(--ink);
    font-weight: 850;
    backdrop-filter: blur(12px);
}

.floating-proof i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
}

.proof-top {
    top: 22px;
    left: 22px;
}

.proof-bottom {
    right: 22px;
    bottom: 22px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 22px;
}

.section-heading h2,
.app-band h2 {
    font-size: 2.45rem;
    font-weight: 900;
}

.feature-card,
.panel,
.auth-card,
.glass-panel,
.payment-method-card,
.offer-card,
.forum-card,
.metric-card,
.admin-preview,
.journey-preview {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}

.feature-card {
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.forum-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.12);
}

.feature-card i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e8fbf7;
    color: var(--teal);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.feature-card h3,
.panel h1,
.panel h2 {
    font-size: 1.2rem;
    font-weight: 850;
}

.feature-card p,
.text-secondary {
    color: var(--muted) !important;
}

.premium-column-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.premium-column {
    min-height: 232px;
    padding: 22px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 55px rgba(17, 24, 39, 0.07);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.premium-column:hover,
.client-review:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 111, 237, 0.24);
    box-shadow: 0 28px 72px rgba(17, 24, 39, 0.12);
}

.premium-column-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f7ff;
    color: var(--blue);
    font-size: 1.45rem;
    margin-bottom: 20px;
}

.premium-column h3 {
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.premium-column p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.home-market-section {
    padding-top: 0.5rem !important;
}

.home-market-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.home-market-head h2 {
    margin-bottom: 8px;
    font-size: 2.2rem;
    font-weight: 900;
}

.home-market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-market-card {
    min-width: 0;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-market-card:hover {
    color: var(--ink);
    transform: translateY(-4px);
    border-color: rgba(47, 111, 237, 0.24);
    box-shadow: 0 26px 64px rgba(17, 24, 39, 0.13);
}

.home-market-thumb {
    position: relative;
    aspect-ratio: 16 / 8;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fafc, #edfdfa);
    border: 1px solid var(--line);
    overflow: hidden;
}

.home-market-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-market-card:hover .home-market-thumb img {
    transform: scale(1.04);
}

.home-market-thumb > span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-width: 26px;
    height: 24px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(7, 17, 31, 0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.home-market-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.55rem;
}

.home-market-card-body {
    min-width: 0;
}

.home-market-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.home-market-card .market-price-badge,
.home-market-card .market-stock-badge,
.home-market-card .market-sold-badge,
.home-market-card .market-free-badge {
    min-height: 23px;
    padding: 4px 7px;
    font-size: 0.68rem;
}

.home-market-card h3 {
    display: -webkit-box;
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.24;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-market-card p {
    display: -webkit-box;
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-market-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
}

.home-market-foot > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    font-weight: 850;
}

.home-market-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
}

.home-market-empty i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: var(--blue);
    background: #edf4ff;
    font-size: 1.35rem;
}

.home-market-empty div {
    min-width: 0;
    flex: 1;
}

.home-market-empty strong,
.home-market-empty span {
    display: block;
}

.home-market-empty span {
    color: var(--muted);
}

.client-story {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 24px;
    padding: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f7fbff);
    border: 1px solid var(--line);
    box-shadow: 0 26px 80px rgba(17, 24, 39, 0.09);
}

.client-story-media {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #f8fafc;
}

.client-story-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.client-photo-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 36px);
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
    font-weight: 850;
}

.client-photo-badge i {
    color: var(--coral);
}

.client-story-copy h2 {
    margin: 8px 0 14px;
    font-size: 2.3rem;
    line-height: 1.08;
    font-weight: 900;
}

.client-story-copy p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.client-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.client-proof-grid div {
    min-height: 96px;
    padding: 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.client-proof-grid strong,
.client-proof-grid span,
.client-check-list span,
.review-person strong,
.review-person small {
    display: block;
}

.client-proof-grid strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ink);
}

.client-proof-grid span {
    color: var(--muted);
    font-size: 0.85rem;
}

.client-check-list {
    display: grid;
    gap: 9px;
}

.client-check-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #285a52;
    font-weight: 800;
}

.client-check-list i {
    color: var(--teal);
}

.trust-strip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f8fffd);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.trust-icon {
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e8fbf7;
    color: var(--teal);
    font-size: 1.9rem;
}

.trust-strip h2 {
    margin: 6px 0 8px;
    font-size: 1.55rem;
    font-weight: 900;
}

.trust-strip p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.app-band {
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.admin-preview,
.journey-preview {
    padding: 20px;
    border-radius: 8px;
}

.process-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.process-line div {
    padding: 14px;
    border-radius: 8px;
    background: #f8fffd;
    border: 1px solid #c8f3ea;
}

.process-line i {
    color: var(--teal);
    font-size: 1.25rem;
}

.process-line strong,
.process-line span {
    display: block;
}

.process-line strong {
    margin: 8px 0 4px;
    font-size: 0.98rem;
}

.process-line span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.admin-preview-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-preview-top span {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--coral), var(--gold));
}

.admin-preview-top em {
    margin-left: auto;
    color: var(--green);
    font-style: normal;
    font-weight: 800;
}

.mini-stat {
    background: #f8fafc;
    padding: 18px;
    border: 1px solid var(--line);
}

.mini-stat span,
.mini-stat strong {
    display: block;
}

.mini-stat strong {
    font-size: 1.7rem;
}

.admin-table div,
.list-stack > a,
.list-stack > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--ink);
}

.admin-table div + div,
.list-stack > a + a,
.list-stack > div + div {
    margin-top: 10px;
}

.admin-table strong {
    color: var(--blue);
}

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

.notification-page-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.notification-page-item:hover,
.notification-page-item.is-unread {
    border-color: rgba(47, 111, 237, 0.28);
    background: #f4f8ff;
}

.notification-page-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef7ff;
    color: var(--blue);
}

.notification-page-item strong,
.notification-page-item small,
.notification-page-item time {
    display: block;
}

.notification-page-item small,
.notification-page-item time {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.86rem;
}

.notification-page-item em {
    min-width: 44px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--coral);
    color: #fff;
    font-style: normal;
    font-size: 0.74rem;
    font-weight: 900;
    text-align: center;
}

.auth-section {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 44px 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 251, 247, 0.88)),
        repeating-linear-gradient(0deg, transparent 0, transparent 44px, rgba(47, 111, 237, 0.06) 45px);
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1fr);
    gap: 18px;
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 30px 90px rgba(17, 24, 39, 0.11);
    backdrop-filter: blur(16px);
}

.auth-shell-wide {
    width: min(100%, 1060px);
}

.auth-side,
.auth-form-card {
    border-radius: 8px;
}

.auth-side {
    min-height: 100%;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(20, 50, 74, 0.96)),
        linear-gradient(180deg, rgba(18, 191, 160, 0.18), transparent);
    color: #ffffff;
    overflow: hidden;
}

.auth-side .eyebrow {
    color: #92f3e1;
}

.auth-safe-mark {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.55rem;
    margin-bottom: 24px;
}

.auth-side h1 {
    margin: 10px 0 14px;
    font-size: 2.35rem;
    line-height: 1.05;
    font-weight: 900;
}

.auth-side p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.75;
    margin-bottom: 24px;
}

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

.auth-feature-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 750;
}

.auth-feature-list i {
    color: #92f3e1;
}

.auth-form-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 48px rgba(17, 24, 39, 0.07);
}

.auth-form-card h2 {
    margin: 8px 0 22px;
    font-size: 1.85rem;
    font-weight: 900;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field > span {
    color: #344054;
    font-size: 0.9rem;
    font-weight: 850;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    z-index: 2;
}

.input-icon .form-control {
    padding-left: 46px;
}

.auth-link-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.auth-small-copy {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-card,
.glass-panel {
    max-width: 500px;
    padding: 28px;
}

.form-control,
.form-select {
    border-radius: 8px;
    border-color: #d0d5dd;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 0.2rem rgba(47, 111, 237, 0.16);
}

.app-screen {
    min-height: auto;
}

.wallet-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #101928;
    color: #fff;
    font-weight: 900;
}

.wallet-pill i {
    color: var(--gold);
}

.wallet-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.balance-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.balance-steps div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.balance-steps span {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    font-size: 0.82rem;
}

.balance-steps strong {
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.metric-card {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 116px;
    color: var(--ink);
}

.metric-card i {
    color: var(--blue);
    font-size: 1.5rem;
}

.metric-card span,
.metric-card strong {
    display: block;
}

.metric-card span {
    color: var(--muted);
    margin-top: 12px;
    font-size: 0.88rem;
}

.metric-card strong {
    font-size: 1.45rem;
    margin-top: 6px;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.metric-card-compact {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 12px;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.metric-card-compact:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 111, 237, 0.35);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.metric-card-compact i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef7ff;
    font-size: 1.1rem;
}

.metric-card-compact span {
    margin-top: 0;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}

.metric-card-compact strong {
    margin-top: 0;
    font-size: 1.22rem;
    line-height: 1;
    text-align: right;
}

.profile-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.profile-card-top h1,
.profile-card-top h2 {
    margin: 4px 0;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.avatar-xs,
.avatar-sm,
.avatar-nav,
.avatar-xl,
.avatar-xxl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    color: #fff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 14px 34px rgba(47, 111, 237, 0.18);
    font-weight: 900;
}

.avatar-xs {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
}

.avatar-sm {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
}

.avatar-nav {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
    box-shadow: none;
}

.avatar-xl {
    width: 86px;
    height: 86px;
    font-size: 1.5rem;
}

.avatar-xxl {
    width: 118px;
    height: 118px;
    font-size: 2rem;
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fffd;
    border: 1px solid #c8f3ea;
    color: #285a52;
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
}

.trust-badge i {
    color: var(--teal);
}

.author-line,
.author-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.author-line {
    color: var(--teal);
    font-weight: 850;
    margin-bottom: 8px;
}

.author-mini {
    color: var(--muted);
    max-width: 100%;
}

.author-mini span,
.author-mini strong {
    overflow-wrap: anywhere;
}

.profile-hero {
    background:
        radial-gradient(circle at 90% 12%, rgba(18, 191, 160, 0.14), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fbff);
}

.profile-page {
    max-width: 980px;
}

.profile-hero-compact {
    padding: 16px;
    border: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.profile-hero-compact .profile-card-top {
    gap: 13px;
}

.profile-hero-compact .avatar-xxl {
    width: 82px;
    height: 82px;
    font-size: 1.45rem;
    box-shadow: 0 10px 24px rgba(47, 111, 237, 0.16);
}

.profile-hero-compact h1 {
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.12;
    margin: 3px 0 4px;
}

.profile-hero-compact p {
    max-width: 560px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.profile-hero-compact .eyebrow {
    font-size: 0.74rem;
}

.profile-hero-compact .profile-action-row {
    margin-top: 10px;
}

.profile-hero-compact .btn-sm {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.profile-hero-compact .trust-badge {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.78rem;
}

.profile-metrics {
    align-items: stretch;
}

.profile-metric-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 10px 12px;
}

.profile-metric-card i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef7ff;
    font-size: 1rem;
}

.profile-metric-card span,
.profile-metric-card strong {
    margin-top: 0;
}

.profile-metric-card span {
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
}

.profile-metric-card strong {
    font-size: 1.2rem;
    line-height: 1;
    text-align: right;
}

.profile-post-panel {
    padding: 16px;
}

.profile-post-panel .panel-head {
    margin-bottom: 12px;
}

.profile-post-panel .forum-card {
    padding: 14px;
}

.profile-post-panel .forum-card h2 {
    font-size: 1.02rem;
    line-height: 1.25;
}

.profile-post-panel .forum-card p {
    font-size: 0.88rem;
    line-height: 1.45;
}

.profile-post-panel .forum-thumb {
    max-height: 128px;
}

.profile-post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.badge-checks label {
    cursor: pointer;
}

.badge-checks input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.badge-checks span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 800;
}

.badge-checks input:checked + span {
    background: #e8fbf7;
    border-color: #a9eadf;
    color: #285a52;
}

.badge-checks i {
    color: var(--teal);
}

.panel {
    padding: 22px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-head h1,
.panel-head h2 {
    margin: 0;
}

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

.quick-actions a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--ink);
    font-weight: 800;
    min-height: 58px;
}

.quick-actions i {
    color: var(--teal);
    font-size: 1.18rem;
}

.compact-actions a {
    padding: 12px;
    min-height: 52px;
    font-size: 0.92rem;
}

.vault-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f8fffd;
    border: 1px solid #c8f3ea;
    color: #285a52;
    font-size: 0.95rem;
    line-height: 1.6;
}

.vault-note i {
    color: var(--teal);
    font-size: 1.25rem;
    margin-top: 2px;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 850;
    background: #eef2ff;
    color: #334155;
    text-transform: capitalize;
    white-space: nowrap;
}

.status-approved,
.status-open,
.status-active,
.status-released {
    background: #dcfce7;
    color: #166534;
}

.status-pending,
.status-held,
.status-hidden {
    background: #fef3c7;
    color: #92400e;
}

.status-refused,
.status-closed,
.status-blocked,
.status-refunded,
.status-deleted {
    background: #fee2e2;
    color: #991b1b;
}

.status-buyer_confirmed {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-moderation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 220px;
}

.admin-moderation-actions form {
    margin: 0;
}

.admin-preview-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    color: #7c2d12;
}

.admin-preview-banner strong {
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.admin-edit-profile-form .form-label {
    margin-bottom: 5px;
    color: #475467;
    font-size: 0.84rem;
    font-weight: 850;
}

.admin-avatar-control {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.admin-avatar-control .upload-inline {
    min-height: 40px;
    padding: 0 12px;
    background: #fff;
}

.offer-card {
    padding: 18px;
    background: linear-gradient(135deg, #ffffff, #fff7e3);
}

.payment-method-grid {
    display: grid;
    gap: 14px;
}

.payment-method-card {
    padding: 16px;
    background: #ffffff;
}

.payment-method-image {
    display: block;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #f8fafc;
}

.payment-method-image img {
    display: block;
    width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.payment-method-admin-thumb {
    display: inline-flex;
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #f8fafc;
}

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

.payment-method-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 190px;
}

.payment-method-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.payment-method-edit-row > td {
    border-top: 0;
}

.payment-method-edit-form {
    margin: 0 0 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.payment-method-card div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.payment-method-card strong,
.payment-method-card span {
    display: block;
}

.payment-method-card span {
    max-width: 280px;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: right;
}

.payment-method-card p {
    margin: 0 0 12px;
    color: #344054;
    line-height: 1.6;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.offer-card strong,
.offer-card span {
    display: block;
}

.offer-card span {
    color: var(--muted);
    margin-top: 6px;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink);
    --bs-table-border-color: var(--line);
}

.table thead th {
    color: #475467;
    font-size: 0.84rem;
    text-transform: uppercase;
}

.admin-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 6px;
    border-radius: 8px;
    background: #101928;
    scrollbar-width: thin;
}

.admin-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 750;
    font-size: 0.9rem;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.search-form,
.review-form {
    display: flex;
    gap: 8px;
}

.review-form {
    min-width: 320px;
    flex-wrap: wrap;
}

.review-form .form-control {
    max-width: 150px;
}

.chat-panel {
    max-width: 980px;
}

.chat-stream {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    max-height: 560px;
    overflow-y: auto;
}

.chat-bubble {
    max-width: 78%;
    padding: 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
}

.chat-bubble.admin {
    margin-left: auto;
    background: #e8fbf7;
}

.chat-bubble p {
    margin: 8px 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.chat-bubble span,
.list-stack small {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 16px;
    align-items: stretch;
}

.chat-form .btn {
    width: 54px;
}

.chat-closed-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--muted);
    font-weight: 800;
}

.chat-closed-note i {
    color: var(--blue);
}

.chat-form-tools {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.chat-file-btn,
.upload-inline {
    position: relative;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.chat-file-btn:hover,
.chat-file-btn.has-file,
.upload-inline:hover {
    border-color: rgba(47, 111, 237, 0.45);
    box-shadow: 0 10px 26px rgba(47, 111, 237, 0.12);
    transform: translateY(-1px);
}

.chat-file-btn i,
.upload-inline i {
    color: var(--blue);
}

.chat-file-btn {
    width: 54px;
    padding: 0;
}

.chat-file-input,
.upload-inline input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.chat-attachment {
    display: block;
    margin-top: 10px;
    max-width: min(320px, 100%);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
}

.chat-attachment img {
    display: block;
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}

.live-chat-form.sending {
    opacity: 0.72;
}

.profile-action-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.profile-action-row form {
    margin: 0;
}

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

.direct-thread-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.direct-thread-card:hover {
    color: var(--ink);
    border-color: rgba(47, 111, 237, 0.32);
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.direct-thread-main {
    min-width: 0;
}

.direct-thread-main strong,
.direct-thread-main small,
.direct-thread-main em,
.direct-thread-meta strong,
.direct-thread-meta small {
    display: block;
}

.direct-thread-main strong {
    font-weight: 850;
    overflow-wrap: anywhere;
}

.direct-thread-main small {
    color: var(--muted);
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.direct-thread-main em {
    color: #7a4f00;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
    margin-top: 4px;
}

.direct-thread-meta {
    text-align: right;
    min-width: 96px;
}

.direct-thread-meta strong {
    color: var(--blue);
    font-size: 1.05rem;
    line-height: 1;
}

.direct-thread-meta small {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 5px;
}

.direct-chat-head {
    align-items: center;
}

.direct-chat-person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.direct-chat-person h1 {
    margin-bottom: 0.1rem;
    overflow-wrap: anywhere;
}

.direct-chat-person a {
    font-size: 0.9rem;
    font-weight: 750;
}

.direct-chat-tools {
    display: grid;
    grid-template-columns: 56px;
}

.direct-chat-tools .btn {
    min-height: 48px;
}

.avatar-pair {
    display: flex;
    align-items: center;
    width: 58px;
}

.avatar-pair .avatar-sm {
    width: 34px;
    height: 34px;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12);
}

.avatar-pair .avatar-sm + .avatar-sm {
    margin-left: -12px;
}

.admin-direct-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
    padding: 34px 16px;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.empty-state i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--blue);
    background: #eef4ff;
    font-size: 1.3rem;
}

.empty-state strong {
    color: var(--ink);
}

.forum-list {
    display: grid;
    gap: 14px;
}

.market-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.market-page-head h1 {
    margin: 0.2rem 0 0.35rem;
    font-weight: 900;
}

.market-page-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.market-shell {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

.market-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 6px;
    padding: 8px;
}

.market-side-link {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 7px;
    border-radius: 8px;
    color: var(--ink);
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.market-side-link i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f7ff;
    color: var(--blue);
    font-size: 0.94rem;
}

.market-side-link strong,
.market-side-link small {
    display: block;
}

.market-side-link strong {
    font-size: 0.82rem;
    font-weight: 900;
}

.market-side-link small {
    margin-top: 1px;
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.18;
}

.market-side-link:hover,
.market-side-link.active {
    color: var(--blue);
    background: #f7fbff;
    border-color: rgba(47, 111, 237, 0.24);
    box-shadow: 0 12px 30px rgba(47, 111, 237, 0.1);
    transform: translateY(-1px);
}

.market-side-link.active i {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--blue));
}

.market-content {
    min-width: 0;
}

.market-search {
    display: flex;
    gap: 10px;
    width: min(100%, 420px);
}

.market-search .btn {
    width: 52px;
    flex: 0 0 auto;
}

.market-browse-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--muted);
}

.market-browse-head strong,
.market-browse-head span {
    display: inline-flex;
    align-items: center;
}

.market-browse-head strong {
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 900;
}

.market-browse-head span {
    margin-left: 8px;
    font-size: 0.86rem;
}

.market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.market-create-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    align-items: start;
    gap: 18px;
}

.market-form-panel,
.market-preview-panel {
    min-width: 0;
}

.market-preview-panel {
    position: sticky;
    top: 92px;
}

.market-preview-panel .market-preview-card {
    padding: 0;
    border: 0;
    background: transparent;
}

.market-preview-panel .market-preview-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-preview-card-large h3 {
    font-size: 1.45rem;
    line-height: 1.2;
}

.market-create-login,
.market-empty-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.market-create-login h2 {
    margin: 6px 0 8px;
    font-weight: 900;
}

.market-empty-state {
    grid-column: 1 / -1;
}

.market-grid .forum-card {
    padding: 10px;
}

.market-grid .forum-thumb {
    aspect-ratio: 16 / 5;
    max-height: 82px;
    margin-bottom: 8px;
}

.market-grid .forum-thumb-wrap > span {
    bottom: 14px;
    padding: 3px 6px;
    font-size: 0.7rem;
}

.market-grid .forum-card h2 {
    font-size: 1rem;
    line-height: 1.22;
    margin: 8px 0 6px;
}

.market-grid .forum-card p {
    display: -webkit-box;
    margin-bottom: 10px;
    font-size: 0.84rem;
    line-height: 1.42;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.market-grid .forum-meta {
    align-items: center;
    font-size: 0.78rem;
}

.my-market-card {
    display: grid;
    gap: 9px;
}

.my-market-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.my-market-actions form {
    margin: 0;
}

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

.listing-choice {
    cursor: pointer;
}

.listing-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.listing-choice span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 86px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.listing-choice span i {
    color: var(--blue);
    font-size: 1.15rem;
}

.listing-choice strong,
.listing-choice small,
.price-input-wrap > span {
    display: block;
}

.listing-choice strong {
    font-weight: 900;
    margin-bottom: 4px;
}

.listing-choice small {
    color: var(--muted);
    line-height: 1.45;
}

.listing-choice input:checked + span {
    border-color: rgba(47, 111, 237, 0.42);
    background: #f7fbff;
    box-shadow: 0 14px 34px rgba(47, 111, 237, 0.11);
}

.price-input-wrap {
    display: grid;
    gap: 8px;
}

.price-input-wrap > span {
    color: #344054;
    font-size: 0.9rem;
    font-weight: 850;
}

.price-input-wrap.is-disabled {
    opacity: 0.55;
}

.market-preview-sale,
.market-price-badge,
.market-stock-badge,
.market-sold-badge,
.market-free-badge,
.order-role {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 850;
}

.market-preview-sale,
.market-free-badge {
    background: #f8fafc;
    color: #475467;
    border: 1px solid var(--line);
}

.market-preview-sale.is-paid,
.market-price-badge {
    background: #fff7e3;
    color: #7a4a05;
    border: 1px solid #ffe2a3;
}

.market-stock-badge {
    background: #e8fbf7;
    color: #285a52;
    border: 1px solid #c8f3ea;
}

.market-stock-badge.is-disabled {
    display: none;
}

.market-sold-badge {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.market-post-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.market-purchase-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f8fffd);
    border: 1px solid #c8f3ea;
}

.market-purchase-box h2 {
    margin: 6px 0 8px;
    font-size: 1.45rem;
    font-weight: 900;
}

.market-purchase-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.purchase-form,
.purchase-status-panel {
    display: grid;
    gap: 12px;
}

.wallet-mini {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.wallet-mini i {
    grid-row: span 2;
    color: var(--gold);
    font-size: 1.25rem;
}

.wallet-mini span {
    color: var(--muted);
    font-size: 0.84rem;
}

.wallet-mini strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.seller-order-summary,
.order-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.seller-order-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seller-order-summary div,
.order-summary-grid div {
    min-height: 84px;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.seller-order-summary strong,
.seller-order-summary span,
.order-summary-grid strong,
.order-summary-grid span {
    display: block;
}

.seller-order-summary strong,
.order-summary-grid strong {
    font-size: 1.35rem;
    font-weight: 900;
}

.seller-order-summary span,
.order-summary-grid span {
    color: var(--muted);
    font-size: 0.84rem;
}

.order-summary-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.order-summary-grid i {
    color: var(--blue);
    font-size: 1.3rem;
}

.order-history-mini,
.protected-order-list {
    display: grid;
    gap: 10px;
}

.order-history-mini div,
.protected-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #ffffff;
}

.protected-order-item strong,
.protected-order-item small {
    display: block;
}

.protected-order-item small {
    color: var(--muted);
}

.order-role {
    margin-bottom: 6px;
    background: #eef2ff;
    color: #334155;
    border: 1px solid #dbe4ff;
}

.order-alert-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #fff7e3);
    border: 1px solid #ffe2a3;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.order-alert-card h2 {
    margin: 6px 0 8px;
    font-size: 1.45rem;
    font-weight: 900;
}

.order-alert-card p {
    margin: 0;
    color: var(--muted);
}

.order-row-hot {
    --bs-table-bg: #fff7e3;
}

.forum-card {
    display: block;
    padding: 16px;
    color: var(--ink);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-composer {
    padding: 22px;
}

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

.editor-toolbar .btn {
    width: 42px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.post-textarea {
    min-height: 240px;
    line-height: 1.7;
}

.selected-image-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-image-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #344054;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.market-preview-card {
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.market-preview-card h3 {
    margin: 10px 0;
    font-size: 1.18rem;
    font-weight: 850;
}

.market-preview-images,
.forum-gallery,
.existing-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.market-preview-images:empty {
    display: none;
}

.market-preview-images img,
.forum-gallery img,
.existing-image-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.existing-image-grid label {
    display: grid;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
}

.existing-image-grid span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.forum-thumb-wrap {
    position: relative;
}

.forum-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
}

.forum-thumb-wrap > span {
    position: absolute;
    right: 10px;
    bottom: 26px;
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(7, 17, 31, 0.82);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.forum-card h2 {
    font-size: 1.2rem;
    font-weight: 850;
}

.forum-card p {
    color: var(--muted);
}

.forum-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.forum-body {
    font-size: 1.06rem;
    line-height: 1.8;
}

.forum-body p {
    margin: 0 0 14px;
}

.market-rich-heading {
    margin: 18px 0 8px;
    font-size: 1.18rem;
    font-weight: 850;
}

.market-rich-list {
    margin: 0 0 14px 20px;
    padding: 0;
}

.forum-post-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    margin-bottom: 22px;
}

.forum-gallery {
    margin-bottom: 20px;
}

.post-owner-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

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

.my-post-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.my-post-item img,
.my-post-empty {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.my-post-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.my-post-item strong,
.my-post-item small {
    display: block;
}

.my-post-item strong {
    overflow-wrap: anywhere;
}

.my-post-item small {
    color: var(--muted);
}

.my-post-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-card {
    position: relative;
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
    overflow: hidden;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--gold));
}

.review-stars {
    display: flex;
    gap: 4px;
    color: var(--gold);
    margin-bottom: 18px;
}

.review-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e8fbf7;
    color: var(--teal);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.review-card h3 {
    font-size: 1.12rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.review-card p {
    color: var(--muted);
    line-height: 1.7;
}

.review-card span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
    font-size: 0.82rem;
    font-weight: 800;
}

.client-review {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.client-review p {
    flex: 1;
    font-size: 1rem;
    color: #344054;
}

.review-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.review-card .review-avatar {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
}

.review-person strong {
    font-weight: 900;
}

.review-person small {
    color: var(--muted);
}

.review-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 24px auto 0;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8fffd;
    border: 1px solid #c8f3ea;
    color: #285a52;
    font-weight: 750;
}

.review-note i {
    color: var(--teal);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.faq-item {
    min-height: 248px;
    padding: 24px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 55px rgba(17, 24, 39, 0.07);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff7e3;
    color: #9a630a;
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 1.08rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, #ffffff, #f8fffd 48%, #f7fbff);
    border: 1px solid var(--line);
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.09);
}

.final-cta h2 {
    margin: 8px 0 10px;
    font-size: 2rem;
    font-weight: 900;
}

.final-cta p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    max-width: 680px;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.comments {
    display: grid;
    gap: 14px;
}

.comment {
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.comment p {
    margin: 8px 0;
}

.comment span {
    color: var(--muted);
    font-size: 0.84rem;
}

.setup-steps {
    display: grid;
    gap: 12px;
}

.setup-steps div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
}

.setup-steps span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--blue);
    flex: 0 0 auto;
}

.site-footer {
    margin-top: 8px;
    padding: 6px 0 7px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-brand-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    min-width: 0;
    line-height: 1.15;
    text-align: center;
}

.footer-brand-line strong {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.footer-brand-line span {
    color: var(--muted);
    font-size: 0.74rem;
}

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1080;
    display: grid;
    gap: 10px;
    max-width: min(360px, calc(100vw - 32px));
}

.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.18);
    animation: toastIn 0.32s ease both;
}

.app-toast.hiding {
    animation: toastOut 0.28s ease both;
}

.app-toast i {
    font-size: 1.15rem;
    margin-top: 2px;
}

.toast-success i {
    color: var(--green);
}

.toast-error i {
    color: var(--coral);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    main > .container.py-5,
    main > .app-band.py-5 {
        padding-top: 1.9rem !important;
        padding-bottom: 1.9rem !important;
    }

    main > .container.pb-5 {
        padding-bottom: 1.9rem !important;
    }

    .app-screen.container.py-4 {
        padding-top: 1.05rem !important;
        padding-bottom: 1.25rem !important;
    }

    .hero-section {
        min-height: auto;
        padding: 44px 0 38px;
    }

    .hero-title {
        font-size: 3.1rem;
    }

    .section-heading h2,
    .app-band h2 {
        font-size: 2.1rem;
    }

    .phone-shell {
        min-height: 520px;
    }

    .hero-metrics-desktop {
        display: none;
    }

    .hero-metrics-mobile {
        display: grid;
        max-width: none;
    }

    .hero-photo-card img {
        aspect-ratio: 4 / 3;
    }

    .premium-column-grid,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-market-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-story,
    .auth-shell,
    .market-purchase-box {
        grid-template-columns: 1fr;
    }

    .client-story-copy h2,
    .auth-side h1 {
        font-size: 2rem;
    }

    .process-line {
        grid-template-columns: 1fr;
    }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-alert-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-page-head {
        flex-direction: column;
    }

    .market-page-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .market-shell {
        grid-template-columns: 1fr;
    }

    .market-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-create-form {
        grid-template-columns: 1fr;
    }

    .market-preview-panel {
        position: static;
    }

    .final-cta-actions {
        justify-content: flex-start;
    }

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

    .profile-post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-navbar .navbar-nav {
        align-items: flex-start;
        padding-top: 12px;
    }

    .notification-menu {
        width: 100%;
        margin-top: 8px;
    }

    .footer-inner {
        align-items: center;
        flex-direction: row;
    }

    .search-form {
        width: 100%;
    }

    .market-search {
        width: 100%;
    }

}

@media (max-width: 575.98px) {
    main > .container.py-5,
    main > .app-band.py-5 {
        padding-top: 1.35rem !important;
        padding-bottom: 1.35rem !important;
    }

    main > .container.pb-5 {
        padding-bottom: 1.35rem !important;
    }

    .app-screen.container.py-4 {
        padding-top: 0.9rem !important;
        padding-bottom: 1rem !important;
    }

    .hero-title {
        font-size: 2.55rem;
    }

    .hero-copy {
        font-size: 1.05rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .proxy-grid,
    .quick-actions,
    .market-grid,
    .home-market-grid,
    .premium-column-grid,
    .faq-grid,
    .client-proof-grid,
    .listing-type-grid,
    .seller-order-summary,
    .order-summary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-market-head h2 {
        font-size: 1.85rem;
    }

    .home-market-head .btn,
    .home-market-empty .btn {
        width: 100%;
    }

    .home-market-empty {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-page-head {
        margin-bottom: 14px;
    }

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

    .market-sidebar {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 7px;
    }

    .market-side-link {
        min-height: 44px;
        padding: 6px;
    }

    .market-side-link i {
        width: 30px;
        height: 30px;
    }

    .market-search {
        width: 100%;
    }

    .market-page-actions > .btn,
    .market-search .form-control {
        width: 100%;
    }

    .market-browse-head span {
        display: block;
        margin: 4px 0 0;
    }

    .market-browse-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-browse-head .btn {
        width: 100%;
    }

    .market-create-login,
    .market-empty-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .market-preview-panel .market-preview-images {
        grid-template-columns: 1fr;
    }

    .market-grid .forum-thumb {
        aspect-ratio: 16 / 5;
        max-height: 68px;
    }

    .metric-card-compact {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        min-height: 62px;
        gap: 8px;
        padding: 10px;
    }

    .metric-card-compact i {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .metric-card-compact span {
        font-size: 0.76rem;
    }

    .metric-card-compact strong {
        font-size: 1.04rem;
    }

    .notification-page-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .notification-page-icon {
        width: 38px;
        height: 38px;
    }

    .notification-page-item em {
        grid-column: 2;
        justify-self: flex-start;
    }

    .hero-trust-row span {
        width: 100%;
        justify-content: center;
    }

    .client-story,
    .final-cta {
        padding: 20px;
    }

    .client-story-copy h2,
    .final-cta h2 {
        font-size: 1.7rem;
    }

    .client-photo-badge {
        position: static;
        max-width: none;
        margin: 10px;
    }

    .auth-shell {
        gap: 10px;
        padding: 8px;
    }

    .auth-side,
    .auth-form-card {
        padding: 20px;
    }

    .auth-side h1 {
        font-size: 1.75rem;
    }

    .auth-link-row {
        flex-direction: column;
        gap: 8px;
    }

    .final-cta-actions,
    .final-cta-actions .btn,
    .order-alert-card .btn {
        width: 100%;
    }

    .protected-order-item,
    .order-history-mini div {
        align-items: flex-start;
        flex-direction: column;
    }

    .protected-order-item .text-end {
        text-align: left !important;
    }

    .auth-card,
    .panel,
    .glass-panel {
        padding: 18px;
    }

    .site-footer {
        margin-top: 6px;
        padding: 5px 0 6px;
    }

    .footer-inner {
        gap: 4px;
    }

    .footer-brand-line {
        display: flex;
        gap: 4px 7px;
    }

    .metric-card {
        min-height: 108px;
        padding: 13px;
    }

    .metric-card strong {
        font-size: 1.28rem;
    }

    .profile-page {
        max-width: 100%;
    }

    .profile-hero-compact {
        padding: 14px;
    }

    .profile-hero-compact .profile-card-top {
        gap: 10px;
    }

    .profile-hero-compact .avatar-xxl {
        width: 68px;
        height: 68px;
        font-size: 1.15rem;
    }

    .profile-hero-compact h1 {
        font-size: 1.32rem;
    }

    .profile-hero-compact p {
        font-size: 0.86rem;
    }

    .profile-metric-card {
        min-height: 56px;
        padding: 9px;
    }

    .profile-metric-card i {
        width: 30px;
        height: 30px;
        font-size: 0.92rem;
    }

    .profile-metric-card span {
        font-size: 0.74rem;
    }

    .profile-metric-card strong {
        font-size: 1.05rem;
    }

    .profile-post-panel {
        padding: 14px;
    }

    .chat-bubble {
        max-width: 92%;
    }

    .direct-thread-card,
    .admin-direct-card {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
    }

    .direct-thread-meta {
        grid-column: 2;
        min-width: 0;
        text-align: left;
    }

    .direct-thread-meta strong,
    .direct-thread-meta small {
        display: inline;
    }

    .direct-thread-meta small {
        margin-left: 8px;
    }

    .direct-chat-head {
        align-items: flex-start;
    }

    .direct-chat-head .profile-action-row {
        width: 100%;
    }

    .direct-chat-head .profile-action-row form,
    .direct-chat-head .profile-action-row .btn {
        width: 100%;
    }

    .avatar-pair {
        width: 42px;
    }

    .avatar-pair .avatar-sm {
        width: 30px;
        height: 30px;
    }

    .wallet-actions,
    .wallet-actions .btn {
        width: 100%;
    }

    .balance-steps {
        grid-template-columns: 1fr;
    }

    .payment-method-card div:first-child {
        display: block;
    }

    .payment-method-card span {
        max-width: none;
        margin-top: 4px;
        text-align: left;
    }

    .market-preview-images,
    .forum-gallery,
    .existing-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-post-item {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .my-post-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .post-owner-actions,
    .market-search {
        justify-content: flex-start;
    }

    .chat-form {
        grid-template-columns: 1fr;
    }

    .chat-form-tools {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 56px;
    }

    .chat-form .btn {
        width: 100%;
        min-height: 48px;
    }

    .direct-chat-tools {
        grid-template-columns: 1fr;
    }

    .chat-file-btn,
    .upload-inline {
        width: 100%;
    }

    .review-form,
    .review-form .form-control {
        width: 100%;
        max-width: none;
    }

    .admin-preview-banner,
    .admin-moderation-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-preview-banner .btn,
    .admin-moderation-actions .btn,
    .admin-moderation-actions form {
        width: 100%;
    }

    .admin-avatar-control {
        align-items: flex-start;
        flex-direction: column;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .profile-card-top {
        align-items: flex-start;
    }

    .profile-post-list,
    .badge-checks {
        grid-template-columns: 1fr;
    }

    .avatar-xxl {
        width: 92px;
        height: 92px;
        font-size: 1.55rem;
    }

    .toast-stack {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
    }

    .floating-proof {
        position: static;
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .hero-photo-card {
        display: grid;
    }
}
