:root {
    --bg: #0b0b10;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c2a;
    --bg-nav: #0e0e15;
    --text: #eeeef2;
    --text-secondary: #8888a0;
    --accent: #7c6cfc;
    --accent-light: #a78bfa;
    --accent-bg: rgba(124, 108, 252, 0.10);
    --accent-border: rgba(124, 108, 252, 0.20);
    --green: #4ade80;
    --green-bg: rgba(74, 222, 128, 0.10);
    --red: #f87171;
    --yellow: #fbbf24;
    --border: #222233;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 50px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --glow: 0 0 40px rgba(124, 108, 252, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
:where(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
}

/* ===== Navbar ===== */
.navbar {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(14, 14, 21, 0.9);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.balance-badge {
    background: var(--green-bg);
    color: var(--green);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.user-menu:hover { background: rgba(255, 255, 255, 0.04); }

.user-name { font-size: 0.9rem; font-weight: 600; }

.chevron { opacity: 0.5; transition: transform 0.2s; }
.user-menu:hover .chevron { transform: rotate(180deg); opacity: 1; }

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 180px;
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 200;
}

.user-menu:hover .dropdown { display: block; }

.dropdown-item {
    display: block;
    padding: 12px 18px;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.dropdown-item:hover { background: rgba(255, 255, 255, 0.04); }
.dropdown-item--danger { color: var(--red); }

/* ===== Main ===== */
main { flex: 1; padding: 36px 24px; }

/* ===== Sparkles ===== */
.sparkle-row {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    justify-content: center;
}

.sparkle {
    color: var(--accent);
    font-size: 1.4rem;
    animation: sparkle-pulse 2s ease-in-out infinite;
}

.sparkle--sm {
    font-size: 0.9rem;
    animation-delay: 0.5s;
    opacity: 0.6;
}

@keyframes sparkle-pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ===== Landing / Hero ===== */
.landing {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
}

.hero { text-align: center; max-width: 680px; }

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cards {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 52px;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    transition: all 0.3s;
}

.hero-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.hero-card-icon { font-size: 2rem; }

.hero-card-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-card-text strong { font-size: 0.9rem; font-weight: 700; }
.hero-card-text span { font-size: 0.75rem; color: var(--text-secondary); }

/* ===== Landing page (lp) ===== */
.lp { display: block; }
.lp .grad { background: linear-gradient(120deg, var(--accent-light), #e9a5ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.lp-hero { position: relative; overflow: hidden; padding: 72px 0 48px; text-align: center; }
.lp-hero-glow {
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 680px; height: 480px; max-width: 90%;
    background: radial-gradient(circle, rgba(124,108,252,0.28), transparent 65%);
    filter: blur(20px); pointer-events: none; z-index: 0;
}
.lp-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.lp-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--radius-pill);
    background: var(--accent-bg); border: 1px solid var(--accent-border); color: var(--accent-light);
    font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
}
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
.lp-title { font-size: 3.2rem; font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 18px; }
.lp-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto 32px; line-height: 1.6; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.lp-trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--text-secondary); font-size: 0.85rem; }
.lp-trust span { display: inline-flex; align-items: center; gap: 6px; }
.lp-trust svg { width: 15px; height: 15px; color: var(--green); }

.btn--ghost { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-border); transform: translateY(-2px); }

.lp-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 24px; margin-top: 12px;
}
.lp-stat { text-align: center; }
.lp-stat strong { display: block; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.5px; background: linear-gradient(120deg, var(--accent-light), #e9a5ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-stat span { font-size: 0.82rem; color: var(--text-secondary); }

.lp-section { padding-top: 56px; }
.lp-h2 { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.5px; text-align: center; margin-bottom: 32px; }

.lp-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lp-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.25s; }
.lp-feature:hover { border-color: var(--accent-border); transform: translateY(-3px); box-shadow: var(--glow); }
.lp-feature-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-bg); color: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.lp-feature-ico svg { width: 24px; height: 24px; }
.lp-feature h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.lp-feature p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-step { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.lp-step-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #fff; font-weight: 900; font-size: 1.1rem; margin-bottom: 16px; }
.lp-step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.lp-step p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

.lp-pay { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-pay-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-secondary); font-weight: 700; }
.lp-pay-methods { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-pay-chip { padding: 10px 18px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem; }

.lp-final { position: relative; overflow: hidden; text-align: center; background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: var(--radius); padding: 56px 32px; }
.lp-final-glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 480px; height: 300px; max-width: 90%; background: radial-gradient(circle, rgba(124,108,252,0.25), transparent 65%); filter: blur(20px); }
.lp-final h2 { position: relative; font-size: 1.9rem; font-weight: 900; margin-bottom: 10px; }
.lp-final p { position: relative; color: var(--text-secondary); margin-bottom: 24px; }
.lp-final .btn { position: relative; }

@media (max-width: 760px) {
    .lp-title { font-size: 2.2rem; }
    .lp-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-features { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: 1fr; }
}

/* ===== Login / Waiting ===== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow);
}

.login-icon-wrap { margin-bottom: 20px; }

.login-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-subtitle {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

.login-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    background: var(--accent-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-border);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid var(--accent-border);
    border-top: 2.5px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.status-ok {
    width: 22px;
    height: 22px;
    background: var(--green);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.status-error { color: var(--red); }
.status-error a { color: var(--accent-light); text-decoration: underline; }

.login-hint {
    margin-top: 20px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 108, 252, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 108, 252, 0.45);
}

.btn--sm { padding: 8px 22px; font-size: 0.85rem; }
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ===== Catalog ===== */
.page-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.section-title {
    font-weight: 700;
    margin: 36px 0 18px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
}

.catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0; }
.catalog-tools { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.catalog-search { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 14px; }
.catalog-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.catalog-search svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-secondary); }
.catalog-search input { min-width: 0; width: 100%; height: 48px; border: 0; outline: 0; background: none; color: var(--text); font-size: 1rem; }
.catalog-search input::placeholder { color: var(--text-secondary); }
.catalog-search input::-webkit-search-cancel-button { display: none; }
.search-clear { flex-shrink: 0; width: 36px; height: 40px; border: 0; background: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; }
.catalog-count { font-size: 0.85rem; color: var(--text-secondary); }
.catalog-empty { padding: 44px 20px; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius); }
.catalog-empty h2 { font-size: 1.15rem; }
.catalog-empty p { color: var(--text-secondary); margin: 8px 0 20px; }
.catalog-head .section-title { margin: 0; }
.sort-control { display: flex; align-items: center; gap: 10px; }
.sort-control > span { font-size: 0.72rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.sort-control select {
    background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
    border-radius: var(--radius-pill); padding: 9px 34px 9px 16px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: border-color 0.18s; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238888a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.sort-control select:hover { border-color: var(--accent-border); }
.sort-control option { background: var(--bg-card); color: var(--text); }

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
}

.category-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-border);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

.category-icon { font-size: 2rem; }
.category-name { font-weight: 700; font-size: 0.95rem; }
.category-count { font-size: 0.78rem; color: var(--text-secondary); }

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 16px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-border);
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

/* All catalog cards keep an equally sized cover area. */
.product-media { position: relative; width: 100%; aspect-ratio: 16 / 9; flex-shrink: 0; background: var(--bg-secondary); overflow: hidden; border-bottom: 1px solid var(--border); }
.product-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.product-media-placeholder { height: 100%; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 100%, rgba(124,108,252,.14), transparent 75%); }
.product-media-placeholder span { display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid var(--accent-border); border-radius: 22px; background: var(--accent-bg); font-size: 1.9rem; font-weight: 800; color: var(--accent-light); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.product-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-thumb { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--accent-bg); border: 1px solid var(--accent-border); color: var(--accent-light); font-size: 1.15rem; font-weight: 800; }
.product-heading .product-name { flex: 1; min-width: 0; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.product-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-secondary); }
.product-card:hover .product-arrow { color: var(--accent-light); }
.product-price small { font-size: 0.72rem; font-weight: 500; color: var(--text-secondary); }

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.product-name { font-size: 1.05rem; font-weight: 700; }
.product-badges { display: flex; gap: 6px; flex-shrink: 0; }

.badge {
    font-size: 0.6rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.badge--boost {
    background: var(--accent-bg);
    color: var(--accent-light);
    border: 1px solid var(--accent-border);
}

.badge--manual {
    background: rgba(251, 191, 36, 0.10);
    color: var(--yellow);
    border: 1px solid rgba(251, 191, 36, 0.20);
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.84rem;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    gap: 10px;
}

.product-price { font-size: 1.15rem; font-weight: 800; color: var(--green); }
.product-stock { font-size: 0.84rem; color: var(--text-secondary); }
.out-of-stock { color: var(--red) !important; font-weight: 600; }

/* ===== Product detail ===== */
.product-detail { max-width: 800px; margin: 0 auto; }

.product-cover { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--bg-secondary); overflow: hidden; }
.product-cover img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }

/* A cover image with its own light/white background (a promo banner, a boxed
   product shot, etc.) previously left flat, clashing padding around it when
   letterboxed with object-fit:contain against this dark UI. Fill that gap
   with a blurred, darkened copy of the same image instead of a hard color
   edge - it reads as an intentional backdrop rather than empty space,
   whatever the source image's own background happens to be. Only active
   when the container carries --cover-bg (set inline next to the <img> src);
   invisible/no-op otherwise, and invisible when the sharp image already
   fills the box edge-to-edge. */
.product-media::before, .product-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--cover-bg, none);
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(1.1) brightness(0.5);
    transform: scale(1.15); /* hides the soft blur edge past the box's own edge */
}
.boost-product-cover { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; }
.product-cover-ph {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 35%, rgba(124,108,252,0.14), transparent 70%);
    color: var(--accent-light); opacity: 0.45;
}
.product-cover-ph svg { width: 60px; height: 60px; }

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

.product-detail-header {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--bg-secondary);
}

.product-detail-header h1 { font-size: 1.4rem; font-weight: 800; }
.product-badges { display: flex; gap: 8px; }
.product-detail-body { padding: 32px; }

