@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400..700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&family=Noto+Sans+SC:wght@400..700&display=swap");

:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-2: #1e293b;
    --line: #334155;
    --text: #e2e8f0;
    --muted: #c7d2e1;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --nav-link-color: #dbe7f5;
    --nav-link-active-text: #ffffff;
}

/* Active-number workspace: newest order above, remaining orders in a compact queue. */
.reference-homepage #active-order-section {
    min-height: 540px;
}

.reference-homepage #panel-active > .flex-1.bg-\[\#f8fafc\] {
    min-height: 170px;
    padding-block: 24px;
}

.reference-homepage .previous-numbers-section {
    container-name: ongoing-numbers;
    container-type: inline-size;
    border-color: #dfe6ef;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.reference-homepage .previous-numbers-head {
    padding: 20px 22px;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.reference-homepage .previous-numbers-head h2 {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.reference-homepage .previous-numbers-head p {
    margin-top: 5px;
    font-size: 13px;
}

.reference-homepage .previous-numbers-list {
    display: block;
    padding: 0;
}

.ongoing-numbers-table-head,
.ongoing-number-row {
    display: grid;
    grid-template-columns: minmax(270px, 1.55fr) minmax(86px, .48fr) minmax(92px, .5fr) minmax(170px, .9fr) minmax(280px, 1.25fr);
    align-items: center;
    column-gap: 14px;
}

.ongoing-numbers-table-head {
    min-height: 48px;
    padding: 0 22px;
    border-bottom: 1px solid #e8edf4;
    background: #f6f8fc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ongoing-number-row {
    position: relative;
    min-height: 92px;
    padding: 16px 22px;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
    transition: background-color .18s ease, box-shadow .18s ease;
}

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

.ongoing-number-row:hover {
    z-index: 1;
    background: #fcfdff;
    box-shadow: inset 3px 0 0 #f97316;
}

.ongoing-number-phone-cell,
.ongoing-number-status-cell {
    min-width: 0;
}

.ongoing-number-phone-cell .previous-number-meta {
    gap: 9px;
}

.ongoing-number-phone-cell .previous-number-labels strong {
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
    letter-spacing: .01em;
}

.ongoing-number-phone-cell .previous-number-labels span {
    color: #7c8ba1;
}

.ongoing-number-cost,
.ongoing-number-time {
    color: #1e293b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 800;
}

.ongoing-number-time {
    color: #ea580c;
}

.ongoing-number-status-cell {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
}

.ongoing-number-status-cell .previous-number-status {
    font-size: 10px;
}

.ongoing-latest-code {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 10px;
    cursor: pointer;
}

.ongoing-latest-code strong {
    overflow: hidden;
    color: #047857;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    text-overflow: ellipsis;
}

.ongoing-latest-code:hover strong,
.ongoing-latest-code:focus-visible strong {
    color: #059669;
    text-decoration: underline;
}

.ongoing-code-toggle,
.reference-sms-history-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.ongoing-code-toggle {
    padding: 0;
}

.ongoing-number-row .previous-number-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.ongoing-number-row .previous-number-copy,
.ongoing-number-row .ongoing-number-view,
.ongoing-number-row .ongoing-number-cancel {
    min-height: 34px;
    padding: 7px 9px;
    white-space: nowrap;
}

.ongoing-number-history-cell {
    grid-column: 1 / -1;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #dce4ee;
}

.ongoing-code-history {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
}

.ongoing-code-history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
}

.ongoing-code-history-item.is-latest {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.ongoing-code-history-item strong {
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
}

.ongoing-code-history-item button {
    width: 30px;
    height: 30px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    color: #475569;
}

.reference-sms-history-toggle {
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    border: 1px solid #dbeafe;
    border-radius: 11px;
    background: #eff6ff;
}

.reference-sms-history-toggle:hover,
.reference-sms-history-toggle:focus-visible {
    border-color: #93c5fd;
    background: #dbeafe;
}

@container ongoing-numbers (max-width: 1180px) {
    .ongoing-numbers-table-head,
    .ongoing-number-row {
        grid-template-columns: minmax(240px, 1.4fr) 82px 88px minmax(150px, .85fr);
    }

    .ongoing-numbers-table-head > span:last-child {
        display: none;
    }

    .ongoing-number-row .previous-number-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 12px;
        padding-left: 55px;
    }
}

@media (max-width: 700px) {
    .reference-homepage #active-order-section {
        min-height: 610px;
    }

    .reference-homepage .previous-numbers-head {
        padding: 16px;
    }
}

@container ongoing-numbers (max-width: 700px) {
    .ongoing-numbers-table-head {
        display: none;
    }

    .ongoing-number-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 12px;
        min-height: 0;
        margin: 12px;
        padding: 15px;
        border: 1px solid #e2e8f0;
        border-radius: 15px;
        background: #fbfdff;
    }

    .ongoing-number-row:last-child {
        border-bottom: 1px solid #e2e8f0;
    }

    .ongoing-number-phone-cell,
    .ongoing-number-status-cell,
    .ongoing-number-row .previous-number-actions,
    .ongoing-number-history-cell {
        grid-column: 1 / -1;
    }

    .ongoing-number-cost::before,
    .ongoing-number-time::before {
        display: block;
        margin-bottom: 4px;
        color: #94a3b8;
        content: attr(data-label);
        font-family: Inter, "Noto Sans SC", sans-serif;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .ongoing-number-row .previous-number-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0;
        padding-left: 0;
    }

    .ongoing-number-row .previous-number-actions > button {
        width: 100%;
    }

    .ongoing-number-row .previous-number-actions > button:last-child:nth-child(3) {
        grid-column: 1 / -1;
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: radial-gradient(1200px 600px at 5% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
        radial-gradient(1200px 600px at 100% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
        var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@keyframes authSkeletonPulse {
    0%,
    100% {
        background-position: 100% 0;
    }
    50% {
        background-position: 0 0;
    }
}

.nav-link {
    color: var(--nav-link-color);
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-link:hover,
.nav-link-active {
    color: var(--nav-link-active-text);
    background: rgba(37, 99, 235, 0.22);
}

.site-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 4px 8px 4px 4px;
    border-radius: 18px;
    text-decoration: none;
}

.site-brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 16px;
    border: 0;
    background: transparent;
    box-shadow: 0 12px 28px rgba(34, 211, 238, 0.18);
}

.site-brand-mark img,
.site-brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-brand-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: -0.045em;
    line-height: 1;
}

.site-brand-wordmark-bridge {
    font-size: 28px;
    font-weight: 950;
    font-style: normal;
    color: transparent;
    background: linear-gradient(92deg, #f8feff 0%, #67e8f9 45%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 22px rgba(103, 232, 249, 0.18);
}

.site-brand-wordmark-sms {
    margin-top: 2px;
    padding: 3px 8px 4px;
    border: 1px solid rgba(134, 239, 172, 0.34);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.18), rgba(134, 239, 172, 0.24));
    color: #dffcff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.nav-user-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right-container {
    position: relative;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 8px 10px;
}

.recharge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(56, 139, 253, 0.6);
    border-radius: 10px;
    background: #1f6feb;
    color: #fff;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.recharge-btn:hover {
    background: #388bfd;
}

.balance-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.nav-user-menu-wrap {
    position: relative;
}

.user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(51, 65, 85, 0.8);
    background: rgba(15, 23, 42, 0.5);
    color: #cbd5e1;
    border-radius: 10px;
    padding: 6px 10px;
}

.user-trigger:hover,
.user-trigger.active {
    background: rgba(30, 41, 59, 0.88);
}

.avatar-circle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.avatar-circle-lg {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.user-email-text {
    max-width: 118px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 600;
}

.chevron-icon {
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.user-trigger.active .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 260px;
    background: #0f172a;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.6);
    z-index: 90;
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
    margin-bottom: 6px;
    padding: 8px 10px 12px;
}

.header-info {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.header-label {
    color: #94a3b8;
    font-size: 11px;
}

.header-email {
    max-width: 174px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 700;
}

.menu-item {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.menu-item:hover {
    background: rgba(37, 99, 235, 0.25);
    color: #fff;
}

.menu-item.logout {
    color: #f85149;
}

.menu-item.logout:hover {
    background: rgba(248, 81, 73, 0.1);
}

.recharge-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(4px);
}

.recharge-modal-card {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.recharge-modal-card::-webkit-scrollbar {
    width: 8px;
}

.recharge-modal-card::-webkit-scrollbar-track {
    background: #0d1117;
    border-radius: 4px;
}

.recharge-modal-card::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

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

.recharge-modal-head h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.recharge-close-btn {
    border: 0;
    background: transparent;
    color: #8b949e;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.recharge-close-btn:hover {
    color: #fff;
    background: rgba(51, 65, 85, 0.35);
}

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

.recharge-amount-option {
    border: 1px solid #30363d;
    background: #0d1117;
    color: #c9d1d9;
    border-radius: 8px;
    padding: 11px 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.recharge-amount-option:hover {
    border-color: #1f6feb;
    color: #58a6ff;
}

.recharge-amount-option.is-selected {
    border-color: #1f6feb;
    background: rgba(31, 111, 235, 0.16);
    color: #58a6ff;
}

.recharge-custom-input {
    width: 100%;
    margin-bottom: 14px;
    border: 1px solid #30363d;
    background: #0d1117;
    color: #fff;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 14px;
}

.recharge-custom-input:focus {
    outline: none;
    border-color: #1f6feb;
}

.recharge-methods {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.recharge-method-item {
    width: 100%;
    border: 1px solid #30363d;
    background: #0d1117;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.recharge-method-item:hover {
    border-color: #58a6ff;
}

.recharge-method-item.is-active {
    border-color: #1f6feb;
    background: rgba(31, 111, 235, 0.08);
}

.recharge-method-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.recharge-method-icon {
    width: 22px;
    flex: 0 0 22px;
}

.recharge-method-title {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.recharge-method-desc {
    display: block;
    color: #8b949e;
    font-size: 12px;
    margin-top: 2px;
}

.alipay-color {
    color: #1677ff;
}

.wechat-color {
    color: #07c160;
}

.usdt-color {
    color: #26a17b;
}

.recharge-check-icon {
    color: #30363d;
}

.recharge-method-item.is-active .recharge-check-icon {
    color: #1f6feb;
}

.usdt-warning-box {
    margin-bottom: 14px;
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 8px;
    background: rgba(234, 179, 8, 0.1);
    padding: 12px;
    font-size: 12px;
}

.usdt-warning-title {
    color: #eab308;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.usdt-warning-list {
    padding-left: 18px;
    color: #c9d1d9;
    line-height: 1.5;
}

.usdt-warning-list li {
    margin-bottom: 4px;
}

.usdt-warning-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(234, 179, 8, 0.3);
    color: #8b949e;
}

.recharge-billing {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 14px;
}

.recharge-billing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #8b949e;
    font-size: 13px;
    margin-bottom: 8px;
}

.recharge-billing-row:last-child {
    margin-bottom: 0;
}

.recharge-billing-row-final {
    border-top: 1px dashed #30363d;
    padding-top: 9px;
    color: #c9d1d9;
    font-weight: 600;
}

.price-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.highlight-red {
    color: #ff7b72;
}

.recharge-total-usd {
    color: #fff;
}

.recharge-final-amount {
    color: #1f6feb;
    font-size: 16px;
}

.exchange-rate-tag {
    margin-left: 6px;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    background: #21262d;
    color: #79c0ff;
}

.submit-pay-btn {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #1f6feb;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
}

.submit-pay-btn:hover {
    background: #388bfd;
}

.submit-pay-btn:disabled {
    background: #23395d;
    color: #7b8ca8;
    cursor: not-allowed;
}

/* Recharge modal style aligned to new USDT single-channel design */
.recharge-modal-overlay {
    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: blur(8px);
}

.recharge-modal-card {
    max-width: 680px;
    border-radius: 20px;
    background: #111827;
    border: 1px solid #1f2937;
    padding: 0;
    overflow: hidden;
}

.recharge-modal-head {
    padding: 16px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid #1f2937;
    background: rgba(31, 41, 55, 0.5);
    gap: 10px;
}

.recharge-modal-head h3 {
    font-size: 24px;
    font-weight: 700;
}

.recharge-header-timer {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
}

.recharge-header-timer.danger {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.14);
}

.recharge-close-btn {
    color: #94a3b8;
}

.recharge-stage {
    padding: 20px;
}

.recharge-pending-scroll {
    max-height: min(64vh, 620px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    scroll-behavior: smooth;
}

.recharge-scroll-tip {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px dashed #334155;
    background: rgba(15, 23, 42, 0.55);
}

.recharge-pending-scroll::-webkit-scrollbar {
    width: 8px;
}

.recharge-pending-scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 99px;
}

.recharge-pending-scroll::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, 0.9);
    border-radius: 99px;
}

.recharge-amount-grid {
    gap: 12px;
    margin-bottom: 14px;
}

.recharge-amount-option {
    border-radius: 10px;
    border-color: #334155;
    background: #1f2937;
    color: #cbd5e1;
}

.recharge-amount-option.is-selected {
    background: #2563eb;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.recharge-custom-input {
    background: #1f2937;
    border-color: #334155;
    border-radius: 10px;
    color: #fff;
}

.recharge-method-item {
    border-radius: 12px;
    border-color: #334155;
    background: #1f2937;
}

.recharge-method-item.is-active {
    border-color: #3b82f6;
    background: rgba(37, 99, 235, 0.16);
}

.recharge-billing {
    margin-top: 14px;
    margin-bottom: 18px;
    background: rgba(31, 41, 55, 0.5);
    border-color: #334155;
    border-radius: 12px;
    padding: 14px;
}

.recharge-billing-row {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
}

.recharge-billing-row-final {
    border-top: 1px dashed #334155;
    padding-top: 10px;
}

.recharge-final-amount {
    color: #34d399;
    font-size: 24px;
    font-weight: 700;
}

.exchange-rate-tag {
    background: #1e3a8a;
    color: #bfdbfe;
}

.submit-pay-btn {
    border-radius: 12px;
    background: #2563eb;
    font-size: 18px;
    padding: 13px;
}

.submit-pay-btn:hover {
    background: #3b82f6;
}

.usdt-warning-box {
    margin-bottom: 16px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 16px 18px;
}

.usdt-warning-title {
    font-size: 18px;
    color: #f59e0b;
    margin-bottom: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.usdt-warning-list {
    color: #fde68a;
    line-height: 1.8;
    font-size: 16px;
    font-weight: 700;
    padding-left: 18px;
}

.usdt-warning-list li {
    margin-bottom: 4px;
}

.usdt-order-card {
    border-radius: 14px;
    border: 1px solid #334155;
    background: rgba(31, 41, 55, 0.5);
    padding: 14px;
}

.usdt-paid-notice {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
}

.usdt-order-main {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
}

.usdt-qr-wrap {
    flex: 0 0 auto;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.usdt-qr-image {
    width: 136px;
    height: 136px;
    display: block;
}

.usdt-amount-wrap {
    min-width: 0;
}

.usdt-amount-label {
    color: #e2e8f0;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
}

.usdt-amount-note {
    color: #fcd34d;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.usdt-amount-value {
    color: #34d399;
    font-size: 36px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.usdt-inline-copy {
    min-width: 88px;
}

.usdt-order-details {
    display: grid;
    gap: 8px;
}

.usdt-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.usdt-order-row strong {
    color: #f8fafc;
    font-weight: 600;
    text-align: right;
    word-break: break-all;
}

.usdt-order-row-address {
    align-items: center;
}

.usdt-order-address-text {
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px;
    word-break: break-all;
}

.usdt-pending-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.recharge-expired-card {
    text-align: center;
    border-radius: 14px;
    border: 1px solid #334155;
    background: rgba(31, 41, 55, 0.5);
    padding: 26px 16px;
}

.recharge-expired-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    border-radius: 999px;
    border: 1px solid #334155;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.recharge-expired-card h4 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.recharge-expired-card p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}

@media (max-width: 760px) {
    .recharge-modal-card {
        max-width: 520px;
    }

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

    .recharge-modal-head h3 {
        font-size: 20px;
    }

    .recharge-stage {
        padding: 14px;
    }

    .recharge-pending-scroll {
        max-height: min(58vh, 520px);
        padding-right: 2px;
    }

    .usdt-order-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .usdt-amount-value {
        font-size: 28px;
    }

    .usdt-pending-actions {
        grid-template-columns: 1fr;
    }
}

.panel {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 16px;
    padding: 14px;
}

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

.panel-head-country {
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #f8fafc;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(84, 107, 165, 0.26);
    border-radius: 32px;
    background:
        radial-gradient(circle at 78% 86%, rgba(86, 117, 181, 0.16), transparent 30%),
        radial-gradient(circle at 18% 14%, rgba(78, 99, 155, 0.09), transparent 24%),
        linear-gradient(135deg, rgba(20, 28, 49, 0.98), rgba(27, 37, 66, 0.97));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 72px rgba(7, 12, 24, 0.3);
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: auto -5% -28% 48%;
    height: 72%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(88, 112, 168, 0.18), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}

.hero-banner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
    gap: 28px;
    align-items: stretch;
}

.hero-banner-content {
    position: relative;
    max-width: 920px;
    padding: 38px 48px 40px;
}

.hero-banner-tag {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid rgba(103, 136, 196, 0.26);
    background: rgba(47, 67, 112, 0.34);
    color: #dce8ff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-banner-title {
    max-width: 640px;
    margin-top: 24px;
    color: #eff6ff;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-banner-subtitle {
    max-width: 760px;
    margin-top: 20px;
    color: rgba(219, 234, 254, 0.92);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.7;
    font-weight: 450;
}

.hero-banner-stats {
    display: grid;
    gap: 12px;
    padding: 22px 18px 22px 0;
    align-content: center;
}

.hero-stat-card {
    min-height: 116px;
    padding: 22px 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(95, 121, 179, 0.24);
    background: linear-gradient(180deg, rgba(42, 56, 94, 0.44), rgba(29, 39, 67, 0.4));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero-stat-value {
    color: #eff6ff;
    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-stat-label {
    margin-top: 12px;
    color: rgba(219, 234, 254, 0.82);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.notice-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(37, 99, 235, 0.45);
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

.search-wrap {
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: #0b1226;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: var(--muted);
    margin-bottom: 10px;
}

.search-wrap input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 14px;
}

.apps-list,
.countries-rows,
.cart-list {
    max-height: 58vh;
    overflow-y: auto;
}

.app-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 10px;
    color: #cbd5e1;
    margin-bottom: 8px;
    background: rgba(15, 23, 42, 0.7);
}

.app-row:hover,
.app-row-active {
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(30, 58, 138, 0.45);
}

.app-row:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.app-row-content {
    display: grid;
    gap: 2px;
    text-align: left;
    min-width: 0;
    flex: 1;
}

.app-row-content span {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

#current-app-name {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.country-panel-subtitle {
    margin-top: 6px;
    color: #93c5fd;
    font-size: 13px;
    line-height: 1.35;
}

.search-wrap-country {
    border-radius: 999px;
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 14px;
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(9, 15, 30, 0.88);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.search-wrap-country input {
    padding-top: 13px;
    padding-bottom: 13px;
}

.countries-accordion-mode {
    display: grid;
    gap: 12px;
    align-content: start;
}

.country-accordion-item {
    border: 1px solid rgba(71, 85, 105, 0.72);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.92));
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.country-accordion-item:hover {
    border-color: rgba(96, 165, 250, 0.58);
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.32);
}

.country-accordion-item-expanded {
    border-color: rgba(96, 165, 250, 0.72);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.36);
}

.country-accordion-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    text-align: left;
}

.country-accordion-content {
    border-top: 1px solid rgba(71, 85, 105, 0.4);
    background: rgba(248, 250, 252, 0.02);
    padding: 14px 18px 18px;
}

.country-loading-overlay {
    min-height: 156px;
    border: 1px solid rgba(77, 163, 255, 0.18);
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(77, 163, 255, 0.14), rgba(15, 23, 42, 0.82) 58%);
    display: grid;
    place-items: center;
    gap: 12px;
    padding: 20px 16px;
}

