.platform-wrapper.index-app.home-app.idx-page {
    --home-accent: var(--quest-cyan);
    --home-accent-2: var(--quest-cyan-dim);
    --home-ink: var(--quest-text);
    --home-muted: var(--quest-text-muted);
    --home-paper: var(--quest-bg);
    --home-surface: var(--quest-surface);
    --home-sidebar: var(--quest-bg-elevated);
    --home-edge: var(--quest-border);
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    color: var(--home-ink);
    padding-bottom: 72px;
    background: var(--home-paper);
    isolation: isolate;
    font-family: var(--font-family);
}

.idx-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 40% at 50% -10%, rgba(45, 136, 255, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 100% 50%, rgba(45, 136, 255, 0.06) 0%, transparent 50%);
}

.idx-shell {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.idx-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
    padding: max(10px, env(safe-area-inset-top)) 16px 12px;
    border-bottom: 1px solid var(--home-edge);
    background: var(--quest-bg-elevated);
}

.idx-bar__brand {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
}

.platform-wrapper.index-app .idx-bar .logo-glow {
    display: none;
}

.platform-wrapper.index-app .idx-bar .logo-text {
    color: var(--home-ink);
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.idx-bar__tagline {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: var(--home-muted);
    line-height: 1.3;
}

.idx-bar__tools {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.idx-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 52px;
    min-height: 52px;
    padding: 6px 8px;
    border-radius: var(--radius-md);
    background: var(--home-surface);
    border: 1px solid var(--home-edge);
    color: var(--home-ink);
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.idx-tool:hover {
    border-color: var(--quest-primary-border);
    background: var(--quest-primary-soft);
}

.idx-tool--app {
    color: var(--quest-cyan);
    background: var(--quest-primary-soft);
    border-color: var(--quest-border);
}

.idx-tool--app:hover {
    background: rgba(45, 136, 255, 0.18);
    border-color: var(--quest-primary-border);
}

.idx-tool__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.idx-tool__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.main-flow.index-body.home-main.idx-main {
    flex: 1;
    width: 100%;
    padding: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-hero.idx-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.idx-hero__shade {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(24, 25, 26, 0.92) 100%);
}

.hero-carousel.index-carousel.home-hero__slider.idx-hero__carousel {
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.carousel-track.index-carousel-viewport.home-hero__track.idx-hero__viewport {
    position: relative;
    width: 100%;
    min-height: 168px;
    max-height: 200px;
    overflow: hidden;
}

.home-quick.idx-actions {
    padding: 0 16px;
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.home-quick__primary.idx-actions__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-xl);
    background: var(--home-surface);
    border: 1px solid var(--home-edge);
    box-shadow: var(--hz-shadow-md);
}

.idx-actions__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
    padding: 14px 10px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.idx-actions__tile:active {
    transform: scale(0.97);
}

.idx-actions__tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.idx-actions__tile .home-quick__icon {
    width: 20px;
    height: 20px;
}

.idx-actions__tile-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    text-align: center;
}

.idx-actions__tile--recharge {
    color: #FFFFFF;
    background: var(--quest-cyan);
    border: none;
    box-shadow: var(--hz-shadow-sm);
}

.idx-actions__tile--recharge .idx-actions__tile-icon {
    background: rgba(255, 255, 255, 0.18);
}

.idx-actions__tile--recharge:hover {
    background: var(--quest-cyan-dim);
}

.idx-actions__tile--withdraw {
    color: var(--home-ink);
    background: var(--quest-bg-elevated);
    border: 1px solid var(--home-edge);
}

.idx-actions__tile--withdraw .idx-actions__tile-icon {
    background: var(--quest-primary-soft);
    color: var(--quest-cyan);
}

.idx-actions__tile--withdraw:hover {
    background: var(--quest-surface-strong);
    border-color: var(--quest-border-strong);
}

.products-showcase.index-products.home-plans.idx-plans {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 24px 0 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.idx-plans__head {
    margin: 0;
    padding: 0 16px 14px;
    background: transparent;
    border-bottom: none;
}

.idx-plans__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.idx-plans__title {
    margin: 0;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--home-ink);
    line-height: 1.2;
}

.idx-plans__badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--quest-cyan);
    background: var(--quest-primary-soft);
    border: 1px solid var(--quest-primary-border);
}

.idx-plans__desc {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--home-muted);
    line-height: 1.5;
}

.idx-plans__body {
    padding: 0 16px;
}

.idx-plans__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--home-sidebar);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.default-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: inherit;
    background: var(--home-sidebar);
    position: relative;
    overflow: hidden;
}

