:root {
    --ad-bg: #f7f5ef;
    --ad-ink: #111827;
    --ad-muted: #647087;
    --ad-line: #e4e8ef;
    --ad-card: #ffffff;
    --ad-green: #0C5C3C;
    --ad-green-soft: #e8f6ee;
    --ad-pink: #f31566;
    --ad-blue: #1058ff;
    --ad-blue-soft: #eaf1ff;
    --ad-shadow: 0 24px 80px rgba(31, 43, 72, .12);
    --ad-radius: 28px;
    --ad-font-body: 'Noto Sans TC', sans-serif;
    --ad-font-display: 'Outfit', 'Noto Sans TC', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ad-bg);
    color: var(--ad-ink);
    font-family: var(--ad-font-body);
    line-height: 1.7;
    letter-spacing: 0;
}

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

img {
    max-width: 100%;
    display: block;
}

.ad-container {
    width: min(1240px, calc(100% - 44px));
    margin: 0 auto;
}

.ad-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    width: min(1160px, calc(100% - 28px));
    margin: 14px auto 0;
    min-height: 66px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 34px rgba(31, 43, 72, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px 9px 10px;
}

.ad-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ad-font-display);
    font-weight: 900;
}

.ad-brand img {
    border-radius: 50%;
}

.ad-hero {
    padding: 70px 0 52px;
    position: relative;
    overflow: hidden;
}

.ad-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    gap: 54px;
    align-items: center;
}

.ad-kicker {
    display: inline-flex;
    width: fit-content;
    color: var(--ad-green);
    background: rgba(12, 92, 60, .08);
    border: 1px solid rgba(12, 92, 60, .15);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: .88rem;
    font-weight: 900;
}

.ad-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #C30944;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ad-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.ad-hero h1 {
    margin: 22px 0 18px;
    max-width: 760px;
    font-family: var(--ad-font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 900;
}

.ad-lead {
    max-width: 620px;
    margin: 0;
    font-size: 1.16rem;
    color: #3a4558;
}

.ad-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ad-btn {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    font-family: var(--ad-font-body);
}

.ad-btn:active {
    transform: scale(.98);
}

.ad-btn-primary {
    color: #fff;
    background: var(--ad-green);
    box-shadow: 0 18px 36px rgba(12, 92, 60, .22);
}

.ad-btn-primary:hover,
.ad-btn-primary:focus {
    background: #09492f;
    outline: none;
}

.ad-btn-secondary {
    color: var(--ad-ink);
    background: #fff;
    border: 1px solid var(--ad-line);
}

.ad-btn-secondary:hover,
.ad-btn-secondary:focus {
    border-color: var(--ad-blue);
    color: var(--ad-blue);
    outline: none;
}

.ad-btn-full {
    width: 100%;
    margin-top: 18px;
}

.ad-trust-strip {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ad-trust-strip span {
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: .9rem;
}

.ad-product-stage {
    position: relative;
    min-height: 560px;
    isolation: isolate;
}

.ad-stage-shell {
    position: relative;
    z-index: 1;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .09);
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(31, 43, 72, .16);
    transition: transform .28s ease, box-shadow .28s ease;
}

.ad-product-stage:hover .ad-stage-shell {
    transform: translateY(-4px);
    box-shadow: 0 34px 90px rgba(31, 43, 72, .19);
}

.ad-stage-main {
    overflow: hidden;
    border-radius: 25px;
    background: #111827;
}

.ad-stage-main picture,
.ad-stage-admin picture {
    display: block;
}

.ad-stage-main img {
    width: 100%;
    aspect-ratio: 1904 / 907;
    object-fit: cover;
    object-position: center top;
}

.ad-stage-note {
    position: absolute;
    z-index: 4;
    top: -22px;
    right: 24px;
    width: min(230px, 45%);
    background: #111827;
    color: #fff;
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: 0 20px 54px rgba(17, 24, 39, .22);
}

.ad-stage-note strong,
.ad-stage-note span {
    display: block;
}

.ad-stage-note span {
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    line-height: 1.55;
    margin-top: 4px;
}

.ad-stage-admin,
.ad-stage-phone {
    position: absolute;
    z-index: 3;
    padding: 7px;
    border: 1px solid rgba(17, 24, 39, .10);
    background: #fff;
    box-shadow: 0 26px 70px rgba(31, 43, 72, .18);
}

.ad-stage-admin {
    left: -22px;
    bottom: -28px;
    width: min(365px, 64%);
    border-radius: 25px;
}

.ad-stage-admin img {
    width: 100%;
    height: 205px;
    border-radius: 18px;
    object-fit: cover;
    object-position: top;
}

.ad-stage-phone {
    right: -18px;
    bottom: 4px;
    width: min(185px, 32%);
    border-radius: 29px;
}

