:root {
    --red: #e32620;
    --red-dark: #a80e16;
    --yellow: #ffd91f;
    --gold: #f6b90f;
    --blue: #111e70;
    --blue-dark: #071246;
    --cream: #fff3cf;
    --pink: #f28ab2;
    --white: #ffffff;
    --ink: #071246;
    --poster-width: 941;
    --poster-height: 1672;
    --spin-duration: 3600ms;
    --viewport-padding: clamp(10px, 2.4vmin, 22px);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--blue-dark);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 50% 16%, rgba(255, 198, 48, 0.18), transparent 34%),
        linear-gradient(180deg, #190707 0%, #37100b 50%, #130c08 100%);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

button {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.birthday-shell {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100svh;
    padding: var(--viewport-padding);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 4%, rgba(255, 217, 31, 0.16), transparent 38%),
        linear-gradient(180deg, #170605 0%, #371109 48%, #1a0d08 100%);
}

.birthday-poster {
    position: relative;
    aspect-ratio: 941 / 1672;
    width: min(
        100vw,
        calc((100svh - (var(--viewport-padding) * 2)) * var(--poster-width) / var(--poster-height)),
        640px
    );
    max-width: 100vw;
    max-height: calc(100svh - (var(--viewport-padding) * 2));
    overflow: hidden;
    border: clamp(3px, 0.55vw, 6px) solid #17110e;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(23, 6, 3, 0.08), rgba(23, 6, 3, 0.08)),
        url("assets/roleta-bobs-aniversario.png") center / 100% 100% no-repeat,
        #180806;
    box-shadow:
        0 30px 96px rgba(0, 0, 0, 0.72),
        0 12px 0 rgba(0, 0, 0, 0.22);
    isolation: isolate;
}

.birthday-poster::before,
.birthday-poster::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.birthday-poster::before {
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 16% 84%, rgba(0, 0, 0, 0.22)),
        linear-gradient(180deg, transparent 0 62%, rgba(0, 0, 0, 0.16) 100%);
}

.birthday-poster::after {
    z-index: 2;
    left: 10.6%;
    right: 10.6%;
    bottom: 4.2%;
    height: 1.5%;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.46);
    filter: blur(6px);
}

.scene-shine {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 41%, rgba(255, 255, 255, 0.08), transparent 26%),
        radial-gradient(circle at 50% 75%, rgba(255, 217, 31, 0.09), transparent 22%);
    mix-blend-mode: screen;
    opacity: 0.72;
}

.birthday-header {
    position: absolute;
    z-index: 4;
    top: 3.8%;
    left: 7%;
    right: 7%;
    display: grid;
    justify-items: center;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.birthday-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(24px, 5vw, 38px);
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 0 clamp(12px, 4vw, 24px);
    font-size: clamp(0.78rem, 2.9vw, 1.08rem);
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 0 rgba(7, 18, 70, 0.24);
}

.birthday-brand {
    margin-top: clamp(2px, 0.8vw, 8px);
    color: var(--red);
    font-size: clamp(3rem, 15vw, 6.3rem);
    font-weight: 900;
    line-height: 0.82;
    text-shadow:
        -2px -2px 0 var(--white),
        2px -2px 0 var(--white),
        -2px 2px 0 var(--white),
        2px 2px 0 var(--white),
        0 7px 0 rgba(7, 18, 70, 0.28);
}

.birthday-one {
    color: var(--yellow);
    font-size: clamp(2.3rem, 10vw, 5.15rem);
    font-weight: 900;
    line-height: 0.92;
    text-shadow:
        -2px -2px 0 var(--blue-dark),
        2px -2px 0 var(--blue-dark),
        -2px 2px 0 var(--blue-dark),
        2px 2px 0 var(--blue-dark),
        0 7px 0 rgba(7, 18, 70, 0.28);
}

.wheel-frame {
    position: absolute;
    z-index: 5;
    top: 12.35%;
    left: 50%;
    width: 98.2%;
    aspect-ratio: 1;
    transform: translateX(-50%);
}

.wheel-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--blue-dark);
    box-shadow:
        0 13px 24px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(246, 185, 15, 0.5);
    pointer-events: none;
}

