:root {
    --x402-mint: #79f2d2;
    --x402-cyan: #5fdce8;
    --x402-blue: #6394ff;
    --x402-violet: #9463ff;
    --x402-surface: rgba(8, 13, 29, 0.78);
    --x402-stroke: rgba(138, 164, 230, 0.28);
}

html,
body {
    overflow-x: hidden;
    background: #02050f;
}

html.modal-open,
body.modal-open {
    overscroll-behavior: none;
}

body.modal-open {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
}

.container {
    width: min(1280px, calc(100% - 48px));
}

.maintenance-toast {
    display: none !important;
}

/* ============================================================
   Header — logo left, Twitter right. Networks live in the hero.
   ============================================================ */

.site-header {
    height: auto;
    min-height: 92px;
    border: 0;
    background: linear-gradient(180deg, rgba(2, 5, 15, 0.82), rgba(2, 5, 15, 0.18) 70%, transparent);
}

.x402-header-inner {
    min-height: 92px;
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.x402-brand {
    width: min(210px, 42vw);
    filter: drop-shadow(0 0 18px rgba(141, 77, 255, 0.3));
}

.x402-header-inner .network-nav {
    display: none;
}

.x402-header-inner .x-profile-card {
    min-width: 230px;
    width: auto;
    min-height: 54px;
    padding: 6px 13px 6px 6px;
    gap: 9px;
    justify-self: end;
    border-color: rgba(158, 89, 255, 0.68);
    background:
        radial-gradient(circle at 19% 50%, rgba(153, 69, 255, 0.14), transparent 42%),
        linear-gradient(105deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.012)),
        rgba(6, 9, 20, 0.8);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        0 0 26px rgba(119, 55, 255, 0.16);
}

.x402-header-inner .x-profile-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-color: rgba(255, 255, 255, 0.13);
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.09), transparent 56%),
        rgba(255, 255, 255, 0.035);
}

.x402-header-inner .x-profile-icon svg {
    width: 18px;
    height: 18px;
}

.x402-header-inner .x-profile-name {
    gap: 4px;
    font-size: 12px;
    font-weight: 800;
}

.x402-header-inner .x-profile-followers {
    margin-top: 3px;
    font-size: 10px;
}

.x402-header-inner .x-verified {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    filter: drop-shadow(0 0 5px rgba(247, 200, 65, 0.34));
}

.x402-header-inner .x-verified.is-gold svg {
    fill: #f4c430;
}

.x402-header-inner .x-profile-followers strong {
    color: rgba(247, 249, 255, 0.94);
    font-weight: 800;
}

.x-affiliation {
    width: 15px;
    height: 15px;
    display: inline-grid;
    flex: 0 0 15px;
    place-items: center;
    border: 1px solid rgba(121, 242, 210, 0.2);
    border-radius: 4px;
    background: rgba(1, 5, 12, 0.92);
    box-shadow: 0 0 8px rgba(20, 241, 149, 0.1);
}

.x-affiliation svg {
    width: 12px;
    height: 12px;
}

/* ============================================================
   Hero badges — decorative icons, never switches
   ============================================================ */

