:root {
    --pink-950: #532966;
    --pink-900: #6e3788;
    --pink-800: #8e47ae;
    --pink-700: #af5ad3;
    --pink-600: #cd73f1;
    --pink-500: #db89fe;
    --pink-400: #e29eff;
    --pink-300: #ecbbff;
    --pink-200: #f4d6ff;
    --pink-100: #ffe7ed;
    --pink-50: #fff5f7;
    --cream: #fffaf2;
    --cream-deep: #fae4ff;
    --gold: #c963de;
    --gold-light: #ffe2a8;
    --ink: #3c2b45;
    --muted: #75677c;
    --success: #167c5a;
    --error: #b4233f;
    --white: #fff;
    --shadow-soft: 0 14px 40px rgba(120, 60, 150, 0.14);
    --shadow-card: 0 10px 28px rgba(95, 52, 115, 0.12);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --wheel-size: min(88vw, 408px);
    font-family:
        "Noto Sans TC",
        "PingFang TC",
        "Microsoft JhengHei",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
    color: var(--ink);
    background: #f7e6ff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 280px;
    min-height: 100%;
    scroll-behavior: smooth;
    background: #f7e6ff;
}

body {
    min-width: 280px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(219, 137, 254, 0.18), rgba(255, 245, 247, 0.94) 48%, rgba(255, 248, 241, 0.98)),
        url("../image/background.jpg") top center / min(100%, 720px) auto no-repeat,
        #f7e6ff;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
a {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: calc(var(--safe-top) + 8px);
    left: 12px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--pink-950);
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.app-shell {
    position: relative;
    width: min(100%, 560px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding:
        calc(var(--safe-top) + 16px)
        16px
        calc(var(--safe-bottom) + 104px);
}

.campaign-header {
    position: relative;
    z-index: 1;
    padding-top: 4px;
    text-align: center;
}

.campaign-header__topline {
    display: grid;
    min-height: 44px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 6px;
}

.campaign-header__topline-spacer {
    display: block;
    width: 44px;
    height: 44px;
}

.campaign-header::before,
.campaign-header::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
    filter: blur(0.2px);
}

.campaign-header::before {
    top: 8%;
    left: -12%;
    width: 82px;
    height: 82px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.08) 52%, rgba(218, 134, 255, 0.12));
    box-shadow: inset -10px -8px 20px rgba(190, 108, 226, 0.12);
}

.campaign-header::after {
    right: -5%;
    bottom: 8%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.06) 56%, rgba(218, 134, 255, 0.16));
}

.campaign-header__eyebrow {
    display: inline-flex;
    max-width: 100%;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 8px;
    padding: 6px 14px;
    color: var(--pink-900);
    font-size: clamp(0.62rem, 2.8vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    background: rgba(255, 250, 242, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(107, 54, 132, 0.1);
    backdrop-filter: blur(8px);
}

.campaign-header__eyebrow span {
    color: var(--pink-500);
    font-size: 1rem;
}

.music-toggle {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    justify-self: end;
    padding: 0;
    color: var(--pink-800);
    background:
        radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.95), transparent 27%),
        linear-gradient(145deg, rgba(255, 250, 242, 0.97), rgba(247, 229, 255, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    box-shadow:
        0 7px 18px rgba(107, 54, 132, 0.16),
        inset 0 0 0 1px rgba(219, 137, 254, 0.15);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.16s ease,
        opacity 0.2s ease;
}

.music-toggle:hover {
    transform: translateY(-1px);
    box-shadow:
        0 9px 22px rgba(107, 54, 132, 0.2),
        inset 0 0 0 1px rgba(219, 137, 254, 0.2);
}

.music-toggle:active {
    transform: translateY(1px) scale(0.97);
}

.music-toggle:focus-visible {
    outline: 3px solid rgba(92, 34, 142, 0.66);
    outline-offset: 3px;
}

.music-toggle.is-playing {
    color: var(--white);
    background:
        radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.54), transparent 27%),
        linear-gradient(145deg, var(--pink-400), var(--pink-700));
    box-shadow:
        0 8px 20px rgba(146, 71, 180, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.music-toggle.is-pending {
    opacity: 0.82;
}

.music-toggle.is-muted {
    color: #887a8e;
    background: rgba(255, 250, 242, 0.9);
}

.music-toggle__note {
    display: block;
    margin: -2px 3px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1;
    transform-origin: 50% 80%;
}

.music-toggle.is-playing .music-toggle__note {
    animation: music-note-sway 1.5s ease-in-out infinite;
}

.music-toggle.is-muted .music-toggle__note {
    opacity: 0.7;
}

.music-toggle.is-muted::after {
    position: absolute;
    width: 25px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
    transform: rotate(-45deg);
}

.music-toggle__bars {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    height: 10px;
    align-items: flex-end;
    gap: 1.5px;
}

.music-toggle__bars span {
    display: block;
    width: 2px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transform-origin: bottom;
}

.music-toggle.is-playing .music-toggle__bars span {
    animation: music-level 0.72s ease-in-out infinite alternate;
}

.music-toggle.is-playing .music-toggle__bars span:nth-child(2) {
    animation-delay: -0.32s;
}

.music-toggle.is-playing .music-toggle__bars span:nth-child(3) {
    animation-delay: -0.52s;
}

.music-toggle.is-muted .music-toggle__bars {
    opacity: 0;
}

@keyframes music-note-sway {
    0%,
    100% {
        transform: rotate(-4deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-1px);
    }
}

@keyframes music-level {
    from {
        height: 3px;
    }

    to {
        height: 10px;
    }
}

.campaign-header__art {
    width: 100%;
    max-height: 250px;
    margin: 12px auto 0;
    object-fit: cover;
    object-position: 50% 44%;
    border: 3px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-xl);
    box-shadow:
        0 16px 45px rgba(96, 48, 120, 0.17),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.campaign-header__subtitle {
    max-width: 420px;
    margin: 14px auto 0;
    color: var(--pink-950);
    font-size: clamp(0.94rem, 3.8vw, 1.08rem);
    font-weight: 800;
    letter-spacing: 0.025em;
    line-height: 1.55;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.campaign-header__period {
    display: inline-flex;
    margin: 8px auto 0;
    padding: 5px 12px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.64);
    border-radius: 999px;
}

main {
    position: relative;
    z-index: 1;
}

.code-card,
.wheel-section,
.trust-card {
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
}

.code-card {
    position: relative;
    margin-top: 18px;
    padding: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 238, 0.94));
    border-radius: var(--radius-lg);
}