.ad-stage-phone img {
    width: 100%;
    height: 390px;
    border-radius: 22px;
    object-fit: cover;
    object-position: top;
}

.ad-section {
    padding: 72px 0;
}

.ad-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ad-proof-grid article,
.ad-step,
.ad-signup-card,
.ad-preview-card,
.ad-case-card,
.ad-faq-list details {
    background: var(--ad-card);
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: var(--ad-radius);
    box-shadow: 0 14px 40px rgba(31, 43, 72, .06);
}

.ad-proof-grid article {
    padding: 26px;
}

.ad-proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--ad-green-soft);
    color: var(--ad-green);
    font-family: var(--ad-font-display);
    font-weight: 900;
}

.ad-proof-grid h2 {
    margin: 18px 0 8px;
    font-size: 1.26rem;
}

.ad-proof-grid p,
.ad-split p,
.ad-signup-copy p,
.ad-faq-list p {
    margin: 0;
    color: var(--ad-muted);
}

.ad-split-grid,
.ad-signup-grid,
.ad-faq-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 34px;
    align-items: start;
}

.ad-split h2,
.ad-signup-copy h2,
.ad-section-head h2,
.ad-faq h2,
.ad-referral-copy h2 {
    margin: 14px 0 14px;
    font-family: var(--ad-font-display);
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.05;
    font-weight: 900;
}

.ad-steps {
    display: grid;
    gap: 14px;
}

.ad-step {
    padding: 22px;
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    align-items: start;
}

.ad-step b {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ad-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ad-font-display);
}

.ad-step strong,
.ad-step span {
    display: block;
    grid-column: 2;
}

.ad-step span {
    color: var(--ad-muted);
}

.ad-support-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(17, 24, 39, .08);
    color: var(--ad-ink);
    font-weight: 800;
    line-height: 1.6;
}

.ad-signup-grid {
    align-items: stretch;
}

.ad-preview-card {
    margin-top: 22px;
    overflow: hidden;
}

.ad-preview-header {
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #111827;
    color: #fff;
}

.ad-preview-header span {
    font-weight: 900;
}

.ad-preview-header small {
    color: rgba(255, 255, 255, .68);
}

.ad-preview-body {
    padding: 18px;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 16px;
    align-items: center;
}

.ad-preview-product {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: linear-gradient(135deg, #eaf1ff, #fff0f5);
    position: relative;
}

.ad-preview-product:after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .08);
}

.ad-preview-body strong,
.ad-preview-body span {
    display: block;
}

.ad-preview-body span {
    color: var(--ad-muted);
    font-size: .93rem;
}

.ad-signup-card {
    padding: 28px;
}

.ad-form-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.ad-form-progress span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef2f8;
    color: var(--ad-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ad-font-display);
    font-weight: 900;
}

.ad-form-progress span.is-active {
    background: var(--ad-blue);
    color: #fff;
}

.ad-form-step {
    display: none;
}

.ad-form-step.is-active {
    display: block;
}

.ad-form-head strong {
    color: var(--ad-blue);
    font-family: var(--ad-font-display);
}

.ad-form-head h3 {
    margin: 4px 0 8px;
    font-size: 1.55rem;
}

.ad-form-head p {
    margin: 0 0 22px;
    color: var(--ad-muted);
}

.ad-signup-card label {
    display: block;
    margin: 16px 0 8px;
    font-weight: 900;
}