.hero-inner .hero-badges,
.hero-badges {
    display: grid;
    width: min(640px, 100%);
    margin: 0 auto 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.hero-badge {
    min-width: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    color: rgba(231, 235, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(10, 14, 28, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    cursor: default;
    pointer-events: none;
}

.hero-badge .network-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: currentColor;
    stroke: none;
}

.hero-badge.badge-solana {
    color: #71f7be;
    border-color: rgba(20, 241, 149, 0.62);
    background: rgba(20, 241, 149, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(20, 241, 149, 0.2);
}

.hero-badge.badge-robinhood {
    color: #71fb8c;
    border-color: rgba(71, 235, 105, 0.58);
    background: rgba(71, 235, 105, 0.085);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(71, 235, 105, 0.19);
}

.hero-badge.badge-ethereum {
    color: #a4afff;
    border-color: rgba(112, 132, 255, 0.6);
    background: rgba(98, 126, 234, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(98, 126, 234, 0.21);
}

.hero-badge.badge-base {
    color: #6f92ff;
    border-color: rgba(47, 99, 255, 0.62);
    background: rgba(0, 82, 255, 0.11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(0, 82, 255, 0.23);
}

/* ============================================================
   Hero copy — Scanana-scale type, left-aligned over the hound
   ============================================================ */

.hero {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background-position: center center;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(2, 5, 15, 0.42) 0%, rgba(2, 5, 15, 0.08) 52%, rgba(2, 5, 15, 0.08) 100%),
        linear-gradient(180deg, rgba(2, 5, 15, 0.03) 52%, rgba(2, 5, 15, 0.72) 100%);
}

.hero-inner {
    flex: 1 0 auto;
    padding-top: clamp(108px, 12svh, 136px);
    padding-bottom: 28px;
}

.hero-copy {
    width: min(760px, 64%);
    margin-left: 2%;
}

.hero .eyebrow {
    margin-bottom: 16px;
    color: #c3ccdf;
    font-size: 12px;
    letter-spacing: 3.4px;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(56px, 6.4vw, 78px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -3px;
}

.hero h1 > span {
    display: block;
    white-space: nowrap;
    background: linear-gradient(90deg, #5ef2ad 5%, #53cae8 48%, #a76bff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 26px rgba(86, 211, 220, 0.2));
}

.hero-description {
    max-width: 640px;
    margin: 22px 0 28px;
    color: #c5cde0;
    font-size: 18px;
    line-height: 1.65;
}

.wallet-form {
    width: min(100%, 680px);
}

.address-field {
    height: 72px;
    padding: 7px;
    border-color: rgba(139, 165, 230, 0.42);
    border-radius: 16px;
    background: rgba(4, 9, 22, 0.82);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.025);
}

.address-icon {
    flex-basis: 54px;
}

.address-icon svg {
    width: 22px;
}

.address-field input {
    padding-right: 16px;
    font-size: 16px;
}

.scan-button {
    height: 58px;
    gap: 10px;
    padding: 0 24px;
    border-radius: 12px;
    font-size: 16px;
}

.scan-button svg {
    width: 20px;
}

.form-message {
    min-height: 20px;
    margin-top: 8px;
    font-size: 13px;
}

.hero-actions {
    gap: 36px;
    margin-top: 10px;
}

.how-link {
    height: 46px;
    padding: 0 22px;
    font-size: 14px;
}

.how-link span {
    width: 22px;
    height: 22px;
    font-size: 8px;
}

.privacy-note {
    gap: 12px;
}

.privacy-note > svg {
    width: 22px;
}

.privacy-note strong {
    font-size: 13px;
}

.privacy-note small {
    font-size: 11px;
}

.stats-wrap {
    position: relative !important;
    right: auto;
    bottom: auto !important;
    left: auto;
    z-index: 5;
    margin-top: 8px;
    padding-bottom: 32px;
}

.stats-grid {
    width: min(920px, 86%);
    gap: 14px;
}

.stat-card {
    min-height: 108px;
    gap: 16px;
    padding: 22px 20px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(15, 24, 47, 0.88), rgba(7, 12, 27, 0.76));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.stat-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 12px;
}

.stat-icon svg {
    width: 24px;
}

.stat-card strong {
    font-size: 22px;
}

.stat-card span {
    font-size: 12px;
}

.spark {
    width: 110px;
    height: 28px;
}

.more-divider {
    margin-top: 18px;
    font-size: 10px;
}

/* ============================================================
   Intro screens — wordmark, no fake circle
   ============================================================ */

.x-logo {
    width: 150px !important;
    height: 150px !important;
}

.x-brand-card {
    border-color: rgba(118, 102, 255, 0.28);
    background:
        radial-gradient(circle at 50% 32%, rgba(95, 82, 255, 0.12), transparent 62%),
        rgba(7, 10, 19, 0.72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.035);
}

.x-brand-logo,
.loading-brand-mark {
    width: 240px !important;
    height: 92px !important;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.x-brand-logo {
    margin-bottom: 8px;
}

.loading-brand-mark {
    margin: 0 auto 18px;
    animation: loadingWordmarkPulse 2.1s ease-in-out infinite;
}

.x-brand-logo::before,
.loading-brand-mark::before {
    content: none !important;
    display: none !important;
}

.x-brand-logo img,
.loading-brand-mark img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 28px rgba(135, 71, 255, 0.42));
}

.x-brand-name {
    font-size: 28px;
}

.loading-screen {
    background:
        radial-gradient(circle at 50% 43%, rgba(88, 74, 184, 0.08), transparent 27rem),
        #080a0e;
}

.loading-content {
    width: min(520px, calc(100vw - 42px));
}

.loading-title {
    margin-bottom: 14px;
    font-size: 48px;
    letter-spacing: -2px;
}

.loading-subtitle {
    margin-bottom: 28px;
    color: #8b93aa;
    font-size: 16px;
}

.loading-bar {
    width: min(380px, 90%);
    height: 5px;
    margin-inline: auto;
    background: rgba(255, 255, 255, 0.07);
}

@keyframes loadingWordmarkPulse {
    0%,
    100% { opacity: 0.9; transform: translateY(0) scale(0.98); }
    50% { opacity: 1; transform: translateY(-4px) scale(1.02); }
}

/* ============================================================
   Scan + results — glass, large type
   ============================================================ */

.scan-modal {
    padding: 18px;
}

.scan-backdrop {
    background:
        radial-gradient(circle at 50% 30%, rgba(80, 84, 177, 0.16), transparent 34rem),
        rgba(1, 3, 10, 0.86);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.scan-dialog {
    width: min(920px, calc(100vw - 36px));
    max-height: calc(100svh - 36px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% -16%, rgba(84, 103, 230, 0.22), transparent 30rem),
        linear-gradient(145deg, rgba(16, 22, 40, 0.82), rgba(7, 10, 22, 0.9));
    box-shadow:
        0 45px 140px rgba(0, 0, 0, 0.7),
        inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.modal-x {
    top: 18px;
    left: calc(100% - 56px);
    width: 40px;
    height: 40px;
    margin-bottom: -40px;
    border-color: rgba(145, 165, 216, 0.28);
    background: rgba(7, 12, 26, 0.78);
}

.modal-x svg {
    width: 18px;
}

#scanningView {
    min-height: 640px;
    padding: 42px 48px 32px;
}

.scan-orbit {
    width: 220px;
    height: 180px;
    margin-bottom: 8px;
}

.orbit-core {
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.orbit-core img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 22px rgba(108, 79, 255, 0.45));
}

#scanningView .modal-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 3.2px;
}

#scanningView h2 {
    font-size: 42px;
    letter-spacing: -1.8px;
}

.scan-description {
    max-width: 640px;
    margin: 12px 0 16px;
    color: #b3bdd4;
    font-size: 16px;
    line-height: 1.55;
}

.scan-address-chip {
    height: 40px;
    max-width: 420px;
    margin-bottom: 22px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
}

.scan-progress-row .progress-track {
    height: 8px;
}

.scan-progress-row > strong {
    width: 48px;
    font-size: 14px;
}

.scan-stage-list {
    margin: 16px 0 20px;
}

.scan-stage-list span {
    gap: 8px;
    font-size: 13px;
}

.scan-stage-list span i {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.activity-panel,
.summary-panel {
    min-height: 180px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.activity-panel h3,
.summary-panel h3 {
    margin-bottom: 14px;
    font-size: 13px;
}

.activity-panel li {
    grid-template-columns: 24px 1fr auto 16px;
    font-size: 13px;
}

.activity-panel li em {
    font-size: 11px;
}

.summary-grid > div {
    height: 68px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.summary-grid small {
    font-size: 10px;
}

.summary-grid strong {
    font-size: 15px;
}

.scan-network {
    height: 38px;
    margin-top: 18px;
    padding: 0 16px;
    font-size: 12px;
}

.scan-safe-note {
    margin-top: 12px;
    font-size: 12px;
}

.scan-modal.is-results .scan-dialog {
    width: min(980px, calc(100vw - 36px));
}

#resultsView {
    min-height: 620px;
    padding: 56px 48px 40px;
}

.results-header {
    margin-bottom: 24px;
}

.results-header .modal-eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
}

.results-header h2 {
    font-size: 40px;
    letter-spacing: -1.6px;
}

.results-header > div:first-child > p:last-child {
    margin-top: 10px;
    font-size: 13px;
}

.results-summary > span {
    min-width: 148px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
}

.results-summary strong {
    font-size: 26px;
}

.results-summary small {
    margin-top: 8px;
    font-size: 12px;
}

.preview-banner {
    min-height: 52px;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(20, 241, 149, 0.16);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(20, 241, 149, 0.08), rgba(153, 69, 255, 0.08));
    font-size: 14px;
}

.preview-banner span {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
}

.drop-results {
    display: grid;
    gap: 16px;
}

.drop-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) minmax(160px, 0.9fr) minmax(120px, 0.7fr) 168px;
    gap: 20px;
    padding: 22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(22, 27, 38, 0.72), rgba(10, 13, 21, 0.78));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.drop-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(153, 69, 255, 0.55), transparent);
}

