:root {
    --topup-bg: #f4f7fb;
    --topup-card: #ffffff;
    --topup-green: #16a34a;
    --topup-green-hover: #15803d;
    --topup-green-soft: #ecfdf5;
    --topup-price: #ea580c;
    --topup-border: #e2e8f0;
    --topup-muted: #64748b;
    --topup-text: #0f172a;
    --topup-text-secondary: #475569;
    --topup-link: #15803d;
    --topup-selected: #16a34a;
    --topup-selected-ring: rgba(22, 163, 74, 0.2);
    --topup-notice: #db2777;
    --topup-heading: #1e293b;
    --topup-radius: 12px;
    --topup-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    --topup-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --topup-shell-max: 72rem;
    --topup-content-max: 36rem;
    --topup-content-pad: clamp(0.625rem, 2.5vw, 1.25rem);
    --topup-nav-offset: 7rem;
}

@media (min-width: 768px) {
    :root {
        --topup-content-max: 42rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --topup-content-max: 56rem;
    }
}

@media (min-width: 1280px) {
    :root {
        --topup-content-max: 64rem;
    }
}

body.topup-site {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    color: var(--topup-text) !important;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.topup-site .text-gray-400,
body.topup-site .text-gray-500 {
    color: var(--topup-text-secondary) !important;
}

body.topup-site .text-slate-300,
body.topup-site .text-slate-400 {
    color: var(--topup-muted) !important;
}

body.topup-site .text-slate-50,
body.topup-site .text-slate-100,
body.topup-site .text-slate-200 {
    color: var(--topup-text) !important;
}

body.topup-site .text-sky-300 { color: #0369a1 !important; }
body.topup-site .text-emerald-300 { color: #15803d !important; }
body.topup-site .text-amber-300 { color: #b45309 !important; }

body.topup-site .ff-dark-ui .text-white,
body.topup-site .ff-dark-ui .text-slate-50,
body.topup-site .ff-dark-ui .text-slate-100,
body.topup-site .ff-dark-ui .text-slate-200,
body.topup-site .ff-dark-ui .text-slate-300,
body.topup-site .ff-dark-ui .text-slate-400,
body.topup-site .ff-dark-ui .text-gray-400,
body.topup-site .ff-dark-ui .text-gray-500 {
    color: inherit;
}

body.topup-site .ff-dark-ui .text-white { color: #fff !important; }
body.topup-site .ff-dark-ui .text-gray-400 { color: #9ca3af !important; }
body.topup-site .ff-dark-ui .text-gray-500 { color: #6b7280 !important; }

.topup-text-muted {
    color: var(--topup-muted);
}

.topup-text-secondary {
    color: var(--topup-text-secondary);
}

body.topup-site.scanline::before,
body.topup-site.scanline::after {
    display: none !important;
}

.topup-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--topup-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.topup-nav-inner {
    max-width: var(--topup-shell-max);
    margin: 0 auto;
    padding: 0.45rem var(--topup-content-pad) 0.55rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.topup-nav-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 8.5rem);
    text-decoration: none;
}

.topup-nav-actions {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
}

.topup-nav-tabs {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}

.topup-nav-brand-text {
    font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.topup-site .topup-main-content {
    padding-top: var(--topup-nav-offset, 7rem);
    overflow-x: clip;
}

@media (min-width: 768px) {
    .topup-nav-inner {
        flex-wrap: nowrap;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        gap: 0.75rem 1rem;
    }

    .topup-nav-brand {
        order: 1;
        flex: 0 1 auto;
        max-width: none;
    }

    .topup-nav-tabs {
        order: 2;
        flex: 1 1 auto;
        width: auto;
        max-width: 26rem;
    }

    .topup-nav-actions {
        order: 3;
        margin-left: auto;
    }

    body.topup-site:not(.has-mode-tabs) .topup-nav-actions {
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    .topup-nav-tabs {
        max-width: 28rem;
    }
}

@media (max-width: 380px) {
    .topup-nav-brand {
        max-width: calc(100% - 7rem);
    }

    .topup-nav-lang-text {
        display: none;
    }

    .topup-nav-lang-btn {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .topup-nav-login {
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
        font-size: 0.8125rem !important;
    }
}

.topup-mode-tabs {
    display: flex;
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    border: 1px solid var(--topup-border);
    width: 100%;
}

.topup-mode-tab {
    padding: 0.5rem clamp(0.5rem, 2vw, 1rem);
    border-radius: 8px;
    font-size: clamp(0.6875rem, 1.8vw, 0.875rem);
    font-weight: 600;
    color: var(--topup-muted);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    line-height: 1.25;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 360px) {
    .topup-mode-tab {
        white-space: normal;
        font-size: 0.6875rem;
        padding: 0.4rem 0.35rem;
        line-height: 1.2;
        min-height: 2.5rem;
    }
}

@media (min-width: 768px) {
    .topup-mode-tabs {
        width: 100%;
    }
}

.topup-mode-tab:hover {
    color: var(--topup-text);
    background: rgba(255, 255, 255, 0.6);
}

.topup-mode-tab.active {
    background: var(--topup-green);
    color: #fff;
    box-shadow: 0 1px 4px rgba(22, 163, 74, 0.25);
}

.topup-page {
    max-width: var(--topup-content-max);
    margin: 0 auto;
    padding: var(--topup-content-pad);
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
    width: 100%;
    box-sizing: border-box;
}

.topup-breadcrumb {
    font-size: 0.875rem;
    color: var(--topup-muted);
    margin-bottom: 0.5rem;
}

.topup-breadcrumb a {
    color: var(--topup-muted);
    text-decoration: none;
}

.topup-breadcrumb a:hover {
    color: var(--topup-green);
}

.topup-breadcrumb span {
    color: var(--topup-text);
    font-weight: 500;
}

.topup-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--topup-text);
    margin-bottom: 1.5rem;
}

/* ── Notice bar ── */
.topup-notice-bar {
    margin-bottom: 0.75rem;
    border-radius: var(--topup-radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--topup-notice) 0%, #e11d48 100%);
    color: #fff;
    box-shadow: var(--topup-shadow);
}

.topup-notice-label {
    padding: 0.625rem 0.875rem 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.topup-notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0 0.75rem 0.75rem 0.875rem;
}

.topup-notice-text {
    flex: 1;
    font-size: 0.8125rem;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
}

.topup-notice-close {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    margin-top: 0.125rem;
}

.topup-notice-text strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

.topup-notice-link {
    display: inline-block;
    margin-left: 0.35rem;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.topup-notice-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.topup-notice-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* ── Section headings & categories ── */
.topup-section {
    margin-bottom: 1.5rem;
}

.topup-section-heading::before,
.topup-section-heading::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 2rem;
    height: 1px;
    margin: 0 0.625rem;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.topup-section-heading {
    text-align: center;
    font-size: clamp(0.875rem, 2vw, 1.0625rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--topup-heading);
    margin: 0 0 clamp(0.625rem, 2vw, 1rem);
    position: relative;
}

.topup-section-heading--plain::before,
.topup-section-heading--plain::after {
    background: linear-gradient(90deg, transparent, #d1d5db, transparent);
}

.topup-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

@media (min-width: 576px) {
    .topup-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topup-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    border: 2px solid var(--topup-border);
    border-radius: 12px;
    background: var(--topup-card);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.topup-category-card:hover {
    border-color: rgba(22, 163, 74, 0.45);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.topup-category-card.is-active {
    border-color: var(--topup-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    background: rgba(22, 163, 74, 0.04);
}

.topup-category-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    color: var(--topup-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.topup-category-card.is-active .topup-category-icon {
    background: var(--topup-green);
    color: #fff;
}

.topup-category-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--topup-text);
    line-height: 1.2;
}

.topup-category-sub {
    font-size: 0.6875rem;
    color: var(--topup-muted);
}

/* ── Image carousel ── */
.topup-carousel {
    margin-bottom: 1rem;
}

.topup-carousel__viewport {
    position: relative;
    border-radius: var(--topup-radius);
    overflow: hidden;
    box-shadow: var(--topup-shadow);
    border: 1px solid var(--topup-border);
    width: 100%;
    line-height: 0;
}

.topup-carousel__track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.topup-carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    line-height: 0;
}

.topup-carousel__link {
    display: block;
    width: 100%;
    line-height: 0;
}

.topup-carousel__img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.topup-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(1.5rem, 4vw, 2rem);
    height: clamp(1.5rem, 4vw, 2rem);
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #ea580c;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: clamp(0.5625rem, 1.5vw, 0.75rem);
    transition: background 0.15s, transform 0.15s;
}

.topup-carousel__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.topup-carousel__arrow--prev { left: 0.35rem; }
.topup-carousel__arrow--next { right: 0.35rem; }

.topup-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding: 0;
    min-height: 0;
}

.topup-carousel__dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
    border: none;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: width 0.2s, background 0.2s;
}

.topup-carousel__dot.is-active {
    background: var(--topup-green);
    width: 18px;
    border-radius: 999px;
}

/* ── Image category tiles ── */
.topup-category-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.4rem, 1.5vw, 0.875rem);
}

@media (min-width: 768px) {
    .topup-category-tiles {
        gap: 1rem;
    }
}

.topup-category-tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    text-align: center;
    transition: transform 0.15s ease;
}

.topup-category-tile:hover {
    transform: translateY(-1px);
}

.topup-category-tile.is-active .topup-category-tile__imgwrap {
    box-shadow: 0 0 0 2px var(--topup-green);
}

.topup-category-tile__imgwrap {
    border-radius: 10px;
    overflow: hidden;
    background: var(--topup-card);
    box-shadow: var(--topup-shadow);
    border: 1px solid var(--topup-border);
    aspect-ratio: 5 / 3;
}

.topup-category-tile__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.topup-category-tile__caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.35rem;
    padding: 0 0.125rem;
    color: var(--topup-muted);
    font-size: clamp(0.625rem, 1.8vw, 0.8125rem);
    font-weight: 500;
    line-height: 1.25;
    min-height: 2.5em;
    word-break: break-word;
}

.topup-category-tile.is-active .topup-category-tile__caption {
    color: var(--topup-green);
    font-weight: 700;
}

/* ── Follow Us ── */
.topup-follow-section {
    margin-top: 1.25rem;
    padding: 1rem;
    text-align: center;
    background: var(--topup-card);
    border: 1px solid var(--topup-border);
    border-radius: var(--topup-radius);
    box-shadow: var(--topup-shadow);
}

.topup-follow-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--topup-heading);
    margin: 0 0 0.3rem;
}

.topup-follow-sub {
    font-size: 0.75rem;
    color: var(--topup-muted);
    margin: 0 0 0.875rem;
    line-height: 1.5;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.topup-follow-icons {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.topup-follow-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: var(--topup-shadow);
    transition: transform 0.15s, box-shadow 0.15s;
}

.topup-follow-icon:hover {
    transform: scale(1.08);
    color: #fff;
}

.topup-follow-icon--fb { background: #1877f2; }
.topup-follow-icon--tg { background: #229ed9; }
.topup-follow-icon--yt { background: #ff0000; }
.topup-follow-icon--tt { background: #010101; }

.topup-footer-social-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.topup-footer-social-row a {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: #f3f4f6;
    color: var(--topup-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.topup-footer-social-row a:hover {
    background: var(--topup-green);
    color: #fff;
}

.topup-footer-support-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topup-footer-support-list li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.topup-footer-support-list a {
    color: var(--topup-link);
    font-weight: 600;
}

.topup-footer-support-list .support-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--topup-muted);
    margin-top: 0.15rem;
}

/* ── Recent orders feed ── */
.topup-recent-section {
    margin-top: 1.25rem;
}

.topup-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.topup-recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
    background: var(--topup-card);
    border: 1px solid var(--topup-border);
    border-radius: 10px;
    box-shadow: var(--topup-shadow);
}

.topup-recent-user {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.topup-recent-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--topup-green-soft);
    color: var(--topup-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.topup-recent-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--topup-text);
    margin: 0;
}

.topup-recent-pkg {
    font-size: 0.6875rem;
    color: var(--topup-muted);
    margin: 0.1rem 0 0;
}

.topup-recent-status {
    flex-shrink: 0;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.topup-recent-status--completed {
    background: #dcfce7;
    color: #15803d;
}

.topup-recent-status--cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.topup-recent-status--pending {
    background: #fef9c3;
    color: #a16207;
}

.topup-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 992px) {
    .topup-layout {
        grid-template-columns: 1.65fr 1fr;
        align-items: start;
    }
}

.topup-card {
    background: var(--topup-card);
    border-radius: var(--topup-radius);
    border: 1px solid var(--topup-border);
    box-shadow: var(--topup-shadow);
    overflow: hidden;
}

.topup-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.875rem, 2vw, 1.125rem);
    border-bottom: 1px solid var(--topup-border);
    font-weight: 600;
    font-size: clamp(0.8125rem, 2vw, 0.9375rem);
    color: var(--topup-heading);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    line-height: 1.35;
    min-width: 0;
}

.topup-card-head-title {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
    font-weight: 600;
    color: var(--topup-heading);
    letter-spacing: -0.01em;
}

.topup-card-head > span:last-child:not(.topup-step-num) {
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
}

.topup-card-head .ml-auto {
    flex: 0 0 auto;
    margin-left: auto;
}

.topup-step-num {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    max-width: 1.75rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.topup-step-num i {
    font-size: 0.625rem;
    line-height: 1;
}

.topup-card-body {
    padding: 1rem;
}

.topup-pkg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

@media (min-width: 576px) {
    .topup-pkg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .topup-pkg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topup-pkg-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--topup-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
}

.topup-pkg-item:hover {
    border-color: #d1d5db;
}

.topup-pkg-item.selected {
    border-color: var(--topup-selected);
    box-shadow: 0 0 0 2px var(--topup-selected-ring);
    background: var(--topup-green-soft);
}

.topup-pkg-item.is-out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
    pointer-events: none;
}

.topup-pkg-item.is-out-of-stock .topup-pkg-name {
    color: #9ca3af;
}

.topup-pkg-item.is-out-of-stock:hover {
    border-color: var(--topup-border);
    box-shadow: none;
}

.topup-pkg-item.is-out-of-stock.selected {
    border-color: var(--topup-border);
    box-shadow: none;
    background: #f3f4f6;
}

.topup-stock-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.topup-stock-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.topup-stock-empty-title {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    margin: 0 0 0.5rem;
}

.topup-stock-empty-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
}

.topup-pkg-left {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.topup-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    flex-shrink: 0;
    position: relative;
}

.topup-pkg-item.selected .topup-radio {
    border-color: var(--topup-selected);
}

.topup-pkg-item.selected .topup-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--topup-selected);
}