.ad-input {
    width: 100%;
    min-height: 54px;
    border: 1px solid #d8deea;
    border-radius: 16px;
    background: #fff;
    color: var(--ad-ink);
    font: inherit;
    padding: 0 16px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ad-input:focus {
    border-color: var(--ad-blue);
    box-shadow: 0 0 0 4px rgba(16, 88, 255, .12);
}

.ad-sid-field {
    position: relative;
}

.ad-sid-field .ad-input {
    padding-right: 52px;
}

.ad-sid-field[data-state="success"] .ad-input {
    border-color: #0C5C3C;
    box-shadow: 0 0 0 3px rgba(12, 92, 60, .10);
}

.ad-sid-field[data-state="error"] .ad-input {
    border-color: #f31566;
    box-shadow: 0 0 0 3px rgba(243, 21, 102, .12);
}

.ad-sid-field[data-state="checking"] .ad-input {
    border-color: var(--ad-blue);
}

.ad-sid-status-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.ad-sid-icon,
.ad-sid-spinner {
    display: none;
}

.ad-sid-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ad-sid-field[data-state="success"] .ad-sid-icon-check {
    display: block;
    color: #0C5C3C;
}

.ad-sid-field[data-state="error"] .ad-sid-icon-error {
    display: block;
    color: #f31566;
}

.ad-sid-field[data-state="checking"] .ad-sid-spinner {
    display: block;
    width: 19px;
    height: 19px;
    border: 2px solid rgba(16, 88, 255, .22);
    border-top-color: var(--ad-blue);
    border-radius: 50%;
    animation: ad-sid-spin .7s linear infinite;
}

.ad-store-url {
    min-height: 24px;
    margin-top: 7px;
    color: var(--ad-muted);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
    transition: color .18s ease;
}

.ad-store-url.is-success {
    color: #0C5C3C;
}

.ad-store-url.is-error {
    color: #f31566;
}

.ad-store-url.is-checking {
    color: var(--ad-blue);
}

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

.ad-password-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.ad-password-wrap button {
    border: 1px solid #d8deea;
    background: #fff;
    border-radius: 16px;
    padding: 0 16px;
    font-weight: 900;
    color: var(--ad-blue);
    cursor: pointer;
}

.ad-field-message {
    min-height: 24px;
    margin-top: 6px;
    font-size: .88rem;
    color: var(--ad-muted);
}

.ad-field-message.is-success {
    color: var(--ad-green);
}

.ad-field-message.is-error {
    color: #f31566;
}

.ad-field-message.is-checking {
    color: var(--ad-blue);
}

.ad-terms {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: #f7f9fc;
    color: var(--ad-muted);
}

.ad-terms input {
    width: 18px;
    height: 18px;
    margin-top: 5px;
    accent-color: var(--ad-green);
}

.ad-terms a {
    color: var(--ad-blue);
    font-weight: 900;
}

.ad-form-actions {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    margin-top: 20px;
}

.ad-section-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.ad-referral {
    padding-top: 0;
}

.ad-referral-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 26px;
    align-items: center;
    padding: 34px;
    border-radius: var(--ad-radius);
    background: linear-gradient(135deg, #1058ff 0%, #0C5C3C 100%);
    color: #fff;
    box-shadow: 0 24px 70px rgba(16, 38, 88, .18);
}

.ad-referral-copy .ad-eyebrow {
    color: rgba(255, 255, 255, .86);
}

.ad-referral-copy .ad-eyebrow::before {
    background: currentColor;
}

.ad-referral-copy p,
.ad-referral-copy small {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, .84);
}

.ad-referral-copy small {
    margin-top: 14px;
    font-size: .92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .68);
}

.ad-referral-metric {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid;
    gap: 8px;
    justify-items: start;
}

.ad-referral-metric span {
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.ad-referral-metric strong {
    font-family: var(--ad-font-display);
    font-size: clamp(3rem, 8vw, 5.4rem);
    line-height: .95;
    font-weight: 900;
}

.ad-referral-metric .ad-btn-secondary {
    background: #fff;
    border-color: transparent;
}

.ad-case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.ad-case-card {
    overflow: hidden;
    min-width: 0;
    color: var(--ad-ink);
    transition: transform .22s ease, box-shadow .22s ease;
}

.ad-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(31, 43, 72, .12);
}

.ad-case-card a {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: inherit;
}

.ad-case-card a:focus-visible {
    outline: 3px solid rgba(16, 88, 255, .35);
    outline-offset: -3px;
}

.ad-case-grid img {
    width: 100%;
    /* height: auto; */
    height: 300px; 
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: top;
    background: #eef2f6;
}

.ad-case-card span,
.ad-case-card strong,
.ad-case-card small {
    display: block;
    padding-left: 18px;
    padding-right: 18px;
}

.ad-case-card span {
    margin-top: 16px;
    color: var(--ad-green);
    font-size: .86rem;
    font-weight: 900;
}

.ad-case-card strong {
    margin-top: 8px;
    font-size: 1.08rem;
    line-height: 1.45;
}

.ad-case-card small {
    margin-top: auto;
    padding-top: 8px;
    padding-bottom: 20px;
    color: var(--ad-muted);
    line-height: 1.5;
    font-weight: 700;
}

.ad-case-track-hint {
    display: none;
}

.ad-case-swipe-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ad-muted);
    font-size: .9rem;
    font-weight: 800;
}

.ad-case-swipe-copy svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ad-case-position {
    color: var(--ad-blue);
    font-family: var(--ad-font-display);
    font-weight: 900;
}

.ad-faq-list {
    display: grid;
    gap: 12px;
}

.ad-faq-list details {
    padding: 20px;
}

.ad-faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.ad-faq-list p {
    padding-top: 10px;
}

.ad-footer {
    padding: 34px 0 90px;
    color: var(--ad-muted);
}

.ad-footer .ad-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ad-footer strong {
    color: var(--ad-ink);
    font-family: var(--ad-font-display);
}

.ad-footer a {
    margin-left: 16px;
}

.ad-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    min-height: 54px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: var(--ad-green);
    box-shadow: 0 18px 42px rgba(12, 92, 60, .28);
    font-weight: 900;
}

body.show-sticky-cta:not(.is-typing) .ad-sticky-cta {
    display: flex;
}