.drop-card.is-active {
    border-color: rgba(79, 224, 224, 0.45);
    background:
        radial-gradient(circle at 8% 50%, rgba(64, 229, 198, 0.12), transparent 22rem),
        linear-gradient(145deg, rgba(16, 32, 48, 0.82), rgba(10, 16, 32, 0.78));
    box-shadow: 0 0 32px rgba(40, 205, 221, 0.12), inset 0 1px rgba(255, 255, 255, 0.05);
}

.drop-card.is-active::before {
    background: linear-gradient(90deg, transparent, #14f195, #9945ff, transparent);
}

.drop-asset {
    padding-right: 18px;
}

.token-image {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    border-radius: 20px;
}

.drop-asset-copy h3 {
    font-size: 22px;
}

.drop-asset-copy h3 span {
    display: block;
    margin-top: 4px;
    color: rgba(211, 220, 237, 0.45);
    font-size: 13px;
    font-weight: 600;
}

.token-network {
    height: 28px;
    margin-top: 10px;
    padding: 0 12px;
    font-size: 11px;
}

.drop-status small {
    font-size: 12px;
}

.status-badge,
.drop-card.is-active .status-badge {
    padding: 8px 14px;
    font-size: 11px;
}

.drop-value strong {
    font-size: 26px;
}

.drop-value small {
    margin-top: 8px;
    font-size: 12px;
}

.project-link {
    height: 50px;
    border-radius: 14px;
    font-size: 13px;
}

.project-link svg {
    width: 16px;
}

.no-results {
    min-height: 360px;
}

.no-results-icon {
    width: 78px;
    height: 78px;
}

.no-results h3 {
    font-size: 28px;
}

.no-results p {
    font-size: 16px;
}

/* ============================================================
   Tablet
   ============================================================ */

@media (max-width: 1100px) {
    .container {
        width: min(100% - 40px, 960px);
    }

    .x402-brand {
        width: 180px;
    }

    .hero-copy {
        width: min(680px, 70%);
        margin-left: 0;
    }

    .hero h1 {
        font-size: clamp(52px, 6.6vw, 70px);
    }

    .hero h1 > span {
        white-space: normal;
    }

    .drop-card {
        grid-template-columns: minmax(210px, 1.3fr) minmax(140px, 0.85fr) minmax(100px, 0.6fr) 148px;
        gap: 14px;
    }
}

@media (max-width: 820px) and (min-width: 681px) {
    .x402-header-inner .x-profile-card {
        min-width: 210px;
    }

    .hero-inner {
        padding-top: 128px;
    }

    .hero-copy {
        width: min(100%, 680px);
    }

    .stats-grid {
        width: 100%;
    }
}

/* ============================================================
   Mobile — Scanana layout: logo | twitter, networks centered
   ============================================================ */

@media (max-width: 680px) {
    .container {
        width: calc(100% - 32px);
    }

    .site-header {
        height: auto;
        min-height: 76px;
        background: linear-gradient(180deg, rgba(2, 5, 15, 0.92), rgba(2, 5, 15, 0.28) 80%, transparent);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .x402-header-inner {
        min-height: 76px;
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 8px;
        grid-template-columns: none;
        grid-template-rows: none;
    }

    .x402-brand {
        width: clamp(128px, 42vw, 168px);
        align-self: center;
        margin-left: -28px;
        transform: translateX(-25px);
    }

    .x402-header-inner .x-profile-card {
        width: 158px;
        min-width: 0;
        min-height: 44px;
        justify-self: end;
        padding: 5px 8px 5px 5px;
        gap: 6px;
    }

    .x402-header-inner .x-profile-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .x402-header-inner .x-profile-icon svg {
        width: 14px;
        height: 14px;
    }

    .x402-header-inner .x-profile-name {
        gap: 2px;
        font-size: 9px;
    }

    .x402-header-inner .x-profile-followers {
        margin-top: 2px;
        font-size: 8px;
    }

    .x402-header-inner .x-verified {
        width: 11px;
        height: 11px;
        flex-basis: 11px;
    }

    .x-affiliation {
        width: 12px;
        height: 12px;
        flex-basis: 12px;
    }

    .x-affiliation svg {
        width: 10px;
        height: 10px;
    }

    .x402-header-inner .x-profile-arrow {
        display: none;
    }

    .x402-header-inner .network-nav {
        display: none;
    }

    .hero {
        height: auto;
        min-height: 0;
        background-position: 62% top;
    }

    .hero::before {
        background:
            linear-gradient(90deg, rgba(2, 5, 15, 0.62), rgba(2, 5, 15, 0.18)),
            linear-gradient(180deg, rgba(2, 5, 15, 0.06) 18%, rgba(2, 5, 15, 0.55) 58%, #02050f 90%);
    }

    .hero-inner {
        min-height: 0;
        padding-top: 96px;
    }

    .hero-copy {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .hero-inner .hero-badges,
    .hero-badges {
        width: min(100%, 360px);
        margin: 0 auto 22px;
        gap: 6px;
    }

    .hero-badge {
        min-height: 36px;
        padding: 6px 6px;
        font-size: 11px;
        gap: 5px;
    }

    .hero-badge .network-icon {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .hero .eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 2.4px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(48px, 13vw, 64px);
        line-height: 0.98;
        letter-spacing: -2.6px;
    }

    .hero h1 > span {
        white-space: normal;
    }

    .hero-description {
        max-width: 100%;
        margin: 18px auto 24px;
        color: #d0d7e8;
        font-size: 16px;
        line-height: 1.65;
    }

    .wallet-form {
        width: 100%;
    }

    .address-field {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
    }

    .address-icon {
        height: 48px;
        flex-basis: 44px;
    }

    .address-field input {
        width: calc(100% - 52px);
        min-width: 0;
        height: 48px;
        flex: 1 1 auto;
        /* 16px prevents automatic page zoom when iOS focuses the field. */
        font-size: 16px;
    }

    .scan-button {
        width: 100%;
        height: 56px;
        flex: 1 1 100%;
        justify-content: center;
        font-size: 16px;
        border-radius: 14px;
    }

    .scan-button i {
        display: inline;
    }

    .hero-actions {
        align-items: center;
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }

    .how-link {
        height: 44px;
        font-size: 14px;
    }

    .privacy-note {
        justify-content: center;
        text-align: left;
    }

    .privacy-note strong {
        font-size: 13px;
    }

    .privacy-note small {
        font-size: 11px;
    }

    .stats-wrap {
        position: relative !important;
        bottom: auto;
        margin-top: 36px;
        padding-bottom: 28px;
    }

    .stats-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        min-height: 96px;
        padding: 20px 18px;
    }

    .stat-card strong {
        font-size: 22px;
    }

    .stat-card span {
        font-size: 12px;
    }

    .spark {
        display: block;
        width: 108px;
        height: 26px;
    }

    .more-divider {
        display: none;
    }

    .x-verification-content {
        padding: 48px 18px 28px;
    }

    .x-logo {
        width: 120px !important;
        height: 120px !important;
    }

    .x-brand-card {
        padding: 20px 18px 22px;
        border-radius: 22px;
    }

    .x-brand-logo,
    .loading-brand-mark {
        width: 200px !important;
        height: 76px !important;
    }

    .loading-title {
        font-size: 36px;
    }

    .loading-subtitle {
        font-size: 15px;
    }

    .scan-modal {
        padding: 8px;
    }

    .scan-dialog,
    .scan-modal.is-results .scan-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100svh - 16px);
        border-radius: 22px;
    }

    .modal-x {
        top: 12px;
        left: calc(100% - 48px);
        width: 36px;
        height: 36px;
        margin-bottom: -36px;
    }

    #scanningView {
        min-height: 0;
        padding: 36px 18px 24px;
    }

    #scanningView h2 {
        font-size: 32px;
    }

    .scan-description {
        font-size: 14px;
    }

    .scan-address-chip {
        max-width: 100%;
        font-size: 12px;
    }

    .scan-stage-list span {
        font-size: 11px;
    }

    .scan-panels {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .activity-panel,
    .summary-panel {
        min-height: 0;
    }

    #resultsView {
        min-height: 0;
        padding: 52px 16px 24px;
    }

    .results-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding-right: 0;
    }

    .results-header h2 {
        font-size: 30px;
    }

    .results-summary {
        width: 100%;
    }

    .results-summary > span {
        min-width: 0;
        flex: 1;
    }

    .preview-banner {
        align-items: flex-start;
        font-size: 13px;
        line-height: 1.45;
    }

    .drop-card {
        grid-template-columns: 1fr 1fr;
        gap: 16px 12px;
        padding: 18px;
    }

    .drop-asset {
        grid-column: 1 / -1;
        padding: 0 0 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .drop-status {
        grid-column: 1;
    }

    .drop-value {
        grid-column: 2;
        justify-content: center;
    }

    .drop-action {
        width: 100%;
        grid-column: 1 / -1;
        padding: 0;
    }

    .project-link {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 24px);
    }

    .x402-brand {
        width: 118px;
        margin-left: -24px;
        transform: translateX(-18px);
    }

    .x402-header-inner .x-profile-card {
        width: 148px;
        gap: 5px;
        padding-right: 6px;
    }

    .x402-header-inner .x-profile-name {
        gap: 2px;
        font-size: 8.5px;
    }

    .x402-header-inner .x-profile-followers {
        font-size: 7.5px;
    }

    .x402-header-inner .x-verified,
    .x-affiliation {
        width: 10.5px;
        height: 10.5px;
        flex-basis: 10.5px;
    }

    .hero-badge {
        font-size: 10px;
    }

    .hero h1 {
        font-size: 46px;
    }
}

