:root {
    --pink-950: #64172d;
    --pink-900: #851f3f;
    --pink-800: #aa294e;
    --pink-700: #ce365d;
    --pink-600: #eb4d72;
    --pink-500: #f8658a;
    --pink-400: #ff83a2;
    --pink-300: #ffa8bc;
    --pink-200: #ffcbd6;
    --pink-100: #ffe7ed;
    --pink-50: #fff5f7;
    --cream: #fffaf2;
    --cream-deep: #fff0dd;
    --gold: #d99b3f;
    --gold-light: #ffe2a8;
    --ink: #43232d;
    --muted: #795f67;
    --success: #167c5a;
    --error: #b4233f;
    --white: #fff;
    --shadow-soft: 0 14px 40px rgba(146, 34, 70, 0.14);
    --shadow-card: 0 10px 28px rgba(112, 34, 57, 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: #f9dbe3;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 280px;
    min-height: 100%;
    scroll-behavior: smooth;
    background: #f9dbe3;
}

body {
    min-width: 280px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(248, 101, 138, 0.18), rgba(255, 245, 247, 0.94) 48%, rgba(255, 248, 241, 0.98)),
        url("/assets/images/background.jpg") top center / min(100%, 720px) auto no-repeat,
        #f9dbe3;
}

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(249, 97, 139, 0.12));
    box-shadow: inset -10px -8px 20px rgba(220, 73, 111, 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(249, 97, 139, 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(129, 31, 62, 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(255, 222, 231, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    box-shadow:
        0 7px 18px rgba(129, 31, 62, 0.16),
        inset 0 0 0 1px rgba(248, 101, 138, 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(129, 31, 62, 0.2),
        inset 0 0 0 1px rgba(248, 101, 138, 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(176, 39, 78, 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: #8b7179;
    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(117, 27, 56, 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(255, 168, 188, 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(206, 54, 93, 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(102, 30, 53, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.code-form input::placeholder {
    color: #aa939a;
    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(248, 101, 138, 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(206, 54, 93, 0.24);
}

.button--primary {
    color: var(--white);
    background: linear-gradient(145deg, var(--pink-500), var(--pink-700));
    box-shadow: 0 8px 18px rgba(206, 54, 93, 0.24);
}

.button--secondary {
    color: var(--pink-900);
    background: linear-gradient(145deg, #fff4d7, #ffd485);
    box-shadow: 0 8px 18px rgba(182, 123, 37, 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(255, 224, 232, 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, #f4597e, #ff97ae, #ea446f, #ffb2c2, #f45b82, #ff8da8, #dc365f, #ff9eb4, #f4597e);
    border: clamp(5px, 1.7vw, 8px) solid #ffd9a0;
    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(121, 29, 58, 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(194, 114, 44, 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(193, 110, 37, 0.3) 0deg 0.7deg,
            transparent 0.7deg 45deg
        ),
        conic-gradient(
            from -22.5deg,
            #fff7e6 0deg 45deg,
            #ffdfe7 45deg 90deg,
            #fff7e6 90deg 135deg,
            #ffdfe7 135deg 180deg,
            #fff7e6 180deg 225deg,
            #ffdfe7 225deg 270deg,
            #fff7e6 270deg 315deg,
            #ffdfe7 315deg 360deg
        );
}

.wheel-rotor__surface::after {
    position: absolute;
    inset: 8%;
    content: "";
    border: 1px solid rgba(207, 129, 60, 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: 25%;
    min-width: 56px;
    max-width: 86px;
    min-height: 26%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(-50%) rotate(calc(-1 * var(--slot-angle)));
    /*
     * 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(103, 35, 53, 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(182, 47, 84, 0.18);
}

.wheel-slot__label {
    display: block;
    width: 118%;
    margin-top: 1px;
    color: var(--pink-950);
    font-size: clamp(0.53rem, 2.35vw, 0.72rem);
    font-weight: 900;
    line-height: 1.12;
    text-align: center;
    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, #ff8ca9, #e43563 68%, #aa2449);
    border: clamp(4px, 1.25vw, 6px) solid #fff4d5;
    border-radius: 50%;
    box-shadow:
        0 0 0 4px var(--pink-600),
        0 8px 18px rgba(134, 28, 61, 0.35),
        inset 0 -5px 10px rgba(119, 22, 53, 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(111, 25, 52, 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, #ff8aa6, #ca2a56);
    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(94, 25, 47, 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(78, 47, 56, 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(70, 17, 36, 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(67, 18, 36, 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(255, 199, 213, 0.9);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(83, 20, 43, 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(94, 25, 47, 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;
}

.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.8;
    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(248, 101, 138, 0.2);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(112, 34, 57, 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(206, 54, 93, 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(248, 101, 138, 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, #ffd4df, #fff0e4);
    border-bottom: 1px solid rgba(248, 101, 138, 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(170, 41, 78, 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(248, 101, 138, 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: #9d858d;
    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(102, 30, 53, 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(248, 101, 138, 0.12);
}

.claim-field input::placeholder,
.claim-field textarea::placeholder {
    color: #aa939a;
    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(206, 54, 93, 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: #704a16;
    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, #ffd1df 0%, #fff1df 52%, #ffe5ec 100%);
    border-bottom: 1px solid rgba(248, 101, 138, 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(206, 54, 93, 0.08);
}

.claim-complete__cover::after {
    right: -17px;
    bottom: -33px;
    width: 108px;
    height: 108px;
    box-shadow: inset 12px 9px 24px rgba(217, 155, 63, 0.09);
}

.claim-complete__spark {
    position: absolute;
    z-index: 1;
    color: rgba(206, 54, 93, 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: #5b4138;
    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, #c47e25);
    border-radius: 11px;
    box-shadow: 0 6px 13px rgba(168, 104, 26, 0.18);
}

.claim-complete__safety strong {
    color: #704a16;
    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(67, 35, 45, 0.94);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(50, 18, 29, 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;
    }
}