.banner-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.banner-icon svg {
    width: 100%;
    height: 100%;
    color: var(--quest-cyan);
}

.banner-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--home-ink);
    margin: 0 0 4px;
    font-family: var(--font-family);
    letter-spacing: 0.04em;
    position: relative;
    z-index: 2;
}

.banner-subtitle {
    font-size: 12px;
    color: var(--home-muted);
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(24, 25, 26, 0.55);
    backdrop-filter: blur(4px);
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 18px;
    border-radius: 3px;
    background: var(--quest-cyan);
    box-shadow: 0 0 8px rgba(45, 136, 255, 0.5);
}

.carousel-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: inherit;
    background: var(--home-sidebar);
}

.products-showcase.index-products .withdraw-marquee.index-marquee {
    display: none;
}

.withdraw-marquee.index-marquee.home-plans__ticker.idx-plans__ticker {
    width: auto;
    margin: 0 16px 12px;
    box-sizing: border-box;
    border-bottom: none;
}

.withdraw-marquee-viewport.index-marquee-viewport.home-plans__ticker-view.idx-plans__ticker-view {
    height: 5.75rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--home-edge);
    background: var(--home-surface);
    contain: paint;
    isolation: isolate;
}

.withdraw-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    min-height: 5.75rem;
}

.withdraw-marquee-track--scroll {
    animation: withdrawMarqueeHorizontal var(--wm-duration, 27s) linear infinite;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}

.withdraw-marquee-track--scroll.withdraw-marquee-track--paused {
    animation-play-state: paused;
}

@keyframes withdrawMarqueeHorizontal {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .withdraw-marquee-track--scroll {
        animation: none;
        transform: none;
    }
}

.withdraw-marquee-line {
    flex: 0 0 auto;
    width: 11.5rem;
    min-height: 5.75rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 11px;
    font-weight: 600;
    color: var(--home-ink);
    letter-spacing: 0.02em;
    border-right: 1px solid var(--home-edge);
    font-family: var(--font-family);
}

.withdraw-marquee-account {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    color: var(--home-ink);
}

.withdraw-marquee-status {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--home-muted);
    font-weight: 600;
    font-size: 10px;
}

.withdraw-marquee-amount {
    text-align: left;
    white-space: nowrap;
    color: var(--home-accent-2);
    font-weight: 800;
    font-family: var(--font-mono), monospace;
    font-size: 14px;
}

.withdraw-marquee-line--empty {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--home-muted);
    font-weight: 500;
}

.withdraw-marquee-empty-inner {
    text-align: center;
    padding: 0 12px;
}

.products-masonry.index-products-grid.home-plans__grid.idx-plans__list .masonry-loader,
.products-masonry.index-products-grid.home-plans__grid.idx-plans__list .empty-state {
    width: 100%;
}

.product-tile.product-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    background: var(--home-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--home-edge);
    box-shadow: var(--hz-shadow-sm);
    opacity: 0;
    transform: translateX(-8px);
    animation: idxPlanIn 0.38s ease forwards;
    min-width: 0;
    color: var(--home-ink);
    padding: 12px;
    cursor: default;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-tile.product-card:hover {
    border-color: var(--quest-primary-border);
    box-shadow: var(--hz-shadow-md);
}

.product-tile[data-idx="0"] { animation-delay: 0s; }
.product-tile[data-idx="1"] { animation-delay: 0.06s; }
.product-tile[data-idx="2"] { animation-delay: 0.12s; }
.product-tile[data-idx="3"] { animation-delay: 0.18s; }
.product-tile[data-idx="4"] { animation-delay: 0.24s; }
.product-tile[data-idx="5"] { animation-delay: 0.3s; }

@keyframes idxPlanIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-tile-disabled {
    filter: saturate(0.45);
    opacity: 0.82;
    cursor: default;
}

.product-tile-disabled:hover {
    border-color: var(--home-edge);
    box-shadow: var(--hz-shadow-sm);
}

.product-card__hero.tile-image-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    aspect-ratio: 1;
    min-height: 76px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--home-sidebar);
    border: 1px solid var(--home-edge);
    align-self: center;
}

.product-card__hero .tile-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tile-coming-soon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 25, 26, 0.9);
    color: var(--home-ink);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 6px;
    z-index: 2;
}

.product-card__body.tile-info {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    min-width: 0;
    justify-content: center;
}

.product-card__title.tile-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--home-ink);
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    line-height: 1.35;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__metrics.tile-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
}

.product-card__metrics .stat-item {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    text-align: left;
    background: var(--quest-bg-elevated);
    border-radius: var(--radius-sm);
    border: 1px solid var(--home-edge);
}

