

@font-face {
    font-family: 'Arad';
    src: url('../../fonts/Arad-MediumDots2.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arad';
    src: url('../../fonts/Arad-MediumDots2.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arad';
    src: url('../../fonts/Arad-MediumDots2.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arad';
    src: url('../../fonts/Arad-BoldDots2.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arad';
    src: url('../../fonts/Arad-BoldDots2.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Arad';
    src: url('../../fonts/Arad-BoldDots2.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    
    --bg:               #0a0907;
    --bg-soft:          #110f0c;
    --surface:          #161311;
    --surface-2:        #1c1917;
    --surface-3:        #221e1b;
    --border:           rgba(212, 184, 120, 0.12);
    --border-strong:    rgba(212, 184, 120, 0.28);

    --text:             #f5f1ea;
    --text-muted:       #a09587;
    --text-dim:         #6b6157;

    --gold:             #d4b878;
    --gold-bright:      #e2c98c;
    --gold-soft:        rgba(212, 184, 120, 0.10);
    --gold-soft-2:      rgba(212, 184, 120, 0.18);

    --green:            #7fc987;
    --green-soft:       rgba(127, 201, 135, 0.14);
    --red:              #d97070;
    --red-soft:         rgba(217, 112, 112, 0.14);
    --yellow:           #e2b85a;
    --yellow-soft:      rgba(226, 184, 90, 0.14);
    --blue:             #7aa6d6;

    --dot-red:          #ed6a5e;
    --dot-yellow:       #f4bf4f;
    --dot-green:        #61c554;

    --font-sans:        'Arad', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono:        'Arad', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;

    --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 0 1px var(--border), 0 12px 40px rgba(212, 184, 120, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(1200px 600px at 50% -200px, rgba(212, 184, 120, 0.06), transparent 60%),
        radial-gradient(800px 400px at 100% 0%, rgba(212, 184, 120, 0.03), transparent 70%);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
body[dir="rtl"] { direction: rtl; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, textarea, select {
    font-family: inherit;
    color: var(--text);
    background: transparent;
    border: none;
    outline: none;
}
img, svg { display: block; max-width: 100%; }

::selection { background: var(--gold-soft-2); color: var(--text); }

.app-shell {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 16px 96px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #b39a5d 70%);
    color: #1a1612;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(212, 184, 120, 0.25);
}
.brand-name {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text);
    letter-spacing: 1px;
    text-transform: lowercase;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    transition: all 0.18s ease;
}
.icon-btn:hover, .icon-btn:active {
    color: var(--gold);
    border-color: var(--border-strong);
    background: var(--gold-soft);
}

.view {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero {
    padding: 16px 4px 8px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.hero-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
}
.hero-title {
    font-size: 30px;
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0 0 20px;
    max-width: 56ch;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}
.card-window {
    background: var(--bg-soft);
}
.card-window-bar {
    display: none !important;
}
.dots {
    display: inline-flex;
    gap: 6px;
}
.dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
}
.dots span:nth-child(1) { background: var(--dot-red); }
.dots span:nth-child(2) { background: var(--dot-yellow); }
.dots span:nth-child(3) { background: var(--dot-green); }
.window-url {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.card-body { padding: 18px; }
.card-section + .card-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

.info-card { padding: 18px 16px 14px; position: relative; overflow: hidden; }
.info-card::before,
.info-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.10;
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
}
.info-card::before { width: 120px; height: 120px; left: -40px; bottom: -50px; }
.info-card::after  { width: 100px; height: 100px; right: -30px; top: -40px; opacity: 0.08; }
.info-card > * { position: relative; z-index: 1; }
.info-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.info-card-title {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-all;
}
.info-card-title .arrow { color: var(--gold-bright); margin-inline-end: 6px; }
.info-card-status {
    flex-shrink: 0;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
}
.info-card-status.is-active   { color: var(--green); background: var(--green-soft); }
.info-card-status.is-inactive { color: var(--red); background: var(--red-soft); }
.info-card-body {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
}
.info-gauge {
    width: 124px;
    height: 124px;
    position: relative;
    flex-shrink: 0;
}
.info-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.info-gauge-track { fill: none; stroke: var(--border); }
.info-gauge-fill  { fill: none; stroke: var(--gold); stroke-linecap: round; transition: stroke-dasharray 0.6s ease; }
.info-gauge-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.info-gauge-percent {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.info-gauge-label {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 4px;
}
.info-gauge-unl {
    font-size: 13px;
    color: var(--text);
}
.info-stats { display: flex; flex-direction: column; gap: 14px; }
.info-stat-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.info-stat-label .glyph {
    font-family: var(--font-mono);
    color: var(--text-dim);
}
.info-stat-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.info-stat-value.fa { font-family: var(--font-sans); font-weight: 600; }
.info-card-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 12px;
}

.service-detail-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.service-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.service-detail-row .ico { color: var(--gold); flex-shrink: 0; }
.service-detail-label { color: var(--text-muted); font-size: 13px; flex-shrink: 0; }
.service-detail-value { color: var(--text); font-weight: 600; font-size: 14px; margin-inline-start: auto; overflow-wrap: anywhere; text-align: end; }
.service-detail-value.mono { font-family: var(--font-mono); }

.sub-link-box {
    margin-top: 14px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}
.sub-link-box .label {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.sub-link-value {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text);
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    overflow-wrap: anywhere;
    word-break: break-all;
    cursor: pointer;
    line-height: 1.6;
}

.wallet-big-box {
    padding: 14px;
    background: linear-gradient(135deg, var(--accent-soft), transparent);
    border: 1px solid var(--border-strong);
}
.wallet-big-box .label {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.wallet-big {
    font-family: var(--font-mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-bright, var(--gold-bright));
    background: var(--bg-soft);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    padding: 14px 16px;
    overflow-wrap: anywhere;
    word-break: break-all;
    cursor: pointer;
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.5px;
    transition: background 0.15s ease, transform 0.1s ease;
}
.wallet-big:hover  { background: rgba(255,255,255,0.04); }
.wallet-big:active { transform: scale(0.99); }

.pending-banner {
    background: linear-gradient(135deg, rgba(255,170,40,0.10), rgba(255,170,40,0.03));
    border: 1px dashed rgba(255,170,40,0.55);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 0 0 0 rgba(255,170,40,0.25);
    animation: pending-pulse 2.4s ease-in-out infinite;
}
@keyframes pending-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,170,40,0.20); }
    50%      { box-shadow: 0 0 0 6px rgba(255,170,40,0.00); }
}
.pending-banner + .pending-banner { margin-top: 8px; }
.pending-banner-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffbb50;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}
.pending-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.pending-banner-grid > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}
.pending-banner-grid .muted { font-size: 11px; }
.pending-banner-actions {
    display: flex;
    gap: 8px;
}
.pending-banner-actions .btn { flex: 1; }
@media (max-width: 480px) {
    .pending-banner-grid { grid-template-columns: 1fr 1fr; }
}

.watch-card { position: relative; overflow: hidden; }
.watch-spinner-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 6px auto 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.watch-spinner-ring {
    width: 100%;
    height: 100%;
    animation: watchSpin 1.6s linear infinite;
}
.watch-spinner-track {
    fill: none;
    stroke: var(--border);
    stroke-width: 4;
}
.watch-spinner-arc {
    fill: none;
    stroke: var(--gold);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 60 156;
    transform-origin: center;
}
.watch-spinner-glyph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: watchPulseSoft 1.8s ease-in-out infinite;
}
.watch-spinner-glyph .ico {
    width: 36px;
    height: 36px;
    color: var(--gold-bright);
    filter: drop-shadow(0 0 8px rgba(212, 184, 120, 0.4));
}
@keyframes watchSpin {
    to { transform: rotate(360deg); }
}
@keyframes watchPulseSoft {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.85; }
}
.watch-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    margin: 8px auto 0;
    font-size: 14px;
}
.watch-countdown .mono {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: 1px;
}
.watch-countdown .glyph { font-size: 18px; }

.qr-panel {
    margin-top: 14px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    text-align: center;
}
.qr-frame {
    display: inline-block;
    padding: 4px;
    background: transparent;
    border-radius: var(--r-md);
    line-height: 0;
}
.qr-frame img {
    width: 280px;
    height: 280px;
    display: block;
    border-radius: calc(var(--r-md) - 4px);
}
.qr-hint { color: var(--text-muted); font-size: 12px; margin-top: 10px; }

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 13px;
    transition: all 0.16s ease;
}
.chip .glyph {
    color: var(--text-dim);
    font-weight: 700;
}
.chip:hover {
    border-color: var(--border-strong);
    background: var(--gold-soft);
}
.chip.is-active {
    border-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold-bright);
}
.chip.is-active .glyph { color: var(--gold); }