.code-card::after {
    position: absolute;
    top: -38px;
    right: -32px;
    width: 112px;
    height: 112px;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle, rgba(236, 187, 255, 0.26), transparent 70%);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.section-heading__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    font-size: 1.05rem;
    background: linear-gradient(145deg, var(--pink-400), var(--pink-700));
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(175, 90, 211, 0.25);
}

.section-heading h2,
.wheel-section__heading h2 {
    margin: 0;
    color: var(--pink-950);
    font-size: clamp(1rem, 4.5vw, 1.22rem);
    line-height: 1.3;
}

.section-heading p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.code-form {
    margin-top: 15px;
}

.code-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--pink-900);
    font-size: 0.78rem;
    font-weight: 800;
}

.code-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.code-form input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 14px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    background: var(--white);
    border: 1.5px solid var(--pink-200);
    border-radius: 14px;
    outline: 0;
    box-shadow: inset 0 2px 5px rgba(86, 47, 105, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.code-form input::placeholder {
    color: #a89cae;
    font-weight: 500;
    letter-spacing: 0;
}

.code-form input:focus {
    background: var(--white);
    border-color: var(--pink-500);
    box-shadow: 0 0 0 4px rgba(219, 137, 254, 0.14);
}

.code-form input[aria-invalid="true"] {
    border-color: var(--error);
    box-shadow: 0 0 0 4px rgba(180, 35, 63, 0.1);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: var(--ink);
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    touch-action: manipulation;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        opacity 0.16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(1px);
}

.button:focus-visible,
.quick-nav button:focus-visible,
.quick-nav a:focus-visible,
.draw-button:focus-visible,
.modal__close:focus-visible,
.result-dialog__later:focus-visible {
    outline: 3px solid rgba(92, 34, 142, 0.66);
    outline-offset: 3px;
}

.button:disabled {
    cursor: wait;
    opacity: 0.62;
    transform: none;
}

.button--verify {
    min-width: 112px;
    color: var(--white);
    font-size: 0.84rem;
    background: linear-gradient(145deg, var(--pink-500), var(--pink-700));
    box-shadow: 0 7px 16px rgba(175, 90, 211, 0.24);
}

.button--primary {
    color: var(--white);
    background: linear-gradient(145deg, var(--pink-500), var(--pink-700));
    box-shadow: 0 8px 18px rgba(175, 90, 211, 0.24);
}

.button--secondary {
    color: var(--pink-900);
    background: linear-gradient(145deg, #fff4d7, #ffd485);
    box-shadow: 0 8px 18px rgba(167, 71, 187, 0.18);
}

.button--full {
    width: 100%;
}

.code-form__help {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.form-message {
    min-height: 1.3em;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.45;
}

.form-message[data-state="success"] {
    color: var(--success);
}

.form-message[data-state="error"] {
    color: var(--error);
}

.wheel-section {
    position: relative;
    margin-top: 16px;
    padding: 18px 8px 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.82), transparent 43%),
        linear-gradient(180deg, rgba(255, 245, 247, 0.96), rgba(247, 230, 255, 0.94));
    border-radius: var(--radius-xl);
}

.wheel-section::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.45;
    background-image:
        radial-gradient(circle at 8% 12%, #fff 0 2px, transparent 3px),
        radial-gradient(circle at 88% 19%, #fff 0 2px, transparent 3px),
        radial-gradient(circle at 14% 75%, #fff 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 92% 78%, #fff 0 1.5px, transparent 2.5px);
}

.wheel-section__heading {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
}

.wheel-section__kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--pink-600);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.eligibility-badge {
    display: inline-flex;
    min-height: 30px;
    flex: 0 0 auto;
    align-items: center;
    padding: 4px 10px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 850;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--pink-200);
    border-radius: 999px;
}

.eligibility-badge[data-state="ready"] {
    color: var(--success);
    background: #effbf6;
    border-color: #8bd4bc;
}

.eligibility-badge[data-state="busy"] {
    color: var(--pink-900);
    background: #fff5f7;
}

.wheel-stage {
    position: relative;
    display: grid;
    min-height: calc(var(--wheel-size) + 52px);
    place-items: center;
    margin-top: 0;
    padding-top: 35px;
}

.wheel-frame {
    position: relative;
    width: var(--wheel-size);
    height: var(--wheel-size);
    padding: clamp(9px, 2.6vw, 13px);
    background:
        radial-gradient(circle, transparent 64%, rgba(255, 250, 227, 0.84) 65% 68%, transparent 69%),
        conic-gradient(from 0deg, #d67efa, #e8aeff, #c86bf0, #efc3ff, #d680fa, #e5a6ff, #bb5de2, #eab3ff, #d67efa);
    border: clamp(5px, 1.7vw, 8px) solid #f2b5ff;
    border-radius: 50%;
    box-shadow:
        0 0 0 5px var(--pink-700),
        0 0 0 8px rgba(255, 255, 255, 0.86),
        0 20px 34px rgba(100, 50, 124, 0.25),
        inset 0 0 18px rgba(255, 255, 255, 0.48);
}

.wheel-frame::before {
    position: absolute;
    z-index: 4;
    inset: -3px;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        #fff7c6 0deg 1.8deg,
        transparent 1.8deg 43.2deg,
        #fff7c6 43.2deg 45deg
    );
    -webkit-mask: radial-gradient(circle, transparent 77%, #000 78% 100%);
    mask: radial-gradient(circle, transparent 77%, #000 78% 100%);
}

.wheel-rotor {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--cream);
    border: 2px solid rgba(174, 79, 199, 0.34);
    border-radius: 50%;
    transform: rotate(var(--wheel-rotation, 0deg));
    transform-origin: 50% 50%;
    will-change: transform;
}

.wheel-rotor.is-spinning {
    transition: transform var(--spin-duration, 5000ms) cubic-bezier(0.12, 0.62, 0.08, 1);
}

.wheel-rotor__surface {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        repeating-conic-gradient(
            from -22.5deg,
            rgba(172, 73, 198, 0.3) 0deg 0.7deg,
            transparent 0.7deg 45deg
        ),
        conic-gradient(
            from -22.5deg,
            #fff7e6 0deg 45deg,
            #f7e6ff 45deg 90deg,
            #fff7e6 90deg 135deg,
            #f7e6ff 135deg 180deg,
            #fff7e6 180deg 225deg,
            #f7e6ff 225deg 270deg,
            #fff7e6 270deg 315deg,
            #f7e6ff 315deg 360deg
        );
}

.wheel-rotor__surface::after {
    position: absolute;
    inset: 8%;
    content: "";
    border: 1px solid rgba(188, 95, 212, 0.24);
    border-radius: 50%;
}

.wheel-slot {
    position: absolute;
    z-index: 1;
    inset: 0;
    transform: rotate(var(--slot-angle));
    transform-origin: center;
    pointer-events: none;
}

.wheel-slot__content {
    position: absolute;
    top: 6.2%;
    left: 50%;
    display: flex;
    width: 31%;
    min-width: 60px;
    max-width: 108px;
    min-height: 26%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(-50%) rotate(calc(-1 * (var(--slot-angle) + var(--wheel-text-rotation, 0deg))));
    /*
     * Counter-rotate only around the prize card itself. Using the wheel
     * centre here cancels the parent's radial positioning and stacks every
     * prize at twelve o'clock on mobile browsers.
     */
    transform-origin: 50% 50%;
}

.wheel-slot__image {
    width: clamp(34px, calc(var(--wheel-size) * 0.13), 56px);
    height: clamp(34px, calc(var(--wheel-size) * 0.13), 56px);
    object-fit: contain;
    filter: drop-shadow(0 4px 4px rgba(89, 51, 106, 0.15));
}

.wheel-slot__heart {
    display: grid;
    width: clamp(34px, calc(var(--wheel-size) * 0.13), 56px);
    height: clamp(34px, calc(var(--wheel-size) * 0.13), 56px);
    place-items: center;
    color: var(--pink-600);
    font-family: Georgia, serif;
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 3px 6px rgba(153, 79, 187, 0.18);
}

.wheel-slot__tier {
    max-width: 120%;
    color: var(--pink-700);
    font-size: clamp(0.43rem, 1.75vw, 0.6rem);
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.wheel-slot__label {
    display: block;
    width: 145%;
    max-width: 112px;
    margin-top: 1px;
    color: var(--pink-950);
    font-size: clamp(0.46rem, 2.05vw, 0.66rem);
    font-weight: 900;
    line-height: 1.16;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-all;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wheel-slot--thanks .wheel-slot__label {
    color: var(--pink-700);
}

.draw-button {
    position: absolute;
    z-index: 8;
    top: 50%;
    left: 50%;
    display: flex;
    width: clamp(68px, calc(var(--wheel-size) * 0.235), 94px);
    height: clamp(68px, calc(var(--wheel-size) * 0.235), 94px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    color: var(--white);
    background:
        radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.55), transparent 22%),
        linear-gradient(160deg, #e4a5ff, #c05eea 68%, #8d43ae);
    border: clamp(4px, 1.25vw, 6px) solid #fff4d5;
    border-radius: 50%;
    box-shadow:
        0 0 0 4px var(--pink-600),
        0 8px 18px rgba(110, 53, 137, 0.35),
        inset 0 -5px 10px rgba(96, 44, 122, 0.23);
    transform: translate(-50%, -50%);
    cursor: pointer;
    touch-action: manipulation;
    transition:
        transform 0.16s ease,
        filter 0.2s ease,
        opacity 0.2s ease;
}

.draw-button:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.035);
}

.draw-button:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.97);
}