.product-card__metrics .stat-item:last-child {
    background: var(--quest-primary-soft);
    border-color: var(--quest-primary-border);
}

.product-card__metrics .stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--home-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.product-card__metrics .stat-item:last-child .stat-label {
    color: var(--home-ink);
    text-transform: none;
    letter-spacing: 0;
}

.product-card__metrics .stat-value {
    font-size: 12px;
    font-weight: 700;
    color: var(--quest-cyan);
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    white-space: nowrap;
    text-align: right;
}

.product-card__metrics .stat-item:last-child .stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--quest-cyan);
}

.product-card__action.tile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 8px 14px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--quest-cyan);
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, transform 0.12s ease;
    box-shadow: var(--hz-shadow-sm);
}

.product-card__action.tile-action-btn:hover {
    background: var(--quest-cyan-dim);
}

.product-card__action.tile-action-btn:active {
    transform: scale(0.97);
}

.product-card__action.tile-action-btn--disabled {
    background: var(--quest-surface-strong);
    color: var(--home-muted);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid var(--home-edge);
}

.product-card__action.tile-action-btn--disabled:hover {
    background: var(--quest-surface-strong);
    transform: none;
}

.product-tile.product-card::after {
    display: none;
}

.product-tile-disabled::after {
    display: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-top-color: var(--quest-cyan);
    border-right-color: rgba(45, 136, 255, 0.25);
    border-radius: 50%;
    animation: idxSpin 0.85s linear infinite;
}

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

.masonry-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 14px;
    background: var(--home-surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--home-edge);
}

.masonry-loader p {
    font-size: 13px;
    color: var(--home-muted);
    margin: 0;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--home-muted);
    font-size: 14px;
    font-weight: 500;
    background: var(--home-surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--home-edge);
}

.toast-notification {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    background: var(--quest-bg-elevated);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--hz-shadow-lg);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--home-edge);
    color: var(--home-ink);
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
    background: rgba(66, 183, 42, 0.15);
    color: var(--meta-success);
    border-color: rgba(66, 183, 42, 0.4);
}

.toast-notification.error {
    background: rgba(228, 30, 63, 0.12);
    color: var(--meta-danger);
    border-color: rgba(228, 30, 63, 0.35);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--quest-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.idx-welcome {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.idx-welcome.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.idx-welcome__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(8px);
}

.idx-welcome__panel {
    position: relative;
    width: min(100%, 360px);
    padding: 28px 18px 18px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--quest-primary-border);
    background:
        radial-gradient(circle at 50% 0%, rgba(45, 136, 255, 0.24), transparent 42%),
        linear-gradient(180deg, var(--quest-bg-elevated) 0%, var(--quest-surface) 100%);
    box-shadow: var(--hz-shadow-lg);
    color: var(--quest-text);
    transform: translateY(14px) scale(0.96);
    transition: transform 0.25s ease;
    overflow: hidden;
}

.idx-welcome.is-open .idx-welcome__panel {
    transform: translateY(0) scale(1);
}

.idx-welcome__panel::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--quest-cyan);
    box-shadow: 0 0 18px rgba(45, 136, 255, 0.65);
}

.idx-welcome__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--quest-border);
    background: rgba(24, 25, 26, 0.74);
    color: var(--quest-text-muted);
    cursor: pointer;
}

.idx-welcome__close svg {
    width: 18px;
    height: 18px;
}

.idx-welcome__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--quest-primary-border);
    background: var(--quest-primary-soft);
    color: var(--quest-cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.idx-welcome__title {
    margin: 0 36px 10px 0;
    color: var(--quest-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.08em;
}

.idx-welcome__intro {
    margin: 0 0 16px;
    color: var(--quest-text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.idx-welcome__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.idx-welcome__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--quest-border);
    background: rgba(24, 25, 26, 0.58);
}

.idx-welcome__item span {
    color: var(--quest-text-muted);
    font-size: 13px;
    font-weight: 600;
}

.idx-welcome__item strong {
    color: var(--quest-cyan);
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.idx-welcome__group {
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--quest-cyan);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--hz-shadow-sm);
}

.idx-welcome__group:active {
    transform: scale(0.98);
}

.index-service-fab {
    position: fixed;
    z-index: 10000;
    right: max(14px, env(safe-area-inset-right));
    top: min(68vh, calc(100vh - 140px));
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--quest-primary-border);
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--quest-gradient-btn);
    color: var(--quest-text);
    box-shadow: var(--hz-shadow-sm);
    -webkit-tap-highlight-color: transparent;
}

.index-service-fab:active {
    transform: translateY(-50%);
}