.country-loading-text {
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dots span {
    width: 12px;
    height: 12px;
    margin: 6px;
    background: #4da3ff;
    border-radius: 50%;
    display: inline-block;
    animation: country-bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 16px rgba(77, 163, 255, 0.35);
}

.dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes country-bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.country-accordion-hint {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 12px;
}

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

.country-refresh-btn {
    border: 1px solid rgba(96, 165, 250, 0.4);
    background: rgba(30, 41, 59, 0.72);
    color: #bfdbfe;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

.country-refresh-btn:hover {
    color: #eff6ff;
    border-color: rgba(96, 165, 250, 0.75);
}

.country-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.country-summary-side {
    min-width: 132px;
    display: grid;
    justify-items: end;
    gap: 4px;
}

.country-summary-price {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.country-summary-meta {
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 600;
}

.country-summary-chevron {
    color: #94a3b8;
    transition: transform 0.18s ease, color 0.18s ease;
}

.country-summary-chevron-open {
    transform: rotate(0deg);
    color: #dbeafe;
}

.country-channel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.country-channel-card {
    border: 1px solid rgba(71, 85, 105, 0.75);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.75);
    padding: 14px;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.country-channel-card:hover {
    border-color: rgba(96, 165, 250, 0.58);
    background: rgba(20, 32, 56, 0.92);
    transform: translateY(-1px);
}

.country-channel-card-selected {
    border-color: rgba(96, 165, 250, 0.95);
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.18), rgba(15, 23, 42, 0.9));
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.24);
}

.country-channel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.country-channel-price {
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.country-channel-selected {
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.country-channel-name {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.country-channel-actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.app-row-meta {
    font-size: 11px;
    color: #93c5fd;
}

.country-row {
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.34);
    transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.country-row:hover {
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(30, 41, 59, 0.48);
}

.country-row-disabled {
    opacity: 0.78;
}

.country-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-meta {
    display: grid;
    gap: 6px;
}

.country-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.country-name {
    color: #e2e8f0;
    font-weight: 700;
}

.country-code {
    color: #93c5fd;
    font-weight: 700;
    font-size: 12px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
}

.stock-badge-in {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.stock-badge-out {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.country-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.country-price-wrap {
    text-align: right;
    min-width: 84px;
}

.country-price {
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.country-price-unit {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #64748b;
}

.country-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(71, 85, 105, 0.8);
    border-radius: 10px;
    padding: 3px 7px;
    min-width: 90px;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.72);
}

.qty-wrap button,
.btn-mini {
    border: 1px solid rgba(59, 130, 246, 0.35);
    background: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    border-radius: 8px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qty-wrap button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cart-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.6);
    background: linear-gradient(120deg, var(--primary), var(--primary-2));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-btn:hover {
    filter: brightness(1.08);
}

.cart-icon-btn:disabled {
    background: rgba(51, 65, 85, 0.5);
    border-color: rgba(71, 85, 105, 0.6);
    color: #94a3b8;
    cursor: not-allowed;
}

.price-pill {
    border-radius: 999px;
    padding: 6px 12px;
    background: linear-gradient(120deg, #4338ca, #2563eb);
    font-weight: 700;
    font-size: 13px;
}

.cart-item {
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(15, 23, 42, 0.65);
    display: grid;
    gap: 8px;
}

.cart-foot {
    margin-top: 10px;
    border-top: 1px solid rgba(51, 65, 85, 0.7);
    padding-top: 10px;
    display: grid;
    gap: 10px;
}

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

.recent-row {
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.recent-card {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(51, 65, 85, 0.85);
    border-radius: 18px;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(59, 130, 246, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.97), rgba(11, 18, 33, 0.98));
    box-shadow:
        0 24px 48px rgba(2, 6, 23, 0.42),
        inset 0 1px 0 rgba(148, 163, 184, 0.06);
    overflow: hidden;
}

.recent-card-aura {
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        radial-gradient(220px 120px at 12% 0%, rgba(59, 130, 246, 0.18), transparent 62%),
        radial-gradient(280px 160px at 88% 100%, rgba(14, 165, 233, 0.1), transparent 66%);
    opacity: 0.9;
    z-index: 0;
}

.recent-card-live .recent-card-aura,
.recent-card-locked .recent-card-aura {
    animation: recent-card-breathe 5.2s ease-in-out infinite;
}

.recent-card-canceling .recent-card-aura {
    background:
        radial-gradient(220px 140px at 10% 0%, rgba(245, 158, 11, 0.18), transparent 58%),
        radial-gradient(260px 140px at 92% 100%, rgba(249, 115, 22, 0.12), transparent 62%);
}

.recent-card-done .recent-card-aura {
    background:
        radial-gradient(220px 120px at 10% 0%, rgba(16, 185, 129, 0.2), transparent 60%),
        radial-gradient(260px 150px at 92% 100%, rgba(45, 212, 191, 0.12), transparent 64%);
}

.recent-card-head {
    position: relative;
    z-index: 1;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.recent-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.recent-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f5f9;
    text-shadow: 0 1px 14px rgba(15, 23, 42, 0.26);
}

.recent-subline {
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.recent-subline-status {
    color: #60a5fa;
    font-weight: 600;
    text-shadow: 0 0 16px rgba(96, 165, 250, 0.22);
}

.recent-number-stage {
    position: relative;
    padding: 20px 16px 16px;
    background:
        radial-gradient(140px 80px at 50% 42%, rgba(59, 130, 246, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.74), rgba(15, 23, 42, 0.42));
    display: grid;
    place-items: center;
    gap: 10px;
}

.recent-stage-ambient {
    position: absolute;
    inset: 14px 18px auto;
    height: 56px;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 50%, rgba(59, 130, 246, 0.18), transparent 42%),
        radial-gradient(circle at 82% 50%, rgba(37, 99, 235, 0.14), transparent 38%);
    filter: blur(18px);
    opacity: 0.95;
    animation: recent-stage-float 4.8s ease-in-out infinite;
}

.recent-stage-badges {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.recent-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(15, 23, 42, 0.78);
    color: #dbeafe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.06);
}

.recent-stage-badge-lock {
    color: #c7d2fe;
    border-color: rgba(96, 165, 250, 0.34);
    background: rgba(15, 23, 42, 0.84);
}

.recent-stage-badge-ready {
    color: #d1fae5;
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(6, 78, 59, 0.26);
}

.recent-stage-badge-canceling {
    color: #fed7aa;
    border-color: rgba(249, 115, 22, 0.34);
    background: rgba(124, 45, 18, 0.28);
}

.recent-number-copy-target {
    position: relative;
    z-index: 1;
    border: 0;
    background: rgba(15, 23, 42, 0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 18px;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid rgba(59, 130, 246, 0.18);
    min-height: 54px;
    box-shadow:
        inset 0 1px 0 rgba(148, 163, 184, 0.06),
        0 14px 32px rgba(2, 6, 23, 0.18);
}

.recent-number-copy-target:hover {
    transform: translateY(-1px);
    background: rgba(30, 41, 59, 0.52);
    border-color: rgba(96, 165, 250, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(191, 219, 254, 0.06),
        0 18px 36px rgba(2, 6, 23, 0.26);
}

.recent-phone-row {
    margin-top: 0;
    display: grid;
    place-items: center;
}

.recent-phone {
    font-size: clamp(30px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #f8fafc;
    font-family: "SF Mono", "Roboto Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.02;
    font-variant-numeric: tabular-nums lining-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.05), 0 0 28px rgba(96, 165, 250, 0.12);
}

.recent-dial-code {
    font-size: clamp(30px, 4vw, 38px);
    font-weight: 800;
    color: #f8fafc;
    font-family: "SF Mono", "Roboto Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.02;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums lining-nums;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.05), 0 0 28px rgba(96, 165, 250, 0.12);
}

.recent-phone-actions {
    width: min(100%, 320px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recent-copy-btn {
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(71, 85, 105, 0.82);
    background: rgba(15, 23, 42, 0.9);
    color: #dbe7f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.recent-copy-btn:hover {
    border-color: rgba(59, 130, 246, 0.82);
    background: rgba(30, 41, 59, 0.92);
    color: #ffffff;
}

.recent-copy-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recent-copy-btn-done {
    color: #d1fae5;
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(6, 95, 70, 0.34);
}

.recent-side {
    position: relative;
    z-index: 1;
    text-align: right;
}

.recent-price {
    font-size: 26px;
    font-weight: 700;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-shadow: 0 1px 20px rgba(15, 23, 42, 0.2);
}

.recent-timer {
    margin-top: 6px;
    font-size: 13px;
    color: #fdba74;
    background: linear-gradient(180deg, rgba(251, 146, 60, 0.16), rgba(124, 45, 18, 0.24));
    border: 1px solid rgba(251, 146, 60, 0.32);
    border-radius: 999px;
    padding: 5px 12px;
    display: inline-flex;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.08em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.recent-timer-live {
    color: #fcd34d;
}

.recent-timer-expired {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.34);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.14), rgba(69, 10, 10, 0.3));
}

.recent-timer-warn {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.32);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.14), rgba(69, 10, 10, 0.3));
}

.recent-status {
    margin-top: 4px;
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.recent-status-pending {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.recent-status-done {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.recent-progress-track {
    position: relative;
    width: 100%;
    height: 7px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.7));
    overflow: hidden;
}

.recent-progress-fill {
    position: relative;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8 58%, #7dd3fc);
    transition: width 1s linear;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
}

.recent-progress-spark {
    position: absolute;
    top: 0;
    right: -18px;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-24deg);
    animation: recent-progress-sweep 2.8s linear infinite;
}

.recent-sms-wrap {
    padding: 12px 16px;
    background: rgba(2, 6, 23, 0.36);
}

.sms-bubble {
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
}

.sms-bubble-received {
    border: 1px solid rgba(99, 102, 241, 0.45);
    background: rgba(49, 46, 129, 0.28);
}

.sms-bubble-title {
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

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

.sms-history-toggle {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.42);
    color: #cbd5f5;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sms-history-list {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.sms-history-item {
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.34);
}

.sms-history-item-latest {
    border-color: rgba(96, 165, 250, 0.34);
    background: rgba(30, 41, 59, 0.55);
}

.sms-history-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.sms-history-index {
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
}

.sms-history-tag {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.24);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
}

.sms-history-value {
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.sms-bubble-text {
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.02em;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.sms-bubble-waiting {
    border: 1px dashed rgba(71, 85, 105, 0.9);
    background:
        linear-gradient(180deg, rgba(11, 17, 33, 0.82), rgba(15, 23, 42, 0.72)),
        radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.06), transparent 44%);
    color: #94a3b8;
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 86px;
}

.sms-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    animation: sms-shimmer 2s infinite;
}

.sms-wait-content {
    position: relative;
    z-index: 1;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
}

@keyframes sms-shimmer {
    to {
        transform: translateX(100%);
    }
}

.recent-actions {
    padding: 12px 16px;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    background: linear-gradient(180deg, rgba(8, 14, 28, 0.4), rgba(7, 12, 24, 0.72));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

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

.recent-action-btn {
    position: relative;
    border: 1px solid rgba(71, 85, 105, 0.85);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.76), rgba(15, 23, 42, 0.92));
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.04);
}

.recent-action-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.recent-action-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 22px;
    padding: 0 8px;
    margin-left: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.54);
    color: #a8b4c6;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}

.recent-action-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.8);
    color: #dbeafe;
    box-shadow: 0 10px 26px rgba(2, 6, 23, 0.26);
}

.recent-action-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    border-color: rgba(71, 85, 105, 0.72);
    color: #7f8ea3;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.82));
    box-shadow: none;
    transform: none;
}

.recent-action-locked {
    border-color: rgba(71, 85, 105, 0.72);
    color: #7f8ea3;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.82));
}

.recent-action-locked:hover {
    border-color: rgba(71, 85, 105, 0.72);
    color: #7f8ea3;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.82));
    box-shadow: none;
    transform: none;
}

.recent-action-locked .recent-action-countdown {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.46);
    color: #94a3b8;
}

.recent-action-switch-ready {
    border-color: rgba(245, 158, 11, 0.65);
    color: #f59e0b;
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.04), 0 8px 22px rgba(120, 53, 15, 0.18);
}

.recent-action-switch-ready:hover {
    background: linear-gradient(180deg, rgba(146, 64, 14, 0.34), rgba(120, 53, 15, 0.2));
    color: #fcd34d;
}

.recent-action-danger-ready {
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.04), 0 8px 22px rgba(69, 10, 10, 0.16);
}

.recent-action-danger-ready:hover {
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.34), rgba(69, 10, 10, 0.22));
    color: #fee2e2;
}

.recent-action-complete-ready {
    border-color: rgba(16, 185, 129, 0.48);
    color: #6ee7b7;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.06), 0 8px 22px rgba(6, 78, 59, 0.18);
}

.recent-action-complete-ready:hover {
    background: linear-gradient(180deg, rgba(6, 95, 70, 0.34), rgba(6, 78, 59, 0.22));
    color: #d1fae5;
}

.reference-order-action {
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.reference-homepage #active-order-section {
    min-height: 650px;
    scroll-margin-top: 112px;
}

.reference-homepage #panel-active.is-acquiring #panel-timer-wrap,
.reference-homepage #panel-active.is-acquiring #panel-number-details,
.reference-homepage #panel-active.is-acquiring .reference-order-actions,
.reference-homepage #panel-active.is-canceling #panel-timer-wrap,
.reference-homepage #panel-active.is-canceling #panel-number-details,
.reference-homepage #panel-active.is-canceling .reference-order-actions {
    display: none;
}

.reference-homepage #panel-active.is-acquiring > div:first-child,
.reference-homepage #panel-active.is-canceling > div:first-child {
    justify-content: flex-start;
}

.reference-acquire-state {
    width: min(100%, 480px);
    margin: auto;
    padding: 38px 24px 42px;
    text-align: center;
}

.reference-acquire-state h3 {
    margin-top: 22px;
    color: #0f172a;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 850;
    letter-spacing: -.025em;
}

.reference-acquire-state p {
    max-width: 360px;
    margin: 9px auto 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

.reference-acquire-orbit {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border: 5px solid #e2e8f0;
    border-top-color: #f97316;
    border-right-color: #fb923c;
    border-radius: 50%;
    animation: referenceAcquireSpin 1s linear infinite;
    box-shadow: 0 12px 28px rgba(249, 115, 22, .14);
}

.reference-acquire-orbit::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 3px solid #ffedd5;
    border-bottom-color: #f97316;
    border-radius: 50%;
    animation: referenceAcquireSpin .72s linear infinite reverse;
}

.reference-acquire-orbit span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f97316;
}

.reference-acquire-orbit span:nth-child(1) { top: -5px; left: 31px; }
.reference-acquire-orbit span:nth-child(2) { right: 1px; bottom: 9px; opacity: .65; }
.reference-acquire-orbit span:nth-child(3) { left: 2px; bottom: 8px; opacity: .38; }

.reference-acquire-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
}

.reference-acquire-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fb923c;
    animation: referenceAcquirePulse 1.1s ease-in-out infinite;
}

.reference-acquire-dots i:nth-child(2) { animation-delay: .14s; }
.reference-acquire-dots i:nth-child(3) { animation-delay: .28s; }

.reference-cancel-state h3 {
    color: #9a3412;
}

.reference-cancel-orbit {
    border-color: #ffedd5;
    border-top-color: #ea580c;
    border-right-color: #fb923c;
    box-shadow: 0 12px 30px rgba(234, 88, 12, .18);
}

.reference-cancel-orbit::before {
    border-color: #fed7aa;
    border-bottom-color: #c2410c;
}

.reference-cancel-orbit span,
.reference-cancel-state .reference-acquire-dots i {
    background: #ea580c;
}

@keyframes referenceAcquireSpin {
    to { transform: rotate(360deg); }
}

@keyframes referenceAcquirePulse {
    0%, 70%, 100% { opacity: .3; transform: translateY(0); }
    35% { opacity: 1; transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .reference-acquire-orbit,
    .reference-acquire-orbit::before,
    .reference-acquire-dots i {
        animation: none;
    }
}

@media (min-width: 641px) {
    .reference-homepage #panel-active > div:first-child > div:first-child {
        display: flex;
        align-items: center;
        gap: 22px;
    }

    .reference-order-actions {
        margin-top: 0 !important;
    }
}

.reference-order-action:not(:disabled):hover {
    transform: translateY(-1px);
}

.reference-order-action-switch:not(:disabled) {
    border-color: #fdba74;
    color: #ea580c;
    background: #fff7ed;
}

.reference-order-action-cancel:not(:disabled) {
    border-color: #fecaca;
    color: #dc2626;
    background: #fff7f7;
}

.reference-order-action-complete:not(:disabled) {
    border-color: #86efac;
    color: #047857;
    background: #ecfdf5;
}

.reference-order-action-help {
    border-color: #bfdbfe;
    color: #2563eb;
    background: #eff6ff;
    text-decoration: none;
}

.reference-order-action-help:hover {
    border-color: #60a5fa;
    color: #1d4ed8;
    background: #dbeafe;
}

.reference-sms-card {
    width: 100%;
    border: 1px solid #dfe7f1;
    border-radius: 20px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .07);
}

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

.reference-sms-card-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.reference-sms-card-subtitle {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 12px;
}

.reference-sms-count {
    min-width: 32px;
    height: 32px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #047857;
    font-size: 13px;
    font-weight: 900;
}

.reference-sms-list {
    max-height: 310px;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    gap: 10px;
    padding-right: 4px;
}

.reference-sms-item {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
    padding: 13px 14px;
}