/* ============================================================
   Final scanner composition — reference image 3
   ============================================================ */

.x-brand-logo {
    width: min(380px, 80vw) !important;
    height: min(214px, 45vw) !important;
    margin: -12px auto -8px;
}

.loading-brand-mark {
    width: min(400px, 82vw) !important;
    height: min(225px, 46vw) !important;
    margin: 0 auto 12px;
}

.x-brand-logo img,
.loading-brand-mark img {
    object-fit: contain !important;
    filter: drop-shadow(0 0 28px rgba(126, 70, 255, 0.36));
}

.x-brand-name,
.loading-title {
    display: none !important;
}

.scan-modal {
    padding: 10px;
}

.scan-backdrop {
    background:
        radial-gradient(circle at 50% 38%, rgba(68, 91, 194, 0.17), transparent 40rem),
        rgba(1, 3, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.scan-dialog,
.scan-modal.is-results .scan-dialog {
    width: min(1060px, calc(100vw - 20px));
    max-height: calc(100svh - 20px);
    border: 1px solid rgba(125, 163, 239, 0.5);
    border-radius: 22px;
    background:
        radial-gradient(ellipse 52% 30% at 50% 12%, rgba(88, 79, 255, 0.24), transparent 72%),
        radial-gradient(circle at 0 100%, rgba(34, 170, 211, 0.08), transparent 34%),
        linear-gradient(145deg, rgba(11, 19, 42, 0.96), rgba(4, 9, 24, 0.98));
    box-shadow:
        0 45px 140px rgba(0, 0, 0, 0.76),
        inset 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 70px rgba(68, 96, 190, 0.05);
}

.scan-dialog::before {
    opacity: 0.32;
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse at 50% 25%, #000, transparent 76%);
}

.modal-x {
    position: sticky;
    top: 16px;
    left: calc(100% - 58px);
    width: 42px;
    height: 42px;
    margin-bottom: -42px;
    border-color: rgba(146, 170, 224, 0.3);
    background: rgba(10, 16, 35, 0.82);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.modal-x svg {
    width: 19px;
}

#scanningView {
    min-height: 790px;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 44px 18px;
    overflow: hidden;
    text-align: center;
}

.scanner-topbar {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 58px;
    color: #677391;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.scanner-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.scanner-brand img {
    width: 80px;
    height: 30px;
    object-fit: contain;
}

.scanner-brand i {
    width: 1px;
    height: 25px;
    background: rgba(139, 157, 204, 0.25);
}

.scanner-side-copy {
    position: absolute;
    z-index: 3;
    top: 138px;
    display: flex;
    flex-direction: column;
    color: #596581;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.6;
    letter-spacing: 2.5px;
    text-align: left;
}

.scanner-side-copy i {
    width: 34px;
    height: 2px;
    margin-top: 12px;
    background: linear-gradient(90deg, #6a67ff, #a655ff);
    box-shadow: 0 0 10px rgba(124, 89, 255, 0.7);
}

.scanner-side-copy.side-left {
    left: 32px;
}

.scanner-side-copy.side-right {
    right: 32px;
    text-align: right;
}

.scanner-side-copy.side-right i {
    align-self: flex-end;
}

.scan-orbit {
    position: relative;
    width: 320px;
    height: 190px;
    flex: 0 0 190px;
    margin: 0 auto 2px;
}

.orbit-line {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(101, 132, 241, 0.28);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-a {
    width: 128px;
    height: 128px;
    border-top-color: #7469ff;
    border-right-color: rgba(113, 231, 255, 0.56);
    box-shadow: 0 0 22px rgba(80, 87, 255, 0.16);
    animation: spin 7s linear infinite;
}

.orbit-b {
    width: 214px;
    height: 164px;
    border-right-color: #836aff;
    border-left-style: dashed;
    animation: spinReverse 12s linear infinite;
}

.orbit-c {
    width: 294px;
    height: 188px;
    border-color: rgba(92, 115, 211, 0.16);
    border-top-style: dashed;
    animation: spin 20s linear infinite;
}

.orbit-core {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 122px;
    height: 122px;
    display: grid;
    min-width: 0;
    padding: 0;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(116, 126, 255, 0.72);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 44%, rgba(60, 76, 183, 0.95), rgba(14, 20, 66, 0.98) 70%);
    box-shadow:
        0 0 35px rgba(88, 83, 255, 0.55),
        0 0 80px rgba(71, 128, 255, 0.15),
        inset 0 0 30px rgba(114, 208, 255, 0.18);
    transform: translate(-50%, -50%);
}

.orbit-core img {
    width: 92px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(143, 92, 255, 0.8));
}

.orbit-node {
    position: absolute;
    z-index: 4;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(127, 153, 242, 0.5);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 43, 91, 0.98), rgba(10, 18, 46, 0.98));
    box-shadow: 0 0 20px rgba(86, 120, 255, 0.38), inset 0 0 16px rgba(85, 121, 255, 0.1);
    font-size: 20px;
}