.draw-button:disabled {
    color: rgba(255, 255, 255, 0.8);
    cursor: not-allowed;
    filter: grayscale(0.5);
    opacity: 0.78;
}

.draw-button__main {
    margin-top: -1px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, calc(var(--wheel-size) * 0.065), 1.75rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

.draw-button__label {
    margin-top: 3px;
    font-size: clamp(0.52rem, 2.3vw, 0.7rem);
    font-weight: 900;
}

.wheel-pointer {
    position: absolute;
    z-index: 12;
    top: 25px;
    left: 50%;
    width: 42px;
    height: 56px;
    transform: translateX(-50%);
    filter: drop-shadow(0 6px 6px rgba(91, 45, 114, 0.3));
}

.wheel-pointer::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 36px;
    content: "";
    background:
        radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.8), transparent 24%),
        linear-gradient(145deg, #e5a4ff, #a84fcf);
    border: 4px solid #fff0c6;
    border-radius: 50%;
    transform: translateX(-50%);
}

.wheel-pointer span {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 28px solid var(--pink-700);
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    transform: translateX(-50%);
}

.wheel-light {
    position: absolute;
    z-index: 0;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px 4px rgba(255, 255, 255, 0.72);
    animation: twinkle 1.8s ease-in-out infinite alternate;
}

.wheel-light--one {
    top: 20%;
    left: 5%;
}

.wheel-light--two {
    top: 49%;
    right: 4%;
    animation-delay: 0.5s;
}

.wheel-light--three {
    bottom: 12%;
    left: 10%;
    width: 6px;
    height: 6px;
    animation-delay: 1s;
}

@keyframes twinkle {
    from {
        opacity: 0.35;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1.16);
    }
}

.wheel-section__hint {
    position: relative;
    z-index: 2;
    max-width: 390px;
    margin: 9px auto 0;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
}

.trust-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    padding: 14px 9px;
    background: rgba(255, 250, 242, 0.9);
    border-radius: var(--radius-lg);
}

.trust-card > div {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 6px;
}

.trust-card > div + div {
    border-left: 1px dashed var(--pink-200);
}

.trust-card > div > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--pink-700);
    font-weight: 900;
    background: var(--pink-100);
    border-radius: 50%;
}

.trust-card p {
    min-width: 0;
    margin: 0;
    line-height: 1.2;
}

.trust-card strong,
.trust-card small {
    display: block;
}

.trust-card strong {
    color: var(--pink-950);
    font-size: clamp(0.61rem, 2.65vw, 0.72rem);
    white-space: nowrap;
}

.trust-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: clamp(0.51rem, 2.25vw, 0.61rem);
    white-space: nowrap;
}