.reference-sms-item.is-latest {
    border-color: #fed7aa;
    background: linear-gradient(135deg, #fff7ed 0%, #fff 72%);
    box-shadow: inset 3px 0 0 #f97316;
}

.reference-sms-item-top,
.reference-sms-item-main {
    display: flex;
    align-items: center;
    gap: 9px;
}

.reference-sms-item-top {
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

.reference-sms-item-index {
    color: #64748b;
}

.reference-sms-latest {
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reference-sms-item-main {
    justify-content: space-between;
}

.reference-sms-code {
    min-width: 0;
    color: #0f172a;
    font: 800 clamp(1.35rem, 3vw, 1.8rem)/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
}

.reference-sms-copy {
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
}

.reference-sms-copy:hover {
    border-color: #fb923c;
    color: #ea580c;
}

.reference-sms-body {
    margin-top: 9px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.reference-no-number {
    width: min(100%, 520px);
    margin: auto;
    padding: 28px;
    border: 1px solid #fed7aa;
    border-radius: 22px;
    background: linear-gradient(145deg, #fffaf5 0%, #fff 72%);
    text-align: center;
    box-shadow: 0 16px 44px rgba(124, 45, 18, .08);
}

.reference-no-number-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: #ea580c;
    background: #ffedd5;
    font-size: 26px;
    transform: rotate(-6deg);
}

.reference-no-number h3 {
    color: #0f172a;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 850;
    line-height: 1.35;
}

.reference-no-number > p {
    max-width: 420px;
    margin: 10px auto 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.reference-no-number-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.reference-no-number-actions button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

.reference-no-number-primary {
    border: 1px solid #f97316;
    background: #f97316;
    color: #fff;
    box-shadow: 0 9px 22px rgba(249, 115, 22, .22);
}

.reference-no-number-primary:hover {
    background: #ea580c;
}

.reference-no-number-secondary {
    border: 1px solid #dbe3ee;
    background: #fff;
    color: #475569;
}

.reference-no-number small {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    font-size: 11px;
}

#faq-no-sms:target {
    margin-inline: -14px;
    padding-inline: 14px;
    border-radius: 14px;
    background: #fff7ed;
    box-shadow: 0 0 0 1px #fed7aa;
}

.reference-order-action:disabled,
.reference-order-action.is-waiting {
    cursor: not-allowed;
    color: #94a3b8;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.previous-numbers-section {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.previous-numbers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.previous-numbers-head h2 {
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
}

.previous-numbers-head p {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
}

.previous-numbers-count {
    min-width: 30px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.previous-numbers-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.previous-number-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fbfdff;
}

.previous-number-meta,
.previous-number-main {
    display: flex;
    align-items: center;
}

.previous-number-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}

.previous-number-meta {
    gap: 8px;
}

.previous-number-app {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
}

.previous-number-flag {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 999px;
}

.previous-number-labels {
    min-width: 0;
    flex: 1;
}

.previous-number-labels strong,
.previous-number-labels span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.previous-number-labels strong {
    color: #1e293b;
    font-size: 13px;
}

.previous-number-labels span {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
}

.previous-number-status {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.previous-number-status.is-released { background: #f1f5f9; color: #64748b; }
.previous-number-status.is-releasing { background: #fff7ed; color: #ea580c; }
.previous-number-status.is-received { background: #ecfdf5; color: #047857; }
.previous-number-status.is-active { background: #eff6ff; color: #2563eb; }

.previous-number-main {
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
}

.previous-number-value {
    min-width: 0;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(16px, 2vw, 21px);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.previous-number-copy {
    display: inline-flex;
    min-height: 36px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed;
    color: #ea580c;
    font-size: 11px;
    font-weight: 800;
}

.ongoing-number-view,
.ongoing-number-cancel {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}

.ongoing-number-view {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #2563eb;
}

.ongoing-number-cancel {
    border: 1px solid #fecaca;
    background: #fff7f7;
    color: #dc2626;
}

.ongoing-number-cancel:disabled {
    cursor: not-allowed;
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
}

.previous-number-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
}

.previous-number-code strong {
    color: #047857;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
}

@media (max-width: 640px) {
    .reference-order-actions {
        width: 100%;
    }

    .reference-order-action {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        min-width: 0;
        padding-inline: 8px;
        white-space: nowrap;
        font-size: 11px;
    }

    .reference-order-action-help {
        flex-basis: 100%;
    }

    .reference-homepage #panel-active > div:first-child {
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .reference-homepage #panel-active > div:first-child > div:first-child {
        display: block;
        min-width: 0;
        flex: 1 1 auto;
    }

    .reference-homepage #active-order-section {
        min-height: 700px;
    }

    .reference-homepage #panel-active .p-8.text-center {
        padding: 24px 14px;
    }

    .reference-homepage #panel-phone {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: clamp(1.65rem, 8vw, 2.25rem);
        letter-spacing: .04em;
    }

    .reference-homepage #panel-copy-phone {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .reference-sms-card {
        padding: 13px;
        border-radius: 16px;
    }

    .reference-sms-list {
        max-height: 270px;
    }

    .reference-sms-item-main {
        align-items: stretch;
    }

    .previous-numbers-section {
        border-radius: 16px;
    }

    .previous-numbers-head {
        align-items: flex-start;
        padding: 16px;
    }

    .previous-numbers-head h2 {
        font-size: 17px;
    }

    .previous-numbers-head p {
        max-width: 260px;
        line-height: 1.45;
    }

    .previous-numbers-list {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
    }

    .previous-number-card {
        padding: 13px;
    }

    .previous-number-main {
        flex-direction: column;
        align-items: stretch;
    }

    .previous-number-value {
        display: flex;
        align-items: center;
        font-size: 18px;
    }

    .previous-number-actions {
        display: grid;
        grid-template-columns: 42px minmax(0, .8fr) minmax(0, 1.2fr);
        width: 100%;
    }

    .previous-number-copy {
        width: 42px;
        min-width: 42px;
        padding-inline: 0;
    }

    .previous-number-copy span {
        display: none;
    }

    .ongoing-number-view,
    .ongoing-number-cancel {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding-inline: 7px;
    }

    .reference-sms-copy {
        min-width: 42px;
        justify-content: center;
    }

    .reference-sms-copy span {
        display: none;
    }

    .reference-no-number {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .reference-no-number-actions {
        flex-direction: column;
    }

    .reference-no-number-actions button {
        width: 100%;
    }
}

@keyframes recent-card-breathe {
    0%, 100% {
        opacity: 0.74;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.01);
    }
}

@keyframes recent-stage-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

@keyframes recent-progress-sweep {
    0% {
        opacity: 0;
        transform: translateX(-20px) skewX(-24deg);
    }
    25% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateX(52px) skewX(-24deg);
    }
}

.empty-line {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

.inline-status-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #93c5fd;
    margin-bottom: 8px;
}

.inline-spinner {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(147, 197, 253, 0.3);
    border-top-color: rgba(147, 197, 253, 0.95);
    animation: btn-spin 0.7s linear infinite;
    display: inline-block;
}

.skeleton-row {
    height: 52px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.55), rgba(51, 65, 85, 0.6), rgba(30, 41, 59, 0.55));
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.1s linear infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

.icon-app {
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 1px 2px rgba(2, 6, 23, 0.18);
}

.icon-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: block;
}

.recent-main .icon-app {
    width: 28px;
    height: 28px;
    padding: 4px;
    border-radius: 10px;
}

.recent-main .icon-flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
}

.btn-primary,
.btn-secondary {
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary), var(--primary-2));
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.08);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-loading-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-loading-spinner {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: rgba(255, 255, 255, 0.95);
    animation: btn-spin 0.7s linear infinite;
}

.checkout-progress-hint {
    margin-top: 10px;
    text-align: center;
    color: #93c5fd;
    font-size: 12px;
}

@keyframes btn-spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    border-color: rgba(51, 65, 85, 0.8);
}

.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

.chip {
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 999px;
    padding: 2px 8px;
    color: #93c5fd;
    font-size: 12px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(2, 6, 23, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-card {
    width: 100%;
    max-width: 460px;
    background: #0f172a;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 14px;
    padding: 14px;
}

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

.modal-head h3 {
    font-weight: 700;
    color: #cbd5e1;
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.auth-tabs button {
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 8px;
    color: #94a3b8;
    padding: 6px;
}

.auth-tabs button.active {
    color: #dbeafe;
    border-color: rgba(59, 130, 246, 0.9);
    background: rgba(37, 99, 235, 0.25);
}

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

.auth-modal-shell {
    position: relative;
}

.auth-modal-body {
    visibility: visible;
    opacity: 1;
    transition: opacity 180ms ease;
}

.auth-modal-skeleton {
    display: none;
}

.auth-modal-shell-loading .auth-modal-body {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.auth-modal-shell-loading .auth-modal-skeleton {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: start;
    gap: 12px;
    pointer-events: none;
}

.auth-skeleton-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.auth-skeleton-block {
    display: block;
    width: 100%;
    border-radius: 12px;
    background:
        linear-gradient(
            90deg,
            rgba(30, 41, 59, 0.9) 0%,
            rgba(59, 130, 246, 0.18) 50%,
            rgba(30, 41, 59, 0.9) 100%
        );
    background-size: 220% 100%;
    animation: authSkeletonPulse 1.5s ease-in-out infinite;
}

.auth-skeleton-pill {
    height: 38px;
}

.auth-skeleton-label {
    width: 124px;
    height: 14px;
    border-radius: 999px;
}

.auth-skeleton-panel {
    height: 82px;
}

.auth-skeleton-input {
    height: 44px;
}

.auth-skeleton-button {
    height: 40px;
}

.auth-social-block {
    display: grid;
    gap: 14px;
    margin-bottom: 2px;
    min-height: 120px;
}

.auth-social-title {
    font-size: 14px;
    font-weight: 800;
    color: #e2e8f0;
    letter-spacing: 0.01em;
}

.google-signin-slot {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.google-signin-slot.is-mounted > div,
.google-signin-slot.is-mounted iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.google-login-btn {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.96);
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.google-login-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.18);
}

.google-login-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.google-login-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

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

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.22);
}

.auth-divider-text {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.auth-form input {
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.65);
    color: #e2e8f0;
    padding: 9px 10px;
}

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

.auth-turnstile-wrap-shared {
    margin-bottom: 12px;
    min-height: 104px;
}

.auth-turnstile-label {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.auth-turnstile-box {
    width: 100%;
    min-height: 82px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.72));
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    overflow: hidden;
}

.auth-turnstile-box.is-mounted {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    min-height: 82px;
    padding: 8px 10px;
}

.auth-turnstile-box.is-mounted > div,
.auth-turnstile-box.is-mounted iframe {
    width: 300px !important;
    max-width: 100% !important;
}

.auth-turnstile-box.is-mounted iframe {
    height: 65px !important;
    display: block !important;
    visibility: visible !important;
}

.auth-turnstile-box.has-error {
    min-height: 65px;
    padding: 10px 14px;
    background: #fff7ed;
    border-color: #fed7aa;
}

.auth-turnstile-retry {
    width: 100%;
    min-height: 42px;
    border: 0;
    background: transparent;
    color: #c2410c;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.google-signin-slot > div,
.google-signin-slot iframe,
.auth-turnstile-box > div,
.auth-turnstile-box iframe {
    max-width: 100% !important;
}

.auth-turnstile-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(148, 163, 184, 0.82);
    background: rgba(15, 23, 42, 0.82);
}

.auth-turnstile-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.auth-turnstile-copy strong {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 800;
}

.auth-turnstile-copy span {
    color: #94a3b8;
    font-size: 12px;
}

.auth-turnstile-brand {
    color: rgba(226, 232, 240, 0.92);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, auto);
    align-items: stretch;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.auth-code-input {
    width: 100%;
    min-width: 0;
}

.auth-code-send {
    min-width: 92px;
    padding-inline: 14px;
    white-space: nowrap;
}

.toast {
    position: fixed;
    right: 16px;
    top: 16px;
    z-index: 80;
    max-width: min(420px, calc(100vw - 32px));
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid;
    color: white;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.toast-success {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.55);
}

.toast-error {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(239, 68, 68, 0.6);
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    z-index: 70;
}

.mobile-drawer-panel {
    width: min(320px, calc(100vw - 28px));
    height: 100%;
    background: #0f172a;
    border-right: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 0 22px 22px 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.mobile-link {
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 10px;
    padding: 10px;
    color: #cbd5e1;
    font-weight: 800;
    text-decoration: none;
}

.mobile-menu-controls {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.mobile-menu-section {
    display: grid;
    gap: 10px;
}

.mobile-menu-section-title {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.mobile-menu-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mobile-menu-chip,
.mobile-menu-action {
    width: 100%;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-menu-chip.is-active,
.mobile-menu-action-primary {
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(37, 99, 235, 0.2);
    color: #dbeafe;
}

.mobile-menu-action-danger {
    color: #fca5a5;
}

.mobile-menu-userline {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 12px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.72);
}

.mobile-menu-usertext {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.mobile-menu-usertext strong,
.mobile-menu-usertext span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-menu-usertext strong {
    color: #e2e8f0;
    font-size: 13px;
}

.mobile-menu-usertext span {
    color: #94a3b8;
    font-size: 12px;
}

.mobile-cart-fab {
    position: fixed;
    bottom: 18px;
    right: 14px;
    z-index: 55;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--primary), var(--primary-2));
    color: white;
    border: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.45);
}

/* history page */
.history-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.history-table th,
.history-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
    text-align: left;
}

.history-table th {
    color: #dbeafe;
    font-weight: 700;
    background: rgba(30, 41, 59, 0.45);
}

.page-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
}

.topup-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.history-wrap .text-slate-400,
.history-wrap .text-slate-300 {
    color: #f8fafc !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, 0.85);
    border-radius: 999px;
}

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

.countries-grid-mode .country-row {
    margin-bottom: 0;
    align-items: stretch;
}

.country-row-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.country-row-grid-head,
.country-row-grid-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.country-offer-list {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-top: 14px;
}

.country-offer-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(51, 65, 85, 0.85);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.72);
}

.country-offer-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.country-offer-provider {
    font-size: 13px;
    font-weight: 700;
    color: #dbeafe;
}

@media (max-width: 1279px) {
    .cart-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .modal {
        padding: 12px;
    }

    .modal-card {
        max-width: min(460px, calc(100vw - 24px));
        margin-inline: auto;
        padding: 12px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }

    .auth-form,
    .auth-social-block,
    .auth-turnstile-wrap {
        width: 100%;
        min-width: 0;
    }

    .auth-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 10px;
    }

    .auth-tabs button {
        min-height: 40px;
        padding: 6px 4px;
        font-size: 12px;
        line-height: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        word-break: break-word;
    }

    #nav-auth-section {
        min-width: 0;
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
    }

    .nav-right-container {
        gap: 6px;
        padding: 5px 6px;
        border-radius: 14px;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .nav-user-tools {
        gap: 6px;
        flex-wrap: nowrap;
    }

    #nav-auth-section .nav-mobile-authenticated {
        display: none !important;
    }

    #nav-auth-section .nav-mobile-guest {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        gap: 8px;
        flex: 0 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    #nav-auth-section .nav-mobile-guest .nav-popover-wrap {
        display: flex;
        flex: 0 0 auto;
    }

    .recharge-btn span,
    .user-email-text,
    .lang-trigger .chevron-icon,
    .user-trigger .chevron-icon,
    .balance-btn {
        display: none;
    }

    .topup-icon-desktop {
        display: none;
    }

    .topup-icon-mobile {
        display: inline-flex;
    }

    .nav-popover-wrap,
    .nav-user-menu-wrap {
        flex: 0 0 auto;
    }

    .lang-trigger,
    .user-trigger,
    .recharge-btn,
    #nav-auth-section .btn-primary,
    #nav-auth-section .btn-secondary {
        min-height: 36px;
    }

    .lang-trigger {
        padding: 0 10px;
    }

    .user-trigger {
        padding: 3px;
    }

    .recharge-btn {
        width: 36px;
        justify-content: center;
        padding: 0;
    }

    #nav-auth-section .btn-primary,
    #nav-auth-section .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        font-size: 12px;
        line-height: 1;
        white-space: nowrap;
        min-width: 0;
        border-radius: 10px;
        flex: 0 0 auto;
    }

    .lang-flag-chip {
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 9px;
    }

    .avatar-circle {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    .recharge-modal-card {
        max-width: 100%;
        padding: 14px;
    }

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

    .country-head-actions {
        width: 100%;
        justify-content: space-between;
    }

    .country-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .auth-divider {
        gap: 10px;
    }

    .google-login-btn {
        min-height: 46px;
        font-size: 14px;
    }

    .google-signin-slot > div,
    .google-signin-slot iframe,
    .auth-turnstile-box > div,
    .auth-turnstile-box iframe {
        margin-inline: auto !important;
    }

    .auth-turnstile-box {
        padding-inline: 12px;
    }

    .auth-code-row {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 8px;
    }

    .auth-code-send {
        min-width: 88px;
        padding-inline: 12px;
    }

    .google-signin-slot.is-mounted > div,
    .google-signin-slot.is-mounted iframe {
        margin-inline: 0 !important;
    }

    .auth-turnstile-box.is-mounted {
        justify-content: center;
    }

    .auth-turnstile-box.is-mounted > div,
    .auth-turnstile-box.is-mounted iframe {
        margin-inline: 0 !important;
    }

    .auth-turnstile-brand {
        margin-left: auto;
    }

    .country-offer-line,
    .country-offer-main {
        width: 100%;
        flex-wrap: wrap;
    }

    .country-accordion-trigger,
    .country-channel-actions,
    .country-accordion-toolbar {
        flex-wrap: wrap;
    }

    .country-summary-side {
        width: 100%;
        justify-items: start;
    }

    .country-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .country-price-wrap {
        text-align: left;
        min-width: auto;
    }

    .countries-grid-mode {
        grid-template-columns: 1fr;
    }

    .country-row-grid-head,
    .country-row-grid-foot {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .country-channel-grid {
        grid-template-columns: 1fr;
    }

    .recent-card-head {
        flex-wrap: wrap;
    }

    .recent-side {
        width: 100%;
        text-align: left;
    }

    .recent-phone {
        font-size: 26px;
    }

    .recent-dial-code {
        font-size: 26px;
    }

    .recent-number-copy-target {
        gap: 4px;
        min-height: 48px;
    }

    .recent-phone-actions {
        width: min(100%, 300px);
        gap: 8px;
    }

    .recent-copy-btn {
        min-height: 34px;
        padding: 0 10px;
        font-size: 11px;
    }

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

    .recent-actions .recent-action-btn {
        width: 100%;
    }

.history-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}
}

html[data-theme="dark"] {
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.92);
    --panel-soft: rgba(15, 23, 42, 0.72);
    --panel-muted: rgba(30, 41, 59, 0.72);
    --line: rgba(51, 65, 85, 0.82);
    --line-strong: rgba(51, 65, 85, 0.95);
    --text: #e2e8f0;
    --muted: #c7d2e1;
    --nav-link-color: #dbe7f5;
    --nav-link-active-bg: rgba(37, 99, 235, 0.22);
    --nav-link-active-text: #ffffff;
    --nav-shell-bg: rgba(15, 23, 42, 0.92);
    --nav-shell-border: rgba(51, 65, 85, 0.8);
    --menu-shadow: 0 20px 48px rgba(2, 6, 23, 0.45);
}

html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-400,
html[data-theme="dark"] .text-slate-300,
html[data-theme="dark"] .header-label,
html[data-theme="dark"] .site-footer-copy,
html[data-theme="dark"] .site-footer-link,
html[data-theme="dark"] .country-accordion-hint,
html[data-theme="dark"] .country-channel-name,
html[data-theme="dark"] .country-summary-chevron,
html[data-theme="dark"] .auth-turnstile-label,
html[data-theme="dark"] .auth-turnstile-copy span,
html[data-theme="dark"] .auth-tabs button,
html[data-theme="dark"] .view-mode-btn {
    color: #e6edf7 !important;
}