.node-sol {
    top: 19px;
    left: 51px;
    gap: 3px;
    padding: 12px;
}

.node-sol i,
.mini-sol b {
    display: block;
    width: 24px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, #62ffd3, #8d68ff);
    transform: skewX(-24deg);
}

.node-eth {
    top: 20px;
    right: 50px;
    color: #a7afff;
}

.node-base {
    right: 27px;
    bottom: 18px;
    color: #66adff;
    font-size: 27px;
}

.node-robin {
    bottom: 17px;
    left: 29px;
    color: #5bf2a1;
}

#scanningView h2 {
    margin: 0;
    font: 700 40px/1.08 var(--font-display);
    letter-spacing: -1.5px;
}

.scan-description {
    max-width: 690px;
    margin: 8px 0 12px;
    color: #9ca8c3;
    font-size: 15px;
    line-height: 1.5;
}

.scan-address-chip {
    height: 38px;
    max-width: 430px;
    margin-bottom: 17px;
    padding: 0 16px;
    color: #aeb9d4;
    border: 1px solid rgba(111, 135, 204, 0.3);
    border-radius: 999px;
    background: rgba(22, 31, 66, 0.72);
    font: 12px/1 monospace;
}

.scan-progress-row {
    width: 100%;
    gap: 18px;
}

.scan-progress-row .progress-track {
    width: auto;
    height: 10px;
    flex: 1;
    border-radius: 999px;
    background: rgba(84, 105, 161, 0.21);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4);
}

.progress-track span {
    background: linear-gradient(90deg, #55d9f4, #6c8cff 52%, #8f5dff);
    box-shadow: 0 0 16px rgba(105, 112, 255, 0.68);
    transition: none;
}

.scan-progress-row > strong {
    width: 48px;
    color: #8e79ff;
    font-size: 17px;
    text-align: right;
}

.scan-stage-list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 20px;
}

.scan-stage-list > .scan-stage {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #73809d;
    text-align: left;
}

.scan-stage-list > .scan-stage > i {
    width: 29px;
    height: 29px;
    display: grid;
    flex: 0 0 29px;
    place-items: center;
    color: transparent;
    border: 2px solid #50607d;
    border-radius: 50%;
    font-size: 14px;
    font-style: normal;
}

.scan-stage-list > .scan-stage > span {
    display: flex;
    flex-direction: column;
}

.scan-stage-list > .scan-stage strong {
    color: #d6ddec;
    font-size: 14px;
    font-weight: 650;
}

.scan-stage-list > .scan-stage small {
    margin-top: 3px;
    color: #77839c;
    font-size: 10px;
    white-space: nowrap;
}

.scan-stage-list > .scan-stage.is-complete > i {
    color: #071b25;
    border-color: #58e6cf;
    background: #58e6cf;
    box-shadow: 0 0 13px rgba(71, 231, 207, 0.42);
}

.scan-stage-list > .scan-stage.is-current > i {
    color: transparent;
    border-color: #8f68ff;
    box-shadow: 0 0 14px rgba(135, 94, 255, 0.46);
}

.scan-stage-list > .scan-stage.is-current > i::after {
    width: 7px;
    height: 7px;
    content: "";
    border-radius: 50%;
    background: #9b71ff;
    box-shadow: 0 0 8px #9b71ff;
}

.scan-stage-list > b {
    height: 2px;
    flex: 1;
    margin: 0 12px;
    background: rgba(90, 111, 161, 0.28);
}

.scan-panels {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
}