.quick-nav {
    position: fixed;
    z-index: 50;
    right: 50%;
    bottom: max(10px, var(--safe-bottom));
    display: grid;
    width: min(calc(100% - 24px), 520px);
    min-height: 70px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    box-shadow:
        0 12px 34px rgba(78, 41, 96, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateX(50%);
    backdrop-filter: blur(18px);
}

.quick-nav button,
.quick-nav a {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 7px 4px 6px;
    color: var(--muted);
    font-size: clamp(0.62rem, 2.8vw, 0.72rem);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.quick-nav button + button::before,
.quick-nav button + a::before {
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 0;
    width: 1px;
    content: "";
    background: var(--pink-100);
}

.quick-nav button > span:first-child,
.quick-nav a > span:first-child {
    color: var(--pink-600);
    font-family: Georgia, serif;
    font-size: 1.2rem;
    line-height: 1;
}

.campaign-footer {
    padding: 20px 12px 0;
    color: rgba(72, 55, 80, 0.72);
    font-size: 0.68rem;
    line-height: 1.65;
    text-align: center;
}

.campaign-footer p {
    margin: 0;
}

.modal[hidden],
.toast[hidden] {
    display: none;
}

.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    padding:
        calc(var(--safe-top) + 18px)
        16px
        calc(var(--safe-bottom) + 18px);
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(57, 29, 72, 0.72);
    backdrop-filter: blur(8px);
    animation: fade-in 0.22s ease both;
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 36px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    border: 2px solid rgba(255, 255, 255, 0.94);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(55, 29, 69, 0.4);
    animation: modal-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.08) both;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal__close {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0 0 3px;
    color: var(--pink-950);
    font-size: 1.7rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(242, 211, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(67, 35, 85, 0.12);
    cursor: pointer;
}

.result-dialog {
    overflow: hidden auto;
}

.result-dialog__art-wrap {
    position: relative;
    height: clamp(118px, 31vw, 154px);
    overflow: hidden;
    background: linear-gradient(145deg, var(--pink-300), var(--pink-600));
}

.result-dialog__art-wrap::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 28px;
    content: "";
    background: linear-gradient(to top, var(--cream), transparent);
}

.result-dialog__art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.result-dialog__body {
    padding: 10px 20px 20px;
    text-align: center;
}

.result-dialog__eyebrow {
    color: var(--pink-600);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.24em;
}

.result-dialog h2 {
    margin: 5px 0 0;
    color: var(--pink-800);
    font-size: clamp(1.45rem, 6.7vw, 1.95rem);
    line-height: 1.2;
}

.result-dialog__description {
    margin: 7px auto 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.result-prize {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--pink-200);
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(78, 41, 96, 0.08);
}

.result-prize[hidden] {
    display: none;
}

.result-prize img {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    object-fit: contain;
    background: var(--pink-50);
    border-radius: 13px;
}

.result-prize span,
.result-prize strong {
    display: block;
}

.result-prize span {
    color: var(--muted);
    font-size: 0.7rem;
}

.result-prize strong {
    margin-top: 4px;
    color: var(--pink-950);
    font-size: 1rem;
    line-height: 1.35;
}

.redemption-block {
    margin-top: 14px;
    padding: 14px 10px 12px;
    background:
        linear-gradient(var(--cream), var(--cream)) padding-box,
        repeating-linear-gradient(90deg, #f4bd3e 0 7px, transparent 7px 11px) border-box;
    border: 2px solid transparent;
    border-radius: 16px;
}

.redemption-block[hidden] {
    display: none;
}

.redemption-block span,
.redemption-block strong,
.redemption-block small {
    display: block;
}

.redemption-block span {
    color: var(--muted);
    font-size: 0.76rem;
}

.redemption-block strong {
    margin-top: 6px;
    color: var(--pink-700);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: clamp(1.35rem, 7vw, 1.85rem);
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.redemption-block small {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.66rem;
    line-height: 1.45;
}

.claim-note {
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.55;
}

.result-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.result-actions[hidden] {
    display: none;
}

#claimButton {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.78rem;
    white-space: nowrap;
}

.result-dialog__later {
    min-width: 44px;
    min-height: 44px;
    margin-top: 6px;
    padding: 0 12px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.info-dialog {
    padding: 25px 20px 20px;
}

.info-dialog__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 46px 14px;
    color: var(--pink-600);
}

.info-dialog__header h2 {
    margin: 0;
    color: var(--pink-900);
    font-size: 1.28rem;
}

.info-dialog__content {
    max-height: min(58dvh, 520px);
    margin-bottom: 16px;
    overflow: auto;
    color: var(--ink);
    font-size: 0.85rem;
    line-height: 1.65;
    text-align: left;
    white-space: pre-line;
}

.info-dialog__content p {
    margin: 0;
}

.prize-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prize-list li {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: 14px;
}

.prize-list img,
.prize-list__placeholder {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    object-fit: contain;
    color: var(--pink-600);
    font-family: Georgia, serif;
    font-size: 1.7rem;
    background: var(--pink-50);
    border-radius: 11px;
}

.prize-list strong {
    color: var(--pink-950);
    line-height: 1.35;
}

.prize-list small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
}

.claim-flow {
    margin-top: 16px;
}

.claim-flow [hidden] {
    display: none !important;
}

.claim-resume {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(219, 137, 254, 0.2);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(95, 52, 115, 0.08);
    backdrop-filter: blur(10px);
}

.claim-resume > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.claim-resume__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 900;
    background: linear-gradient(145deg, var(--pink-400), var(--pink-700));
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(175, 90, 211, 0.2);
}

.claim-resume p,
.claim-resume strong,
.claim-resume small {
    display: block;
    margin: 0;
}

.claim-resume strong {
    color: var(--pink-950);
    font-size: 0.88rem;
}

.claim-resume small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.4;
}

.claim-resume__button {
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0 13px;
    color: var(--pink-800);
    font-size: 0.76rem;
    font-weight: 850;
    background: var(--pink-50);
    border: 1px solid var(--pink-200);
    border-radius: 12px;
    cursor: pointer;
}

.claim-resume__button:focus-visible,
.claim-flow button:focus-visible,
.claim-flow a:focus-visible,
.claim-flow input:focus-visible,
.claim-flow select:focus-visible,
.claim-flow textarea:focus-visible,
.claim-privacy-notice summary:focus-visible {
    outline: 3px solid rgba(92, 34, 142, 0.55);
    outline-offset: 2px;
}

