: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;
}

* {
    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: 12px;
}

.site-brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 13px;
    border: 1px solid rgba(120, 160, 255, 0.22);
    background: linear-gradient(180deg, rgba(72, 100, 188, 0.24), rgba(20, 32, 70, 0.14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(26, 52, 130, 0.18);
}

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

.site-brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.02em;
}

.site-brand-wordmark-turbo {
    font-size: 27px;
    font-weight: 800;
    font-style: italic;
    color: transparent;
    background: linear-gradient(90deg, #c7ddff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
}

.site-brand-wordmark-sms {
    font-size: 27px;
    font-weight: 800;
    color: #f8fafc;
}

.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;
}

@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: auto !important;
    max-width: 100% !important;
}

.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(280px, 85%);
    height: 100%;
    background: #0f172a;
    border-right: 1px solid rgba(51, 65, 85, 0.9);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.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;
}

.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-turbo,
    .site-brand-wordmark-sms {
        font-size: 20px;
    }

    .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;
    }
}

@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;
    }

    #nav-auth-section .nav-mobile-guest .nav-guest-login {
        display: none;
    }

    .site-brand-wordmark-turbo,
    .site-brand-wordmark-sms {
        font-size: 18px;
    }
}

@media (max-width: 440px) {
    #nav-auth-section .nav-mobile-guest .nav-guest-register {
        display: none;
    }

    .site-brand-wordmark-turbo,
    .site-brand-wordmark-sms {
        font-size: 17px;
    }

    .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: 12px;
}

.site-footer-brand-mark {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    border: 1px solid rgba(120, 160, 255, 0.2);
    background: linear-gradient(180deg, rgba(72, 100, 188, 0.2), rgba(20, 32, 70, 0.12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(26, 52, 130, 0.14);
}

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

.site-footer-brand-word {
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.02em;
}

.site-footer-brand-word-turbo {
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    color: transparent;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
}

.site-footer-brand-word-sms {
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
}

.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-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    filter: blur(64px);
    transform: translate(-42%, -48%);
    pointer-events: none;
}

.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;
    }
}