.topup-pkg-name {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topup-pkg-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--topup-price);
    white-space: nowrap;
}

.topup-how-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    color: var(--topup-price);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}

.topup-how-link:hover {
    text-decoration: underline;
}

.topup-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.topup-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--topup-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--topup-text);
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.topup-input:focus {
    border-color: var(--topup-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.topup-btn-green {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--topup-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.topup-btn-green:hover:not(:disabled) {
    background: var(--topup-green-hover);
}

.topup-btn-green:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.topup-player-result {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.875rem;
}

.topup-player-result.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.topup-pay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.topup-pay-tile {
    border: 2px solid var(--topup-border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s;
}

.topup-pay-tile.selected {
    border-color: var(--topup-selected);
}

.topup-pay-check {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    background: var(--topup-selected);
    color: #fff;
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
}

.topup-pay-tile.selected .topup-pay-check {
    display: flex;
}

.topup-pay-visual {
    padding: 1.25rem 0.75rem;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background: #fafafa;
    text-align: center;
}

.topup-pay-visual i {
    font-size: 1.75rem;
    color: var(--topup-green);
}

.topup-pay-visual .pay-logos {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #374151;
}

.topup-pay-visual .pay-logos span {
    padding: 2px 6px;
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 4px;
}

.topup-pay-footer {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    border-top: 1px solid var(--topup-border);
}

.topup-pay-tile.selected .topup-pay-footer {
    background: #ecfdf5;
    color: var(--topup-green);
}

.topup-info-line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--topup-muted);
}

.topup-warn-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--topup-price);
    font-weight: 500;
}