.spin-pin {
    position: absolute;
    z-index: 7;
    top: -15.2%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 17.4%;
    aspect-ratio: 0.76;
    border: clamp(4px, 0.8vw, 7px) solid #f2f2ea;
    border-radius: 50% 50% 47% 47%;
    background: linear-gradient(180deg, #ff4b42 0%, #e32620 54%, #a80e16 100%);
    color: var(--white);
    font-size: clamp(0.72rem, 3vw, 1.48rem);
    font-weight: 900;
    line-height: 0.9;
    text-align: center;
    text-shadow: 0 2px 0 rgba(7, 18, 70, 0.34);
    transform: translateX(-50%);
    box-shadow:
        inset 0 5px 0 rgba(255, 255, 255, 0.22),
        0 0 0 2px rgba(0, 0, 0, 0.16),
        0 8px 0 rgba(7, 18, 70, 0.42),
        0 14px 18px rgba(0, 0, 0, 0.36);
    pointer-events: none;
}

.spin-pin::after {
    position: absolute;
    left: 50%;
    bottom: -23%;
    width: 38%;
    aspect-ratio: 1;
    background: #a80e16;
    border-right: clamp(4px, 0.8vw, 7px) solid #f2f2ea;
    border-bottom: clamp(4px, 0.8vw, 7px) solid #f2f2ea;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.spin-hotspot {
    position: absolute;
    z-index: 8;
    left: 1%;
    top: 12.35%;
    width: 98%;
    height: 55%;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.spin-hotspot:disabled {
    cursor: wait;
}

.status-message {
    position: absolute;
    left: 50%;
    top: 40.5%;
    z-index: 9;
    width: 70%;
    margin: 0;
    color: var(--yellow);
    font-size: clamp(0.9rem, 3vw, 1.35rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 3px 8px rgba(7, 18, 70, 0.82);
    transform: translateX(-50%);
    pointer-events: none;
}

.birthday-base {
    position: absolute;
    z-index: 5;
    left: 7%;
    right: 7%;
    bottom: 3.8%;
    display: grid;
    justify-items: center;
    gap: clamp(3px, 0.8vw, 8px);
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}

.base-brand {
    color: var(--red);
    font-size: clamp(2.3rem, 11.8vw, 4.8rem);
    font-weight: 900;
    line-height: 0.78;
    text-shadow:
        -2px -2px 0 var(--white),
        2px -2px 0 var(--white),
        -2px 2px 0 var(--white),
        2px 2px 0 var(--white),
        0 6px 0 rgba(0, 0, 0, 0.26);
}

.birthday-base strong {
    color: var(--yellow);
    max-width: 100%;
    font-size: clamp(1.34rem, 6.7vw, 3.25rem);
    font-weight: 900;
    line-height: 0.95;
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

.birthday-base span:last-child {
    color: var(--cream);
    font-size: clamp(0.86rem, 3.3vw, 1.24rem);
    font-weight: 900;
    line-height: 1;
}

.items-editor {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 8vw, 78px) 18px clamp(58px, 10vw, 104px);
    background:
        radial-gradient(circle at 2% 4%, rgba(227, 38, 32, 0.42) 0 58px, transparent 60px),
        radial-gradient(circle at 96% 5%, rgba(246, 185, 15, 0.42) 0 62px, transparent 64px),
        linear-gradient(180deg, #fff4da 0%, #ffe9bd 42%, #e32620 42.2%, #d7191b 100%);
    color: #3a1c14;
}

.items-editor::before,
.items-editor::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.items-editor::before {
    left: -8%;
    right: -8%;
    top: 30%;
    bottom: -12%;
    border-radius: 42px 42px 0 0;
    background:
        radial-gradient(circle at 50% 100%, rgba(255, 210, 63, 0.18), transparent 32%),
        linear-gradient(180deg, #e32620 0%, #d7191b 100%);
}

.items-editor::after {
    z-index: 0;
    inset: 0;
    background-image:
        linear-gradient(45deg, transparent 0 44%, #d7191b 44% 56%, transparent 56%),
        linear-gradient(-28deg, transparent 0 44%, #ffc20e 44% 56%, transparent 56%),
        radial-gradient(circle, #d7191b 0 3px, transparent 3.5px),
        radial-gradient(circle, #ffc20e 0 3px, transparent 3.5px);
    background-position: 8% 12%, 88% 18%, 20% 88%, 76% 92%;
    background-size: 46px 46px, 54px 54px, 90px 90px, 110px 110px;
    opacity: 0.55;
}

.editor-content {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    margin: 0 auto;
    padding: 0;
}

.editor-heading {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(720px, 100%);
    margin-right: auto;
    margin-bottom: clamp(24px, 5vw, 38px);
    margin-left: auto;
    border: 4px solid rgba(255, 255, 255, 0.82);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 229, 0.96));
    padding: clamp(24px, 5vw, 38px) clamp(18px, 5vw, 42px);
    box-shadow:
        0 18px 42px rgba(117, 0, 0, 0.2),
        inset 0 0 0 2px rgba(255, 194, 14, 0.26);
    text-align: center;
    text-transform: uppercase;
}

.editor-brand {
    color: var(--red);
    font-size: clamp(2.7rem, 9vw, 5rem);
    font-weight: 900;
    line-height: 0.82;
    text-shadow:
        -2px -2px 0 var(--white),
        2px -2px 0 var(--white),
        -2px 2px 0 var(--white),
        2px 2px 0 var(--white),
        0 6px 16px rgba(119, 41, 10, 0.18);
}

.editor-special {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(34px, 5vw, 44px);
    border-radius: 8px;
    background: linear-gradient(180deg, #e32620, #c81417);
    color: var(--white);
    padding: 0 clamp(18px, 5vw, 36px);
    font-size: clamp(0.98rem, 3vw, 1.45rem);
    font-weight: 900;
    box-shadow: 0 7px 0 rgba(126, 16, 9, 0.22);
}

.editor-heading h2 {
    margin: 0;
    color: var(--red);
    font-size: clamp(3.5rem, 12vw, 7.4rem);
    font-weight: 900;
    line-height: 0.86;
    text-transform: uppercase;
    text-shadow:
        -3px -3px 0 #ffffff,
        3px -3px 0 #ffffff,
        -3px 3px 0 #ffffff,
        3px 3px 0 #ffffff,
        0 8px 0 rgba(255, 194, 14, 0.78),
        0 14px 18px rgba(126, 16, 9, 0.18);
}

.editor-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(36px, 5vw, 50px);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffd84a, #ffc20e);
    color: #c81417;
    padding: 0 clamp(20px, 6vw, 44px);
    font-size: clamp(1rem, 3.2vw, 1.55rem);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(145, 57, 11, 0.18);
}

.items-list {
    display: grid;
    gap: clamp(12px, 2.3vw, 16px);
    border-radius: 32px;
    background: rgba(255, 250, 241, 0.96);
    padding: clamp(18px, 4vw, 30px);
    box-shadow:
        0 20px 48px rgba(117, 0, 0, 0.2),
        inset 0 0 0 2px rgba(255, 255, 255, 0.74);
}

.item-row {
    position: relative;
    display: grid;
    grid-template-columns: clamp(58px, 8vw, 78px) minmax(0, 1fr) clamp(150px, 24vw, 210px) 36px;
    gap: clamp(12px, 2.6vw, 24px);
    align-items: center;
    min-height: clamp(82px, 10vw, 104px);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdf9 0%, #f8f0e5 100%);
    padding: clamp(11px, 2vw, 18px) clamp(12px, 2.6vw, 22px);
    box-shadow:
        0 9px 18px rgba(55, 22, 12, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.item-number {
    display: grid;
    place-items: center;
    width: clamp(56px, 7.6vw, 76px);
    height: clamp(56px, 7.6vw, 76px);
    border-radius: 50%;
    background: linear-gradient(180deg, #e32620 0%, #c90012 100%);
    color: var(--white);
    font-size: clamp(1.4rem, 4vw, 2.25rem);
    font-weight: 900;
    box-shadow:
        inset 0 5px 0 rgba(255, 255, 255, 0.12),
        0 8px 13px rgba(117, 0, 0, 0.18);
}

.item-input {
    min-width: 0;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #3a1c14;
    padding: 0;
    font-size: clamp(1.08rem, 3.6vw, 1.75rem);
    font-weight: 900;
    text-transform: uppercase;
    outline: 0;
}

.item-input::placeholder {
    color: rgba(58, 28, 20, 0.72);
}

.item-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: clamp(54px, 7vw, 66px);
    border: 2px solid rgba(255, 220, 91, 0.95);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffd84a 0%, #ffc20e 100%);
    color: #c81417;
    cursor: pointer;
    padding: 0 clamp(12px, 2.6vw, 22px);
    font-size: clamp(0.94rem, 3vw, 1.45rem);
    font-weight: 900;
    text-transform: uppercase;
    box-shadow:
        0 5px 0 rgba(194, 124, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.item-toggle input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.item-toggle:has(input:not(:checked)) {
    border-color: rgba(58, 28, 20, 0.16);
    background: linear-gradient(180deg, #ffffff, #f5eadb);
    color: rgba(58, 28, 20, 0.64);
    box-shadow: inset 0 0 0 1px rgba(58, 28, 20, 0.04);
}

.gift-icon {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 24px;
    border: 4px solid currentColor;
    border-top-width: 7px;
    border-radius: 4px;
}

.gift-icon::before,
.gift-icon::after {
    position: absolute;
    content: "";
}

.gift-icon::before {
    left: 50%;
    top: -7px;
    bottom: -4px;
    width: 4px;
    background: currentColor;
    transform: translateX(-50%);
}

.gift-icon::after {
    left: 50%;
    top: -16px;
    width: 22px;
    height: 13px;
    border: 4px solid currentColor;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    transform: translateX(-50%);
}

.remove-item,
.editor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    padding: 0 14px;
    font-size: 0.88rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 5px 0 rgba(117, 0, 0, 0.2);
}

.remove-item {
    width: 36px;
    height: 36px;
    min-height: 36px;
    border-color: rgba(200, 20, 23, 0.18);
    border-radius: 50%;
    background: #fff3e1;
    color: rgba(200, 20, 23, 0.82);
    padding: 0;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: none;
}

.item-input:focus-visible,
.item-toggle:focus-within,
.remove-item:focus-visible,
.editor-button:focus-visible,
.again-button:focus-visible,
.modal-close:focus-visible {
    outline: 3px solid #ffc20e;
    outline-offset: 3px;
}

.remove-item:disabled,
.editor-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.editor-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(20px, 4vw, 32px);
}

.editor-button {
    min-height: 56px;
    border-color: rgba(255, 255, 255, 0.64);
    background: linear-gradient(180deg, #ffd84a, #ffc20e);
    color: #c81417;
    padding: 0 24px;
    font-size: 1rem;
}

.editor-button-secondary {
    background: linear-gradient(180deg, #ffffff, #f5eadb);
    color: #3a1c14;
}

.result-modal {
    position: fixed;
    z-index: 30;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 194, 14, 0.18) 0 78px, transparent 80px),
        radial-gradient(circle at 84% 15%, rgba(227, 38, 32, 0.22) 0 68px, transparent 70px),
        rgba(48, 7, 4, 0.86);
    backdrop-filter: blur(6px);
}

.result-modal[hidden] {
    display: none;
}

.result-card {
    position: relative;
    width: min(480px, 100%);
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    background: #fff7e8;
    box-shadow:
        0 26px 78px rgba(36, 5, 3, 0.56),
        inset 0 0 0 2px rgba(255, 194, 14, 0.16);
    color: #3a1c14;
    text-align: center;
}

.result-card::before,
.result-card::after {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    content: "";
}

.result-card::before {
    left: -18%;
    right: -18%;
    bottom: -22%;
    height: 42%;
    border-radius: 50% 50% 0 0;
    background: rgba(227, 38, 32, 0.08);
}

.result-card::after {
    top: 56%;
    left: 8%;
    right: 8%;
    height: 1px;
    background: rgba(58, 28, 20, 0.09);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    background: #b90f12;
    color: var(--white);
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 0 rgba(73, 0, 0, 0.22);
}

.result-top {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 8px;
    background:
        linear-gradient(135deg, rgba(255, 194, 14, 0.18) 0 13%, transparent 13.2%),
        linear-gradient(180deg, #e32620, #c81417);
    padding: 26px 58px 24px;
    color: var(--white);
}

.result-body {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    padding: clamp(26px, 6vw, 38px) clamp(20px, 5vw, 36px) clamp(28px, 6vw, 40px);
}

.modal-brand {
    display: inline-block;
    color: var(--white);
    font-size: clamp(2.2rem, 10vw, 3.6rem);
    font-weight: 900;
    line-height: 0.8;
    text-shadow:
        -2px -2px 0 rgba(120, 0, 0, 0.4),
        2px -2px 0 rgba(120, 0, 0, 0.4),
        -2px 2px 0 rgba(120, 0, 0, 0.4),
        2px 2px 0 rgba(120, 0, 0, 0.4),
        0 5px 10px rgba(73, 0, 0, 0.25);
}

.result-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff5d2;
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
}

.result-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 auto 18px;
    max-width: 14ch;
    color: var(--red);
    font-size: clamp(1.85rem, 7vw, 2.95rem);
    line-height: 1.02;
    text-transform: uppercase;
    text-shadow:
        0 3px 0 rgba(255, 194, 14, 0.42);
}

.result-prize-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 5px;
    width: min(100%, 360px);
    margin-bottom: 18px;
    border: 3px solid rgba(227, 38, 32, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffd84a, #ffc20e);
    padding: 14px 18px 16px;
    box-shadow:
        0 9px 0 rgba(194, 124, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.result-prize-label {
    color: #7d2a12;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.result-card strong {
    display: block;
    width: 100%;
    color: #c81417;
    font-size: clamp(1.75rem, 7vw, 2.65rem);
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.result-card.is-try .result-prize-wrap {
    background: linear-gradient(180deg, #ffffff, #f5eadb);
    box-shadow: 0 7px 0 rgba(58, 28, 20, 0.08);
}

.result-card.is-try strong {
    color: #3a1c14;
}

.result-note {
    position: relative;
    z-index: 1;
    margin: 0 auto 22px;
    max-width: 35ch;
    border-radius: 14px;
    background: #fffdf8;
    color: #3a1c14;
    padding: 12px 15px;
    font-size: clamp(0.94rem, 2.6vw, 1.03rem);
    font-weight: 800;
    line-height: 1.35;
    box-shadow: inset 0 0 0 1px rgba(58, 28, 20, 0.08);
}

.again-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #e32620, #c81417);
    color: var(--white);
    cursor: pointer;
    padding: 0 28px;
    font-size: 0.96rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 7px 0 rgba(117, 0, 0, 0.22);
}

.again-button:hover {
    filter: brightness(1.03);
}

.again-button:active {
    transform: translateY(3px);
    box-shadow: 0 4px 0 rgba(117, 0, 0, 0.28);
}

.confetti-layer {
    position: fixed;
    z-index: 40;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    top: -24px;
    width: 10px;
    height: 18px;
    border-radius: 2px;
    animation: confetti-fall 1600ms ease-out forwards;
}

@keyframes confetti-fall {
    to {
        transform: translate(var(--drift), 112vh) rotate(720deg);
        opacity: 0;
    }
}

@media (max-width: 560px) {
    :root {
        --viewport-padding: 0px;
    }

    .birthday-poster {
        border-width: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .birthday-shell {
        min-height: auto;
    }

    .items-editor {
        padding-right: 12px;
        padding-left: 12px;
    }

    .items-list {
        border-radius: 24px;
        padding: 14px;
    }

    .item-row {
        grid-template-columns: 58px minmax(0, 1fr) 34px;
        gap: 10px;
        padding: 12px;
    }

    .item-input {
        font-size: 1rem;
    }

    .item-toggle {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        justify-content: center;
        padding: 0 12px;
    }

    .remove-item {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .gift-icon {
        transform: scale(0.82);
    }
}