html[data-theme="light"] {
    --bg: #eff6ff;
    --panel: rgba(255, 255, 255, 0.92);
    --panel-soft: rgba(255, 255, 255, 0.76);
    --panel-muted: rgba(248, 250, 252, 0.94);
    --line: rgba(148, 163, 184, 0.34);
    --line-strong: rgba(148, 163, 184, 0.5);
    --text: #0f172a;
    --muted: #475569;
    --nav-link-color: #475569;
    --nav-link-active-bg: rgba(37, 99, 235, 0.12);
    --nav-link-active-text: #1d4ed8;
    --nav-shell-bg: rgba(255, 255, 255, 0.9);
    --nav-shell-border: rgba(148, 163, 184, 0.3);
    --menu-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] body {
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 5% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
        radial-gradient(1200px 600px at 100% 0%, rgba(14, 165, 233, 0.12), transparent 55%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

html[data-theme="light"] nav,
html[data-theme="light"] .mobile-drawer-panel,
html[data-theme="light"] .panel,
html[data-theme="light"] .notice-banner,
html[data-theme="light"] .search-wrap,
html[data-theme="light"] .app-row,
html[data-theme="light"] .country-row,
html[data-theme="light"] .country-accordion-item,
html[data-theme="light"] .country-channel-card,
html[data-theme="light"] .cart-item,
html[data-theme="light"] .recent-card,
html[data-theme="light"] .qty-wrap,
html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .recharge-modal-card,
html[data-theme="light"] .history-table th,
html[data-theme="light"] .history-table td {
    color: var(--text);
    border-color: var(--line) !important;
    background-color: var(--panel);
}

html[data-theme="light"] .nav-link {
    color: var(--nav-link-color);
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link-active {
    color: var(--nav-link-active-text);
    background: var(--nav-link-active-bg);
}

html[data-theme="light"] .panel-title,
html[data-theme="light"] .country-name,
html[data-theme="light"] .country-summary-price,
html[data-theme="light"] .recent-title,
html[data-theme="light"] .recent-phone,
html[data-theme="light"] .recent-dial-code,
html[data-theme="light"] .user-email-text,
html[data-theme="light"] .header-email {
    color: #0f172a !important;
}

html[data-theme="light"] .country-code,
html[data-theme="light"] .app-row-meta,
html[data-theme="light"] .recent-subline,
html[data-theme="light"] .country-summary-meta,
html[data-theme="light"] .country-price-unit,
html[data-theme="light"] .header-label {
    color: #64748b !important;
}

html[data-theme="light"] .recent-card {
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(59, 130, 246, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
    box-shadow:
        0 24px 48px rgba(148, 163, 184, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .recent-number-stage {
    background:
        radial-gradient(140px 80px at 50% 42%, rgba(59, 130, 246, 0.12), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(241, 245, 249, 0.78));
}

html[data-theme="light"] .recent-number-copy-target,
html[data-theme="light"] .recent-action-btn,
html[data-theme="light"] .recent-stage-badge,
html[data-theme="light"] .sms-bubble-waiting,
html[data-theme="light"] .sms-history-item,
html[data-theme="light"] .sms-history-toggle {
    background-color: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .sms-history-index {
    color: #334155;
}

html[data-theme="light"] .sms-history-value {
    color: #0f172a;
}

html[data-theme="light"] .sms-history-tag {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.22);
}

html[data-theme="light"] .recent-action-locked,
html[data-theme="light"] .recent-action-btn:disabled {
    color: #94a3b8;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.86));
    border-color: rgba(148, 163, 184, 0.46);
}

html[data-theme="light"] .recent-action-countdown {
    background: rgba(241, 245, 249, 0.96);
    border-color: rgba(148, 163, 184, 0.28);
    color: #64748b;
}

html[data-theme="light"] .recent-action-complete-ready {
    border-color: rgba(16, 185, 129, 0.34);
    color: #047857;
}

html[data-theme="light"] .recent-progress-track {
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(226, 232, 240, 0.72));
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .topup-filter {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

#nav-auth-section {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.reference-homepage #nav-auth-section {
    height: 48px;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
}

.nav-right-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 16px;
    border: 1px solid var(--nav-shell-border);
    background: var(--nav-shell-bg);
    backdrop-filter: blur(16px);
    box-shadow: var(--menu-shadow);
}

.nav-user-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-popover-wrap,
.nav-user-menu-wrap {
    position: relative;
}

.nav-icon-btn,
.lang-trigger,
.user-trigger,
.balance-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
    color: var(--text);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-icon-btn,
.lang-trigger {
    padding: 0 12px;
}

.nav-icon-btn:hover,
.lang-trigger:hover,
.user-trigger:hover,
.user-trigger.active,
.lang-trigger.active {
    border-color: rgba(59, 130, 246, 0.42);
    background: var(--panel-muted);
}

.nav-icon-btn {
    width: 38px;
    justify-content: center;
    padding: 0;
}

.lang-trigger-label {
    font-size: 13px;
    font-weight: 600;
}

.lang-flag-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.14);
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.recharge-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-weight: 700;
}

.recharge-btn:hover {
    filter: brightness(1.05);
}

.topup-icon-mobile {
    display: none;
}

.balance-btn {
    padding: 0 12px;
    font-weight: 700;
    color: #2563eb;
}

.user-trigger {
    padding: 3px 6px 3px 3px;
}

.avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.avatar-circle-lg {
    width: 44px;
    height: 44px;
    font-size: 16px;
}

.user-email-text {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.chevron-icon {
    color: var(--muted);
    transition: transform 0.2s ease;
}

.user-trigger.active .chevron-icon,
.lang-trigger.active .chevron-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 286px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--line-strong);
    background: var(--panel);
    box-shadow: var(--menu-shadow);
    z-index: 90;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-dropdown-menu {
    width: 216px;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 4px 12px;
}

.header-info {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.header-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-email {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.08));
}

.user-menu-card-label {
    color: var(--muted);
    font-size: 12px;
}

.user-menu-card-value {
    margin-top: 4px;
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.user-menu-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
}

.menu-item-leading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.menu-item:hover,
.menu-item-active {
    background: rgba(59, 130, 246, 0.1);
}

.menu-item.logout {
    color: #ef4444;
}

.menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

@media (max-width: 768px) {
    .hero-banner-inner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-banner {
        border-radius: 26px;
    }

    .hero-banner-content {
        padding: 28px 22px 30px;
    }

    .hero-banner::after {
        inset: auto -18% -34% 36%;
        height: 82%;
    }

    .hero-banner-tag {
        min-height: 38px;
        padding: 0 16px;
        font-size: 13px;
        line-height: 1.35;
        text-align: center;
        white-space: normal;
    }

    .hero-banner-title {
        margin-top: 18px;
        max-width: 100%;
        font-size: clamp(28px, 10vw, 46px);
        line-height: 1.04;
    }

    .hero-banner-subtitle {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.66;
    }

    .hero-banner-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0 22px 26px;
        gap: 10px;
    }

    .hero-stat-card {
        min-height: 0;
        padding: 16px 14px;
        border-radius: 18px;
    }

    .hero-stat-value {
        font-size: clamp(24px, 4.4vw, 32px);
    }

    .hero-stat-label {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.38;
    }

    nav .max-w-7xl {
        min-width: 0;
    }

    nav .max-w-7xl > .flex.items-center.gap-3 {
        min-width: 0;
        flex: 1 1 auto;
        gap: 10px;
    }

    .site-brand-lockup {
        gap: 8px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .site-brand-mark {
        width: 34px;
        height: 34px;
    }

    .site-brand-wordmark {
        min-width: 0;
        flex-wrap: nowrap;
    }

    .site-brand-wordmark-bridge {
        font-size: 22px;
    }

    .site-brand-wordmark-sms {
        padding: 2px 7px 3px;
        font-size: 14px;
    }

    .nav-right-container {
        gap: 8px;
        padding: 6px 8px;
        max-width: 100%;
    }

    .lang-trigger-label,
    .user-email-text,
    .balance-btn {
        display: none;
    }

    .dropdown-menu {
        right: -6px;
    }

    .topup-filter-bar {
        padding-left: 0;
        padding-right: 0;
    }

    .topup-filter {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .page-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-nav > span {
        width: 100%;
        text-align: center;
        order: 3;
    }
}

/* Mobile catalog readability: names take priority over dashboard density. */
.reference-homepage .service-btn-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

.reference-homepage .reference-country-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
}

.reference-homepage .reference-country-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reference-homepage .reference-country-favorite {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reference-homepage .reference-country-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reference-homepage .reference-country-stock,
.reference-homepage .reference-country-price {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
}

.reference-homepage .service-btn:focus-visible,
.reference-homepage .reference-country-favorite:focus-visible,
.reference-homepage .reference-country-price:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .reference-homepage .homepage-shell {
        padding-inline: 12px !important;
        gap: 18px !important;
    }

    .reference-homepage .homepage-sidebar {
        gap: 18px !important;
    }

    .reference-homepage .apps-panel,
    .reference-homepage .purchase-workspace-panel {
        border-radius: 20px !important;
    }

    .reference-homepage .apps-panel {
        height: auto;
        max-height: none;
    }

    .reference-homepage .apps-list-scroll {
        overflow: visible;
        padding: 12px !important;
    }

    .reference-homepage #apps-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .reference-homepage #apps-list .service-btn,
    .reference-homepage #apps-list .app-row {
        min-height: 58px;
        padding: 9px 10px;
        gap: 9px;
        border-radius: 13px;
        align-items: center;
    }

    .reference-homepage #apps-list .service-btn img,
    .reference-homepage #apps-list .app-row img {
        width: 30px !important;
        height: 30px !important;
    }

    .reference-homepage .service-btn-name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px !important;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .reference-homepage .reference-apps-toggle {
        grid-column: 1 / -1;
        display: inline-flex;
        width: 100%;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid #fed7aa;
        border-radius: 13px;
        background: #fff7ed;
        color: #ea580c;
        font-size: 14px;
        font-weight: 700;
        transition: background-color 160ms ease, border-color 160ms ease;
    }

    .reference-homepage #apps-list.is-expanded {
        max-height: min(58vh, 560px);
        overflow-y: auto !important;
        overscroll-behavior: contain;
        align-content: start;
        scrollbar-gutter: stable;
    }

    .reference-homepage #apps-list.is-expanded .reference-apps-toggle {
        position: sticky;
        top: 0;
        z-index: 5;
        box-shadow: 0 8px 18px rgba(234, 88, 12, 0.1);
    }

    .reference-homepage .reference-apps-more-hint {
        grid-column: 1 / -1;
        padding: 10px 6px 4px;
        color: #94a3b8;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }

    .reference-homepage .reference-apps-toggle:active {
        background: #ffedd5;
        border-color: #fdba74;
    }

    .reference-homepage .reference-country-summary {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px 10px;
        min-height: 72px;
        padding: 10px 8px !important;
    }

    .reference-homepage .reference-country-identity {
        grid-column: 1;
        grid-row: 1;
        gap: 9px;
        min-width: 0;
    }

    .reference-homepage .reference-country-identity img {
        width: 28px !important;
        height: 28px !important;
    }

    .reference-homepage .reference-country-name {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 14px !important;
        font-weight: 750;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .reference-homepage .reference-country-stock {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-left: 61px;
        white-space: normal;
        font-size: 11px !important;
        line-height: 1.35;
    }

    .reference-homepage .reference-country-price {
        grid-column: 2;
        grid-row: 1;
        min-width: 86px;
        min-height: 42px;
        padding: 8px 10px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
    }

    .reference-homepage #countries-rows {
        padding: 8px 10px 12px !important;
        scrollbar-gutter: auto;
    }

    .reference-homepage #country-heading {
        font-size: clamp(18px, 5.8vw, 24px) !important;
        line-height: 1.3;
        text-wrap: balance;
    }
}

@media (max-width: 350px) {
    .reference-homepage #apps-list {
        gap: 8px;
    }

    .reference-homepage #apps-list .service-btn,
    .reference-homepage #apps-list .app-row {
        padding-inline: 8px;
    }

    .reference-homepage .reference-country-price {
        min-width: 80px;
        font-size: 12px !important;
    }
}

@media (max-width: 560px) {
    .footer-seo-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner-stats {
        grid-template-columns: 1fr;
        padding: 0 18px 20px;
    }

    .hero-banner-content {
        padding: 24px 18px 26px;
    }

    .hero-banner-tag {
        min-height: 34px;
        padding: 0 14px;
        font-size: 12px;
    }

    .hero-banner-title {
        font-size: clamp(26px, 9.2vw, 38px);
    }

    .hero-banner-subtitle {
        font-size: 14px;
        line-height: 1.62;
    }

    #nav-auth-section {
        flex: 0 1 auto;
        gap: 8px;
        min-width: 0;
        max-width: 100%;
    }

    .nav-right-container {
        gap: 4px;
        padding: 4px;
        border-radius: 12px;
        min-width: 0;
        flex: 0 1 auto;
    }

    .lang-trigger,
    .recharge-btn,
    #nav-auth-section .btn-primary,
    #nav-auth-section .btn-secondary {
        min-height: 34px;
    }

    .lang-trigger {
        padding: 0 8px;
    }

    #nav-auth-section .btn-primary,
    #nav-auth-section .btn-secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        font-size: 11px;
        line-height: 1;
    }

    #nav-auth-section .nav-mobile-guest {
        gap: 6px;
    }

    .site-brand-wordmark-bridge {
        font-size: 20px;
    }

    .site-brand-wordmark-sms {
        padding: 2px 6px 3px;
        font-size: 13px;
    }
}

@media (max-width: 440px) {
    .site-brand-wordmark {
        gap: 2px;
    }

    .site-brand-wordmark-bridge {
        font-size: 19px;
    }

    .site-brand-wordmark-sms {
        padding: 2px 6px;
        font-size: 12px;
    }

    .topup-filter {
        flex-basis: 100%;
    }
}

.profile-modal-card {
    width: min(1120px, 96vw);
}

.profile-modal-grid {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
}

.profile-balance-card,
.profile-info-card,
.profile-hook-card {
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.72);
    border-radius: 18px;
    padding: 28px;
}

.profile-balance-card h4,
.profile-info-card h4,
.profile-hook-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
}

.profile-balance-value {
    margin: 56px 0 38px;
    font-size: 68px;
    line-height: 1;
    font-weight: 800;
    color: #6d5ce8;
    letter-spacing: -0.04em;
}

.profile-balance-actions {
    display: grid;
    gap: 14px;
}

.profile-secondary-btn,
.profile-hook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(226, 232, 240, 0.08);
    color: #6d5ce8;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.profile-info-stack {
    display: grid;
    gap: 18px;
}

.profile-info-stack > :first-child,
.profile-info-stack > :nth-child(2) {
    display: grid;
}

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

.profile-hook-card {
    grid-column: 1 / -1;
}

.profile-info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.profile-info-value {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    word-break: break-all;
}

.profile-copy-btn {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 0;
    background: rgba(226, 232, 240, 0.08);
    color: #6d5ce8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-hook-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-hook-card p {
    margin: 18px 0 16px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}

.profile-hook-card ul {
    margin: 0 0 24px 0;
    padding-left: 22px;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.8;
}

@media (max-width: 960px) {
    .profile-modal-grid,
    .profile-info-stack {
        grid-template-columns: 1fr;
    }

    .profile-balance-value {
        margin: 28px 0 24px;
        font-size: 52px;
    }
}

.site-footer {
    margin: 28px auto 0;
    max-width: 1280px;
    padding: 0 16px 28px;
}

.footer-seo-wrap {
    max-width: 1280px;
    margin: 28px auto 0;
    padding: 0 16px;
}

.footer-seo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.footer-seo-card {
    min-height: 244px;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(59, 130, 246, 0.06), transparent 70%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 30px 30px 26px;
}

.footer-seo-card-copy {
    display: flex;
    flex-direction: column;
}

.footer-seo-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    color: #f8fafc;
}

.footer-seo-card-copy-text {
    margin: 22px 0 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.72;
}

.footer-seo-list {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.footer-seo-list-item {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 500;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) auto auto;
    align-items: center;
    gap: 32px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.site-footer-brand {
    display: grid;
    gap: 10px;
    justify-self: start;
    min-width: 0;
}

.site-footer-brand-head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-footer-brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 0;
    background: transparent;
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.16);
}

.site-footer-brand-mark img,
.site-footer-brand-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-footer-brand-word {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: -0.045em;
    line-height: 1;
}

.site-footer-brand-word-bridge {
    font-size: 28px;
    font-weight: 950;
    font-style: normal;
    color: transparent;
    background: linear-gradient(92deg, #f8feff 0%, #67e8f9 45%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.site-footer-brand-word-sms {
    margin-top: 2px;
    padding: 3px 8px 4px;
    border: 1px solid rgba(134, 239, 172, 0.34);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.18), rgba(134, 239, 172, 0.24));
    color: #dffcff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.site-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-self: center;
}

.site-footer-copy {
    color: #e2e8f0;
    font-size: 12px;
    line-height: 1.65;
    justify-self: start;
    max-width: 360px;
}

.site-footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.site-footer-link:hover {
    color: #60a5fa;
}

.site-footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.site-footer-social {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.16);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-footer-social:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.site-footer-social-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.site-footer-social-telegram .site-footer-social-icon {
    width: 24px;
    height: 24px;
}

.site-footer-social-x {
    color: #f8fafc;
}

.summary-section-wrap {
    max-width: 1280px;
    margin: 4px auto 0;
    padding: 0 16px;
}