.topup-instant-panel {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid var(--topup-border);
    border-radius: 8px;
}

.topup-method-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.topup-method-pill {
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--topup-border);
    border-radius: 999px;
    font-size: 0.8125rem;
    cursor: pointer;
    background: #fff;
}

.topup-method-pill.active {
    border-color: var(--topup-green);
    background: #ecfdf5;
    color: var(--topup-green);
    font-weight: 600;
}

.topup-cta {
    margin-top: 1.25rem;
}

.topup-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.topup-error {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 0.875rem;
}

.topup-footer-lite {
    background: #fff;
    border-top: 1px solid var(--topup-border);
    padding: 2rem 1rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--topup-muted);
    font-size: 0.875rem;
}

/* Mode tabs on dark pages (legacy) */
nav:not(.topup-nav) .topup-mode-tabs {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

nav:not(.topup-nav) .topup-mode-tab {
    color: #9ca3af;
}

nav:not(.topup-nav) .topup-mode-tab:hover {
    color: #fff;
}

nav:not(.topup-nav) .topup-mode-tab.active {
    background: var(--topup-green);
    color: #fff;
}

/* ── Marketplace (light theme, matches top-up) ── */
.mp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .mp-stats-grid {
        grid-template-columns: 1fr;
    }
}

.mp-stat-card {
    background: var(--topup-card);
    border: 1px solid var(--topup-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.mp-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--topup-price);
    line-height: 1.2;
}