.claim-flow__panel {
    overflow: hidden;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 241, 0.98));
    border: 1px solid rgba(219, 137, 254, 0.22);
    border-radius: 26px;
    box-shadow: var(--shadow-card);
}

.claim-flow__header {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 15px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.76), transparent 34%),
        linear-gradient(135deg, #f5ddff, #fae6ff);
    border-bottom: 1px solid rgba(219, 137, 254, 0.18);
}

.claim-flow__seal {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(145deg, var(--pink-500), var(--pink-800));
    border: 3px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    box-shadow: 0 7px 16px rgba(142, 71, 174, 0.24);
}

.claim-flow__header p,
.claim-flow__header h2,
.claim-flow__header small {
    margin: 0;
}

.claim-flow__header p {
    color: var(--pink-600);
    font-family: Georgia, serif;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.claim-flow__header h2 {
    margin-top: 2px;
    color: var(--pink-950);
    font-size: clamp(1.05rem, 4.7vw, 1.28rem);
    line-height: 1.3;
}

.claim-flow__header small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.67rem;
    line-height: 1.45;
}

.claim-flow__close {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0 0 3px;
    color: var(--pink-900);
    font-size: 1.35rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(219, 137, 254, 0.24);
    border-radius: 50%;
    cursor: pointer;
}

.claim-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 14px 12px 12px;
    list-style: none;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid var(--pink-100);
}

.claim-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #9a8ea1;
    font-size: 0.65rem;
}

.claim-steps li:not(:last-child)::after {
    position: absolute;
    top: 13px;
    left: calc(50% + 17px);
    width: calc(100% - 34px);
    height: 2px;
    content: "";
    background: var(--pink-100);
}

.claim-steps span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    background: var(--white);
    border: 2px solid var(--pink-100);
    border-radius: 50%;
}

.claim-steps .is-active,
.claim-steps .is-complete {
    color: var(--pink-800);
}

.claim-steps .is-active span,
.claim-steps .is-complete span {
    color: var(--white);
    background: var(--pink-600);
    border-color: var(--pink-600);
}

.claim-steps .is-complete:not(:last-child)::after {
    background: var(--pink-400);
}

.claim-flow__block {
    padding: 18px 16px;
    border-bottom: 1px solid var(--pink-100);
}

.claim-flow__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.claim-flow__heading > span {
    color: var(--pink-400);
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: 900;
}

.claim-flow__heading p,
.claim-flow__heading h3 {
    margin: 0;
}

.claim-flow__heading p {
    color: var(--pink-600);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.claim-flow__heading h3 {
    margin-top: 2px;
    color: var(--pink-950);
    font-size: 0.98rem;
    line-height: 1.35;
}

.claim-field-grid {
    display: grid;
    gap: 13px;
}

.claim-field {
    display: grid;
    min-width: 0;
    gap: 6px;
    margin-top: 13px;
    color: var(--pink-950);
    font-size: 0.75rem;
    font-weight: 800;
}

.claim-field-grid .claim-field {
    margin-top: 0;
}

.claim-field > span:first-child {
    line-height: 1.4;
}

.claim-field em {
    color: var(--muted);
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 600;
}

.claim-field input,
.claim-field select,
.claim-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 12px;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--white);
    border: 1.5px solid var(--pink-200);
    border-radius: 13px;
    outline: 0;
    box-shadow: inset 0 2px 5px rgba(86, 47, 105, 0.04);
}

.claim-field textarea {
    min-height: 88px;
    resize: vertical;
    line-height: 1.55;
}

.claim-field input:focus,
.claim-field select:focus,
.claim-field textarea:focus {
    border-color: var(--pink-500);
    box-shadow: 0 0 0 4px rgba(219, 137, 254, 0.12);
}

.claim-field input::placeholder,
.claim-field textarea::placeholder {
    color: #a89cae;
    font-weight: 500;
}

.claim-field small,
.claim-inline-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 550;
    line-height: 1.5;
}

.claim-inline-note {
    margin-top: 9px;
}

.claim-masked-control {
    position: relative;
    display: block;
}

.claim-masked-control input {
    padding-right: 48px;
}

.claim-reveal-button {
    position: absolute;
    top: 50%;
    right: 5px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    color: var(--pink-800);
    background: transparent;
    border: 0;
    border-radius: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.claim-eye {
    position: relative;
    display: block;
    width: 20px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50% / 65%;
}

.claim-eye::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    content: "";
    background: currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.claim-reveal-button[aria-pressed="true"] .claim-eye::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: -3px;
    width: 24px;
    height: 2px;
    content: "";
    background: currentColor;
    transform: rotate(-35deg);
}

.claim-form-message {
    margin: 10px 0 0;
    padding: 10px 11px;
    color: var(--error);
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.5;
    background: rgba(180, 35, 63, 0.07);
    border-radius: 10px;
}

.claim-form-message[data-state="success"] {
    color: var(--success);
    background: rgba(22, 124, 90, 0.08);
}

#claimVerifyForm .button,
.claim-submit-button {
    margin-top: 13px;
}

.claim-verified-prize {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 16px 0;
    padding: 11px 12px;
    background: rgba(22, 124, 90, 0.08);
    border: 1px solid rgba(22, 124, 90, 0.2);
    border-radius: 14px;
}

.claim-verified-prize > span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: var(--success);
    border-radius: 50%;
}

.claim-verified-prize div {
    min-width: 0;
    flex: 1;
}

.claim-verified-prize small,
.claim-verified-prize strong {
    display: block;
}

.claim-verified-prize small {
    color: var(--success);
    font-size: 0.64rem;
}