.activity-panel,
.summary-panel {
    min-height: 205px;
    padding: 18px 20px;
    border: 1px solid rgba(117, 146, 214, 0.22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(13, 22, 48, 0.74), rgba(8, 15, 35, 0.64));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.activity-panel h3,
.summary-panel h3 {
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    color: #e3e8f5;
    font-size: 15px;
    font-weight: 650;
}

.activity-panel h3 i {
    width: 8px;
    height: 8px;
    margin-right: 9px;
}

.activity-panel h3 em {
    margin-left: auto;
    color: #a26cff;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.activity-panel ul {
    gap: 0;
}

.activity-panel li {
    min-height: 39px;
    grid-template-columns: 28px 1fr auto 18px;
    padding: 7px 0;
    color: #bdc6db;
    border-top: 1px solid rgba(116, 137, 185, 0.1);
    font-size: 12px;
}

.activity-panel li > span {
    color: #8496da;
    font-size: 16px;
}

.activity-panel li em {
    font-size: 10px;
}

.activity-panel li b {
    width: 15px;
    height: 15px;
    font-size: 9px;
}

.summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.summary-grid > div {
    min-height: 76px;
    height: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(108, 133, 195, 0.15);
    border-radius: 12px;
    background: rgba(24, 35, 72, 0.48);
}

.summary-grid > div > span {
    width: 37px;
    height: 37px;
    display: grid;
    flex: 0 0 37px;
    place-items: center;
    color: #7797ff;
    border-radius: 10px;
    background: rgba(92, 105, 230, 0.12);
    font-size: 20px;
}

.summary-grid p {
    display: flex;
    min-width: 0;
    margin: 0;
    flex-direction: column;
    text-align: left;
}

.summary-grid small {
    color: #9ba7c0;
    font-size: 10px;
}

.summary-grid strong {
    margin: 2px 0;
    color: #f2f5ff;
    font-size: 19px;
    line-height: 1;
}

.summary-grid strong.read-only {
    color: #59e8bd;
}

.summary-grid em {
    color: #6f7c96;
    font-size: 9px;
    font-style: normal;
}

.scan-networks {
    width: min(650px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.scan-networks > span {
    position: relative;
    min-height: 50px;
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    padding: 7px 12px;
    color: #9ba8c4;
    border: 1px solid rgba(106, 130, 191, 0.2);
    border-radius: 999px;
    background: rgba(13, 21, 45, 0.66);
    text-align: left;
}

.scan-networks > span > i {
    grid-row: 1 / 3;
    color: #8b9cff;
    font-size: 21px;
    font-style: normal;
}

.scan-networks strong {
    align-self: end;
    color: #d5dced;
    font-size: 11px;
}

.scan-networks small {
    align-self: start;
    color: #6f7d98;
    font-size: 9px;
}

.scan-networks > span.is-scanning {
    border-color: rgba(127, 89, 255, 0.62);
    box-shadow: 0 0 18px rgba(109, 72, 255, 0.2);
}

.scan-networks > span > em {
    position: absolute;
    right: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #54e5ad;
    box-shadow: 0 0 9px #54e5ad;
}

.mini-sol {
    display: flex;
    width: 25px;
    flex-direction: column;
    gap: 3px;
}

.mini-sol b {
    width: 21px;
    height: 3px;
}

.scan-safe-note {
    margin: 10px 0 0;
    color: #697794;
    font-size: 10px;
}

@media (max-width: 820px) {
    #scanningView {
        min-height: 760px;
        padding-inline: 24px;
    }

    .scanner-side-copy {
        display: none;
    }

    .scan-stage-list > .scan-stage small {
        display: none;
    }

    .scan-stage-list > b {
        margin-inline: 7px;
    }

}

@media (max-width: 680px) {
    .x-brand-logo {
        width: min(300px, 78vw) !important;
        height: min(169px, 44vw) !important;
    }

    .loading-brand-mark {
        width: min(320px, 82vw) !important;
        height: min(180px, 46vw) !important;
    }

    .scan-dialog,
    .scan-modal.is-results .scan-dialog {
        width: calc(100vw - 12px);
        max-height: calc(100svh - 12px);
        border-radius: 18px;
    }

    #scanningView {
        min-height: 0;
        padding: 17px 14px 18px;
    }

    .scanner-topbar {
        min-height: 34px;
        padding-right: 42px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .scanner-topbar > span {
        display: none;
    }

    .scanner-brand {
        gap: 9px;
    }

    .scanner-brand img {
        width: 66px;
    }

    .scan-orbit {
        width: 280px;
        height: 166px;
        flex-basis: 166px;
    }

    .orbit-c {
        width: 260px;
        height: 164px;
    }

    .orbit-b {
        width: 190px;
        height: 146px;
    }

    .orbit-core {
        width: 105px;
        height: 105px;
    }

    .orbit-core img {
        width: 79px;
    }

    .orbit-node {
        width: 41px;
        height: 41px;
    }

    .node-sol {
        left: 43px;
        padding: 10px;
    }

    .node-eth {
        right: 42px;
    }

    #scanningView h2 {
        font-size: 29px;
    }

    .scan-description {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .scan-address-chip {
        max-width: 86%;
        margin-bottom: 14px;
        font-size: 10px;
    }

    .scan-progress-row {
        gap: 9px;
    }

    .scan-progress-row > strong {
        width: 38px;
        font-size: 13px;
    }

    .scan-stage-list {
        margin: 12px 0 15px;
    }

    .scan-stage-list > .scan-stage {
        gap: 4px;
    }

    .scan-stage-list > .scan-stage > i {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        font-size: 11px;
    }

    .scan-stage-list > .scan-stage strong {
        font-size: 10px;
    }

    .scan-stage-list > b {
        margin: 0 3px;
    }

    .scan-panels {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .activity-panel,
    .summary-panel {
        min-height: 0;
        padding: 13px 14px;
    }

    .activity-panel {
        display: none;
    }

    .summary-panel h3 {
        font-size: 12px;
    }

    .summary-grid > div {
        min-height: 61px;
        padding: 8px;
    }

    .summary-grid > div > span {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: 16px;
    }

    .summary-grid strong {
        font-size: 15px;
    }

    .summary-grid em {
        display: none;
    }

    .scan-networks {
        gap: 5px;
        margin-top: 10px;
    }

    .scan-networks > span {
        min-height: 38px;
        display: flex;
        justify-content: center;
        padding: 5px;
        text-align: center;
    }

    .scan-networks > span > i {
        font-size: 15px;
    }

    .scan-networks strong,
    .scan-networks > span > em {
        display: none;
    }

    .scan-networks small {
        font-size: 8px;
    }

    .scan-safe-note {
        font-size: 8px;
    }

}

/* ============================================================
   Compact reference scanner + completed report
   ============================================================ */

.scan-modal {
    padding: 16px;
}

.scan-backdrop {
    background:
        radial-gradient(circle at 50% 40%, rgba(74, 91, 194, 0.13), transparent 38rem),
        rgba(1, 3, 10, 0.7);
    backdrop-filter: blur(9px) saturate(82%);
    -webkit-backdrop-filter: blur(9px) saturate(82%);
}

.scan-dialog {
    width: min(920px, calc(100vw - 48px));
    max-height: calc(100svh - 32px);
    border-color: rgba(102, 122, 255, 0.66);
    border-radius: 23px;
    background:
        radial-gradient(ellipse 48% 28% at 50% 14%, rgba(73, 57, 212, 0.25), transparent 74%),
        radial-gradient(circle at 0 100%, rgba(27, 163, 200, 0.07), transparent 34%),
        linear-gradient(145deg, rgba(7, 15, 37, 0.94), rgba(3, 8, 24, 0.96));
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.58),
        0 0 34px rgba(79, 75, 255, 0.22),
        inset 0 1px rgba(255, 255, 255, 0.07);
}

.scan-modal.is-results .scan-dialog {
    width: min(800px, calc(100vw - 48px));
    border-color: rgba(110, 104, 255, 0.82);
}

.modal-x {
    top: 14px;
    left: calc(100% - 52px);
    width: 38px;
    height: 38px;
    margin-bottom: -38px;
    background: rgba(6, 12, 30, 0.66);
}

#scanningView {
    min-height: 688px;
    padding: 18px 30px 14px;
}

.scanner-topbar {
    min-height: 34px;
    padding-right: 48px;
    font-size: 9px;
}

.scanner-topbar > span {
    display: none;
}

.scanner-brand {
    gap: 14px;
}

.scanner-brand img {
    width: 74px;
    height: 27px;
}

.scanner-brand i {
    height: 21px;
}

.scanner-side-copy {
    top: 95px;
    font-size: 9px;
    line-height: 1.55;
}

.scanner-side-copy.side-left {
    left: 34px;
}

.scanner-side-copy.side-right {
    right: 34px;
}

.scan-orbit {
    width: 290px;
    height: 160px;
    flex-basis: 160px;
    margin-bottom: 0;
}

.orbit-a {
    width: 110px;
    height: 110px;
}

.orbit-b {
    width: 194px;
    height: 142px;
}

.orbit-c {
    width: 270px;
    height: 158px;
}

.orbit-core {
    width: 108px;
    height: 108px;
}

.orbit-core img {
    width: 82px;
}

.orbit-node {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.node-sol {
    top: 10px;
    left: 48px;
    padding: 10px;
}

.node-eth {
    top: 10px;
    right: 48px;
}

.node-base {
    right: 28px;
    bottom: 9px;
    font-size: 24px;
}

.node-robin {
    bottom: 9px;
    left: 28px;
}

#scanningView h2 {
    font-size: 36px;
    letter-spacing: -1.35px;
}

.scan-description {
    margin: 6px 0 10px;
    font-size: 14px;
}

.scan-address-chip {
    height: 34px;
    max-width: 410px;
    margin-bottom: 13px;
    font-size: 11px;
}

.scan-progress-row {
    gap: 14px;
}

.scan-progress-row .progress-track {
    height: 9px;
}

.scan-progress-row > strong {
    width: 43px;
    font-size: 16px;
}

.scan-stage-list {
    margin: 12px 0 14px;
}

.scan-stage-list > .scan-stage {
    gap: 8px;
}

.scan-stage-list > .scan-stage > i {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 13px;
}

.scan-stage-list > .scan-stage strong {
    font-size: 13px;
}

.scan-stage-list > .scan-stage small {
    font-size: 9px;
}

.scan-stage-list > b {
    margin: 0 10px;
}

.scan-panels {
    gap: 12px;
}

.activity-panel,
.summary-panel {
    min-height: 183px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(10, 20, 45, 0.68), rgba(6, 13, 31, 0.61));
}