.mp-stat-label {
    font-size: 0.75rem;
    color: var(--topup-muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Marketplace filter panel */
.mp-filter-card {
    border: 1px solid var(--topup-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mp-filter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--topup-text, #111827);
    margin: 0;
}

.mp-filter-sub {
    font-size: 0.82rem;
    color: var(--topup-muted);
    margin: 0.35rem 0 0;
}

.mp-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

@media (min-width: 640px) {
    .mp-filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mp-filter-field--wide {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .mp-filter-field--wide {
        grid-column: span 1;
    }
}

.mp-filter-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--topup-muted);
    margin-bottom: 0.35rem;
}

.mp-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--topup-border);
}

.mp-filter-actions .topup-btn-green {
    flex: 1 1 auto;
    min-width: 160px;
}

.mp-filter-reset {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--topup-muted);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
}

.mp-filter-reset:hover {
    color: var(--topup-green);
    text-decoration: underline;
}

/* Marketplace page hero — fills header whitespace with feature highlights */
.mp-page-hero {
    padding-bottom: 1.25rem;
}

.mp-page-hero .topup-title {
    margin-bottom: 0;
}

.mp-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 992px) {
    .mp-hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 1.5rem;
    }
}

.mp-hero-copy {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.08);
}

.mp-hero-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem !important;
}

.mp-hero-lead {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--topup-text-secondary, #374151);
    max-width: 38rem;
}

.mp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #166534;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.mp-hero-badge i {
    font-size: 0.68rem;
    opacity: 0.9;
}

.mp-hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .mp-hero-features {
        grid-template-columns: 1fr 1fr;
    }
}

.mp-hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    background: #fff;
    border: 1px solid var(--topup-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.mp-hero-feature:hover {
    border-color: #bbf7d0;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.1);
    transform: translateY(-1px);
}

.mp-hero-feature__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.mp-hero-feature__icon--green {
    background: #ecfdf5;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.mp-hero-feature__icon--blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.mp-hero-feature__icon--red {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.mp-hero-feature__icon--amber {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.mp-hero-feature__title {
    margin: 0 0 0.2rem;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--topup-text, #111827);
    line-height: 1.35;
}

.mp-hero-feature__text {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--topup-muted, #6b7280);
}

.mp-section {
    background: transparent;
}

.mp-item-card {
    background: var(--topup-card);
    border: 1px solid var(--topup-border);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.mp-item-card__media {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: #0a0a0a;
    line-height: 0;
}

.mp-item-card__img,
.mp-item-card__video {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
}

.mp-item-card:hover .mp-item-card__img,
.mp-item-card:hover .mp-item-card__video {
    transform: scale(1.05);
}

.mp-item-card__img--sold,
.mp-item-card__video--sold {
    opacity: 0.45;
    filter: grayscale(1);
}

.mp-item-card:hover .mp-item-card__img--sold,
.mp-item-card:hover .mp-item-card__video--sold {
    opacity: 1;
    filter: grayscale(0);
}

.mp-item-card:hover {
    border-color: #bbf7d0;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

.marketplace-page .mp-item-card h3,
.marketplace-page .mp-item-card h4 {
    color: var(--topup-text) !important;
}

.marketplace-page .mp-item-card .text-gray-400,
.marketplace-page .mp-item-card .text-gray-500 {
    color: var(--topup-muted) !important;
}

.marketplace-page .mp-item-card .price-font,
.marketplace-page .mp-item-card .text-neon-yellow {
    color: var(--topup-price) !important;
}

.marketplace-page .mp-item-card .bg-gray-800 {
    background: #f3f4f6 !important;
    border-color: var(--topup-border) !important;
    color: #374151 !important;
}

.marketplace-page .mp-item-card .border-t.border-gray-800 {
    border-color: var(--topup-border) !important;
}

.mp-btn-claim {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: var(--topup-green);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.mp-btn-claim:hover {
    background: var(--topup-green-hover);
    color: #fff;
}

.mp-sold-card .p-4 {
    background: #fff !important;
}

.marketplace-page .mp-sold-card h4 {
    color: var(--topup-text) !important;
}

.marketplace-page .mp-sold-card .text-gray-400,
.marketplace-page .mp-sold-card .text-gray-500 {
    color: var(--topup-muted) !important;
}

.marketplace-page .mp-sold-card .border-gray-700 {
    border-color: var(--topup-border) !important;
}

.mp-review-card {
    border-left: 3px solid var(--topup-green) !important;
}

.marketplace-page .mp-review-card h4 {
    color: var(--topup-text) !important;
}

.marketplace-page .mp-review-card p {
    color: #4b5563 !important;
}

.marketplace-page .mp-item-card .text-white {
    color: var(--topup-text) !important;
}

.marketplace-page .mp-item-card .text-gray-300 {
    color: var(--topup-muted) !important;
}

.marketplace-page .mp-empty-state {
    color: var(--topup-muted);
    font-size: 1rem;
}

.marketplace-page #reviews .mp-review-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.marketplace-page #reviews .mp-review-tab {
    padding: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid var(--topup-border);
    border-radius: 6px;
    color: var(--topup-muted);
    background: #fff;
}

.marketplace-page #reviews .mp-review-tab.is-active {
    border-color: var(--topup-green);
    color: var(--topup-green);
    background: #f0fdf4;
}

.marketplace-page #reviews .mp-review-card {
    background: #f9fafb;
    border: 1px solid var(--topup-border);
    border-radius: 10px;
}

.marketplace-page #reviews .mp-review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: #ecfdf5;
    color: var(--topup-green);
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.marketplace-page #reviews .review-body {
    color: var(--topup-text-secondary) !important;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.marketplace-page #reviews .review-date {
    color: var(--topup-muted);
    font-size: 0.8125rem;
}