.summary-section {
    border-radius: 28px;
    border: 1px solid rgba(59, 130, 246, 0.16);
    background:
        radial-gradient(520px 220px at 100% 0%, rgba(59, 130, 246, 0.08), transparent 72%),
        linear-gradient(180deg, rgba(13, 18, 31, 0.98), rgba(10, 14, 25, 0.98));
    padding: 34px 28px 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.summary-section-head {
    display: block;
}

.summary-section-title-wrap {
    min-width: 0;
}

.summary-section-title {
    color: #f8fafc;
    font-size: clamp(28px, 3vw, 56px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.summary-card {
    border: 1px solid rgba(82, 113, 188, 0.3);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(26, 36, 60, 0.95), rgba(16, 24, 42, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 34px 34px 30px;
}

.summary-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.summary-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
}

.summary-card-badge-primary {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(37, 99, 235, 0.16);
    color: #dbeafe;
}

.summary-card-title {
    margin-top: 0;
    color: #f8fafc;
    font-size: clamp(24px, 1.8vw, 40px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.summary-card-body {
    margin-top: 16px;
    color: #b8c7e6;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 500;
}

.summary-chip-row {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.summary-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe7ff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.faq-section-wrap {
    max-width: 1280px;
    margin: 4px auto 0;
    padding: 0 16px;
}

.faq-section {
    border-radius: 28px;
    border: 1px solid rgba(59, 130, 246, 0.14);
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(59, 130, 246, 0.06), transparent 72%),
        linear-gradient(180deg, rgba(11, 16, 29, 0.98), rgba(10, 14, 25, 0.98));
    padding: 28px;
}

.faq-section-head {
    margin-bottom: 18px;
}

.faq-section-title {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(26px, 2.2vw, 38px);
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    border-radius: 26px;
    border: 1px solid rgba(82, 113, 188, 0.28);
    background: linear-gradient(180deg, rgba(20, 28, 48, 0.78), rgba(16, 23, 40, 0.8));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(96, 165, 250, 0.28);
}

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    padding: 28px 34px;
    color: #f8fafc;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 800;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex: 0 0 auto;
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: #9db8ff;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.18s ease;
}

.faq-item[open] .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    padding: 0 34px 28px;
}

.faq-answer p {
    margin: 0;
    color: #b6c5e0;
    font-size: 16px;
    line-height: 1.86;
    font-weight: 600;
    max-width: 1180px;
}

.tips-section-wrap {
    max-width: 1280px;
    margin: 6px auto 0;
    padding: 0 16px;
}

.tips-section {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    background:
        radial-gradient(420px 220px at 0% 0%, rgba(59, 130, 246, 0.1), transparent 72%),
        linear-gradient(90deg, rgba(12, 18, 34, 0.96), rgba(11, 14, 23, 0.98));
    padding: 28px;
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.04);
}

.tips-section-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tips-section-head-icon {
    width: 22px;
    height: 22px;
    color: #60a5fa;
    flex-shrink: 0;
}

.tips-section-title {
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.tips-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tips-card {
    position: relative;
    min-height: 166px;
    border-radius: 22px;
    border: 1px solid rgba(31, 36, 51, 0.95);
    background: rgba(20, 24, 36, 0.52);
    padding: 28px 30px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tips-card:hover {
    border-color: rgba(59, 130, 246, 0.28);
    background: rgba(20, 24, 36, 0.8);
    transform: translateY(-2px);
}

.tips-card-priority {
    border-color: rgba(59, 130, 246, 0.26);
    background: rgba(20, 24, 36, 0.8);
}

.tips-card-priority:hover {
    border-color: rgba(96, 165, 250, 0.48);
    background: rgba(20, 24, 36, 0.92);
}

.tips-card-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    border-radius: 0 22px 22px 0;
    background: #3b82f6;
}

.tips-card-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.tips-card-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.tips-card-icon-amber {
    color: #60a5fa;
}

.tips-card-icon-blue {
    color: #60a5fa;
}

.tips-card-title {
    margin: 0;
    color: #e2e8f0;
    font-size: 17px;
    font-weight: 800;
}

.tips-card-body {
    margin: 0;
    color: #a7b0c2;
    font-size: 14px;
    line-height: 1.85;
    font-weight: 600;
}

.rules-modal-card {
    width: min(960px, 94vw);
    max-height: 88vh;
    overflow: hidden;
}

.rules-modal-body {
    max-height: calc(88vh - 76px);
    overflow: auto;
    padding-right: 6px;
}

.rules-list {
    margin: 0;
    padding-left: 22px;
    color: #cbd5e1;
    display: grid;
    gap: 14px;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 960px) {
    .footer-seo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .footer-seo-card {
        min-height: 0;
        padding: 24px 22px 22px;
        border-radius: 24px;
    }

    .footer-seo-card-title {
        font-size: 18px;
    }

    .footer-seo-card-copy-text,
    .footer-seo-list-item {
        font-size: 15px;
    }

    .site-footer {
        padding: 0 16px 22px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 18px;
        padding-top: 18px;
    }

    .site-footer-brand {
        justify-items: center;
    }

    .site-footer-brand-head {
        justify-content: center;
    }

    .site-footer-link {
        width: auto;
    }

    .site-footer-socials {
        justify-content: center;
        justify-self: center;
    }

    .site-footer-copy {
        text-align: center;
        justify-self: center;
    }

    .summary-section {
        padding: 24px 18px 20px;
        border-radius: 22px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .summary-card {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .summary-card-title {
        margin-top: 20px;
        font-size: 34px;
    }

    .summary-card-body {
        font-size: 15px;
        line-height: 1.68;
    }

    .summary-card-badge,
    .summary-chip {
        min-height: 40px;
        font-size: 13px;
    }

    .summary-chip-row {
        margin-top: 18px;
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .faq-list {
        gap: 14px;
    }

    .faq-item {
        border-radius: 20px;
    }

    .faq-question {
        padding: 20px 18px;
        font-size: 18px;
        line-height: 1.5;
    }

    .faq-answer {
        padding: 0 18px 20px;
    }

    .faq-answer p {
        font-size: 15px;
        line-height: 1.72;
    }

    .tips-section {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tips-card {
        min-height: 0;
        padding: 22px 18px;
        border-radius: 18px;
    }

    .tips-card-accent {
        border-radius: 0 18px 18px 0;
    }
}

@media (max-width: 420px) {
    .auth-code-row {
        grid-template-columns: 1fr;
    }

    .auth-code-send {
        width: 100%;
        min-height: 44px;
    }
}

/* Brand-grade homepage refresh */
.brand-page-shell {
    position: relative;
}

nav {
    backdrop-filter: blur(22px) saturate(148%);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.26);
}

.site-brand-mark {
    border-color: rgba(125, 211, 252, 0.35);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 24%),
        linear-gradient(145deg, rgba(14, 165, 233, 0.34), rgba(37, 99, 235, 0.24) 48%, rgba(34, 197, 94, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 38px rgba(14, 165, 233, 0.18);
}

.site-brand-wordmark-bridge {
    background: linear-gradient(90deg, #e0f2fe 0%, #67e8f9 48%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-link {
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.hero-banner {
    min-height: 520px;
    isolation: isolate;
    border-color: rgba(125, 211, 252, 0.22);
    background:
        linear-gradient(135deg, rgba(8, 13, 28, 0.96), rgba(12, 29, 46, 0.92) 46%, rgba(7, 22, 35, 0.96)),
        radial-gradient(circle at 78% 18%, rgba(45, 212, 191, 0.2), transparent 30%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 34px 120px rgba(2, 6, 23, 0.48);
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 24%, rgba(56, 189, 248, 0.08) 56%, transparent),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: auto, 36px 36px, 36px 36px;
    opacity: 0.72;
}

.hero-banner::after {
    inset: auto -8% -34% 42%;
    height: 76%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.26), rgba(37, 99, 235, 0.12) 38%, transparent 72%);
    filter: blur(24px);
}

.hero-banner-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.58fr);
    min-height: inherit;
    gap: 20px;
    align-items: center;
}

.hero-banner-content {
    padding: 54px 0 54px 54px;
}

.hero-banner-tag {
    min-height: 42px;
    border-color: rgba(125, 211, 252, 0.28);
    background: rgba(8, 47, 73, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-banner-title {
    color: #f8fafc;
    text-shadow: 0 22px 58px rgba(14, 165, 233, 0.18);
}

.hero-banner-subtitle {
    color: rgba(226, 232, 240, 0.88);
}

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

.hero-primary-action,
.hero-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-primary-action {
    gap: 8px;
    padding: 0 22px;
    color: #042f2e;
    background: linear-gradient(135deg, #67e8f9, #86efac);
    box-shadow: 0 18px 42px rgba(45, 212, 191, 0.25);
}

.hero-secondary-action {
    padding: 0 20px;
    color: #dbeafe;
    border: 1px solid rgba(191, 219, 254, 0.2);
    background: rgba(15, 23, 42, 0.46);
}

.hero-primary-action:hover,
.hero-secondary-action:hover {
    transform: translateY(-2px);
}

.hero-primary-action:focus-visible,
.hero-secondary-action:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.75);
    outline-offset: 3px;
}

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

.hero-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.84);
    background: rgba(15, 23, 42, 0.38);
    font-size: 12px;
    font-weight: 700;
}

.hero-banner-stats {
    padding: 34px 0;
}

.hero-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 126px;
    border-color: rgba(125, 211, 252, 0.2);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.54), rgba(8, 47, 73, 0.24)),
        rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(18px);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero-stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 38%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(125, 211, 252, 0.38);
    box-shadow: 0 18px 46px rgba(2, 6, 23, 0.3);
}

.hero-stat-value {
    position: relative;
    z-index: 1;
    color: #a7f3d0;
}

.hero-stat-label {
    position: relative;
    z-index: 1;
    color: rgba(226, 232, 240, 0.82);
}

.notice-banner {
    justify-content: center;
    border-color: rgba(125, 211, 252, 0.2);
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.13), rgba(34, 197, 94, 0.1));
    color: #dff8ff;
    box-shadow: 0 14px 42px rgba(2, 6, 23, 0.18);
}

.panel {
    border-color: rgba(125, 211, 252, 0.14);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.62)),
        rgba(15, 23, 42, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 48px rgba(2, 6, 23, 0.22);
    backdrop-filter: blur(18px);
}

.purchase-workspace {
    position: relative;
    padding: 12px;
    border: 1px solid rgba(125, 211, 252, 0.12);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.08), transparent 38%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.48), rgba(15, 23, 42, 0.28));
}

.purchase-workspace::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.035);
    pointer-events: none;
}

.purchase-panel {
    position: relative;
    z-index: 1;
}

.search-wrap {
    border-color: rgba(125, 211, 252, 0.18);
    background: rgba(2, 6, 23, 0.46);
}

.app-row,
.country-accordion-item,
.cart-item,
.recent-card {
    border-color: rgba(125, 211, 252, 0.12);
    background: rgba(15, 23, 42, 0.56);
}

.app-row {
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.app-row:hover,
.app-row-active {
    transform: translateX(3px);
    border-color: rgba(94, 234, 212, 0.38);
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.18), rgba(34, 197, 94, 0.08));
}

.btn-primary {
    border: 0;
    color: #042f2e;
    background: linear-gradient(135deg, #67e8f9, #86efac);
    box-shadow: 0 14px 34px rgba(45, 212, 191, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a5f3fc, #bbf7d0);
}

html[data-theme="light"] .hero-banner,
html[data-theme="light"] .purchase-workspace {
    color: #0f172a;
    border-color: rgba(14, 165, 233, 0.18) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(224, 242, 254, 0.86)),
        rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .hero-banner-title {
    color: #082f49;
}

html[data-theme="light"] .hero-banner-subtitle,
html[data-theme="light"] .hero-trust-row span {
    color: #334155;
}

html[data-theme="light"] .hero-secondary-action {
    color: #075985;
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(14, 165, 233, 0.2);
}

@media (max-width: 1180px) {
    .hero-banner-inner {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 0.48fr);
    }

}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 0;
        border-radius: 28px;
    }

    .hero-banner-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-banner-content {
        padding: 30px 22px 26px;
    }

    .hero-action-row {
        margin-top: 22px;
    }

    .hero-primary-action,
    .hero-secondary-action {
        flex: 1 1 160px;
    }

    .hero-trust-row span {
        max-width: 100%;
    }

    .hero-banner-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 0 22px 24px;
    }

    .purchase-workspace {
        padding: 8px;
        border-radius: 24px;
    }
}

@media (max-width: 560px) {
    .hero-banner-content {
        padding: 26px 18px 22px;
    }

    .hero-action-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-primary-action,
    .hero-secondary-action {
        width: 100%;
    }

    .hero-banner-stats {
        grid-template-columns: 1fr;
        padding: 0 18px 18px;
    }

    .hero-stat-card {
        min-height: 0;
    }
}

/* bridge-sms full-site cyber interface */
:root {
    --bridge-bg: #030711;
    --bridge-bg-soft: #07111d;
    --bridge-panel: rgba(5, 14, 27, 0.82);
    --bridge-panel-strong: rgba(6, 18, 34, 0.94);
    --bridge-line: rgba(103, 232, 249, 0.18);
    --bridge-line-strong: rgba(103, 232, 249, 0.34);
    --bridge-cyan: #67e8f9;
    --bridge-blue: #38bdf8;
    --bridge-green: #86efac;
    --bridge-text: #eef9ff;
    --bridge-muted: #9fb8c8;
}

html[data-theme="dark"] body,
body {
    background:
        radial-gradient(circle at 16% 10%, rgba(56, 189, 248, 0.18), transparent 28%),
        radial-gradient(circle at 82% 8%, rgba(134, 239, 172, 0.12), transparent 26%),
        radial-gradient(circle at 50% 74%, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(180deg, #030711 0%, #06111f 46%, #02040a 100%) !important;
    color: var(--bridge-text);
}

nav {
    border-color: rgba(103, 232, 249, 0.16) !important;
    background: rgba(3, 7, 17, 0.78) !important;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34), inset 0 -1px 0 rgba(103, 232, 249, 0.08);
}

.site-brand-mark,
.site-footer-brand-mark {
    border: 0 !important;
    background: transparent !important;
    box-shadow: 0 12px 28px rgba(34, 211, 238, 0.18) !important;
}

.site-brand-wordmark,
.site-footer-brand-word {
    align-items: center;
    gap: 3px;
    letter-spacing: -0.045em;
    line-height: 1;
}

.site-brand-wordmark-bridge,
.site-footer-brand-word-bridge {
    background: linear-gradient(92deg, #f8feff 0%, #67e8f9 45%, #86efac 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    font-style: normal;
    font-weight: 950;
}

.site-brand-wordmark-sms,
.site-footer-brand-word-sms {
    margin-top: 2px;
    padding: 3px 8px 4px;
    border: 1px solid rgba(134, 239, 172, 0.34);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(103, 232, 249, 0.18), rgba(134, 239, 172, 0.24));
    color: #dffcff !important;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

@media (max-width: 768px) {
    .site-brand-lockup {
        padding-right: 4px;
    }

    .site-brand-wordmark-bridge {
        font-size: 22px;
    }

    .site-brand-wordmark-sms {
        padding: 2px 7px 3px;
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .site-brand-wordmark-bridge {
        font-size: 20px;
    }

    .site-brand-wordmark-sms {
        padding: 2px 6px 3px;
        font-size: 13px;
    }
}

@media (max-width: 440px) {
    .site-brand-wordmark {
        gap: 2px;
    }

    .site-brand-wordmark-bridge {
        font-size: 19px;
    }

    .site-brand-wordmark-sms {
        padding: 2px 6px;
        font-size: 12px;
    }
}

.nav-link,
.mobile-link,
.site-footer-link {
    color: rgba(224, 242, 254, 0.78) !important;
}

.nav-link:hover,
.nav-link-active,
.mobile-link:hover,
.mobile-link-active {
    color: #ecfeff !important;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(134, 239, 172, 0.08)) !important;
    box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.14);
}

.hero-banner {
    border-color: rgba(103, 232, 249, 0.24) !important;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.055), transparent 18%, rgba(134, 239, 172, 0.055) 62%, transparent),
        radial-gradient(circle at 82% 22%, rgba(34, 211, 238, 0.24), transparent 30%),
        radial-gradient(circle at 72% 86%, rgba(134, 239, 172, 0.14), transparent 32%),
        linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(7, 24, 39, 0.98)) !important;
    box-shadow: 0 34px 140px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.hero-banner::before {
    background:
        linear-gradient(rgba(103, 232, 249, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.045) 1px, transparent 1px) !important;
    background-size: 34px 34px !important;
}

.hero-banner-tag,
.summary-chip,
.chip,
.tech-panel-badge {
    border-color: rgba(103, 232, 249, 0.26) !important;
    color: #bffbff !important;
    background: rgba(8, 47, 73, 0.42) !important;
}

.hero-banner-title,
.summary-section-title,
.faq-section-title,
.tips-section-title,
.footer-seo-card-title,
.panel-title,
.profile-balance-card h4,
.profile-info-card h4,
.profile-hook-card h4 {
    color: var(--bridge-text) !important;
}

.hero-banner-subtitle,
.summary-card-body,
.faq-answer p,
.tips-card-body,
.footer-seo-card-copy-text,
.footer-seo-list-item,
.site-footer-copy,
.country-panel-subtitle {
    color: var(--bridge-muted) !important;
}

.panel,
.summary-section,
.summary-card,
.faq-section,
.faq-item,
.tips-section,
.tips-card,
.footer-seo-card,
.site-footer,
.mobile-drawer-panel,
.modal-card,
.recharge-modal-card,
.profile-balance-card,
.profile-info-card,
.profile-hook-card,
.history-wrap .panel,
.content-card,
.page-card,
.blog-card,
.rules-card {
    border-color: var(--bridge-line) !important;
    background:
        linear-gradient(180deg, rgba(6, 18, 34, 0.92), rgba(3, 7, 17, 0.82)),
        rgba(6, 18, 34, 0.78) !important;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
    backdrop-filter: blur(18px) saturate(135%);
}

.panel:hover,
.summary-card:hover,
.tips-card:hover,
.footer-seo-card:hover,
.profile-balance-card:hover,
.profile-info-card:hover,
.profile-hook-card:hover {
    border-color: var(--bridge-line-strong) !important;
}

.purchase-workspace {
    border-color: rgba(103, 232, 249, 0.2) !important;
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.09), transparent 38%, rgba(134, 239, 172, 0.08)),
        rgba(3, 7, 17, 0.72) !important;
}

.search-wrap,
.search-wrap-country,
.auth-form input,
.recharge-custom-input,
.profile-info-value,
.dropdown-menu,
.nav-right-container {
    border-color: rgba(103, 232, 249, 0.18) !important;
    background: rgba(3, 7, 17, 0.7) !important;
    color: var(--bridge-text) !important;
}

.app-row,
.country-row,
.country-accordion-item,
.country-channel-card,
.cart-item,
.recent-card,
.history-table th,
.history-table td,
.recharge-amount-option,
.recharge-method-item,
.usdt-order-card,
.usdt-warning-box {
    border-color: rgba(103, 232, 249, 0.14) !important;
    background: rgba(8, 18, 32, 0.76) !important;
}

.app-row:hover,
.app-row-active,
.country-accordion-item:hover,
.country-accordion-item-expanded,
.country-row:hover,
.recharge-amount-option.is-selected,
.recharge-method-item.is-active {
    border-color: rgba(134, 239, 172, 0.42) !important;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.14), rgba(134, 239, 172, 0.09)) !important;
}

.btn-primary,
.recharge-btn,
.submit-pay-btn,
.hero-primary-action {
    color: #021114 !important;
    background: linear-gradient(135deg, #67e8f9, #86efac) !important;
    box-shadow: 0 18px 48px rgba(34, 211, 238, 0.24) !important;
}

.btn-secondary,
.hero-secondary-action,
.profile-secondary-btn,
.profile-hook-btn {
    border-color: rgba(103, 232, 249, 0.22) !important;
    color: #dffbff !important;
    background: rgba(8, 47, 73, 0.34) !important;
}

.toast {
    border: 1px solid rgba(103, 232, 249, 0.22);
    background: rgba(3, 7, 17, 0.92);
    box-shadow: 0 18px 64px rgba(0, 0, 0, 0.34);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(103, 232, 249, 0.46), rgba(134, 239, 172, 0.36));
}

html[data-theme="light"] body {
    background:
        radial-gradient(circle at 15% 8%, rgba(14, 165, 233, 0.16), transparent 28%),
        radial-gradient(circle at 82% 8%, rgba(34, 197, 94, 0.11), transparent 25%),
        linear-gradient(180deg, #f7fcff, #eaf7ff 48%, #f8fafc) !important;
}

html[data-theme="light"] .panel,
html[data-theme="light"] .summary-section,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .faq-section,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .tips-section,
html[data-theme="light"] .tips-card,
html[data-theme="light"] .footer-seo-card,
html[data-theme="light"] .site-footer,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .recharge-modal-card {
    color: #082f49 !important;
    background: rgba(255, 255, 255, 0.84) !important;
    border-color: rgba(14, 165, 233, 0.2) !important;
}

/* bridge-sms performance trim */
body::before,
body::after,
.hero-banner::before,
.hero-banner::after,
.purchase-workspace::before,
.recent-progress-spark {
    display: none !important;
}

nav,
.hero-banner,
.panel,
.summary-section,
.summary-card,
.faq-section,
.faq-item,
.tips-section,
.tips-card,
.footer-seo-card,
.site-footer,
.mobile-drawer-panel,
.modal-card,
.recharge-modal-card,
.profile-balance-card,
.profile-info-card,
.profile-hook-card,
.dropdown-menu,
.nav-right-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

nav {
    box-shadow: inset 0 -1px 0 rgba(103, 232, 249, 0.08) !important;
}

.hero-banner {
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34) !important;
}

.panel,
.summary-section,
.summary-card,
.faq-section,
.faq-item,
.tips-section,
.tips-card,
.footer-seo-card,
.site-footer,
.modal-card,
.recharge-modal-card,
.profile-balance-card,
.profile-info-card,
.profile-hook-card {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055) !important;
}

.recent-card,
.recent-stage,
.recent-progress-fill,
.country-loading-dot {
    animation: none !important;
}

.app-row,
.country-row,
.country-accordion-item,
.summary-card,
.tips-card,
.footer-seo-card,
.hero-primary-action,
.hero-secondary-action,
.btn-primary,
.btn-secondary {
    transition-duration: 0.12s !important;
}