.claim-verified-prize strong {
    margin-top: 2px;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.claim-verified-prize button {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 8px;
    color: var(--pink-800);
    font-size: 0.68rem;
    font-weight: 800;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.claim-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.claim-method-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 140px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 14px 10px;
    text-align: center;
    background: var(--white);
    border: 1.5px solid var(--pink-200);
    border-radius: 16px;
    cursor: pointer;
}

.claim-method-card:has(input:checked) {
    background: linear-gradient(145deg, var(--pink-50), #fff8e8);
    border-color: var(--pink-500);
    box-shadow: 0 7px 18px rgba(175, 90, 211, 0.11);
}

.claim-method-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.claim-method-card__check {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: transparent;
    font-size: 0.7rem;
    background: var(--white);
    border: 1.5px solid var(--pink-200);
    border-radius: 50%;
}

.claim-method-card input:checked ~ .claim-method-card__check {
    color: var(--white);
    background: var(--pink-600);
    border-color: var(--pink-600);
}

.claim-method-card__symbol {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: var(--pink-800);
    font-size: 1rem;
    font-weight: 900;
    background: var(--pink-100);
    border-radius: 14px;
}

.claim-method-card strong {
    color: var(--pink-950);
    font-size: 0.8rem;
}

.claim-method-card small {
    color: var(--muted);
    font-size: 0.62rem;
    line-height: 1.4;
}

.claim-conditional-fields {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--pink-200);
}

.claim-cash-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    padding: 11px;
    color: #662b73;
    font-size: 0.67rem;
    line-height: 1.55;
    background: #fff7df;
    border: 1px solid #f1cd76;
    border-radius: 12px;
}

.claim-cash-notice > span {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    background: var(--gold);
    border-radius: 50%;
}

.claim-cash-notice p {
    margin: 0;
}

.claim-safety-notice {
    padding: 12px;
    color: var(--ink);
    font-size: 0.7rem;
    line-height: 1.6;
    background: #f5f6f8;
    border-radius: 13px;
}

.claim-safety-notice strong {
    color: var(--pink-900);
}

.claim-safety-notice p {
    margin: 5px 0 0;
}

.claim-privacy-notice {
    margin-top: 11px;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.6;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: 12px;
}

.claim-privacy-notice summary {
    min-height: 44px;
    padding: 12px;
    color: var(--pink-900);
    font-weight: 800;
    cursor: pointer;
}

.claim-privacy-notice > div {
    padding: 0 12px 12px;
}

.claim-privacy-notice p {
    margin: 7px 0 0;
}

.claim-consent-list {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.claim-consent-list label {
    position: relative;
    display: grid;
    min-height: 48px;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    padding: 10px;
    color: var(--ink);
    font-size: 0.68rem;
    line-height: 1.5;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: 12px;
    cursor: pointer;
}

.claim-consent-list input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.claim-consent-list label > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: transparent;
    background: var(--white);
    border: 1.5px solid var(--pink-300);
    border-radius: 7px;
}

.claim-consent-list input:checked + span {
    color: var(--white);
    background: var(--pink-600);
    border-color: var(--pink-600);
}

.claim-consent-list input:focus-visible + span {
    outline: 3px solid rgba(92, 34, 142, 0.48);
    outline-offset: 2px;
}

.claim-submit-note {
    margin: 8px 16px 18px;
    color: var(--muted);
    font-size: 0.64rem;
    line-height: 1.5;
    text-align: center;
}

.claim-details-form > .claim-submit-button,
.claim-details-form > .claim-form-message {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
}

.claim-complete {
    padding: 0 16px 20px;
    overflow: hidden;
    text-align: center;
}

.claim-complete__cover {
    position: relative;
    margin: 0 -16px;
    padding: 24px 18px 21px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.8), transparent 25%),
        radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.58), transparent 24%),
        linear-gradient(145deg, #f3dbff 0%, #fae6ff 52%, #f7e6ff 100%);
    border-bottom: 1px solid rgba(219, 137, 254, 0.18);
}

.claim-complete__cover::before,
.claim-complete__cover::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
}

.claim-complete__cover::before {
    top: -28px;
    left: -22px;
    width: 92px;
    height: 92px;
    box-shadow: inset -10px -8px 20px rgba(175, 90, 211, 0.08);
}

.claim-complete__cover::after {
    right: -17px;
    bottom: -33px;
    width: 108px;
    height: 108px;
    box-shadow: inset 12px 9px 24px rgba(201, 99, 222, 0.09);
}

.claim-complete__spark {
    position: absolute;
    z-index: 1;
    color: rgba(175, 90, 211, 0.62);
    font-family: Georgia, serif;
    pointer-events: none;
}

.claim-complete__spark--one {
    top: 24px;
    left: 17%;
    font-size: 1rem;
}

.claim-complete__spark--two {
    right: 16%;
    bottom: 25px;
    font-size: 1.15rem;
}