.marketplace-page #reviews .mp-review-admin-reply {
    background: #eff6ff;
    border-left: 3px solid var(--topup-green);
    padding: 0.875rem 1rem;
    border-radius: 0 8px 8px 0;
}

.marketplace-page #reviews .mp-gate-box {
    text-align: center;
    padding: 2rem 1.25rem;
    background: #f9fafb;
    border: 1px solid var(--topup-border);
    border-radius: 10px;
}

.marketplace-page #reviews .mp-gate-box h4 {
    color: var(--topup-text);
    font-weight: 700;
}

.marketplace-page #reviews .mp-gate-box p {
    color: var(--topup-muted);
    font-size: 0.875rem;
}

.marketplace-page #reviews select,
.marketplace-page #reviews textarea,
.marketplace-page #reviews input[type="file"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--topup-text);
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 8px;
}

.marketplace-page #reviews .topup-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--topup-text);
    margin-bottom: 0.375rem;
    display: block;
}

.marketplace-page #reviews .mp-review-type-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--topup-border);
    border-radius: 6px;
    color: var(--topup-muted);
    background: #fff;
}

.marketplace-page #reviews .mp-review-type-btn.is-active {
    border-color: var(--topup-green);
    color: var(--topup-green);
    background: #f0fdf4;
}

.marketplace-page #reviews .mp-alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.marketplace-page #reviews .mp-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

body.topup-site #footer.topup-site-footer {
    background: var(--topup-card);
    border-top: 1px solid var(--topup-border);
    margin-top: 1.5rem;
}

body.topup-site #footer.topup-site-footer .topup-footer-inner {
    max-width: var(--topup-content-max);
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 1.5rem) var(--topup-content-pad);
}

.topup-footer-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fafbfc;
    border: 1px solid var(--topup-border);
    border-radius: var(--topup-radius);
}

@media (min-width: 640px) {
    .topup-footer-blocks {
        grid-template-columns: 1fr 1fr;
    }
}

.topup-footer-block h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--topup-heading);
    margin: 0 0 0.625rem;
}

body.topup-site #footer.topup-site-footer a {
    color: var(--topup-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}

body.topup-site #footer.topup-site-footer a:hover {
    color: var(--topup-link);
}

body.topup-site #footer.topup-site-footer .footer-copy {
    color: var(--topup-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--topup-border);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    text-align: center;
}

/* ── Mobile bottom navigation (ucghor-style) ── */
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 50;
    background: #fff;
    color: #111827;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: 56px;
    max-width: 100%;
}

.mobile-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px 8px;
    text-decoration: none;
    color: #374151;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

.mobile-bottom-nav-item.is-active,
.mobile-bottom-nav-item:hover {
    color: var(--topup-green);
}

.mobile-bottom-nav-icon {
    font-size: 1.125rem;
    line-height: 1;
}

.mobile-bottom-nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding: 0 2px;
}