.activity-panel h3,
.summary-panel h3 {
    margin-bottom: 9px;
    font-size: 14px;
}

.activity-panel li {
    min-height: 34px;
    padding: 5px 0;
    font-size: 11px;
}

.summary-grid {
    gap: 8px;
}

.summary-grid > div {
    min-height: 67px;
    padding: 8px 10px;
}

.summary-grid > div > span {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 18px;
}

.summary-grid strong {
    font-size: 17px;
}

.scan-networks {
    width: min(650px, 100%);
    gap: 9px;
    margin-top: 12px;
}

.scan-networks > span {
    min-height: 44px;
    grid-template-columns: 31px 1fr;
    padding: 6px 11px;
}

.scan-safe-note {
    margin-top: 8px;
    font-size: 9px;
}

#resultsView {
    min-height: 0;
    padding: 34px 34px 14px;
}

.results-header {
    min-height: 91px;
    align-items: center;
    gap: 18px;
    margin-bottom: 15px;
    padding-right: 38px;
}

.results-header .modal-eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 3px;
}

.results-header h2 {
    font-size: 40px;
    letter-spacing: -1.5px;
}

.results-header h2 span {
    color: transparent;
    background: linear-gradient(90deg, #63e8d2, #61a7ff 45%, #a36bff);
    background-clip: text;
    -webkit-background-clip: text;
}

.results-header > div:first-child {
    min-width: 0;
    flex: 1;
}

.results-address-row {
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    color: #8e9ab7;
}

.results-address-row svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    fill: none;
    stroke: #8c68ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.results-address-row p {
    margin: 0;
    overflow: hidden;
    font: 11px/1.35 monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.results-summary {
    gap: 8px;
}

.results-summary > span {
    position: relative;
    min-width: 0;
    width: 108px;
    min-height: 91px;
    padding: 34px 12px 10px;
    border-radius: 13px;
    background: rgba(8, 16, 38, 0.7);
}

.results-summary > span > i {
    position: absolute;
    top: 12px;
    left: 13px;
    color: #5ab7ff;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
}

.results-summary > span > i svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.results-summary > .summary-claimable > i svg {
    fill: currentColor;
    stroke: none;
}

.results-summary > .summary-value {
    border-color: rgba(153, 69, 255, 0.52);
    box-shadow: inset 0 0 22px rgba(153, 69, 255, 0.06);
}

.results-summary > .summary-value > i {
    color: #a75cff;
}

.results-summary > .summary-claimable {
    border-color: rgba(72, 235, 190, 0.5);
    box-shadow: inset 0 0 22px rgba(72, 235, 190, 0.06);
}

.results-summary > .summary-claimable > i,
.results-summary > .summary-claimable small {
    color: #62eebd;
}

.results-summary strong {
    font-size: 22px;
}

.results-summary small {
    margin-top: 4px;
    font-size: 9px;
}

.preview-banner {
    min-height: 48px;
    margin-bottom: 12px;
    padding: 11px 14px;
    border-color: rgba(115, 102, 255, 0.35);
    border-radius: 11px;
    background: linear-gradient(90deg, rgba(47, 78, 151, 0.1), rgba(92, 54, 166, 0.11));
    font-size: 10px;
}

.preview-banner .preview-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.preview-label svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #8c7cff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.preview-label b {
    font-size: inherit;
    letter-spacing: inherit;
}

.drop-results {
    gap: 9px;
}

.drop-card {
    min-height: 82px;
    grid-template-columns: minmax(205px, 1.3fr) minmax(165px, 0.9fr) minmax(110px, 0.64fr) 142px;
    gap: 0;
    padding: 11px 15px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 22, 45, 0.88), rgba(7, 12, 27, 0.86));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.drop-card.is-active {
    border-color: rgba(63, 239, 212, 0.9);
    background:
        radial-gradient(circle at 8% 50%, rgba(53, 221, 201, 0.16), transparent 19rem),
        linear-gradient(135deg, rgba(11, 35, 51, 0.94), rgba(6, 16, 34, 0.9));
    box-shadow:
        0 0 16px rgba(49, 233, 211, 0.35),
        inset 0 0 22px rgba(64, 208, 205, 0.07);
}