/* web-design inspired editorial interface */
:root {
    --wd-bg: #0a0b0e;
    --wd-bg-2: #07080b;
    --wd-surface-1: #111217;
    --wd-surface-2: #171921;
    --wd-surface-3: #1f222d;
    --wd-border: rgba(67, 70, 81, 0.58);
    --wd-border-strong: rgba(67, 70, 81, 0.92);
    --wd-border-accent: rgba(94, 234, 212, 0.32);
    --wd-text-1: #ebecef;
    --wd-text-2: #c6c9d2;
    --wd-text-3: #8d909c;
    --wd-text-4: #60636f;
    --wd-accent-cool: #5eead4;
    --wd-accent-cool-hover: #8cf5e3;
    --wd-accent-cool-soft: rgba(94, 234, 212, 0.12);
    --wd-accent-warm: #fb923c;
    --wd-accent-warm-hover: #fdb874;
    --wd-accent-warm-soft: rgba(251, 146, 60, 0.12);
    --wd-gradient-key: linear-gradient(135deg, #5eead4 0%, #fb923c 100%);
    --wd-bg-rgb: 10, 11, 14;
    --wd-accent-cool-rgb: 94, 234, 212;
    --wd-accent-warm-rgb: 251, 146, 60;
    --wd-font-ui: "DM Sans", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --wd-font-serif: "Instrument Serif", "Noto Serif SC", Georgia, serif;
    --wd-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --wd-ease: cubic-bezier(0.2, 0, 0, 1);
    --wd-ease-cinema: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] body,
body {
    background:
        radial-gradient(60% 50% at 26% 6%, rgba(var(--wd-accent-cool-rgb), 0.2), transparent 62%),
        radial-gradient(44% 42% at 82% 14%, rgba(var(--wd-accent-warm-rgb), 0.16), transparent 64%),
        radial-gradient(48% 42% at 50% 92%, rgba(168, 139, 250, 0.09), transparent 68%),
        linear-gradient(180deg, var(--wd-bg) 0%, var(--wd-bg-2) 54%, #050609 100%) !important;
    color: var(--wd-text-1) !important;
    font-family: var(--wd-font-ui) !important;
    letter-spacing: -0.005em;
}

::selection {
    background: rgba(var(--wd-accent-cool-rgb), 0.32);
    color: var(--wd-text-1);
}

nav {
    position: sticky;
    top: 14px;
    z-index: 60;
    width: 100%;
    margin: 14px auto 0;
    padding: 0 clamp(14px, 3vw, 28px);
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

nav > .max-w-7xl {
    height: auto !important;
    min-height: 62px;
    max-width: 1200px !important;
    padding: 8px 10px 8px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    background: rgba(var(--wd-bg-rgb), 0.68);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
}

.brand-page-shell {
    max-width: 1200px !important;
    margin-top: 28px !important;
    padding-left: clamp(18px, 4vw, 40px) !important;
    padding-right: clamp(18px, 4vw, 40px) !important;
}

.site-brand-lockup {
    gap: 10px;
    min-height: 44px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
}

.site-brand-mark,
.site-footer-brand-mark {
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    box-shadow: 0 10px 28px rgba(var(--wd-accent-cool-rgb), 0.16) !important;
}

.site-brand-wordmark-bridge,
.site-footer-brand-word-bridge {
    background: var(--wd-gradient-key) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
}

.site-brand-wordmark-sms,
.site-footer-brand-word-sms {
    border-color: rgba(var(--wd-accent-warm-rgb), 0.38) !important;
    background: rgba(var(--wd-accent-warm-rgb), 0.11) !important;
    color: var(--wd-accent-warm-hover) !important;
}

.nav-link,
.mobile-link,
.site-footer-link {
    border-radius: 999px;
    color: var(--wd-text-3) !important;
    font: 600 13px/1 var(--wd-font-ui);
    letter-spacing: -0.005em;
    transition: background 0.14s var(--wd-ease), color 0.14s var(--wd-ease), transform 0.18s var(--wd-ease) !important;
}

.nav-link:hover,
.nav-link-active,
.mobile-link:hover,
.mobile-link-active {
    color: var(--wd-text-1) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
}

#mobile-menu-btn,
.lang-trigger,
.user-trigger,
.balance-btn,
.recharge-btn,
.nav-right-container {
    border-radius: 999px !important;
}

.nav-right-container,
.dropdown-menu {
    border-color: var(--wd-border) !important;
    background: rgba(var(--wd-bg-rgb), 0.88) !important;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42) !important;
}

.hero-banner {
    position: relative;
    min-height: min(74vh, 680px);
    overflow: hidden;
    border: 1px solid var(--wd-border) !important;
    border-radius: 34px;
    background:
        radial-gradient(52% 46% at 26% 20%, rgba(var(--wd-accent-cool-rgb), 0.22), transparent 68%),
        radial-gradient(44% 42% at 80% 40%, rgba(var(--wd-accent-warm-rgb), 0.18), transparent 66%),
        linear-gradient(180deg, rgba(17, 18, 23, 0.82), rgba(7, 8, 11, 0.94)) !important;
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.hero-banner::before,
.hero-banner::after {
    content: "";
    position: absolute;
    display: block !important;
    pointer-events: none;
}

.hero-banner::before {
    inset: 1px;
    z-index: 0;
    border-radius: inherit;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.72;
}

.hero-banner::after {
    inset: auto 8% 0;
    height: 34%;
    z-index: 0;
    background: linear-gradient(180deg, transparent, rgba(var(--wd-bg-rgb), 0.86));
}

.hero-banner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: inherit;
    justify-items: center;
    text-align: center;
}

.hero-banner-content {
    max-width: 880px;
    padding: clamp(58px, 8vw, 94px) clamp(22px, 6vw, 78px) 34px !important;
}

.hero-banner-tag,
.summary-chip,
.chip,
.tech-panel-badge {
    border-color: var(--wd-border) !important;
    background: rgba(var(--wd-bg-rgb), 0.5) !important;
    color: var(--wd-text-4) !important;
    font-family: var(--wd-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-banner-title {
    max-width: 900px;
    margin: 24px auto 0;
    color: var(--wd-text-1) !important;
    font: 700 clamp(42px, 6.2vw, 84px)/1.05 var(--wd-font-ui);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.44) !important;
    animation: wdHeroReveal 0.9s var(--wd-ease-cinema) both;
}

.hero-banner-subtitle {
    max-width: 660px;
    margin: 24px auto 0;
    color: var(--wd-text-2) !important;
    font: 400 17px/1.75 var(--wd-font-ui);
}

.hero-action-row,
.hero-trust-row {
    justify-content: center;
}

.hero-action-row {
    margin-top: 34px;
}

.hero-primary-action,
.hero-secondary-action,
.btn-primary,
.btn-secondary,
.profile-secondary-btn,
.profile-hook-btn,
.submit-pay-btn,
.recharge-btn {
    border-radius: 999px !important;
    font-family: var(--wd-font-ui);
    letter-spacing: -0.005em;
    transition: transform 0.22s var(--wd-ease), background 0.14s var(--wd-ease), border-color 0.14s var(--wd-ease), box-shadow 0.22s var(--wd-ease) !important;
}

.hero-primary-action,
.btn-primary,
.submit-pay-btn,
.recharge-btn {
    border: 1px solid var(--wd-accent-cool) !important;
    background: var(--wd-accent-cool) !important;
    color: var(--wd-bg) !important;
    box-shadow: 0 10px 30px rgba(var(--wd-accent-cool-rgb), 0.24) !important;
}

.hero-primary-action:hover,
.btn-primary:hover,
.submit-pay-btn:hover,
.recharge-btn:hover {
    background: var(--wd-accent-cool-hover) !important;
    transform: translateY(-1px);
}

.hero-secondary-action,
.btn-secondary,
.profile-secondary-btn,
.profile-hook-btn {
    border: 1px solid var(--wd-border-strong) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--wd-text-1) !important;
    box-shadow: none !important;
}

.hero-secondary-action:hover,
.btn-secondary:hover,
.profile-secondary-btn:hover,
.profile-hook-btn:hover {
    border-color: var(--wd-text-3) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-1px);
}

.hero-trust-row span {
    border-color: var(--wd-border) !important;
    background: rgba(var(--wd-bg-rgb), 0.46) !important;
    color: var(--wd-text-3) !important;
    font-family: var(--wd-font-mono);
    font-weight: 500;
}

.hero-banner-stats {
    width: min(780px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 0 clamp(20px, 5vw, 64px) clamp(42px, 7vw, 72px) !important;
}

.hero-stat-card {
    min-height: 116px;
    border: 1px solid var(--wd-border) !important;
    border-radius: 16px;
    background: rgba(17, 18, 23, 0.82) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.hero-stat-card::after {
    display: none !important;
}

.hero-stat-card:hover {
    border-color: var(--wd-border-accent) !important;
    transform: translateY(-3px);
}

.hero-stat-value {
    color: var(--wd-accent-cool) !important;
    font-family: var(--wd-font-serif);
    font-style: italic;
    font-weight: 400;
}

.hero-stat-label {
    color: var(--wd-text-3) !important;
    font-family: var(--wd-font-mono);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notice-banner {
    border: 1px solid rgba(var(--wd-accent-warm-rgb), 0.26) !important;
    border-radius: 999px;
    background: rgba(var(--wd-accent-warm-rgb), 0.1) !important;
    color: var(--wd-accent-warm-hover) !important;
    box-shadow: none !important;
}

.panel,
.summary-section,
.summary-card,
.faq-section,
.faq-item,
.tips-section,
.tips-card,
.footer-seo-card,
.site-footer,
.mobile-drawer-panel,
.modal-card,
.recharge-modal-card,
.profile-balance-card,
.profile-info-card,
.profile-hook-card,
.history-wrap .panel,
.content-card,
.page-card,
.blog-card,
.rules-card {
    border: 1px solid var(--wd-border) !important;
    border-radius: 18px !important;
    background: var(--wd-surface-1) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.panel:hover,
.summary-card:hover,
.tips-card:hover,
.footer-seo-card:hover,
.faq-item:hover,
.blog-card:hover,
.profile-balance-card:hover,
.profile-info-card:hover,
.profile-hook-card:hover {
    border-color: var(--wd-border-strong) !important;
    transform: translateY(-2px);
}

.purchase-workspace {
    padding: 12px;
    border: 1px solid var(--wd-border) !important;
    border-radius: 28px;
    background: rgba(var(--wd-bg-rgb), 0.42) !important;
}

.purchase-workspace::before {
    border-color: rgba(255, 255, 255, 0.035) !important;
}

.purchase-panel {
    overflow: hidden;
}

.panel-title,
.summary-section-title,
.faq-section-title,
.tips-section-title,
.footer-seo-card-title,
.profile-balance-card h4,
.profile-info-card h4,
.profile-hook-card h4 {
    color: var(--wd-text-1) !important;
    font-family: var(--wd-font-ui);
    letter-spacing: -0.018em;
}

.summary-section-title,
.faq-section-title,
.tips-section-title {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.1;
}

.hero-banner-subtitle,
.summary-card-body,
.faq-answer p,
.tips-card-body,
.footer-seo-card-copy-text,
.footer-seo-list-item,
.site-footer-copy,
.country-panel-subtitle,
.input-desc,
.profile-info-value {
    color: var(--wd-text-3) !important;
}

.search-wrap,
.search-wrap-country,
.auth-form input,
.recharge-custom-input,
.profile-info-value,
.profile-input,
.api-key-row,
.webhook-input-row {
    border: 1px solid var(--wd-border) !important;
    border-radius: 14px !important;
    background: var(--wd-bg-2) !important;
    color: var(--wd-text-1) !important;
    font-family: var(--wd-font-mono);
}

.search-wrap input,
.search-wrap-country input,
.auth-form input,
.recharge-custom-input {
    color: var(--wd-text-1) !important;
    font-family: var(--wd-font-ui);
}

.search-wrap input::placeholder,
.search-wrap-country input::placeholder,
.auth-form input::placeholder,
.recharge-custom-input::placeholder {
    color: var(--wd-text-4) !important;
}

.app-row,
.country-row,
.country-accordion-item,
.country-channel-card,
.cart-item,
.recent-card,
.history-table th,
.history-table td,
.recharge-amount-option,
.recharge-method-item,
.usdt-order-card,
.usdt-warning-box {
    border: 1px solid var(--wd-border) !important;
    border-radius: 14px !important;
    background: var(--wd-bg-2) !important;
}

.app-row:hover,
.app-row-active,
.country-accordion-item:hover,
.country-accordion-item-expanded,
.country-row:hover,
.recharge-amount-option.is-selected,
.recharge-method-item.is-active {
    border-color: var(--wd-border-accent) !important;
    background: linear-gradient(160deg, var(--wd-surface-1), rgba(var(--wd-accent-cool-rgb), 0.045)) !important;
}

.summary-card,
.tips-card,
.footer-seo-card {
    position: relative;
    overflow: hidden;
}

.summary-card::before,
.tips-card::before,
.footer-seo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wd-gradient-key);
    opacity: 0.72;
}

.summary-chip {
    color: var(--wd-accent-cool) !important;
    background: var(--wd-accent-cool-soft) !important;
}

.faq-question {
    color: var(--wd-text-1) !important;
}

.faq-toggle {
    border-color: var(--wd-border-strong) !important;
}

.site-footer {
    max-width: 1200px;
    margin-top: 72px;
    padding-bottom: 34px;
    border-radius: 24px !important;
}

.site-footer-inner {
    border-top: 0 !important;
}

.site-footer-link:hover {
    color: var(--wd-accent-cool) !important;
}

.site-footer-social {
    border-color: var(--wd-border) !important;
    background: var(--wd-surface-2) !important;
}

.site-footer-social:hover {
    border-color: var(--wd-border-accent) !important;
    color: var(--wd-accent-cool) !important;
}

.toast {
    border-color: var(--wd-border-accent) !important;
    background: rgba(var(--wd-bg-rgb), 0.94) !important;
    color: var(--wd-text-1) !important;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(var(--wd-accent-cool-rgb), 0.7), rgba(var(--wd-accent-warm-rgb), 0.54)) !important;
}

@keyframes wdHeroReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

@media (max-width: 900px) {
    .hero-banner {
        min-height: auto;
    }

    .hero-banner-stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .purchase-workspace {
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    nav {
        top: 8px;
        margin-top: 8px;
        padding: 0 10px;
    }

    nav > .max-w-7xl {
        min-height: 56px;
        padding: 7px 8px 7px 12px !important;
        border-radius: 24px;
    }

    .brand-page-shell {
        margin-top: 18px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .hero-banner {
        border-radius: 24px;
    }

    .hero-banner-content {
        padding: 42px 18px 26px !important;
    }

    .hero-banner-title {
        font-size: clamp(34px, 11vw, 52px);
    }

    .hero-banner-subtitle {
        font-size: 15px;
    }

    .hero-action-row {
        gap: 10px;
    }

    .notice-banner {
        align-items: flex-start;
        border-radius: 18px;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner-title {
        animation: none !important;
    }
}

body.homepage-shell {
    font-family: "DM Sans", "Noto Sans SC", sans-serif;
    background:
        radial-gradient(900px 500px at 0% 0%, rgba(251, 146, 60, 0.10), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(14, 165, 233, 0.10), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #0f172a;
}

.homepage-shell nav {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    backdrop-filter: blur(18px);
}

.homepage-main {
    padding-top: 1.5rem;
}

.homepage-main .hero-banner,
.homepage-main .panel,
.homepage-main .summary-section,
.homepage-main .faq-section,
.homepage-main .notice-banner,
.homepage-main .tips-section,
.homepage-main .footer-seo-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.homepage-main .hero-banner {
    border-radius: 28px;
    overflow: hidden;
}

.homepage-main .hero-banner::before,
.homepage-main .hero-banner::after,
.homepage-main .purchase-workspace::before {
    opacity: 0.45;
}

.homepage-main .hero-banner-title,
.homepage-main .panel-title,
.homepage-main .summary-section-title,
.homepage-main .faq-section-title,
.homepage-main .tips-section-title,
.homepage-main .footer-seo-card-title,
.homepage-main .site-footer-brand-word,
.homepage-main .faq-question {
    color: #0f172a;
}

.homepage-main .hero-banner-subtitle,
.homepage-main .country-panel-subtitle,
.homepage-main .summary-card-body,
.homepage-main .faq-answer,
.homepage-main .footer-seo-card-copy-text,
.homepage-main .footer-seo-list-item,
.homepage-main .empty-line,
.homepage-main .site-footer-copy,
.homepage-main .site-footer-link {
    color: #64748b;
}

.homepage-main .hero-banner-tag,
.homepage-main .tech-panel-badge,
.homepage-main .chip,
.homepage-main .summary-chip,
.homepage-main .stock-badge-in {
    background: rgba(249, 115, 22, 0.10);
    border-color: rgba(249, 115, 22, 0.18);
    color: #c2410c;
}

.homepage-shell .nav-link,
.homepage-shell .site-footer-link {
    color: #475569;
}

.homepage-shell .nav-link:hover,
.homepage-shell .nav-link-active {
    color: #ea580c;
    background: rgba(249, 115, 22, 0.10);
}

.homepage-main .hero-primary-action,
.homepage-main .btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: 0;
    box-shadow: 0 16px 32px rgba(249, 115, 22, 0.22);
}

.homepage-main .hero-secondary-action {
    background: rgba(249, 115, 22, 0.10);
    color: #ea580c;
    border-color: rgba(249, 115, 22, 0.18);
}

.homepage-workspace-grid {
    display: grid;
    grid-template-columns: minmax(380px, 460px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.homepage-left-rail,
.homepage-right-stage,
.homepage-content-stack,
.purchase-workspace {
    display: grid;
    gap: 20px;
}

.purchase-workspace {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.purchase-app-panel {
    min-height: 360px;
}

.country-panel {
    min-height: 460px;
}

.homepage-cart-panel {
    min-height: 360px;
}

.homepage-panel-head {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.95);
}

.homepage-main .search-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.homepage-main .search-wrap input {
    color: #0f172a;
}

.homepage-main .search-wrap input::placeholder {
    color: #94a3b8;
}

.homepage-main .app-row,
.homepage-main .country-accordion-item,
.homepage-main .cart-item,
.homepage-main .recent-card,
.homepage-main .summary-card,
.homepage-main .faq-item {
    background: #fff;
    border-color: #e2e8f0;
}

.homepage-main .app-row:hover,
.homepage-main .app-row-active {
    border-color: rgba(249, 115, 22, 0.35);
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.homepage-main .country-accordion-trigger:hover,
.homepage-main .country-channel-card:hover {
    background: #fff7ed;
}

.homepage-main .country-summary-price,
.homepage-main .country-channel-price,
.homepage-main .text-emerald-400 {
    color: #ea580c !important;
}

.homepage-main .btn-secondary,
.homepage-main .btn-mini,
.homepage-main .cart-icon-btn {
    background: #fff;
    border-color: #e2e8f0;
    color: #475569;
}

.homepage-main .site-footer {
    background: transparent;
}

@media (max-width: 1180px) {
    .homepage-workspace-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .homepage-main {
        padding-top: 1rem;
    }

    .homepage-workspace-grid,
    .purchase-workspace {
        gap: 16px;
    }

    .purchase-app-panel,
    .country-panel,
    .homepage-cart-panel {
        min-height: auto;
    }
}

.site-brand-lockup.site-image-brand {
    width: clamp(170px, 16vw, 224px);
    height: 52px;
    min-height: 52px;
    padding: 0 4px;
    gap: 0;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.18);
}

.site-brand-lockup.site-image-brand .site-header-logo {
    display: block;
    width: 100%;
    height: 58px;
    object-fit: contain;
    object-position: center;
}

.mobile-drawer-brand.site-image-brand {
    width: 190px;
}

@media (max-width: 768px) {
    .site-brand-lockup.site-image-brand {
        width: 158px;
        height: 48px;
        min-height: 48px;
    }

    .site-brand-lockup.site-image-brand .site-header-logo {
        height: 52px;
    }
}

.reference-homepage {
    background: #f4f6f8 !important;
    color: #1e293b !important;
}

.reference-homepage::-webkit-scrollbar,
.reference-homepage *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.reference-homepage::-webkit-scrollbar-track,
.reference-homepage *::-webkit-scrollbar-track {
    background: transparent;
}

.reference-homepage::-webkit-scrollbar-thumb,
.reference-homepage *::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.reference-homepage .hide-scroll::-webkit-scrollbar {
    display: none;
}

.reference-homepage .reference-header-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: clamp(172px, 18vw, 240px);
    height: 64px;
    overflow: hidden;
    text-decoration: none;
}

.reference-homepage .reference-header-logo {
    display: block;
    width: 100%;
    height: 58px;
    object-fit: contain;
    object-position: center;
}

.reference-homepage .service-btn {
    transition: all 0.2s ease;
}

.reference-homepage .service-btn.active {
    background-color: #ffedd5;
    border-color: #fbd38d;
    color: #ea580c;
}

.reference-homepage .skeleton-row,
.reference-homepage .skeleton {
    min-height: 42px;
    border-radius: 12px;
    margin: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: referenceLoading 1.5s infinite;
}

@keyframes referenceLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.reference-homepage .pulse-border {
    animation: referencePulseGlow 2s infinite;
}

@keyframes referencePulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.reference-homepage .empty-line {
    color: #94a3b8;
    padding: 18px;
    font-size: 13px;
}

.reference-homepage .nav-right-container,
.reference-homepage .nav-user-tools {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.reference-homepage .nav-right-container::before,
.reference-homepage .nav-right-container::after,
.reference-homepage .nav-user-tools::before,
.reference-homepage .nav-user-tools::after {
    display: none !important;
    content: none !important;
}

.reference-homepage #nav-auth-section {
    margin-right: clamp(36px, 7vw, 96px);
}

.reference-homepage .nav-mobile-guest {
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible;
}

.reference-homepage .nav-language-wrap {
    flex: 0 0 auto;
}

.reference-homepage #nav-auth-section .lang-trigger {
    height: 48px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #c2410c;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
}

.reference-homepage #nav-auth-section .lang-trigger:hover,
.reference-homepage #nav-auth-section .lang-trigger.active {
    background: #ffedd5;
    border-color: #fb923c;
    color: #9a3412;
}

.reference-homepage .lang-flag-chip {
    background: #ffedd5;
    color: #f97316;
    font-weight: 900;
}

.reference-homepage .nav-auth-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    min-height: 48px;
    min-width: 92px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.reference-homepage .nav-auth-login {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.reference-homepage .nav-auth-login:hover {
    background: #fff7ed;
    border-color: #fdba74;
    color: #c2410c;
    transform: translateY(-1px);
}

.reference-homepage .nav-auth-login i {
    font-size: 18px;
}

.reference-homepage .nav-auth-register {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

.reference-homepage .nav-auth-register:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.reference-homepage .mobile-menu-chip,
.reference-homepage .mobile-menu-action {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.reference-homepage .mobile-menu-chip.is-active {
    background: #ffedd5;
    border-color: #fb923c;
    color: #ea580c;
}

.reference-homepage .mobile-menu-action-primary {
    background: #ffffff;
    border-color: #fed7aa;
    color: #c2410c;
}

.reference-homepage .mobile-drawer {
    background: rgba(17, 24, 39, 0.64);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.reference-homepage .mobile-drawer-panel {
    width: min(320px, calc(100vw - 28px));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.96)) !important;
    border-right: 1px solid #fdba74;
    border-top: 1px solid #fed7aa;
    border-bottom: 1px solid #fed7aa;
    border-radius: 0 24px 24px 0;
    padding: 14px;
    box-shadow: 18px 0 52px rgba(15, 23, 42, 0.20);
}

.reference-homepage .mobile-drawer-panel::before {
    content: "";
    display: block;
    width: 160px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 14px;
    background: #ffffff url("/logo.png") center / contain no-repeat;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.reference-homepage .mobile-link {
    min-height: 40px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
    background: #ffffff !important;
    border: 1px solid #fdba74 !important;
    color: #1f2937 !important;
    box-shadow: 0 8px 22px rgba(154, 52, 18, 0.06);
}

.reference-homepage .mobile-link.nav-link-active {
    background: #fff7ed !important;
    color: #ea580c !important;
}

.reference-homepage .mobile-menu-controls {
    gap: 14px;
    padding-top: 6px;
}

.reference-homepage .mobile-menu-section {
    gap: 10px;
}

.reference-homepage .mobile-menu-section-title {
    color: #64748b;
    font-weight: 900;
}

.reference-homepage .mobile-menu-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reference-homepage .lang-dropdown-menu,
.reference-homepage .dropdown-menu,
.reference-homepage #langDropdownMenu,
.reference-homepage #langDropdownMenu.show {
    background: #fff !important;
    border-color: #fed7aa !important;
    color: #1e293b !important;
    box-shadow: 0 18px 42px rgba(154, 52, 18, 0.14);
}

.reference-homepage .lang-dropdown-menu .menu-item,
.reference-homepage .dropdown-menu .menu-item,
.reference-homepage #langDropdownMenu .menu-item {
    background: #ffffff !important;
    color: #1e293b !important;
}

.reference-homepage .lang-dropdown-menu .menu-item:hover,
.reference-homepage .lang-dropdown-menu .menu-item.active,
.reference-homepage .lang-dropdown-menu .menu-item[aria-current="true"],
.reference-homepage .menu-item:hover {
    background: #fff7ed !important;
    color: #ea580c !important;
}

.reference-homepage .balance-btn {
    background: #fff;
    border: 1px solid #fed7aa;
    color: #334155;
    border-radius: 8px;
    padding: 8px 12px;
}

.reference-homepage .balance-btn::before {
    content: "\f555";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f97316;
}

.reference-homepage .recharge-btn {
    background: #fff7ed;
    border: 0;
    color: #ea580c;
    border-radius: 6px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 800;
}

.reference-homepage .user-trigger {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #ffedd5;
    border: 0;
    color: #ea580c;
    padding: 0;
    justify-content: center;
}

.reference-homepage .user-trigger .user-email-text,
.reference-homepage .user-trigger .chevron-icon {
    display: none;
}

.reference-homepage .avatar-circle {
    width: 32px;
    height: 32px;
    background: transparent;
    color: #ea580c;
}

.reference-homepage .modal {
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(5px);
}

.reference-homepage .homepage-shell {
    align-items: flex-start;
}

.reference-homepage .homepage-sidebar,
.reference-homepage .purchase-workspace-panel {
    min-height: 0;
}

.reference-homepage .apps-panel {
    height: 380px;
}

.reference-homepage .apps-panel .p-4 {
    padding: 12px 16px;
}

.reference-homepage .apps-panel .p-3 {
    padding: 10px 14px;
}

.reference-homepage .apps-list-scroll {
    padding: 10px 14px;
}

.reference-homepage #apps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.reference-homepage #apps-list .service-btn,
.reference-homepage #apps-list .app-row {
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
}

.reference-homepage #countries-rows {
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.reference-homepage .countries-accordion-mode {
    gap: 8px;
}

.reference-homepage .country-accordion-item {
    border-radius: 16px;
}

.reference-homepage .country-accordion-trigger {
    gap: 12px;
    padding: 11px 14px;
}

.reference-homepage .country-main {
    gap: 8px;
}

.reference-homepage .country-meta {
    gap: 4px;
}

.reference-homepage .country-name-line {
    gap: 6px;
}

.reference-homepage .country-name-line span:first-child {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.reference-homepage .country-code {
    font-size: 11px;
}

.reference-homepage .stock-badge {
    padding: 1px 7px;
    font-size: 11px;
}

.reference-homepage .country-summary-side {
    min-width: 122px;
    gap: 2px;
}

.reference-homepage .country-summary-price {
    font-size: 13px;
}

.reference-homepage .country-summary-meta {
    font-size: 11px;
}

.reference-homepage .icon-flag {
    width: 18px;
    height: 12px;
}

.reference-homepage .country-row {
    min-height: 46px;
    margin-bottom: 0;
    padding: 6px 10px;
    gap: 8px;
    border-radius: 12px;
}

.reference-homepage .country-row + .country-row {
    margin-top: 0;
}

.reference-homepage .country-controls {
    gap: 8px;
}

.reference-homepage .country-price,
.reference-homepage .country-row .price-val {
    min-width: 72px;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.reference-homepage .country-price-wrap {
    min-width: 78px;
}

@media (min-width: 1024px) {
    .reference-homepage .homepage-sidebar {
        position: static;
        height: auto;
        max-height: none;
    }

    .reference-homepage .apps-panel {
        height: 380px;
    }

    .reference-homepage .purchase-workspace-panel {
        flex: 0 0 auto;
        min-height: 0;
    }

    .reference-homepage .apps-list-scroll {
        overflow-y: auto;
    }

    .reference-homepage #countries-rows {
        height: 462px;
        min-height: 462px;
        max-height: 462px;
        overflow-y: auto;
        padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .reference-homepage .site-topbar > .max-w-\[1600px\] {
        justify-content: space-between;
        gap: 8px;
    }

    .reference-homepage .mobile-menu-trigger {
        display: inline-flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid transparent;
        color: #111827;
    }

    .reference-homepage .mobile-menu-trigger:hover {
        background: #fff7ed;
        border-color: #fed7aa;
        color: #ea580c;
    }

    .reference-homepage .reference-header-brand {
        width: clamp(178px, 58vw, 252px);
        flex: 1 1 auto;
        min-width: 0;
        height: 62px;
        min-height: 62px;
    }

    .reference-homepage .reference-header-logo {
        width: 100%;
        height: 62px;
        object-fit: contain;
    }

    .reference-homepage .nav-mobile-guest {
        padding: 0;
        gap: 0;
    }

    .reference-homepage #nav-auth-section .lang-trigger {
        height: 40px;
        min-height: 40px;
        width: 58px;
        padding: 0;
        border-radius: 999px;
        justify-content: center;
    }

    .reference-homepage #nav-auth-section {
        margin-right: 0;
        flex: 0 0 auto;
        max-width: 64px;
    }

    .reference-homepage #nav-auth-section .nav-auth-action {
        display: none !important;
    }

    .reference-homepage #nav-auth-section .lang-trigger-label,
    .reference-homepage #nav-auth-section .chevron-icon {
        display: none !important;
    }

    .reference-homepage #countries-rows {
        max-height: 28rem;
    }
}