@media (max-width: 767px) {
    body.has-mobile-bottom-nav #main-content {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    }

    body.has-mobile-bottom-nav #footer {
        margin-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0));
    }

    body.topup-site .pp-support-fab-stack {
        bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
        z-index: 40;
    }

    body.topup-site .pp-support-fab-stack > .flex-col {
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 0.625rem !important;
    }

    body.topup-site .pp-support-fab-stack .w-14,
    body.topup-site .pp-support-fab-stack .h-14 {
        width: 3rem !important;
        height: 3rem !important;
    }

    body.topup-site .pp-fab-ai,
    body.topup-site .pp-fab-ai__btn {
        width: 52px;
        height: 52px;
    }

    body.topup-site .pp-fab-ai__btn .pp-ai-bot-icon {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 768px) {
    body.topup-site .pp-support-fab-stack {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

/* Add Money page */
.add-money-layout {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .add-money-layout {
        grid-template-columns: minmax(260px, 340px) 1fr;
    }
}

.topup-preset-btn {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--topup-border);
    border-radius: 999px;
    background: #fff;
    color: var(--topup-text);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.15s;
}

.topup-preset-btn:hover {
    border-color: var(--topup-green);
    color: var(--topup-green);
    background: #f0fdf4;
}

.topup-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.topup-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.topup-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.topup-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* My Orders hub + order list pages */
.my-orders-hub-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .my-orders-hub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.my-orders-hub-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--topup-border);
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.my-orders-hub-card:hover {
    border-color: var(--topup-green);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.08);
    transform: translateY(-2px);
}

.my-orders-hub-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.my-orders-hub-card--topup .my-orders-hub-card-icon {
    background: #ecfdf5;
    color: var(--topup-green);
}

.my-orders-hub-card--marketplace .my-orders-hub-card-icon {
    background: #eff6ff;
    color: #2563eb;
}

.my-orders-hub-card-body h2 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--topup-text);
}

.my-orders-hub-card-body p {
    font-size: 0.8125rem;
    color: var(--topup-muted);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.my-orders-hub-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;
    color: var(--topup-muted);
}

.my-orders-hub-badge {
    background: #ecfdf5;
    color: #15803d;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.6875rem;
}

.my-orders-hub-badge--amber {
    background: #fffbeb;
    color: #b45309;
}

.my-orders-hub-arrow {
    margin-left: auto;
    color: #d1d5db;
    font-size: 0.875rem;
}

.my-orders-filter-row,
.my-orders-tab-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.my-orders-filter-pill,
.my-orders-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--topup-border);
    border-radius: 999px;
    background: #fff;
    color: var(--topup-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.my-orders-filter-pill.is-active,
.my-orders-tab.is-active {
    background: var(--topup-green);
    border-color: var(--topup-green);
    color: #fff;
}

.my-orders-tab-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.6875rem;
}

.my-orders-tab:not(.is-active) .my-orders-tab-count {
    background: #f3f4f6;
    color: #6b7280;
}

.my-orders-list {
    display: flex;
    flex-direction: column;
}

.my-orders-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--topup-border);
}

.my-orders-item.is-highlight {
    background: #f0fdf4;
    border-left: 3px solid var(--topup-green);
    scroll-margin-top: 5rem;
}

.my-orders-item:last-child {
    border-bottom: none;
}

.my-orders-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.my-orders-ref {
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--topup-text);
}

.my-orders-date {
    font-size: 0.75rem;
    color: var(--topup-muted);
    margin-top: 0.15rem;
}

.my-orders-status {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.my-orders-status.status-pending {
    background: #fffbeb;
    color: #b45309;
}

.my-orders-status.status-success {
    background: #ecfdf5;
    color: #15803d;
}

.my-orders-status.status-failed {
    background: #fef2f2;
    color: #b91c1c;
}

.my-orders-status.status-neutral {
    background: #f3f4f6;
    color: #6b7280;
}

.my-orders-item-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--topup-text);
    text-decoration: none;
}

.my-orders-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--topup-muted);
}

.my-orders-meta-grid strong {
    color: var(--topup-text);
}

.my-orders-trx {
    word-break: break-all;
}

.my-orders-thumb {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 1px solid var(--topup-border);
}

.my-orders-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--topup-muted);
    font-size: 0.875rem;
}

.my-orders-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.my-orders-action-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid;
    background: #fff;
    cursor: pointer;
}

.my-orders-action-btn--danger {
    border-color: #fecaca;
    color: #b91c1c;
}

.my-orders-action-btn--gold {
    border-color: #fde68a;
    color: #b45309;
}

.my-orders-action-note {
    font-size: 0.75rem;
    color: var(--topup-muted);
}

.my-orders-card-details {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    font-family: ui-monospace, monospace;
    font-size: 0.8125rem;
    color: #15803d;
    word-break: break-all;
}

.my-orders-quote {
    font-size: 0.875rem;
    color: #4b5563;
    font-style: italic;
    border-left: 3px solid var(--topup-green);
    padding-left: 0.75rem;
    margin: 0;
}

.my-orders-suggestions h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--topup-muted);
    margin: 1rem 0 0.5rem;
}

.my-orders-suggestion-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .my-orders-suggestion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.my-orders-suggestion {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--topup-border);
    border-radius: 0.5rem;
    background: #fafafa;
}

.my-orders-suggestion img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.my-orders-modal-panel {
    position: relative;
    width: 100%;
    max-width: 28rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.my-orders-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: #f3f4f6;
    border-radius: 999px;
    cursor: pointer;
    color: #6b7280;
}

.my-orders-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.id-request-panel {
    max-width: 32rem;
}

.id-request-intro {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.id-request-form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.id-request-field {
    margin-bottom: 0.875rem;
}

.id-request-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0.35rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.id-request-textarea {
    min-height: 5.5rem;
    resize: vertical;
    line-height: 1.45;
}

.id-request-error {
    font-size: 0.8125rem;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
    margin-bottom: 0.75rem;
}

.id-request-submit {
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
}

.id-request-success {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.id-request-success-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.id-request-success-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem;
}

.id-request-success-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

/* ── ucghor-style account dashboard ── */
.topup-header-wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--topup-green);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.topup-header-wallet:hover {
    background: var(--topup-green-hover);
    color: #fff;
}