.drop-card::before {
    display: none;
}

.drop-asset {
    gap: 13px;
    padding-right: 14px;
    border-right: 1px solid rgba(105, 127, 181, 0.17);
}

.token-image {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 50%;
}

.token-image img {
    border-radius: inherit;
}

.drop-asset-copy h3 {
    font-size: 16px;
}

.drop-asset-copy h3 span {
    margin-top: 3px;
    font-size: 10px;
}

.token-network {
    height: 22px;
    margin-top: 5px;
    padding: 0 9px;
    font-size: 8px;
}

.drop-status,
.drop-value {
    min-height: 52px;
    padding: 0 14px;
    border-right: 1px solid rgba(105, 127, 181, 0.17);
}

.status-badge,
.drop-card.is-active .status-badge {
    padding: 6px 10px;
    font-size: 8px;
}

.drop-status small,
.drop-value small {
    font-size: 9px;
}

.drop-value strong {
    font-size: 21px;
}

.drop-action {
    justify-content: center;
    padding-left: 14px;
}

.project-link {
    width: 100%;
    height: 42px;
    border-radius: 9px;
    font-size: 10px;
}

.results-footer {
    min-height: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
    padding: 10px 4px 0;
    color: #66738e;
    border-top: 1px solid rgba(97, 116, 164, 0.16);
    font-size: 8px;
}

.results-footer > span:last-child {
    font-size: 7px;
    letter-spacing: 2px;
}

.results-safety {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.results-safety svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #7866ff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.results-footer i {
    width: 22px;
    height: 1px;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    background: #8d5fff;
    box-shadow: 0 0 8px #8d5fff;
}

@media (max-width: 820px) {
    .scan-dialog,
    .scan-modal.is-results .scan-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100svh - 24px);
    }

    #scanningView {
        min-height: 660px;
        padding-inline: 22px;
    }

    .scanner-side-copy {
        display: none;
    }

    .scan-stage-list > .scan-stage small {
        display: none;
    }

    .scan-stage-list > b {
        margin-inline: 6px;
    }

    #resultsView {
        padding-inline: 24px;
    }

    .results-header {
        padding-right: 34px;
    }

    .results-summary > span {
        width: 96px;
    }

    .drop-card {
        grid-template-columns: minmax(180px, 1.2fr) minmax(145px, 0.9fr) minmax(100px, 0.6fr) 125px;
    }
}

@media (max-width: 680px) {
    .scan-modal {
        padding: 6px;
        overscroll-behavior: none;
    }

    .scan-dialog,
    .scan-modal.is-results .scan-dialog {
        width: 100%;
        max-width: 100%;
        max-height: calc(100svh - 12px);
        overscroll-behavior: contain;
        border-radius: 18px;
    }

    #scanningView {
        min-height: 0;
        padding: 17px 14px 18px;
    }

    .scanner-topbar {
        min-height: 32px;
        padding-right: 38px;
    }

    .scan-orbit {
        width: 270px;
        height: 154px;
        flex-basis: 154px;
    }

    .orbit-c {
        width: 254px;
        height: 152px;
    }

    .orbit-b {
        width: 184px;
        height: 136px;
    }

    .orbit-core {
        width: 100px;
        height: 100px;
    }

    .orbit-node {
        width: 40px;
        height: 40px;
    }

    #scanningView h2 {
        font-size: 29px;
    }

    .scan-description {
        font-size: 12px;
    }

    .scan-panels {
        grid-template-columns: 1fr;
    }

    .activity-panel {
        display: none;
    }

    .summary-panel {
        min-height: 0;
    }

    .scan-networks > span {
        min-height: 38px;
        display: flex;
        justify-content: center;
        padding: 5px;
    }

    .scan-networks strong,
    .scan-networks > span > em {
        display: none;
    }

    #resultsView {
        padding: 46px 14px 14px;
    }

    .results-header {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 13px;
        padding-right: 0;
    }

    .results-header h2 {
        font-size: 30px;
    }

    .results-summary {
        width: 100%;
    }

    .results-summary > span {
        width: auto;
        min-height: 72px;
        flex: 1;
        padding: 27px 8px 7px;
    }

    .results-summary > span > i {
        top: 8px;
        left: 9px;
        font-size: 13px;
    }

    .results-summary strong {
        font-size: 17px;
    }

    .results-summary small {
        font-size: 8px;
    }

    .preview-banner {
        align-items: flex-start;
        font-size: 10px;
        line-height: 1.4;
    }

    .drop-card {
        grid-template-columns: 1fr 1fr;
        gap: 12px 10px;
        padding: 16px;
    }

    .drop-asset {
        grid-column: 1 / -1;
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid rgba(105, 127, 181, 0.17);
    }

    .drop-status {
        grid-column: 1;
        padding: 0;
        border-right: 0;
    }

    .drop-value {
        grid-column: 2;
        align-items: flex-end;
        padding: 0;
        border-right: 0;
    }

    .drop-action {
        width: 100%;
        grid-column: 1 / -1;
        padding: 0;
    }

    .results-footer > span:last-child {
        display: none;
    }
}

/* Official network marks used throughout the scanner. */
.network-logo {
    display: block;
    width: 24px;
    height: 24px;
}

.logo-ethereum path:first-child {
    fill: #a7b2ff;
}

.logo-ethereum path:last-child {
    fill: #6f7ff5;
}

.logo-base circle {
    fill: #0052ff;
}

.logo-base path {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-width: 3;
}

.logo-robinhood path {
    fill: #5bf2a1;
}

.orbit-node .logo-ethereum {
    width: 25px;
    height: 25px;
    filter: drop-shadow(0 0 7px rgba(135, 149, 255, 0.48));
}

.orbit-node .logo-base {
    width: 27px;
    height: 27px;
    filter: drop-shadow(0 0 7px rgba(0, 82, 255, 0.52));
}

.orbit-node .logo-robinhood {
    width: 25px;
    height: 25px;
    filter: drop-shadow(0 0 7px rgba(91, 242, 161, 0.42));
}

.scan-networks > span > i > .network-logo {
    width: 22px;
    height: 22px;
}

@media (max-width: 680px) {
    .scan-networks > span > i > .network-logo {
        width: 18px;
        height: 18px;
    }
}