.claim-complete__badge {
    position: relative;
    z-index: 2;
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    place-items: center;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(145deg, #2ea277, var(--success));
    border: 5px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(22, 124, 90, 0.22);
}

.claim-complete__cover > p,
.claim-complete__cover > h3,
.claim-complete__cover > small {
    position: relative;
    z-index: 2;
    margin: 0;
}

.claim-complete__cover > p {
    color: var(--success);
    font-family: Georgia, serif;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.claim-complete__cover > h3 {
    margin-top: 4px;
    color: var(--pink-950);
    font-size: clamp(1.28rem, 6vw, 1.6rem);
}

.claim-complete__cover > small {
    display: block;
    max-width: 330px;
    margin: 7px auto 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.55;
}

.claim-complete__safety {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px;
    color: #56415d;
    text-align: left;
    background: linear-gradient(145deg, #fffaf0, #fff5e1);
    border: 1px solid #efd5a0;
    border-radius: 14px;
}

.claim-complete__safety > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    background: linear-gradient(145deg, #e4aa4d, #b24ac9);
    border-radius: 11px;
    box-shadow: 0 6px 13px rgba(151, 59, 172, 0.18);
}

.claim-complete__safety strong {
    color: #662b73;
    font-size: 0.75rem;
}

.claim-complete__safety p {
    margin: 5px 0 0;
    font-size: 0.66rem;
    line-height: 1.58;
}

.claim-complete__details {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    text-align: left;
}

.claim-complete__details > div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 11px;
    background: var(--white);
    border: 1px solid var(--pink-100);
    border-radius: 12px;
}

.claim-complete__details dt {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 750;
}

.claim-complete__details dd {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin: 0;
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 800;
    text-align: right;
    overflow-wrap: anywhere;
}

.claim-complete__details code {
    min-width: 0;
    color: var(--pink-800);
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    overflow-wrap: anywhere;
}

.claim-complete__code-row {
    background: linear-gradient(145deg, #fff8e8, #fff2f5) !important;
    border-color: #efc868 !important;
}

.claim-complete__code-row code {
    font-size: clamp(0.82rem, 3.9vw, 1rem);
    letter-spacing: 0.07em;
}

.claim-complete__details button {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 9px;
    color: var(--pink-800);
    font-size: 0.65rem;
    font-weight: 850;
    background: var(--pink-50);
    border: 1px solid var(--pink-200);
    border-radius: 9px;
    cursor: pointer;
}

.claim-status-pill {
    display: inline-flex;
    padding: 5px 8px;
    color: var(--success);
    background: rgba(22, 124, 90, 0.09);
    border-radius: 999px;
}

.claim-complete__actions {
    display: block;
    margin-top: 14px;
}

.claim-complete__actions .button {
    width: 100%;
    min-height: 52px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 0.8rem;
}

.claim-support-privacy {
    margin-top: 9px !important;
    color: var(--muted) !important;
    font-family: inherit !important;
    font-size: 0.62rem !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.5;
}

.toast {
    position: fixed;
    z-index: 1500;
    right: 50%;
    bottom: calc(var(--safe-bottom) + 96px);
    max-width: min(calc(100% - 40px), 420px);
    padding: 11px 16px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
    background: rgba(60, 43, 69, 0.94);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(43, 26, 51, 0.25);
    transform: translateX(50%);
    animation: toast-in 0.2s ease both;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translate(50%, 8px);
    }

    to {
        opacity: 1;
        transform: translate(50%, 0);
    }
}

@media (min-width: 480px) {
    .claim-field-grid--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .claim-field--full {
        grid-column: 1 / -1;
    }

    .claim-address-grid {
        grid-template-columns: minmax(96px, 0.36fr) minmax(0, 1fr);
    }
}

@media (max-width: 380px) {
    :root {
        --wheel-size: min(88vw, 348px);
    }

    .app-shell {
        padding-right: 11px;
        padding-left: 11px;
    }

    .campaign-header__art {
        border-radius: 23px;
    }

    .code-card {
        padding: 15px;
    }

    .code-form__row {
        grid-template-columns: 1fr;
    }

    .button--verify {
        width: 100%;
    }

    .claim-method-grid,
    .claim-complete__actions {
        grid-template-columns: 1fr;
    }

    .claim-method-card {
        min-height: 118px;
    }

    .claim-complete__actions > :only-child {
        grid-column: auto;
    }

    .wheel-section {
        padding-right: 4px;
        padding-left: 4px;
    }

    .trust-card {
        padding-right: 4px;
        padding-left: 4px;
    }

    .trust-card > div {
        gap: 3px;
        padding-right: 3px;
        padding-left: 3px;
    }

    .trust-card > div > span {
        width: 23px;
        height: 23px;
        font-size: 0.75rem;
    }
}

@media (max-width: 330px) {
    .claim-resume {
        align-items: stretch;
        flex-direction: column;
    }

    .claim-resume__button {
        width: 100%;
    }

    .claim-flow__header {
        grid-template-columns: 34px minmax(0, 1fr) 36px;
        gap: 7px;
        padding-right: 11px;
        padding-left: 11px;
    }

    .claim-flow__seal,
    .claim-flow__close {
        width: 34px;
        height: 34px;
    }

    .claim-complete__details > div {
        grid-template-columns: 1fr;
    }

    .claim-complete__details dd {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 700px) {
    .app-shell {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wheel-rotor.is-spinning {
        transition-duration: 450ms !important;
    }
}

@media (forced-colors: active) {
    .wheel-frame,
    .draw-button,
    .button,
    .eligibility-badge {
        border: 2px solid ButtonText;
    }

    .wheel-pointer span {
        border-top-color: ButtonText;
    }
}

/* In-page customer service iframe */
.customer-service-modal{z-index:2100;padding:18px}.customer-service-dialog{position:relative;z-index:1;width:min(100%,560px);height:min(84vh,760px);display:flex;flex-direction:column;overflow:hidden;background:#fffafc;border:1px solid rgba(255,255,255,.7);border-radius:28px;box-shadow:0 30px 90px rgba(56, 28, 74,.38)}.customer-service-dialog__header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:17px 18px 15px 22px;color:#fff;background:linear-gradient(135deg,#653680,#b662de)}.customer-service-dialog__header h2{margin:3px 0 0;font-size:19px}.customer-service-dialog__status{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.5px;color:#f6e6ff}.customer-service-dialog__status i{width:7px;height:7px;border-radius:50%;background:#65e6ad;box-shadow:0 0 0 4px rgba(101,230,173,.15)}.customer-service-dialog__close{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.28);border-radius:14px;background:rgba(255,255,255,.14);color:#fff;font-size:27px;line-height:1;cursor:pointer}.customer-service-dialog__close:hover{background:rgba(255,255,255,.24)}.customer-service-dialog__body{position:relative;flex:1;min-height:0;background:#fff5f8}.customer-service-dialog iframe{width:100%;height:100%;display:block;border:0;opacity:0;transition:opacity .2s ease;background:#fff}.customer-service-dialog iframe.is-ready{opacity:1}.customer-service-loading{position:absolute;z-index:2;inset:0;display:grid;place-content:center;justify-items:center;color:#867390;background:#fff8fa}.customer-service-loading[hidden]{display:none}.customer-service-loading span{width:38px;height:38px;border:3px solid #f0d9fb;border-top-color:#b662dd;border-radius:50%;animation:customerServiceSpin .75s linear infinite}.customer-service-loading p{margin:13px 0 0;font-size:13px}@keyframes customerServiceSpin{to{transform:rotate(360deg)}}@media(max-width:600px){.customer-service-modal{padding:0}.customer-service-dialog{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}.customer-service-dialog__header{padding-top:calc(env(safe-area-inset-top,0px) + 12px)}.customer-service-dialog__body{padding-bottom:env(safe-area-inset-bottom,0px)}}

/* Customer service compact messenger shell */
.customer-service-dialog{width:min(100%,480px);height:min(88vh,780px);border-radius:24px;background:#f8faff;box-shadow:0 28px 90px rgba(42,48,72,.34)}
.customer-service-dialog__body{height:100%;background:#f8faff}
@media(max-width:600px){.customer-service-dialog{height:100dvh;border-radius:0}}


/* Rich lavender theme refinement: stronger contrast and saturation. */
:root {
    --pink-950: #3f1559;
    --pink-900: #59207a;
    --pink-800: #742b9c;
    --pink-700: #9139bd;
    --pink-600: #a947d3;
    --pink-500: #bd5ee5;
    --pink-400: #cf79ef;
    --pink-300: #dda0f4;
    --pink-200: #ebc5fa;
    --pink-100: #f4e0fb;
    --pink-50: #fbf5fe;
    --cream: #fffafc;
    --cream-deep: #f4e7fa;
    --gold: #d99b3f;
    --gold-light: #ffe2a8;
    --ink: #34203d;
    --muted: #725c79;
    --shadow-soft: 0 14px 40px rgba(94, 38, 126, 0.20);
    --shadow-card: 0 10px 28px rgba(77, 35, 98, 0.16);
    background: #ecd3f6;
}
html { background: #ecd3f6; }
body {
    background:
        linear-gradient(180deg, rgba(166, 70, 204, 0.10), rgba(248, 237, 252, 0.72) 48%, rgba(255, 249, 247, 0.91)),
        url("../image/background.jpg") top center / min(100%, 720px) auto no-repeat,
        #ecd3f6;
}
.button--primary, .eligibility-form button, .claim-submit {
    box-shadow: 0 9px 22px rgba(125, 42, 166, 0.30);
}


/* Neon plum palette requested: #7C3AED → #F472B6. */
:root {
    --pink-950: #32105f;
    --pink-900: #4c1d95;
    --pink-800: #5b21b6;
    --pink-700: #6d28d9;
    --pink-600: #7c3aed;
    --pink-500: #9d4edd;
    --pink-400: #c45be5;
    --pink-300: #e36ad4;
    --pink-200: #f5a4d2;
    --pink-100: #fce0f1;
    --pink-50: #fff5fb;
    --ink: #281044;
    --muted: #705a7d;
}
.button--primary,
.eligibility-form button,
.claim-submit,
.draw-button {
    background-image: linear-gradient(135deg, #7c3aed 0%, #a53fe1 48%, #f472b6 100%);
}
.wheel-frame {
    background:
        radial-gradient(circle, transparent 63%, rgba(255,255,255,.88) 64% 67%, transparent 68%),
        conic-gradient(from 0deg, #7c3aed, #9b3fe4, #c44bd5, #f472b6, #c44bd5, #9b3fe4, #7c3aed);
    border-color: #b46af2;
    box-shadow:
        0 0 0 5px #6d28d9,
        0 0 0 9px rgba(255,255,255,.92),
        0 0 28px rgba(124,58,237,.48),
        0 22px 38px rgba(75,25,120,.28),
        inset 0 0 18px rgba(255,255,255,.64);
}
.wheel-frame::before {
    background: repeating-conic-gradient(from 0deg,#fff 0deg 2deg,transparent 2deg 43deg,#f9c8ea 43deg 45deg);
}
.wheel-rotor { border-color: rgba(124,58,237,.48); }
.wheel-rotor__surface {
    background:
        repeating-conic-gradient(from -22.5deg,rgba(124,58,237,.42) 0deg 1deg,transparent 1deg 45deg),
        conic-gradient(from -22.5deg,
            #fffaf1 0deg 45deg,
            #f8edff 45deg 90deg,
            #fff4ec 90deg 135deg,
            #f5e8ff 135deg 180deg,
            #fffaf1 180deg 225deg,
            #f8edff 225deg 270deg,
            #fff4ec 270deg 315deg,
            #f5e8ff 315deg 360deg);
}
.wheel-rotor__surface::after { border-color: rgba(244,114,182,.38); }
.wheel-slot__content { top: 4.7%; width: 28%; max-width: 96px; }
.wheel-slot__tier {
    display: inline-flex;
    min-height: 17px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
    padding: 2px 7px;
    color: #fff;
    font-size: clamp(.43rem,1.9vw,.58rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
    background: linear-gradient(135deg,#7c3aed,#f472b6);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(92,33,182,.22);
}
.wheel-slot__image,
.wheel-slot__heart { width: clamp(30px,calc(var(--wheel-size) * .115),49px);height:clamp(30px,calc(var(--wheel-size) * .115),49px); }
.wheel-slot__label {
    width: 132%;
    margin-top: 0;
    color: #3d136e;
    font-size: clamp(.48rem,2.05vw,.66rem);
    line-height: 1.08;
    text-shadow: 0 1px 0 #fff,0 1px 5px rgba(124,58,237,.12);
}
.wheel-slot--thanks .wheel-slot__tier { background: linear-gradient(135deg,#8561c8,#bd7ddb); }
.wheel-slot--thanks .wheel-slot__label { color:#6d28d9; }
.wheel-pointer::before { background:radial-gradient(circle at 36% 24%,rgba(255,255,255,.85),transparent 24%),linear-gradient(145deg,#f472b6,#7c3aed); }
.wheel-pointer span { border-top-color:#6d28d9; }

/* Contact support CTA above the trust cards. */
.trust-support-bar {
    margin-top: 16px;
}

.trust-support-bar__button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    color: #fff;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .04em;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #f472b6 100%);
    box-shadow: 0 12px 24px rgba(124, 58, 237, .22), inset 0 1px rgba(255,255,255,.28);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.trust-support-bar__button i:first-child { font-size: 1rem; }
.trust-support-bar__button i:last-child { margin-left: auto; font-size: .78rem; opacity: .85; }
.trust-support-bar__button:hover { filter: brightness(1.04); box-shadow: 0 15px 28px rgba(124, 58, 237, .3), inset 0 1px rgba(255,255,255,.3); }
.trust-support-bar__button:active { transform: translateY(1px) scale(.995); }
.trust-support-bar__button:focus-visible { outline: 3px solid rgba(244, 114, 182, .38); outline-offset: 3px; }

/* 出生日期选择器：整块输入区域和日历按钮均可打开 */
.claim-date-control { position: relative; width: 100%; }
.claim-date-control input[type="date"] { padding-right: 52px; cursor: pointer; }
.claim-date-control input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
}
.claim-date-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 7px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: var(--pink-700);
    background: var(--pink-100);
    cursor: pointer;
    transform: translateY(-50%);
}
.claim-date-button:hover { color: #fff; background: var(--pink-600); }
