.app-root {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(145deg, #0a0b0f 0%, #05060a 50%, #030405 100%);
    color: #f0f0f0;
}

.grid-overlay {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.02;
}

.screen-glow {
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(150px);
    z-index: 0;
}

.glow-main {
    width: 600px;
    height: 600px;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
    background: radial-gradient(circle, #b400ff 0%, #0abab5 50%, transparent 100%);
}

.glow-side {
    width: 420px;
    height: 420px;
    right: -4%;
    bottom: 6%;
    opacity: 0.08;
    background: radial-gradient(circle, #0abab5 0%, transparent 75%);
}

.content-layer {
    position: relative;
    z-index: 10;
}

.glass-card {
    background: rgba(20, 22, 27, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.thunderr-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.thunderr-logo-mark {
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #b400ff, #00ffff);
    box-shadow: 0 0 20px rgba(180, 0, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.15);
}

.thunderr-logo.small .thunderr-logo-mark {
    width: 28px;
    height: 28px;
}

.thunderr-logo.default .thunderr-logo-mark {
    width: 36px;
    height: 36px;
}

.thunderr-logo.large .thunderr-logo-mark {
    width: 48px;
    height: 48px;
}

.thunderr-logo.small .thunderr-logo-word {
    font-size: 16px;
}

.thunderr-logo.default .thunderr-logo-word {
    font-size: 20px;
}

.thunderr-logo.large .thunderr-logo-word {
    font-size: 28px;
}

.thunderr-logo.small .thunderr-logo-mark .icon {
    width: 14px;
    height: 14px;
}

.thunderr-logo.default .thunderr-logo-mark .icon {
    width: 18px;
    height: 18px;
}

.thunderr-logo.large .thunderr-logo-mark .icon {
    width: 24px;
    height: 24px;
}

.thunderr-logo-word {
    display: inline-flex;
    align-items: baseline;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-accent {
    color: #b400ff;
}

.icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.icon.solid-dark {
    color: #0a0b0f;
}

.public-topbar {
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-link {
    color: #a0a4ab;
    font-size: 14px;
    font-weight: 400;
}

.public-shell {
    min-height: calc(100vh - 88px);
    padding: 0 32px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.public-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 999px;
    opacity: 0.15;
    filter: blur(150px);
    background: radial-gradient(circle, #b400ff 0%, #0abab5 50%, transparent 100%);
}

.auth-card {
    width: min(448px, 100%);
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.feature-pill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(180, 0, 255, 0.08);
    border: 1px solid rgba(180, 0, 255, 0.2);
    color: #b400ff;
    font-size: 11px;
    font-weight: 500;
}

.auth-subtitle {
    margin: 0 0 6px;
    color: #a0a4ab;
    font-size: 15px;
    font-weight: 400;
}

.auth-helper {
    margin: 0 0 28px;
    color: #6b6f76;
    font-size: 12px;
    font-weight: 400;
}

.page-title,
.card-title,
.display-title {
    margin: 0;
    color: #fff;
    letter-spacing: -0.03em;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
}

.display-title {
    font-size: 32px;
    font-weight: 800;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
}

.page-description,
.body-copy {
    color: #a0a4ab;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.helper-copy {
    color: #6b6f76;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.tiny-copy,
.meta-copy {
    color: #6b6f76;
    font-size: 12px;
    font-weight: 400;
}

.section-label {
    color: #4a4d55;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.discord-button,
.primary-button,
.secondary-button,
.danger-button,
.soft-button,
.mini-button,
.copy-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.primary-button {
    min-height: 54px;
    padding: 0 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #b400ff, #0abab5);
    box-shadow: 0 0 30px rgba(180, 0, 255, 0.25), 0 0 60px rgba(0, 255, 255, 0.1);
}

.discord-button {
    min-height: 54px;
    padding: 0 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    background: #5865f2;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
}

.secondary-button,
.soft-button,
.copy-button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0a4ab;
}

.soft-button {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(180, 0, 255, 0.15);
    border-color: rgba(180, 0, 255, 0.3);
}

.danger-button {
    min-height: 54px;
    padding: 0 18px;
    color: #ff4d4d;
    font-size: 15px;
    font-weight: 600;
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.mini-button,
.copy-button,
.text-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
}

.text-button {
    background: transparent;
    color: #6b6f76;
}

.full-width {
    width: 100%;
}

.auth-footer-url {
    margin-top: 18px;
    color: #6b6f76;
    font-size: 11px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.alert-danger {
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.alert-success {
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.2);
    color: #00ffaa;
}

.app-shell {
    min-height: 100vh;
    display: flex;
}

.app-sidebar {
    width: 256px;
    flex: 0 0 256px;
    min-height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    padding: 20px 0 16px;
    background: rgba(10, 11, 15, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-logo-wrap {
    padding: 0 20px 24px;
}

.sidebar-user-wrap,
.sidebar-balance-wrap {
    padding: 0 16px 20px;
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-avatar,
.sidebar-avatar-fallback {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.sidebar-avatar {
    object-fit: cover;
}

.sidebar-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #5865f2, #b400ff);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.sidebar-user-copy {
    min-width: 0;
}

.sidebar-user-name {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-tag,
.sidebar-user-id {
    display: block;
    color: #6b6f76;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-balance-card {
    padding: 12px;
    border-radius: 12px;
    background: rgba(10, 186, 181, 0.08);
    border: 1px solid rgba(10, 186, 181, 0.15);
}

.sidebar-balance-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #0abab5;
}

.sidebar-balance-value {
    color: #0abab5;
    font-size: 14px;
    font-weight: 700;
}

.sidebar-balance-label {
    color: #6b6f76;
    font-size: 11px;
}

.sidebar-nav {
    flex: 1;
    padding: 0 12px;
}

.sidebar-section {
    margin-bottom: 14px;
}

.sidebar-section-label {
    display: block;
    padding: 0 12px;
    margin-bottom: 8px;
    color: #4a4d55;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #a0a4ab;
    font-size: 13px;
    font-weight: 400;
    background: transparent;
}

.nav-link.active {
    background: rgba(180, 0, 255, 0.1);
    border-color: rgba(180, 0, 255, 0.2);
    color: #fff;
    font-weight: 600;
}

.sidebar-logout {
    margin-top: auto;
    padding: 0 16px;
}

.logout-button {
    width: 100%;
    justify-content: flex-start;
    background: transparent;
    color: #ff4d4d;
    font-size: 13px;
    font-weight: 500;
}

.app-main {
    flex: 1;
    min-width: 0;
    overflow: auto;
}

.page-shell {
    padding: 32px;
}

.page-header {
    margin-bottom: 32px;
}

.page-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.page-header-icon {
    color: #b400ff;
}

.page-header-description {
    margin: 0;
    color: #6b6f76;
    font-size: 14px;
    line-height: 1.6;
}

.input-field {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f0f0f0;
    font-size: 14px;
}

.input-field:focus {
    border-color: rgba(180, 0, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(180, 0, 255, 0.28);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 32px;
    max-width: 1120px;
}

.dashboard-side {
    padding-top: 16px;
}

.dashboard-hero {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.dashboard-hero .hero-main {
    color: #fff;
}

.dashboard-hero .hero-accent {
    color: #b400ff;
}

.dashboard-hero .hero-teal {
    color: #0abab5;
}

.dashboard-subtitle {
    margin: 0 0 6px;
    color: #a0a4ab;
    font-size: 15px;
}

.dashboard-helper {
    margin: 0 0 24px;
    color: #6b6f76;
    font-size: 13px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    gap: 12px;
}

.feature-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(180, 0, 255, 0.08);
    color: #b400ff;
    flex: 0 0 auto;
}

.feature-item-title {
    margin: 0 0 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.feature-item-copy {
    margin: 0;
    color: #6b6f76;
    font-size: 12px;
    line-height: 1.5;
}

.pricing-card {
    padding: 16px;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pricing-row + .pricing-row {
    margin-top: 14px;
}

.pricing-name {
    color: #6b6f76;
    font-size: 13px;
}

.pricing-value {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.pricing-value.online {
    color: #00ffaa;
}

.pricing-value span {
    color: #6b6f76;
    font-weight: 400;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #a0a4ab;
    font-size: 13px;
    font-weight: 500;
}

.stock-line {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
}

.stock-line-label {
    color: #a0a4ab;
}

.stock-line-offline {
    color: #6b6f76;
}

.stock-line-online {
    color: #00ffaa;
}


.stock-line-callout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 186, 181, 0.12);
    border: 1px solid rgba(10, 186, 181, 0.18);
    color: #9ef7e9;
    font-weight: 600;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.type-button {
    min-height: 70px;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #6b6f76;
}

.type-button-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.type-button-sub {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.7;
}

.type-button.active.offline {
    background: rgba(107, 111, 118, 0.15);
    border-color: rgba(107, 111, 118, 0.3);
    color: #f0f0f0;
}

.type-button.active.online {
    background: rgba(0, 255, 170, 0.08);
    border-color: rgba(0, 255, 170, 0.25);
    color: #00ffaa;
}

.cost-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.cost-bar-label {
    color: #a0a4ab;
    font-size: 13px;
}

.cost-bar-value {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.cost-meta-grid,
.status-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.status-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.cost-meta-card,
.status-stat-card {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.cost-meta-value,
.status-stat-value {
    margin-top: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.topup-shell,
.orders-shell,
.wallet-shell,
.credit-shell {
    max-width: 960px;
}

.topup-shell {
    max-width: 760px;
}

.topup-steps {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.step-pill {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #6b6f76;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.step-pill.active {
    border-color: rgba(180, 0, 255, 0.22);
    background: rgba(180, 0, 255, 0.1);
    color: #fff;
}

.topup-card-stack,
.orders-list,
.wallet-list,
.credit-list,
.log-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bonus-offer-shell {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.bonus-offer-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.bonus-offer-title {
    margin: 4px 0 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
    max-width: 56ch;
}

.bonus-offer-caption {
    color: #8a909a;
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.bonus-offer-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(182px, 1fr));
    gap: 12px;
}

.bonus-offer-card {
    position: relative;
    width: 100%;
    min-height: 186px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(24, 27, 35, 0.98), rgba(11, 14, 21, 0.96));
    display: grid;
    gap: 12px;
    text-align: left;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.bonus-offer-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(124, 255, 178, 0.78), rgba(64, 214, 255, 0.72));
    opacity: 0.2;
    transition: opacity 160ms ease;
}

.bonus-offer-card:hover,
.bonus-offer-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(124, 255, 178, 0.34);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    outline: none;
}

.bonus-offer-card:hover::before,
.bonus-offer-card:focus-visible::before {
    opacity: 0.92;
}

.bonus-offer-card.featured {
    border-color: rgba(246, 190, 76, 0.24);
    background: linear-gradient(180deg, rgba(82, 58, 20, 0.34), rgba(11, 14, 21, 0.96));
}

.bonus-offer-card.is-current {
    border-color: rgba(124, 255, 178, 0.44);
    background: linear-gradient(180deg, rgba(24, 79, 57, 0.46), rgba(11, 14, 21, 0.98));
    box-shadow: 0 18px 38px rgba(10, 22, 18, 0.34);
}

.bonus-offer-card.is-current::before {
    opacity: 1;
}

.bonus-offer-card.is-past {
    border-color: rgba(124, 255, 178, 0.14);
}

.bonus-offer-card.is-next {
    border-color: rgba(64, 214, 255, 0.32);
    background: linear-gradient(180deg, rgba(16, 59, 74, 0.36), rgba(11, 14, 21, 0.96));
}

.bonus-offer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.bonus-offer-threshold {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ea4ad;
}

.bonus-offer-badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(246, 190, 76, 0.18);
    border: 1px solid rgba(246, 190, 76, 0.24);
    color: #ffe8b1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.bonus-offer-badge.muted {
    background: rgba(124, 255, 178, 0.12);
    border-color: rgba(124, 255, 178, 0.18);
    color: #c6ffde;
}

.bonus-offer-percent {
    font-size: clamp(1.85rem, 2.5vw, 2.35rem);
    font-weight: 800;
    line-height: 0.98;
    color: #7cffb2;
}

.bonus-offer-label {
    font-size: 14px;
    font-weight: 600;
    color: #f5f7fb;
}

.bonus-offer-credits {
    color: #d5dbe4;
    font-size: 13px;
    line-height: 1.45;
}

.bonus-offer-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
}

.bonus-offer-metric {
    display: grid;
    gap: 4px;
    padding: 10px 11px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
}

.bonus-offer-metric-label {
    color: #87909d;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bonus-offer-metric strong {
    color: #f8fbff;
    font-size: 13px;
    font-weight: 700;
}

.bonus-offer-footer {
    color: #8d95a2;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.preset-button,
.filter-pill {
    min-height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #a0a4ab;
    font-size: 15px;
    font-weight: 500;
}

.preset-button.active {
    background: rgba(180, 0, 255, 0.12);
    border-color: rgba(180, 0, 255, 0.3);
    color: #fff;
    font-weight: 700;
}

.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method {
    width: 100%;
    min-height: 62px;
    padding: 0 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-method.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--method-border, rgba(180, 0, 255, 0.25));
}

.payment-method-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-method-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--method-soft, rgba(255, 255, 255, 0.08));
    color: var(--method-color, #b400ff);
}

.payment-method-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.payment-method-code {
    color: #6b6f76;
    font-size: 12px;
}

.payment-method-check {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: transparent;
    color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-method.active .payment-method-check {
    background: var(--method-color, #b400ff);
    color: #0a0b0f;
    border-color: transparent;
}

.summary-card {
    padding: 16px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.summary-row + .summary-row {
    margin-top: 12px;
}

.summary-label {
    color: #a0a4ab;
    font-size: 13px;
}

.summary-value {
    color: #0abab5;
    font-size: 18px;
    font-weight: 700;
}

.pay-stage-card,
.done-stage-card {
    text-align: center;
}

.back-link {
    color: #6b6f76;
    font-size: 13px;
}

.pay-amount-label {
    color: #a0a4ab;
    font-size: 13px;
}

.pay-amount-value {
    margin: 10px 0 6px;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.pay-address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-address-value {
    flex: 1;
    text-align: left;
    color: #0abab5;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(180, 0, 255, 0.06);
    border: 1px solid rgba(180, 0, 255, 0.15);
    color: #a0a4ab;
    font-size: 13px;
}

.provider-accent {
    color: #b400ff;
}

.success-glow-card-wrap {
    min-height: calc(100vh - 64px);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.success-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 999px;
    opacity: 0.1;
    filter: blur(120px);
    background: radial-gradient(circle, #00ffaa, transparent);
    pointer-events: none;
    z-index: 0;
}

.success-card {
    width: min(440px, 100%);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0, 255, 170, 0.1);
    border: 2px solid rgba(0, 255, 170, 0.3);
    color: #00ffaa;
    box-shadow: 0 0 40px rgba(0, 255, 170, 0.15);
}

.success-icon.small {
    width: 64px;
    height: 64px;
}

.countdown-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0;
    color: #f0f0f0;
}

.countdown-row.danger {
    color: #ff4d4d;
}

.countdown-time {
    font-size: 20px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.order-summary-list {
    margin: 20px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.order-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

.order-summary-row + .order-summary-row {
    margin-top: 10px;
}

.order-summary-key {
    color: #6b6f76;
}

.order-summary-value {
    color: #fff;
    font-weight: 600;
}

.orders-list {
    gap: 12px;
}

.order-card,
.wallet-card,
.credit-card,
.log-card,
.bot-card,
.stat-card {
    padding: 20px;
}

.order-card-top,
.wallet-card-row,
.credit-card-row,
.bot-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.order-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.order-id {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid transparent;
}

.status-pill .icon {
    width: 14px;
    height: 14px;
}

.status-pill.pending,
.status-pill.awaiting {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.19);
}

.status-pill.delivering,
.status-pill.active {
    color: #0abab5;
    background: rgba(10, 186, 181, 0.1);
    border-color: rgba(10, 186, 181, 0.19);
}

.status-pill.completed {
    color: #00ffaa;
    background: rgba(0, 255, 170, 0.1);
    border-color: rgba(0, 255, 170, 0.19);
}

.status-pill.partial {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.19);
}

.status-pill.refunded,
.status-pill.failed,
.status-pill.refund {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    border-color: rgba(255, 77, 77, 0.19);
}

.status-pill.cancelled,
.status-pill.system {
    color: #6b6f76;
    background: rgba(107, 111, 118, 0.1);
    border-color: rgba(107, 111, 118, 0.19);
}

.status-pill.order,
.status-pill.payment,
.status-pill.bot {
    color: #b400ff;
    background: rgba(180, 0, 255, 0.1);
    border-color: rgba(180, 0, 255, 0.19);
}

.order-meta-line {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #6b6f76;
    font-size: 12px;
}

.order-meta-line .mono {
    color: #a0a4ab;
}

.order-side-meta {
    text-align: right;
    color: #6b6f76;
    font-size: 11px;
}

.progress-wrap {
    margin-top: 16px;
}

.progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6b6f76;
    font-size: 11px;
}

.progress-top .accent {
    color: #0abab5;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #b400ff, #0abab5);
    box-shadow: 0 0 10px rgba(180, 0, 255, 0.4);
}

.orders-empty {
    text-align: center;
    padding: 64px 24px;
}

.orders-empty .icon {
    width: 48px;
    height: 48px;
    color: #6b6f76;
    margin-bottom: 12px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.stat-label {
    color: #6b6f76;
    font-size: 12px;
    font-weight: 500;
}

.stat-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
}

.stat-icon-box.purple { background: rgba(180, 0, 255, 0.15); color: #b400ff; }
.stat-icon-box.teal { background: rgba(10, 186, 181, 0.15); color: #0abab5; }
.stat-icon-box.green { background: rgba(0, 255, 170, 0.15); color: #00ffaa; }
.stat-icon-box.amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.stat-value {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table th {
    padding: 0 0 12px;
    text-align: left;
    color: #6b6f76;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table td {
    padding: 14px 0;
    color: #a0a4ab;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.table-order,
.table-cost {
    color: #fff;
    font-weight: 500;
}

.timeline-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 4px;
}

.timeline-item {
    display: flex;
    gap: 12px;
}

.timeline-item + .timeline-item {
    margin-top: 16px;
}

.timeline-bar {
    width: 6px;
    min-height: 32px;
    margin-top: 2px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.timeline-bar.order { background: #0abab5; }
.timeline-bar.payment { background: #b400ff; }
.timeline-bar.bot { background: #f59e0b; }
.timeline-bar.system { background: #6b6f76; }
.timeline-bar.refund { background: #ff4d4d; }

.timeline-message {
    color: #a0a4ab;
    font-size: 12px;
    line-height: 1.5;
}

.timeline-meta {
    margin-top: 4px;
    color: #4a4d55;
    font-size: 10px;
}

.pill-row,
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill-row {
    margin-bottom: 24px;
}

.summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.summary-pill.active {
    color: #00ffaa;
    background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.2);
}

.summary-pill.idle {
    color: #6b6f76;
    background: rgba(107, 111, 118, 0.08);
    border: 1px solid rgba(107, 111, 118, 0.2);
}

.summary-pill.error {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.bot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.bot-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.status-dot.active {
    background: #00ffaa;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

.status-dot.idle {
    background: #6b6f76;
}

.status-dot.error {
    background: #ff4d4d;
}

.bot-label {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.proxy-label,
.tokens-label {
    color: #4a4d55;
    font-size: 10px;
    font-weight: 500;
}

.proxy-address {
    margin-top: 4px;
    color: #a0a4ab;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bot-body-box {
    margin-top: 14px;
}

.bot-target {
    color: #4a4d55;
    font-size: 10px;
    font-weight: 500;
}

.bot-target-value {
    color: #a0a4ab;
    font-size: 10px;
}

.bot-count {
    margin-top: 10px;
    color: #00ffaa;
    font-size: 24px;
    font-weight: 700;
}

.bot-count span {
    color: #6b6f76;
    font-size: 12px;
    font-weight: 400;
}

.bot-error-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 77, 77, 0.06);
    border: 1px solid rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    font-size: 11px;
}

.bot-idle-copy {
    color: #4a4d55;
    font-size: 12px;
}

.bot-footer {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bot-footer-value {
    color: #6b6f76;
    font-size: 10px;
}

.gate-card {
    margin-bottom: 24px;
}

.gate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.gate-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gate-input-row {
    display: flex;
    gap: 12px;
}

.gate-input-row .input-field {
    flex: 1;
}

.status-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00ffaa;
    font-size: 12px;
    font-weight: 600;
}

.wallet-main,
.credit-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wallet-coin-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    flex: 0 0 auto;
}

.wallet-coin-box.enabled {
    background: rgba(180, 0, 255, 0.1);
    color: #b400ff;
}

.wallet-coin-box.disabled {
    background: rgba(107, 111, 118, 0.1);
    color: #6b6f76;
}

.wallet-title,
.credit-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.wallet-network,
.credit-subline {
    color: #6b6f76;
    font-size: 11px;
}

.wallet-address {
    margin-top: 6px;
    color: #6b6f76;
    font-size: 11px;
}

.wallet-disabled-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    font-size: 9px;
    font-weight: 600;
}

.wallet-balance-block,
.credit-balance-block {
    text-align: right;
}

.wallet-balance-label,
.credit-balance-label {
    color: #6b6f76;
    font-size: 10px;
}

.wallet-balance-value {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.credit-balance-value {
    color: #0abab5;
    font-size: 18px;
    font-weight: 700;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    position: relative;
    background: rgba(107, 111, 118, 0.2);
    border: 1px solid rgba(107, 111, 118, 0.2);
}

.toggle-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #6b6f76;
    transition: all 160ms ease;
}

.toggle-switch.active {
    background: rgba(0, 255, 170, 0.3);
    border-color: rgba(0, 255, 170, 0.2);
}

.toggle-switch.active::after {
    left: 24px;
    background: #00ffaa;
    box-shadow: 0 0 8px rgba(0, 255, 170, 0.5);
}

.filter-pill.active[data-filter="all"] { color: #b400ff; background: rgba(180, 0, 255, 0.1); border-color: rgba(180, 0, 255, 0.25); }
.filter-pill.active[data-filter="order"] { color: #0abab5; background: rgba(10, 186, 181, 0.1); border-color: rgba(10, 186, 181, 0.25); }
.filter-pill.active[data-filter="payment"] { color: #b400ff; background: rgba(180, 0, 255, 0.1); border-color: rgba(180, 0, 255, 0.25); }
.filter-pill.active[data-filter="bot"] { color: #f59e0b; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.25); }
.filter-pill.active[data-filter="system"] { color: #6b6f76; background: rgba(107, 111, 118, 0.1); border-color: rgba(107, 111, 118, 0.25); }
.filter-pill.active[data-filter="refund"] { color: #ff4d4d; background: rgba(255, 77, 77, 0.1); border-color: rgba(255, 77, 77, 0.25); }

.log-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.log-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    text-transform: capitalize;
}

.log-type-badge.order { color: #0abab5; background: rgba(10, 186, 181, 0.1); }
.log-type-badge.payment { color: #b400ff; background: rgba(180, 0, 255, 0.1); }
.log-type-badge.bot { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.log-type-badge.system { color: #6b6f76; background: rgba(107, 111, 118, 0.1); }
.log-type-badge.refund { color: #ff4d4d; background: rgba(255, 77, 77, 0.1); }

.log-content {
    flex: 1;
}

.log-message {
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.5;
}

.log-meta {
    margin-top: 6px;
    color: #4a4d55;
    font-size: 11px;
}

.search-wrap {
    position: relative;
    margin-bottom: 24px;
}

.search-wrap .icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b6f76;
}

.search-wrap .input-field {
    padding-left: 44px;
}

.credit-edit-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.action-toggle {
    display: inline-flex;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.action-toggle button {
    min-height: 38px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #6b6f76;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.action-toggle button.active-add {
    background: rgba(0, 255, 170, 0.1);
    color: #00ffaa;
}

.action-toggle button.active-remove {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

.credit-edit-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.credit-edit-row .input-field {
    width: 112px;
    min-height: 40px;
}

.apply-button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.apply-button.add-mode {
    color: #00ffaa;
    background: rgba(0, 255, 170, 0.2);
}

.apply-button.remove-mode {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.2);
}

.live-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1180px) {
    .dashboard-grid,
    .admin-grid,
    .live-status-grid {
        grid-template-columns: 1fr;
    }

    .bot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .app-shell {
        display: block;
    }

    .app-sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
    }

    .page-shell {
        padding: 20px;
    }

    .dashboard-grid,
    .type-grid,
    .cost-meta-grid,
    .status-stat-grid,
    .preset-grid,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .bonus-offer-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .public-topbar {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
    }

    .public-shell {
        padding: 0 16px 24px;
    }

    .auth-card,
    .success-card,
    .section-card {
        padding: 20px;
    }

    .public-nav,
    .topup-steps,
    .pill-row,
    .filter-bar,
    .stock-line,
    .gate-input-row,
    .wallet-card-row,
    .credit-card-row,
    .order-card-top,
    .bot-card-top,
    .bonus-offer-header {
        flex-direction: column;
        align-items: stretch;
    }

    .bonus-offer-caption {
        white-space: normal;
    }

    .bonus-offer-board {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(214px, 82vw);
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        padding: 2px 2px 8px;
        margin: 0 -2px;
        scrollbar-width: thin;
    }

    .bonus-offer-card {
        min-height: 170px;
        padding: 15px;
        scroll-snap-align: start;
    }

    .bonus-offer-percent {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .topup-shell .summary-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .topup-shell .summary-value {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 540px) {
    .bonus-offer-top {
        gap: 8px;
    }

    .bonus-offer-badge {
        padding: 3px 7px;
        font-size: 9px;
    }

    .bonus-offer-credits {
        font-size: 12px;
    }

    .bonus-offer-metrics {
        gap: 6px;
    }
}

@media (max-width: 720px) {
    .bot-grid {
        grid-template-columns: 1fr;
    }
}


.topup-shell {
    max-width: 700px;
}

.topup-shell .section-card {
    padding: 18px;
}

.topup-steps {
    gap: 8px;
    margin-bottom: 14px;
}

.step-pill {
    min-height: 36px;
    padding: 0 13px;
    font-size: 11px;
}

.bonus-offer-shell {
    margin-bottom: 16px;
}

.bonus-offer-board {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.bonus-offer-card {
    min-height: 150px;
    padding: 13px;
    border-radius: 16px;
    gap: 9px;
}

.bonus-offer-percent {
    font-size: clamp(1.55rem, 2.1vw, 1.95rem);
}

.bonus-offer-label {
    font-size: 13px;
}

.bonus-offer-credits {
    font-size: 12px;
    line-height: 1.35;
}

.bonus-offer-metric {
    padding: 8px 9px;
}

.payment-method-list {
    gap: 8px;
}

.payment-method {
    min-height: 54px;
    padding: 0 14px;
}

.payment-method-icon {
    width: 28px;
    height: 28px;
}

.payment-method-name {
    font-size: 13px;
}

.payment-method-code {
    font-size: 11px;
}

.topup-shell .summary-card {
    margin-top: 14px !important;
    padding: 14px 16px;
}

.summary-row {
    padding: 11px 0;
}

.summary-row + .summary-row {
    margin-top: 0;
}

#step-pay .pay-amount-value {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.dashboard-grid .feature-item-copy,
.dashboard-subtitle,
.dashboard-helper,
.bonus-offer-title,
.bonus-offer-caption,
.bonus-offer-footer {
    display: none;
}

.dashboard-grid {
    grid-template-columns: 300px minmax(620px, 720px);
    justify-content: center;
    align-items: start;
    column-gap: 36px;
}

.dashboard-side {
    padding-top: 18px;
}

.feature-icon-strip {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.feature-icon-strip .feature-item {
    display: block;
}

.feature-icon-strip .feature-icon-box {
    width: 42px;
    height: 42px;
}

.pricing-card {
    max-width: 400px;
}

@media (max-width: 1180px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .pricing-card {
        max-width: none;
    }
}