.input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.input-mono {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.015);
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.16s ease;
}
.input-mono::before {
    content: ">";
    color: var(--gold);
    font-weight: 700;
}
.input-mono input {
    flex: 1;
    width: 100%;
    background: transparent;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 14px;
}
.input-mono:focus-within { border-color: var(--gold); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.18s ease;
    background: transparent;
    color: var(--text);
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
}
.btn > span:not(.arrow):not(.spinner) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn > svg { flex-shrink: 0; }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-primary {
    background: var(--gold);
    color: #1a1612;
    box-shadow: 0 6px 18px rgba(212, 184, 120, 0.22);
}
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.02); }
.btn-block { width: 100%; }
.btn.is-locked {
    opacity: 0.55;
    cursor: not-allowed;
    background: transparent;
    border: 1px dashed var(--border-strong);
}
.btn.is-locked:hover { background: transparent; border-color: var(--border-strong); }
.btn .arrow { transition: transform 0.18s ease; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

.kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.kv:last-child { border-bottom: none; }
.kv-label {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.kv-label .glyph { color: var(--text-dim); font-family: var(--font-mono); }
.kv-value {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text);
    text-align: end;
    word-break: break-all;
}
.kv-value.gold { color: var(--gold-bright); }

.section-title {
    margin: 8px 4px 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
}
.section-headline {
    text-align: center;
    margin: 4px 4px 12px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.stat-label .glyph { color: var(--gold); }
.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}
.stat-value.gold { color: var(--gold-bright); }

.list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    transition: all 0.16s ease;
}
.list-item:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title {
    font-weight: 700;
    margin-bottom: 4px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.list-item .li-sub {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.list-item .li-action svg { color: var(--text-muted); }
.list-item:hover .li-action svg { color: var(--gold); }
[dir="rtl"] .list-item .li-action svg { transform: scaleX(-1); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    color: var(--text-muted);
}
.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
}
.badge.is-active { color: var(--green); border-color: rgba(127,201,135,0.32); background: var(--green-soft); }
.badge.is-active::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.badge.is-warn   { color: var(--yellow); border-color: rgba(226,184,90,0.32); background: var(--yellow-soft); }
.badge.is-warn::before { background: var(--yellow); }
.badge.is-danger { color: var(--red); border-color: rgba(217,112,112,0.32); background: var(--red-soft); }
.badge.is-danger::before { background: var(--red); }
.badge.is-gold   { color: var(--gold); border-color: var(--border-strong); background: var(--gold-soft); }
.badge.is-gold::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    margin: 8px 0 6px;
}
.progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-fill.is-warn { background: linear-gradient(90deg, var(--yellow), #f0c970); }
.progress-fill.is-danger { background: linear-gradient(90deg, var(--red), #e88a8a); }

.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    margin-bottom: 14px;
}
.step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-dim);
}
.step .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    color: var(--text-dim);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid var(--border);
}
.step.is-active .dot { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.step.is-active { color: var(--gold-bright); }
.step.is-done .dot { background: var(--gold-soft); color: var(--gold); }

.plan {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    transition: all 0.16s ease;
    cursor: pointer;
    text-align: start;
    width: 100%;
    color: inherit;
}
.plan:hover { border-color: var(--border-strong); }
.plan.is-selected {
    border-color: var(--gold);
    background: linear-gradient(180deg, var(--gold-soft), transparent);
}
.plan-info { flex: 1; min-width: 0; }
.plan-title { font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.plan-price {
    text-align: end;
    flex-shrink: 0;
}
.plan-price .amt {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--gold-bright);
    font-size: 16px;
    white-space: nowrap;
}
.plan-price .unit {
    font-size: 11px;
    color: var(--text-dim);
}

.range-row { display: grid; gap: 14px; }
.range-row label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    color: var(--text-muted);
}
.range-row label .v { font-family: var(--font-mono); color: var(--gold-bright); font-weight: 700; }
.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    outline: none;
}
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #1a1612;
    box-shadow: 0 0 0 1px var(--gold);
    cursor: pointer;
}
.range-input::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #1a1612;
    box-shadow: 0 0 0 1px var(--gold);
    cursor: pointer;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
}
.pager-info { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

.skeleton {
    background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}
.skeleton-row { height: 64px; margin-bottom: 10px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty {
    text-align: center;
    padding: 36px 16px;
    border: 1px dashed var(--border);
    border-radius: var(--r-md);
    color: var(--text-muted);
}
.empty .glyph { color: var(--gold); font-family: var(--font-mono); font-size: 24px; display: block; margin-bottom: 8px; }
.empty h3 { margin: 0 0 6px; color: var(--text); font-size: 16px; }

.toast-host {
    position: fixed;
    inset-inline: 16px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 80px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 13px;
    box-shadow: var(--shadow-1);
    animation: slideUp 0.25s ease;
    max-width: 100%;
    word-break: break-word;
}
.toast.is-success { border-color: rgba(127,201,135,0.4); }
.toast.is-error   { border-color: rgba(217,112,112,0.4); }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.tabbar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 10px calc(env(safe-area-inset-bottom, 0px) + 8px);
    background: rgba(10, 9, 7, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-top: 1px solid var(--border);
}
.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px;
    color: var(--text-dim);
    border-radius: var(--r-sm);
    transition: color 0.18s ease;
}
.tab span {
    font-size: 10px;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}
.tab.is-active { color: var(--gold); }
.tab-cta {
    color: var(--text-muted);
}
.tab-cta.is-active { color: var(--gold); }

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.codeblock {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    word-break: break-all;
    white-space: pre-wrap;
    max-height: 220px;
    overflow-y: auto;
}
.copy-btn {
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.16s ease;
}
.copy-btn:hover { background: var(--gold-soft); color: var(--gold); border-color: var(--border-strong); }

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    margin-bottom: 12px;
    align-self: flex-start;
}
.page-back:hover { color: var(--gold); border-color: var(--border-strong); }
[dir="rtl"] .page-back svg { transform: scaleX(-1); }

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.form-row label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.form-row input, .form-row textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    width: 100%;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--gold); }