@media (max-width: 980px) {
    .ad-hero {
        padding-top: 38px;
    }

    .ad-hero-grid,
    .ad-split-grid,
    .ad-signup-grid,
    .ad-faq-grid,
    .ad-referral-card {
        grid-template-columns: 1fr;
    }

    .ad-product-stage {
        width: min(760px, 100%);
        min-height: 610px;
        margin: 34px auto 0;
    }

    .ad-proof-grid {
        grid-template-columns: 1fr;
    }

    .ad-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ad-case-track-hint {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin: -8px 0 14px;
    }

    .ad-case-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        margin-inline: -14px;
        padding: 0 calc(9% + 14px) 10px 14px;
        scroll-padding-left: 14px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ad-case-grid::-webkit-scrollbar {
        display: none;
    }

    .ad-case-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        border-radius: 24px;
    }

    .ad-case-card:first-child {
        scroll-snap-align: start;
    }

    .ad-case-card:hover {
        transform: none;
    }

    .ad-case-card img {
        aspect-ratio: 16 / 10;
    }

    .ad-case-card strong {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .ad-container {
        width: min(100% - 28px, 480px);
    }

    .ad-nav {
        width: calc(100% - 24px);
        min-height: 58px;
        margin-top: 8px;
    }

    .ad-brand span {
        font-size: .95rem;
    }

    .ad-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.3rem);
        line-height: 1.2;
    }

    .ad-lead {
        font-size: 1rem;
    }

    .ad-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ad-btn {
        width: 100%;
    }

    .ad-trust-strip {
        justify-content: center;
    }

    .ad-product-stage {
        min-height: auto;
        margin-top: 28px;
    }

    .ad-stage-shell {
        padding: 9px;
        border-radius: 30px;
        background: #111827;
        box-shadow: 0 28px 70px rgba(17, 24, 39, .20);
    }

    .ad-product-stage:hover .ad-stage-shell {
        transform: none;
    }

    .ad-stage-main {
        padding: 7px;
        border-radius: 23px;
        background: #0d1117;
    }

    .ad-stage-main::before {
        content: "HOHOMY 商城預覽";
        min-height: 36px;
        padding: 0 11px;
        display: flex;
        align-items: center;
        color: rgba(255, 255, 255, .72);
        font-size: .75rem;
        font-weight: 900;
    }

    .ad-stage-main picture {
        display: flex;
        justify-content: center;
    }

    .ad-stage-main img {
        width: min(100%, 344px);
        height: auto;
        aspect-ratio: auto;
        margin: 0 auto;
        border-radius: 18px;
        object-fit: contain;
    }

    .ad-stage-note,
    .ad-stage-admin,
    .ad-stage-phone {
        display: none;
    }

    .ad-section {
        padding: 48px 0;
    }

    .ad-signup-card {
        padding: 20px;
        border-radius: 24px;
    }

    .ad-support-note {
        font-size: .95rem;
    }

    .ad-referral-card {
        padding: 24px;
        gap: 20px;
    }

    .ad-referral-copy h2 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .ad-referral-metric {
        padding: 20px;
    }

    .ad-form-actions {
        grid-template-columns: 1fr;
    }

    .ad-case-grid img {
        height: 500px;
    }

    .ad-preview-header {
        display: block;
    }

    .ad-preview-header small {
        display: block;
        margin-top: 3px;
    }

    .ad-footer .ad-container {
        display: block;
    }

.ad-footer a {
    display: inline-block;
    margin: 12px 12px 0 0;
}
}

.ad-loading-container.swal2-container {
    padding: 24px;
    backdrop-filter: blur(6px);
}

.ad-loading-popup.swal2-popup {
    width: min(92vw, 420px);
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.ad-loading-html.swal2-html-container {
    margin: 0;
    padding: 0;
}

.ad-loading-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #fff;
    text-align: center;
}

.ad-loading-ring {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(20, 88, 255, .28) 0, rgba(20, 88, 255, .08) 42%, rgba(20, 88, 255, 0) 68%),
        linear-gradient(135deg, rgba(20, 88, 255, .18), rgba(41, 208, 122, .16));
}

.ad-loading-ring::before,
.ad-loading-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.ad-loading-ring::before {
    border: 4px solid rgba(255, 255, 255, .18);
}

.ad-loading-ring::after {
    inset: 6px;
    border: 4px solid transparent;
    border-top-color: #1458ff;
    border-right-color: #29d07a;
    animation: ad-loading-spin 1s linear infinite;
}

.ad-loading-shell strong {
    display: block;
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 900;
    letter-spacing: .02em;
}

.ad-loading-shell small {
    display: block;
    max-width: 320px;
    color: rgba(255, 255, 255, .82);
    font-size: .98rem;
    line-height: 1.7;
}

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