.product-description {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.info-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value { font-size: 1.15rem; font-weight: 800; }
.price-value { color: var(--green); }

.discount-tiers { margin-bottom: 28px; }
.discount-tiers h3 { font-size: 1rem; margin-bottom: 14px; font-weight: 700; }
.tiers-table { width: 100%; border-collapse: collapse; }

.tiers-table th,
.tiers-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tiers-table th {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tiers-table td { font-weight: 600; }

.product-actions {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Back link */
.back-link {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px;
    padding: 8px 16px 8px 12px; border-radius: var(--radius-pill);
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; transition: all 0.18s;
}
.back-link:hover { color: var(--text); border-color: var(--accent-border); transform: translateX(-2px); }
.back-link svg { width: 16px; height: 16px; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb-sep { opacity: 0.3; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 20px;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.78rem;
    margin-top: auto;
}

/* ===== App layout with sidebar ===== */
body.app { display: flex; flex-direction: row; min-height: 100vh; }
.sidebar {
    width: 252px; flex-shrink: 0; background: var(--bg-nav); border-right: 1px solid var(--border);
    position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
    padding: 22px 16px; gap: 8px; z-index: 200;
}
.sidebar .logo { padding: 6px 10px 18px; }
.content { flex: 1; min-width: 0; padding: 34px 40px; display: flex; flex-direction: column; }

/* Top bar with balance + top-up (right aligned) */
.topbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.topbar-balance { display: inline-flex; align-items: center; gap: 9px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 9px 18px; transition: border-color 0.18s; }
.topbar-balance:hover { border-color: var(--accent-border); }
.topbar-balance svg { width: 17px; height: 17px; color: var(--accent-light); }
.topbar-balance-label { font-size: 0.78rem; color: var(--text-secondary); font-weight: 600; }
.topbar-balance .balance-badge { background: none; border: none; padding: 0; border-radius: 0; color: var(--green); font-weight: 800; font-size: 0.95rem; }
.topbar-topup { display: inline-flex; align-items: center; gap: 6px; }
.topbar-topup svg { width: 15px; height: 15px; }
.cur-switch { display: inline-flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px; margin-right: auto; }
.cur-opt { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; border-radius: var(--radius-pill); font-weight: 800; font-size: 0.9rem; color: var(--text-secondary); transition: all 0.15s; }
.cur-opt:hover { color: var(--text); }
.cur-opt.is-active { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #fff; }
.content > section { width: 100%; max-width: 1200px; margin: 0 auto; flex: 1; }

.side-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.side-link {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 0.92rem; font-weight: 600; transition: all 0.18s;
}
.side-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.side-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.side-link.is-active { background: var(--accent-bg); color: var(--accent-light); }
.side-link.is-active svg { color: var(--accent-light); }

/* Nested categories dropdown */
.side-group { display: flex; flex-direction: column; }
.side-group .side-link { position: relative; }
.side-caret {
    margin-left: auto; background: none; border: none; color: var(--text-secondary); cursor: pointer;
    display: flex; align-items: center; padding: 4px; border-radius: 6px; transition: all 0.18s;
}
.side-caret svg { width: 16px; height: 16px; transition: transform 0.2s; }
.side-caret:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.side-group.is-open .side-caret svg { transform: rotate(180deg); }
.side-sub {
    display: none; flex-direction: column; gap: 1px; margin: 2px 0 4px 26px;
    padding-left: 12px; border-left: 1px solid var(--border);
}
.side-group.is-open .side-sub { display: flex; }
.side-sublink {
    padding: 8px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 500;
    color: var(--text-secondary); transition: all 0.16s;
}
.side-sublink:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.side-sublink.is-active { color: var(--accent-light); background: var(--accent-bg); font-weight: 600; }

/* Compact category pills on the catalog page */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cat-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-pill);
    font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); transition: all 0.18s;
}
.cat-pill:hover { color: var(--text); border-color: var(--accent-border); }
.cat-pill-count { font-size: 0.72rem; background: var(--bg-secondary); color: var(--text-secondary); border-radius: 20px; padding: 1px 8px; }

.side-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.side-balance {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 6px; border-radius: var(--radius-sm);
}
.side-balance-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.side-balance-label { color: var(--text-secondary); font-size: 0.76rem; }
.side-balance .balance-badge { display: block; padding: 0; border: 0; border-radius: 0; background: none; color: var(--text); font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.side-topup { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--accent-border); border-radius: 10px; color: var(--accent-light); background: var(--accent-bg); transition: background 0.18s, color 0.18s; }
.side-topup svg { width: 19px; height: 19px; }
.side-topup-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.side-balance:hover .side-topup { background: var(--accent); color: white; }
.side-balance:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
.side-user .user-name { flex: 1; font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-logout { color: var(--text-secondary); display: flex; padding: 6px; border-radius: 8px; transition: all 0.18s; }
.side-logout:hover { color: var(--red); background: rgba(248,113,113,0.08); }
.side-logout svg { width: 18px; height: 18px; }

.sidebar-toggle {
    display: none; position: fixed; top: 16px; left: 16px; z-index: 250; width: 42px; height: 42px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
    cursor: pointer; align-items: center; justify-content: center;
}
.sidebar-toggle svg { width: 22px; height: 22px; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 190; }

/* ===== SVG icon sizing ===== */
.logo-mark { width: 32px; height: 32px; display: block; flex-shrink: 0; object-fit: contain; }
/* A dark transparent-PNG logo rendered white so it stays visible on the dark UI. */
.logo-mark--png { filter: brightness(0) invert(1); }
.logo-icon svg { width: 18px; height: 18px; }
.category-icon svg { width: 34px; height: 34px; color: var(--accent-light); }
.hero-card-icon svg { width: 30px; height: 30px; color: var(--accent-light); }
.balance-badge svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 2px; }
.dropdown-item svg { width: 16px; height: 16px; opacity: 0.7; }

.balance-badge { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-item { display: flex; align-items: center; gap: 10px; }

/* ===== Nav links / avatar ===== */
.nav-links { display: flex; gap: 6px; margin-left: 24px; margin-right: auto; }
.nav-link {
    padding: 7px 14px; border-radius: var(--radius-sm); font-size: 0.9rem;
    font-weight: 600; color: var(--text-secondary); transition: all 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.user-avatar {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800;
}

/* ===== Buy controls (product page) ===== */
.buy-row { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.qty-stepper {
    display: inline-flex; align-items: center; background: var(--bg-secondary);
    border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden;
}
.qty-btn {
    width: 42px; height: 46px; background: none; border: none; color: var(--text);
    font-size: 1.3rem; cursor: pointer; transition: background 0.15s; font-weight: 600;
}
.qty-btn:hover { background: rgba(255,255,255,0.05); }
.qty-input {
    width: 48px; text-align: center; background: none; border: none; color: var(--text);
    font-size: 1rem; font-weight: 800; outline: none; height: 44px; appearance: textfield; -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper:focus-within { border-color: var(--accent-light); box-shadow: 0 0 0 3px var(--accent-bg); }
.qty-btn:disabled { opacity: 0.35; cursor: default; }
.purchase-dock { flex: 1; min-width: 0; }
.purchase-dock #buyBtn { width: 100%; }
.purchase-dock-meta { display: none; }
.purchase-dock .btn:disabled { opacity: 0.55; cursor: default; }
.result-orders-link { display: inline-block; margin-top: 14px; color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.buy-result { scroll-margin-bottom: 160px; overflow-wrap: anywhere; }
#buyBtn { flex: 1; min-width: 220px; }
#buyBtn.is-loading { opacity: 0.6; pointer-events: none; }
.buy-unavailable {
    padding: 16px; text-align: center; background: rgba(248,113,113,0.08);
    border: 1px solid rgba(248,113,113,0.2); border-radius: var(--radius-sm);
    color: var(--red); font-weight: 700;
}
.buy-result { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; }
.buy-result--ok { background: var(--green-bg); border: 1px solid rgba(74,222,128,0.2); color: var(--green); }
.buy-result--err { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2); color: var(--red); font-weight: 600; }
.delivered { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.delivered code {
    display: block; background: rgba(0,0,0,0.35); border: 1px solid var(--border);
    border-radius: 8px; padding: 10px 12px; color: var(--text); font-size: 0.82rem;
    font-family: 'SF Mono', Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all;
}

/* Post-checkout delivery progress (boost.ejs): polls real order status and
   fills in once the provider job actually resolves - starts as an active
   "in progress" state, never claims a delivered count it doesn't have yet. */
.boost-progress { margin-top: 14px; }
.boost-progress-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.boost-progress-spinner {
    width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid var(--accent-border); border-top-color: var(--accent-light);
    animation: boost-spin 0.7s linear infinite;
}
@keyframes boost-spin { to { transform: rotate(360deg); } }
.boost-progress-track { height: 6px; border-radius: 5px; background: var(--bg-secondary); overflow: hidden; }
.boost-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transition: width 0.4s ease; }
.boost-progress.is-done .boost-progress-spinner { border-color: var(--green); border-top-color: var(--green); animation: none; }
.boost-progress.is-done .boost-progress-fill { background: var(--green); }
.boost-progress.is-partial .boost-progress-spinner { border-color: var(--yellow); border-top-color: var(--yellow); animation: none; }
.boost-progress.is-partial .boost-progress-fill { background: var(--yellow); }
.boost-progress.is-failed .boost-progress-spinner { display: none; }
.boost-progress.is-failed .boost-progress-fill { background: var(--red); }
.boost-progress.is-failed .boost-progress-head { color: var(--red); }

/* Replaces the whole purchase form once the order is placed - nothing left
   to configure, so just the confirmation, real progress, and where to go. */
.boost-success {
    max-width: 480px; margin: 32px auto; text-align: center;
    background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: var(--radius);
    padding: 40px 32px; box-shadow: var(--glow);
}
.boost-success-icon {
    width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 900;
}
.boost-success-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.boost-success-title span { color: var(--accent-light); }
.boost-success-sub { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 26px; line-height: 1.5; }
.boost-progress.is-inline { text-align: left; margin: 0 0 26px; }
.boost-success-actions { display: flex; gap: 10px; margin-bottom: 18px; }
.boost-success-actions .btn { flex: 1; min-width: 0; }
@media (max-width: 480px) {
    .boost-success { padding: 32px 20px; }
    .boost-success-actions { flex-direction: column; }
}

/* ===== Boost page ===== */
.boost-page { padding-top: 8px; }
.boost-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.boost-main { display: flex; flex-direction: column; gap: 20px; }

/* Hero: cover and heading composed into one card instead of a big image
   stacked above a separate text block. */
.boost-hero-card {
    display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 28px; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.boost-hero-media { width: 100%; }
.boost-hero-media .boost-product-cover { border: none; border-radius: var(--radius-sm); margin: 0; }
.boost-hero-media-ph {
    aspect-ratio: 16 / 9; border-radius: var(--radius-sm); background: var(--bg-secondary);
    display: flex; align-items: center; justify-content: center; color: var(--accent-light); opacity: 0.5;
}
.boost-hero-media-ph svg { width: 44px; height: 44px; }
.boost-hero-copy { min-width: 0; }
.boost-title { font-size: 2.15rem; font-weight: 900; line-height: 1.1; letter-spacing: -1.2px; margin-bottom: 12px; }
.boost-title .grad {
    background: linear-gradient(135deg, var(--accent-light), #e9a5ff);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.boost-sub { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: 18px; }
.boost-sub b { color: var(--text); }
.boost-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
    border-radius: var(--radius-pill); font-size: 0.74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.4px; border: 1px solid var(--border);
}
.pill svg { width: 14px; height: 14px; }
.pill--accent { background: var(--accent-bg); color: var(--accent-light); border-color: var(--accent-border); }
.pill--green { background: var(--green-bg); color: var(--green); border-color: rgba(74,222,128,0.2); }
.pill--muted { background: var(--bg-secondary); color: var(--text-secondary); }

.boost-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.block-step {
    display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px;
    background: var(--accent-bg); color: var(--accent-light); font-size: 0.72rem; font-weight: 800; flex-shrink: 0;
}
.block-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--text-secondary); }
.block-hint { margin-left: auto; font-size: 0.82rem; color: var(--accent-light); font-weight: 700; }
.block-desc { color: var(--text-secondary); font-size: 0.86rem; margin: 10px 0 18px; }

.term-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.term-card {
    position: relative; background: var(--bg-secondary); border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 18px; cursor: pointer; transition: all 0.2s;
}
.term-card:hover { border-color: var(--accent-border); background: var(--bg-card-hover); }
.term-card.is-active {
    border-color: var(--accent); background: linear-gradient(160deg, var(--accent-bg), var(--bg-secondary) 65%);
    box-shadow: 0 0 0 3px var(--accent-bg);
}
.term-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.term-badge {
    display: inline-block; font-size: 0.6rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.5px; padding: 4px 10px; border-radius: 6px;
}
.term-badge--pop { background: var(--accent-bg); color: var(--accent-light); }
.term-badge--best { background: var(--green-bg); color: var(--green); }
.term-name { font-size: 1.25rem; font-weight: 800; }
.term-note { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 14px; }
.term-price { font-size: 2rem; font-weight: 900; letter-spacing: -1px; }
.term-cur { font-size: 1.1rem; margin-left: 2px; color: var(--text-secondary); }
.term-per { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 12px; }
.term-stock { font-size: 0.8rem; font-weight: 700; color: var(--green); padding-top: 12px; border-top: 1px solid var(--border); }
.term-stock.is-out { color: var(--red); }
/* Always-visible ring so a card reads as "selectable" even before you've
   picked one; fills solid with a check once it's the active term. */
.term-check {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    border: 1.5px solid var(--border); background: transparent; color: transparent;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.term-check svg { width: 13px; height: 13px; }
.term-card.is-active .term-check { border-color: var(--accent); background: var(--accent); color: #fff; }

.level-track-wrap { padding: 8px 2px 0; }
.level-range {
    -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 5px;
    background: var(--bg-secondary); outline: none; cursor: pointer;
}
.level-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; border: 4px solid var(--accent); cursor: pointer; box-shadow: var(--glow);
}
.level-range::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: pointer;
}
.level-marks { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.level-mark {
    display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    cursor: pointer; border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text);
    padding: 8px 4px; border-radius: 10px; min-height: 48px; transition: all 0.15s;
}
.level-mark:hover { border-color: var(--accent-border); background: var(--bg-card-hover); }
.lm-q { font-size: 0.88rem; font-weight: 800; }
.lm-l { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.level-mark:hover .lm-q { color: var(--accent-light); }

.qty-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.qty-calc { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; }
.qty-calc span { color: var(--text); }

.invite-field {
    display: flex; align-items: center; gap: 10px; background: var(--bg-secondary);
    border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0 16px; transition: border-color 0.2s;
}
.invite-field:focus-within { border-color: var(--accent); }
.invite-icon { width: 18px; height: 18px; color: var(--text-secondary); flex-shrink: 0; }
.invite-input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text); font-size: 1rem; padding: 15px 0; }
.invite-hint { font-size: 0.78rem; color: var(--text-secondary); margin-top: 10px; }

/* Summary */
.boost-summary { position: sticky; top: 24px; }
.summary-card { background: var(--bg-card); border: 1px solid var(--accent-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--glow); }
.summary-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--text-secondary); }
.summary-total { font-size: 2.6rem; font-weight: 900; letter-spacing: -1.5px; margin: 4px 0 8px; }
.summary-note { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.summary-rows { border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.summary-row span:last-child { color: var(--text); font-weight: 700; }
.summary-row--total { border-top: 1px solid var(--border); padding-top: 14px; font-size: 1rem; }
.summary-row--total span { color: var(--text) !important; font-weight: 800; }

.balance-bar { margin-bottom: 20px; }
.balance-bar-head { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 8px; }
.balance-track { height: 6px; border-radius: 5px; background: var(--bg-secondary); overflow: hidden; }
.balance-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transition: width 0.25s; }
.balance-fill.is-over { background: var(--red); }

/* Compact "what happens next" strip - the hero pills above already cover the
   headline reassurances (speed/guarantee/payment), so this stays a single
   glanceable row instead of a second, longer explainer list. */
.next-steps { display: flex; align-items: center; gap: 4px; background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 14px 8px; margin-bottom: 20px; }
.next-item { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: center; gap: 6px; }
.next-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-bg); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.next-ico svg { width: 15px; height: 15px; }
.next-item strong { font-size: 0.66rem; font-weight: 700; text-align: center; color: var(--text-secondary); white-space: nowrap; }
.next-arrow { color: var(--border); font-size: 0.75rem; flex-shrink: 0; }

.pay-hint { text-align: center; font-size: 0.76rem; color: var(--text-secondary); margin-top: 10px; }
#payBtn:disabled { opacity: 0.5; pointer-events: none; }

/* ===== Orders page ===== */
.orders-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.orders-heading .page-title { display: flex; align-items: center; gap: 12px; margin: 0; }
.orders-heading p { color: var(--text-secondary); margin-top: 6px; font-size: 0.9rem; }
.orders-count { padding: 2px 9px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0; }
.orders-catalog-link { font-size: 0.88rem; color: var(--accent-light); white-space: nowrap; padding: 12px 0; }
.orders-catalog-link span { margin-left: 8px; }
.orders-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); }
.orders-columns, .order-summary { display: grid; grid-template-columns: minmax(0, 1fr) 126px 92px 18px; align-items: center; gap: 20px; padding: 20px 24px; }
.orders-columns { padding-top: 14px; padding-bottom: 14px; background: var(--bg-secondary); color: var(--text-secondary); font-size: 0.76rem; }
.orders-columns span:nth-child(3) { text-align: right; }
.order-entry { border-top: 1px solid var(--border); }
.order-summary { cursor: pointer; list-style: none; min-height: 104px; }
.order-summary::-webkit-details-marker { display: none; }
.order-summary:hover { background: rgba(255,255,255,0.02); }
.order-summary:focus-visible { outline: 2px solid var(--accent-light); outline-offset: -3px; }
.order-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.order-mark { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 12px; color: var(--accent-light); background: var(--bg-secondary); }
.order-mark svg { width: 21px; height: 21px; }
.order-identity { min-width: 0; }
.order-product { display: block; font-size: 0.96rem; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.order-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 0.75rem; color: var(--text-secondary); margin-top: 6px; }
.order-meta > span { white-space: nowrap; }
.order-price { font-size: 1rem; font-weight: 700; text-align: right; white-space: nowrap; }
.order-price > span { color: var(--text-secondary); font-weight: 500; }
.order-status { display: inline-flex; align-items: center; gap: 7px; font-size: 0.77rem; white-space: nowrap; color: var(--text-secondary); }
.order-status > span { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.order-status--completed { color: var(--green); }
.order-status--pending { color: var(--yellow); }
.order-status--cancelled { color: var(--red); }
.order-chevron { width: 18px; height: 18px; color: var(--text-secondary); transition: transform 0.2s; }
.order-entry[open] .order-chevron { transform: rotate(180deg); color: var(--accent-light); }
.order-details { padding: 0 24px 20px 80px; }
.order-detail-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.order-detail-heading h2 { font-size: 0.84rem; font-weight: 600; }
.order-number { font-size: 0.72rem; color: var(--text-secondary); margin-top: 3px; overflow-wrap: anywhere; }
.order-copy-all { border: 0; background: transparent; color: var(--accent-light); font-size: 0.78rem; cursor: pointer; padding: 10px 0; }
.order-delivery { list-style: none; border-radius: 10px; background: var(--bg-secondary); padding: 0 14px; }
.order-delivery li { display: grid; grid-template-columns: 24px minmax(0, 1fr) 38px; gap: 10px; align-items: center; padding: 10px 0; }
.order-delivery li + li { border-top: 1px solid var(--border); }
.order-item-index { color: var(--text-secondary); font-size: 0.72rem; align-self: start; padding-top: 10px; }
.order-value { font-size: 0.82rem; font-family: 'SF Mono', Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.order-value--text { font-family: inherit; font-size: 0.85rem; }
.order-copy { display: flex; justify-content: center; align-items: center; border: 0; background: none; border-radius: 8px; color: var(--text-secondary); cursor: pointer; width: 38px; height: 40px; }
.order-copy svg { width: 17px; height: 17px; }
.order-copy:hover { background: var(--accent-bg); color: var(--accent-light); }
.order-copy-status, .order-no-data { font-size: 0.8rem; color: var(--text-secondary); }
.order-copy-status:not(:empty) { margin-top: 12px; }
.orders-empty { text-align: center; padding: 60px 24px; border: 1px dashed var(--border); border-radius: var(--radius); }
.orders-empty > svg { width: 40px; height: 40px; color: var(--accent-light); margin-bottom: 14px; }
.orders-empty h2 { font-size: 1.1rem; }
.orders-empty p { max-width: 380px; margin: 8px auto 24px; color: var(--text-secondary); font-size: 0.9rem; }
@media (max-width: 1120px) {
    .orders-columns { display: none; }
    .order-entry:first-of-type { border-top: 0; }
    .order-summary { grid-template-columns: minmax(0, 1fr) auto 18px; gap: 12px; }
    .order-main { grid-column: 1; grid-row: 1; }
    .order-status { grid-column: 1; grid-row: 2; margin-left: 56px; }
    .order-price { grid-column: 2; grid-row: 1; }
    .order-chevron { grid-column: 3; grid-row: 1; }
}
@media (max-width: 600px) {
    .orders-heading { align-items: flex-start; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
    .orders-heading .page-title { font-size: 1.7rem; }
    .order-summary { padding: 18px 16px; gap: 10px; }
    .order-mark { display: none; }
    .order-status { margin-left: 0; }
    .order-price { font-size: 0.9rem; }
    .order-details { padding: 0 16px 16px; }
    .order-product { font-size: 0.9rem; }
    .order-meta { font-size: 0.7rem; }
    .order-delivery { padding: 0 10px; }
    .order-delivery li { grid-template-columns: minmax(0, 1fr) 38px; gap: 6px; }
    .order-item-index { display: none; }
    .order-value { font-size: 0.75rem; }
}

/* ===== Mobile ===== */
@media (min-width: 901px) and (max-width: 1180px) {
    .boost-grid { grid-template-columns: 1fr; }
    .boost-summary { position: static; }
}
@media (max-width: 900px) {
    .boost-grid { grid-template-columns: 1fr; }
    .boost-summary { position: static; }
    .sidebar {
        position: fixed; left: 0; top: 0; transform: translateX(-100%);
        transition: transform 0.25s ease; box-shadow: var(--shadow);
    }
    .sidebar.is-open { transform: translateX(0); }
    .sidebar-toggle { display: flex; }
    .sidebar-overlay.is-open { display: block; }
    .content { padding: 72px 20px 28px; }
    .has-purchase-dock { padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px)); }
    .purchase-dock {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
        display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px;
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
        background: rgba(17, 17, 24, 0.97); backdrop-filter: blur(16px);
        border-top: 1px solid var(--accent-border); box-shadow: 0 -6px 30px rgba(0,0,0,0.25);
    }
    .purchase-dock-meta { display: flex; flex-direction: column; min-width: 0; }
    .purchase-dock-meta span { font-size: 0.72rem; color: var(--text-secondary); }
    .purchase-dock-meta strong { font-size: 1.2rem; overflow-wrap: anywhere; }
    .purchase-dock .btn { width: auto; min-width: 0; padding: 13px 18px; font-size: 0.9rem; }
    .purchase-dock #buyBtn { width: auto; min-width: 0; }
    .purchase-dock #buyBtn svg { display: none; }
    .purchase-dock .pay-hint { grid-column: 1 / -1; margin: 0; }
    .product-detail-card { overflow: visible; }
    .product-cover, .product-detail-header { border-radius: var(--radius) var(--radius) 0 0; }
    .catalog-tools { flex-wrap: wrap; gap: 4px 20px; }
    .catalog-search { flex-basis: 100%; }
}
@media (max-width: 640px) {
    .hero-title { font-size: 1.8rem; }
    .hero-cards { flex-direction: column; align-items: center; }
    .hero-card { width: 100%; max-width: 260px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: 1fr; }
    .product-info-grid { grid-template-columns: repeat(2, 1fr); }
    .login-card { padding: 36px 24px; }
    .product-detail-header { flex-direction: column; align-items: flex-start; }
    .nav-right { gap: 8px; }
    .nav-links { display: none; }
    .btn--lg { padding: 14px 28px; font-size: 0.95rem; }
    .logo span:last-child { font-size: 0.9rem; letter-spacing: 1px; }
    .boost-title { font-size: 2rem; }
    .term-card { padding: 14px 12px; border-radius: 12px; }
    .term-name { font-size: 1rem; }
    .term-price { font-size: 1.6rem; }
    .term-badge { padding: 3px 6px; font-size: 0.55rem; }
    .term-note { display: none; }
    .term-check { width: 18px; height: 18px; }
    .term-check svg { width: 12px; height: 12px; }
    .boost-block, .summary-card { padding: 20px 16px; }
    .boost-pills { gap: 6px; }
    .boost-pills .pill { padding: 6px 10px; font-size: 0.65rem; }
    .boost-hero-copy .sparkle-row { display: none; }
    .boost-hero-card { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
    .product-detail-header, .product-detail-body { padding: 20px; }
    .info-item { min-width: 0; padding: 12px; }
    .info-value { font-size: 1rem; overflow-wrap: anywhere; }
    .catalog .page-title { margin-bottom: 18px; }
    .catalog-head { gap: 10px; margin: 10px 0 16px; }
    .sort-control > span { display: none; }
    .sort-control select { min-height: 44px; font-size: 0.8rem; }
    .product-body { padding: 16px; }
    .product-heading { margin-bottom: 12px; }
    .product-name { font-size: 1rem; }
    .product-desc { margin-bottom: 14px; }
    .purchase-dock { padding-left: 16px; padding-right: 16px; gap: 6px 10px; }
    .purchase-dock .btn { padding: 12px; font-size: 0.85rem; }
    .deposit-grid { grid-template-columns: 1fr; }
    .settings-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Shared page bits ===== */
.deposit-loading { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.88rem; }
.deposit-activity { border: 1px solid var(--accent-border); border-radius: var(--radius); background: var(--bg-card); margin-bottom: 24px; padding: 20px 24px; }
.deposit-activity h2 { font-size: 1rem; margin-bottom: 14px; }
.pending-payment { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; }
.pending-payment + .pending-payment { border-top: 1px solid var(--border); }
.pending-payment-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pending-payment-info strong { font-size: 1rem; }
.pending-payment-info strong span { color: var(--text-secondary); font-size: 0.82rem; font-weight: 500; }
.pending-payment-info > span { color: var(--text-secondary); font-size: 0.78rem; overflow-wrap: anywhere; }
.pending-payment-info b { color: var(--accent-light); font-variant-numeric: tabular-nums; }
.pending-payment-actions { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.pending-cancel { color: var(--text-secondary); background: transparent; border: 0; padding: 12px 4px; cursor: pointer; font-size: 0.85rem; }
.pending-cancel:hover { color: var(--red); }
.pay-deposit-number { color: var(--text-secondary); font-size: 0.76rem; overflow-wrap: anywhere; }
.pay-overview { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin: 22px 0 18px; }
.pay-overview > div { display: flex; flex-direction: column; gap: 4px; }
.pay-overview span { color: var(--text-secondary); font-size: 0.8rem; }
.pay-overview strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.pay-timer { text-align: right; }
.pay-timer strong { color: var(--accent-light); font-size: 1.45rem; }
.pay-timer strong.is-urgent { color: var(--red); }
.pay-time-track { height: 3px; background: var(--border); border-radius: 3px; margin-bottom: 24px; overflow: hidden; }
.deposit-page.has-pending:not(.is-paying) .deposit-grid { display: none; }
#payTimeProgress { height: 100%; background: var(--accent); transition: width 1s linear; }
.pay-cancel { display: block; width: 100%; border: 0; background: transparent; padding: 14px 10px 8px; color: var(--text-secondary); cursor: pointer; font-size: 0.86rem; }
.pay-cancel:hover { color: var(--red); }
.pay-cancel-note { color: var(--text-secondary); text-align: center; font-size: 0.75rem; margin-top: 4px; }
.pay-provider-link { margin: 14px 0; }
.deposit-page button:disabled { opacity: 0.5; cursor: default; }
.deposit-page .copy-box { width: 100%; text-align: left; font: inherit; }
.hash-label { display: block; margin-top: 18px; }
#newDepositBtn { margin-top: 18px; }
#depositNotice { margin-bottom: 24px; }
@media (max-width: 640px) {
    .deposit-activity { padding: 18px 16px; }
    .pending-payment { flex-wrap: wrap; gap: 10px; }
    .pending-payment-actions { width: 100%; }
    .pending-payment-actions .btn { flex: 1; }
    .pay-overview strong { font-size: 1.5rem; }
    .pay-timer strong { font-size: 1.2rem; }
    .pay-panel-head { flex-wrap: wrap; }
}
.page-sub { color: var(--text-secondary); font-size: 0.95rem; margin-top: -16px; margin-bottom: 28px; }
.page-sub b { color: var(--text); }
.dep-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.copy-box {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer;
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 16px; transition: border-color 0.2s; overflow: hidden;
}
.copy-box:hover { border-color: var(--accent-border); }
.copy-box code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.85rem; color: var(--text); word-break: break-all; }
.copy-hint { font-size: 0.7rem; color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }

/* ===== Deposit page ===== */
.deposit-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.deposit-left { display: flex; flex-direction: column; }
.amount-field { display: flex; align-items: center; background: var(--bg-secondary); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 14px; }
.amount-field:focus-within { border-color: var(--accent); }
.amount-input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 1.6rem; font-weight: 800; padding: 14px 0; }
.amount-input::-webkit-outer-spin-button, .amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount-cur { font-size: 1.3rem; font-weight: 800; color: var(--text-secondary); }
.amount-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--radius-pill); padding: 7px 16px; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: all 0.18s; }
.chip:hover { border-color: var(--accent); color: var(--accent-light); }
.amount-hint { font-size: 0.78rem; color: var(--text-secondary); }
.amount-hint code { background: var(--bg-secondary); padding: 2px 6px; border-radius: 5px; font-size: 0.75rem; }

.method-list { display: flex; flex-direction: column; gap: 10px; }
.method-card { display: flex; align-items: center; gap: 14px; background: var(--bg-secondary); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: all 0.18s; }
.method-card:hover { border-color: var(--accent-border); }
.method-card input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.method-card:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }
.method-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: var(--green); flex-shrink: 0; }
.method-ico--sbp { color: var(--accent-light); font-size: 0.8rem; }
.method-ico--lzt { color: var(--yellow); font-size: 0.8rem; }
.method-text { display: flex; flex-direction: column; }
.method-text strong { font-size: 0.95rem; }
.method-text span { font-size: 0.78rem; color: var(--text-secondary); }
.deposit-left .btn { margin-top: 20px; }