.row-spread { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.mono { font-family: var(--font-mono); }
.gold { color: var(--gold-bright); }
.flex { display: flex; gap: 10px; }
.flex.col { flex-direction: column; }
.gap-sm { gap: 6px; }
.gap-md { gap: 10px; }
.gap-lg { gap: 16px; }
.mt-sm { margin-top: 8px; } .mt-md { margin-top: 14px; } .mt-lg { margin-top: 20px; }
.mb-sm { margin-bottom: 8px; } .mb-md { margin-bottom: 14px; } .mb-lg { margin-bottom: 20px; }
.hidden { display: none !important; }

@media (max-width: 380px) {
    .hero-title { font-size: 26px; }
    .stat-grid { grid-template-columns: 1fr; }
}

html, body, button, input, select, textarea,
.kv-label, .kv-value, .stat-label, .stat-value,
.section-title, .section-headline, .hero-tag, .hero-title, .hero-subtitle,
.tab span, .badge, .btn, .chip, .empty h3, .empty p,
.window-url, .li-title, .li-sub, .plan-title, .plan-meta,
.toast, .pager-info, .copy-btn, .page-back {
    font-family: var(--font-sans);
}

.mono, .input-mono, .input-mono input, .codeblock,
.hero-tag, .window-url, .badge, .chip, .stat-label,
.kv-value, .pager-info, .plan-meta, .li-sub, .copy-btn,
.page-back, .step span:not(.dot) {
    font-family: var(--font-mono);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 12px 0;
}
@media (min-width: 480px) {
    .theme-grid { grid-template-columns: repeat(3, 1fr); }
}
.theme-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    text-align: start;
    transition: all 0.16s ease;
    cursor: pointer;
    width: 100%;
}
.theme-tile:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-tile.is-active {
    border-color: var(--accent, var(--gold));
    background: linear-gradient(180deg, var(--accent-soft, var(--gold-soft)), transparent);
}
.theme-tile.is-active .theme-name { color: var(--accent-bright, var(--gold-bright)); font-weight: 700; }
.theme-swatch {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.theme-name { font-size: 14px; font-family: var(--font-sans); }

.accent { color: var(--accent-bright, var(--gold-bright)); }
.gold   { color: var(--accent-bright, var(--gold-bright)); }

.btn-primary {
    background: var(--accent, var(--gold));
    color: #1a1612;
    box-shadow: 0 6px 18px var(--accent-soft-2, rgba(212,184,120,0.22));
}
.btn-primary:hover { background: var(--accent-bright, var(--gold-bright)); }
.brand-mark {
    background: linear-gradient(135deg, var(--accent, var(--gold)), color-mix(in oklab, var(--accent, var(--gold)) 70%, #000) 70%);
    box-shadow: 0 4px 14px var(--accent-soft-2, rgba(212,184,120,0.25));
}
.tab.is-active, .tab-cta.is-active { color: var(--accent, var(--gold)); }
.brand-name { color: var(--text); }
.section-title { color: var(--accent, var(--gold)); }
.hero-title .accent { color: var(--accent, var(--gold)); }
.input-mono::before { color: var(--accent, var(--gold)); }
.input-mono:focus-within { border-color: var(--accent, var(--gold)); }
.chip:hover { background: var(--accent-soft, var(--gold-soft)); }
.chip.is-active { border-color: var(--accent, var(--gold)); background: var(--accent-soft, var(--gold-soft)); color: var(--accent-bright, var(--gold-bright)); }
.chip.is-active .glyph { color: var(--accent, var(--gold)); }
.stat-label .glyph { color: var(--accent, var(--gold)); }
.icon-btn:hover, .icon-btn:active { color: var(--accent, var(--gold)); background: var(--accent-soft, var(--gold-soft)); }
.list-item:hover .li-action svg { color: var(--accent, var(--gold)); }
.progress-fill { background: linear-gradient(90deg, var(--accent, var(--gold)), var(--accent-bright, var(--gold-bright))); }
.step.is-active .dot { background: var(--accent, var(--gold)); color: var(--on-accent); border-color: var(--accent, var(--gold)); }
.step.is-active { color: var(--accent-bright, var(--gold-bright)); }
.step.is-done .dot { background: var(--accent-soft, var(--gold-soft)); color: var(--accent, var(--gold)); }
.plan.is-selected { border-color: var(--accent, var(--gold)); background: linear-gradient(180deg, var(--accent-soft, var(--gold-soft)), transparent); }
.plan-price .amt { color: var(--accent-bright, var(--gold-bright)); }
.range-input::-webkit-slider-thumb { background: var(--accent, var(--gold)); box-shadow: 0 0 0 1px var(--accent, var(--gold)); }
.range-input::-moz-range-thumb { background: var(--accent, var(--gold)); box-shadow: 0 0 0 1px var(--accent, var(--gold)); }
.range-row label .v { color: var(--accent-bright, var(--gold-bright)); }
.kv-value.gold, .kv-value.accent { color: var(--accent-bright, var(--gold-bright)); }
.copy-btn:hover { background: var(--accent-soft, var(--gold-soft)); color: var(--accent, var(--gold)); }
.empty .glyph { color: var(--accent, var(--gold)); }
.page-back:hover { color: var(--accent, var(--gold)); }
.brand-mark { color: #1a1612; }

@media (max-width: 380px) {
    .app-shell { padding-left: 12px; padding-right: 12px; padding-bottom: 88px; }
    .card-body { padding: 14px; }
    .hero-title { font-size: 24px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat { padding: 10px 12px; }
    .stat-value { font-size: 16px; }
    .btn { padding: 11px 16px; font-size: 13px; }
    .tab svg { width: 20px; height: 20px; }
    .tab span { font-size: 9px; }
    .codeblock { font-size: 11px; padding: 10px 12px; max-height: 180px; }
    .copy-btn { font-size: 10px; padding: 3px 8px; }
    .stepper { padding: 10px 8px; gap: 4px; }
    .step span:not(.dot) { display: none; }
    .step .dot { width: 26px; height: 26px; font-size: 12px; }
    .plan { padding: 12px; gap: 10px; }
    .plan-price .amt { font-size: 14px; }
    .list-item { padding: 12px; }
    .list-item .li-title { font-size: 14px; }
    .list-item .li-sub { font-size: 11px; }
}

@media (max-width: 480px) {
    .stepper {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .stepper::-webkit-scrollbar { display: none; }
    .step {
        flex: 0 0 auto;
        font-size: 11px;
    }
}

@media (min-width: 720px) {
    .app-shell { max-width: 760px; }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
    .app-shell { max-width: 800px; padding-bottom: 100px; }
    .tabbar { max-width: 800px; }
    .hero-title { font-size: 32px; }
}

@media (min-width: 1200px) {
    .app-shell { max-width: 960px; }
    .tabbar    { max-width: 960px; }
    .card-body { padding: 22px; }
    .stat       { padding: 14px 16px; }
    .stat-value { font-size: 22px; }
    .btn        { font-size: 15px; padding: 13px 22px; }
}

@media (max-width: 520px) {
    .row-spread.gap-sm:has(.btn-block + .btn-block) {
        flex-direction: column;
        align-items: stretch;
    }
    .row-spread.gap-sm > .btn-block { flex: 1 1 auto; width: 100%; }
}

@media (max-width: 520px) {
    .stack-on-mobile { flex-direction: column; align-items: stretch; }
    .stack-on-mobile > .btn-block { width: 100%; flex: 1 1 auto; }
}

.btn, .icon-btn, .tab, .chip, .copy-btn, .theme-tile, .plan, .list-item, .page-back {
    min-height: 40px;
}
.icon-btn { min-width: 40px; }

.row-spread > .btn-block { flex: 1 1 0; }

.form-row input, .form-row textarea, .input-mono input {
    max-width: 100%;
    font-size: 16px; 
}
@media (min-width: 480px) {
    .form-row input, .form-row textarea, .input-mono input { font-size: 14px; }
}

.tabbar {
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.codeblock { overflow-wrap: break-word; word-break: break-all; }

.view { min-height: 60vh; }

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}
@media (min-width: 480px) {
    .action-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 720px) {
    .action-grid { grid-template-columns: repeat(4, 1fr); }
}
.action-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.16s ease;
    font-family: var(--font-sans);
    min-height: 76px;
    text-align: center;
}
.action-tile:hover:not(:disabled) {
    border-color: var(--border-strong);
    background: var(--accent-soft);
    transform: translateY(-1px);
}
.action-tile:active:not(:disabled) { transform: translateY(0); }
.action-tile.is-disabled,
.action-tile:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.action-tile.is-danger:hover:not(:disabled) {
    border-color: rgba(229, 115, 115, 0.5);
    background: rgba(229, 115, 115, 0.08);
}
.action-icon { font-size: 22px; line-height: 1; }
.action-label { font-size: 12px; line-height: 1.3; color: var(--text); }

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.pay-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.16s ease;
    font-family: var(--font-sans);
    width: 100%;
    text-align: start;
}
.pay-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}
.pay-card.is-selected {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--accent-soft), transparent);
}
.pay-icon {
    font-size: 22px;
    line-height: 1;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}
.pay-label {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}
.pay-arrow {
    color: var(--accent);
    font-size: 18px;
    opacity: 0.7;
}

.btn-accent {
    background: var(--accent-soft-2);
    color: var(--accent-bright);
    border: 1px solid var(--border-strong);
}
.btn-accent:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent-bright);
}

.gap-sm { gap: 8px; }
.gap-md { gap: 12px; }

.ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
    color: currentColor;
}
.ico-sm   { width: 0.85em; height: 0.85em; }
.ico-lg   { width: 1.3em;  height: 1.3em;  }
.ico-xl   { width: 1.7em;  height: 1.7em;  }
.ico-xxl  { width: 2.4em;  height: 2.4em;  }

