@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── SF Pro Display — app-wide (sign-in keeps its own design) ── */
@font-face{ font-family:'SF Pro Display'; src:url('../assets/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype'); font-weight:100 450; font-style:normal; font-display:swap; }
@font-face{ font-family:'SF Pro Display'; src:url('../assets/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype'); font-weight:451 650; font-style:normal; font-display:swap; }
@font-face{ font-family:'SF Pro Display'; src:url('../assets/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype'); font-weight:651 900; font-style:normal; font-display:swap; }
body:not(.signin-page),
body:not(.signin-page) *{ font-family:'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; }

/* gc-banner inside search cards — borderless on every page */
.gc-banner{ border:none !important; }

/* Purple header (#663398) for wallet / shop / whitepaper / setting */
.wallet-page .page-header,
.purchase-page .page-header,
.whitepaper-page .page-header,
.setting-page .page-header{
    background:#663398 !important;
    border-bottom:1px solid rgba(255,255,255,0.12) !important;
}
.wallet-page .page-header-title,
.purchase-page .page-header-title,
.whitepaper-page .page-header-title,
.setting-page .page-header-title{ color:#ffffff !important; }
.wallet-page .page-header-back,
.purchase-page .page-header-back,
.whitepaper-page .page-header-back,
.setting-page .page-header-back,
.wallet-page .page-header-action,
.purchase-page .page-header-action,
.whitepaper-page .page-header-action,
.setting-page .page-header-action{
    background:rgba(255,255,255,0.16) !important;
    color:#ffffff !important;
}
.wallet-page .page-header-back svg,
.purchase-page .page-header-back svg,
.whitepaper-page .page-header-back svg,
.setting-page .page-header-back svg,
.wallet-page .page-header-action svg,
.purchase-page .page-header-action svg,
.whitepaper-page .page-header-action svg,
.setting-page .page-header-action svg{ stroke:#ffffff !important; color:#ffffff !important; }
/* hide scrollbar globally */
html, body, * { scrollbar-width: none !important; -ms-overflow-style: none !important; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* page-header — same height & padding as tg-header-new */
.page-header{
    height: calc(var(--header-h) + var(--safe-top)) !important;
    min-height: calc(var(--header-h) + var(--safe-top)) !important;
    padding: calc(var(--safe-top) + 12px) 16px 12px !important;
    align-items: center !important;
}

/* Footer nav for wallet / purchase / setting — same as index (white bar, purple active pill) */
.wallet-page .footer-nav,
.purchase-page .footer-nav,
.setting-page .footer-nav{
    background:linear-gradient(180deg, #ffffff, #f6edfc) !important;
    border:1px solid rgba(122,63,176,0.16) !important;
    box-shadow:0 14px 34px rgba(122,63,176,0.16), inset 0 1px 0 rgba(255,255,255,0.7) !important;
}
.wallet-page .footer-nav-inner,
.purchase-page .footer-nav-inner,
.setting-page .footer-nav-inner{ background:#ffffff !important; }
.wallet-page .nav-pill,
.purchase-page .nav-pill,
.setting-page .nav-pill{ color:#9080a8 !important; }
.wallet-page .nav-pill.active,
.purchase-page .nav-pill.active,
.setting-page .nav-pill.active{
    color:#ffffff !important;
    background:linear-gradient(135deg,#9b5cd6,#7a3fb0) !important;
    border:1px solid rgba(255,255,255,0.30) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.30), 0 8px 18px rgba(122,63,176,0.35) !important;
}

:root {
    --safe-top:    env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left:   env(safe-area-inset-left, 0px);
    --safe-right:  env(safe-area-inset-right, 0px);
    --bg:       #f5f7fb;
    --bg2:      #ffffff;
    --bg3:      #eef2f7;
    --card:     #ffffff;
    --card2:    #f7f9fc;
    --border:   rgba(15,23,42,0.08);

    --text:     #18212f;
    --text2:    #5b6472;
    --text3:    #7b8493;

    --accent:   #2d9cdb;
    --teal:     #26a17b;
    --gold:     #f5a623;
    --red:      #e74c3c;
    --purple:   #7c3aed;
    --indigo:   #6366f1;
    --pink:     #ec4899;

    --header-h: 66px;
    --tab-h:    62px;
    --nav-h:    84px;

    --icon-blue:   rgba(45,156,219,0.18);
    --icon-green:  rgba(38,161,123,0.18);
    --icon-orange: rgba(245,166,35,0.18);
    --icon-red:    rgba(231,76,60,0.18);
    --icon-purple: rgba(124,58,237,0.18);
    --icon-teal:   rgba(14,165,201,0.18);
    --icon-indigo: rgba(99,102,241,0.18);
    --icon-pink:   rgba(236,72,153,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: auto; }
body {
    background: var(--bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Android nav buttons space at bottom */
    padding-bottom: var(--safe-bottom);
    /* Prevent content hiding behind left/right system UI on landscape */
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
}

/* ── Android / PWA status bar & nav bar shim ───────────────────── */
/*
 * viewport-fit=cover lets content go edge-to-edge on Android.
 * env(safe-area-inset-top) = status bar height on modern Android.
 * env(safe-area-inset-bottom) = gesture/nav-button bar height.
 * On older Android (no safe-area support), both fall back to 0px —
 * those devices render the status bar ABOVE the viewport so no shim needed.
 */

/* Color block behind the status bar — matches tg-header background.
   Only visible on standalone/fullscreen PWA where the status bar is transparent. */
body::before {
    content: '';
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--safe-top);
    background: var(--bg2);
    z-index: 9999;
    pointer-events: none;
}
.dark-theme body::before {
    background: #0d1b2e;
}

/* tg-header already uses padding-top: var(--safe-top) — no change needed */

/* app-header on result pages: push down by safe-top */
.app-header {
    padding-top: calc(14px + var(--safe-top));
}

/* Bottom scroll padding so last card isn't hidden behind nav bar */
#pt-wrap, .page-scroll, .page-body, .gc-scroll,
.bpjs-scroll, .history-page-body, .notification-shell {
    padding-bottom: max(24px, var(--safe-bottom));
}

/* ── PWA standalone extra polish ───────────────────────────────── */
/* When installed as a PWA on Android, status bar is transparent overlay.
   body::before fills that strip with the correct header color. */
html.pwa-standalone body::before {
    display: block;
}
/* In browser tab mode (not installed), hide the shim — browser chrome handles it */
html:not(.pwa-standalone) body::before {
    display: none;
}
/* Ensure footer nav clears the nav-button bar */
html.pwa-standalone .footer-nav {
    padding-bottom: calc(8px + var(--safe-bottom));
}
html.pwa-standalone .footer-nav .nav-pill {
    padding-bottom: calc(10px + var(--safe-bottom));
}


/* ── Transition System ────────────────────────────────────────── */
/*
 * Opacity + subtle fade-up (translateY).
 * Tidak pakai translateX — horizontal slide terasa snappy karena
 * expose loading gap antar halaman di MPA. fadeY jauh lebih smooth.
 * Animasi diterapkan ke #pt-wrap (bukan body) agar footer tidak gerak.
 */

#pt-wrap {
    width: 100%;
    min-height: 100vh;
}

html.pt-enter .tg-header,
html.pt-enter-back .tg-header,
html.pt-exit .tg-header,
html.pt-exit-back .tg-header,
html.pt-enter .page-header,
html.pt-enter-back .page-header,
html.pt-exit .page-header,
html.pt-exit-back .page-header,
html.pt-enter .signin-header,
html.pt-enter-back .signin-header,
html.pt-exit .signin-header,
html.pt-exit-back .signin-header {
    will-change: transform;
    backface-visibility: hidden;
}

/* EXIT: flash singkat — cukup beri feedback tap, lalu langsung navigate */
html.pt-exit #pt-wrap,
html.pt-exit-back #pt-wrap {
    will-change: transform;
    backface-visibility: hidden;
}
@keyframes pt-out {
    from { opacity: 1; }
    to   { opacity: 1; }
}

/* ENTER: fade-up halus — konten naik pelan, terasa natural */
html.pt-enter #pt-wrap,
html.pt-enter-back #pt-wrap {
    animation: pt-in 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pt-in {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

html.pt-enter,
html.pt-enter-back,
html.pt-exit,
html.pt-exit-back {
    overflow-x: hidden;
}

html.pt-enter #pt-wrap,
html.pt-enter-back #pt-wrap,
html.pt-exit #pt-wrap,
html.pt-exit-back #pt-wrap {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

html.pt-exit #pt-wrap,
html.pt-exit .tg-header,
html.pt-exit .page-header,
html.pt-exit .signin-header,
html.pt-exit body > .page-scroll,
html.pt-exit body > .page-body,
html.pt-exit body > .gc-scroll,
html.pt-exit body > .bpjs-scroll,
html.pt-exit body > .history-page-body,
html.pt-exit body > .notification-shell,
html.pt-exit body > .cp-output-wrap,
html.pt-exit body > .cluster-page-body,
html.pt-exit body > .hide-me-page-body {
    animation: pt-out-left 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.pt-exit-back #pt-wrap,
html.pt-exit-back .tg-header,
html.pt-exit-back .page-header,
html.pt-exit-back .signin-header,
html.pt-exit-back body > .page-scroll,
html.pt-exit-back body > .page-body,
html.pt-exit-back body > .gc-scroll,
html.pt-exit-back body > .bpjs-scroll,
html.pt-exit-back body > .history-page-body,
html.pt-exit-back body > .notification-shell,
html.pt-exit-back body > .cp-output-wrap,
html.pt-exit-back body > .cluster-page-body,
html.pt-exit-back body > .hide-me-page-body {
    animation: pt-out-right 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes pt-out-left {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-24px, 0, 0); }
}

@keyframes pt-out-right {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(24px, 0, 0); }
}

html.pt-enter #pt-wrap,
html.pt-enter .tg-header,
html.pt-enter .page-header,
html.pt-enter .signin-header,
html.pt-enter body > .page-scroll,
html.pt-enter body > .page-body,
html.pt-enter body > .gc-scroll,
html.pt-enter body > .bpjs-scroll,
html.pt-enter body > .history-page-body,
html.pt-enter body > .notification-shell,
html.pt-enter body > .cp-output-wrap,
html.pt-enter body > .cluster-page-body,
html.pt-enter body > .hide-me-page-body {
    animation: pt-in-from-right 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.pt-enter-back #pt-wrap,
html.pt-enter-back .tg-header,
html.pt-enter-back .page-header,
html.pt-enter-back .signin-header,
html.pt-enter-back body > .page-scroll,
html.pt-enter-back body > .page-body,
html.pt-enter-back body > .gc-scroll,
html.pt-enter-back body > .bpjs-scroll,
html.pt-enter-back body > .history-page-body,
html.pt-enter-back body > .notification-shell,
html.pt-enter-back body > .cp-output-wrap,
html.pt-enter-back body > .cluster-page-body,
html.pt-enter-back body > .hide-me-page-body {
    animation: pt-in-from-left 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pt-in-from-right {
    from { transform: translate3d(24px, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

@keyframes pt-in-from-left {
    from { transform: translate3d(-24px, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

html.pt-enter #pt-wrap,
html.pt-enter-back #pt-wrap,
html.pt-exit #pt-wrap,
html.pt-exit-back #pt-wrap,
html.pt-enter .tg-header,
html.pt-enter-back .tg-header,
html.pt-exit .tg-header,
html.pt-exit-back .tg-header,
html.pt-enter .page-header,
html.pt-enter-back .page-header,
html.pt-exit .page-header,
html.pt-exit-back .page-header,
html.pt-enter .signin-header,
html.pt-enter-back .signin-header,
html.pt-exit .signin-header,
html.pt-exit-back .signin-header,
html.pt-enter body > .page-scroll,
html.pt-enter-back body > .page-scroll,
html.pt-exit body > .page-scroll,
html.pt-exit-back body > .page-scroll,
html.pt-enter body > .page-body,
html.pt-enter-back body > .page-body,
html.pt-exit body > .page-body,
html.pt-exit-back body > .page-body,
html.pt-enter body > .gc-scroll,
html.pt-enter-back body > .gc-scroll,
html.pt-exit body > .gc-scroll,
html.pt-exit-back body > .gc-scroll,
html.pt-enter body > .bpjs-scroll,
html.pt-enter-back body > .bpjs-scroll,
html.pt-exit body > .bpjs-scroll,
html.pt-exit-back body > .bpjs-scroll,
html.pt-enter body > .history-page-body,
html.pt-enter-back body > .history-page-body,
html.pt-exit body > .history-page-body,
html.pt-exit-back body > .history-page-body,
html.pt-enter body > .notification-shell,
html.pt-enter-back body > .notification-shell,
html.pt-exit body > .notification-shell,
html.pt-exit-back body > .notification-shell,
html.pt-enter body > .cp-output-wrap,
html.pt-enter-back body > .cp-output-wrap,
html.pt-exit body > .cp-output-wrap,
html.pt-exit-back body > .cp-output-wrap,
html.pt-enter body > .cluster-page-body,
html.pt-enter-back body > .cluster-page-body,
html.pt-exit body > .cluster-page-body,
html.pt-exit-back body > .cluster-page-body,
html.pt-enter body > .hide-me-page-body,
html.pt-enter-back body > .hide-me-page-body,
html.pt-exit body > .hide-me-page-body,
html.pt-exit-back body > .hide-me-page-body {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto !important;
}

@media (prefers-reduced-motion: reduce) {
    html.pt-enter #pt-wrap,
    html.pt-enter-back #pt-wrap,
    html.pt-exit #pt-wrap,
    html.pt-exit-back #pt-wrap,
    html.pt-enter .page-scroll,
    html.pt-enter-back .page-scroll,
    html.pt-exit .page-scroll,
    html.pt-exit-back .page-scroll,
    html.pt-enter .page-body,
    html.pt-enter-back .page-body,
    html.pt-exit .page-body,
    html.pt-exit-back .page-body {
        animation: none !important;
    }
}

/* ── End Transition System ────────────────────────────────────── */

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

.page-header {
    position: sticky; top: 0; z-index: 200;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    min-height: calc(var(--header-h) + var(--safe-top));
    height: calc(var(--header-h) + var(--safe-top));
    display: flex; align-items: center;
    padding: calc(var(--safe-top) + 12px) 16px 12px; gap: 12px;
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.page-header-back {
    width: 36px; height: 36px;
    border-radius: 50%; background: var(--bg3);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; flex-shrink: 0; color: #111111;
    transition: background 0.15s;
}
.page-header-back:active { background: var(--bg); }
.page-header-title {
    flex: 1;
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px; font-weight: 700;
    color: var(--text); letter-spacing: 1px;
}
.page-header-action {
    width: 36px; height: 36px;
    border-radius: 50%; background: var(--bg3);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text2); flex-shrink: 0;
}

.tg-header {
    position: fixed; top: 0; left: 0; right: 0;
    min-height: calc(var(--header-h) + var(--safe-top));
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
    padding: var(--safe-top) 14px 0; gap: 12px;
    z-index: 200;
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.tg-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #7eb8d4, #4a8aab 50%, #1a5a7a);
    display: flex; align-items: flex-end; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.12);
}
.tg-avatar svg { margin-bottom: -2px; }
.tg-header-title { flex: 1; }
.tg-header-title h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px; font-weight: 700;
    color: var(--text); letter-spacing: 1px; line-height: 1.1;
}
.tg-header-title .tg-sub { font-size: 11px; color: var(--teal); font-weight: 600; }
.tg-header-actions,
.app-header-actions { display: flex; align-items: center; gap: 6px; }
.tg-hbtn,
.app-icon-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg3); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text2); transition: background 0.15s;
}
.tg-hbtn:active,
.app-icon-btn:active { background: var(--bg); }
.tg-hbtn.tg-hbtn-new svg,
.app-icon-btn.app-icon-btn-main svg,
.app-icon-btn svg { stroke: currentColor; }

.tab-row {
    position: fixed; top: calc(var(--header-h) + var(--safe-top)); left: 0; right: 0;
    height: var(--tab-h);
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    padding: 0 16px; gap: 10px;
    z-index: 190;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.tab-row::-webkit-scrollbar { display: none; }
.tab-chip {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 700;
    white-space: nowrap; cursor: pointer;
    border: none; outline: none;
    background: var(--bg3); color: var(--text2);
    transition: all 0.18s; flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}
.tab-chip .tab-badge {
    background: var(--text2); color: var(--bg);
    font-size: 10px; font-weight: 800;
    min-width: 18px; height: 18px;
    border-radius: 9px; padding: 0 5px;
    display: flex; align-items: center; justify-content: center;
}
.tab-chip.active { background: var(--accent); color: #fff; }
.tab-chip.active .tab-badge { background: rgba(255,255,255,0.28); color: #fff; }
.tab-chip.tab-advance.active  { background: var(--purple); }
.tab-chip.tab-xproject.active { background: var(--red); }

@keyframes glowPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}
.footer-nav {
    position: fixed; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); left: 10px; right: 10px;
    z-index: 999;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,248,252,0.98));
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 26px;
    box-shadow:
        0 14px 30px rgba(15,23,42,0.10),
        inset 0 1px 0 rgba(255,255,255,0.95);
    overflow: hidden;
}
.footer-nav-inner {
    display: flex; align-items: center; justify-content: space-around;
    gap: 6px;
    padding: 8px 10px;
    background: linear-gradient(180deg, #f8fbff, #eef4fb);
}

.nav-icon,
.nav-pill {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700; font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    color: rgba(24,33,47,0.45);
    min-height: 54px;
    height: 54px;
    border-radius: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 6px 0;
    gap: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        color 0.3s cubic-bezier(0.34,1.56,0.64,1),
        background 0.32s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.32s cubic-bezier(0.22,1,0.36,1),
        transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
        color 0.24s ease;
}

.nav-icon svg,
.nav-pill svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), opacity 0.22s ease;
}

.nav-icon:active,
.nav-pill:active {
    transform: scale(0.96);
}

.nav-pill.active {
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
        linear-gradient(135deg, rgba(127,211,255,0.92) 0%, rgba(77,184,255,0.88) 55%, rgba(45,156,219,0.92) 100%);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.42),
        inset 0 -10px 18px rgba(255,255,255,0.10),
        0 10px 20px rgba(77,184,255,0.16);
}
.nav-pill.active svg {
    transform: none;
}

.nav-pill.purchase.active {
    box-shadow: none;
}

.nav-pill.active::after {
    display: none;
}

.nav-icon span,
.nav-pill span {
    display: none;
}

body.whitepaper-page .footer-nav {
    display: none !important;
}

body.index-feature-page,
body.wallet-page,
body.purchase-page,
body.whitepaper-page,
body.setting-page {
    background: var(--bg2);
}

body.index-feature-page .page-header,
body.wallet-page .page-header,
body.purchase-page .page-header,
body.whitepaper-page .page-header,
body.setting-page .page-header {
    background: var(--bg2);
    border-bottom: none;
    box-shadow: none;
}

.page-scroll {
    padding-top: calc(var(--header-h) + var(--tab-h) + 14px);
    padding-bottom: calc(var(--nav-h) + 16px);
    padding-left: 14px;
    padding-right: 14px;
    min-height: 100vh;
    animation: pageContentRise 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-body {
    padding: 16px 14px calc(var(--nav-h) + 16px);
    min-height: 100vh;
    animation: pageContentRise 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.gc-scroll,
.bpjs-scroll,
.history-page-body,
.notification-shell,
.cp-output-wrap,
.cluster-page-body,
.hide-me-page-body {
    animation: pageContentRise 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body,
    .page-scroll,
    .page-body,
    .gc-scroll,
    .bpjs-scroll,
    .history-page-body,
    .notification-shell,
    .cp-output-wrap,
    .cluster-page-body,
    .hide-me-page-body {
        animation: none !important;
    }
}

body.wallet-page .page-header,
body.purchase-page .page-header,
body.whitepaper-page .page-header,
body.setting-page .page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    height: 64px !important;
    min-height: 64px !important;
    padding: 8px 12px !important;
    gap: 10px;
    align-items: center;
    overflow: hidden;
}

body.wallet-page .page-header-title,
body.purchase-page .page-header-title,
body.whitepaper-page .page-header-title,
body.setting-page .page-header-title {
    font-size: 19px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.1 !important;
}

body.wallet-page .page-header-back,
body.purchase-page .page-header-back,
body.whitepaper-page .page-header-back,
body.setting-page .page-header-back,
body.wallet-page .page-header-action,
body.purchase-page .page-header-action,
body.whitepaper-page .page-header-action,
body.setting-page .page-header-action {
    width: 38px !important;
    height: 38px !important;
}

body.wallet-page .page-body,
body.purchase-page .page-body,
body.setting-page .page-body {
    padding-top: 74px;
}

body.whitepaper-page .paper-content {
    padding-top: 82px;
}

.status-strip {
    display: flex; align-items: center; justify-content: space-around;
    background: var(--card);
    margin: 0 0 8px 0;
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid var(--border);
}
.status-item {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 12px; font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.status-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.status-divider { width: 1px; height: 22px; background: var(--border); }
.status-item span {
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

.account-card {
    margin: 0 0 8px 0;
    background: var(--card);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.account-labels {
    display: flex; border-bottom: 1px solid var(--border);
}
.acc-label {
    flex: 1; text-align: center;
    padding: 8px 4px 6px;
    font-size: 9px; font-weight: 800;
    letter-spacing: 1.5px; color: var(--text2);
    text-transform: uppercase;
}
.acc-label:not(:last-child) { border-right: 1px solid var(--border); }
.account-values { display: flex; }
.acc-val {
    flex: 1; text-align: center;
    padding: 8px 4px 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px; font-weight: 700; color: var(--text);
}
.acc-val:not(:last-child) { border-right: 1px solid var(--border); }
.acc-val.level-val   { color: var(--gold); }
.acc-val.balance-val { color: var(--teal); }
.acc-val.quota-val   { color: var(--accent); }

.search-card {
    margin: 0 0 8px 0;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    border: 1.5px solid var(--gold);
    padding: 10px 10px 10px;
    box-shadow: 0 0 0 0px transparent;
}
.search-row {
    display: flex; gap: 0; margin-bottom: 10px;
    align-items: stretch; width: 100%;
    background: var(--bg3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 14px;
    color: var(--text); font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none; min-width: 0;
    height: 48px;
}
.search-input::placeholder { color: var(--text2); }
.search-btn {
    height: 44px;
    width: 52px;
    background: #2d9cdb;
    border: 1px solid rgba(26,111,181,0.35); border-radius: 14px;
    margin: 3px 3px 3px 0;
    padding: 0; cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px; font-weight: 700;
    color: #fff; line-height: 1;
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1px;
    
    box-shadow:
        0 1px 0 rgba(255,255,255,0.16) inset,
        0 -2px 0 rgba(11,73,120,0.28) inset,
        0 6px 0 #1a6fb5,
        0 8px 14px rgba(45,156,219,0.30),
        0 2px 6px rgba(0,0,0,0.22);
    position: relative;
    transform: translateY(0);
    transition: transform 0.1s, box-shadow 0.1s;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.search-btn:active {
    transform: translateY(4px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.16) inset,
        0 -2px 0 rgba(11,73,120,0.28) inset,
        0 2px 0 #1a6fb5,
        0 4px 8px rgba(45,156,219,0.22),
        0 1px 3px rgba(0,0,0,0.2);
}
.search-btn::before {
    content: '';
    position: absolute; top: 4px; left: 8px; right: 8px; height: 40%;
    border-radius: 8px 8px 50% 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
    pointer-events: none;
}
.search-btn .go-top   { font-size: 9px; opacity: 0.90; letter-spacing: 0.8px; }
.search-btn .go-bottom { font-size: 16px; font-weight: 900; }
.chip-row {
    display: flex; gap: 6px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
    flex: 1;
    padding: 7px 8px; border-radius: 22px;
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.4px;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: transparent; color: var(--text2);
    cursor: pointer; white-space: nowrap;
    transition: all 0.15s;
    text-align: center;
    font-family: 'Inter', sans-serif;
}
.chip.active {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(45,156,219,0.4);
}
.chip-nopol.active {
    background: linear-gradient(135deg, #34b7e5, #24a6d2);
    border-color: #24a6d2;
    box-shadow: 0 2px 8px rgba(52,183,229,0.35);
    color: #fff;
}

.section-panel { display: none; }
.section-panel.active { display: block; }

.feature-section-label {
    font-size: 11px; font-weight: 700;
    color: var(--text2); letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 2px 8px;
}
.feature-list {
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.inline-recent-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.inline-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.inline-recent-title,
.inline-recent-toggle {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text2);
    padding: 4px 2px 0;
}
.inline-recent-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}
.inline-recent-toggle-icon {
    color: #111111;
    flex-shrink: 0;
    transition: transform 0.18s ease;
}
.inline-recent-section.is-open .inline-recent-toggle-icon {
    transform: rotate(90deg);
}
.inline-recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.inline-recent-section:not(.is-open) .inline-recent-list {
    display: none;
}
.inline-recent-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    padding: 12px 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.inline-recent-card:active { transform: scale(0.99); }
.inline-recent-info {
    min-width: 0;
    flex: 1;
}
.inline-recent-name {
    font-size: 14px;
    font-weight: 800;
    color: #111111;
    line-height: 1.3;
    word-break: break-word;
}
.inline-recent-meta {
    font-size: 11px;
    font-weight: 600;
    color: var(--text2);
    margin-top: 2px;
}
.inline-recent-arrow {
    color: #111111;
    flex-shrink: 0;
}
.inline-recent-empty {
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.66);
    padding: 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
}
.history-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-top: -2px;
}
.history-clear-btn {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
    color: #111111;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}
.history-clear-btn:active {
    transform: scale(0.98);
}
.feature-row {
    display: flex; align-items: center; gap: 14px;
    padding: 15px 18px;
    text-decoration: none; color: var(--text);
    outline: none;
    -webkit-tap-highlight-color: transparent;
    
    background: var(--card);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.35),
        0 1px 0 rgba(255,255,255,0.05) inset;
    position: relative;
    overflow: hidden;
    transition: transform 0.12s, box-shadow 0.12s;
}
.feature-row .feat-icon-wrap {
    display: flex;
}

.feature-row::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.045), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}
.feature-row:active {
    transform: scale(0.97) translateY(1px);
    box-shadow:
        0 1px 4px rgba(0,0,0,0.4),
        0 1px 0 rgba(255,255,255,0.04) inset;
    background: var(--bg3);
}
.feat-icon-wrap {
    width: 58px;
    height: 58px;
    padding: 12px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 10px 20px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
}
.icon-random {
    background-image:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.2), transparent 48%),
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}
.feat-icon-wrap::after {
    display: none;
}
.feat-icon {
    width: 100%;
    height: 100%;
    color: #111111;
    flex-shrink: 0;
}

.feat-icon-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.feat-icon path,
.feat-icon circle,
.feat-icon rect,
.feat-icon line,
.feat-icon polyline,
.feat-icon polygon {
    stroke: currentColor;
    vector-effect: non-scaling-stroke;
}
.feat-info { flex: 1; min-width: 0; }
.feat-name { font-size: 15px; font-weight: 700; color: #111111; line-height: 1.3; }
.feat-desc { font-size: 12px; color: #2f3a4d; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-arrow { color: #111111; opacity: 0.9; flex-shrink: 0; }

.icon-blue   { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(165,217,255,0.72), rgba(112,183,245,0.34)); border-color: rgba(178,228,255,0.78); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(112,183,245,0.14), 0 0 16px rgba(112,183,245,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-blue::after { border-color: rgba(88,191,255,0.82); box-shadow: 0 0 0 1px rgba(45,156,219,0.22), 0 0 20px rgba(45,156,219,0.18); }
.icon-cyan   { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(171,240,245,0.72), rgba(108,215,228,0.32)); border-color: rgba(184,244,255,0.78); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(108,215,228,0.14), 0 0 16px rgba(108,215,228,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-cyan::after { border-color: rgba(66,214,255,0.86); box-shadow: 0 0 0 1px rgba(0,180,216,0.22), 0 0 20px rgba(0,180,216,0.2); }
.icon-sky    { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(174,229,247,0.72), rgba(113,204,236,0.32)); border-color: rgba(188,236,255,0.78); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(113,204,236,0.14), 0 0 16px rgba(113,204,236,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-sky::after { border-color: rgba(112,219,255,0.86); box-shadow: 0 0 0 1px rgba(88,191,255,0.22), 0 0 20px rgba(88,191,255,0.2); }
.icon-green  { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(171,237,208,0.72), rgba(114,214,184,0.32)); border-color: rgba(184,242,216,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(114,214,184,0.14), 0 0 16px rgba(114,214,184,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-green::after { border-color: rgba(71,214,164,0.82); box-shadow: 0 0 0 1px rgba(38,161,123,0.22), 0 0 20px rgba(38,161,123,0.18); }
.icon-emerald{ background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(184,238,170,0.72), rgba(132,218,121,0.32)); border-color: rgba(199,245,186,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(132,218,121,0.14), 0 0 16px rgba(132,218,121,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-emerald::after { border-color: rgba(110,224,126,0.82); box-shadow: 0 0 0 1px rgba(88,201,103,0.22), 0 0 20px rgba(88,201,103,0.18); }
.icon-orange { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.38), transparent 46%), linear-gradient(145deg, rgba(255,223,157,0.74), rgba(255,196,119,0.34)); border-color: rgba(255,226,171,0.78); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(255,196,119,0.14), 0 0 16px rgba(255,196,119,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-orange::after { border-color: rgba(255,189,73,0.88); box-shadow: 0 0 0 1px rgba(245,166,35,0.22), 0 0 20px rgba(245,166,35,0.2); }
.icon-red    { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(255,187,176,0.72), rgba(248,140,128,0.32)); border-color: rgba(255,201,192,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(248,140,128,0.14), 0 0 16px rgba(248,140,128,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-red::after { border-color: rgba(255,114,96,0.86); box-shadow: 0 0 0 1px rgba(231,76,60,0.22), 0 0 20px rgba(231,76,60,0.2); }
.icon-purple { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(223,188,255,0.72), rgba(193,144,245,0.32)); border-color: rgba(230,205,255,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(193,144,245,0.14), 0 0 16px rgba(193,144,245,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-purple::after { border-color: rgba(188,120,255,0.86); box-shadow: 0 0 0 1px rgba(155,89,182,0.22), 0 0 20px rgba(155,89,182,0.2); }
.icon-teal   { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(180,239,241,0.72), rgba(122,222,226,0.32)); border-color: rgba(194,244,246,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(122,222,226,0.14), 0 0 16px rgba(122,222,226,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-teal::after { border-color: rgba(66,220,204,0.86); box-shadow: 0 0 0 1px rgba(20,184,166,0.22), 0 0 20px rgba(20,184,166,0.2); }
.icon-indigo { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(205,211,255,0.72), rgba(154,165,248,0.32)); border-color: rgba(217,223,255,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(154,165,248,0.14), 0 0 16px rgba(154,165,248,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-indigo::after { border-color: rgba(134,138,255,0.86); box-shadow: 0 0 0 1px rgba(99,102,241,0.22), 0 0 20px rgba(99,102,241,0.2); }
.icon-pink   { background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.36), transparent 46%), linear-gradient(145deg, rgba(255,205,228,0.72), rgba(250,156,204,0.32)); border-color: rgba(255,218,236,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(250,156,204,0.14), 0 0 16px rgba(250,156,204,0.10), 0 10px 20px rgba(0,0,0,0.12); }
.icon-pink::after { border-color: rgba(255,121,188,0.88); box-shadow: 0 0 0 1px rgba(236,72,153,0.22), 0 0 20px rgba(236,72,153,0.2); }

.tg-header-new {
    background: var(--bg2);
    padding: 12px 16px;
    gap: 12px;
    border-bottom: none;
}
.tg-avatar-new {
    width: 42px; height: 42px; border-radius: 50%;
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15,23,42,0.12);
}
.tg-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tg-title-new {
    font-size: 19px; font-weight: 900;
    color: var(--text); letter-spacing: 0.5px; line-height: 1.1;
}
.tg-sub-new {
    color: #111111; font-size: 12px;
    font-weight: 600; margin-top: 1px;
}
.tg-hbtn-new,
.app-icon-btn-main {
    background: var(--bg3);
    border: 1.5px solid rgba(15,23,42,0.08);
    box-shadow: 0 8px 18px rgba(15,23,42,0.08);
    padding: 7px; color: var(--text); cursor: pointer;
    border-radius: 50%; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}
.tg-hbtn-new svg,
.app-icon-btn-main svg { stroke: currentColor; }
.tg-hbtn-new:active,
.app-icon-btn-main:active {
    background: #e6edf6;
    border-color: rgba(45,156,219,0.18);
}
.tg-header-new .tg-header-actions,
.tg-header-new .app-header-actions { gap: 10px; }
.app-panel-title { flex: 1; }
.app-panel-title h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
    line-height: 1.1;
    margin: 0;
}

.app-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 10px;
}

#notif-screen .app-panel-header {
    justify-content: space-between;
    align-items: flex-start;
}

#notif-screen .app-panel-title {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

#notif-screen #notif-clear-btn {
    margin-left: auto;
    align-self: flex-start;
    margin-top: 4px;
    margin-right: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #3a9bd5;
    background: rgba(58,155,213,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
    opacity: 1 !important;
}

.tab-row-new {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 190;
    height: auto;
    background: var(--bg2);
    padding: 10px 16px 14px;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}
.tab-pill-track {
    display: flex; align-items: center; gap: 4px;
    background:
        radial-gradient(circle at 18% 18%, rgba(122, 206, 255, 0.28), transparent 34%),
        linear-gradient(180deg, rgba(45,156,219,0.26), rgba(45,156,219,0.12));
    border: 1px solid rgba(45,156,219,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.55),
        0 10px 24px rgba(45,156,219,0.12);
    border-radius: 50px;
    padding: 4px 5px; width: 100%;
}
.tab-pill {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: transparent; border: none; outline: none;
    border-radius: 50px; padding: 8px 0;
    font-size: 13px; font-weight: 700; color: #111111;
    cursor: pointer; white-space: nowrap; transition: all 0.2s;
    font-family: 'Inter', sans-serif; flex: 1;
}
.tab-pill.active {
    background: #3a9bd5; color: #ffffff;
    box-shadow: 0 2px 12px rgba(58,155,213,0.35);
}
.tab-pill-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; background: rgba(255,255,255,0.18);
    border-radius: 50px; font-size: 11px; font-weight: 800;
    padding: 0 5px; color: inherit;
}
.tab-pill.active .tab-pill-badge { background: rgba(255,255,255,0.28); color: #fff; }

.chip-row { margin-top: 10px; gap: 8px; }
.chip { padding: 9px 10px; }

.section-label {
    font-size: 11px; font-weight: 800;
    color: var(--text2); letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 16px 14px 8px;
}
.si-card {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin: 0 0 12px 0;
}
.si-card-pad { padding: 16px; }

.setting-row {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    text-decoration: none; color: var(--text);
    cursor: pointer; transition: background 0.12s;
}
.setting-row:last-child { border-bottom: none; }
.setting-row:active { background: var(--bg3); }
.setting-icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.setting-label { flex: 1; font-size: 14px; font-weight: 600; }
.setting-value { font-size: 13px; color: var(--text2); margin-right: 6px; }
.setting-arrow { color: var(--text2); opacity: 0.4; }

.toast {
    position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
    background: var(--bg3); color: var(--text);
    padding: 10px 24px; border-radius: 24px;
    font-size: 13px; font-weight: 700;
    z-index: 99999; opacity: 0; transition: opacity 0.2s;
    white-space: nowrap; border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; }

.offcanvas {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 100%; max-width: 360px;
    background: var(--bg2); z-index: 9999;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column;
}
.offcanvas.open { right: 0; }
.offcanvas-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 9998;
    backdrop-filter: blur(2px);
}
.offcanvas-overlay.open { display: block; }
.offcanvas-header {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.offcanvas-header h3 { font-size: 17px; font-weight: 700; flex: 1; }
.offcanvas-body { flex: 1; overflow-y: auto; padding: 12px; }
.notif-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px; border-radius: 12px; margin-bottom: 2px;
}
.notif-item:active { background: var(--bg3); }
.notif-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg3); display: flex;
    align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.notif-icon img { width: 28px; height: 28px; }
.notif-info { flex: 1; min-width: 0; }
.notif-title { font-size: 14px; font-weight: 600; }
.notif-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }
.notif-time { font-size: 11px; color: var(--text2); }

.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(13,34,64,.55); z-index: 9999;
    align-items: flex-end; justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal-sheet {
    background: var(--bg2); border-radius: 24px 24px 0 0;
    padding: 20px 22px 40px; width: 100%; max-width: 480px;
    animation: slideUp .28s cubic-bezier(.34,1.3,.64,1);
    border: 1px solid var(--border); border-bottom: none;
}
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.modal-handle {
    width: 40px; height: 4px; background: var(--bg3);
    border-radius: 2px; margin: 0 auto 18px;
}

.wallet-card {
    background: var(--card);
    border-radius: 18px; padding: 16px;
    border: 1px solid rgba(15,23,42,0.08);
    display: flex; gap: 14px; align-items: flex-start;
    margin: 0 12px 16px;
}
.qr-wrap {
    width: 80px; height: 80px; flex-shrink: 0;
    background: var(--bg3); border: 1px solid rgba(15,23,42,0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 5px;
}
.wallet-meta { flex: 1; min-width: 0; }
.dep-tag {
    font-size: 10px; font-weight: 700; color: var(--text2);
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px;
}
.wallet-addr-row {
    display: flex; align-items: flex-start; gap: 6px;
    margin-bottom: 10px; cursor: pointer;
}
.wallet-addr-text {
    font-size: 13px; font-weight: 700; color: var(--accent);
    word-break: break-all; line-height: 1.45; flex: 1;
}
.copy-btn {
    flex-shrink: 0; margin-top: 2px;
    background: rgba(45,156,219,0.1);
    border-radius: 6px; padding: 3px;
}
.net-tag {
    font-size: 10px; font-weight: 700; color: var(--text2);
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px;
}
.net-name { font-size: 13px; font-weight: 800; color: var(--teal); }

.pkg-list { display: flex; flex-direction: column; gap: 10px; margin: 0 12px 24px; }
.pkg-card {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s;
    position: relative;
    overflow: hidden;
}

.pkg-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.045), transparent);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.pkg-card::after {
    content: '';
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px; height: 7px;
    border-right: 2px solid var(--text2);
    border-top: 2px solid var(--text2);
    opacity: 0.4;
}
.pkg-card:active {
    transform: scale(0.97) translateY(1px);
    box-shadow: none;
    background: var(--bg3);
}
.pkg-body {
    padding: 13px 16px;
    display: flex; gap: 16px; align-items: center;
}
.pkg-icon-wrap {
    width: 58px;
    height: 58px;
    padding: 12px;
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 10px 20px rgba(0,0,0,0.18);
}
.pkg-icon-wrap::before {
    display: none;
}
.pkg-icon-wrap img,
.pkg-icon-wrap .feat-icon,
.pkg-icon-wrap svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    object-fit: contain;
}
.pkg-info { flex: 1; min-width: 0; padding-right: 24px; }
.pkg-name {
    font-size: 10px; font-weight: 800;
    color: var(--text2); letter-spacing: 1.2px;
    text-transform: uppercase; line-height: 1.2;
}
.pkg-price {
    font-size: 15px; font-weight: 700;
    color: var(--text); letter-spacing: 0.2px; line-height: 1.3;
}
.pkg-desc { font-size: 12px; font-weight: 500; color: var(--text2); line-height: 1.4; margin-top: 1px; }

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), #1a6fb5);
    color: #fff; border: none; border-radius: 14px; padding: 15px;
    font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700;
    cursor: pointer; letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(45,156,219,0.3);
}
.btn-secondary {
    width: 100%; background: transparent;
    color: var(--text2); border: none;
    padding: 10px; font-size: 14px; font-weight: 700; cursor: pointer;
    margin-top: 6px;
}

.paper-content {
    padding: 24px 16px calc(var(--nav-h) + 24px);
    max-width: 600px; margin: 0 auto;
}
.paper-title {
    font-size: 22px; font-weight: 800;
    color: var(--text); text-align: center;
    margin-bottom: 28px; line-height: 1.3;
}
.paper-section { margin-bottom: 24px; }
.paper-section-title {
    font-size: 15px; font-weight: 800; color: var(--text);
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.paper-body {
    font-size: 14px; font-weight: 400;
    color: var(--text3); line-height: 1.85;
}
.paper-body p { margin-bottom: 14px; }
.paper-body p:last-child { margin-bottom: 0; }
.btn-pdf {
    display: flex; align-items: center; gap: 6px;
    border: 1.5px solid var(--border); border-radius: 20px;
    padding: 6px 14px; font-size: 11px; font-weight: 800;
    color: var(--text2); background: var(--bg3);
    cursor: pointer; letter-spacing: 0.8px;
    text-decoration: none; transition: background 0.15s;
    white-space: nowrap;
}
.btn-pdf:active { background: var(--bg); }

.text-accent  { color: var(--accent); }
.text-teal    { color: var(--teal); }
.text-gold    { color: var(--gold); }
.text-red     { color: var(--red); }
.text-muted   { color: var(--text2); }
.font-rajdhani { font-family: 'Rajdhani', sans-serif; }
.font-mono    { font-family: 'DM Mono', monospace; }

.search-btn {
            height: 44px !important; width: 52px !important;
            flex-direction: row !important; gap: 0 !important;
        }
        .search-btn .go-top, .search-btn .go-bottom { display: none !important; }
        .tg-header-new {
            background: var(--bg2, #ffffff) !important; padding: 12px 16px !important;
            gap: 12px !important; border-bottom: none !important;
        }
        .tg-avatar-new {
            width: 42px; height: 42px; border-radius: 50%;
            background: linear-gradient(135deg, #3a9bd5, #00d2ff);
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; box-shadow: 0 2px 10px rgba(58,155,213,0.45);
        }
        .tg-title-new {
            font-size: 19px !important; font-weight: 900 !important;
            color: #111111 !important; letter-spacing: 0.5px; line-height: 1.1;
        }
        .tg-sub-new {
            color: #111111 !important; font-size: 12px !important;
            font-weight: 600 !important; margin-top: 1px;
        }
        .tg-hbtn-new,
        .app-icon-btn-main {
            background: var(--bg3) !important;
            border: 1.5px solid rgba(15,23,42,0.08) !important;
            box-shadow: 0 8px 18px rgba(15,23,42,0.08) !important;
            padding: 7px !important; color: #111111 !important; cursor: pointer;
            border-radius: 50% !important; width: 38px !important; height: 38px !important;
            display: flex !important; align-items: center !important;
            justify-content: center !important;
            transition: background 0.15s, border-color 0.15s;
        }
        .tg-hbtn-new svg,
        .app-icon-btn-main svg { stroke: currentColor !important; }
        .tg-hbtn-new:active,
        .app-icon-btn-main:active {
            background: #e6edf6 !important;
            border-color: rgba(45,156,219,0.18) !important;
        }
        .tg-header-new .tg-header-actions,
        .tg-header-new .app-header-actions { gap: 10px !important; }
        .chip-row { margin-top: 10px !important; gap: 8px !important; }
        .chip { padding: 9px 10px !important; }
        body:not(.index-feature-page) .page-scroll { padding-top: 160px !important; }
        .chip-nopol.active { background: linear-gradient(135deg,#34b7e5,#24a6d2) !important; color:#fff !important; }
        .nopol-card {
            background: var(--card); border: 1px solid var(--border);
            border-radius: 18px; padding: 16px; overflow: hidden;
        }
        .nopol-card-header { display:flex; align-items:center; gap:12px; }
        .nopol-card-icon {
            width:40px; height:40px; border-radius:11px; flex-shrink:0;
            background:linear-gradient(135deg,#e67e22,#f39c12);
            display:flex; align-items:center; justify-content:center;
        }
        .nopol-card-title { font-size:17px; font-weight:900; color:var(--text); letter-spacing:1px; }
        .nopol-card-sub   { font-size:11px; color:var(--text2); font-weight:600; margin-top:2px; }
        .nopol-divider    { height:1px; background:var(--border); margin:14px 0; }
        .nopol-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
        .nopol-field { background:var(--bg3,rgba(255,255,255,0.04)); border-radius:12px; padding:10px 12px; }
        .nopol-field-label { font-size:10px; font-weight:700; letter-spacing:0.8px; text-transform:uppercase; color:var(--text2); margin-bottom:4px; }
        .nopol-field-val   { font-size:13px; font-weight:700; color:var(--text); word-break:break-word; }
        .nopol-field.full  { grid-column: 1 / -1; }
        .nopol-state-card {
            background:#ffffff; border:1px solid rgba(180,214,238,0.34); border-radius:14px;
            padding:10px 12px; display:inline-flex; align-items:center; gap:10px;
            font-size:12px; font-weight:700; color:#5c6c7e;
            box-shadow:0 10px 24px rgba(102,170,210,0.10);
        }
        .nopol-error-card { border-color:rgba(231,76,60,0.3); color:#e74c3c; }
        .nopol-spinner {
            width:16px; height:16px; border:2px solid rgba(127,205,248,0.18);
            border-top-color:#e67e22; border-radius:50%;
            animation: nopol-spin 0.85s cubic-bezier(.55,.12,.45,.88) infinite; flex-shrink:0;
        }
        @keyframes nopol-spin {
            0% { transform:rotate(0deg) scale(0.92); opacity:0.85; }
            60% { transform:rotate(220deg) scale(1); opacity:1; }
            100% { transform:rotate(360deg) scale(0.92); opacity:0.9; }
        }
        .status-strip  { margin-bottom: 14px !important; }
        .account-card  { margin-bottom: 14px !important; }
        .search-card   { margin-bottom: 14px !important; }
        .tab-row-new {
            position: fixed !important; top: var(--header-h) !important;
            left: 0 !important; right: 0 !important; z-index: 190 !important;
            height: auto !important; background: var(--bg2, #ffffff) !important;
            padding: 10px 16px 14px !important; justify-content: center !important;
            border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        }
        .tab-pill-track {
            display: flex; align-items: center; gap: 4px;
            background: rgba(255,255,255,0.07); border-radius: 50px;
            padding: 4px 5px; width: 100%;
        }
        .tab-pill {
            display: flex; align-items: center; justify-content: center; gap: 7px;
            background: transparent; border: none; outline: none;
            border-radius: 50px; padding: 8px 0;
            font-size: 13px; font-weight: 700; color: var(--text2);
            cursor: pointer; white-space: nowrap; transition: all 0.2s;
            font-family: 'Inter', sans-serif; flex: 1;
        }
        .tab-pill.active {
            background: #3a9bd5; color: #ffffff;
            box-shadow: 0 2px 12px rgba(58,155,213,0.35);
        }
        .tab-pill-badge {
            display: inline-flex; align-items: center; justify-content: center;
            min-width: 20px; height: 20px; background: rgba(255,255,255,0.18);
            border-radius: 50px; font-size: 11px; font-weight: 800;
            padding: 0 5px; color: inherit;
        }
        .tab-pill.active .tab-pill-badge { background: rgba(255,255,255,0.28); color: #fff; }

.idx-search-banner {
                display: flex; align-items: center; gap: 12px;
                background: var(--card); border: 1px solid var(--border);
                border-radius: 16px; padding: 14px 14px;
                margin-bottom: 10px;
                transition: border-color 0.25s, background 0.25s;
            }
            .idx-banner-icon {
                width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
                display: flex; align-items: center; justify-content: center;
                transition: background 0.25s;
            }
            .idx-banner-info { flex: 1; min-width: 0; }
            .idx-banner-title {
                font-size: 14px; font-weight: 800; color: var(--text);
                letter-spacing: 0.3px; margin-bottom: 3px;
            }
            .idx-banner-desc {
                font-size: 11px; color: var(--text2); font-weight: 500;
                line-height: 1.5; word-break: break-word;
            }
            .idx-banner-badge {
                font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
                padding: 4px 10px; border-radius: 20px; flex-shrink: 0;
                background: rgba(58,155,213,0.15); color: #3a9bd5;
                border: 1px solid rgba(58,155,213,0.25);
                transition: background 0.25s, color 0.25s, border-color 0.25s;
            }

.tg-hbtn.has-notif,
.app-icon-btn.has-notif { position: relative; }
        .tg-hbtn.has-notif::after {
            content: ''; position: absolute; top: 6px; right: 6px;
            width: 7px; height: 7px; border-radius: 50%;
            background: #e74c3c; border: 1.5px solid var(--bg);
        }
        .notif-count-badge {
            position: absolute;
            top: -5px;
            right: -6px;
            min-width: 19px;
            height: 19px;
            padding: 0 5px;
            border-radius: 999px;
            background: #ff3b30;
            color: #ffffff;
            border: 2px solid #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 800;
            line-height: 1;
            letter-spacing: 0;
            box-shadow: 0 5px 12px rgba(255, 59, 48, 0.28);
            pointer-events: none;
            z-index: 2;
        }
        .notif-count-badge[hidden] {
            display: none;
        }
        .notif-screen {
            position: fixed; inset: 0; z-index: 1000;
            background: var(--bg); display: flex; flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
            will-change: transform;
        }
        .notif-screen.open { transform: translateX(0); }
        .notif-tab-bar {
              display: flex; align-items: stretch;
              border-bottom: 1px solid var(--border);
              background: var(--bg); flex-shrink: 0; padding: 0 14px;
          }
        .notif-tab {
              flex: 1; background: none; border: none; outline: none;
              font-size: 11px; font-weight: 700; letter-spacing: 1px;
              color: var(--text2); padding: 16px 8px 14px;
              position: relative; cursor: pointer;
              font-family: 'Inter', sans-serif; transition: color 0.18s, opacity 0.18s;
              opacity: 0.94;
          }
        .notif-tab.active { color: var(--navy, #0d2240); font-weight: 800; opacity: 1; }
        html.dark-theme .notif-tab.active { color: var(--accent); }
        .notif-tab.active::after {
              content: ''; position: absolute;
              bottom: -1px; left: 14%; right: 14%;
              height: 3px; border-radius: 999px;
              background: var(--navy, #0d2240);
          }
        html.dark-theme .notif-tab.active::after { background: var(--accent); }
        .notif-screen-body {
            flex: 1; overflow-y: auto; overflow-x: hidden;
            -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
            padding: 24px 18px 120px;
        }
        .notif-tab-panel { display: none; flex-direction: column; gap: 16px; }
        .notif-tab-panel.active { display: flex; }
        .ncard {
            background: var(--card); border: 1px solid var(--border);
            border-radius: 18px; padding: 14px 14px;
            display: flex; align-items: flex-start; gap: 12px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
            animation: ncard-in 0.3s cubic-bezier(0.34,1.2,0.64,1) both;
        }
        @keyframes ncard-in {
            from { opacity:0; transform:translateY(14px) scale(0.98); }
            to   { opacity:1; transform:translateY(0) scale(1); }
        }
        .ncard-icon { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; box-shadow:0 5px 14px rgba(0,0,0,0.16); }
        .ncard-icon img { width:24px; height:24px; object-fit:contain; display:block; }
        .ncard-body { flex:1; min-width:0; }
        .ncard-title { font-size:13px; font-weight:700; color:var(--text); line-height:1.3; margin-bottom:4px; }
        .ncard-sub   { font-size:11px; color:var(--text2); font-weight:500; line-height:1.45; }
        .ncard-time  { font-size:10px; color:var(--text3); font-weight:600; margin-top:6px; letter-spacing:0.1px; }
        .ncard-badge { font-size:10px; font-weight:800; letter-spacing:0.5px; padding:5px 11px; border-radius:20px; flex-shrink:0; align-self:flex-start; margin-top:2px; }
        .ncard-badge.g  { background:rgba(38,161,123,0.15); color:#26a17b; border:1px solid rgba(38,161,123,0.25); }
        .ncard-badge.b  { background:rgba(45,156,219,0.15); color:#2d9cdb; border:1px solid rgba(45,156,219,0.25); }
        .ncard-badge.r  { background:rgba(231,76,60,0.15);  color:#e74c3c; border:1px solid rgba(231,76,60,0.25); }
        .ncard-badge.o  { background:rgba(230,126,34,0.15); color:#e67e22; border:1px solid rgba(230,126,34,0.25); }
        .ncard-badge.p  { background:rgba(124,58,237,0.15); color:#7c3aed; border:1px solid rgba(124,58,237,0.25); }
        .notif-empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:80px 32px 60px; color:var(--text2); user-select:none; text-align:center; }
        .notif-empty-state svg { opacity:0.18; }
        .notif-empty-state p   { font-size:15px; font-weight:700; color:var(--text2); margin:0; }
        .notif-empty-state span { font-size:13px; color:var(--text3); font-weight:400; line-height:1.5; }

.recent-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:9990; backdrop-filter:blur(3px); }
        .recent-overlay.open { display:block; }
        .recent-sheet { position:fixed; left:0; right:0; bottom:0; z-index:9991; background:var(--bg2); border-radius:24px 24px 0 0; border-top:1px solid var(--border); max-height:70vh; display:flex; flex-direction:column; transform:translateY(100%); transition:transform 0.32s cubic-bezier(0.34,1.1,0.64,1); }
        .recent-sheet.open { transform:translateY(0); }
        .recent-header { display:flex; align-items:center; justify-content:space-between; padding:4px 18px 14px; border-bottom:1px solid var(--border); flex-shrink:0; }
        .recent-title  { font-size:17px; font-weight:800; color:var(--text); }
        .recent-clear-all { font-size:12px; font-weight:700; color:var(--accent,#3a9bd5); background:rgba(58,155,213,0.1); border:none; border-radius:8px; padding:5px 10px; cursor:pointer; }
        .recent-body { flex:1; overflow-y:auto; padding:12px 16px 48px; -webkit-overflow-scrolling:touch; display:flex; flex-direction:column; gap:8px; }
        .recent-item { display:flex; align-items:center; gap:12px; padding:12px 14px; background:var(--card); border-radius:14px; border:1px solid var(--border); cursor:pointer; transition:background 0.15s; }
        .recent-item:active { background:var(--bg3,rgba(255,255,255,0.08)); }
        .recent-item-icon { width:36px; height:36px; border-radius:10px; background:linear-gradient(135deg,#e67e22,#f39c12); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
        .recent-item-info { flex:1; min-width:0; }
        .recent-item-nopol { font-size:15px; font-weight:800; color:var(--text); letter-spacing:0.5px; }
        .recent-item-name  { font-size:12px; color:var(--text2); font-weight:600; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .recent-item-time  { font-size:10px; color:var(--text3); font-weight:600; flex-shrink:0; }
        .recent-empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:60px 32px; color:var(--text2); text-align:center; }
        .recent-empty-state svg { opacity:0.18; }
        .recent-empty-state p { font-size:15px; font-weight:700; margin:0; }
        .recent-empty-state span { font-size:13px; color:var(--text3); }
        .recent-item-rich {
            display: flex; align-items: stretch; gap: 0;
            background: var(--card); border: 1px solid var(--border);
            border-radius: 16px; overflow: hidden; cursor: pointer;
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .recent-item-rich:active { transform: scale(0.98); box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
        .rir-left {
            width: 80px; flex-shrink: 0;
            display: flex; flex-direction: column;
            align-items: center; justify-content: center; gap: 6px;
            padding: 14px 8px;
            position: relative; overflow: hidden;
            /* Glass border — bright top edge, subtle right/bottom */
            box-shadow:
                inset 0 1.5px 0 rgba(255,255,255,0.72),
                inset 1px 0 0 rgba(255,255,255,0.32),
                inset -1px 0 0 rgba(0,0,0,0.06),
                inset 0 -1px 0 rgba(0,0,0,0.14);
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }
        /* Soft white wash — top 40%, flat fade, no oval */
        .rir-left::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 46%;
            background: linear-gradient(180deg,
                rgba(255,255,255,0.30) 0%,
                rgba(255,255,255,0.08) 70%,
                rgba(255,255,255,0.00) 100%);
            pointer-events: none;
            z-index: 1;
        }
        .rir-left::after { display: none; }
        .rir-left > * { position: relative; z-index: 2; }
        .rir-type-label {
            font-size: 8px; font-weight: 900; letter-spacing: 1px;
            color: rgba(255,255,255,0.97); text-transform: uppercase;
            background: rgba(255,255,255,0.18);
            backdrop-filter: blur(8px) saturate(1.4);
            -webkit-backdrop-filter: blur(8px) saturate(1.4);
            border-radius: 6px;
            padding: 2px 6px;
            border: 1px solid rgba(255,255,255,0.35);
        }
        .rir-body {
            flex: 1; min-width: 0; padding: 12px 10px 12px 14px;
            display: flex; flex-direction: column; gap: 2px;
        }
        .rir-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
        .rir-query {
            font-size: 15px; font-weight: 900; color: var(--text);
            letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .rir-time { font-size: 10px; font-weight: 600; color: var(--text3); flex-shrink: 0; }
        .rir-sublabel { font-size: 10px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text2); margin-top: 1px; }
        .rir-explanation { font-size: 11px; font-weight: 600; margin-top: 3px; }
.rir-name { font-size: 11px; color: var(--text2); font-weight: 500; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rir-arrow { display: flex; align-items: center; padding-right: 12px; color: var(--text3); flex-shrink: 0; }

.history-page {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    min-height: 100vh;
}

/* ===== Shared simple app header ===== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 12px;
    background: rgba(248, 251, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(173, 201, 226, 0.22);
}
.app-back-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(173, 201, 226, 0.34);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(132, 170, 204, 0.12);
}
.app-header-copy {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}
.app-header-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.4px;
    line-height: 1.1;
}
.app-header-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text2);
    font-weight: 600;
}

.history-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 12px;
    background: rgba(248, 251, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(173, 201, 226, 0.22);
}

.history-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(173, 201, 226, 0.34);
    background: rgba(255,255,255,0.92);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(132, 170, 204, 0.12);
}

.history-header-copy {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.history-header-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.4px;
    line-height: 1.1;
}

.history-header-sub {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text2);
    font-weight: 600;
}

.history-clear-all {
    margin-top: 3px;
}

.history-page-body {
    padding: 14px 14px 110px;
}

.history-list-wrap {
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(173, 201, 226, 0.24);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(132, 170, 204, 0.10);
    overflow: hidden;
    min-height: calc(100vh - 130px);
}

.history-recent-body {
    padding: 14px;
    min-height: calc(100vh - 150px);
}

.history-swipe-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    max-height: 220px;
    margin-bottom: 12px;
    transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                margin-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease;
}

.history-swipe-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ffb1ab, #ef6f6c);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 22px;
    opacity: 0;
    transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.history-swipe-item.swiping .history-swipe-bg {
    opacity: 1;
}

.history-swipe-remove {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.history-swipe-card {
    position: relative;
    z-index: 1;
    touch-action: pan-y;
    will-change: transform;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    backface-visibility: hidden;
}

@keyframes historyRowCollapse {
    from {
        max-height: 220px;
        opacity: 1;
        margin-bottom: 12px;
    }
    to {
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
    }
}

.history-swipe-item.deleting {
    animation: historyRowCollapse 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
}

.help-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:9990; backdrop-filter:blur(3px); }
        .help-overlay.open { display:block; }
        .help-sheet { position:fixed; left:0; right:0; bottom:0; z-index:9991; background:var(--bg2); border-radius:24px 24px 0 0; border-top:1px solid var(--border); max-height:82vh; display:flex; flex-direction:column; transform:translateY(100%); transition:transform 0.32s cubic-bezier(0.34,1.1,0.64,1); }
        .help-sheet.open { transform:translateY(0); }
        .help-header { display:flex; align-items:center; justify-content:space-between; padding:4px 18px 14px; border-bottom:1px solid var(--border); flex-shrink:0; }
        .help-title  { font-size:17px; font-weight:800; color:var(--text); }
        .help-close  { width:32px; height:32px; border-radius:50%; background:var(--bg3); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--text2); }
        .help-body   { flex:1; overflow-y:auto; padding:16px 16px 48px; -webkit-overflow-scrolling:touch; }
        .help-section-label { font-size:11px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase; color:var(--text2); padding:6px 2px 10px; }
        .help-item   { display:flex; align-items:flex-start; gap:13px; padding:11px 14px; background:var(--card); border-radius:14px; border:1px solid var(--border); margin-bottom:8px; }
        .help-icon   { width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
        .help-name   { font-size:14px; font-weight:700; color:var(--text); margin-bottom:3px; }
        .help-desc   { font-size:12px; color:var(--text2); line-height:1.5; font-weight:400; }
        .help-info   { flex:1; }

.result-page {
            position: fixed; inset: 0; z-index: 1100;
            background: var(--bg); display: flex; flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
            will-change: transform;
        }
        .result-page.open { transform: translateX(0); }
        .rp-header {
            display: flex; align-items: center; gap: 12px;
            padding: 14px 16px 14px;
            background: var(--bg); border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }
        .rp-header-title { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
        .rp-header-icon {
            width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .rp-title { font-size: 18px; font-weight: 900; color: var(--text); letter-spacing: 1px; }
        .rp-subtitle { font-size: 11px; font-weight: 700; color: var(--text2); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; }
        .rp-badge { font-size: 10px; font-weight: 800; letter-spacing: 0.5px; padding: 5px 12px; border-radius: 20px; flex-shrink: 0; }
        .rp-badge.g { background: rgba(38,161,123,0.15); color: #26a17b; border: 1px solid rgba(38,161,123,0.25); }
        .rp-badge.r { background: rgba(231,76,60,0.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,0.25); }
        .rp-body {
            flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
            padding: 20px 16px 80px;
        }
        .rp-section-label {
            font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
            text-transform: uppercase; color: var(--text2);
            padding: 16px 2px 10px; grid-column: 1 / -1;
        }
        #rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
        .recent-type-tag {
            display: inline-block; font-size: 9px; font-weight: 800;
            letter-spacing: 0.7px; text-transform: uppercase;
            background: rgba(58,155,213,0.15); color: var(--accent, #3a9bd5);
            border-radius: 6px; padding: 2px 6px; margin-right: 4px;
        }

body { margin: 0; }
        .gc-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 200;
            display: flex; align-items: center; gap: 12px;
            background: linear-gradient(90deg, #58b8ef 0%, #58b8ef 80%, #d9f3ff 100%);
            padding: 12px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.22);
        }
        .gc-back-btn {
            background: rgba(255,255,255,0.18);
            border: 1.5px solid rgba(255,255,255,0.34);
            box-shadow: 0 8px 18px rgba(23,91,155,0.22);
            padding: 7px; color: #ffffff; cursor: pointer;
            border-radius: 50%; width: 38px; height: 38px;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.15s; flex-shrink: 0;
        }
        .gc-back-btn:active { background: rgba(255,255,255,0.28); }
        .gc-header-icon {
            width: 42px; height: 42px; border-radius: 0;
            background: transparent;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; box-shadow: none;
            font-size: 14px; font-weight: 900; color: #fff;
            font-family: monospace; letter-spacing: -1px;
            border: none;
        }
        .gc-header-icon img {
            width: 42px;
            height: 42px;
            min-width: 42px;
            min-height: 42px;
            max-width: 42px;
            max-height: 42px;
            object-fit: contain;
            display: block;
        }
        .gc-header-title { flex: 1; min-width: 0; }
        .gc-title { font-size: 17px; font-weight: 900; color: #ffffff; letter-spacing: 0.4px; line-height: 1.1; }
        .gc-subtitle { font-size: 11px; font-weight: 600; color: rgba(239,247,255,0.86); margin-top: 2px; }
        .gc-scroll { padding: 76px 16px 100px; display: flex; flex-direction: column; gap: 14px; }
        .search-card {
            background: var(--card, #1e1e1e);
            border: 1px solid var(--border, rgba(255,255,255,0.08));
            border-radius: 20px; padding: 14px;
        }
        .gc-banner {
            display: flex; align-items: center; gap: 12px;
            margin-bottom: 12px;
        }
        .gc-banner-icon {
            width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(85,145,198,0.16);
        }
        .gc-banner-info { flex: 1; min-width: 0; }
        .gc-banner-title {
            font-size: 14px; font-weight: 800; color: var(--text, #fff);
            letter-spacing: 0.3px; margin-bottom: 3px;
        }
        .gc-banner-desc {
            font-size: 11px; color: var(--text2, rgba(255,255,255,0.5));
            font-weight: 500; line-height: 1.5;
        }
        .gc-banner-badge {
            font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
            padding: 4px 10px; border-radius: 20px; flex-shrink: 0;
        }
        .gc-banner-badge.gc-banner-badge-gc {
            font-size: 9px;
            letter-spacing: 0.4px;
            min-width: 42px;
            text-align: center;
            padding: 4px 8px;
            border-radius: 999px;
            background: #e7fbf3;
            color: #26a17b;
            border: 1px solid rgba(109,214,174,0.45);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
        }
        .gc-search-row { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; }
        .gc-input {
            flex: 0 1 calc(100% - 112px); width: calc(100% - 112px); min-width: 0; height: 44px;
            background: var(--bg3, rgba(255,255,255,0.06));
            border: 1px solid var(--border, rgba(255,255,255,0.1));
            border-radius: 12px; padding: 0 14px;
            font-size: 14px; font-weight: 600;
            color: var(--text, #fff); outline: none;
            transition: border-color 0.2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .gc-input::placeholder { color: var(--text2, rgba(255,255,255,0.35)); font-weight: 500; }
        .gc-input-name:focus    { border-color: rgba(46,204,113,0.6); }
        .gc-input-company:focus { border-color: rgba(155,89,182,0.6); }
        .gc-search-btn {
            height: 44px; width: 104px; min-width: 104px; flex: 0 0 104px; padding: 0 12px;
            border-radius: 12px; border: 1px solid rgba(26,111,181,0.35); cursor: pointer;
            font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
            display: flex; align-items: center; justify-content: center;
            transition: opacity 0.15s, transform 0.1s; color: #fff;
            background: #2d9cdb;
            box-shadow: 0 8px 14px rgba(45,156,219,0.18);
        }
        .gc-search-btn:active { opacity: 0.8; transform: scale(0.97); }
        @media (max-width: 380px) {
            .gc-search-row { gap: 6px; }
            .gc-search-btn { width: 88px; min-width: 88px; flex-basis: 88px; font-size: 11px; }
            .gc-input { flex-basis: calc(100% - 94px); width: calc(100% - 94px); padding: 0 10px; font-size: 12px; }
        }
        .gc-state-card {
            background: #ffffff;
            border: 1px solid rgba(180,214,238,0.34);
            border-radius: 14px; padding: 10px 12px;
            display: inline-flex; align-items: center; gap: 10px;
            font-size: 12px; font-weight: 700;
            color: #5c6c7e;
            box-shadow: 0 10px 24px rgba(102,170,210,0.10);
        }
        .gc-error-card { border-color: rgba(231,76,60,0.3); color: #e74c3c; }
        .gc-spinner {
            width: 16px; height: 16px;
            border: 2px solid rgba(127,205,248,0.18);
            border-radius: 50%; animation: gc-spin 0.85s cubic-bezier(.55,.12,.45,.88) infinite; flex-shrink: 0;
        }
        .gc-spinner-name    { border-top-color: #2ecc71; }
        .gc-spinner-company { border-top-color: #9b59b6; }
        @keyframes gc-spin {
            0% { transform: rotate(0deg) scale(0.92); opacity: 0.85; }
            60% { transform: rotate(220deg) scale(1); opacity: 1; }
            100% { transform: rotate(360deg) scale(0.92); opacity: 0.9; }
        }
        .gc-result-card {
            background: var(--card, #1e1e1e);
            border: 1px solid var(--border, rgba(255,255,255,0.08));
            border-radius: 18px; padding: 16px; overflow: hidden;
        }
        .gc-result-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
        .gc-result-icon {
            width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .gc-result-title { font-size: 15px; font-weight: 900; color: var(--text, #fff); letter-spacing: 0.5px; }
        .gc-result-sub   { font-size: 11px; color: var(--text2, rgba(255,255,255,0.5)); font-weight: 600; margin-top: 2px; }
        .gc-badge {
            font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
            padding: 5px 12px; border-radius: 20px; flex-shrink: 0; margin-left: auto;
        }
        .gc-badge.found    { background: rgba(38,161,123,0.15); color: #26a17b; border: 1px solid rgba(38,161,123,0.25); }
        .gc-badge.notfound { background: rgba(231,76,60,0.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,0.25); }
        .gc-divider { height: 1px; background: var(--border, rgba(255,255,255,0.08)); margin: 12px 0; }
        .gc-result-table {
            width: 100%; border-collapse: collapse;
            font-size: 12px; color: var(--text, #fff);
        }
        .gc-result-table th {
            text-align: left; font-size: 10px; font-weight: 800;
            letter-spacing: 0.8px; text-transform: uppercase;
            color: var(--text2, rgba(255,255,255,0.4));
            padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,0.07);
        }
        .gc-result-table td {
            font-weight: 600; padding: 9px 8px;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            vertical-align: middle; word-break: break-word;
        }
        .gc-result-table tr:last-child td { border-bottom: none; }
        .gc-result-table tr:hover td { background: rgba(255,255,255,0.03); }
        .gc-result-table td:first-child {
            color: var(--text2, rgba(255,255,255,0.4)); font-size: 11px; min-width: 30px;
        }
        .gc-entry-block {
            background: rgba(255,255,255,0.03); border-radius: 12px;
            padding: 12px; margin-bottom: 10px;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .gc-entry-block:last-child { margin-bottom: 0; }
        .gc-kv-row {
            display: flex; gap: 10px; align-items: flex-start;
            padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .gc-kv-row:last-child { border-bottom: none; padding-bottom: 0; }
        .gc-kv-key {
            font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
            text-transform: uppercase; color: var(--text2, rgba(255,255,255,0.4));
            min-width: 110px; flex-shrink: 0; padding-top: 2px;
        }
        .gc-kv-val {
            font-size: 13px; font-weight: 600; color: var(--text, #fff);
            flex: 1; word-break: break-word; line-height: 1.5;
        }
        .gc-entry-num {
            font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
            padding: 3px 9px; border-radius: 20px; margin-bottom: 10px;
            display: inline-block;
        }
        .gc-inline-chip {
            display: inline-block;
            background: rgba(255,255,255,0.07);
            border-radius: 8px;
            padding: 2px 8px;
            font-size: 11px;
            margin: 2px 6px 2px 0;
        }
        .gc-nested-card {
            display: grid;
            gap: 0;
            background: rgba(255,255,255,0.04);
            border-radius: 10px;
            padding: 8px 10px;
            margin: 4px 0;
            border: 1px solid rgba(255,255,255,0.06);
        }
        .gc-nested-row {
            display: grid;
            grid-template-columns: minmax(88px, 112px) minmax(0, 1fr);
            gap: 10px;
            align-items: start;
            padding: 6px 0;
            border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .gc-nested-row:last-child {
            border-bottom: none;
        }
        .gc-nested-key {
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.7px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.38);
            line-height: 1.35;
            word-break: break-word;
        }
        .gc-nested-val {
            min-width: 0;
            font-size: 12px;
            font-weight: 600;
            color: var(--text, #fff);
            line-height: 1.5;
            word-break: break-word;
        }
        .gc-nested-plain {
            padding: 4px 0;
            font-size: 12px;
            font-weight: 600;
            color: var(--text, #fff);
            line-height: 1.5;
            word-break: break-word;
        }
        .gc-pagination {
            display: flex; gap: 8px; align-items: center;
            justify-content: center; margin-top: 14px; flex-wrap: wrap;
        }
        .gc-page-info {
            font-size: 12px; font-weight: 700;
            color: var(--text2, rgba(255,255,255,0.5));
            padding: 0 8px;
        }
        .gc-page-btn {
            height: 36px; min-width: 80px; padding: 0 14px;
            border-radius: 10px; border: 1px solid rgba(255,255,255,0.12);
            cursor: pointer; font-size: 12px; font-weight: 800;
            background: rgba(255,255,255,0.06); color: var(--text, #fff);
            transition: opacity 0.15s, background 0.15s;
        }
        .gc-page-btn:disabled { opacity: 0.3; pointer-events: none; }
        .gc-page-btn:active { background: rgba(255,255,255,0.12); }

.modal-icon-row { display:flex; justify-content:center; margin-bottom:14px; }
        .modal-icon-bg  { width:auto; height:auto; border-radius:0; display:flex; align-items:center; justify-content:center; font-size:30px; background:transparent !important; border:none !important; box-shadow:none !important; padding:0; }
        .modal-title { font-family:'Rajdhani',sans-serif; font-size:18px; font-weight:700; color:var(--text); text-align:center; letter-spacing:1px; margin-bottom:4px; }
        .modal-price { font-family:'Rajdhani',sans-serif; font-size:26px; font-weight:700; color:var(--teal); text-align:center; margin-bottom:14px; }
        .modal-desc  { font-size:13px; font-weight:600; color:var(--text2); line-height:1.7; text-align:center; margin-bottom:18px; }
        .modal-wallet-note { background:rgba(45,156,219,0.08); border:1.5px solid rgba(45,156,219,0.2); border-radius:12px; padding:12px 14px; font-size:12px; color:var(--text3); font-weight:600; margin-bottom:18px; line-height:1.6; text-align:center; }
        .modal-wallet-note strong { color:var(--accent); }
        .btn-buy    { width:100%; background:linear-gradient(90deg,var(--accent),#1a6fb5); color:#fff; border:none; border-radius:14px; padding:15px; font-family:'Rajdhani',sans-serif; font-size:16px; font-weight:700; cursor:pointer; letter-spacing:1px; }
        .btn-cancel { width:100%; background:transparent; color:var(--text2); border:none; padding:10px; font-size:14px; font-weight:700; cursor:pointer; margin-top:6px; }

body { margin: 0; font-family: 'Inter', -apple-system, sans-serif; background: var(--bg, #f5f7fb); }
        .bpjs-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 200;
            background: linear-gradient(90deg, #58b8ef 0%, #58b8ef 80%, #d9f3ff 100%);
            display: flex; align-items: center;
            gap: 12px; padding: 14px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.22);
        }
        .bpjs-back-btn {
            width: 38px; height: 38px; border-radius: 50%;
            background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.34);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; flex-shrink: 0; color: #ffffff;
            box-shadow: 0 8px 18px rgba(23,91,155,0.22);
        }
        .bpjs-header-icon {
            width: 46px; height: 46px; border-radius: 0; flex-shrink: 0;
            background: transparent;
            display: flex; align-items: center; justify-content: center;
            box-shadow: none;
            border: none;
        }
        .bpjs-header-icon img {
            width: 46px;
            height: 46px;
            min-width: 46px;
            min-height: 46px;
            max-width: 46px;
            max-height: 46px;
            object-fit: contain;
            display: block;
        }
        .bpjs-header-title h1 {
            font-size: 19px; font-weight: 900; color: #fff; margin: 0; letter-spacing: 0.5px; line-height: 1.1;
        }
        .bpjs-header-sub {
            color: rgba(239,247,255,0.86); font-size: 12px; font-weight: 600; margin-top: 1px;
        }
        .bpjs-scroll {
            padding: 80px 16px 120px;
            display: flex; flex-direction: column; gap: 14px;
        }
        .bpjs-search-card {
            background: #ffffff;
            border: 1px solid rgba(216, 227, 238, 0.9);
            border-radius: 22px;
            padding: 18px 16px;
            overflow: hidden;
            box-shadow: 0 10px 24px rgba(160, 188, 210, 0.10);
        }
        .bpjs-card-header {
            display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
        }
        .bpjs-card-icon {
            width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .bpjs-card-icon.tk {
            background: linear-gradient(135deg, #ffd18a, #ffb35e);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(255,179,94,0.16);
        }
        .bpjs-card-icon.kes {
            background: linear-gradient(135deg, #9ae7c8, #4fcf9d);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(79,207,157,0.16);
        }
        .bpjs-card-title {
            font-size: 14px;
            font-weight: 800;
            color: #0f172a;
            letter-spacing: 0.3px;
            margin-bottom: 3px;
        }
        .bpjs-card-sub {
            font-size: 11px;
            color: #5f6f86;
            font-weight: 500;
            line-height: 1.5;
        }
        .bpjs-card-badge {
            margin-left: auto;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.5px;
            padding: 4px 10px;
            border-radius: 20px;
            flex-shrink: 0;
        }
        .bpjs-card-badge.tk {
            background: rgba(230,126,34,0.15);
            color: #e67e22;
            border: 1px solid rgba(230,126,34,0.25);
        }
        .bpjs-card-badge.kes {
            background: rgba(38, 161, 123, 0.14);
            color: #26a17b;
            border: 1px solid rgba(38, 161, 123, 0.24);
        }
        .bpjs-input-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;
        }
        .bpjs-input {
            flex: 0 1 calc(100% - 112px);
            width: calc(100% - 112px);
            min-width: 0;
            height: 44px;
            border-radius: 12px;
            border: 1px solid #d5dde7;
            background: #eef4fb;
            color: #334155;
            font-size: 14px;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            padding: 0 14px;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .bpjs-input::placeholder { color: #90a0b7; }
        .bpjs-input:focus,
        .bpjs-input.tk-focus:focus {
            border-color: rgba(230,126,34,0.35);
            box-shadow: 0 0 0 3px rgba(255,179,94,0.10);
        }
        .bpjs-input:not(.tk-focus):focus {
            border-color: rgba(38,161,123,0.35);
            box-shadow: 0 0 0 3px rgba(79,207,157,0.10);
        }

        .bpjs-btn {
            height: 44px;
            width: 104px;
            min-width: 104px;
            padding: 0 12px;
            flex: 0 0 104px;
            border-radius: 12px;
            border: none;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.5px;
            cursor: pointer;
            flex-shrink: 0;
            font-family: 'Inter', sans-serif;
            transition: opacity 0.18s, transform 0.12s;
            color: #fff;
            background: linear-gradient(135deg, #ffd18a, #ffb35e);
            box-shadow: 0 8px 14px rgba(255,179,94,0.18);
        }
        .bpjs-btn:active { opacity: 0.8; transform: scale(0.97); }
        .bpjs-btn.tk {
            background: linear-gradient(135deg, #ffd18a, #ffb35e);
            color: #fff;
        }
        .bpjs-btn.kes {
            background: linear-gradient(135deg, #9ae7c8, #4fcf9d);
            color: #fff;
        }
        @media (max-width: 380px) {
            .bpjs-input-row { gap: 6px; }
            .bpjs-btn {
                width: 88px;
                min-width: 88px;
                flex-basis: 88px;
                font-size: 11px;
            }
            .bpjs-input {
                flex-basis: calc(100% - 94px);
                width: calc(100% - 94px);
                padding: 0 10px;
                font-size: 12px;
            }
        }
        .bpjs-result-area { margin-top: 14px; }

        .bpjs-loading {
            display: none; align-items: center; gap: 12px;
            background: #ffffff; border: 1px solid rgba(180,214,238,0.34);
            border-radius: 14px; padding: 10px 12px;
            font-size: 12px; font-weight: 700; color: #5c6c7e;
            box-shadow: 0 10px 24px rgba(102,170,210,0.10);
        }
        .bpjs-loading.show { display: flex; }

        .bpjs-spinner {
            width: 16px; height: 16px; border-radius: 50%;
            border: 2px solid rgba(127,205,248,0.18);
            flex-shrink: 0; animation: bpjs-spin 0.85s cubic-bezier(.55,.12,.45,.88) infinite;
        }
        .bpjs-spinner.tk  { border-top-color: #e67e22; }
        .bpjs-spinner.kes { border-top-color: #00b4d8; }
        @keyframes bpjs-spin {
            0% { transform: rotate(0deg) scale(0.92); opacity: 0.85; }
            60% { transform: rotate(220deg) scale(1); opacity: 1; }
            100% { transform: rotate(360deg) scale(0.92); opacity: 0.9; }
        }

        .bpjs-error {
            display: none; align-items: center; gap: 12px;
            background: rgba(231,76,60,0.07); border: 1px solid rgba(231,76,60,0.25);
            border-radius: 14px; padding: 14px 16px;
            font-size: 13px; font-weight: 600; color: #e74c3c;
        }
        .bpjs-error.show { display: flex; }
        .bpjs-result-card {
            display: none; background: var(--bg3, rgba(255,255,255,0.04));
            border: 1px solid var(--border, rgba(255,255,255,0.1));
            border-radius: 16px; overflow: hidden;
        }
        .bpjs-result-card.show { display: block; }
        .bpjs-result-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 12px 14px; border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
        }
        .bpjs-result-label {
            font-size: 11px; font-weight: 800; letter-spacing: 1px;
            text-transform: uppercase; color: var(--text2, rgba(255,255,255,0.45));
        }
        .bpjs-found-badge {
            font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
            padding: 3px 9px; border-radius: 20px;
            background: rgba(38,161,123,0.15); color: #26a17b; border: 1px solid rgba(38,161,123,0.25);
        }
        .bpjs-field-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px;
        }
        .bpjs-field {
            background: var(--bg, #1c1c1e); border-radius: 10px; padding: 9px 11px;
        }
        .bpjs-field.full { grid-column: 1 / -1; }
        .bpjs-field-lbl {
            font-size: 9px; font-weight: 700; letter-spacing: 0.8px;
            text-transform: uppercase; color: var(--text2, rgba(255,255,255,0.4)); margin-bottom: 4px;
        }
        .bpjs-field-val {
            font-size: 13px; font-weight: 700; color: var(--text, #fff); word-break: break-word;
        }
        .bpjs-no-data {
            text-align: center; padding: 24px 16px;
            font-size: 13px; font-weight: 600; color: var(--text2, rgba(255,255,255,0.4));
        }
        .bpjs-divider { height: 1px; background: var(--border, rgba(255,255,255,0.08)); margin: 14px 0; }
        .bpjs-page-label {
            font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
            text-transform: uppercase; color: var(--text2, rgba(255,255,255,0.4));
            padding: 4px 2px 10px;
        }

body { margin: 0; }
        .gc-header {
            position: fixed; top: 0; left: 0; right: 0; z-index: 200;
            display: flex; align-items: center; gap: 12px;
            background: linear-gradient(90deg, #58b8ef 0%, #58b8ef 80%, #d9f3ff 100%);
            padding: 12px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.22);
        }
        .gc-back-btn {
            background: rgba(255,255,255,0.18);
            border: 1.5px solid rgba(255,255,255,0.34);
            box-shadow: 0 8px 18px rgba(23,91,155,0.22);
            padding: 7px; color: #ffffff; cursor: pointer;
            border-radius: 50%; width: 38px; height: 38px;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.15s; flex-shrink: 0;
        }
        .gc-back-btn:active { background: rgba(255,255,255,0.28); }
        .gc-header-icon {
            width: 42px; height: 42px; border-radius: 0;
            background: transparent;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; box-shadow: none;
            border: none;
        }
        .gc-header-icon img {
            width: 42px;
            height: 42px;
            min-width: 42px;
            min-height: 42px;
            max-width: 42px;
            max-height: 42px;
            object-fit: contain;
            display: block;
        }
        .gc-header-title { flex: 1; min-width: 0; }
        .gc-title { font-size: 17px; font-weight: 900; color: #fff; letter-spacing: 0.4px; line-height: 1.1; }
        .gc-subtitle { font-size: 11px; font-weight: 600; color: rgba(239,247,255,0.86); margin-top: 2px; }
        .gc-scroll { padding: 76px 16px 40px; display: flex; flex-direction: column; gap: 14px; }
        .search-card {
            background: var(--card, #1e1e1e);
            border: 1px solid var(--border, rgba(255,255,255,0.08));
            border-radius: 20px; padding: 14px;
        }
        .gc-banner {
            display: flex; align-items: center; gap: 12px;
            background: var(--card, #1e1e1e);
            border: 1px solid var(--border, rgba(255,255,255,0.08));
            border-radius: 16px; padding: 14px;
            margin-bottom: 10px;
        }
        .gc-banner-icon {
            width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(85,145,198,0.16);
        }
        .gc-banner-info { flex: 1; min-width: 0; }
        .gc-banner-title {
            font-size: 14px; font-weight: 800; color: var(--text, #fff);
            letter-spacing: 0.3px; margin-bottom: 3px;
        }
        .gc-banner-desc {
            font-size: 11px; color: var(--text2, rgba(255,255,255,0.5));
            font-weight: 500; line-height: 1.5;
        }
        .gc-banner-badge {
            font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
            padding: 4px 10px; border-radius: 20px; flex-shrink: 0;
        }
        .gc-banner-badge.gc-banner-badge-gc {
            font-size: 9px;
            letter-spacing: 0.4px;
            min-width: 42px;
            text-align: center;
            padding: 4px 8px;
            border-radius: 999px;
            background: #e7fbf3;
            color: #26a17b;
            border: 1px solid rgba(109,214,174,0.45);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
        }
        .gc-search-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: nowrap; }
        .gc-input {
            flex: 0 1 calc(100% - 112px); width: calc(100% - 112px); min-width: 0; height: 44px;
            background: var(--bg3, rgba(255,255,255,0.06));
            border: 1px solid var(--border, rgba(255,255,255,0.1));
            border-radius: 12px; padding: 0 14px;
            font-size: 14px; font-weight: 600;
            color: var(--text, #fff); outline: none;
            transition: border-color 0.2s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .gc-input::placeholder { color: var(--text2, rgba(255,255,255,0.35)); font-weight: 500; }
        .gc-input-phone:focus  { border-color: rgba(230,126,34,0.6); }
        .gc-input-data:focus   { border-color: rgba(155,89,182,0.6); }
        .gc-input-email:focus  { border-color: rgba(52,152,219,0.6); }
        .gc-search-btn {
            height: 44px; width: 104px; min-width: 104px; flex: 0 0 104px; padding: 0 12px;
            border-radius: 12px; border: none; cursor: pointer;
            font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
            display: flex; align-items: center; justify-content: center;
            transition: opacity 0.15s, transform 0.1s;
        }
        .gc-search-btn:active { opacity: 0.8; transform: scale(0.97); }
        @media (max-width: 380px) {
            .gc-search-row { gap: 6px; }
            .gc-search-btn { width: 88px; min-width: 88px; flex-basis: 88px; font-size: 11px; }
            .gc-input { flex-basis: calc(100% - 94px); width: calc(100% - 94px); padding: 0 10px; font-size: 12px; }
        }
        .gc-state-card {
            background: #ffffff;
            border: 1px solid rgba(180,214,238,0.34);
            border-radius: 14px; padding: 10px 12px;
            display: inline-flex; align-items: center; gap: 10px;
            font-size: 12px; font-weight: 700;
            color: #5c6c7e;
            box-shadow: 0 10px 24px rgba(102,170,210,0.10);
        }
        .gc-error-card { border-color: rgba(231,76,60,0.3); color: #e74c3c; }
        .gc-spinner {
            width: 16px; height: 16px;
            border: 2px solid rgba(127,205,248,0.18);
            border-top-color: #e67e22; border-radius: 50%;
            animation: gc-spin 0.85s cubic-bezier(.55,.12,.45,.88) infinite; flex-shrink: 0;
        }
        .gc-spinner-data  { border-top-color: #9b59b6; }
        .gc-spinner-email { border-top-color: #3498db; }
        @keyframes gc-spin {
            0% { transform: rotate(0deg) scale(0.92); opacity: 0.85; }
            60% { transform: rotate(220deg) scale(1); opacity: 1; }
            100% { transform: rotate(360deg) scale(0.92); opacity: 0.9; }
        }
        .gc-result-card {
            background: var(--card, #1e1e1e);
            border: 1px solid var(--border, rgba(255,255,255,0.08));
            border-radius: 18px; padding: 16px; overflow: hidden;
        }
        .gc-result-header { display: flex; align-items: center; gap: 12px; }
        .gc-result-icon {
            width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .gc-result-title { font-size: 17px; font-weight: 900; color: var(--text, #fff); letter-spacing: 1px; }
        .gc-result-sub   { font-size: 11px; color: var(--text2, rgba(255,255,255,0.5)); font-weight: 600; margin-top: 2px; }
        .gc-divider      { height: 1px; background: var(--border, rgba(255,255,255,0.08)); margin: 14px 0; }
        .gc-badge {
            font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
            padding: 5px 12px; border-radius: 20px; flex-shrink: 0; margin-left: auto;
        }
        .gc-badge.found    { background: rgba(38,161,123,0.15); color: #26a17b; border: 1px solid rgba(38,161,123,0.25); }
        .gc-badge.notfound { background: rgba(231,76,60,0.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,0.25); }
        .gc-info-row {
            display: flex; align-items: flex-start; gap: 10px;
            padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .gc-info-row:last-child { border-bottom: none; }
        .gc-info-key {
            font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
            text-transform: uppercase; color: var(--text2, rgba(255,255,255,0.4));
            min-width: 100px; flex-shrink: 0; padding-top: 2px;
        }
        .gc-info-val {
            font-size: 13px; font-weight: 600; color: var(--text, #fff);
            flex: 1; word-break: break-word; line-height: 1.5;
        }
        .gc-tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
        .gc-tag-phone {
            font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
            background: rgba(230,126,34,0.12); color: #f39c12;
            border: 1px solid rgba(230,126,34,0.2);
        }
        .gc-tag-data {
            font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
            background: rgba(155,89,182,0.12); color: #9b59b6;
            border: 1px solid rgba(155,89,182,0.2);
        }
        .gc-tag-email {
            font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px;
            background: rgba(52,152,219,0.12); color: #3498db;
            border: 1px solid rgba(52,152,219,0.2);
        }
        .gc-phone-table { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--text, #fff); margin-top: 4px; }
        .gc-phone-table th {
            text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 0.8px;
            text-transform: uppercase; color: var(--text2, rgba(255,255,255,0.4));
            padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.07);
        }
        .gc-phone-table td {
            font-weight: 600; padding: 8px 8px;
            border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle;
        }
        .gc-phone-table tr:last-child td { border-bottom: none; }
        .gc-phone-table tr:hover td { background: rgba(255,255,255,0.03); }
        .gc-provider-badge {
            display: inline-block; font-size: 10px; font-weight: 800;
            padding: 3px 8px; border-radius: 20px; letter-spacing: 0.3px;
        }
        .badge-telkomsel  { background: rgba(231,76,60,0.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,0.25); }
        .badge-exelcomindo, .badge-xl { background: rgba(52,152,219,0.15); color: #3498db; border: 1px solid rgba(52,152,219,0.25); }
        .badge-indosat    { background: rgba(255,193,7,0.15);  color: #f0b429; border: 1px solid rgba(255,193,7,0.25); }
        .badge-tri        { background: rgba(155,89,182,0.15); color: #9b59b6; border: 1px solid rgba(155,89,182,0.25); }
        .badge-smartfren  { background: rgba(46,204,113,0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.25); }
        .badge-default    { background: rgba(24,33,47,0.06); color: rgba(24,33,47,0.58); border: 1px solid rgba(15,23,42,0.10); }
        .gc-records-badge {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
            background: rgba(58,155,213,0.12); color: #3a9bd5;
            border: 1px solid rgba(58,155,213,0.2);
        }

.account-row { background:var(--card);margin:0 12px;border-radius:16px;padding:16px;display:flex;align-items:center;gap:16px;border:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,0.35); }
        .avatar-wrap { width:64px;height:64px;flex-shrink:0;border-radius:50%;background:#ffffff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 4px 14px rgba(15,23,42,0.12); }
        .avatar-wrap img { width:100%;height:100%;object-fit:cover;display:block; }
        .account-info .uname { font-size:13px;font-weight:800;color:var(--teal);margin-bottom:2px; }
        .account-info .fname { font-size:17px;font-weight:800;color:var(--text);margin-bottom:2px; }
        .account-info .ulevel { font-size:13px;font-weight:700;color:var(--text2); }
        .acc-stats { display:flex;gap:6px;flex-wrap:wrap;margin-top:8px; }
        .acc-stat { font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px; }
        .acc-stat.quota   { background:rgba(58,155,213,0.15);color:#3a9bd5;border:1px solid rgba(58,155,213,0.25); }
        .acc-stat.balance { background:rgba(38,161,123,0.15);color:#26a17b;border:1px solid rgba(38,161,123,0.25); }
        .setting-section { margin:0 12px;display:flex;flex-direction:column;gap:8px; }
        .row-item { background:var(--card);border-radius:16px;border:1px solid rgba(255,255,255,0.07);box-shadow:0 2px 8px rgba(0,0,0,0.35);padding:15px 18px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden; }
        .row-item-locked { opacity:0.9; }
        .row-label { font-size:14px;font-weight:600;color:var(--text); }
        .row-value { font-size:14px;font-weight:700;color:var(--text2); }
        .row-meta { display:flex;align-items:center;gap:10px; }
        .toggle { width:48px;height:28px;background:var(--bg3);border-radius:14px;position:relative;cursor:pointer;transition:background .25s;flex-shrink:0; }
        .toggle.on { background:var(--accent); }
        .toggle::after { content:'';position:absolute;width:22px;height:22px;background:#fff;border-radius:50%;top:3px;left:3px;transition:transform .25s cubic-bezier(.34,1.56,.64,1);box-shadow:0 1px 4px rgba(0,0,0,0.3); }
        .toggle.on::after { transform:translateX(20px); }
        .toggle.toggle-disabled { background:rgba(123,132,147,0.22);cursor:not-allowed;pointer-events:none; }
        .toggle.toggle-disabled::after { background:rgba(255,255,255,0.95);box-shadow:none; }
        .logout-row { box-shadow:0 2px 8px rgba(0,0,0,0.35);border:1px solid rgba(255,255,255,0.07);background:var(--card);margin:0 12px;border-radius:14px;padding:14px 18px;display:flex;align-items:center;gap:14px;text-decoration:none;cursor:pointer; }
        .logout-icon { width:40px;height:40px;background:linear-gradient(135deg,#e74c3c,#c0392b);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0; }
        .logout-text { font-size:15px;font-weight:700;color:#e74c3c; }
        .chevron { color:var(--text2);transition:transform .25s; }
        .collapsible-content { max-height:0;overflow:hidden;transition:max-height .3s ease;background:var(--bg3);padding:0 18px;font-size:13px;font-weight:500;color:var(--text2);line-height:1.7;border-radius:0 0 12px 12px; }
        .collapsible-content.open { max-height:300px;padding:14px 18px; }
        .logout-modal-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:99999;align-items:center;justify-content:center;backdrop-filter:blur(4px); }
        .logout-modal-overlay.open { display:flex; }
        .logout-modal-box { background:var(--bg2);border-radius:22px;padding:28px 24px;width:88%;max-width:320px;text-align:center;border:1px solid var(--border); }
        .feature-locked-modal { max-width:340px; }
        .feature-locked-icon { width:64px;height:64px;background:linear-gradient(135deg,#2d9cdb,#1a6fb5);border-radius:18px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px; }
        .logout-modal-title { font-size:18px;font-weight:800;color:var(--text);margin-bottom:8px; }
        .logout-modal-sub { font-size:14px;color:var(--text2);margin-bottom:24px;line-height:1.5; }
        .logout-modal-btns { display:flex;gap:10px; }
        .modal-btn-cancel  { flex:1;padding:13px;border-radius:12px;border:1px solid var(--border);background:transparent;color:var(--text2);font-size:14px;font-weight:700;cursor:pointer; }
        .modal-btn-confirm { flex:1;padding:13px;border-radius:12px;border:none;background:linear-gradient(90deg,var(--accent),#1a6fb5);color:#fff;font-size:14px;font-weight:700;cursor:pointer; }
        .db-status-badge { display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;padding:3px 9px;border-radius:20px; }
        .db-on  { background:rgba(38,161,123,0.15);color:#26a17b;border:1px solid rgba(38,161,123,0.25); }
        .db-off { background:rgba(231,76,60,0.12);color:#e74c3c;border:1px solid rgba(231,76,60,0.25); }

body.signin-page { overflow:hidden;height:100dvh;position:fixed;inset:0;width:100%;touch-action:none;overscroll-behavior:none; }

.db-dot { position:fixed;top:14px;right:16px;width:10px;height:10px;border-radius:50%;background:#26a17b;box-shadow:0 0 0 3px rgba(38,161,123,0.22);z-index:999; }
.db-dot.off { background:#e74c3c;box-shadow:0 0 0 3px rgba(231,76,60,0.22); }

.signin-wrap { position:fixed;inset:0;min-height:100dvh;display:flex;align-items:flex-start;justify-content:center;background:var(--bg);padding:32px 20px 36px;overflow:hidden; }
.signin-body { width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center;min-height:calc(100dvh - 68px);padding-top:34px; }

.signin-logo { width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-height:174px;margin:0 0 26px; }
.signin-logo-icon { width:72px;height:72px;border-radius:22px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,0.12); }
.signin-logo-icon img { width:100%;height:100%;object-fit:cover;display:block; }
.signin-logo-title { font-family:'Rajdhani',sans-serif;font-size:28px;font-weight:900;color:var(--text);letter-spacing:2px; }
.signin-step-title { font-size:16px;font-weight:700;color:var(--text2);margin-top:2px; }
.signin-step-copy { font-size:15px;font-weight:800;color:var(--text);text-align:center;margin:16px 0 6px; }

.signin-card { width:100%;background:var(--card);border:1px solid var(--border);border-radius:22px;padding:28px 22px 24px;box-shadow:0 4px 24px rgba(0,0,0,0.08); }
.signin-card-title { font-family:'Rajdhani',sans-serif;font-size:22px;font-weight:700;color:var(--text);letter-spacing:0.5px;margin-bottom:20px;user-select:none;-webkit-user-select:none; }

.signin-error { display:flex;align-items:center;gap:8px;background:rgba(231,76,60,0.10);border:1px solid rgba(231,76,60,0.28);border-radius:12px;padding:12px 14px;font-size:13px;font-weight:600;color:#e74c3c;margin-bottom:18px; }
.signin-error-inline { width:100%;max-width:400px;margin-bottom:16px; }

.signin-flow-form { width:100%;max-width:400px;display:flex;flex-direction:column;gap:2px;margin:auto 0; }

.signin-flow-form .signin-step-copy:first-child { margin-top:0; }

.field-group { margin-bottom:14px; }
.field-label { display:block;font-size:11px;font-weight:800;color:var(--text2);letter-spacing:0.8px;text-transform:uppercase;margin-bottom:7px; }
.field-wrap { position:relative;display:flex;align-items:center; }
.field-icon { position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--text3);display:flex;align-items:center;justify-content:center;pointer-events:none;line-height:0; }
.field-wrap input { width:100%;height:50px;border-radius:14px;border:1.5px solid var(--border);background:var(--bg3);padding:0 44px 0 42px;font-family:'Inter',sans-serif;font-size:15px;font-weight:500;color:var(--text);outline:none;transition:border-color .18s,box-shadow .18s,background .18s;-webkit-appearance:none; }
.field-wrap input::placeholder { color:var(--text3);font-weight:400; }
.field-wrap input:focus { border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(45,156,219,0.13); }

.pass-toggle { position:absolute;right:10px;width:32px;height:32px;border-radius:10px;border:none;background:transparent;display:flex;align-items:center;justify-content:center;color:var(--text3);cursor:pointer;padding:0;transition:color .15s; }
.pass-toggle:active { color:var(--accent); }
.pass-toggle .icon-hide { display:none; }
.pass-toggle.show-pass .icon-view { display:none; }
.pass-toggle.show-pass .icon-hide { display:block; }

.signin-btn { width:100%;height:52px;margin-top:20px;border-radius:16px;border:1px solid rgba(255,255,255,0.28);background:linear-gradient(180deg,rgba(255,255,255,0.22),rgba(255,255,255,0.08)),linear-gradient(135deg,rgba(127,211,255,0.95) 0%,rgba(77,184,255,0.92) 55%,rgba(45,156,219,0.96) 100%);color:#fff;font-family:'Rajdhani',sans-serif;font-size:17px;font-weight:700;letter-spacing:1.5px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,0.42),inset 0 -10px 18px rgba(255,255,255,0.10),0 10px 22px rgba(45,156,219,0.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:opacity .15s,transform .1s,box-shadow .15s; }
.signin-btn:active { opacity:.9;transform:scale(0.98);box-shadow:inset 0 1px 0 rgba(255,255,255,0.34),0 6px 14px rgba(45,156,219,0.18); }
.signin-btn-disabled { background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(255,255,255,0.05)),linear-gradient(135deg,rgba(183,225,248,0.95) 0%,rgba(159,212,243,0.92) 55%,rgba(127,193,234,0.96) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,0.28),0 8px 18px rgba(127,193,234,0.18);opacity:.72;cursor:not-allowed; }
.signin-btn:disabled:active { opacity:.72;transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,0.28),0 8px 18px rgba(127,193,234,0.18); }

.signin-user-name { width:100%;text-align:center;font-size:18px;font-weight:800;color:var(--text);margin-bottom:16px; }
.signin-pin-wrap { width:100%;max-width:376px;position:relative;margin:0 auto; }
.signin-pin-hidden { position:absolute;inset:0;opacity:0;cursor:text; }
.signin-pin-slots { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px; }
.signin-pin-slot { height:82px;border-radius:20px;border:2px solid rgba(15,23,42,0.18);background:linear-gradient(180deg,#fbfcff 0%,#f3f6ff 100%);display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:800;color:var(--text);box-shadow:0 6px 16px rgba(15,23,42,0.04);transition:border-color .16s,box-shadow .16s,transform .12s,background .16s; }
.signin-pin-slot.filled { border-color:rgba(45,156,219,0.36);background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);box-shadow:0 8px 18px rgba(45,156,219,0.10); }

.signin-signup-row { display:flex;align-items:center;justify-content:center;gap:5px;margin-top:18px;font-size:13px;font-weight:600;color:var(--text2); }
.signin-signup-link { color:var(--accent);text-decoration:none;font-weight:800; }
.signin-signup-link:active { opacity:.75; }

.signin-footer { margin-top:auto;padding-top:28px;font-size:12px;font-weight:500;color:var(--text3);text-align:center; }
.signin-footer span { color:var(--accent);font-weight:700; }

@media (max-width: 420px) {
    .signin-wrap { padding:24px 20px 32px; }
    .signin-body { min-height:calc(100dvh - 56px);padding-top:24px; }
    .signin-logo { min-height:156px;margin-bottom:24px; }
    .signin-pin-wrap { max-width:340px; }
    .signin-pin-slots { gap:8px; }
    .signin-pin-slot { height:74px;border-radius:18px;font-size:26px; }
}

/* ── Sign-up page ── */
.signup-wrap { min-height:100dvh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:32px 20px 48px; }
.signup-wrap-success { position:relative; }
.signup-body { width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center; }
.signup-back { position:fixed;top:14px;left:16px;z-index:999; }

/* logo — reuses signin-logo classes, these are fallbacks */
.signup-logo-icon { width:72px;height:72px;border-radius:22px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,0.12);margin-bottom:10px; }
.signup-logo-icon img { width:100%;height:100%;object-fit:cover;display:block; }
.signup-logo-name { font-family:'Rajdhani',sans-serif;font-size:28px;font-weight:900;letter-spacing:2px;color:var(--text);margin-bottom:32px; }

/* card — identical to .signin-card */
.signup-card { width:100%;background:var(--card);border:1px solid var(--border);border-radius:22px;padding:28px 22px 24px;box-shadow:0 4px 24px rgba(0,0,0,0.08); }
.signup-card-title { font-family:'Rajdhani',sans-serif;font-size:22px;font-weight:700;color:var(--text);letter-spacing:0.5px;margin-bottom:20px;user-select:none;-webkit-user-select:none; }

.signup-error { display:flex;align-items:center;gap:8px;background:rgba(231,76,60,0.10);border:1px solid rgba(231,76,60,0.28);border-radius:12px;padding:12px 14px;font-size:13px;font-weight:600;color:#e74c3c;margin-bottom:18px; }

.signup-field { margin-bottom:14px; }
.signup-field input { width:100%;height:50px;border-radius:14px;border:1.5px solid var(--border);background:var(--bg3);padding:0 16px;font-family:'Inter',sans-serif;font-size:15px;font-weight:500;color:var(--text);outline:none;transition:border-color .18s,box-shadow .18s,background .18s;-webkit-appearance:none; }
.signup-field input::placeholder { color:var(--text3);font-weight:400; }
.signup-field input:focus { border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(45,156,219,0.13); }

.signup-signin-row { display:flex;align-items:center;justify-content:center;gap:5px;margin-top:18px;font-size:13px;font-weight:600;color:var(--text2); }
.signup-signin-row a { color:var(--accent);text-decoration:none;font-weight:800; }
.signup-signin-row a:active { opacity:.75; }

.signup-btn { width:100%;height:52px;margin-top:20px;border-radius:16px;border:1px solid rgba(255,255,255,0.28);background:linear-gradient(180deg,rgba(255,255,255,0.22),rgba(255,255,255,0.08)),linear-gradient(135deg,rgba(127,211,255,0.95) 0%,rgba(77,184,255,0.92) 55%,rgba(45,156,219,0.96) 100%);color:#fff;font-family:'Rajdhani',sans-serif;font-size:17px;font-weight:700;letter-spacing:1.5px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,0.42),inset 0 -10px 18px rgba(255,255,255,0.10),0 10px 22px rgba(45,156,219,0.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:opacity .15s,transform .1s,box-shadow .15s; }
.signup-btn:active { opacity:.9;transform:scale(0.98);box-shadow:inset 0 1px 0 rgba(255,255,255,0.34),0 6px 14px rgba(45,156,219,0.18); }

.signup-success-overlay { position:fixed;inset:0;background:rgba(0,0,0,0.52);display:flex;align-items:center;justify-content:center;padding:24px;z-index:9999; }
.signup-success-card { width:min(100%,400px);background:var(--card);border:1px solid var(--border);border-radius:22px;box-shadow:0 4px 24px rgba(0,0,0,0.08);padding:28px 22px 24px; }
.signup-success-head { display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:20px; }
.signup-success-icon { width:72px;height:72px;border-radius:22px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,0.12);flex-shrink:0; }
.signup-success-icon img { width:100%;height:100%;object-fit:cover;display:block; }
.signup-success-brand { font-family:'Rajdhani',sans-serif;font-size:28px;font-weight:900;letter-spacing:2px;color:var(--text);line-height:1; }
.signup-success-text { font-size:15px;font-weight:600;line-height:1.5;color:var(--text2);margin-bottom:20px;text-align:center; }
.signup-success-link { display:block;width:100%;height:52px;line-height:52px;text-align:center;text-decoration:none;border-radius:16px;border:1px solid rgba(255,255,255,0.28);background:linear-gradient(180deg,rgba(255,255,255,0.22),rgba(255,255,255,0.08)),linear-gradient(135deg,rgba(127,211,255,0.95) 0%,rgba(77,184,255,0.92) 55%,rgba(45,156,219,0.96) 100%);color:#fff;font-family:'Rajdhani',sans-serif;font-size:17px;font-weight:700;letter-spacing:1.5px;box-shadow:inset 0 1px 0 rgba(255,255,255,0.42),0 10px 22px rgba(45,156,219,0.22); }
.signup-success-link:active { opacity:.9; }

.hero-card {
            background: linear-gradient(135deg, #0d2240 0%, #1a3a5c 50%, #0e3d6e 100%);
            border-radius: 20px; padding: 20px 18px 18px;
            position: relative; overflow: hidden; margin-bottom: 12px;
            box-shadow: none;
            border: 1px solid rgba(255,255,255,0.08);
        }
        .hero-card::after  { content:''; position:absolute; bottom:-80px; left:-40px; width:240px; height:240px; background:radial-gradient(circle, rgba(45,156,219,0.1), transparent 70%); border-radius:50%; }
        .hero-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; position:relative; z-index:1; }
        .hero-coin { display:flex; align-items:center; gap:10px; }
        .usdt-circle { width:40px; height:40px; background:#26a17b; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 10px rgba(38,161,123,0.5); flex-shrink:0; }
        .usdt-circle svg { width:24px; height:24px; }
        .coin-ticker { font-size:15px; font-weight:800; color:#fff; line-height:1.1; font-family:'Rajdhani',sans-serif; letter-spacing:0.5px; }
        .coin-net-badge { display:inline-block; background:rgba(38,161,123,0.25); color:#4dd9a8; font-size:9px; font-weight:700; letter-spacing:1px; padding:2px 7px; border-radius:20px; border:1px solid rgba(38,161,123,0.4); margin-top:2px; }
        .hero-price { text-align:right; }
        .price-val { font-size:13px; font-weight:700; color:#4dd9a8; }
        .price-lbl { font-size:10px; color:rgba(255,255,255,0.4); }
        .balance-section { margin-bottom:16px; position:relative; z-index:1; }
        .balance-lbl  { font-size:10px; color:rgba(255,255,255,0.45); letter-spacing:1.5px; text-transform:uppercase; margin-bottom:4px; }
        .balance-main { font-size:36px; font-weight:900; color:#fff; line-height:1; letter-spacing:-1px; font-family:'Rajdhani',sans-serif; }
        .balance-main span { font-size:16px; font-weight:600; color:rgba(255,255,255,0.5); margin-left:6px; }
        .balance-usd  { font-size:12px; color:rgba(255,255,255,0.4); margin-top:4px; }
        .addr-row { background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.1); border-radius:12px; padding:10px 14px; display:flex; align-items:center; gap:10px; margin-bottom:16px; position:relative; z-index:1; }
        .addr-text { flex:1; min-width:0; font-family:'DM Mono',monospace; font-size:11px; color:rgba(255,255,255,0.65); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .addr-copy-btn { display:inline-flex; align-items:center; gap:5px; background:#26a17b; color:#fff; border:none; border-radius:8px; padding:6px 12px; font-size:11px; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; transition:background 0.2s; flex-shrink:0; }
        .addr-copy-btn.copied { background:#1a6b52; }
        .action-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; position:relative; z-index:1; }
        .action-btn { display:flex; flex-direction:column; align-items:center; gap:8px; border:1px solid rgba(15,23,42,0.08); border-radius:16px; padding:12px 8px; cursor:pointer; text-decoration:none; transition:background 0.15s, transform 0.15s; background:#ffffff; }
        .action-btn:active { background:rgba(15,23,42,0.06); }
        .action-btn svg { width:20px; height:20px; }
        .action-btn svg, .quick-icon img, .menu-icon-wrap img { position: relative; z-index: 1; }
        .action-btn.qr-btn::before, .action-btn.history-btn::before, .action-btn.explorer-btn::before, .quick-icon::before, .menu-icon-wrap::before { display:none; }
        .action-btn span { font-size:11px; font-weight:700; color:rgba(24,33,47,0.85); }
        .action-btn.qr-btn       { color:#111111; border-color:rgba(45,156,219,0.22); background:#ffffff; position:relative; overflow:visible; }
        .action-btn.qr-btn svg { padding:12px; width:58px; height:58px; border-radius:16px; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(45,156,219,0.56), rgba(45,156,219,0.24)); border: 1px solid rgba(88,191,255,0.72); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px rgba(45,156,219,0.22), 0 0 18px rgba(45,156,219,0.16), 0 12px 24px rgba(0,0,0,0.12); }
        .action-btn.qr-btn::before { display:none; }
        .action-btn.history-btn  { color:#111111; border-color:rgba(245,166,35,0.22); background:#ffffff; position:relative; overflow:visible; }
        .action-btn.history-btn svg { padding:12px; width:58px; height:58px; border-radius:16px; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(245,166,35,0.58), rgba(230,126,34,0.24)); border: 1px solid rgba(255,189,73,0.76); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px rgba(245,166,35,0.22), 0 0 18px rgba(245,166,35,0.16), 0 12px 24px rgba(0,0,0,0.12); }
        .action-btn.history-btn::before { display:none; }
        .action-btn.explorer-btn { color:#111111; border-color:rgba(38,161,123,0.22); background:#ffffff; position:relative; overflow:visible; }
        .action-btn.explorer-btn svg { padding:12px; width:58px; height:58px; border-radius:16px; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(38,161,123,0.56), rgba(38,161,123,0.22)); border: 1px solid rgba(71,214,164,0.70); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px rgba(38,161,123,0.22), 0 0 18px rgba(38,161,123,0.16), 0 12px 24px rgba(0,0,0,0.12); }
        .action-btn.explorer-btn::before { display:none; }
        .quick-actions { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:20px; }
        .quick-btn { display:flex; flex-direction:column; align-items:center; gap:8px; background:var(--card); border-radius:18px; padding:14px 6px 12px; cursor:pointer; text-decoration:none; border:1px solid var(--border); box-shadow:0 2px 12px rgba(0,0,0,0.2); transition:transform 0.18s, box-shadow 0.18s; }
        .quick-btn:hover  { transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,0.3); }
        .quick-btn:active { transform:scale(0.93); }
        .quick-icon { width:58px; height:58px; padding:12px; border-radius:16px; display:flex; align-items:center; justify-content:center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 20px rgba(0,0,0,0.18); position:relative; overflow:visible; border:1px solid rgba(255,255,255,0.08); }
        .quick-icon img { width:100%; height:100%; }
        .quick-label { font-size:10px; font-weight:800; color:var(--text2); letter-spacing:0.3px; text-align:center; }
        .q-deposit  .quick-icon { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(45,156,219,0.56), rgba(45,156,219,0.24)); border:1px solid rgba(88,191,255,0.72); }
        .q-deposit .quick-icon::before { display:none; }
        .q-withdraw .quick-icon { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(231,76,60,0.56), rgba(192,57,43,0.22)); border:1px solid rgba(255,114,96,0.74); }
        .q-withdraw .quick-icon::before { display:none; }
        .q-transfer .quick-icon { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(38,161,123,0.56), rgba(38,161,123,0.22)); border:1px solid rgba(71,214,164,0.70); }
        .q-transfer .quick-icon::before { display:none; }
        .q-voucher  .quick-icon { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 48%), linear-gradient(145deg, rgba(245,166,35,0.58), rgba(230,126,34,0.24)); border:1px solid rgba(255,189,73,0.76); }
        .q-voucher .quick-icon::before { display:none; }
        .section-hdr { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; padding:0 2px; }
        .section-hdr h3 { font-size:14px; font-weight:800; color:var(--text); }
        .section-hdr a  { font-size:12px; font-weight:700; color:var(--teal); text-decoration:none; }
        .token-card { background:var(--card); border-radius:16px; padding:14px 16px; display:flex; align-items:center; gap:14px; border:1px solid var(--border); box-shadow:0 2px 10px rgba(0,0,0,0.15); margin-bottom:16px; }
        .token-icon { width:58px; height:58px; padding:12px; background:linear-gradient(135deg,#2dd4a0,#26a17b); border-radius:16px; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px rgba(38,161,123,0.22), 0 0 18px rgba(38,161,123,0.16), 0 12px 24px rgba(0,0,0,0.18); border:1px solid rgba(71,214,164,0.7); position:relative; overflow:visible; }
        .token-icon::before { display:none; }
        .token-icon svg { width:100%; height:100%; position:relative; z-index:1; }
        .token-info { flex:1; min-width:0; }
        .token-name { font-size:15px; font-weight:800; color:var(--text); font-family:'Rajdhani',sans-serif; }
        .token-sub  { font-size:11px; color:var(--text2); font-weight:600; margin-top:2px; }
        .token-amounts { text-align:right; }
        .token-bal { font-size:16px; font-weight:900; color:var(--text); font-family:'Rajdhani',sans-serif; }
        .token-usd { font-size:11px; color:var(--text2); font-weight:600; margin-top:2px; }
        .tx-list { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
        .tx-item { background:var(--card); border-radius:16px; padding:13px 15px; display:flex; align-items:center; gap:12px; border:1px solid var(--border); }
        .tx-icon-wrap { width:58px; height:58px; padding:12px; border-radius:16px; display:flex; align-items:center; justify-content:center; flex-shrink:0; position:relative; overflow:visible; }
        .tx-icon-wrap::before { display:none; }
        .tx-icon-wrap.pending { background:linear-gradient(135deg,#7a5608,#5a4010); border:1px solid rgba(245,166,35,0.72); box-shadow:inset 0 1px 0 rgba(255,255,255,0.12), 0 0 0 1px rgba(245,166,35,0.22), 0 0 18px rgba(245,166,35,0.14), 0 12px 24px rgba(0,0,0,0.18); }
        .tx-icon-wrap.pending::before { display:none; }
        .tx-icon-wrap svg { width:100%; height:100%; position:relative; z-index:1; }
        .tx-info { flex:1; min-width:0; }
        .tx-label { font-size:13px; font-weight:700; color:var(--text); }
        .tx-date  { font-size:11px; color:var(--text2); font-weight:600; margin-top:2px; }
        .tx-amount { text-align:right; }
        .tx-amount .amt { font-size:14px; font-weight:900; color:var(--gold); font-family:'Rajdhani',sans-serif; }
        .menu-section { margin-bottom:16px; }
        .menu-section-label { font-size:10px; font-weight:800; color:var(--text2); letter-spacing:2px; text-transform:uppercase; margin-bottom:10px; padding-left:2px; }
        .menu-list { display:flex; flex-direction:column; gap:8px; }
        .menu-item { background:var(--card); border-radius:16px; padding:13px 15px; display:flex; align-items:center; gap:16px; border:1px solid var(--border); text-decoration:none; color:inherit; transition:background 0.12s; position:relative; }
        .menu-item:active { background:var(--bg3); }
        .menu-item::after { content:''; position:absolute; right:16px; top:50%; transform:translateY(-50%) rotate(45deg); width:7px; height:7px; border-right:2px solid var(--text2); border-top:2px solid var(--text2); opacity:0.4; }
        .menu-icon-wrap { width:58px; height:58px; padding:12px; border-radius:16px; display:flex; align-items:center; justify-content:center; flex-shrink:0; position:relative; overflow:visible; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 20px rgba(0,0,0,0.18); border:1px solid rgba(255,255,255,0.08); }
        .menu-icon-wrap img { width:100%; height:100%; object-fit:contain; }
        .menu-text { flex:1; min-width:0; padding-right:18px; }
        .menu-text h4 { font-size:14px; font-weight:700; color:var(--text); margin-bottom:2px; }
        .menu-text p  { font-size:11px; color:var(--text2); font-weight:600; }
        .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.65); z-index:9999; align-items:flex-end; justify-content:center; backdrop-filter:blur(4px); }
        .modal-overlay.active { display:flex; }
        .modal-sheet { background:var(--bg2); border-radius:24px 24px 0 0; padding:20px 24px 40px; width:100%; max-width:480px; animation:slideUp .28s cubic-bezier(.34,1.3,.64,1); border:1px solid var(--border); border-bottom:none; }
        @keyframes slideUp { from{transform:translateY(100%);opacity:0} to{transform:translateY(0);opacity:1} }
        .modal-handle   { width:40px; height:4px; background:var(--bg3); border-radius:2px; margin:0 auto 20px; }
        .modal-title    { font-size:17px; font-weight:800; color:var(--text); text-align:center; margin-bottom:6px; font-family:'Rajdhani',sans-serif; }
        .modal-subtitle { font-size:12px; color:var(--text2); text-align:center; margin-bottom:18px; font-weight:600; }
        .qr-box { width:180px; height:180px; margin:0 auto 16px; border-radius:14px; overflow:hidden; background:#fff; padding:8px; }
        .qr-box img { width:100%; height:100%; border-radius:8px; }
        .modal-addr-box { background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:10px 14px; font-family:'DM Mono',monospace; font-size:11px; color:var(--text); word-break:break-all; text-align:center; margin-bottom:18px; line-height:1.6; }
        .modal-btn-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
        .modal-btn { padding:13px; border-radius:14px; font-size:13px; font-weight:800; cursor:pointer; border:none; font-family:'Inter',sans-serif; }
.modal-btn.secondary { background:var(--bg3); color:var(--text2); border:1px solid var(--border); }
        .modal-btn.primary   { background:#26a17b; color:#fff; }

.result-page {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--bg, #f5f7fb);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.result-page.open { transform: translateX(0); }
.rp-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.rp-top-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.rp-tab-title {
    text-align: center;
    color: #111111;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
}
.rp-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 80px;
    background:
        radial-gradient(circle at top right, rgba(52,152,219,0.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f2f6fb 100%);
}
.rp-summary-card {
    padding: 10px 4px 20px;
    text-align: center;
}
.rp-plate-shell {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 16px;
    background: linear-gradient(180deg, #f8f2d4 0%, #efe8bf 100%);
    border: 4px solid #1f3424;
    border-radius: 16px;
    box-shadow:
        0 0 0 2px rgba(106, 201, 123, 0.22),
        0 14px 28px rgba(0,0,0,0.28);
}
.rp-headline {
    padding: 18px 16px;
    color: #161616;
    font-size: clamp(28px, 7vw, 42px);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    white-space: nowrap;
}
.rp-summary-subtitle {
    color: #111111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.rp-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.rp-meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    background: #eef2f7;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.rp-meta-chip small {
    display: none;
}
.rp-meta-chip.dark {
    background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 100%);
    color: #334155;
}
.rp-meta-chip.teal {
    background: linear-gradient(180deg, #d9fbef 0%, #c8f3e3 100%);
    color: #138a68;
    border-color: rgba(19, 138, 104, 0.12);
}
.rp-meta-chip.amber {
    background: linear-gradient(180deg, #fff0d7 0%, #ffe4ba 100%);
    color: #c77612;
    border-color: rgba(199, 118, 18, 0.12);
}
.rp-meta-chip.danger {
    background: linear-gradient(180deg, #ffe1e1 0%, #ffd2d2 100%);
    color: #c24141;
    border-color: rgba(194, 65, 65, 0.12);
}
.rp-sections {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rp-section-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.rp-section-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}
.rp-section-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #36a3ff;
    box-shadow: 0 0 0 2px rgba(54,163,255,0.16);
}
.rp-section-card.gold .rp-section-dot {
    background: #ffbf2f;
    box-shadow: 0 0 0 2px rgba(255,191,47,0.16);
}
.rp-section-card.green .rp-section-dot {
    background: #45d483;
    box-shadow: 0 0 0 2px rgba(69,212,131,0.16);
}
.rp-section-rows {
    display: flex;
    flex-direction: column;
}
.rp-table-wrap {
    overflow: hidden;
}
.rp-data-table {
    width: 100%;
    border-collapse: collapse;
}
.rp-data-table th,
.rp-data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    vertical-align: top;
    text-align: left;
    background: rgba(255,255,255,0.72);
}
.rp-data-table tr:nth-child(odd) th,
.rp-data-table tr:nth-child(odd) td {
    background: rgba(246, 250, 255, 0.94);
}
.rp-data-table tr:last-child th,
.rp-data-table tr:last-child td {
    border-bottom: none;
}
.rp-data-table th {
    width: 38%;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.rp-data-table td {
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    word-break: break-word;
}
.rp-row {
    display: grid;
    grid-template-columns: 98px 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.rp-row:last-child {
    border-bottom: none;
}
.rp-row.full {
    grid-template-columns: 98px 1fr;
}
.rp-row-label {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}
.rp-row-value {
    color: #111111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    word-break: break-word;
}











/* Index feature layout */
.index-feature-page {
    background: var(--bg2);
}

.index-feature-page .page-scroll.index-feature-layout,
.index-feature-page .page-body,
.index-feature-page .tg-header.tg-header-new {
    background: var(--bg2);
}

.index-feature-page .tab-row,
.index-feature-page #nopol-loading,
.index-feature-page #nopol-error {
    display: none !important;
}

.index-feature-page .page-scroll.index-feature-layout {
    padding: calc(62px + var(--safe-top)) 12px calc(var(--nav-h) + 28px) !important;
    min-height: 100vh;
}

.index-feature-page .index-profile-slot {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 2px 14px;
}

.index-feature-page .index-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #78d0f6;
    box-shadow: 0 4px 10px rgba(45, 156, 219, 0.12);
    flex-shrink: 0;
}

.index-feature-page .index-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.index-feature-page .index-profile-copy {
    min-width: 0;
    flex: 1;
}

.index-feature-page .index-profile-name {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    color: #111111;
    line-height: 1.1;
    text-transform: uppercase;
}

.index-feature-page .index-profile-sub {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
}

.index-feature-page .location-inline-trigger {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    color: #58a845;
    cursor: pointer;
}

.index-feature-page .location-inline-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.index-feature-page .location-inline-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
}

.index-feature-page .location-inline-text {
    font-size: 12px;
    font-weight: 700;
    color: #58a845;
}

.index-feature-page .location-inline-result {
    margin-top: 8px;
    max-width: 240px;
    font-size: 10px;
    line-height: 1.35;
    color: #7b8794;
    font-weight: 600;
    word-break: break-word;
}

.index-feature-page .location-inline-coords {
    margin-top: 3px;
    max-width: 240px;
    font-size: 10px;
    line-height: 1.35;
    color: #9aa4ad;
    font-weight: 600;
    word-break: break-word;
}

.index-feature-page .location-inline-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.index-feature-page .location-inline-qr {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(87, 166, 208, 0.18);
    border-radius: 14px;
    background: rgba(255,255,255,0.88);
    color: #57a6d0;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(87, 166, 208, 0.12);
}

.index-feature-page .location-inline-qr img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    opacity: 0.78;
}

.index-feature-page .location-inline-copy {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #3d9d46;
    padding: 0;
    cursor: pointer;
}

.index-feature-page .location-inline-copy svg {
    display: block;
}

.profile-qr-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(5px);
    z-index: 12010;
}

.profile-qr-overlay.open {
    display: flex;
}

.profile-qr-overlay:not(.open),
.quota-scanner-overlay:not(.open),
.location-modal-overlay:not(.open) {
    display: none !important;
}

.profile-qr-card {
    width: min(100%, 430px);
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(40, 10, 90, 0.25);
    padding: 14px 14px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.profile-qr-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.profile-qr-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-qr-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-qr-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-qr-brand-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.profile-qr-brand-sub {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.4;
}

.profile-qr-close {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}
.profile-qr-close:active { background: #e2e8f0; }

.profile-qr-body {
    position: relative;
    padding-top: 12px;
    text-align: center;
}

.profile-qr-banner {
    width: 100%;
    border-radius: 18px;
    background: linear-gradient(135deg, #8a63ff 0%, #7c5cff 45%, #b15cff 100%);
    color: #ffffff;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 900;
    padding: 14px 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.30);
    border: 1px solid rgba(255,255,255,0.14);
}

.profile-qr-helper {
    margin-top: 22px;
    font-size: clamp(13px, 2vw, 17px);
    color: #64748b;
    font-weight: 500;
}

.profile-qr-box {
    width: 230px;
    height: 230px;
    margin: 20px auto 0;
    border-radius: 22px;
    background: linear-gradient(135deg, #8a63ff 0%, #582a84 100%);
    padding: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    border: 1px solid rgba(214,178,90,0.30);
}

.profile-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px;
}

.profile-qr-username {
    margin-top: 12px;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 900;
    color: #0f172a;
    text-shadow: none;
}

.profile-qr-copy-floating {
    position: absolute;
    right: 2px;
    bottom: 62px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-qr-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.profile-qr-btn {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    font-size: clamp(13px, 1.8vw, 15px);
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0f172a;
    transition: background 0.15s;
}
.profile-qr-btn:active { background: #e2e8f0; }

.profile-qr-btn.primary {
    background: linear-gradient(135deg, #8a63ff 0%, #7c5cff 45%, #b15cff 100%);
    color: #ffffff;
    border-color: rgba(255,255,255,0.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.30);
}

.quota-scanner-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    z-index: 12020;
}

.quota-scanner-overlay.open {
    display: flex;
}

.quota-scanner-card {
    width: min(100%, 420px);
    background: #ffffff;
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.quota-scanner-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.quota-scanner-title {
    font-size: 18px;
    font-weight: 900;
    color: #0f4c8d;
}

.quota-scanner-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quota-scanner-view {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    position: relative;
}

.quota-scanner-view video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quota-scanner-status {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
}

.index-feature-page .tg-header.tg-header-new {
    position: fixed;
    top: 0; left: 0; right: 0;
    min-height: 64px;
    padding: 8px 12px;
    background: var(--bg2);
    border-bottom: none;
    box-shadow: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    z-index: 220;
    overflow: hidden;
}

.index-feature-page .top-app-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #38bbf5;
    box-shadow: 0 6px 16px rgba(45,156,219,0.16);
    overflow: hidden;
    flex-shrink: 0;
}

.index-feature-page .top-app-logo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.index-feature-page .tg-header-new .app-header-actions {
    flex-shrink: 0;
    gap: 8px;
    display: flex;
    align-items: center;
}

.index-feature-page .top-app-copy {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.index-feature-page .tg-title-new {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.3px;
    color: #111111;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    text-align: left;
    display: block;
    max-width: 100%;
}

.index-feature-page .tg-sub-new {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #222222;
}

.index-feature-page .app-icon-btn.app-icon-btn-main {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff, #f1f4f9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #1f2937;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.index-feature-page .app-icon-btn.app-icon-btn-main svg {
    stroke: currentColor;
}

.index-feature-page .server-signal {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    padding: 8px 7px;
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    color: rgba(255,255,255,0.9);
    cursor: default;
}

.index-feature-page .server-signal-bar {
    width: 4px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.45;
}

.index-feature-page .server-signal-bar:nth-child(1) { height: 7px; }
.index-feature-page .server-signal-bar:nth-child(2) { height: 11px; }
.index-feature-page .server-signal-bar:nth-child(3) { height: 15px; }
.index-feature-page .server-signal-bar:nth-child(4) { height: 19px; }

.index-feature-page .server-signal[data-level="0"] { color: rgba(255,255,255,0.4); }
.index-feature-page .server-signal[data-level="1"] { color: #fca5a5; }
.index-feature-page .server-signal[data-level="2"] { color: #fcd34d; }
.index-feature-page .server-signal[data-level="3"] { color: #86efac; }
.index-feature-page .server-signal[data-level="4"] { color: #4ade80; }

.index-feature-page .server-signal[data-level="1"] .server-signal-bar:nth-child(1),
.index-feature-page .server-signal[data-level="2"] .server-signal-bar:nth-child(-n+2),
.index-feature-page .server-signal[data-level="3"] .server-signal-bar:nth-child(-n+3),
.index-feature-page .server-signal[data-level="4"] .server-signal-bar {
    opacity: 1;
}

.index-feature-page .section-panel,
.index-feature-page .section-panel.active {
    display: block;
}

.index-feature-page .status-strip,
.index-feature-page .account-card,
.index-feature-page .search-card {
    display: block;
    margin: 0 0 14px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(154, 204, 232, 0.24);
    border-radius: 20px;
    box-shadow:
        0 14px 32px rgba(124, 179, 217, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.location-modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(4px);
    z-index: 12000;
}

.location-modal-overlay.open {
    display: flex;
}

.location-permission-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(15, 23, 42, 0.50);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 12100;
}

.location-permission-overlay.open {
    display: flex;
}


.location-inactive-notice {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 12200;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.98)),
        #ffffff;
    border: 1px solid rgba(154, 204, 232, 0.30);
    box-shadow:
        0 18px 46px rgba(15,23,42,0.22),
        inset 0 1px 0 rgba(255,255,255,0.92);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.location-inactive-notice.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.location-inactive-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(38,161,123,0.16), rgba(45,156,219,0.16));
    border: 1px solid rgba(45,156,219,0.18);
}

.location-inactive-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.location-inactive-title {
    font-size: 13px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.location-inactive-copy {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #5b6472;
    line-height: 1.25;
}

.location-inactive-action {
    height: 34px;
    border: none;
    border-radius: 8px;
    padding: 0 12px;
    background: linear-gradient(135deg, #26a17b, #2d9cdb);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(38,161,123,0.18);
}

.location-permission-card {
    width: min(100%, 380px);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.98)),
        #ffffff;
    border: 1px solid rgba(154, 204, 232, 0.28);
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.92);
    padding: 22px 20px 18px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.location-permission-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, #26a17b, #2d9cdb);
}

.location-permission-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.42)),
        linear-gradient(135deg, rgba(38,161,123,0.18), rgba(45,156,219,0.18));
    border: 1px solid rgba(45,156,219,0.20);
    box-shadow: 0 12px 24px rgba(45,156,219,0.12);
}

.location-permission-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.location-permission-title {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.2px;
}

.location-permission-copy {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #5b6472;
}

.location-permission-note {
    margin-top: 12px;
    border-radius: 8px;
    background: rgba(38, 161, 123, 0.10);
    border: 1px solid rgba(38, 161, 123, 0.18);
    color: #15765c;
    padding: 9px 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

.location-permission-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.location-permission-btn {
    height: 44px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.7px;
    cursor: pointer;
}

.location-permission-btn.secondary {
    color: #334155;
    background: #eef2f7;
}

.location-permission-btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, #26a17b, #2d9cdb);
    box-shadow: 0 10px 22px rgba(38,161,123,0.20);
}

/* ════════════════════════════════════════════════════════════════
   Sign-in: Izinkan Akses Lokasi — Bottom Sheet Popup
   ════════════════════════════════════════════════════════════════ */
.signin-loc-overlay {
    position: fixed;
    inset: 0;
    z-index: 12100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(10, 18, 35, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.32s ease, backdrop-filter 0.32s ease;
    pointer-events: none;
}
.signin-loc-overlay.open {
    background: rgba(10, 18, 35, 0.58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    pointer-events: auto;
}
.signin-loc-card {
    width: 100%;
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    padding: 10px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.34, 1.12, 0.64, 1);
    position: relative;
    overflow: hidden;
}
.signin-loc-overlay.open .signin-loc-card {
    transform: translateY(0);
}
/* subtle top glow */
.signin-loc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 180px;
    background: radial-gradient(ellipse at 50% -20%, rgba(122,63,176,0.12) 0%, transparent 68%);
    pointer-events: none;
}

/* drag handle */
.signin-loc-handle {
    width: 38px; height: 4px;
    background: rgba(15,23,42,0.10);
    border-radius: 4px;
    margin: 0 auto 22px;
}

/* ── Icon + pulse rings ─────────────────────── */
.signin-loc-icon-wrap {
    position: relative;
    width: 92px; height: 92px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
}
.signin-loc-ring {
    position: absolute;
    border-radius: 50%;
    animation: signinLocPulse 2.6s ease-out infinite;
}
.signin-loc-ring:nth-child(1) {
    width: 92px; height: 92px;
    border: 1.5px solid rgba(122,63,176,0.30);
    animation-delay: 0s;
}
.signin-loc-ring:nth-child(2) {
    width: 72px; height: 72px;
    border: 1.5px solid rgba(155,92,214,0.28);
    animation-delay: 0.65s;
}
@keyframes signinLocPulse {
    0%   { transform: scale(0.82); opacity: 0; }
    25%  { opacity: 1; }
    100% { transform: scale(1.55); opacity: 0; }
}
.signin-loc-icon {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: linear-gradient(145deg, #f3e9fb, #e7d6f6);
    border: 1.5px solid rgba(122,63,176,0.18);
    box-shadow:
        0 10px 26px rgba(122,63,176,0.16),
        inset 0 1px 0 rgba(255,255,255,0.95);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
}
.signin-loc-icon img {
    width: 32px; height: 32px;
    object-fit: contain;
}

/* ── Text ───────────────────────────────────── */
.signin-loc-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 25px; font-weight: 700;
    color: #0f172a;
    text-align: center;
    letter-spacing: 0.6px;
    line-height: 1.15;
    margin-bottom: 8px;
}
.signin-loc-copy {
    font-size: 13px; font-weight: 500;
    color: #64748b; line-height: 1.6;
    text-align: center;
    margin-bottom: 18px;
}

/* ── Feature chips ──────────────────────────── */
.signin-loc-features {
    display: flex; flex-direction: column; gap: 8px;
    background: linear-gradient(135deg, rgba(122,63,176,0.05), rgba(155,92,214,0.05));
    border: 1px solid rgba(122,63,176,0.12);
    border-radius: 16px;
    padding: 13px 15px;
    margin-bottom: 22px;
}
.signin-loc-feat {
    display: flex; align-items: center; gap: 10px;
}
.signin-loc-feat-dot {
    width: 28px; height: 28px;
    border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(122,63,176,0.13), rgba(155,92,214,0.11));
    border: 1px solid rgba(122,63,176,0.16);
    color: #7a3fb0;
}
.signin-loc-feat-text {
    font-size: 12px; font-weight: 700;
    color: #334155; line-height: 1.3;
}
.signin-loc-feat-sub {
    font-size: 11px; font-weight: 500;
    color: #94a3b8; line-height: 1.2;
    margin-top: 1px;
}

/* ── Buttons ────────────────────────────────── */
.signin-loc-btn-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 54px;
    border: none; border-radius: 17px; cursor: pointer;
    background: linear-gradient(135deg, #9b5cd6 0%, #7a3fb0 100%);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 900; letter-spacing: 1.2px;
    box-shadow:
        0 14px 32px rgba(122,63,176,0.30),
        inset 0 1px 0 rgba(255,255,255,0.22);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    margin-bottom: 10px;
    -webkit-tap-highlight-color: transparent;
}
.signin-loc-btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 6px 16px rgba(122,63,176,0.20);
}
.signin-loc-btn-skip {
    display: block; width: 100%;
    background: none; border: none; cursor: pointer;
    font-size: 12px; font-weight: 700;
    color: #94a3b8; letter-spacing: 0.3px;
    padding: 8px 0 2px;
    -webkit-tap-highlight-color: transparent;
}

/* ════════════════════════════════════════════════════════════════ */

.location-modal-card {
    width: min(100%, 560px);
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
    padding: 16px 18px 18px;
}

.location-modal-head {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.location-modal-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.location-modal-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.location-modal-brand-copy {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #111111;
    line-height: 1;
}

.location-modal-body {
    min-height: 120px;
    padding: 4px 8px 10px;
}

.location-modal-line {
    font-size: 18px;
    line-height: 1.45;
    color: #1f2937;
    letter-spacing: 0.3px;
    word-break: break-word;
}

.location-modal-line + .location-modal-line {
    margin-top: 8px;
}

.location-modal-line.muted {
    color: #5f6b7a;
}

.location-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 8px 0;
}

.location-modal-actions-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.location-modal-btn {
    border: none;
    background: transparent;
    color: #0d4b84;
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 500;
    letter-spacing: 0.4px;
    padding: 8px 0;
    cursor: pointer;
}

.location-modal-btn.share {
    margin-right: auto;
}

.index-feature-page .status-strip,
.index-feature-page .account-card {
    position: relative;
}

.index-feature-page .account-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: #5bc6f0;
}

.index-feature-page .status-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 18px 12px 14px;
    margin-top: 0 !important;
}

.index-feature-page .status-divider {
    width: 1px;
    height: 22px;
    background: rgba(15, 23, 42, 0.08);
}

.index-feature-page .status-item {
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
}

.index-feature-page .status-dot {
    width: 8px;
    height: 8px;
}

.index-feature-page .account-card {
    border-radius: 18px;
}

.index-feature-page .account-labels {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.32);
    padding-top: 4px;
}

.index-feature-page .acc-label {
    padding: 6px 4px 5px;
    color: #4b5563;
    font-size: 10px;
    letter-spacing: 1.8px;
}

.index-feature-page .account-values {
    min-height: 42px;
}

.index-feature-page .acc-val {
    padding: 10px 4px 12px;
    font-size: 18px;
    font-weight: 800;
}

.index-feature-page .search-card {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 14px 14px;
    border-radius: 24px;
    background: rgba(255,255,255,0.99);
    border: 1px solid rgba(154, 204, 232, 0.24);
    box-shadow:
        0 14px 32px rgba(124, 179, 217, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
    --search-card-accent: #7f67f9;
}

@media (max-width: 480px) {
    .index-feature-page .search-card {
        padding: 12px;
        border-radius: 20px;
    }
}

.index-feature-page .search-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--search-card-accent, #7f67f9);
}

/* ── Banner card ── */
.index-feature-page .idx-search-banner {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 68px;
    gap: 12px;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 10px;
    margin: 0;
    min-height: 64px;
    box-shadow: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.index-feature-page .idx-banner-top {
    display: contents;
}

.index-feature-page .idx-banner-info {
    min-width: 0;
    display: flex;
    align-items: center;
    min-height: 54px;
}

.index-feature-page .idx-banner-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4ec9f0, #2d9cdb);
    box-shadow: 0 6px 16px rgba(45, 156, 219, 0.28);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.index-feature-page .idx-banner-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.index-feature-page .idx-banner-desc {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.5;
}

.index-feature-page .idx-banner-badge {
    align-self: flex-start;
    width: 68px;
    min-width: 68px;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    color: #2d9cdb;
    border: 1.5px solid #bde0f8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    overflow: hidden;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* ── Search bar card ── */
.index-feature-page .search-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef4fb;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 8px 8px 8px 18px;
    margin: 12px 0 12px;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
}

.index-feature-page .search-input {
    flex: 1;
    height: 42px;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #334155;
    font-size: 13px;
    font-weight: 400;
    line-height: 42px;
    min-width: 0;
}

.index-feature-page .search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.index-feature-page .search-btn {
    flex-shrink: 0;
    width: auto;
    min-width: 86px;
    height: 48px;
    min-height: unset;
    margin: 0;
    padding: 0 18px;
    border-radius: 14px;
    background: #42aee8;
    border: 1px solid rgba(71, 161, 217, 0.32);
    box-shadow: 0 6px 14px rgba(66, 174, 232, 0.18);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transform: translateY(0);
    transition: transform 0.1s, box-shadow 0.1s;
}

.index-feature-page .search-btn::before {
    display: none;
}

.index-feature-page .search-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 8px rgba(66, 174, 232, 0.16);
}

/* ── Chip row ── */
.index-feature-page .chip-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    min-height: 42px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.index-feature-page .chip-row::-webkit-scrollbar {
    display: none;
}

.index-feature-page .chip-row .chip:nth-child(odd),
.index-feature-page .chip-row .chip:nth-child(even) {
    text-align: center;
    justify-content: center;
}

.index-feature-page .footer-nav {
    display: block !important;
}

.index-feature-page .chip {
    width: auto;
    min-width: clamp(72px, 18vw, 92px);
    flex: 1 1 0;
    border: none;
    border-radius: 999px;
    padding: 11px 12px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.index-feature-page .chip:nth-child(1) {
    background: linear-gradient(135deg, #20c975, #14b869);
}

.index-feature-page .chip:nth-child(2) {
    background: linear-gradient(135deg, #8bd7f4, #5ebbea);
}

.index-feature-page .chip:nth-child(3) {
    background: linear-gradient(135deg, #d4a8f3, #b883ea);
}

.index-feature-page .chip.chip-nopol,
.index-feature-page .chip:nth-child(4) {
    background: linear-gradient(135deg, #34b7e5, #24a6d2);
}

.index-feature-page .chip.chip-contact,
.index-feature-page .chip:nth-child(5) {
    background: linear-gradient(135deg, #ef7b7b, #cf3f3f);
}

.index-feature-page .chip.active {
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
    filter: saturate(1.02);
}

.index-feature-page #panel-main.section-panel,
.index-feature-page #panel-advance.section-panel,
.index-feature-page #panel-xproject.section-panel {
    position: relative;
    overflow: hidden;
    margin: 0 0 18px;
    padding: 38px 22px 24px;
    border: 1px solid rgba(154, 204, 232, 0.24);
    border-radius: 0 34px 34px 34px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow:
        0 18px 38px rgba(124, 179, 217, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.index-feature-page #panel-main.section-panel::before,
.index-feature-page #panel-advance.section-panel::before,
.index-feature-page #panel-xproject.section-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    border-radius: 34px 34px 0 0;
    background: #2d9cdb;
    opacity: 1;
}

.index-feature-page #panel-main .feature-section-label,
.index-feature-page #panel-advance .feature-section-label,
.index-feature-page #panel-xproject .feature-section-label {
    display: inline-flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 0;
    padding: 10px 24px 11px;
    border-radius: 0 0 22px 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.index-feature-page #panel-main .feature-section-label {
    background: #56c2ff;
    color: #ffffff;
    border-color: rgba(86, 194, 255, 0.24);
    box-shadow: 0 8px 16px rgba(86, 194, 255, 0.22);
}

.index-feature-page #panel-advance .feature-section-label {
    background: #7c3aed;
    color: #ffffff;
    border-color: rgba(124, 58, 237, 0.22);
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.20);
}

.index-feature-page #panel-xproject .feature-section-label {
    background: #8b1e1e;
    color: #ffffff;
    border-color: rgba(139, 30, 30, 0.24);
    box-shadow: 0 8px 16px rgba(139, 30, 30, 0.18);
}

.index-feature-page #panel-main.section-panel::before {
    background: #56c2ff;
}

.index-feature-page #panel-xproject.section-panel::before {
    background: #8b1e1e;
}

.index-feature-page .feature-list {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top) + 10px);
    z-index: 210;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 10px;
    margin: 0;
    background: var(--bg2);
    padding: 20px 12px;
    width: 100%;
    min-width: 0;
}

.index-feature-page .feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-height: 0;
}

.index-feature-page .feature-row::before,
.index-feature-page .feature-row .feat-desc,
.index-feature-page .feature-row .feat-arrow {
    display: none;
}

.index-feature-page .feature-row:active {
    transform: translateY(1px) scale(0.98);
    background: transparent;
    box-shadow: none;
}

.index-feature-page .feat-icon-wrap {
    width: 82px;
    height: 82px;
    padding: 18px;
    border-radius: 26px;
    margin: 0 auto;
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.22) 34%, transparent 58%),
        linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 55%, #dceaff 100%);
    border: 1px solid rgba(165, 198, 242, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(178, 204, 242, 0.14),
        0 10px 24px rgba(126, 166, 222, 0.14);
    overflow: visible;
}

.index-feature-page .feat-icon-wrap::before {
    display: none;
}

.index-feature-page .feat-icon-wrap::after {
    display: none;
}

.index-feature-page .feat-icon {
    width: 100%;
    height: 100%;
    color: #2f61bd;
}

.index-feature-page .feat-info {
    flex: 0 0 auto;
    min-width: 0;
}

.index-feature-page .feat-name {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    max-width: 100%;
    text-wrap: balance;
    word-break: break-word;
}

.index-feature-page .feat-icon-image,
.purchase-page .pkg-icon-wrap img,
.purchase-page .pkg-icon-wrap svg,
.wallet-page .quick-icon img,
.wallet-page .menu-icon-wrap img,
.wallet-page .token-icon img,
.wallet-page .tx-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.index-feature-page .feat-icon-image {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    margin: 0;
    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,0.72))
        drop-shadow(0 2px 4px rgba(52, 106, 193, 0.12));
}

.index-feature-page .feature-row {
    align-items: center;
}

.index-feature-page .feature-row .feat-info {
    flex: 1 1 auto;
}

.purchase-page .pkg-icon-wrap img,
.purchase-page .pkg-icon-wrap svg,
.wallet-page .quick-icon img,
.wallet-page .wallet-menu-icon,
.wallet-page .menu-icon-wrap img,
.wallet-page .token-icon img,
.wallet-page .tx-icon-wrap img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    margin: 0 auto;
}

.wallet-page .wallet-menu-icon {
    display: block;
    object-fit: contain;
}

.purchase-page .purchase-pkg-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: 44px;
    max-height: 44px;
    flex: 0 0 44px;
    margin: 0;
    display: block;
    object-fit: contain;
}

.gc-header-title,
.bpjs-header-title,
.tg-header-title,
.top-app-copy,
.menu-text,
.pkg-copy,
.pkg-body,
.quick-btn,
.feature-row {
    min-width: 0;
}

.gc-title,
.bpjs-header-title h1,
.tg-title-new {
    font-size: clamp(16px, 3.8vw, 20px);
    line-height: 1.12;
}

.gc-subtitle,
.bpjs-header-sub {
    font-size: clamp(10px, 2.6vw, 12px);
    line-height: 1.3;
}

.index-feature-page .icon-blue,
.index-feature-page .icon-cyan,
.index-feature-page .icon-sky,
.index-feature-page .icon-green,
.index-feature-page .icon-emerald,
.index-feature-page .icon-orange,
.index-feature-page .icon-indigo,
.index-feature-page .icon-teal,
.index-feature-page .icon-red,
.index-feature-page .icon-purple,
.index-feature-page .icon-pink {
    background: inherit;
    box-shadow: none;
}
/* Purchase and wallet icon tiles should match the index tile style */
.purchase-page .pkg-body {
    align-items: flex-start;
    gap: 18px;
}

.purchase-page .pkg-icon-wrap {
    width: 82px;
    height: 82px;
    padding: 18px;
    border-radius: 26px;
    margin: 0;
    border: 1px solid rgba(165, 198, 242, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(178, 204, 242, 0.14),
        0 10px 24px rgba(126, 166, 222, 0.14);
    overflow: visible;
}

.purchase-page .pkg-icon-wrap::before {
    display: none;
}

.purchase-page .pkg-icon-wrap::after {
    display: none;
}

.purchase-page .pkg-icon-wrap img,
.purchase-page .pkg-icon-wrap .feat-icon,
.purchase-page .pkg-icon-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.purchase-page .pkg-icon-wrap.icon-blue {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.22) 34%, transparent 58%),
        linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 55%, #dceaff 100%);
}

.purchase-page .pkg-icon-wrap.icon-green {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.22) 34%, transparent 58%),
        linear-gradient(180deg, #eefbf6 0%, #e0f7ec 55%, #d1efdf 100%);
    border-color: rgba(177, 225, 199, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(179, 223, 196, 0.16),
        0 10px 24px rgba(121, 182, 150, 0.14);
}

.purchase-page .pkg-icon-wrap.icon-orange {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.20) 34%, transparent 58%),
        linear-gradient(180deg, #fff8ef 0%, #ffefdc 55%, #ffe3bf 100%);
    border-color: rgba(240, 206, 155, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(239, 208, 161, 0.16),
        0 10px 24px rgba(206, 168, 106, 0.14);
}

.purchase-page .pkg-icon-wrap.icon-red {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.92), rgba(255,255,255,0.18) 34%, transparent 58%),
        linear-gradient(180deg, #fff5f5 0%, #ffe4e4 55%, #ffd4d4 100%);
    border-color: rgba(232, 167, 167, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -10px 18px rgba(236, 184, 184, 0.14),
        0 10px 24px rgba(196, 109, 109, 0.14);
}

.purchase-page .pkg-icon-wrap.icon-purple {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.92), rgba(255,255,255,0.18) 34%, transparent 58%),
        linear-gradient(180deg, #fbf6ff 0%, #efe4ff 55%, #e2d2ff 100%);
    border-color: rgba(210, 180, 250, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(201, 174, 241, 0.14),
        0 10px 24px rgba(170, 118, 232, 0.14);
}

.purchase-page .pkg-icon-wrap.icon-teal {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.94), rgba(255,255,255,0.20) 34%, transparent 58%),
        linear-gradient(180deg, #f0fcfd 0%, #e0f7fa 55%, #d2eff3 100%);
    border-color: rgba(178, 224, 231, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(177, 221, 228, 0.16),
        0 10px 24px rgba(114, 181, 191, 0.14);
}

.purchase-page .pkg-icon-wrap.icon-indigo {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.94), rgba(255,255,255,0.20) 34%, transparent 58%),
        linear-gradient(180deg, #f5f7ff 0%, #e6ebff 55%, #d8deff 100%);
    border-color: rgba(188, 197, 243, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(190, 198, 242, 0.16),
        0 10px 24px rgba(132, 143, 205, 0.14);
}

.purchase-page .pkg-icon-wrap.icon-pink {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.94), rgba(255,255,255,0.20) 34%, transparent 58%),
        linear-gradient(180deg, #fff6fb 0%, #ffe7f3 55%, #ffd8ea 100%);
    border-color: rgba(239, 189, 216, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(239, 191, 219, 0.16),
        0 10px 24px rgba(212, 145, 183, 0.14);
}

.purchase-page .pkg-icon-wrap img,
.purchase-page .pkg-icon-wrap .feat-icon,
.purchase-page .pkg-icon-wrap svg {
    filter: drop-shadow(0 1px 0 rgba(255,255,255,0.18));
}

.purchase-page .pkg-card {
  border-radius: 22px;
  box-shadow: none;
  border: 1px solid var(--border);
  background: var(--card);
}

.purchase-page .pkg-card::before {
  display: none;
}

.purchase-page .pkg-card:active {
  box-shadow: none;
  background: var(--bg3);
}

.purchase-page .pkg-body {
    padding: 13px 15px;
    align-items: center;
    gap: 16px;
}

.purchase-page .pkg-card::after {
    right: 16px;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--text2);
    border-top: 2px solid var(--text2);
    opacity: 0.4;
}

.purchase-page .pkg-info {
    flex: 1;
    min-width: 0;
    padding-right: 18px;
}

.purchase-page .pkg-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.2;
}

.purchase-page .pkg-price {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text2);
    margin-bottom: 3px;
}

.purchase-page .pkg-desc {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text2);
}

.wallet-page .menu-icon-wrap,
.wallet-page .token-icon,
.wallet-page .tx-icon-wrap {
    width: 82px;
    height: 82px;
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(165, 198, 242, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(178, 204, 242, 0.14),
        0 10px 24px rgba(126, 166, 222, 0.14);
}

.wallet-page .token-card,
.wallet-page .tx-item,
.wallet-page .menu-item {
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.10),
        0 8px 20px rgba(15, 23, 42, 0.05);
}

.purchase-page .pkg-card {
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.10),
        0 8px 20px rgba(15, 23, 42, 0.05);
}

.wallet-page .menu-icon-wrap::before,
.wallet-page .token-icon::before,
.wallet-page .tx-icon-wrap::before {
    display: none;
}

.wallet-page .menu-icon-wrap img,
.wallet-page .token-icon img,
.wallet-page .tx-icon-wrap img {
    object-fit: contain;
    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,0.72))
        drop-shadow(0 2px 4px rgba(52, 106, 193, 0.12));
}

.wallet-page .menu-icon-wrap.icon-blue {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.22) 34%, transparent 58%),
        linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 55%, #dceaff 100%);
}

.wallet-page .menu-icon-wrap.icon-green,
.wallet-page .token-icon.icon-green {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.22) 34%, transparent 58%),
        linear-gradient(180deg, #eefbf6 0%, #e0f7ec 55%, #d1efdf 100%);
    border-color: rgba(177, 225, 199, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(179, 223, 196, 0.16),
        0 10px 24px rgba(121, 182, 150, 0.14);
}
.wallet-page .token-icon.icon-green {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.wallet-page .menu-icon-wrap.icon-orange,
.wallet-page .tx-icon-wrap.icon-orange {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.20) 34%, transparent 58%),
        linear-gradient(180deg, #fff8ef 0%, #ffefdc 55%, #ffe3bf 100%);
    border-color: rgba(240, 206, 155, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(239, 208, 161, 0.16),
        0 10px 24px rgba(206, 168, 106, 0.14);
}
.wallet-page .tx-icon-wrap.icon-orange {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.wallet-page .token-icon img,
.wallet-page .tx-icon-wrap img {
    width: 100%;
    height: 100%;
    min-width: 0;
    filter: none;
}

.my-cid-page {
    background: #f5f7fc;
    height: 100vh;
    overflow: hidden;
}

body.my-cid-page .page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--bg2);
    border-bottom: none;
    box-shadow: none;
}

.my-cid-shell {
    position: fixed;
    inset: calc(var(--header-h) + var(--safe-top)) 0 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.my-cid-hero {
    background:
        linear-gradient(rgba(15, 74, 136, 0.62), rgba(15, 74, 136, 0.78)),
        url("../assets/cidbackground.jpg") center/cover no-repeat;
    padding: 16px 16px 20px;
    flex-shrink: 0;
}

.my-cid-hero-body {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 18px;
}

.my-cid-avatar-wrap {
    width: 110px;
    height: 130px;
    border-radius: 18px;
    overflow: hidden;
    background: #9a7cb4;
}

.my-cid-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.my-cid-identity {
    padding-top: 2px;
}

.my-cid-name {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 14px;
}

.my-cid-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.my-cid-copy-box {
    min-height: 48px;
    border-radius: 14px;
    border: 1.5px solid rgba(255,255,255,0.78);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    word-break: break-word;
}

.my-cid-copy-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.my-cid-table {
    background: #f3f4ff;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.my-cid-row {
    background: #ffffff;
    min-height: 84px;
    padding: 16px;
    border-bottom: 1px solid #eef1f8;
}

.my-cid-row-label {
    font-size: 15px;
    font-weight: 900;
    color: #0f4a88;
    line-height: 1.15;
    text-transform: uppercase;
}

.my-cid-row-value {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f4a88;
    line-height: 1.2;
    word-break: break-word;
}

@media (max-width: 520px) {
    .my-cid-hero-body {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
    }

    .my-cid-avatar-wrap {
        width: 96px;
        height: 116px;
        border-radius: 16px;
    }

    .my-cid-name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .my-cid-copy-box {
        min-height: 44px;
        font-size: 14px;
        border-radius: 12px;
    }

    .my-cid-row {
        min-height: 78px;
    }

    .my-cid-row-label,
    .my-cid-row-value {
        font-size: 15px;
    }
}

.get-secure-page {
    background: #f5f6fe;
    min-height: 100vh;
}

.get-secure-header {
    position: sticky;
    top: 0;
    z-index: 220;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    height: auto;
    padding: calc(var(--safe-top) + 14px) 12px 18px;
    background: #f5f6fe;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}

.get-secure-body {
    padding: 0 0 calc(var(--nav-h) + 12px);
}


.get-secure-brand-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 12px;
}

.get-secure-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.get-secure-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.get-secure-brand span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0f4a88;
    line-height: 1;
    letter-spacing: 0.2px;
}

.get-secure-head-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.get-secure-head-dots span {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #e3f0e8;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.get-secure-head-dots.status-ok span {
    background: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.28);
    animation: securePulse 1.4s ease-in-out infinite;
}

.get-secure-head-dots.status-alert span {
    background: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.28);
    animation: securePulseAlert 1.4s ease-in-out infinite;
}

.get-secure-head-dots.status-ok span:nth-child(2),
.get-secure-head-dots.status-alert span:nth-child(2) {
    animation-delay: 0.18s;
}

.get-secure-head-dots.status-ok span:nth-child(3),
.get-secure-head-dots.status-alert span:nth-child(3) {
    animation-delay: 0.34s;
}

@keyframes securePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes securePulseAlert {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.75; }
}

.get-secure-status-strip {
    position: static;
    z-index: 1;
    margin: 0;
    border-top: 5px solid #22b8f0;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
    padding: 16px 14px;
    background: #ffffff;
}
.get-secure-panel {
    background: #ffffff;
    border-radius: 24px;
    padding: 16px 14px 14px;
    box-shadow: 0 14px 32px rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(15,23,42,0.05);
    margin: 0 12px 14px;
}

.get-secure-panel-head {
    min-height: 48px;
    border-radius: 16px;
    background: linear-gradient(180deg, #0f4b8b 0%, #124c89 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.get-secure-panel-body {
    color: #0f4a88;
}

.get-secure-list {
    margin: 0;
    padding-left: 22px;
}

.get-secure-list li {
    font-size: 15px;
    line-height: 1.34;
    font-weight: 500;
    margin-bottom: 14px;
}

.get-secure-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .get-secure-body {
        padding: 0;
    }

    .get-secure-brand img {
        width: 34px;
        height: 34px;
    }

    .get-secure-brand span {
        font-size: 22px;
    }

    .get-secure-panel {
        border-radius: 20px;
        padding: 14px 12px 12px;
    }

    .get-secure-panel-head {
        min-height: 44px;
        border-radius: 14px;
        font-size: 19px;
        margin-bottom: 10px;
    }

    .get-secure-list {
        padding-left: 20px;
    }

    .get-secure-list li {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

.wallet-page .menu-icon-wrap.icon-red {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.92), rgba(255,255,255,0.18) 34%, transparent 58%),
        linear-gradient(180deg, #fff5f5 0%, #ffe4e4 55%, #ffd4d4 100%);
    border-color: rgba(232, 167, 167, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -10px 18px rgba(236, 184, 184, 0.14),
        0 10px 24px rgba(196, 109, 109, 0.14);
}

.wallet-page .menu-icon-wrap img {
    filter:
        drop-shadow(0 1px 0 rgba(255,255,255,0.72))
        drop-shadow(0 2px 4px rgba(52, 106, 193, 0.12));
}

@media (max-width: 680px) {
    .purchase-page .pkg-icon-wrap,
    .wallet-page .menu-icon-wrap,
    .wallet-page .token-icon,
    .wallet-page .tx-icon-wrap {
        width: 70px;
        height: 70px;
        padding: 15px;
        border-radius: 22px;
    }
}

@media (max-width: 680px) {
    .index-feature-page .page-scroll.index-feature-layout {
        padding: calc(62px + var(--safe-top)) 10px calc(var(--nav-h) + 24px) !important;
    }

    .index-feature-page .index-profile-slot {
        padding: 8px 2px 12px;
    }

    .index-feature-page #panel-main.section-panel,
    .index-feature-page #panel-advance.section-panel,
    .index-feature-page #panel-xproject.section-panel {
        padding: 36px 16px 20px;
        border-radius: 0 28px 28px 28px;
    }

    .index-feature-page #panel-main .feature-section-label,
    .index-feature-page #panel-advance .feature-section-label,
    .index-feature-page #panel-xproject .feature-section-label {
        padding-left: 18px;
        padding-right: 18px;
    }

    .index-feature-page .feature-list {
        gap: 16px 8px;
    }

    .index-feature-page .idx-search-banner {
        grid-template-columns: 46px minmax(0, 1fr) 58px;
        gap: 12px;
        padding: 0 0 10px;
        border-radius: 0;
        margin: 0;
        min-height: 56px;
    }

    .index-feature-page .idx-banner-icon {
        width: 46px;
        height: 46px;
    }

    .index-feature-page .idx-banner-badge {
        align-self: flex-start;
        width: 58px;
        min-width: 58px;
        padding: 0 8px;
        font-size: 10px;
    }

    .index-feature-page .search-row {
        border-radius: 16px;
        padding: 6px 6px 6px 14px;
        margin: 0 0 10px;
    }

    .index-feature-page .search-input {
        height: 38px;
        font-size: 12px;
        line-height: 38px;
    }

    .index-feature-page .search-btn {
        height: 42px;
        min-width: 72px;
        padding: 0 14px;
        font-size: 12px;
        border-radius: 12px;
    }

    .index-feature-page .chip-row {
        gap: 7px;
        margin: 0;
        padding: 0;
    }

    .index-feature-page .footer-nav {
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .index-feature-page .footer-nav-inner {
        padding: 8px 6px;
    }

    .index-feature-page .nav-icon,
    .index-feature-page .nav-pill {
        min-height: 48px;
        gap: 4px;
    }

    .index-feature-page .chip {
        font-size: 10px;
        padding: 10px 6px;
    }

    .index-feature-page .feat-icon-wrap {
        width: 70px;
        height: 70px;
        padding: 15px;
        border-radius: 22px;
    }

    .index-feature-page .feat-name {
        font-size: 12px;
    }

    .gc-header,
    .bpjs-header {
        gap: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .gc-header-icon,
    .bpjs-header-icon {
        width: 36px;
        height: 36px;
    }

    .gc-header-icon img,
    .bpjs-header-icon img {
        width: 18px;
        height: 18px;
    }

    .wallet-page .quick-label,
    .wallet-page .menu-text p,
    .purchase-page .pkg-sub {
        font-size: 10px;
        line-height: 1.35;
    }
}

@media (max-width: 420px) {
    .index-feature-page .feature-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .index-feature-page .feat-icon-wrap,
    .purchase-page .pkg-icon-wrap,
    .wallet-page .menu-icon-wrap,
    .wallet-page .token-icon,
    .wallet-page .tx-icon-wrap {
        width: 62px;
        height: 62px;
        padding: 13px;
        border-radius: 20px;
    }

    .index-feature-page .feature-row {
        gap: 10px;
    }

    .index-feature-page .feat-name {
        font-size: 11px;
        line-height: 1.25;
    }

    .gc-title,
    .bpjs-header-title h1,
    .tg-title-new {
        font-size: 15px;
    }

    .gc-subtitle,
    .bpjs-header-sub {
        font-size: 10px;
    }
}




.result-page.result-page-noka .rp-body {
    padding-top: 12px;
}
.result-page.result-page-noka .rp-summary-card {
    padding-bottom: 14px;
}
.result-page.result-page-noka .rp-plate-shell {
    max-width: min(100%, 430px);
    margin-bottom: 12px;
}
.result-page.result-page-noka .rp-headline {
    padding: 16px 12px;
    font-size: clamp(18px, 5.6vw, 30px);
    letter-spacing: 0.22em;
    overflow-wrap: anywhere;
    white-space: normal;
}
.result-page.result-page-noka .rp-summary-subtitle {
    margin-bottom: 10px;
}
.result-page.result-page-noka .rp-sections {
    max-width: 640px;
    margin: 0 auto;
}
.result-page.result-page-noka .rp-section-card {
    border-radius: 18px;
}
.result-page.result-page-noka .rp-data-table th {
    width: 32%;
    min-width: 108px;
}
.result-page.result-page-noka .rp-data-table td {
    font-size: 13px;
}






.index-feature-page #panel-advance .feat-icon-wrap {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.92), rgba(255,255,255,0.18) 34%, transparent 58%),
        linear-gradient(180deg, #fbf6ff 0%, #efe4ff 55%, #e2d2ff 100%);
    border-color: rgba(210, 180, 250, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(201, 174, 241, 0.14),
        0 10px 24px rgba(170, 118, 232, 0.14);
}


.index-feature-page #panel-advance.section-panel::before {
    background: #7c3aed;
}

.index-feature-page #panel-xproject .feat-icon-wrap {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.90), rgba(255,255,255,0.16) 34%, transparent 58%),
        linear-gradient(180deg, #fff5f5 0%, #ffe4e4 55%, #ffd4d4 100%);
    border-color: rgba(232, 167, 167, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -10px 18px rgba(236, 184, 184, 0.14),
        0 10px 24px rgba(196, 109, 109, 0.14);
}


.index-feature-page #panel-main .feat-icon-wrap {
    background:
        radial-gradient(circle at 26% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0.22) 34%, transparent 58%),
        linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 55%, #dceaff 100%);
    border-color: rgba(165, 198, 242, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -10px 18px rgba(178, 204, 242, 0.14),
        0 10px 24px rgba(126, 166, 222, 0.14);
}


.other-result-page #name-result {
    margin-top: 14px;
}
.other-result-tab {
    background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.96));
    border: 1px solid rgba(17, 83, 138, 0.10);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(34, 83, 128, 0.10);
}
.other-result-tab-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.other-result-screen-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #134f87;
}
.other-result-screen-sub {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #4f6e8d;
}
.other-result-count {
    min-width: 38px;
    height: 38px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f5ea0, #134f87);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(15, 94, 160, 0.22);
}
.other-tablet-list {
    display: grid;
    gap: 18px;
}
.other-tablet-card {
    background: #ffffff;
    border: 1px solid rgba(19, 79, 135, 0.10);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(33, 73, 111, 0.12);
}
.other-tablet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0f5ea0, #134f87);
    color: #ffffff;
}
.other-tablet-name {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.3;
}
.other-tablet-index {
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}
.other-tablet-body {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    align-items: start;
}
.other-avatar-box {
    height: 138px;
    border-radius: 18px;
    background: linear-gradient(180deg, #a986c0, #8f74b4);
    position: relative;
    overflow: hidden;
}
.other-avatar-image {
    width: 100%;
    height: 100%;
    display: block;
}
.other-tablet-main {
    min-width: 0;
}
.other-pill-grid {
    display: grid;
    gap: 10px;
}
.other-data-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(19, 79, 135, 0.12);
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.other-pill-key {
    font-size: 12px;
    font-weight: 900;
    color: #2d79ae;
    letter-spacing: 0.04em;
}
.other-pill-val {
    flex: 1;
    min-width: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 800;
    color: #1a2432;
    overflow-wrap: anywhere;
}
.other-city-box {
    margin-top: 12px;
    padding: 4px 8px;
}
.other-city-key {
    font-size: 12px;
    font-weight: 900;
    color: #2d79ae;
    letter-spacing: 0.04em;
}
.other-city-val {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
    color: #1b232f;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.other-chip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 16px 16px;
}
.other-chip {
    min-height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: #ffffff;
}
.other-chip-orange {
    border: 2px solid rgba(180, 94, 27, 0.55);
    color: #b45e1b;
}
.other-chip-dark {
    border: 2px solid rgba(17, 17, 17, 0.7);
    color: #151515;
}.other-detail-table {
    margin: 0 16px 16px;
    border: 1px solid rgba(19, 79, 135, 0.10);
    border-radius: 16px;
    overflow: hidden;
    background: #f9fbff;
}
.other-detail-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(19, 79, 135, 0.08);
}
.other-detail-row:last-child {
    border-bottom: none;
}
.other-detail-key {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #5f7b97;
    text-transform: uppercase;
}
.other-detail-val {
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #223140;
    overflow-wrap: anywhere;
}
.other-pagination {
    margin-top: 18px;
}
@media (max-width: 560px) {
    .other-result-tab {
        padding: 12px;
        border-radius: 20px;
    }
    .other-tablet-body {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }
    .other-avatar-box {
        height: 120px;
        border-radius: 16px;
    }
    .other-data-pill {
        padding: 10px 12px;
        border-radius: 14px;
    }
    .other-pill-key,
    .other-city-key {
        font-size: 11px;
    }
    .other-pill-val,
    .other-city-val {
        font-size: 12px;
    }
    .other-chip-row {
        gap: 10px;
        padding: 0 12px 12px;
    }
    .other-chip {
        min-height: 42px;
        font-size: 11px;
        border-radius: 14px;
    }
    .other-detail-table {
        margin: 0 12px 12px;
    }
    .other-detail-row {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        padding: 9px 12px;
    }
}

body.corporation-result-page {
    background: #f0f4fb;
    min-height: 100vh;
}

.corporation-result-page .corp-shell {
    padding: 14px 12px 52px;
    max-width: 600px;
    margin: 0 auto;
}

.corporation-result-page .corp-card {
    background: #fff;
    border: 1px solid #e8eef7;
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.corporation-result-page .corp-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    background: linear-gradient(135deg, #f9f5ff 0%, #f2ecfc 100%);
    border-bottom: 1px solid #ede5f8;
}

.corporation-result-page .corp-card-num {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, #6d28d9, #9b59b6);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.corporation-result-page .corp-card-name {
    font-size: 15px;
    font-weight: 800;
    color: #1e0b40;
    line-height: 1.25;
    word-break: break-word;
    flex: 1;
}

.corporation-result-page .corp-card-name.unnamed {
    color: #a78bca;
    font-weight: 600;
    font-style: italic;
}

.corporation-result-page .corp-fields {
    padding: 2px 0;
}

.corporation-result-page .corp-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 14px;
    gap: 10px;
    border-bottom: 1px solid #f3eef9;
}

.corporation-result-page .corp-row:last-child {
    border-bottom: none;
}

.corporation-result-page .corp-row-value {
    flex: 1;
    min-width: 0;
}

.corporation-result-page .corp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.corporation-result-page .corp-chip {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.18);
    color: #6d28d9;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    line-height: 1.5;
}

.corporation-result-page .corp-nested {
    background: #faf6ff;
    border: 1px solid #e9dcf7;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-top: 3px;
}

.corporation-result-page .corp-nrow {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 7px 11px;
    border-bottom: 1px solid #ede5f8;
}

.corporation-result-page .corp-nrow:last-child {
    border-bottom: none;
}

.corporation-result-page .corp-nrow-k {
    font-size: 10px;
    font-weight: 800;
    color: #9b59b6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: 90px;
    min-width: 90px;
    padding-top: 1px;
    line-height: 1.45;
}

.corporation-result-page .corp-nrow-v {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
    line-height: 1.5;
}

.corporation-result-page .corp-nested-sep {
    height: 1px;
    background: #ddd0f5;
    margin: 0;
}

.corporation-result-page .corp-nitem {
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #ede5f8;
    word-break: break-word;
}

.corporation-result-page .corp-nitem:last-child {
    border-bottom: none;
}

.corporation-result-page .corp-nitem-idx {
    font-size: 10px;
    font-weight: 800;
    color: #9b59b6;
    margin-right: 5px;
}

.corporation-result-page .corp-hidden-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.corporation-result-page .corp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 0 2px;
}

.corporation-result-page .corp-page-btn {
    border: 1.5px solid rgba(124, 58, 237, 0.22);
    background: #fff;
    color: #7c3aed;
    padding: 9px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.corporation-result-page .corp-page-btn:active {
    background: #f5f0fd;
}

.corporation-result-page .corp-page-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.corporation-result-page .corp-page-info {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    min-width: 56px;
    text-align: center;
}

.corporation-result-page .corp-empty,
.corporation-result-page .corp-error {
    padding: 36px 20px;
    text-align: center;
    font-weight: 700;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.corporation-result-page .corp-empty {
    color: #64748b;
    background: #fff;
    border: 1px solid #e5ebf4;
}

.corporation-result-page .corp-error {
    color: #dc2626;
    background: #fff5f5;
    border: 1px solid rgba(220, 38, 38, 0.16);
}

.corporation-result-page .corp-state-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}
.other-chip-status {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.other-chip-status.is-unseen {
    border: 2px solid #d85b5b !important;
    background: #ffdede !important;
    color: #c65353 !important;
}
.other-chip-status.is-seen {
    border: 2px solid rgba(72, 173, 104, 0.45) !important;
    background: #e8faee !important;
    color: #2f9a58 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7) !important;
}

.history-group {
    margin-bottom: 18px;
}
.history-group:last-child {
    margin-bottom: 0;
}
.history-group-title {
    padding: 4px 6px 10px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f7a97;
}
.history-group-list {
    display: grid;
    gap: 12px;
}

.seeker-page .gc-header {
    background: linear-gradient(90deg, #a41e22 0%, #a41e22 80%, #cf4a4d 100%);
    border-bottom: 1px solid rgba(255,255,255,0.16);
}
.seeker-page .gc-back-btn {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.24);
    box-shadow: 0 8px 18px rgba(95, 11, 14, 0.22);
}
.seeker-page .gc-back-btn:active {
    background: rgba(255,255,255,0.22);
}
.seeker-page .gc-header-icon {
    box-shadow: 0 4px 14px rgba(95, 11, 14, 0.16);
}
.seeker-page .gc-subtitle {
    color: rgba(255,241,241,0.86);
}
.payment-iframe-wrapper {
    width: 100%;
    height: 650px;  
    border-top: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
}

.payment-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.deposit-qris-result {
    padding: 0 !important;
}

.result-content-padding {
    padding: 24px 20px;
}

.order-info-footer {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-radius: 0 0 30px 30px;
}
.deposit-qris-result-actions.single-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* --- QRIS DEPOSIT PAGE STYLES --- */
.deposit-qris-page { 
    min-height: 100vh; 
    background: radial-gradient(circle at top, rgba(34,197,94,.14), transparent 34%), 
                linear-gradient(180deg, #eefaf3 0%, #f7fbf8 52%, var(--bg2) 100%); 
    color: var(--text); 
}

.deposit-qris-shell { 
    max-width: 520px; 
    margin: 0 auto; 
    padding: 0 18px 40px; 
}

.deposit-qris-card, .deposit-qris-result { 
    background: rgba(255,255,255,.92); 
    border: 1px solid var(--border); 
    box-shadow: 0 24px 60px rgba(15,23,42,.10); 
    border-radius: 30px; 
    padding: 30px 20px 22px; 
    margin-top: 18px; 
}

.deposit-qris-title { 
    text-align: center; 
    font-size: 24px; 
    font-weight: 800; 
    margin: 0 0 18px; 
}

.deposit-qris-head { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    background: var(--bg3); 
    border: 1px solid #dbe3ef; 
    border-radius: 18px; 
    padding: 14px 16px; 
    margin-bottom: 18px; 
}

.deposit-qris-logo { 
    width: 44px; 
    height: 44px; 
    border-radius: 14px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    background: linear-gradient(180deg, #fff 0%, #ecfff4 100%); 
    border: 1px solid rgba(160,220,182,.52); 
}

.deposit-qris-logo img { 
    width: 90%; 
    height: 90%; 
    object-fit: contain; 
    display: block; 
}

.deposit-qris-label { 
    display: block; 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--text2); 
    margin-bottom: 10px; 
}

.deposit-qris-input-wrap { 
    position: relative; 
}

.deposit-qris-prefix { 
    position: absolute; 
    left: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
    min-width: 64px; 
    height: 40px; 
    border-radius: 14px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 12px; 
    font-weight: 800; 
    color: #166534; 
    background: #dcfce7; 
    border: 1px solid rgba(134,239,172,.85); 
}

.deposit-qris-input { 
    width: 100%; 
    min-height: 64px; 
    border-radius: 20px; 
    border: 1px solid #d7deea; 
    background: #edf2f7; 
    padding: 18px 18px 18px 92px; 
    font-size: 15px; 
    font-weight: 600; 
    color: var(--text); 
    outline: none; 
}

.deposit-qris-input:focus { 
    border-color: #16a34a; 
    box-shadow: 0 0 0 4px rgba(34,197,94,.10); 
    background: #fff; 
}

.deposit-qris-note { 
    margin: 14px 0 0; 
    font-size: 13px; 
    color: var(--text3); 
    text-align: center; 
}

.deposit-qris-actions, .deposit-qris-result-actions { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
    margin-top: 18px; 
}

.deposit-qris-btn { 
    min-height: 54px; 
    border-radius: 18px; 
    border: 0; 
    font-size: 14px; 
    font-weight: 800; 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s;
}

.deposit-qris-btn.primary { 
    background: linear-gradient(135deg, #16a34a, #15803d); 
    color: #fff; 
    box-shadow: 0 14px 28px rgba(22,163,74,.18); 
}

.deposit-qris-btn.secondary { 
    background: var(--bg3); 
    color: var(--text2); 
    border: 1px solid #d7deea; 
}

/* Modifikasi agar Iframe & Result sejajar */
.payment-iframe-wrapper {
    width: 100%;
    height: 600px;
    border-top: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
}

.payment-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.order-info-footer {
    padding: 16px 20px;
    background: var(--bg3);
    border-radius: 0 0 30px 30px;
}

.confirm-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(15,23,42,.55); 
    display: none; 
    align-items: center; 
    justify-content: center; 
    padding: 24px; 
    z-index: 10000; 
}

.confirm-overlay.open { display: flex; }

.confirm-card { 
    width: min(100%, 420px); 
    background: #fff; 
    border-radius: 24px; 
    box-shadow: 0 24px 60px rgba(15,23,42,.24); 
    padding: 24px 20px 20px; 
    text-align: center; 
}
/* Gaya Tombol Utama (Gradien Hijau seperti di gambar) */
.deposit-qris-btn.primary { 
    background: linear-gradient(135deg, #16a34a, #15803d); 
    color: #fff; 
    box-shadow: 0 14px 28px rgba(22,163,74,.18); 
    border: none;
}

.deposit-qris-btn.secondary { 
    background: var(--bg3); 
    color: var(--text2);   
    border: 1px solid var(--border);
}

.deposit-qris-btn { 
    min-height: 54px; 
    border-radius: 18px; 
    font-size: 14px; 
    font-weight: 800; 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.2s ease;
    width: 100%;
}

.deposit-qris-btn:active {
    transform: scale(0.98);
}
/* --- MODAL CONFIRMATION STYLES --- */

/* Overlay latar belakang gelap */
.confirm-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(15,23,42,0.6); /* Sedikit lebih gelap agar fokus */
    backdrop-filter: blur(4px); /* Efek blur di belakang modal */
    display: none; 
    align-items: center; 
    justify-content: center; 
    padding: 24px; 
    z-index: 10000; 
}

.confirm-overlay.open { 
    display: flex; 
}

/* Kartu Modal */
.confirm-card { 
    width: min(100%, 400px); 
    background: var(--bg2); 
    border-radius: 28px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
    padding: 32px 24px 24px; 
    text-align: center;
    border: 1px solid var(--border);
}

.confirm-title { 
    font-size: 20px; 
    font-weight: 800; 
    color: var(--text);
    letter-spacing: -0.5px;
}

.confirm-text { 
    margin-top: 12px; 
    font-size: 15px; 
    line-height: 1.5; 
    color: var(--text2); 
}

/* Kontainer Tombol (Sejajar Kiri-Kanan) */
.confirm-actions { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* Membagi dua kolom sama rata */
    gap: 12px; 
    margin-top: 28px; 
}

/* Base Style Tombol Modal */
.confirm-btn { 
    min-height: 50px; 
    border: 0; 
    border-radius: 16px; 
    font-size: 14px; 
    font-weight: 800; 
    cursor: pointer; 
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-btn.primary { 
    background: linear-gradient(135deg, #16a34a, #15803d); 
    color: #fff; 
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.confirm-btn.primary:active {
    transform: scale(0.96);
}

.confirm-btn.secondary { 
    background: var(--bg3); 
    color: var(--text2); 
    border: 1px solid var(--border);
}

.confirm-btn.secondary:hover {
    background: #e2e8f0;
}
/* Kita hilangkan gaya kartu dari elemen individu */
.deposit-qris-card, 
.deposit-qris-result { 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    padding: 0 !important; 
    margin-top: 0 !important; 
}

.deposit-qris-shell { 
    max-width: 520px; 
    margin: 18px auto 40px; 
    padding: 0; 
    background: rgba(255,255,255,.96); 
    border: 1px solid var(--border); 
    box-shadow: 0 24px 60px rgba(15,23,42,.10); 
    border-radius: 30px; 
    overflow: hidden; 
}

.result-content-padding {
    padding: 30px 20px 20px;
}

.payment-iframe-wrapper {
    width: 100%;
    height: 650px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.order-info-footer {
    padding: 20px;
    background: var(--bg3);
}
.deposit-qris-page {
            min-height: 100vh;
            background:
                radial-gradient(circle at top, rgba(34, 197, 94, 0.14), transparent 34%),
                linear-gradient(180deg, #eefaf3 0%, #f7fbf8 52%, #ffffff 100%);
            color: #0f172a;
        }

        .deposit-qris-shell {
            max-width: 520px;
            margin: 0 auto;
            padding: 0 18px 40px;
        }

        .deposit-qris-card {
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(148, 163, 184, 0.14);
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
            border-radius: 30px;
            padding: 34px 20px 24px;
            margin-top: 18px;
        }

        .deposit-qris-title {
            text-align: center;
            font-size: 24px;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin: 0 0 20px;
        }

        .deposit-qris-merchant {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
            background: #f8fafc;
            border: 1px solid #dbe3ef;
            border-radius: 18px;
            padding: 14px 16px;
            margin-bottom: 18px;
        }

        .deposit-qris-merchant-main {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .deposit-qris-logo {
            width: 44px;
            height: 44px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: linear-gradient(180deg, #ffffff 0%, #ecfff4 100%);
            border: 1px solid rgba(160, 220, 182, 0.52);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 10px 24px rgba(92, 174, 123, 0.10);
        }

        .deposit-qris-logo img {
            width: 90%;
            height: 90%;
            object-fit: contain;
            display: block;
        }

        .deposit-qris-merchant-label {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
        }

        .deposit-qris-merchant-label strong {
            font-size: 15px;
            font-weight: 800;
        }

        .deposit-qris-merchant-label span {
            font-size: 13px;
            color: #475569;
            font-weight: 600;
        }

        .deposit-qris-merchant-tail {
            color: #94a3b8;
            font-size: 24px;
            line-height: 1;
        }

        .deposit-qris-field-label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: #475569;
            margin: 0 0 10px;
        }

        .deposit-qris-input-wrap {
            position: relative;
        }

        .deposit-qris-input {
            width: 100%;
            min-height: 64px;
            border-radius: 20px;
            border: 1px solid #d7deea;
            background: #edf2f7;
            padding: 18px 18px 18px 92px;
            font-size: 15px;
            font-weight: 600;
            color: #0f172a;
            outline: none;
            transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
        }

        .deposit-qris-input::placeholder {
            color: #94a3b8;
            font-weight: 600;
        }

        .deposit-qris-input:focus {
            border-color: #16a34a;
            box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
            background: #ffffff;
        }

        .deposit-qris-input-prefix {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            min-width: 64px;
            height: 40px;
            border-radius: 14px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 800;
            color: #166534;
            background: #dcfce7;
            border: 1px solid rgba(134, 239, 172, 0.85);
        }

        .deposit-qris-hint {
            margin: 14px 0 0;
            font-size: 13px;
            color: #64748b;
            text-align: center;
        }

        .deposit-qris-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 18px;
        }

        .deposit-qris-btn {
            min-height: 54px;
            border-radius: 18px;
            border: 0;
            font-size: 14px;
            font-weight: 800;
            cursor: pointer;
        }

        .deposit-qris-btn.primary {
            background: linear-gradient(135deg, #16a34a, #15803d);
            color: #ffffff;
            box-shadow: 0 14px 28px rgba(22, 163, 74, 0.18);
        }

        .deposit-qris-btn.primary:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            box-shadow: none;
        }

        .deposit-qris-btn.secondary {
            background: #eef2f7;
            color: #475569;
            border: 1px solid #d7deea;
        }

        .deposit-qris-popup-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.55);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            z-index: 9999;
        }

        .deposit-qris-popup-overlay.open {
            display: flex;
        }

        .deposit-qris-popup {
            width: min(100%, 520px);
            background: #ffffff;
            border-radius: 28px;
            box-shadow: 0 26px 60px rgba(15, 23, 42, 0.24);
            padding: 26px 22px 22px;
            text-align: center;
        }

        .deposit-qris-popup-header {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 16px;
            border-radius: 18px;
            background: #0f5132;
            color: #ffffff;
            font-size: 18px;
            font-weight: 800;
            line-height: 1.2;
        }

        .deposit-qris-popup-qr {
            margin: 18px auto 0;
            width: 240px;
            height: 240px;
            border-radius: 24px;
            background: #ffffff;
            border: 1px solid #dbe3ef;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 16px 28px rgba(15, 23, 42, 0.08);
        }

        .deposit-qris-popup-qr img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .deposit-qris-popup-code {
            margin-top: 18px;
            padding: 12px 14px;
            border-radius: 16px;
            background: #f8fafc;
            border: 1px solid #dbe3ef;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.08em;
            color: #0f172a;
            word-break: break-word;
        }

        .deposit-qris-popup-amount {
            margin-top: 16px;
            font-size: 18px;
            font-weight: 800;
            color: #0f172a;
        }

        .deposit-qris-popup-note {
            margin: 12px auto 0;
            max-width: 420px;
            font-size: 14px;
            line-height: 1.5;
            color: #475569;
        }

        .deposit-qris-popup-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .deposit-qris-popup-btn {
            min-width: 128px;
            min-height: 48px;
            padding: 0 18px;
            border: 0;
            border-radius: 16px;
            font-size: 15px;
            font-weight: 800;
            cursor: pointer;
        }

        .deposit-qris-popup-btn.primary {
            background: linear-gradient(135deg, #16a34a, #15803d);
            color: #fff;
        }

        .deposit-qris-popup-btn.secondary {
            background: #eef2f7;
            color: #475569;
            border: 1px solid #d7deea;
        }

        .confirm-overlay {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.55);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            z-index: 10000;
        }

        .confirm-overlay.open {
            display: flex;
        }

        .confirm-card {
            width: min(100%, 420px);
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
            padding: 24px 20px 20px;
            text-align: center;
        }

        .confirm-title {
            font-size: 20px;
            font-weight: 800;
            color: #0f172a;
        }

        .confirm-text {
            margin-top: 14px;
            font-size: 16px;
            line-height: 1.45;
            color: #475569;
        }

        .confirm-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-top: 22px;
        }

        .confirm-btn {
            min-width: 112px;
            min-height: 46px;
            padding: 0 18px;
            border: 0;
            border-radius: 14px;
            font-size: 14px;
            font-weight: 800;
            cursor: pointer;
        }

        .confirm-btn.primary {
            background: linear-gradient(135deg, #16a34a, #15803d);
            color: #fff;
        }

        .confirm-btn.secondary {
            background: #eef2f7;
            color: #475569;
            border: 1px solid #d7deea;
        }
/* ── BPJS TK Page Styles ── */
body.bpjstk-page {
    background: linear-gradient(180deg, #eef5fc 0%, #f8fbff 100%);
}
.bpjstk-shell {
    padding: 12px 14px 28px;
}
.bpjstk-card {
    background: #ffffff;
    border: 1px solid #e5ebf4;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    min-height: calc(100vh - 120px);
}
.bpjstk-card .gc-result-card {
    margin-top: 14px;
    background: #ffffff;
    border: 1px solid rgba(155,89,182,0.20);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.bpjstk-card .gc-result-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.bpjstk-card .gc-result-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bpjstk-card .gc-result-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
    word-break: break-word;
}
.bpjstk-card .gc-result-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-top: 3px;
}
.bpjstk-card .gc-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 6px 12px;
    border-radius: 999px;
    margin-left: auto;
    background: rgba(155,89,182,0.12);
    color: #9b59b6;
    border: 1px solid rgba(155,89,182,0.22);
}
.bpjstk-card .gc-divider {
    height: 1px;
    background: #e8eef7;
    margin: 12px 0;
}
.bpjstk-card .bpjs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.bpjstk-card .bpjs-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #eef3f9;
}
.bpjstk-card .bpjs-row:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}
.bpjstk-card .bpjs-key {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15px;
    color: #9b59b6;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}
.bpjstk-card .bpjs-val {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
    min-width: 0;
    word-break: break-word;
}
.bpjstk-card .bpjs-list {
    display: grid;
    gap: 8px;
}
.bpjstk-card .bpjs-list-item {
    padding: 8px 10px;
    border-radius: 12px;
    background: #faf7fc;
    border: 1px solid #eef3f9;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.45;
}
.bpjstk-card .bpjstk-loading {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bpjstk-card .bpjstk-loading .gc-state-card {
    width: min(100%, 420px);
    margin: 0 auto;
}
.bpjstk-card .bpjstk-loading .gc-state-card span {
    margin-left: 10px;
}
.bpjstk-empty {
    padding: 18px;
    text-align: center;
    color: #64748b;
    font-weight: 700;
}

/* Cluster Phone */
body.cluster-phone-page { background: #f3f6fb; }
.cluster-phone-page .cluster-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(90deg, #1e88e5 0%, #3498db 60%, #8bd7f4 100%);
}
.cluster-phone-page .cluster-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.34);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(23,91,155,0.22);
}
.cluster-phone-page .cluster-header-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cluster-phone-page .cluster-header-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}
.cluster-phone-page .cluster-header-title h1 {
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.cluster-phone-page .cluster-header-sub {
    color: rgba(239,247,255,0.86);
    font-size: 12px;
    font-weight: 600;
    margin-top: 1px;
}
.cluster-phone-page .cluster-scroll {
    padding: 14px 14px 100px;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
/* Fix scroll padding for pages that switched to sticky app-header */
.check-position-page .bpjs-scroll,
.tracking-vehicle-page .bpjs-scroll,
body .bpjs-scroll { padding-top: 16px; }
.corporation-page .gc-scroll,
.vin-page .gc-scroll { padding-top: 12px; }
.get-contact-page .gc-scroll { padding-top: 28px; gap: 8px; }
.get-contact-page .search-card { margin-bottom: 0 !important; }
.get-contact-page .gc-search-row { margin-bottom: 0 !important; }
.get-contact-page .gc-banner { margin-bottom: 10px !important; }
.snap-location-page .snap-scroll { padding-top: 16px; }
.csa-page .csa-scroll { padding-top: 16px; }

.cluster-phone-page .cluster-page-label { color: #475569; }
.cluster-phone-page .cluster-search-card {
    background: #ffffff;
    border: 1px solid rgba(216, 227, 238, 0.9);
    border-radius: 22px;
    padding: 18px 16px;
    box-shadow: 0 10px 24px rgba(160, 188, 210, 0.10);
}
.cluster-phone-page .cluster-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.cluster-phone-page .cluster-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.3px;
}
.cluster-phone-page .cluster-card-sub {
    font-size: 11px;
    color: #5f6f86;
    font-weight: 500;
    margin-top: 2px;
}
.cluster-phone-page .cluster-card-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    flex-shrink: 0;
    color: #f08a24;
    background: rgba(255, 187, 92, 0.12);
    border: 1px solid rgba(255, 187, 92, 0.28);
}
.cluster-phone-page .cluster-input-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.cluster-phone-page .cluster-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cluster-phone-page .cluster-row-num {
    width: 22px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-align: right;
}
.cluster-phone-page .cluster-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border-radius: 11px;
    border: 1px solid #d5dde7;
    background: #eef4fb;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    padding: 0 13px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cluster-phone-page .cluster-input::placeholder { color: #90a0b7; }
.cluster-phone-page .cluster-input:focus { border-color: rgba(255,187,92,0.5); box-shadow: 0 0 0 3px rgba(255,178,77,0.12); }
.cluster-phone-page .cluster-action-row { display: none; }
.cluster-phone-page .cluster-btn {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    height: 48px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, #ffc874, #ffb24d);
    box-shadow: 0 12px 24px rgba(255, 178, 77, 0.28);
    transition: opacity 0.18s, transform 0.12s;
}
.cluster-phone-page .cluster-btn:active {
    opacity: 0.82;
    transform: scale(0.98);
}
.cluster-helper {
    margin-top: 10px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}
.cluster-state { margin-top: 14px; }
.cluster-result-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cluster-result-card {
    background: #f8fbff;
    border: 1px solid #dbeaf6;
    border-radius: 16px;
    padding: 14px;
}
.cluster-result-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.cluster-result-number {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}
.cluster-result-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}
.cluster-result-badge.success {
    color: #3498db;
    background: rgba(52,152,219,.12);
    border: 1px solid rgba(52,152,219,.24);
}
.cluster-result-badge.error {
    color: #e74c3c;
    background: rgba(231,76,60,.12);
    border: 1px solid rgba(231,76,60,.24);
}
.cluster-result-badge.done {
    color: #22c55e;
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.24);
}
.cluster-result-qid {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0 2px;
}
.cluster-qid-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #7c3aed;
    background: rgba(124,58,237,.1);
    border: 1px solid rgba(124,58,237,.22);
    border-radius: 6px;
    padding: 2px 6px;
    flex-shrink: 0;
}
.cluster-qid-val {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'SF Mono', 'Fira Mono', monospace;
    word-break: break-all;
}
.cluster-result-sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    word-break: break-word;
}
.cluster-result-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #3498db;
    text-decoration: none;
    word-break: break-all;
}
@media (max-width: 640px) {
    .cluster-phone-page .cluster-btn {
        width: 100% !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ============================================================
   CHECK POSITION OUTPUT PAGE
   ============================================================ */
body.check-position-output-page {
    background: var(--bg);
}

.cp-output-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 0 16px;
    min-height: calc(100vh - var(--header-h));
    box-sizing: border-box;
}

/* Main card */
.cp-output-card {
    background: #ffffff;
    border-radius: 0 0 26px 26px;
    border: 1px solid #dbe7f3;
    border-top: none;
    box-shadow: 0 12px 28px rgba(160,188,210,0.10);
    overflow: hidden;
    padding: 18px;
}

/* Meta section: QID + Number */
.cp-output-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cp-output-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #dbe7f3;
}

.cp-output-key {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #70839b;
    flex-shrink: 0;
}

.cp-output-value {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #0d2240;
    text-align: right;
    word-break: break-all;
    min-width: 0;
}

/* Status bar */
.cp-output-status {
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    color: #0d2240;
    border: 1px solid #dbe7f3;
    background: #f8fbff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
}

.cp-output-status.loading {
    color: #3a93d8;
}

/* Spinner */
.cp-output-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(45,156,219,0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: cp-spin 0.72s linear infinite;
    flex-shrink: 0;
}

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

/* Refresh button */
.cp-output-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cp-output-refresh-btn {
    height: 46px;
    min-width: 210px;
    padding: 0 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #7cc8f2 0%, #4aaee6 100%);
    box-shadow: 0 10px 22px rgba(74,174,230,0.26);
    transition: opacity 0.15s, transform 0.12s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cp-output-refresh-btn:active {
    opacity: 0.82;
    transform: scale(0.96);
}

/* Results area */
#cp-result {
    padding: 0;
}

/* Empty */
.cp-output-empty {
    padding: 24px 0;
    text-align: center;
    color: var(--text3);
    font-size: 13px;
    font-weight: 600;
}

/* Column cards container — horizontal scroll on mobile */
.cp-output-columns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Each result card */
.cp-output-column-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #dbe7f3;
    overflow: hidden;
}

.cp-output-column-head {
    padding: 12px 16px;
    background: #f8fbff;
    border-bottom: 1px solid #e8f0f7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #70839b;
    text-transform: uppercase;
}

.cp-output-column-body {
    padding: 0 16px;
}

/* Each field row inside a result card */
.cp-output-field {
    display: grid;
    grid-template-columns: 132px 1fr;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef4fa;
    transition: background 0.12s;
}

.cp-output-field:last-child {
    border-bottom: none;
}

.cp-output-field:active {
    background: transparent;
}

.cp-output-field-key {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #70839b;
    line-height: 1.4;
}

.cp-output-field-value {
    font-size: 13px;
    font-weight: 600;
    color: #0d2240;
    text-align: left;
    word-break: break-word;
    line-height: 1.45;
    font-family: 'DM Mono', monospace;
}

/* Null / dash value styling */
.cp-output-field-value.is-null {
    color: var(--text3);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

/* MAP field — make it a link-styled value */
.cp-output-field-value a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    word-break: break-all;
}

/* Tablet+ layout: side-by-side result cards */
@media (min-width: 600px) {
    .cp-output-wrap {
        max-width: 560px;
        padding: var(--header-h) 0 20px;
    }

    .cp-output-columns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cp-output-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .cp-output-row {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .cp-output-value {
        text-align: right;
        font-size: 13px;
    }

    .cp-output-field {
        grid-template-columns: 132px 1fr;
        gap: 12px;
    }

    .cp-output-field-value {
        text-align: left;
        font-size: 13px;
    }
}

/* Dark theme overrides */
.dark-theme .cp-output-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.09);
    box-shadow: 0 4px 24px rgba(0,0,0,0.24);
}

.dark-theme .cp-output-meta {
    border-bottom-color: rgba(255,255,255,0.08);
}

.dark-theme .cp-output-status {
    border-bottom-color: rgba(255,255,255,0.08);
}

.dark-theme .cp-output-actions {
    border-bottom-color: rgba(255,255,255,0.08);
}

.dark-theme .cp-output-column-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

.dark-theme .cp-output-column-head {
    background: linear-gradient(90deg, rgba(45,156,219,0.14) 0%, rgba(45,156,219,0.04) 100%);
    border-bottom-color: rgba(255,255,255,0.07);
}

.dark-theme .cp-output-field {
    border-bottom-color: rgba(255,255,255,0.05);
}

.dark-theme .cp-output-field-value {
    color: rgba(255,255,255,0.88);
}

/* MAP open button — full-width inside result card */
.cp-map-btn-wrap {
    padding: 12px 14px 0;
}

.cp-map-open-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2d9cdb 0%, #1a7fc1 100%);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(29,130,200,0.28);
    transition: opacity 0.15s, transform 0.1s;
    box-sizing: border-box;
}

.cp-map-open-btn:active {
    opacity: 0.82;
    transform: scale(0.97);
}

.dark-theme .cp-map-open-btn {
    background: linear-gradient(135deg, #1e6fa8 0%, #145d91 100%);
    box-shadow: 0 6px 18px rgba(29,130,200,0.18);
}

/* ALAMAT / address highlight row */
.cp-alamat-row {
    margin: 10px 14px 0;
    padding: 12px 14px;
    background: rgba(45,156,219,0.06);
    border: 1px solid rgba(45,156,219,0.18);
    border-radius: 12px;
}

.dark-theme .cp-alamat-row {
    background: rgba(45,156,219,0.10);
    border-color: rgba(45,156,219,0.22);
}

.cp-alamat-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #2d9cdb;
    margin-bottom: 5px;
}

.cp-alamat-value {
    font-size: 13px;
    font-weight: 600;
    color: #0d2240;
    line-height: 1.5;
    word-break: break-word;
}

.dark-theme .cp-alamat-value {
    color: rgba(255,255,255,0.88);
}

/* Status badge */
.cp-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cp-status-success {
    background: rgba(34,197,94,0.12);
    color: #15803d;
    border: 1px solid rgba(34,197,94,0.28);
}

.cp-status-error {
    background: rgba(239,68,68,0.10);
    color: #b91c1c;
    border: 1px solid rgba(239,68,68,0.22);
}

.cp-status-pending {
    background: rgba(234,179,8,0.10);
    color: #92400e;
    border: 1px solid rgba(234,179,8,0.22);
}

.cp-status-other, .cp-status-unknown {
    background: rgba(100,116,139,0.10);
    color: #475569;
    border: 1px solid rgba(100,116,139,0.18);
}

.dark-theme .cp-status-success  { color: #4ade80; background: rgba(34,197,94,0.14); }
.dark-theme .cp-status-error    { color: #f87171; background: rgba(239,68,68,0.14); }
.dark-theme .cp-status-pending  { color: #fbbf24; background: rgba(234,179,8,0.14); }
.dark-theme .cp-status-other,
.dark-theme .cp-status-unknown  { color: #94a3b8; background: rgba(100,116,139,0.14); }

/* ============================================================
   NOTIFICATION SWIPE-TO-DELETE  (slide left → red + trash)
   ============================================================ */

/* Outer wrapper — clips the sliding card */
.notification-swipe-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    /* Row height collapses smoothly on removal */
    transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                margin-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.28s ease;
}

/* Red danger zone revealed underneath */
.notification-swipe-bg {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 22px;
    /* Starts fully transparent — fades in as user drags */
    background: linear-gradient(
        to left,
        #e74c3c 0%,
        #c0392b 60%,
        rgba(192, 57, 43, 0.72) 100%
    );
    opacity: 0;
    transition: opacity 0.16s ease;
    pointer-events: none;
}

/* When actively swiping */
.notification-swipe-item.swiping .notification-swipe-bg {
    opacity: 1;
}

/* Trash bin icon + label column */
.notification-swipe-trash {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    /* Starts small + invisible, grows as user drags */
    transform: scale(0.55) translateX(18px);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.18s ease;
}

.notification-swipe-item.swiping .notification-swipe-trash {
    transform: scale(1) translateX(0);
    opacity: 1;
}

/* SVG trash icon */
.notification-swipe-trash svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.22));
    /* Lid lifts on deep swipe */
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* "Delete" label below icon */
.notification-swipe-remove {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    user-select: none;
    white-space: nowrap;
}

/* The actual card that slides */
.notification-swipe-card {
    position: relative;
    z-index: 1;
    will-change: transform, opacity;
    touch-action: pan-y;
    /* Fast during drag, spring-back on release */
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.18s ease,
                box-shadow 0.18s ease;
}

/* Lift the card slightly while swiping */
.notification-swipe-item.swiping .notification-swipe-card {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

/* "Deep swipe" state — threshold crossed, ready to confirm delete */
.notification-swipe-item.swipe-ready .notification-swipe-bg {
    background: linear-gradient(to left, #c0392b 0%, #e74c3c 100%);
}

.notification-swipe-item.swipe-ready .notification-swipe-trash svg {
    transform: translateY(-3px); /* lid lifts */
}

/* Collapse animation when item is confirmed deleted */
@keyframes notifRowCollapse {
    from {
        max-height: 110px;
        opacity: 1;
        margin-bottom: 10px;
    }
    to {
        max-height: 0;
        opacity: 0;
        margin-bottom: 0;
    }
}

.notification-swipe-item.deleting {
    animation: notifRowCollapse 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
}
/* ============================================================
   HISTORY SWIPE-TO-DELETE
   ============================================================ */

.history-swipe-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Red layer behind the card */
.history-swipe-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 22px;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.history-swipe-remove {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    user-select: none;
}

/* Trash icon in history bg */
.history-swipe-bg svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: #fff;
}

/* The actual card */
.history-swipe-card {
    position: relative;
    z-index: 1;
    will-change: transform;
    touch-action: pan-y;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

/* Collapse on delete */
@keyframes historyRowCollapse {
    from { max-height: 120px; opacity: 1; margin-bottom: 10px; }
    to   { max-height: 0;     opacity: 0; margin-bottom: 0;    }
}

.history-swipe-item.deleting {
    animation: historyRowCollapse 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
    overflow: hidden;
}

.search-nik-page .gc-scroll {
    gap: 6px;
    padding-top: 12px;
    padding-bottom: 28px;
}

.search-nik-page .search-card {
    margin-bottom: 0;
    padding: 11px 12px;
    border-radius: 18px;
}

.search-nik-page .gc-banner {
    margin-bottom: 7px;
}

.search-nik-page .gc-banner-title {
    margin-bottom: 1px;
}

.search-nik-page .gc-banner-desc {
    line-height: 1.35;
}

.search-nik-page .gc-search-row {
    margin-bottom: 0;
}

.search-nik-page #phone-loading,
.search-nik-page #phone-error,
.search-nik-page #data-loading,
.search-nik-page #data-error,
.search-nik-page #email-loading,
.search-nik-page #email-error,
.search-nik-page #name-loading,
.search-nik-page #name-error,
.search-nik-page #cid-loading,
.search-nik-page #cid-error,
.search-nik-page #vin-loading,
.search-nik-page #vin-error,
.search-nik-page #lookup-email-loading,
.search-nik-page #lookup-email-error,
.search-nik-page #username-loading,
.search-nik-page #username-error {
    margin: -1px 0 4px;
}
@keyframes snikHintFade {
    0%   { opacity: 0.6; }
    70%  { opacity: 0.6; }
    100% { opacity: 0; }
}
.snik-scroll-hint {
    position: fixed;
    bottom: 84px;
    right: 16px;
    z-index: 99;
    font-size: 11px;
    color: var(--text2, #aaa);
    pointer-events: none;
    animation: snikHintFade 3s ease forwards;
}

        body.tracking-vehicle-page { background: #f3f6fb; }
        .tracking-vehicle-page .bpjs-header {
            background: linear-gradient(90deg, #6b8cff 0%, #8b5cf6 55%, #c084fc 100%);
        }
        .tracking-vehicle-page .bpjs-header-icon img {
            width: 28px;
            height: 28px;
            object-fit: contain;
        }
        .tracking-vehicle-page .bpjs-page-label {
            color: #475569;
        }
        .tracking-vehicle-page .bpjs-search-card {
            margin-bottom: 16px;
            min-height: 190px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }
        .tracking-vehicle-page .bpjs-card-icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            background: transparent;
            box-shadow: none;
        }
        .tracking-vehicle-page .bpjs-card-icon img {
            width: 42px;
            height: 42px;
            object-fit: contain;
        }
        .tracking-vehicle-page .bpjs-card-badge.track {
            color: #f08a24;
            background: rgba(255, 187, 92, 0.12);
            border-color: rgba(255, 187, 92, 0.28);
        }
        .tracking-vehicle-page .bpjs-input.track-focus {
            border-color: #d7e3f3;
            box-shadow: none;
        }
        .tracking-vehicle-page .bpjs-btn.track {
            background: linear-gradient(135deg,#ffc874,#ffb24d);
            color: #fff;
            box-shadow: 0 12px 24px rgba(255, 178, 77, 0.24);
        }
        .tracking-vehicle-state { margin-top: 14px; }
/* Get Contact Page Styles */
body { margin: 0; }
.gc-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(90deg, #26a17b 0%, #3fcf9e 80%, #a8f0d8 100%);
    padding: 12px 16px;
}
.gc-back-btn {
    background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.34);
    box-shadow: 0 8px 18px rgba(10,80,55,0.22); padding: 7px; color: #fff;
    cursor: pointer; border-radius: 50%; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gc-back-btn:active { background: rgba(255,255,255,0.28); }
.gc-header-icon {
    width: 38px; height: 38px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.gc-header-title { flex: 1; min-width: 0; }
.gc-title { font-size: 17px; font-weight: 900; color: #fff; letter-spacing: 0.4px; line-height: 1.1; }
.gc-subtitle { font-size: 11px; font-weight: 600; color: rgba(230,255,245,0.86); margin-top: 2px; }
.gc-scroll { padding: 14px 14px 100px; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }

/* search card � matches bpjs-search-card style */
.search-card {
    background: #ffffff;
    border: 1px solid rgba(216,227,238,0.9);
    border-radius: 22px;
    padding: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(160,188,210,0.10);
}
.gc-banner {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.gc-banner-icon {
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg,#3fcf9e,#26a17b);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(38,161,123,0.16);
}
.gc-banner-title { font-size: 14px; font-weight: 800; color: #0f172a; letter-spacing: 0.3px; margin-bottom: 3px; }
.gc-banner-desc  { font-size: 11px; color: #5f6f86; font-weight: 500; line-height: 1.5; }
.gc-banner-badge {
    margin-left: auto; font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
    padding: 4px 10px; border-radius: 20px; flex-shrink: 0;
    background: rgba(38,161,123,0.14); color: #26a17b;
    border: 1px solid rgba(38,161,123,0.24);
}
.gc-search-row { display: flex; gap: 8px; align-items: center; flex-wrap: nowrap; margin-bottom: 0; }
.gc-input {
    flex: 0 1 calc(100% - 112px);
    width: calc(100% - 112px);
    min-width: 0; height: 44px;
    border-radius: 12px;
    border: 1px solid #d5dde7;
    background: #eef4fb;
    color: #334155;
    font-size: 14px; font-weight: 500;
    padding: 0 14px; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gc-input::placeholder { color: #90a0b7; }
.gc-input:focus { border-color: rgba(38,161,123,0.35); box-shadow: 0 0 0 3px rgba(79,207,157,0.10); }
.gc-search-btn {
    height: 44px; width: 104px; min-width: 104px;
    padding: 0 12px; flex: 0 0 104px;
    border-radius: 12px; border: none; cursor: pointer;
    font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
    background: linear-gradient(135deg,#3fcf9e,#26a17b); color: #fff;
    box-shadow: 0 8px 14px rgba(38,161,123,0.18);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.18s, transform 0.12s;
}
.gc-search-btn:active { opacity: 0.8; transform: scale(0.97); }
.gc-chip-row {
    display: flex; gap: 8px; overflow-x: auto;
    padding-bottom: 2px; scrollbar-width: none;
}
.gc-chip-row::-webkit-scrollbar { display: none; }
.gc-chip {
    padding: 7px 14px; border-radius: 50px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
    border: 1.5px solid #dde8f2; background: #f4f8fc; color: #64748b;
    cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.gc-chip.active {
    background: linear-gradient(135deg,#3fcf9e,#26a17b) !important;
    color: #fff !important; border-color: transparent !important;
}

/* state cards */
.gc-state-card {
    background: #ffffff;
    border: 1px solid rgba(216,227,238,0.9);
    border-radius: 14px; padding: 16px;
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 600; color: #64748b;
    box-shadow: 0 4px 12px rgba(160,188,210,0.08);
}
.gc-error-card { border-color: rgba(220,38,38,.25); color: #dc2626; }
.gc-spinner {
    width: 16px; height: 16px;
    border: 2px solid #e2eaf3; border-top-color: #26a17b;
    border-radius: 50%; animation: gc-spin .85s linear infinite; flex-shrink: 0;
}
@keyframes gc-spin { to { transform: rotate(360deg); } }
#gc-loading {
    min-height: 200px; display: flex;
    align-items: center; justify-content: center;
}

/* colour variants for new cards */
.gc-banner-icon.bro  { background: linear-gradient(135deg,#f87171,#dc2626); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(220,38,38,0.18); }
.gc-banner-icon.ewallet { background: linear-gradient(135deg,#818cf8,#6366f1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 18px rgba(99,102,241,0.18); }
.gc-banner-badge.bro  { background: rgba(220,38,38,0.12); color: #dc2626; border-color: rgba(220,38,38,0.24); }
.gc-banner-badge.ewallet { background: rgba(99,102,241,0.12); color: #6366f1; border-color: rgba(99,102,241,0.24); }
.gc-input.bro:focus   { border-color: rgba(220,38,38,0.35); box-shadow: 0 0 0 3px rgba(248,113,113,0.10); }
.gc-input.ewallet:focus { border-color: rgba(99,102,241,0.35); box-shadow: 0 0 0 3px rgba(129,140,248,0.10); }
.gc-search-btn.bro    { background: linear-gradient(135deg,#f87171,#dc2626); box-shadow: 0 8px 14px rgba(220,38,38,0.18); }
.gc-search-btn.ewallet { background: linear-gradient(135deg,#818cf8,#6366f1); box-shadow: 0 8px 14px rgba(99,102,241,0.18); }
.gc-spinner.bro   { border-top-color: #dc2626; }
.gc-spinner.ewallet { border-top-color: #6366f1; }

/* inline result area inside card */
.card-result-area { margin-top: 0; }
.card-result-area .card-loading,
.card-result-area .card-error,
.card-result-area .card-result { display: none; }
.card-result-area .card-loading.show,
.card-result-area .card-error.show,
.card-result-area .card-result.show { display: block; margin-top: 12px; }
.card-loading { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #64748b; padding: 10px 0; }
.card-error   { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #dc2626; padding: 10px 0; }
.card-field-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px;
}
.card-field {
    background: #f4f8fc; border-radius: 10px; padding: 10px 12px;
    border: 1px solid #e2eaf3;
}
.card-field.full { grid-column: 1 / -1; }
.card-field-lbl { font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.card-field-val { font-size: 13px; font-weight: 600; color: #1e293b; word-break: break-word; }
.card-found-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.6px; padding: 3px 9px; border-radius: 20px; background: rgba(34,197,94,0.13); color: #16a34a; border: 1px solid rgba(34,197,94,0.24); margin-bottom: 8px; }
.card-no-data { font-size: 13px; color: #94a3b8; padding: 6px 0; }

/* =====================================================
   Nopol Result — result page styles (nopol-result.css merged)
   ===================================================== */

body.resultnopol-page { background: var(--bg, #f8fafc); }

.resultnopol-shell { padding: 10px 12px 28px; max-width: 480px; margin: 0 auto; }

.resultnopol-page .search-card {
    background: #ffffff; border: 1px solid #e5ebf4; border-radius: 22px;
    padding: 12px; box-shadow: 0 8px 22px rgba(15,23,42,.05);
    min-height: calc(100vh - 110px);
}

/* ===== Plate hero ===== */
.plate-hero {
    position: relative; margin: 2px 0 12px; border-radius: 16px;
    padding: 14px 12px 12px;
    background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.45), transparent 50%),
                linear-gradient(180deg, #f6faff 0%, #e9f2fc 100%);
    border: 1px solid #dbe6f3; overflow: hidden;
}
.plate-hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.plate-hero-eyebrow {
    font-size: 9.5px; font-weight: 800; letter-spacing: 1.4px; color: #3a4a63;
    text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px;
}
.plate-hero-eyebrow::before { content: ""; width: 14px; height: 1px; background: #94a8c2; }
.plate-hero-badge {
    font-size: 10px; font-weight: 800; letter-spacing: .4px; padding: 5px 10px;
    border-radius: 999px; background: #0e2a47; color: #fff;
    display: inline-flex; align-items: center; gap: 5px;
}
.plate-hero-badge .dot {
    width: 5px; height: 5px; border-radius: 50%; background: #46e2a3;
    box-shadow: 0 0 0 3px rgba(70,226,163,.22);
}

/* The plate */
.plate {
    position: relative; background: #0d0f12; border-radius: 8px;
    border: 2px solid #1d2026;
    box-shadow: inset 0 0 0 2px #0d0f12, inset 0 0 0 3px #f5f5f1,
                0 12px 22px rgba(13,15,18,.32), 0 2px 0 rgba(255,255,255,.55);
    padding: 10px 10px 12px; color: #f5f5f1;
    font-family: 'Rajdhani','Arial Narrow',sans-serif;
    text-align: center; letter-spacing: .5px;
}
.plate-bolts { position: absolute; top: 6px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 8px; }
.plate-bolts span {
    width: 6px; height: 6px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #5b6470, #1a1d22 70%);
    box-shadow: inset 0 0 0 1px #2a2e36;
}
.plate-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; line-height: 1; margin-top: 4px; }
.plate-wilayah, .plate-seri, .plate-nopol {
    font-size: 42px; font-weight: 700; font-family: 'Rajdhani',sans-serif;
    text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.plate-nopol { letter-spacing: 1.5px; }
.plate-validity {
    margin-top: 6px; display: inline-block; font-family: 'DM Mono',monospace;
    font-size: 10px; font-weight: 600; color: #0d0f12; background: #f5f5f1;
    padding: 1px 8px; border-radius: 3px; letter-spacing: 2px;
}
.plate-caption { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plate-caption-l { font-size: 10px; color: #5b6c84; font-weight: 700; letter-spacing: .3px; }
.plate-caption-r { font-size: 10px; color: #0e2a47; font-weight: 800; letter-spacing: .3px; }

/* ===== Owner card ===== */
.owner-card {
    background: #ffffff; border: 1px solid #e6ecf4; border-radius: 14px;
    padding: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.owner-avatar {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
    background: linear-gradient(135deg, #f5b860, #f08a00);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 15px;
    font-family: 'Rajdhani',sans-serif; letter-spacing: .5px;
    box-shadow: 0 6px 14px rgba(240,138,0,.35);
}
.owner-avatar.has-photo {
    width: 58px; height: 70px; border-radius: 14px;
    background: #eef4fb; padding: 3px; box-shadow: 0 8px 18px rgba(15,23,42,.16);
}
.owner-avatar.has-photo img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 11px; display: block;
}
.owner-info { min-width: 0; flex: 1; }
.owner-name { font-size: 14px; font-weight: 800; color: #0f172a; line-height: 1.25; word-break: break-word; }
.owner-meta { font-size: 11px; color: #64748b; font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.owner-meta .pip { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; display: inline-block; }
.family-tree-list { display: grid; gap: 8px; padding: 10px 0; }
.family-tree-group { display: grid; gap: 8px; }
.family-tree-group-title {
    font-size: 10px; font-weight: 900; color: #64748b; letter-spacing: .7px;
    text-transform: uppercase; padding-top: 2px;
}
.family-member-card {
    border: 1px solid #edf2f8; border-radius: 12px; background: #f8fbff;
    padding: 10px; display: grid; gap: 7px;
}
.family-member-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.family-member-name { font-size: 12.5px; font-weight: 900; color: #0f172a; word-break: break-word; }
.family-member-role {
    font-size: 9px; font-weight: 900; color: #f08a00; background: rgba(240,138,0,.10);
    border: 1px solid rgba(240,138,0,.16); border-radius: 999px; padding: 3px 7px;
    text-transform: uppercase; white-space: nowrap;
}
.family-member-grid { display: grid; gap: 5px; }
.family-member-field { display: grid; grid-template-columns: minmax(84px, 34%) 1fr; gap: 8px; }
.family-member-label { font-size: 9.5px; font-weight: 900; color: #64748b; text-transform: uppercase; word-break: break-word; }
.family-member-value { font-size: 11.5px; font-weight: 700; color: #0e2a47; word-break: break-word; }

/* ===== Section ===== */
.sec { background: #ffffff; border: 1px solid #e6ecf4; border-radius: 14px; padding: 6px 12px 4px; margin-bottom: 10px; }
.sec-head { display: flex; align-items: center; gap: 8px; padding: 9px 0 8px; border-bottom: 1px dashed #e6ecf4; }
.sec-head-icon {
    width: 22px; height: 22px; border-radius: 7px;
    background: rgba(240,138,0,.12); color: #f08a00;
    display: flex; align-it