.deposit-right { position: static; }
.pay-empty { display: none !important; }

/* Once a deposit is created, the form collapses and only the payment panel stays. */
.deposit-page.is-paying .deposit-left { display: none; }
.deposit-page.is-paying .pay-empty { display: none; }
.deposit-page.is-paying .deposit-grid { grid-template-columns: 1fr; }
.deposit-page.is-paying .deposit-right { position: static; }
.pay-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pay-back {
    display: inline-flex; align-items: center; gap: 4px; background: var(--bg-secondary);
    border: 1px solid var(--border); color: var(--text-secondary); border-radius: var(--radius-pill);
    padding: 6px 14px 6px 10px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.18s;
}
.pay-back:hover { color: var(--text); border-color: var(--accent-border); }
.pay-back svg { width: 15px; height: 15px; }
.pay-panel, .pay-empty { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pay-empty { text-align: center; color: var(--text-secondary); }
.pay-empty svg { width: 40px; height: 40px; opacity: 0.4; margin-bottom: 14px; }
.pay-empty p { font-size: 0.86rem; line-height: 1.5; }
.pay-panel-head { margin-bottom: 16px; }
.pay-line { font-size: 0.88rem; margin-bottom: 12px; }
.pay-muted { color: var(--text-secondary); }
.hash-input { width: 100%; background: var(--bg-secondary); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 16px; color: var(--text); outline: none; font-size: 0.9rem; margin-bottom: 14px; }
.hash-input:focus { border-color: var(--accent); }
.pay-panel .btn { margin-top: 6px; }

/* ===== API page ===== */
.apikey-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; }
.apikey-row .copy-box { flex: 1; }
.apikey-row .btn { flex-shrink: 0; }
.endpoints { display: flex; flex-direction: column; gap: 8px; }
.endpoint { display: flex; align-items: center; gap: 12px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.ep-method { font-size: 0.68rem; font-weight: 800; padding: 3px 8px; border-radius: 5px; flex-shrink: 0; width: 44px; text-align: center; }
.ep-get { background: var(--green-bg); color: var(--green); }
.ep-post { background: var(--accent-bg); color: var(--accent-light); }
.endpoint code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.82rem; color: var(--text); }
.ep-desc { margin-left: auto; font-size: 0.78rem; color: var(--text-secondary); text-align: right; }
.code-block { background: #0a0a0f; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.82rem; color: var(--green); white-space: pre-wrap; word-break: break-word; overflow-x: auto; }

/* API reference */
.api-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.api-grid .dep-block { margin-bottom: 0; }
.api-note { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.55; }
.api-note code, .amount-hint code { background: var(--bg-secondary); padding: 2px 6px; border-radius: 5px; font-size: 0.78rem; color: var(--text); }
.api-h2 { font-size: 1.3rem; font-weight: 800; margin: 32px 0 16px; }
.api-endpoint { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.api-ep-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.api-ep-head code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.92rem; font-weight: 700; color: var(--text); word-break: break-all; }
.api-ep-desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.55; margin-bottom: 14px; }
.api-ep-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); font-weight: 700; margin: 14px 0 8px; }
.api-ep-label:first-of-type { margin-top: 0; }
.api-params { width: 100%; border-collapse: collapse; }
.api-params td { padding: 9px 12px; border-bottom: 1px solid var(--border); font-size: 0.84rem; color: var(--text-secondary); vertical-align: top; }
.api-params tr:last-child td { border-bottom: none; }
.api-params td:first-child { white-space: nowrap; width: 1%; }
.api-params td code { font-family: 'SF Mono', Menlo, Consolas, monospace; color: var(--accent-light); font-size: 0.82rem; }
.api-errors td:first-child code { color: var(--red); }

@media (max-width: 760px) { .api-grid { grid-template-columns: 1fr; } }

/* ===== Settings page ===== */
.settings-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-secondary); }
.settings-row:last-child { border-bottom: none; }
.settings-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-card { display: flex; align-items: center; gap: 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: all 0.2s; }
.settings-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--glow); }
.settings-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-bg); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.settings-ico svg { width: 20px; height: 20px; }
.settings-card strong { display: block; font-size: 0.95rem; }
.settings-card span { font-size: 0.78rem; color: var(--text-secondary); }
.settings-arrow { width: 18px; height: 18px; color: var(--text-secondary); margin-left: auto; flex-shrink: 0; }