.ico-accent { color: var(--accent); }
.ico-muted  { color: var(--muted); }
.ico-danger { color: #ef4444; }
.ico-warn   { color: #f59e0b; }
.ico-success{ color: #10b981; }

.ico-leading  { margin-inline-end: 6px; }
.ico-trailing { margin-inline-start: 6px; }

.action-tile .ico { font-size: 22px; }
.action-tile .ico-accent { color: var(--accent); }

.pay-card .ico { font-size: 22px; }
.pay-card .ico-accent { color: var(--accent); }

.crypto-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    margin-inline-end: 8px;
    flex-shrink: 0;
}
.crypto-ico .ico {
    width: 22px;
    height: 22px;
}
.crypto-ico .crypto-svg {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.kv-label .ico,
.stat-label .ico {
    color: var(--accent);
    margin-inline-end: 4px;
}

.btn .ico { font-size: 16px; }
.btn-primary .ico { color: inherit; }

.tab .ico { font-size: 20px; }

.glyph .ico { vertical-align: 0; }

svg.ic {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    color: inherit;
    fill: none;
}
svg.ic-accent { color: var(--accent, var(--gold)); }
svg.ic-muted  { color: var(--muted, #708599); opacity: 0.85; }

.kv-label svg.ic,
.stat-label svg.ic,
.section-title svg.ic,
.section-headline svg.ic,
.muted svg.ic {
    margin-inline-start: 0;
    margin-inline-end: 6px;
    color: var(--accent, var(--gold));
    opacity: 0.9;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}
.btn-with-icon svg.ic {
    flex-shrink: 0;
    color: currentColor;
}
.btn-with-icon span {
    line-height: 1.2;
    display: inline-block;
}

.action-tile .action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, var(--gold));
    margin-bottom: 2px;
}
.action-tile.is-danger .action-icon {
    color: #e57373;
}
.action-tile.is-disabled .action-icon {
    color: var(--muted, #708599);
    opacity: 0.5;
}

.pay-card .pay-icon {
    color: var(--accent, var(--gold));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pay-card .pay-arrow {
    color: var(--accent, var(--gold));
    display: inline-flex;
    align-items: center;
    transform: rotate(180deg); 
    opacity: 0.6;
}
[dir="rtl"] .pay-card .pay-arrow { transform: rotate(180deg); }

.page-back svg.ic {
    color: currentColor;
    margin-inline-end: 4px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.copy-btn svg.ic { color: currentColor; }

.icon-btn svg { color: currentColor; }

.qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin: 8px 0;
    background: transparent;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}
.qr-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    image-rendering: crisp-edges;
    border-radius: calc(var(--r-md) - 4px);
}

.cart-info-card {
    background: transparent;
    border: 0;
    padding-left: 0;
    padding-right: 0;
}
.cart-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 12px 0 4px;
}
.cart-banner h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.callout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin-top: 10px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    border: 1px solid var(--border-strong);
    font-size: 13px;
    line-height: 1.6;
}
.callout .ico { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.receipt-upload-zone {
    margin-top: 16px;
    padding: 14px;
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
}
.receipt-preview-img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 10px auto;
    border-radius: var(--r-md);
    border: 1px solid var(--border-strong);
}
.hidden { display: none !important; }

 

:root{
  color-scheme: dark;
  --bg:#0a0a16; --bg:color-mix(in oklab, var(--accent) 8%, #07070f); --bg-soft:#0e0e1c; --bg-soft:color-mix(in oklab, var(--accent) 10%, #0b0b14); --surface:#16162a; --surface:color-mix(in oklab, var(--accent) 13%, #101018); --surface-2:#1c1c34; --surface-2:color-mix(in oklab, var(--accent) 16%, #15151f); --surface-3:#242442; --surface-3:color-mix(in oklab, var(--accent) 20%, #1b1b27);
  --text:#eef1f7; --text-muted:#aeb4c4; --text-dim:#7b8194;
  --border:rgba(255,255,255,0.12); --border-strong:rgba(255,255,255,0.24);

  --glass:          rgba(255,255,255,0.06);
  --glass-2:        rgba(255,255,255,0.09);
  --glass-border:   rgba(255,255,255,0.14);
  --glass-shadow:   0 1px 0 rgba(255,255,255,0.20) inset, 0 26px 64px rgba(0,0,0,0.48);

  --r-sm:14px; --r-md:18px; --r-lg:26px; --r-xl:34px;

  --gold:#7c5cff; --gold-bright:#a98bff;
  --accent:#7c5cff; --accent-bright:#a98bff;
  --accent-ink:#3e2e7f;
  --gold-soft:rgba(124,92,255,0.16); --gold-soft-2:rgba(124,92,255,0.28);
  --accent-soft:rgba(124,92,255,0.16); --accent-soft-2:rgba(124,92,255,0.28);
  --accent-glow:rgba(124,92,255,0.40);

  --on-accent:#14121d;

  --green:#54e39b; --green-soft:rgba(84,227,155,0.16);
}

[data-mode="light"]{
  color-scheme: light;
  --bg:#eaedf8; --bg-soft:#e3e7f3; --surface:#ffffff; --surface-2:#f5f7fc; --surface-3:#eef1f8;
  --text:#191b29; --text-muted:#565b70; --text-dim:#8a8fa3;
  --border:rgba(20,24,55,0.10); --border-strong:rgba(20,24,55,0.18);

  --glass:          rgba(255,255,255,0.55);
  --glass-2:        rgba(255,255,255,0.70);
  --glass-border:   rgba(255,255,255,0.70);
  --glass-shadow:   0 1px 0 rgba(255,255,255,0.80) inset, 0 18px 44px rgba(20,24,55,0.12);

  --green:#1f9d57; --green-soft:rgba(34,160,90,0.14);
}

body{
  color:var(--text);
  background:var(--bg);
  background-image:
    radial-gradient(820px 560px at 10% -8%, var(--accent-glow), transparent 55%),
    radial-gradient(760px 560px at 96% 6%, var(--accent-soft-2), transparent 55%),
    radial-gradient(900px 680px at 50% 120%, var(--accent-glow), transparent 58%);
  background-attachment:fixed;
}
[data-mode="light"] body{
  background-image:
    radial-gradient(820px 520px at 12% -10%, var(--accent-glow), transparent 60%),
    radial-gradient(720px 520px at 95% 4%, rgba(255,120,190,0.16), transparent 62%),
    radial-gradient(820px 560px at 50% 120%, rgba(70,150,255,0.16), transparent 60%);
}

.app-header{ border-bottom:1px solid var(--border); padding-bottom:16px; }
.brand-name{ color:var(--text); letter-spacing:1.2px; }
.brand-mark{
  background:linear-gradient(135deg,var(--accent-bright),var(--accent));
  color:var(--on-accent); border-radius:14px;
  box-shadow:0 8px 26px var(--accent-soft-2), 0 1px 0 rgba(255,255,255,0.25) inset;
}
.icon-btn{
  background:var(--glass); border:1px solid var(--glass-border); color:var(--text-muted);
  border-radius:14px; backdrop-filter:blur(18px) saturate(160%); -webkit-backdrop-filter:blur(18px) saturate(160%);
}
.icon-btn:hover,.icon-btn:active{ color:var(--accent-bright); border-color:var(--border-strong); background:var(--glass-2); }
[data-mode="light"] .icon-btn:hover{ color:var(--accent-ink); }

.card,.toast{
  background:var(--glass);
  backdrop-filter:blur(22px) saturate(165%); -webkit-backdrop-filter:blur(22px) saturate(165%);
  border:1px solid var(--glass-border);
}
.empty,.stepper,.plan,.input-mono,.theme-tile,.btn-ghost,.btn-accent,.pay-card,.action-tile,.list-item,.seg{
  background:var(--glass-2);
  border:1px solid var(--glass-border);
}
.card{ border-radius:var(--r-lg); box-shadow:var(--glass-shadow); }
.card-window{ background:var(--glass); }
.card-body{ padding:22px; }
.card-section + .card-section{ border-top:1px solid var(--border); }
 
#pay-form-host:not(:empty), #pay-result-host:not(:empty){ display:block; margin-top:14px; }

.info-card::before,.info-card::after{ background:var(--accent); opacity:0.18; }
.info-gauge-track{ stroke:var(--border-strong); }
.info-gauge-fill{ stroke:var(--accent-bright); filter:drop-shadow(0 0 9px var(--accent-soft-2)); }
[data-mode="light"] .info-gauge-fill{ stroke:var(--accent); }

.btn{ border-radius:999px; padding:14px 22px; letter-spacing:0.2px; }
.btn-primary{
  background:linear-gradient(135deg,var(--accent-bright),var(--accent));
  color:var(--on-accent); border:1px solid rgba(255,255,255,0.25);
  box-shadow:0 12px 32px var(--accent-soft-2), 0 1px 0 rgba(255,255,255,0.32) inset;
}
.btn-primary:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.btn-primary:active{ transform:translateY(0); }
.btn-ghost{ color:var(--text); }
.btn-ghost:hover{ border-color:var(--border-strong); background:var(--glass-2); }
.btn-accent{ color:var(--accent-bright); background:var(--accent-soft); border:1px solid var(--border-strong); }
[data-mode="light"] .btn-accent{ color:var(--accent-ink); }
.btn-accent:hover{ background:var(--accent-soft-2); border-color:var(--accent); }

.plan{ border-radius:var(--r-md); }
.plan:hover{ border-color:var(--border-strong); transform:translateY(-1px); }
.plan.is-selected{
  border-color:var(--accent);
  background:linear-gradient(180deg,var(--accent-soft-2),transparent 72%), var(--glass);
  box-shadow:0 0 0 1px var(--accent), 0 14px 32px var(--accent-soft);
}
.plan-title{ font-size:15px; }
.plan-price .amt{ font-size:17px; color:var(--accent-bright); }
[data-mode="light"] .plan-price .amt{ color:var(--accent-ink); }
.plan-price .unit{ color:var(--text-dim); }

.section-title{ color:var(--accent-bright); letter-spacing:2px; }
[data-mode="light"] .section-title{ color:var(--accent-ink); }
.section-headline{ letter-spacing:-0.2px; }

.stepper{ border-radius:var(--r-md); }
.step .dot{ background:var(--glass-2); border-color:var(--glass-border); color:var(--text-dim); }
.step.is-active .dot{
  background:linear-gradient(135deg,var(--accent-bright),var(--accent));
  color:var(--on-accent); border-color:transparent; box-shadow:0 6px 16px var(--accent-soft-2);
}
.step.is-done .dot{ background:var(--accent-soft); color:var(--accent-bright); border-color:var(--border-strong); }
[data-mode="light"] .step.is-done .dot{ color:var(--accent-ink); }

.badge{ border-radius:999px; background:var(--glass-2); }
.badge.is-active{ color:var(--green); background:var(--green-soft); border-color:var(--border-strong); }
.badge.is-active::before{ background:var(--green); box-shadow:0 0 8px var(--green); }
.badge.is-gold{ background:var(--accent-soft); color:var(--accent-bright); border-color:var(--border-strong); }
[data-mode="light"] .badge.is-gold{ color:var(--accent-ink); }
.badge.is-gold::before{ background:var(--accent); box-shadow:0 0 8px var(--accent); }
.chip{ border-radius:999px; }
.chip:hover{ background:var(--accent-soft); border-color:var(--border-strong); }
.chip.is-active{ border-color:var(--accent); background:var(--accent-soft); color:var(--accent-bright); }
[data-mode="light"] .chip.is-active{ color:var(--accent-ink); }

.input-mono{ border-radius:var(--r-md); padding:13px 16px; }
.input-mono::before{ display:none; }
.input-mono input{ color:var(--text); }
.input-mono:focus-within{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.form-row input,.form-row textarea{ background:var(--glass); border:1px solid var(--glass-border); border-radius:var(--r-md); }
.form-row input:focus,.form-row textarea:focus{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }

.list-item{ border-radius:var(--r-md); }
.list-item:hover{ border-color:var(--border-strong); }
.kv-value.gold,.kv-value.accent{ color:var(--accent-bright); }
[data-mode="light"] .kv-value.gold,[data-mode="light"] .kv-value.accent{ color:var(--accent-ink); }
.progress-fill{ background:linear-gradient(90deg,var(--accent),var(--accent-bright)); }

.empty{ border-radius:var(--r-lg); }
.empty h3{ color:var(--text); }
.empty .glyph{ color:var(--accent-bright); }
[data-mode="light"] .empty .glyph{ color:var(--accent-ink); }

.pay-card{ border-radius:var(--r-md); }
.pay-card.is-selected{ border-color:var(--accent); background:linear-gradient(180deg,var(--accent-soft-2),transparent 72%), var(--glass); box-shadow:0 0 0 1px var(--accent); }
.action-tile{ border-radius:var(--r-md); }
.action-tile:hover:not(:disabled){ background:var(--accent-soft); border-color:var(--border-strong); }

.seg{ display:flex; gap:6px; padding:6px; border-radius:999px; margin:10px 0 4px; }
.seg-btn{
  flex:1; padding:11px 14px; border-radius:999px; border:1px solid transparent;
  background:transparent; color:var(--text-muted); font-weight:700; font-size:14px;
  font-family:var(--font-sans); cursor:pointer; transition:all .18s ease;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
}
.seg-btn:hover{ color:var(--text); }
.seg-btn.is-active{
  background:linear-gradient(135deg,var(--accent-bright),var(--accent));
  color:var(--on-accent); box-shadow:0 8px 20px var(--accent-soft-2);
}

.theme-tile{ border-radius:var(--r-md); }
.theme-tile:hover{ border-color:var(--border-strong); }
.theme-tile.is-active{
  border-color:var(--accent);
  background:linear-gradient(180deg,var(--accent-soft-2),transparent 75%), var(--glass);
  box-shadow:0 0 0 1px var(--accent);
}
.theme-tile.is-active .theme-name{ color:var(--accent-bright); }
[data-mode="light"] .theme-tile.is-active .theme-name{ color:var(--accent-ink); }
.theme-name{ color:var(--text); }
.theme-swatch{ width:30px; height:30px; box-shadow:0 2px 10px rgba(0,0,0,0.4); }

.tabbar{
  inset-inline:12px;
  bottom:calc(env(safe-area-inset-bottom, 0px) + 12px);
  padding:8px 8px;
  background:var(--glass);
  backdrop-filter:blur(28px) saturate(170%); -webkit-backdrop-filter:blur(28px) saturate(170%);
  border:1px solid var(--glass-border);
  border-radius:26px;
  box-shadow:0 14px 38px rgba(0,0,0,0.45);
}
[data-mode="light"] .tabbar{ box-shadow:0 14px 34px rgba(20,24,55,0.14); }
 
.app-shell{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 104px); }
.tab{ position:relative; color:var(--text-dim); border-radius:18px; }
.tab.is-active{ color:var(--accent-bright); }
[data-mode="light"] .tab.is-active{ color:var(--accent-ink); }
.tab.is-active::before{
  content:""; position:absolute; top:4px; left:50%; transform:translateX(-50%);
  width:24px; height:3px; border-radius:999px; background:var(--accent);
  box-shadow:0 0 10px var(--accent);
}

[data-theme="purple"] .btn-primary,
[data-theme="purple"] .brand-mark,
[data-theme="purple"] .step.is-active .dot,
[data-theme="purple"] .seg-btn.is-active{ color:#ffffff; }

.card{ position:relative; box-shadow:0 20px 50px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08); }
.card:not(.info-card)::before{ content:""; position:absolute; inset:0 0 auto 0; height:130px; pointer-events:none; border-radius:inherit; background:radial-gradient(120% 100% at 72% 0%, var(--accent-soft-2), transparent 72%); }
.card-body{ position:relative; }
.brand-mark{ border-radius:14px; box-shadow:0 8px 22px var(--accent-soft-2), 0 0 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.28); }
.icon-btn{ border-radius:13px; }
.btn{ border-radius:16px; }
.btn-primary{ background:var(--accent); background:linear-gradient(180deg, color-mix(in oklab, var(--accent-bright) 92%, transparent), color-mix(in oklab, var(--accent) 82%, transparent) 60%, color-mix(in oklab, var(--accent) 70%, #000) 100%); color:var(--on-accent); border:1px solid rgba(255,255,255,0.22); min-height:54px; box-shadow:0 14px 34px var(--accent-soft-2), 0 0 28px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(0,0,0,0.22); }
.btn-primary:hover{ transform:translateY(-1px); filter:brightness(1.05); }
.btn-primary:active{ transform:translateY(0) scale(0.99); }
.btn-accent, .btn-ghost{ min-height:56px; justify-content:flex-start; gap:12px; padding:12px 14px; color:var(--text); border:1px solid var(--glass-border); border-radius:16px; box-shadow:0 10px 26px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06); }
.btn-accent:hover, .btn-ghost:hover{ transform:translateY(-2px); border-color:var(--border-strong); background:var(--glass); box-shadow:0 16px 36px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.07); }
.btn-accent:active, .btn-ghost:active{ transform:translateY(0) scale(0.99); }
.btn-accent > .ico-leading, .btn-ghost > .ico-leading{ width:36px; height:36px; padding:8px; box-sizing:border-box; margin-inline-end:12px; border-radius:11px; color:#f3f6ff; background:linear-gradient(155deg, color-mix(in oklab, var(--accent) 50%, transparent), color-mix(in oklab, var(--accent) 22%, transparent)); border:1px solid var(--border-strong); box-shadow:0 0 16px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.16); transition:transform 0.18s ease; }
.btn-accent:hover > .ico-leading, .btn-ghost:hover > .ico-leading{ transform:translateY(-1px) scale(1.06); }
.tabbar{ box-shadow:0 16px 44px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08); }
.tab{ border-radius:16px; }
.tab.is-active{ background:linear-gradient(180deg, var(--accent-bright), var(--accent)); color:var(--on-accent); box-shadow:0 6px 16px var(--accent-soft-2), inset 0 1px 0 rgba(255,255,255,0.22); }
.tab.is-active span{ color:var(--on-accent); }
.tab.is-active::before{ display:none; }
.plan, .pay-card, .list-item, .theme-tile, .action-tile{ border:1px solid var(--glass-border); border-radius:16px; box-shadow:0 8px 22px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05); }
.form-row input, .form-row textarea, .input-mono{ border:1px solid var(--glass-border); border-radius:14px; }
.form-row input:focus, .form-row textarea:focus, .input-mono:focus-within{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.kv-value.accent, .kv-value.gold{ text-shadow:0 0 14px var(--accent-glow); }
@keyframes viewRise{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
.view > *{ animation:viewRise .5s cubic-bezier(.2,.7,.2,1) both; }
.view > *:nth-child(1){ animation-delay:.02s; }
.view > *:nth-child(2){ animation-delay:.08s; }
.view > *:nth-child(3){ animation-delay:.14s; }
.view > *:nth-child(4){ animation-delay:.20s; }
.view > *:nth-child(5){ animation-delay:.26s; }
.view > *:nth-child(6){ animation-delay:.32s; }
.view > *:nth-child(n+7){ animation-delay:.36s; }
.btn, .icon-btn, .chip, .pay-card, .plan, .action-tile, .list-item, .theme-tile, .tab, .seg-btn{ transition:transform .16s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease, background .18s ease, border-color .18s ease, color .16s ease; }
.btn:active{ transform:scale(.97); }
.icon-btn:active{ transform:scale(.92); }
.btn:focus-visible, .icon-btn:focus-visible, .tab:focus-visible, .chip:focus-visible{ outline:none; box-shadow:0 0 0 3px var(--accent-soft); }
.btn-primary{ position:relative; overflow:hidden; }
.btn-primary::after{ content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg, transparent 32%, rgba(255,255,255,0.26) 50%, transparent 68%); transform:translateX(-130%); transition:transform .6s ease; }
.btn-primary:hover::after{ transform:translateX(130%); }
.pay-card:hover, .plan:hover, .list-item:hover, .theme-tile:hover{ transform:translateY(-2px); }
.tab.is-active{ animation:tabPop .22s ease; }
@keyframes tabPop{ from{ transform:scale(.94); } to{ transform:scale(1); } }
.badge.is-active::before{ animation:dotPulse 2.2s ease-in-out infinite; }
@keyframes dotPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(.8); } }
@media (prefers-reduced-motion: reduce){ .view > *{ animation:none; } .btn-primary::after{ display:none; } .badge.is-active::before{ animation:none; } .tab.is-active{ animation:none; } #action-panel-host > *{ animation:none; } .btn, .icon-btn, .chip, .pay-card, .plan, .action-tile, .list-item, .theme-tile, .tab, .seg-btn{ transition-duration:1ms; } }
.app-shell{ padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 92px); }
@media (max-width: 479px){ .action-grid > *:last-child:nth-child(odd){ grid-column:1 / -1; } }
@keyframes panelPop{ from{ opacity:0; transform:translateY(8px) scale(0.98); } to{ opacity:1; transform:none; } }
#action-panel-host > *{ position:relative; margin-top:14px; padding:8px; border:1px solid var(--border-strong); border-radius:18px; background:#0e0e18; background:color-mix(in oklab, var(--accent) 12%, #0d0d17); box-shadow:0 18px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.07); animation:panelPop .26s cubic-bezier(.2,.7,.2,1) both; }
#action-panel-host .empty{ background:transparent; border:none; box-shadow:none; padding:20px 16px; }
.card:has(#action-panel-host .ico-success){ backdrop-filter:none; -webkit-backdrop-filter:none; }
#action-panel-host:has(.ico-success){ position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:20px; }
#action-panel-host:has(.ico-success)::before{ content:""; position:fixed; inset:0; background:rgba(4,4,10,0.6); backdrop-filter:blur(8px) saturate(120%); -webkit-backdrop-filter:blur(8px) saturate(120%); }
#action-panel-host:has(.ico-success) > *{ margin-top:0; width:100%; max-width:440px; max-height:84vh; overflow:auto; -webkit-overflow-scrolling:touch; }
:root{ --glass:rgba(255,255,255,0.08); --glass-2:rgba(255,255,255,0.10); --glass-border:rgba(255,255,255,0.20); }
.card, .toast{ background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02) 30%, transparent 60%), var(--glass); backdrop-filter:blur(36px) saturate(190%) brightness(1.05); -webkit-backdrop-filter:blur(36px) saturate(190%) brightness(1.05); }
.tabbar{ backdrop-filter:blur(32px) saturate(180%); -webkit-backdrop-filter:blur(32px) saturate(180%); }
.icon-btn{ backdrop-filter:blur(28px) saturate(180%); -webkit-backdrop-filter:blur(28px) saturate(180%); }
.btn-accent, .btn-ghost, .plan, .pay-card, .list-item, .theme-tile, .action-tile, .input-mono, .form-row input, .form-row textarea, .seg, .stepper, .empty{ background:linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 42%), var(--glass-2); }
#action-panel-host:has(.ico-success)::before{ backdrop-filter:blur(16px) saturate(140%); -webkit-backdrop-filter:blur(16px) saturate(140%); }
.btn, .action-tile, .list-item, .plan, .pay-card, .theme-tile, .chip, .icon-btn{ position:relative; overflow:hidden; -webkit-tap-highlight-color:transparent; }
.fx-ripple{ position:absolute; border-radius:50%; transform:scale(0); pointer-events:none; background:radial-gradient(circle, rgba(255,255,255,0.42), rgba(255,255,255,0.12) 60%, transparent 70%); mix-blend-mode:screen; animation:fxRipple .62s cubic-bezier(.16,1,.3,1) forwards; }
.btn-primary .fx-ripple{ background:radial-gradient(circle, rgba(8,8,16,0.30), rgba(8,8,16,0.10) 60%, transparent 70%); mix-blend-mode:normal; }
@keyframes fxRipple{ to{ transform:scale(2.6); opacity:0; } }
.btn, .action-tile, .list-item, .plan, .pay-card, .theme-tile, .chip, .icon-btn{ transition: transform .18s cubic-bezier(.34,1.56,.54,1), box-shadow .22s cubic-bezier(.2,.7,.2,1), border-color .2s, background .2s, filter .15s; }
.btn:active:not(:disabled){ transform: scale(.965); }
.btn-primary:active:not(:disabled){ filter: brightness(1.06); }
.action-tile:active:not(:disabled){ transform: translateY(2px) scale(.97); }
.list-item:active, .plan:active, .pay-card:active, .theme-tile:active, .chip:active{ transform: scale(.985); }
.icon-btn:active{ transform: scale(.9); }
.action-tile .action-icon, .action-tile .ico{ transition: transform .3s cubic-bezier(.34,1.56,.54,1); will-change: transform; }
.action-tile:active:not(:disabled) .action-icon, .action-tile:active:not(:disabled) .ico{ transform: translateY(-3px) scale(1.12) rotate(-4deg); }
.card{ transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
@media (hover:hover){ .list-item:hover, .plan:hover, .pay-card:hover, .theme-tile:hover, .action-tile:hover:not(:disabled){ transform: translateY(-2px); } }
.plan.is-selected, .chip.is-active, .theme-tile.is-active{ animation: fxSelect .34s cubic-bezier(.34,1.56,.54,1); }
@keyframes fxSelect{ 0%{ transform:scale(.96); } 60%{ transform:scale(1.03); } 100%{ transform:scale(1); } }
.tab svg, .tab-cta svg{ transition: transform .35s cubic-bezier(.34,1.56,.54,1); }
.tab:active svg, .tab-cta:active svg{ transform: scale(.86); }
.tab.is-active svg, .tab-cta.is-active svg{ transform: translateY(-2px) scale(1.1); }
.form-row input, .form-row textarea, .input-mono{ transition: border-color .2s, box-shadow .25s, background .2s; }
.form-row input:focus, .form-row textarea:focus, .input-mono:focus{ box-shadow: 0 0 0 3px var(--accent-soft, rgba(124,92,255,0.14)), 0 0 22px -6px var(--accent-glow, rgba(124,92,255,0.4)); }
.action-grid > *{ animation: fxRise .5s cubic-bezier(.16,1,.3,1) both; }
.action-grid > *:nth-child(1){ animation-delay:.03s; }
.action-grid > *:nth-child(2){ animation-delay:.07s; }
.action-grid > *:nth-child(3){ animation-delay:.11s; }
.action-grid > *:nth-child(4){ animation-delay:.15s; }
.action-grid > *:nth-child(5){ animation-delay:.19s; }
.action-grid > *:nth-child(n+6){ animation-delay:.23s; }
@keyframes fxRise{ from{ opacity:0; transform:translateY(12px) scale(.98); } to{ opacity:1; transform:none; } }
.list-item{ animation: fxRise .5s cubic-bezier(.16,1,.3,1) both; }
.list-item:nth-child(1){ animation-delay:.03s; }
.list-item:nth-child(2){ animation-delay:.08s; }
.list-item:nth-child(3){ animation-delay:.13s; }
.list-item:nth-child(4){ animation-delay:.18s; }
.list-item:nth-child(n+5){ animation-delay:.22s; }
@media (prefers-reduced-motion: reduce){
  .fx-ripple{ display:none !important; }
  .action-grid > *, .list-item, .plan.is-selected, .chip.is-active, .theme-tile.is-active{ animation:none !important; }
}
a, button, .btn, .action-tile, .list-item, .plan, .pay-card, .theme-tile, .chip, .icon-btn, .tab, .tab-cta, .tabbar, .brand-mark, .badge, [role="button"]{ -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
img, svg{ -webkit-touch-callout: none; -webkit-user-drag: none; }
a[data-fx-route]{ cursor: pointer; }
input, textarea, [contenteditable="true"], .selectable, .selectable *{ -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }


/* ===== iTzAYDiN-BOT spacing pass (consistent vertical rhythm) ===== */
#action-panel-host:not(:empty) { margin-top: 16px; }
#renew-confirm-host:not(:empty),
#renew-pay-host:not(:empty),
#extra-pay-host:not(:empty) { margin-top: 14px; }
.plan + .plan { margin-top: 10px; }

/* ===== iTzAYDiN-BOT Mini App polish =====
   Visual-only overrides; application routes/state remain untouched. */
.brand-name {
    font-weight: 800;
    letter-spacing: .1px;
}
.brand-mark {
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.36), transparent 30%),
        linear-gradient(135deg, var(--accent), #8b5cf6 58%, #22d3ee) !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.25) !important;
    font-size:10px;
    font-weight:900;
    letter-spacing:-.3px;
}
.app-header {
    background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 100%);
}
.card {
    border-color: rgba(255,255,255,.11);
}
.action-tile,
.plan,
.pay-card,
.list-item,
.theme-tile {
    border-color: rgba(255,255,255,.10);
}
.action-tile:hover:not(:disabled),
.list-item:hover,
.plan:hover,
.pay-card:hover {
    border-color: var(--accent-mid, rgba(124,92,255,.34));
}
.btn-primary {
    box-shadow: 0 12px 32px var(--accent-soft, rgba(124,92,255,.22));
}
.tabbar {
    border-color: rgba(255,255,255,.13);
}
.window-url {
    direction:ltr;
    letter-spacing:.15px;
}
@media (max-width: 520px) {
    .brand-name { font-size: 14px; }
    .brand-mark { border-radius: 12px; }
}