@media (max-width: 420px) {
    .reference-homepage .reference-header-brand {
        width: clamp(160px, 52vw, 220px);
    }

    .reference-homepage .site-topbar > .max-w-\[1600px\] {
        padding-left: 12px;
        padding-right: 10px;
    }
}

/* Reference auth replacement: orange/white glass login and register flow */
.reference-homepage .reference-auth-modal.modal {
    background:
        radial-gradient(circle at top right, rgba(255, 247, 237, 0.92), transparent 42%),
        radial-gradient(circle at bottom left, rgba(255, 237, 213, 0.82), transparent 46%),
        rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 22px;
}

.reference-homepage .auth-glass-card {
    position: relative;
    width: min(100%, 448px);
    max-width: 448px;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    border: 1px solid rgba(251, 146, 60, 0.22) !important;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(251, 146, 60, 0.15) !important;
    padding: 0;
    color: #111827 !important;
}

.reference-homepage .auth-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 6;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff7ed;
    color: #fb923c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 180ms ease, background-color 180ms ease;
}

.reference-homepage .auth-close-btn:hover {
    background: #ffedd5;
    transform: rotate(8deg);
}

.reference-homepage #authModal .auth-modal-shell {
    padding: 0;
}

.reference-homepage #authModal .auth-reference-body {
    padding: 40px;
}

.reference-homepage .auth-reference-loader {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 32px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.reference-homepage .auth-reference-loader p {
    margin-top: 16px;
    color: #ea580c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.reference-homepage .main-loader {
    width: 50px;
    height: 50px;
    border: 4px solid #fff7ed;
    border-left-color: #f97316;
    border-radius: 999px;
    animation: authSpin 0.8s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

.reference-homepage .orange-gradient {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.reference-homepage .auth-reference-head {
    text-align: center;
    margin-bottom: 28px;
}

.reference-homepage .auth-reference-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 24px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 18px 32px rgba(251, 146, 60, 0.22);
}

.reference-homepage #authModal[data-auth-view="register"] .auth-reference-icon {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #fff;
    border: 0;
}

.reference-homepage .auth-reference-head h3 {
    margin: 0;
    color: #111827;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.reference-homepage .auth-reference-head p {
    margin-top: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.reference-homepage .auth-google-shell {
    width: 100%;
    min-height: 50px;
    margin-bottom: 24px;
}

.reference-homepage #authModal .google-login-btn {
    width: 100%;
    min-height: 50px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: none;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.reference-homepage #authModal .google-login-btn:hover {
    border-color: #e5e7eb;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.reference-homepage .auth-reference-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.reference-homepage .auth-reference-divider span {
    height: 1px;
    background: #f3f4f6;
}

.reference-homepage .auth-reference-divider em {
    color: #9ca3af;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.reference-homepage #authModal .auth-reference-verify {
    min-height: auto;
    margin-bottom: 18px;
}

.reference-homepage #forgotModal .auth-reference-verify {
    min-height: auto;
    margin-bottom: 0;
}

.reference-homepage #authModal .auth-reference-cf,
.reference-homepage #forgotModal .auth-reference-cf {
    min-height: 54px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    color: #4b5563;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reference-homepage #authModal .auth-turnstile-copy strong,
.reference-homepage #forgotModal .auth-turnstile-copy strong {
    color: #4b5563;
    font-size: 14px;
    font-weight: 700;
}

.reference-homepage #authModal .auth-turnstile-copy span,
.reference-homepage #forgotModal .auth-turnstile-copy span {
    color: #9ca3af;
    font-size: 11px;
}

.reference-homepage #authModal .auth-turnstile-brand,
.reference-homepage #forgotModal .auth-turnstile-brand {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 900;
}

.reference-homepage .auth-reference-fields {
    display: grid;
    gap: 0;
    opacity: 1;
    transition: opacity 220ms ease;
}

.reference-homepage .auth-reference-fields.auth-fields-locked {
    opacity: 0.55;
}

.reference-homepage .auth-reference-fields.auth-fields-locked .auth-form {
    pointer-events: none;
}

.reference-homepage #authModal .auth-form,
.reference-homepage #forgotModal .auth-form {
    display: grid;
    gap: 16px;
}

.reference-homepage #authModal .auth-form.hidden,
.reference-homepage #forgotModal .auth-form.hidden {
    display: none !important;
}

.reference-homepage .auth-reference-label,
.reference-homepage #forgotModal .auth-reference-label {
    display: block;
    margin: 0 0 8px 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-homepage .auth-reference-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
}

.reference-homepage .auth-reference-link,
.reference-homepage .auth-reference-switch button,
.reference-homepage .forgot-back-btn {
    border: 0;
    background: transparent;
    color: #f97316;
    font-size: 12px;
    font-weight: 900;
}

.reference-homepage #authModal .auth-form input,
.reference-homepage #forgotModal input {
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid #f3f4f6 !important;
    background: #f9fafb !important;
    color: #111827 !important;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.reference-homepage #authModal .auth-form input:focus,
.reference-homepage #forgotModal input:focus {
    background: #fff !important;
    border-color: #fb923c !important;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.reference-homepage #authModal .auth-form input::placeholder,
.reference-homepage #forgotModal input::placeholder {
    color: #9ca3af;
}

.reference-homepage #authModal .auth-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 10px;
}

.reference-homepage #authModal .auth-code-send,
.reference-homepage #forgotModal #forgot-send-btn {
    min-height: 44px;
    border: 0 !important;
    border-radius: 14px;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(251, 146, 60, 0.18) !important;
}

.reference-homepage #authModal .auth-code-send:disabled,
.reference-homepage #forgotModal #forgot-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.reference-homepage #authModal .auth-reference-submit,
.reference-homepage #forgotModal .auth-reference-submit {
    width: 100%;
    min-height: 58px;
    margin-top: 12px;
    border: 0 !important;
    border-radius: 18px;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 15px 30px rgba(251, 146, 60, 0.18) !important;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.reference-homepage #authModal .auth-form button.auth-reference-submit.btn-primary[type="submit"],
.reference-homepage #forgotModal button.auth-reference-submit.btn-primary[type="submit"],
.reference-homepage #forgotModal button.auth-reference-submit.btn-primary[type="button"] {
    min-height: 58px;
    margin-top: 12px;
    border: 0 !important;
    border-radius: 18px;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 15px 30px rgba(251, 146, 60, 0.18) !important;
}

.reference-homepage #authModal[data-auth-view="register"] .auth-form .auth-reference-submit.btn-primary,
.reference-homepage #authModal[data-auth-view="register"] .auth-form .auth-reference-submit.btn-primary:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 15px 30px rgba(251, 146, 60, 0.18) !important;
}

.reference-homepage #authModal .auth-reference-submit:hover,
.reference-homepage #forgotModal .auth-reference-submit:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    box-shadow: 0 18px 34px rgba(251, 146, 60, 0.26) !important;
    transform: translateY(-1px);
}

.reference-homepage .auth-reference-submit i {
    font-size: 10px;
}

.reference-homepage .auth-reference-switch {
    margin-top: 28px;
    text-align: center;
}

.reference-homepage .auth-reference-switch button {
    color: #9ca3af;
    font-size: 14px;
}

.reference-homepage .auth-reference-switch #switch-btn {
    margin-left: 4px;
    color: #f97316;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

#authModal.reference-auth-modal .auth-glass-card,
#forgotModal.reference-auth-modal .auth-glass-card {
    border-color: rgba(251, 146, 60, 0.22) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #111827 !important;
    box-shadow: 0 25px 50px -12px rgba(251, 146, 60, 0.15) !important;
}

#authModal.reference-auth-modal .auth-reference-submit,
#authModal.reference-auth-modal .auth-code-send,
#forgotModal.reference-auth-modal .auth-reference-submit,
#forgotModal.reference-auth-modal #forgot-send-btn {
    border: 0 !important;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%) !important;
    color: #fff !important;
    box-shadow: 0 15px 30px rgba(251, 146, 60, 0.18) !important;
}

#authModal.reference-auth-modal .auth-reference-submit *,
#authModal.reference-auth-modal .auth-code-send *,
#forgotModal.reference-auth-modal .auth-reference-submit *,
#forgotModal.reference-auth-modal #forgot-send-btn * {
    color: inherit !important;
}

#authModal.reference-auth-modal .auth-reference-link,
#authModal.reference-auth-modal .auth-reference-switch #switch-btn,
#forgotModal.reference-auth-modal .forgot-back-btn {
    color: #f97316 !important;
}

.reference-homepage .reference-forgot-card {
    padding: 32px;
    max-width: 384px;
    border-radius: 40px;
}

.reference-homepage .forgot-step {
    display: grid;
    gap: 18px;
}

.reference-homepage .forgot-step.hidden {
    display: none;
}

.reference-homepage .forgot-step-head {
    text-align: center;
}