.topup-header-refund-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.95);
    color: #78350f;
    margin-left: 0.15rem;
}

.topup-header-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 2px solid #dbeafe;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.user-drawer-root {
    position: relative;
    z-index: 200;
}

.user-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
}

.user-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 320px);
    height: 100%;
    background: #fff;
    z-index: 201;
    overflow-y: auto;
    padding: 1.25rem 1rem 2rem;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.user-drawer-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.user-drawer-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-drawer-greeting {
    font-weight: 700;
    color: var(--topup-text);
    font-size: 0.9375rem;
}

.user-drawer-email {
    font-size: 0.75rem;
    color: var(--topup-muted);
    word-break: break-all;
}

.user-drawer-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--topup-green);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.user-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 1.5rem;
}

.user-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
}

.user-drawer-link i {
    width: 1.25rem;
    text-align: center;
    color: #6b7280;
}

.user-drawer-link:hover {
    background: #f3f4f6;
    color: var(--topup-green);
}

.user-drawer-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--topup-green);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    margin-top: 0.5rem;
}

.account-dashboard {
    max-width: 640px;
}

.account-hero {
    text-align: center;
    padding: 1rem 0 1.5rem;
}

.account-hero-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.account-hero-avatar {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    border: 3px solid var(--topup-green);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-hero-greeting {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--topup-green);
    margin: 0 0 0.5rem;
}

.account-hero-greeting span {
    color: #1e3a8a;
}

.account-hero-balance-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #1e3a8a;
}

.account-hero-balance-row strong {
    font-weight: 800;
}

.account-refresh-btn {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 1px solid var(--topup-border);
    background: #fff;
    color: var(--topup-muted);
    cursor: pointer;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.account-stat-card {
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 0.75rem;
    padding: 1rem 0.75rem;
    text-align: center;
}

.account-stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--topup-green);
    line-height: 1.2;
}

.account-stat-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.35rem;
}

.account-info-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

@media (max-width: 480px) {
    .account-info-body {
        grid-template-columns: 1fr;
    }
}

.account-balance-pill {
    display: inline-block;
    background: var(--topup-green);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 800;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.account-info-caption {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.account-add-money-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--topup-green);
    font-weight: 600;
    text-decoration: none;
}

.account-verified-badge {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.5rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.account-member-since {
    font-size: 0.75rem;
    color: var(--topup-muted);
    margin-top: 0.25rem;
}

.account-quick-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .account-quick-menu {
        grid-template-columns: repeat(4, 1fr);
    }
}

.account-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.25rem;
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 0.75rem;
    text-decoration: none;
    color: #374151;
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.account-quick-item i {
    font-size: 1.125rem;
    color: var(--topup-green);
}

.account-order-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 !important;
}

.account-order-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--topup-border);
    text-decoration: none;
    color: inherit;
}

.account-order-link:last-child {
    border-bottom: none;
}

.account-order-link-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-order-link-icon--topup {
    background: #ecfdf5;
    color: var(--topup-green);
}

.account-order-link-icon--mp {
    background: #eff6ff;
    color: #2563eb;
}

.account-order-link strong {
    display: block;
    font-size: 0.875rem;
    color: var(--topup-text);
}

.account-order-link span {
    font-size: 0.75rem;
    color: var(--topup-muted);
}

.account-order-link > .fa-chevron-right {
    margin-left: auto;
    color: #d1d5db;
    font-size: 0.75rem;
}

.account-tx-list {
    display: flex;
    flex-direction: column;
}

.account-tx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--topup-border);
}

.account-tx-desc {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--topup-text);
}

.account-tx-meta {
    font-size: 0.75rem;
    color: var(--topup-muted);
    margin-top: 0.15rem;
}

.account-tx-amount {
    font-weight: 800;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.account-tx-amount.is-credit {
    color: var(--topup-green);
}

.account-tx-amount.is-debit {
    color: #dc2626;
}

.account-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.account-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.account-alert-success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.account-support-fab {
    position: fixed;
    right: 1rem;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.account-support-fab-label {
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.65rem;
    border-radius: 0.375rem;
}

.account-support-fab-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

/* ── Floating support FAB stack (AI + Telegram) ── */
.pp-support-fab-stack {
    position: fixed;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 45;
    pointer-events: none;
}

.pp-support-fab-stack > .flex-col,
.pp-support-fab-stack > .flex-col > * {
    pointer-events: auto;
}

@media (max-width: 767px) {
    .pp-support-fab-stack {
        bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
        right: max(0.75rem, env(safe-area-inset-right, 0px));
    }
}

@media (min-width: 768px) {
    .pp-support-fab-stack {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

/* pp-chat-panel positioning: see includes/footer.php */

/* ── Auth pages (login / register) ── */
.topup-auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
}

.topup-auth-card {
    max-width: 420px;
    width: 100%;
}

.topup-auth-card .topup-card-body {
    padding: 1.75rem 1.5rem;
}

.topup-auth-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--topup-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.topup-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--topup-text);
    margin-bottom: 0.375rem;
}

.topup-form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--topup-text);
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.topup-form-input:focus {
    outline: none;
    border-color: var(--topup-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.topup-form-input-wrap {
    position: relative;
}

.topup-form-input-wrap .topup-form-input {
    padding-left: 2.75rem;
}

.topup-form-input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--topup-muted);
    pointer-events: none;
}