/* ========================================================================== 
   iTzAYDiN-BOT Mini App — SUPER GLASS / 2026
   Keeps existing IDs/routes and upgrades only the presentation layer.
   ========================================================================== */
:root{
  --itz-panel:rgba(13,17,30,.70);
  --itz-stroke:rgba(255,255,255,.10);
  --itz-stroke-hot:color-mix(in srgb,var(--accent) 42%,rgba(255,255,255,.10));
  --itz-ease:cubic-bezier(.16,1,.3,1);
}
html,body{min-height:100%;background:#070912!important}
body:before,body:after{content:"";position:fixed;pointer-events:none;z-index:-2;border-radius:999px;filter:blur(24px);opacity:.75}
body:before{width:70vw;height:52vw;max-width:620px;max-height:460px;right:-28vw;top:-18vw;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 23%,transparent),transparent 68%)}
body:after{width:64vw;height:52vw;max-width:560px;max-height:440px;left:-32vw;top:32vh;background:radial-gradient(circle,rgba(34,211,238,.10),transparent 70%)}
.app-shell{max-width:760px!important;margin:0 auto;padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));}
.app-header{position:sticky!important;top:0;z-index:80;margin:0 -14px 10px!important;padding:calc(10px + env(safe-area-inset-top,0px)) 16px 10px!important;background:linear-gradient(180deg,rgba(7,9,18,.88),rgba(7,9,18,.54),transparent)!important;backdrop-filter:blur(22px) saturate(160%);-webkit-backdrop-filter:blur(22px) saturate(160%);border:0!important}
.brand{gap:10px!important}.brand-mark{width:39px!important;height:39px!important;border-radius:14px!important;box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 30%,transparent),inset 0 1px rgba(255,255,255,.25)!important}.brand-name{font-size:15px!important;font-weight:900!important;letter-spacing:-.45px!important}
.view{padding-top:3px}.view>*{animation-duration:.46s!important;animation-timing-function:var(--itz-ease)!important}
.card{position:relative!important;border:1px solid var(--itz-stroke)!important;border-radius:24px!important;background:linear-gradient(155deg,rgba(255,255,255,.075),rgba(255,255,255,.018) 38%,transparent 70%),var(--itz-panel)!important;box-shadow:0 22px 70px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.055)!important;backdrop-filter:blur(28px) saturate(165%)!important;-webkit-backdrop-filter:blur(28px) saturate(165%)!important;overflow:hidden}
.card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.035),transparent 28%,transparent 72%,color-mix(in srgb,var(--accent) 4%,transparent))}
.card-window{border-radius:27px!important}.card-window-bar{border-bottom-color:rgba(255,255,255,.07)!important;background:rgba(255,255,255,.018)!important}.dots span{box-shadow:0 0 0 1px rgba(255,255,255,.05)}
.action-grid{gap:10px!important}.action-tile{min-height:102px!important;padding:15px!important;border:1px solid var(--itz-stroke)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018))!important;box-shadow:inset 0 1px rgba(255,255,255,.045);transition:transform .25s var(--itz-ease),border-color .22s,box-shadow .22s!important}
.action-tile .action-icon,.action-tile .ico{filter:drop-shadow(0 8px 16px color-mix(in srgb,var(--accent) 22%,transparent))}.action-tile:hover:not(:disabled){border-color:var(--itz-stroke-hot)!important;box-shadow:0 14px 34px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.065)}
.list-item,.plan,.pay-card,.theme-tile{border:1px solid var(--itz-stroke)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.016))!important}.list-item:hover,.plan:hover,.pay-card:hover,.theme-tile:hover{border-color:var(--itz-stroke-hot)!important}
.btn{min-height:44px;border-radius:15px!important;font-weight:850!important;letter-spacing:-.15px;transition:transform .2s var(--itz-ease),filter .2s,box-shadow .2s!important}.btn-primary{border:1px solid rgba(255,255,255,.14)!important;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 68%,#7c3aed) 58%,#0891b2)!important;box-shadow:0 14px 34px color-mix(in srgb,var(--accent) 25%,transparent),inset 0 1px rgba(255,255,255,.22)!important}.btn-primary:hover{box-shadow:0 18px 42px color-mix(in srgb,var(--accent) 34%,transparent),inset 0 1px rgba(255,255,255,.25)!important}
.input-mono,.form-row input,.form-row textarea,.form-row select,select{min-height:46px;border:1px solid rgba(255,255,255,.11)!important;border-radius:15px!important;background:rgba(4,7,14,.58)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important}.form-row input:focus,.form-row textarea:focus,.form-row select:focus,.input-mono:focus{border-color:color-mix(in srgb,var(--accent) 62%,rgba(255,255,255,.18))!important;background:rgba(6,9,18,.76)!important}
.seg{padding:5px!important;border:1px solid var(--itz-stroke)!important;border-radius:16px!important;background:rgba(2,5,12,.45)!important}.seg-btn{border-radius:12px!important}.seg-btn.is-active{background:color-mix(in srgb,var(--accent) 18%,rgba(255,255,255,.035))!important;box-shadow:inset 0 1px rgba(255,255,255,.06)}
.badge,.chip{border-radius:999px!important;border-color:rgba(255,255,255,.11)!important;background:rgba(255,255,255,.05)!important}.badge.is-active{box-shadow:0 0 0 3px rgba(34,197,94,.035)}
.empty{border:1px dashed rgba(255,255,255,.13)!important;border-radius:20px!important;background:rgba(255,255,255,.022)!important}
.skeleton{position:relative;overflow:hidden;background:rgba(255,255,255,.055)!important}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);animation:itzShimmer 1.45s infinite}@keyframes itzShimmer{100%{transform:translateX(100%)}}
.tabbar{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:560px;margin-inline:auto;padding:7px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:24px!important;background:rgba(10,13,23,.78)!important;box-shadow:0 22px 60px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.065)!important;backdrop-filter:blur(28px) saturate(170%)!important;-webkit-backdrop-filter:blur(28px) saturate(170%)!important}.tab{border-radius:16px!important}.tab.is-active{background:color-mix(in srgb,var(--accent) 12%,rgba(255,255,255,.025))}.tab-cta{border-radius:17px!important;background:linear-gradient(135deg,var(--accent),#7c3aed)!important;box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 28%,transparent)!important}
.toast{border:1px solid rgba(255,255,255,.12)!important;border-radius:17px!important;background:rgba(14,18,31,.88)!important;box-shadow:0 18px 50px rgba(0,0,0,.35)!important}
#action-panel-host>*{border-radius:23px!important;border-color:rgba(255,255,255,.12)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 9%,rgba(10,13,23,.94)),rgba(10,13,23,.94))!important}
@media(max-width:520px){.app-shell{padding-left:11px;padding-right:11px}.app-header{margin-left:-11px!important;margin-right:-11px!important}.card{border-radius:21px!important}.action-tile{min-height:94px!important;border-radius:18px!important}.tabbar{left:8px!important;right:8px!important;border-radius:21px!important}.brand-name{font-size:14.5px!important}}
@media(prefers-reduced-motion:reduce){.skeleton:after{animation:none!important}}

/* ──────────────────────────────────────────────────────────────
   AYCore Mini App — Aurora compatibility layer
   Additive overrides keep the existing route renderer/API stable.
   ────────────────────────────────────────────────────────────── */
:root{
  --ay-glass-glass:rgba(18,18,28,.72);
  --ay-glass-glass-strong:rgba(21,21,34,.90);
  --ay-glass-line:color-mix(in srgb,var(--accent) 17%,rgba(255,255,255,.06));
  --ay-glass-shadow:0 24px 70px rgba(0,0,0,.38);
  --ay-glass-shadow-soft:0 12px 36px rgba(0,0,0,.25);
}
html{background:#080811!important}
body{background:#080811!important;background-image:radial-gradient(520px 360px at 88% -8%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 72%),radial-gradient(420px 340px at -8% 75%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 70%),linear-gradient(180deg,#090912 0%,#07070d 100%)!important}
body::before,body::after{content:"";position:fixed;border-radius:50%;filter:blur(70px);pointer-events:none;z-index:-1;opacity:.3}body::before{width:240px;height:240px;top:12%;right:-120px;background:var(--accent)}body::after{width:180px;height:180px;bottom:12%;left:-95px;background:var(--accent-bright)}
.app-shell{max-width:760px;padding-inline:14px;padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
.app-header{position:sticky;top:calc(env(safe-area-inset-top,0px) + 5px);z-index:30;margin:0 -2px 17px;padding:9px 10px;border:1px solid var(--ay-glass-line)!important;border-radius:18px;background:var(--ay-glass-glass)!important;backdrop-filter:blur(22px) saturate(150%);box-shadow:var(--ay-glass-shadow-soft)}
.brand{min-width:0}.brand-mark{width:38px;height:38px;border-radius:12px!important;background:linear-gradient(145deg,var(--accent-bright),var(--accent))!important;color:var(--on-accent)!important;box-shadow:0 8px 25px color-mix(in srgb,var(--accent) 30%,transparent),inset 0 1px 0 rgba(255,255,255,.25)}.brand-name{font-family:var(--font-sans)!important;font-size:13.5px!important;font-weight:800!important;letter-spacing:.1px!important;text-transform:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.icon-btn{border-radius:12px!important;background:rgba(255,255,255,.035)!important;border-color:var(--ay-glass-line)!important}
.view{gap:13px;animation:v2Enter .28s cubic-bezier(.22,.61,.36,1)}@keyframes v2Enter{from{opacity:0;transform:translateY(8px) scale(.995)}to{opacity:1;transform:none}}
.hero{position:relative;overflow:hidden;padding:19px 17px!important;border:1px solid var(--ay-glass-line);border-radius:24px;background:linear-gradient(140deg,color-mix(in srgb,var(--accent) 10%,var(--ay-glass-glass-strong)),var(--ay-glass-glass));box-shadow:var(--ay-glass-shadow-soft)}.hero::after{content:"iTz";position:absolute;left:-8px;bottom:-34px;font-weight:900;font-size:118px;line-height:1;color:color-mix(in srgb,var(--accent) 7%,transparent);pointer-events:none;letter-spacing:-9px}.hero-tag{margin-bottom:13px!important;background:color-mix(in srgb,var(--accent) 8%,transparent)!important;border-color:var(--ay-glass-line)!important}.hero-title{position:relative;z-index:1;font-size:clamp(25px,8vw,34px)!important;letter-spacing:-.7px!important}.hero-subtitle{position:relative;z-index:1;color:#aaa7ba!important}
.card{border-radius:21px!important;background:linear-gradient(145deg,rgba(24,24,37,.88),rgba(14,14,23,.92))!important;border:1px solid var(--ay-glass-line)!important;box-shadow:var(--ay-glass-shadow-soft)!important;overflow:hidden}.card:hover{border-color:color-mix(in srgb,var(--accent) 30%,rgba(255,255,255,.07))!important}.card-body{padding:16px!important}.card-window-bar{background:rgba(255,255,255,.025)!important;border-bottom-color:var(--ay-glass-line)!important}.window-url{opacity:.68}
.btn{border-radius:13px!important;min-height:44px;font-weight:700!important;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease}.btn:active{transform:scale(.985)}.btn-primary{background:linear-gradient(135deg,var(--accent-bright),var(--accent))!important;color:var(--on-accent)!important;border-color:transparent!important;box-shadow:0 10px 28px color-mix(in srgb,var(--accent) 28%,transparent)!important}.btn-primary:hover{filter:brightness(1.05)}
.input,.select,.textarea,input[type="text"],input[type="number"],input[type="tel"],input[type="password"],select,textarea{border-radius:13px!important;border-color:var(--ay-glass-line)!important;background:rgba(255,255,255,.035)!important}.input:focus,.select:focus,.textarea:focus,input:focus,select:focus,textarea:focus{border-color:var(--accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent)!important}
.tabbar{position:fixed!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(calc(100% - 22px),710px)!important;border:1px solid var(--ay-glass-line)!important;border-radius:21px!important;background:rgba(15,15,24,.82)!important;backdrop-filter:blur(24px) saturate(160%)!important;box-shadow:0 22px 60px rgba(0,0,0,.5)!important;padding:6px!important;overflow:visible!important}.tab{min-height:54px!important;border-radius:15px!important;color:#88869a!important;gap:3px!important}.tab span{font-size:10.5px!important}.tab.active{color:var(--accent-bright)!important;background:color-mix(in srgb,var(--accent) 9%,transparent)!important}.tab-cta{position:relative;background:linear-gradient(145deg,var(--accent-bright),var(--accent))!important;color:var(--on-accent)!important;box-shadow:0 9px 28px color-mix(in srgb,var(--accent) 34%,transparent)!important}.tab-cta.active{color:var(--on-accent)!important}.tab-cta::before{content:"";position:absolute;inset:-3px;border-radius:18px;border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);pointer-events:none}
.service-card,.plan-card,.product-card,.stat-card,.list-item,.option-card{border-radius:17px!important;border-color:var(--ay-glass-line)!important;background:rgba(255,255,255,.027)!important}.badge,.chip,.pill{border-radius:999px!important}.toast{border-radius:15px!important;background:rgba(22,22,34,.94)!important;backdrop-filter:blur(18px);border-color:var(--ay-glass-line)!important}.skeleton{background:linear-gradient(90deg,rgba(255,255,255,.035),color-mix(in srgb,var(--accent) 9%,rgba(255,255,255,.055)),rgba(255,255,255,.035))!important;background-size:220% 100%!important}
@media(max-width:430px){.app-shell{padding-inline:10px}.app-header{border-radius:16px}.brand-name{max-width:175px}.hero{border-radius:20px}.card{border-radius:18px!important}.tabbar{width:calc(100% - 14px)!important;bottom:calc(7px + env(safe-area-inset-bottom,0px))!important}.tab span{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}


/* ──────────────────────────────────────────────────────────────
   AYCore Mini App — Independent command layer
   Visual-only layer; APIs and route contracts stay unchanged.
   ────────────────────────────────────────────────────────────── */
:root{--ay-v5-line:color-mix(in srgb,var(--accent) 21%,rgba(255,255,255,.075));--ay-v5-glass:rgba(14,16,29,.76);--ay-v5-glow:color-mix(in srgb,var(--accent) 24%,transparent)}
body{background-image:radial-gradient(650px 480px at 100% -5%,color-mix(in srgb,var(--accent) 20%,transparent),transparent 68%),radial-gradient(480px 420px at -14% 64%,rgba(99,102,241,.13),transparent 72%),linear-gradient(180deg,#080a13,#06070d 72%)!important}.view{padding-bottom:10px}
.ay-v5-hero{position:relative;overflow:hidden;border:1px solid var(--ay-v5-line);border-radius:28px;padding:21px 19px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 14%,rgba(20,22,38,.94)),rgba(12,14,25,.88));box-shadow:0 30px 90px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.07)}.ay-v5-hero::before{content:"iTz";position:absolute;left:-12px;bottom:-47px;font-size:148px;font-weight:900;letter-spacing:-14px;color:color-mix(in srgb,var(--accent) 7%,transparent);line-height:1;pointer-events:none}.ay-v5-hero-orb{position:absolute;width:170px;height:170px;border-radius:50%;right:-75px;top:-78px;background:var(--accent);filter:blur(52px);opacity:.25;pointer-events:none}.ay-v5-hero-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.ay-v5-live,.ay-v5-mini{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;border:1px solid var(--ay-v5-line);background:rgba(255,255,255,.035);font:700 9px/1.2 monospace;letter-spacing:1.2px}.ay-v5-live i{width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.08),0 0 16px #22c55e}.ay-v5-mini{color:var(--accent-bright)}.ay-v5-hero h1{position:relative;z-index:1;margin:18px 0 6px;font-size:clamp(25px,7vw,35px);line-height:1.25;letter-spacing:-.8px}.ay-v5-hero p{position:relative;z-index:1;margin:0;max-width:520px;color:#a7a8b7;line-height:1.9}.ay-v5-hero-actions{position:relative;z-index:1;display:flex;gap:9px;margin-top:17px;flex-wrap:wrap}.ay-v5-hero-actions .btn{min-width:135px}
.ay-v5-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ay-v5-quick{position:relative;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:center;text-decoration:none;color:var(--text);padding:13px;border:1px solid var(--ay-v5-line);border-radius:19px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.018));transition:.18s ease;overflow:hidden}.ay-v5-quick::after{content:"";position:absolute;inset:auto -30% -60% 35%;height:100px;background:var(--ay-v5-glow);filter:blur(35px);opacity:0;transition:.18s}.ay-v5-quick:active{transform:scale(.985)}.ay-v5-quick:hover::after{opacity:.6}.ay-v5-quick-icon{grid-row:1/3;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 12%,rgba(255,255,255,.035));color:var(--accent-bright);border:1px solid var(--ay-v5-line)}.ay-v5-quick-icon .ico{width:20px;height:20px}.ay-v5-quick b{font-size:12.5px;z-index:1}.ay-v5-quick small{font-size:10px;color:#858697;z-index:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ay-v5-account-card{overflow:hidden}.ay-v5-card-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 0}.ay-v5-card-head small{font:700 9px monospace;letter-spacing:1.2px;color:var(--accent-bright)}.ay-v5-card-head h3{margin:3px 0 0;font-size:16px}.ay-v5-pulse{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 6px rgba(34,197,94,.07)}.ay-v5-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.ay-v5-stat{display:grid;grid-template-columns:31px 1fr;grid-template-rows:auto auto;align-items:center;padding:11px;border-radius:15px;border:1px solid rgba(255,255,255,.065);background:rgba(255,255,255,.025)}.ay-v5-stat>span{grid-row:1/3;width:31px;height:31px;display:grid;place-items:center;color:var(--accent-bright)}.ay-v5-stat>span .ico{width:18px;height:18px}.ay-v5-stat small{font-size:9.5px;color:#858697}.ay-v5-stat b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ay-v5-account-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);font-size:10.5px;color:#878899}.ay-v5-account-foot a{display:flex;align-items:center;gap:4px;color:var(--accent-bright);text-decoration:none}.ay-v5-account-foot .ico{width:13px;height:13px}
.tabbar{border-color:var(--ay-v5-line)!important;background:rgba(8,10,19,.84)!important;box-shadow:0 24px 70px rgba(0,0,0,.56),inset 0 1px rgba(255,255,255,.055)!important}.tab.is-active,.tab.active{background:color-mix(in srgb,var(--accent) 13%,rgba(255,255,255,.02))!important;color:var(--accent-bright)!important}.tab-cta{transform:translateY(-2px)}
@media(max-width:420px){.ay-v5-hero{border-radius:23px;padding:18px 15px}.ay-v5-hero h1{font-size:26px}.ay-v5-quick-grid{gap:8px}.ay-v5-quick{padding:11px 10px;grid-template-columns:37px 1fr;gap:2px 8px}.ay-v5-quick-icon{width:37px;height:37px;border-radius:12px}.ay-v5-quick small{font-size:9.4px}.ay-v5-stats{gap:7px}.ay-v5-stat{padding:9px 8px}}