.index-service-fab:focus-visible {
    outline: 2px solid var(--home-accent-2);
    outline-offset: 3px;
}

.index-service-fab-icon {
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.index-service-fab--legacy {
    display: none !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.home-dock.idx-dock {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 6px 8px max(10px, env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid var(--home-edge) !important;
    background: rgba(24, 25, 26, 0.95) !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45) !important;
    gap: 4px !important;
    backdrop-filter: blur(12px);
}

.index-app nav.bottom-navigation.index-bottom-nav.home-dock.idx-dock::before {
    display: none;
}

.index-app nav.bottom-navigation.index-bottom-nav.home-dock.idx-dock .nav-item {
    border-radius: var(--radius-md) !important;
    min-height: 44px !important;
    color: var(--quest-text-muted) !important;
    background: transparent !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.home-dock.idx-dock .nav-item.active {
    color: var(--quest-cyan) !important;
    background: var(--quest-primary-soft) !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.home-dock.idx-dock .nav-item.active::after {
    display: none;
}

.index-app nav.bottom-navigation.index-bottom-nav.home-dock.idx-dock .nav-item:hover {
    background: var(--quest-surface) !important;
    color: var(--quest-cyan) !important;
}

.balance-selection-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    animation: idxModalFade 0.28s ease-out;
}

@keyframes idxModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.balance-modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.balance-modal-content {
    background: var(--quest-bg-elevated);
    border: 1px solid var(--quest-border);
    border-radius: var(--radius-2xl);
    padding: 28px 22px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--hz-shadow-lg);
    animation: idxModalSlide 0.38s ease-out;
}

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

.balance-modal-title {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 700;
    color: var(--quest-text);
    text-align: center;
    margin-bottom: 10px;
}

.balance-modal-amount {
    font-family: var(--font-mono), monospace;
    font-size: 15px;
    color: var(--quest-text-muted);
    text-align: center;
    margin-bottom: 22px;
    font-weight: 600;
}

.balance-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.balance-option {
    background: var(--quest-surface);
    border: 2px solid var(--quest-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.balance-option:not(.disabled):hover {
    background: var(--quest-primary-soft);
    border-color: var(--quest-primary-border);
    transform: translateY(-2px);
}

.balance-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.balance-option.selected {
    background: var(--quest-primary-soft);
    border-color: var(--quest-cyan);
    box-shadow: 0 0 0 1px var(--quest-cyan);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.option-label {
    font-size: 14px;
    color: var(--quest-text);
    font-weight: 600;
}

.option-balance {
    font-family: var(--font-mono), monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--quest-cyan);
}

.option-insufficient {
    font-size: 12px;
    color: var(--hz-danger);
    margin-top: 4px;
    font-weight: 600;
}

.balance-modal-actions {
    display: flex;
    gap: 10px;
}

.balance-modal-confirm {
    flex: 1;
    padding: 14px;
    background: var(--quest-cyan);
    border: none;
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: var(--font-family);
}

.balance-modal-confirm:hover:not(:disabled) {
    background: var(--quest-cyan-dim);
}

.balance-modal-confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.balance-modal-cancel {
    flex: 1;
    padding: 14px;
    background: var(--quest-surface);
    border: 1px solid var(--quest-border);
    border-radius: var(--radius-md);
    color: var(--quest-text-muted);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.balance-modal-cancel:hover {
    background: var(--quest-surface-strong);
    border-color: var(--quest-border-strong);
}

.android-app-download-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 84px;
    z-index: 10000;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    background: var(--home-surface);
    border-top: 1px solid var(--home-edge);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.android-app-download-bar.is-visible {
    display: flex;
}

.android-app-download-bar__text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--home-ink);
    line-height: 1.35;
}

.android-app-download-bar__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-md);
    background: var(--quest-cyan);
    border: none;
}

.platform-wrapper.has-android-app-download-bar {
    padding-bottom: calc(108px + 56px);
}

@media (max-width: 360px) {
    .product-tile.product-card {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
    }

    .product-card__hero.tile-image-wrapper {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        align-self: stretch;
    }

    .product-card__title.tile-name {
        padding-right: 0;
    }

    .home-quick__primary.idx-actions__row {
        grid-template-columns: 1fr;
    }

    .idx-actions__tile {
        flex-direction: row;
        justify-content: flex-start;
        min-height: 56px;
        padding: 12px 16px;
    }

    .idx-bar__tools {
        gap: 6px;
    }

    .idx-tool {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (min-width: 400px) {
    .carousel-track.index-carousel-viewport.home-hero__track.idx-hero__viewport {
        min-height: 180px;
        max-height: 220px;
    }
}