.topup-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.25rem;
}

.topup-auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--topup-muted);
}

.topup-auth-footer a {
    color: var(--topup-link);
    font-weight: 600;
    text-decoration: none;
}

.topup-auth-footer a:hover {
    text-decoration: underline;
}

.topup-reg-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--topup-muted);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.topup-reg-tab.is-active {
    background: var(--topup-green);
    color: #fff;
    box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25);
}

/* ── Marketplace reviews — light section ── */
.mp-review-section {
    background: var(--topup-card);
    border: 1px solid var(--topup-border);
    border-radius: 10px;
    padding: 1.25rem;
}

.mp-review-section .mp-review-tabs button {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--topup-border);
    border-radius: 6px;
    color: var(--topup-muted);
    background: #fff;
    transition: all 0.15s;
}

.mp-review-section .mp-review-tabs button.is-active {
    border-color: var(--topup-green);
    color: var(--topup-green);
    background: #f0fdf4;
}

.mp-review-card-light {
    background: #f9fafb;
    border: 1px solid var(--topup-border);
    border-radius: 8px;
    padding: 1rem;
}

.mp-review-card-light h4 {
    color: var(--topup-text);
    font-weight: 700;
}

.mp-review-card-light p,
.mp-review-card-light .review-meta {
    color: var(--topup-muted);
    font-size: 0.875rem;
}

@media (max-width: 480px) {
    .topup-header-wallet,
    .topup-header-avatar {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ── How to buy / support pages ── */
.topup-how-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.topup-how-step-num {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: #ecfdf5;
    color: var(--topup-green);
    border: 2px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9375rem;
}

.topup-how-card {
    flex: 1;
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 12px;
    padding: 1.25rem;
}

.topup-how-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--topup-text);
    margin-bottom: 0.5rem;
}

.topup-how-card p {
    font-size: 0.9375rem;
    color: var(--topup-muted);
    line-height: 1.6;
}

.topup-pipeline-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .topup-pipeline-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.topup-pipeline-item {
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.topup-pipeline-item i {
    font-size: 1.5rem;
    color: var(--topup-green);
    margin-bottom: 0.5rem;
}

.topup-pipeline-item p {
    font-size: 0.875rem;
    color: var(--topup-muted);
    line-height: 1.55;
}

.topup-support-page .topup-modal {
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.topup-support-page .ticket-row {
    background: #fff;
    border: 1px solid var(--topup-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: border-color 0.15s;
}

.topup-support-page .ticket-row:hover {
    border-color: #bbf7d0;
}

.topup-code-block {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    overflow-x: auto;
}

.topup-api-docs .topup-card,
.topup-api-docs aside .rounded-xl {
    background: #fff;
    border: 1px solid var(--topup-border);
    color: var(--topup-text);
}

.topup-api-docs aside a {
    color: var(--topup-muted);
    font-size: 0.875rem;
}

.topup-api-docs aside a:hover {
    color: var(--topup-green);
}

/* ── Sell Account page — Telegram contact only ── */
body.sell-page {
    background: var(--topup-bg) !important;
    color: var(--topup-text) !important;
}

.sell-telegram-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.sell-telegram-handle {
    display: inline-block;
    margin: 0.75rem 0 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0284c7;
}

.sell-btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    max-width: 20rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    border: 1px solid #0369a1;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    transition: transform 0.15s, box-shadow 0.15s;
}

.sell-btn-telegram:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.32);
    color: #fff;
}

.sell-benefits__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--topup-text);
    text-align: center;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.sell-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .sell-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sell-benefit-card {
    background: var(--topup-card);
    border: 1px solid var(--topup-border);
    border-radius: 12px;
    padding: 1rem 1rem 1.05rem;
    box-shadow: var(--topup-shadow);
}

.sell-benefit-card--highlight {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.08);
}

@media (min-width: 640px) {
    .sell-benefit-card--highlight {
        grid-column: span 2;
    }
}

.sell-benefit-card__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.sell-benefit-card__icon--fast { background: #fef3c7; color: #d97706; }
.sell-benefit-card__icon--support { background: #ede9fe; color: #7c3aed; }
.sell-benefit-card__icon--secure { background: #dcfce7; color: #16a34a; }
.sell-benefit-card__icon--transfer { background: #e0f2fe; color: #0284c7; }
.sell-benefit-card__icon--market { background: #ffedd5; color: #ea580c; }
.sell-benefit-card__icon--gmail { background: #fee2e2; color: #dc2626; }

.sell-benefit-card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--topup-text);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.sell-benefit-card__text {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--topup-muted);
    margin: 0;
}

/* Refund policy page */
.refund-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.refund-hero-sub {
    color: var(--topup-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 36rem;
    margin: 0 auto;
}

.refund-prose p {
    margin: 0;
    color: #374151;
    font-size: 0.925rem;
    line-height: 1.75;
}

.refund-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.refund-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.65;
}

.refund-checklist li i {
    margin-top: 0.2rem;
    color: var(--topup-green);
    flex-shrink: 0;
}

.refund-steps {
    margin: 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.85rem;
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.65;
}

.refund-steps li::marker {
    color: var(--topup-green);
    font-weight: 700;
}

.refund-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.875rem;
    line-height: 1.6;
}

.refund-note i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.refund-note p {
    margin: 0;
}