.reference-homepage .forgot-step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #ffedd5;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.reference-homepage .forgot-step-head h3 {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 900;
}

.reference-homepage .forgot-step-head p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.reference-homepage .forgot-back-btn {
    justify-self: center;
    color: #9ca3af;
}

@media (max-width: 520px) {
    .reference-homepage .reference-auth-modal.modal {
        padding: 14px;
    }

    .reference-homepage #authModal .auth-reference-body {
        padding: 32px 24px;
    }

    .reference-homepage .auth-reference-icon {
        width: 68px;
        height: 68px;
        border-radius: 20px;
        font-size: 26px;
    }

    .reference-homepage .auth-reference-head h3 {
        font-size: 26px;
    }

    .reference-homepage .reference-forgot-card {
        padding: 28px 22px;
        border-radius: 30px;
    }
}

/* Orange-white site shell */
.site-topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-topbar .site-brand-lockup.site-image-brand,
.reference-homepage .reference-header-brand {
    width: clamp(224px, 18vw, 310px);
    height: 72px;
    min-height: 72px;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
}

.site-topbar .site-brand-lockup.site-image-brand .site-header-logo,
.reference-homepage .reference-header-logo {
    height: 70px;
    object-fit: contain;
    object-position: left center;
}

.site-topbar .site-primary-nav .nav-link,
.reference-homepage .site-primary-nav .nav-link {
    color: #111827 !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 6px 0 !important;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.site-topbar .site-primary-nav .nav-link:hover,
.site-topbar .site-primary-nav .nav-link-active,
.reference-homepage .site-primary-nav .nav-link:hover,
.reference-homepage .site-primary-nav .nav-link-active,
.reference-homepage .site-primary-nav .text-brand-600 {
    color: #f97316 !important;
}

.site-topbar .mobile-menu-trigger {
    color: #111827;
}

.site-topbar .mobile-menu-trigger:hover {
    background: #fff7ed;
    color: #ea580c;
}

body.orange-white-page,
html[data-theme="dark"] body.orange-white-page {
    background:
        linear-gradient(180deg, #ffffff 0%, #fff7ed 48%, #ffffff 100%) !important;
    color: #111827 !important;
}

body.orange-white-page::before,
body.orange-white-page::after {
    background: rgba(249, 115, 22, 0.18) !important;
}

body.orange-white-page main {
    color: #111827;
}

body.orange-white-page [class*="bg-slate-950"],
body.orange-white-page [class*="bg-slate-900"],
body.orange-white-page [class*="bg-slate-800"] {
    background: #ffffff !important;
}

body.orange-white-page [class*="bg-blue"],
body.orange-white-page [class*="bg-cyan"],
body.orange-white-page [class*="bg-sky"],
body.orange-white-page [class*="bg-emerald"],
body.orange-white-page [class*="bg-violet"],
body.orange-white-page [class*="bg-rose"] {
    background-color: #fff7ed !important;
}

body.orange-white-page [class*="bg-gradient"] {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 54%, #ffedd5 100%) !important;
}

body.orange-white-page [class*="border-slate-800"],
body.orange-white-page [class*="border-blue"],
body.orange-white-page [class*="border-cyan"],
body.orange-white-page [class*="border-sky"],
body.orange-white-page [class*="border-white"] {
    border-color: #fed7aa !important;
}

body.orange-white-page [class*="shadow-slate"],
body.orange-white-page [class*="shadow-["] {
    box-shadow: 0 18px 50px rgba(154, 52, 18, 0.10) !important;
}

body.orange-white-page .panel,
body.orange-white-page .profile-page-panel,
body.orange-white-page .blog-card,
body.orange-white-page .blog-article-card,
body.orange-white-page .mobile-toc-panel,
body.orange-white-page .modal-card,
body.orange-white-page .recharge-modal-card,
body.orange-white-page .rules-modal-card,
body.orange-white-page .profile-modal-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #fed7aa !important;
    color: #111827 !important;
    box-shadow: 0 20px 56px rgba(154, 52, 18, 0.10) !important;
}

body.orange-white-page .panel:hover,
body.orange-white-page .blog-card:hover {
    border-color: #fb923c !important;
    box-shadow: 0 24px 64px rgba(249, 115, 22, 0.16) !important;
}

body.orange-white-page .text-white,
body.orange-white-page .text-slate-50,
body.orange-white-page .text-slate-100,
body.orange-white-page .text-slate-200 {
    color: #111827 !important;
}

body.orange-white-page .text-slate-300,
body.orange-white-page .text-slate-400,
body.orange-white-page .text-slate-500,
body.orange-white-page .text-blue-50,
body.orange-white-page [class*="text-blue"],
body.orange-white-page [class*="text-cyan"],
body.orange-white-page [class*="text-sky"],
body.orange-white-page [class*="text-emerald"],
body.orange-white-page [class*="text-violet"],
body.orange-white-page [class*="text-rose"] {
    color: #ea580c !important;
}

body.orange-white-page p,
body.orange-white-page li,
body.orange-white-page .article-section,
body.orange-white-page .blog-article-content,
body.orange-white-page .history-table th,
body.orange-white-page .history-table td {
    color: #475569 !important;
}

body.orange-white-page h1,
body.orange-white-page h2,
body.orange-white-page h3,
body.orange-white-page .panel-title,
body.orange-white-page .faq-question,
body.orange-white-page .blog-article-content h2,
body.orange-white-page .blog-article-content h3 {
    color: #111827 !important;
}

body.orange-white-page .btn-primary,
body.orange-white-page .auth-reference-submit {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    border-color: #f97316 !important;
    color: #ffffff !important;
}

body.orange-white-page .btn-secondary,
body.orange-white-page .topup-filter,
body.orange-white-page .blog-article-toc-link,
body.orange-white-page .mobile-link {
    background: #ffffff !important;
    border-color: #fed7aa !important;
    color: #1f2937 !important;
}

body.orange-white-page .btn-secondary:hover,
body.orange-white-page .topup-filter:hover,
body.orange-white-page .topup-filter.is-active,
body.orange-white-page .blog-article-toc-link:hover,
body.orange-white-page .blog-article-toc-link.active,
body.orange-white-page .mobile-link:hover,
body.orange-white-page .mobile-link.nav-link-active {
    background: #fff7ed !important;
    border-color: #fb923c !important;
    color: #ea580c !important;
}

body.orange-white-page .history-table {
    background: #ffffff !important;
    border-color: #fed7aa !important;
}

body.orange-white-page .history-table th {
    background: #fff7ed !important;
    color: #9a3412 !important;
}

body.orange-white-page .history-table td {
    border-color: #ffedd5 !important;
}

body.orange-white-page .mobile-drawer-panel {
    width: min(320px, calc(100vw - 28px));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.96)) !important;
    border-color: #fed7aa !important;
    border-radius: 0 24px 24px 0;
    padding: 14px;
    color: #111827 !important;
    box-shadow: 18px 0 52px rgba(15, 23, 42, 0.20) !important;
}

body.orange-white-page .mobile-drawer-head {
    margin-bottom: 4px;
}

body.orange-white-page .mobile-drawer-brand {
    width: 160px;
    min-height: 52px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

body.orange-white-page .mobile-drawer-brand .site-header-logo {
    width: 150px;
    height: auto;
}

body.orange-white-page .mobile-link {
    min-height: 40px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
    background: #ffffff !important;
    border: 1px solid #fdba74 !important;
    color: #1f2937 !important;
    box-shadow: 0 8px 22px rgba(154, 52, 18, 0.06);
}

body.orange-white-page .mobile-menu-controls {
    gap: 14px;
    padding-top: 6px;
}

body.orange-white-page .mobile-menu-section-title {
    color: #64748b;
    font-weight: 900;
}

body.orange-white-page .mobile-menu-chip,
body.orange-white-page .mobile-menu-action {
    border-color: #fdba74 !important;
    background: #ffffff !important;
    color: #c2410c !important;
}

body.orange-white-page .mobile-menu-chip.is-active,
body.orange-white-page .mobile-menu-action-primary {
    background: #fff7ed !important;
    border-color: #fb923c !important;
    color: #ea580c !important;
}

body.orange-white-page .nav-right-container,
body.orange-white-page .nav-user-tools {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

body.orange-white-page .nav-mobile-guest {
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

body.orange-white-page #nav-auth-section .lang-trigger {
    height: 48px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    background: #fff7ed !important;
    border: 1px solid #fdba74 !important;
    color: #c2410c !important;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
}

body.orange-white-page .lang-flag-chip {
    background: #ffedd5 !important;
    color: #f97316 !important;
    font-weight: 900;
}

body.orange-white-page .nav-auth-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    min-height: 48px;
    min-width: 92px;
    padding: 0 24px;
    border-radius: 14px;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

body.orange-white-page .nav-auth-login {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

body.orange-white-page .nav-auth-register {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

body.orange-white-page .dropdown-menu,
body.orange-white-page .lang-dropdown-menu,
body.orange-white-page #langDropdownMenu {
    background: #ffffff !important;
    border-color: #fed7aa !important;
    color: #111827 !important;
    box-shadow: 0 18px 42px rgba(154, 52, 18, 0.14);
}

body.orange-white-page .menu-item {
    color: #1f2937 !important;
}

body.orange-white-page .menu-item:hover {
    background: #fff7ed !important;
    color: #ea580c !important;
}

body.orange-white-page .site-footer {
    background: #ffffff !important;
    border-top: 1px solid #fed7aa !important;
    color: #475569 !important;
}

body.orange-white-page .site-footer-link,
body.orange-white-page .site-footer-copy {
    color: #64748b !important;
}

body.orange-white-page .site-footer-link:hover {
    color: #ea580c !important;
}

body.orange-white-page .site-footer-social {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #ea580c !important;
}

body.orange-white-page .site-footer-social:hover {
    background: #ffedd5 !important;
    border-color: #fb923c !important;
    color: #c2410c !important;
}

body.orange-white-page .site-footer-social-telegram .site-footer-social-icon circle {
    fill: #f97316 !important;
}

body.orange-white-page .site-footer-brand-mark {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    box-shadow: none !important;
}

body.orange-white-page .site-footer-brand-head {
    min-height: 58px;
}

body.orange-white-page .site-footer-logo {
    display: block;
    width: min(260px, 64vw);
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

body.orange-white-page .site-footer-brand-word-bridge,
body.orange-white-page .site-footer-brand-word-sms {
    color: #1f2937 !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 768px) {
    .site-topbar .site-brand-lockup.site-image-brand,
    .reference-homepage .reference-header-brand {
        width: clamp(190px, 58vw, 250px);
        height: 64px;
        min-height: 64px;
    }

    .site-topbar .site-brand-lockup.site-image-brand .site-header-logo,
    .reference-homepage .reference-header-logo {
        height: 60px;
    }
}

/* Unified orange/white header and footer across homepage and content pages. */
.site-topbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-topbar > div {
    height: 104px !important;
    gap: 28px !important;
}

.site-topbar .site-brand-lockup.site-image-brand,
.reference-homepage .reference-header-brand {
    width: 270px !important;
    height: 78px !important;
    min-height: 78px !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.site-topbar .site-brand-lockup.site-image-brand .site-header-logo,
.reference-homepage .reference-header-logo {
    width: 100% !important;
    height: 78px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.site-topbar .site-primary-nav {
    gap: 40px !important;
    margin-left: 32px !important;
}

.site-topbar .site-primary-nav a,
.site-topbar .site-primary-nav .nav-link,
.reference-homepage .site-primary-nav a,
.reference-homepage .site-primary-nav .nav-link {
    color: #111827 !important;
    background: transparent !important;
    padding: 8px 0 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
}

.site-topbar .site-primary-nav a:hover,
.site-topbar .site-primary-nav .nav-link:hover,
.site-topbar .site-primary-nav .nav-link-active,
.reference-homepage .site-primary-nav a:hover,
.reference-homepage .site-primary-nav .text-brand-600 {
    color: #f97316 !important;
}

.reference-homepage #nav-auth-section {
    margin-right: 0 !important;
}

.homepage-shell {
    padding-top: 128px !important;
}

.site-footer {
    width: min(1840px, calc(100% - 96px)) !important;
    max-width: none !important;
    margin: 64px auto 0 !important;
    padding: 0 0 34px !important;
    background: transparent !important;
    border: 0 !important;
}

.site-footer-inner {
    min-height: 178px;
    display: grid;
    grid-template-columns: minmax(340px, 1fr) auto auto;
    align-items: center;
    gap: 44px;
    padding: 34px 28px !important;
    border: 1px solid #fdba74 !important;
    border-radius: 34px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        0 1px 0 rgba(249, 115, 22, 0.08),
        0 24px 60px rgba(15, 23, 42, 0.08) !important;
}

.site-footer-brand {
    gap: 14px !important;
}

.site-footer-brand-head {
    min-height: 70px !important;
}

.site-footer-logo {
    width: 300px !important;
    height: 76px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.site-footer-copy {
    max-width: 560px !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.site-footer-links {
    gap: 44px !important;
}

.site-footer-link {
    color: #64748b !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.site-footer-link:hover {
    color: #f97316 !important;
}

.site-footer-socials {
    gap: 28px !important;
}

.site-footer-social {
    width: 68px !important;
    height: 68px !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    color: #f97316 !important;
    box-shadow: 0 14px 28px rgba(154, 52, 18, 0.14) !important;
}

.site-footer-social:hover {
    background: #ffedd5 !important;
    border-color: #fb923c !important;
    transform: translateY(-2px);
}

.site-footer-social-icon {
    width: 32px !important;
    height: 32px !important;
}

@media (max-width: 1180px) {
    .site-topbar .site-brand-lockup.site-image-brand,
    .reference-homepage .reference-header-brand {
        width: 230px !important;
    }

    .site-topbar .site-primary-nav {
        gap: 24px !important;
        margin-left: 18px !important;
    }

    .site-topbar .site-primary-nav a,
    .site-topbar .site-primary-nav .nav-link,
    .reference-homepage .site-primary-nav a {
        font-size: 16px !important;
    }
}

@media (max-width: 900px) {
    .site-footer {
        width: min(100% - 28px, 560px) !important;
        margin-top: 44px !important;
        padding-bottom: 24px !important;
    }

    .site-footer-inner {
        grid-template-columns: 1fr !important;
        justify-items: center;
        text-align: center;
        gap: 22px !important;
        padding: 26px 18px !important;
        border-radius: 26px !important;
    }

    .site-footer-brand {
        justify-items: center !important;
    }

    .site-footer-logo {
        width: min(280px, 76vw) !important;
        object-position: center !important;
    }

    .site-footer-copy {
        font-size: 13px !important;
        text-align: center !important;
    }

    .site-footer-links {
        gap: 18px !important;
    }

    .site-footer-link {
        font-size: 15px !important;
    }

    .site-footer-social {
        width: 54px !important;
        height: 54px !important;
    }
}

@media (max-width: 768px) {
    .site-topbar > div {
        height: 88px !important;
        gap: 8px !important;
    }

    .site-topbar .mobile-menu-trigger {
        display: inline-flex !important;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid #fed7aa !important;
        border-radius: 999px !important;
        background: #fff7ed !important;
        color: #ea580c !important;
    }

    .site-topbar .site-brand-lockup.site-image-brand,
    .reference-homepage .reference-header-brand {
        width: clamp(176px, 54vw, 240px) !important;
        height: 62px !important;
        min-height: 62px !important;
        flex: 1 1 auto !important;
    }

    .site-topbar .site-brand-lockup.site-image-brand .site-header-logo,
    .reference-homepage .reference-header-logo {
        height: 62px !important;
    }

    .homepage-shell {
        padding-top: 104px !important;
    }
}

/* Final mobile overrides must remain after the legacy homepage rules above. */
@media (max-width: 640px) {
    .reference-homepage {
        overflow-x: clip;
    }

    .reference-homepage .homepage-shell,
    .reference-homepage .homepage-sidebar,
    .reference-homepage .apps-panel,
    .reference-homepage .purchase-workspace-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .reference-homepage .site-topbar > div {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 54px !important;
        grid-template-rows: 72px !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 88px !important;
        height: 88px !important;
        padding: 8px 12px !important;
    }

    .reference-homepage .site-topbar .mobile-menu-trigger {
        grid-column: 1;
        grid-row: 1;
        width: 44px !important;
        height: 44px !important;
    }

    .reference-homepage .reference-header-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center !important;
        width: min(210px, 100%) !important;
        height: 56px !important;
        min-height: 56px !important;
    }

    .reference-homepage .reference-header-logo {
        width: 100% !important;
        height: 52px !important;
        object-position: center !important;
    }

    .reference-homepage #nav-auth-section {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        width: 54px !important;
        max-width: 54px !important;
        overflow: visible;
    }

    .reference-homepage #nav-auth-section .nav-mobile-guest,
    .reference-homepage #nav-auth-section .nav-user-tools {
        justify-content: flex-end;
    }

    .reference-homepage #nav-auth-section .lang-trigger {
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        padding: 0 7px !important;
        border-radius: 15px !important;
    }

    .reference-homepage #nav-auth-section .lang-trigger-label,
    .reference-homepage #nav-auth-section .chevron-icon {
        display: none !important;
    }

    .reference-homepage .homepage-shell {
        padding-top: 104px !important;
    }

    .reference-homepage .mobile-drawer {
        top: 88px !important;
    }

    .reference-homepage .apps-panel > div:nth-child(2) {
        flex-direction: column;
        align-items: stretch;
        gap: 9px !important;
    }

    .reference-homepage .apps-panel > div:nth-child(2) > .flex {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .reference-homepage .apps-panel > div:nth-child(2) > .flex button {
        width: 100%;
        min-height: 38px;
        padding-inline: 6px !important;
    }

    .reference-homepage .apps-panel {
        height: auto !important;
        max-height: none !important;
    }

    .reference-homepage .apps-list-scroll {
        overflow: visible !important;
        padding: 12px !important;
    }

    .reference-homepage #apps-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .reference-homepage #apps-list .service-btn,
    .reference-homepage #apps-list .app-row {
        min-height: 58px !important;
        padding: 9px 10px !important;
        gap: 9px !important;
        border-radius: 13px !important;
    }

    .reference-homepage #apps-list .service-btn img,
    .reference-homepage #apps-list .app-row img {
        width: 30px !important;
        height: 30px !important;
    }

    .reference-homepage .service-btn-name {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal !important;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px !important;
        line-height: 1.2 !important;
        overflow-wrap: anywhere;
    }

    .reference-homepage .reference-country-summary {
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 5px 10px !important;
        min-height: 72px;
        padding: 10px 8px !important;
    }

    .reference-homepage .reference-country-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    .reference-homepage .reference-country-stock {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-left: 61px;
        white-space: normal;
    }

    .reference-homepage .reference-country-price {
        grid-column: 2;
        grid-row: 1;
        min-width: 86px;
        min-height: 42px;
    }
}

/* Keep the active task compact; these final declarations override legacy sizing. */
.reference-homepage #active-order-section {
    min-height: 540px;
}

@media (max-width: 700px) {
    .reference-homepage #active-order-section {
        min-height: 610px;
    }
}

.reference-homepage .reference-country-card {
    border-radius: 14px;
    scroll-margin-top: 104px;
    transition: box-shadow .22s ease, background-color .22s ease;
}

.reference-homepage .reference-country-card.is-reference-target {
    background: #fffaf5;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, .36), 0 12px 28px rgba(249, 115, 22, .12);
}

.reference-homepage .reference-country-card.is-reference-target .reference-country-offers {
    border-color: #fed7aa !important;
    background: #fffaf5 !important;
}
