:root {
    color-scheme: light;
    --pine: #173b32;
    --pine-dark: #102c25;
    --pine-light: #315d4e;
    --red: #a63e38;
    --gold: #d7ad64;
    --cream: #faf8f3;
    --ink: #263d35;
    --muted: #78877d;
    --line: #e8e7df;
    font-family: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 86% 12%, rgba(216, 186, 128, .15), transparent 25rem),
        var(--cream);
    color: var(--ink);
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }

.page-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 1; }
.topbar { height: 84px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(37, 67, 55, .1); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--pine); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--pine); color: #f0d7a4; font-size: 15px; }
.brand-light { color: #74867a; font-weight: 400; }
.top-tag { padding: 8px 12px; border: 1px solid #e8dfce; border-radius: 30px; color: #957949; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.account { display: flex; align-items: center; gap: 18px; }
.account-name { font-size: 13px; font-weight: 600; }
.account form { margin: 0; }
.admin-badge { padding: 6px 9px; border: 1px solid #e8dfce; border-radius: 30px; background: #fbf7ed; color: #947344; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.logout-button { border: 0; background: none; color: var(--muted); font-size: 12px; }
.logout-button:hover { color: var(--red); }

.hero { position: relative; min-height: 318px; display: flex; align-items: center; padding: 35px 0 41px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; width: 57%; }
.eyebrow { margin: 0 0 11px; color: #a78243; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero .eyebrow span { color: var(--red); font-size: 18px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 13px; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(42px, 5vw, 61px); font-weight: 500; letter-spacing: -1.5px; line-height: 1.06; }
h1 em, h2 em { color: var(--red); font-weight: 500; }
.hero-description { max-width: 420px; margin-bottom: 19px; color: #708077; font-size: 13px; line-height: 1.8; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--pine-light); font-size: 11px; font-weight: 600; }
.hero-note span { color: #b3945c; font-size: 15px; }
.hero-art { position: absolute; top: 0; right: 0; width: 49%; height: 100%; }
.moon { position: absolute; top: 42px; right: 78px; width: 50px; height: 50px; border-radius: 50%; background: #e4d3ad; box-shadow: 0 0 0 13px rgba(228, 211, 173, .16); }
.star { position: absolute; color: #c69d59; }
.star-a { top: 53px; right: 210px; font-size: 15px; }
.star-b { top: 111px; right: 45px; font-size: 18px; }
.star-c { top: 28px; right: 157px; font-size: 9px; }
.tree { position: absolute; bottom: 20px; width: 0; height: 0; border-left: 75px solid transparent; border-right: 75px solid transparent; border-bottom: 151px solid #294d3f; }
.tree i { position: absolute; left: -60px; top: 42px; width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 119px solid #315e4d; }
.tree i:nth-child(2) { left: -46px; top: 76px; border-left-width: 46px; border-right-width: 46px; border-bottom-width: 91px; border-bottom-color: #3a6a55; }
.tree i:nth-child(3) { left: -31px; top: 108px; border-left-width: 31px; border-right-width: 31px; border-bottom-width: 61px; border-bottom-color: #47745b; }
.tree b { position: absolute; left: -5px; top: 147px; width: 10px; height: 20px; background: #82694a; }
.tree-front { right: 108px; transform: scale(.95); transform-origin: bottom; }
.tree-back { right: 9px; bottom: 2px; transform: scale(.69); transform-origin: bottom; opacity: .63; }
.ground { position: absolute; right: 0; bottom: 14px; width: 100%; height: 23px; border-radius: 50%; background: #e8e4d8; }
.gift { position: absolute; z-index: 1; bottom: 26px; right: 201px; width: 43px; height: 35px; border-radius: 3px; background: #a9473d; box-shadow: inset 0 7px rgba(255,255,255,.1); }
.gift:before { content: ''; position: absolute; left: 18px; top: 0; width: 7px; height: 35px; background: #e2c47e; }
.gift:after { content: ''; position: absolute; left: 12px; top: -8px; width: 19px; height: 9px; border: 3px solid #e2c47e; border-radius: 50% 50% 0 50%; transform: rotate(12deg); }
.gift i { position: absolute; left: 0; top: -3px; width: 43px; height: 6px; background: #bb5c4d; }
.gift-two { right: 251px; bottom: 22px; transform: scale(.68); background: #d2a951; }
.gift-two:before { background: #f3e5bf; }
.gift-two:after { border-color: #f3e5bf; }
.gift-two i { background: #dfb75e; }

.content-grid, .dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; align-items: stretch; }
.card { min-width: 0; padding: 27px 29px; border: 1px solid rgba(42, 69, 57, .09); border-radius: 9px; background: rgba(255, 255, 255, .87); box-shadow: 0 8px 26px rgba(35, 57, 48, .035); }
.card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.card-heading .eyebrow { margin-bottom: 5px; font-size: 8px; }
.step-number { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #eff3ee; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 13px; }
.step-muted { background: #f6f1e7; color: #a88955; }
h2 { margin: 0; color: var(--pine); font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; letter-spacing: -.3px; line-height: 1.25; }
.card-intro { margin: 0 0 19px; color: #77847c; font-size: 11px; line-height: 1.75; }
.form-stack { display: flex; flex-direction: column; gap: 13px; }
.form-stack label { display: flex; flex-direction: column; gap: 6px; color: #51645a; font-size: 10px; font-weight: 600; }
.form-stack input, .form-stack textarea { width: 100%; min-height: 39px; padding: 10px 12px; border: 1px solid #e6e8e2; border-radius: 5px; outline: 0; background: #fff; color: var(--ink); font-size: 11px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.form-stack textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.form-stack input::placeholder, .form-stack textarea::placeholder { color: #a9b0aa; }
.form-stack input:focus, .form-stack textarea:focus { border-color: #879d8b; box-shadow: 0 0 0 3px rgba(66, 104, 79, .08); }
.button { display: flex; min-height: 41px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 15px; border: 0; border-radius: 5px; font-size: 11px; font-weight: 600; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--pine); color: #fff; box-shadow: 0 4px 10px rgba(23, 59, 50, .12); }
.button-primary:hover { background: #214d40; box-shadow: 0 5px 13px rgba(23, 59, 50, .2); }
.button-secondary { border: 1px solid #e7e5dc; background: #fbfaf6; color: var(--pine); }
.button-secondary:hover { background: #f5f2e9; }
.draw-confirm { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: #758179; font-size: 10px; line-height: 1.5; }
.draw-confirm input { flex: 0 0 auto; margin: 0; accent-color: var(--pine); }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 23px; padding: 12px 13px; border-radius: 5px; background: #f5f6f1; }
.privacy-note span { color: #7d9a83; font-size: 16px; }
.privacy-note p { margin: 0; color: #758179; font-size: 10px; line-height: 1.65; }
.full-house { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 6px; background: #f3f5ef; }
.full-icon { font-size: 20px; }
.full-house strong { color: var(--pine); font-size: 12px; }
.full-house p { margin: 5px 0 0; color: #758179; font-size: 10px; line-height: 1.6; }
.notice { margin: 0 0 17px; padding: 12px 15px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; line-height: 1.6; }
.notice-success { border-color: #cde2d1; background: #eef7ef; color: #315c3a; }
.notice-error { border-color: #edcfca; background: #fff2ef; color: #873e36; }
.draw-celebration { position: relative; display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 35px; min-height: 235px; margin: 0 0 19px; padding: 27px 38px; overflow: hidden; border: 1px solid rgba(15, 47, 39, .18); border-radius: 10px; background: radial-gradient(ellipse at 12% 110%, rgba(210, 169, 91, .2), transparent 38%), linear-gradient(115deg, #173b32, #244c3e 62%, #315c4b); box-shadow: 0 14px 35px rgba(23, 59, 50, .15); color: #fff; animation: celebration-enter .65s cubic-bezier(.2,.8,.2,1) both; }
.draw-celebration.is-invalid { border-color: rgba(145, 71, 61, .38); background: linear-gradient(115deg, #47332f, #60413b 62%, #714c43); }
.draw-celebration:after { position: absolute; right: -85px; top: -135px; width: 310px; height: 310px; border: 1px solid rgba(244, 224, 178, .12); border-radius: 50%; content: ''; box-shadow: 0 0 0 23px rgba(244, 224, 178, .035), 0 0 0 50px rgba(244, 224, 178, .025); }
.celebration-art { position: relative; z-index: 1; width: 210px; height: 174px; }
.celebration-art:before { position: absolute; left: 18px; top: 16px; width: 155px; height: 155px; border: 1px solid rgba(243, 224, 180, .2); border-radius: 50%; content: ''; box-shadow: 0 0 0 14px rgba(243, 224, 180, .035), inset 0 0 30px rgba(243, 224, 180, .07); }
.celebration-star { position: absolute; z-index: 4; color: #f0d496; animation: star-twinkle 1.8s ease-in-out infinite alternate; }
.star-one { left: 8px; top: 43px; font-size: 16px; }
.star-two { right: 7px; top: 34px; animation-delay: .4s; font-size: 21px; }
.star-three { right: 24px; bottom: 8px; animation-delay: .8s; font-size: 12px; }
.ticket { position: absolute; z-index: 1; display: flex; width: 87px; height: 98px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.48); border-radius: 7px; background: rgba(255,255,255,.94); box-shadow: 0 8px 18px rgba(8, 28, 22, .18); color: #826b45; }
.ticket span { font-size: 7px; font-weight: 700; letter-spacing: 1px; }
.ticket b { color: #b1483f; font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.ticket-back { left: 18px; top: 26px; transform: rotate(-15deg); animation: ticket-drift 3.2s ease-in-out infinite; }
.ticket-front { right: 12px; top: 18px; transform: rotate(12deg); animation: ticket-drift 2.8s ease-in-out -1.1s infinite reverse; }
.celebration-gift { position: absolute; z-index: 3; left: 66px; top: 82px; width: 77px; height: 59px; border-radius: 5px; background: linear-gradient(135deg, #bd5146, #91352f); box-shadow: 0 11px 22px rgba(9, 29, 22, .35); animation: gift-pop .8s .12s cubic-bezier(.2,.8,.2,1) both, gift-float 2.3s 1s ease-in-out infinite; }
.celebration-gift:before { position: absolute; left: -4px; top: -8px; width: 85px; height: 13px; border-radius: 4px; background: #d26958; content: ''; }
.celebration-gift i { position: absolute; left: 32px; top: 0; width: 12px; height: 100%; background: #e8cc8c; }
.celebration-gift b { position: absolute; left: 0; top: 23px; width: 100%; height: 9px; background: #e8cc8c; }
.celebration-gift span { position: absolute; left: 26px; top: -20px; width: 24px; height: 16px; border: 4px solid #e8cc8c; border-radius: 16px 16px 3px 16px; transform: rotate(8deg); }
.confetti { position: absolute; z-index: 4; width: 6px; height: 12px; border-radius: 2px; opacity: 0; animation: confetti-burst 1.2s .3s ease-out forwards; }
.confetti-one { left: 24px; top: 17px; background: #d9b866; transform: rotate(21deg); }
.confetti-two { left: 86px; top: 8px; background: #f6e8c1; animation-delay: .45s; }
.confetti-three { right: 22px; top: 57px; background: #b9594e; transform: rotate(50deg); animation-delay: .2s; }
.confetti-four { left: 41px; bottom: 19px; background: #f6e8c1; transform: rotate(70deg); animation-delay: .6s; }
.confetti-five { right: 41px; bottom: 19px; background: #d9b866; transform: rotate(22deg); animation-delay: .35s; }
.confetti-six { left: 121px; top: 22px; background: #b9594e; transform: rotate(45deg); animation-delay: .7s; }
.celebration-copy { position: relative; z-index: 1; max-width: 610px; }
.celebration-copy .eyebrow { color: #e4c47f; }
.celebration-copy h2 { margin-bottom: 10px; color: #fff; font-size: clamp(24px, 3vw, 34px); }
.celebration-copy h2 em { color: #f0d496; }
.celebration-copy > p:not(.eyebrow) { max-width: 520px; margin: 0 0 14px; color: rgba(255,255,255,.77); font-size: 11px; line-height: 1.7; }
.celebration-stamp { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(226, 205, 151, .35); border-radius: 30px; background: rgba(255,255,255,.06); color: #f0d496; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.celebration-stamp > span { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; background: #d2ae67; color: #173b32; font-size: 10px; }
.celebration-stamp-error { border-color: rgba(255, 190, 170, .42); color: #ffd3c6; }
.post-draw-card { margin-bottom: 22px; padding: 26px 30px; }
.post-draw-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.post-draw-heading h2 { margin-bottom: 7px; }
.post-draw-heading .card-intro { margin-bottom: 0; }
.draw-email-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 11px 12px; border: 1px solid #e8eee6; border-radius: 5px; background: #f8faf6; color: #48604f; }
.draw-email-status > span strong, .draw-email-status > span small { display: block; }
.draw-email-status > span strong { font-size: 10px; }
.draw-email-status > span small { margin-top: 3px; color: #849087; font-size: 9px; }
.draw-email-count { flex: 0 0 auto; color: var(--pine); font-size: 11px; }
.retry-draw-email-form { margin: 0 0 14px; }
.retry-draw-email-form .button { width: 100%; }
.admin-reset-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); align-items: center; gap: 22px; margin: 18px 0 15px; padding: 17px 18px; border: 1px solid #eedbd6; border-radius: 6px; background: #fffaf8; }
.admin-reset-copy .eyebrow { margin-bottom: 6px; color: #a05c50; font-size: 8px; }
.admin-reset-copy h3 { margin: 0 0 6px; color: #69473f; font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 600; }
.admin-reset-copy > p:last-child { margin: 0; color: #887b76; font-size: 9px; line-height: 1.65; }
.reset-draw-form { display: flex; flex-direction: column; gap: 10px; }
.reset-confirm { display: flex; align-items: flex-start; gap: 8px; color: #827672; font-size: 9px; line-height: 1.5; }
.reset-confirm input { flex: 0 0 auto; margin: 1px 0 0; accent-color: #9c574c; }
.button-reset { justify-content: center; border: 1px solid #e4c8c0; background: #fff; color: #914b40; }
.button-reset:hover { background: #fbefeb; box-shadow: 0 3px 8px rgba(145, 75, 64, .1); }
.integrity-badge { display: flex; min-width: 190px; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid; border-radius: 7px; }
.integrity-ok { border-color: #d4e5d5; background: #f2f8f1; color: #356142; }
.integrity-error { border-color: #efcfc9; background: #fff4f1; color: #91473d; }
.integrity-icon { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: currentColor; color: #fff; font-size: 14px; font-weight: 700; }
.integrity-ok .integrity-icon { background: #d9ead9; color: #356142; }
.integrity-error .integrity-icon { background: #f6dfda; color: #91473d; }
.integrity-badge strong, .integrity-badge small { display: block; }
.integrity-badge strong { font-size: 10px; }
.integrity-badge small { margin-top: 3px; opacity: .8; font-size: 9px; }
.integrity-details { margin: 19px 0 13px; padding: 10px 12px; border-left: 2px solid #cfb274; background: #faf8f1; color: #728078; font-size: 10px; line-height: 1.6; }
.participant-roster { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.participant-roster li { display: flex; width: 100%; min-width: 0; min-height: 43px; align-items: center; gap: 11px; padding: 7px 10px; border: 1px solid #efeee7; border-radius: 5px; background: #fff; animation: roster-appear .42s cubic-bezier(.2,.8,.2,1) both; }
.participant-roster li:nth-child(n+9) { animation-delay: .56s; }
.participant-roster li:nth-child(2) { animation-delay: .07s; }
.participant-roster li:nth-child(3) { animation-delay: .14s; }
.participant-roster li:nth-child(4) { animation-delay: .21s; }
.participant-roster li:nth-child(5) { animation-delay: .28s; }
.participant-roster li:nth-child(6) { animation-delay: .35s; }
.participant-roster li:nth-child(7) { animation-delay: .42s; }
.participant-roster li:nth-child(8) { animation-delay: .49s; }
.roster-index { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #f3f1e8; color: #a1844f; font-family: Georgia, serif; font-size: 11px; }
.roster-name { min-width: 0; overflow: hidden; color: var(--pine); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.roster-tag { margin-left: auto; color: #a4aaa2; font-size: 7px; font-weight: 700; letter-spacing: .8px; }
@keyframes roster-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes celebration-enter { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes gift-pop { 0% { opacity: 0; transform: translateY(24px) scale(.65) rotate(-8deg); } 75% { transform: translateY(-5px) scale(1.05) rotate(2deg); } 100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }
@keyframes gift-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }
@keyframes ticket-drift { 0%, 100% { margin-top: 0; } 50% { margin-top: -8px; } }
@keyframes star-twinkle { from { opacity: .45; transform: scale(.8); } to { opacity: 1; transform: scale(1.18); } }
@keyframes confetti-burst { 0% { opacity: 0; transform: translateY(18px) rotate(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-32px) rotate(170deg); } }
.dashboard { margin-bottom: 23px; }
.wishlist-card, .draw-card { min-height: 342px; }
.wishlist-card .card-heading { margin-bottom: 13px; }
.wishlist-card .card-intro { margin-bottom: 18px; }
.draw-card { display: flex; flex-direction: column; justify-content: center; }
.participant-progress { margin: 12px 0; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #728078; font-size: 10px; }
.progress-label strong { color: var(--pine); font-size: 10px; }
.progress-meter { display: block; width: 100%; height: 5px; overflow: hidden; border: 0; border-radius: 5px; appearance: none; background: #edf0e9; }
.progress-meter::-webkit-progress-bar { border-radius: 5px; background: #edf0e9; }
.progress-meter::-webkit-progress-value { border-radius: 5px; background: #c9a76b; }
.progress-meter::-moz-progress-bar { border-radius: 5px; background: #c9a76b; }
.participant-progress > p { margin: 7px 0 0; color: #88938b; font-size: 9px; line-height: 1.6; }
.button-draw { width: 100%; margin-top: 13px; justify-content: center; gap: 11px; }
.draw-footnote { margin: 9px 0 0; color: #89938b; font-size: 9px; text-align: center; }
.waiting-note { display: flex; gap: 9px; align-items: center; margin-top: 15px; padding: 12px; border-radius: 5px; background: #f7f5ef; color: #77847c; font-size: 10px; line-height: 1.6; }
.waiting-note span { color: #ba9b62; font-size: 15px; }
.draw-result { position: relative; text-align: center; }
.result-sparkle { display: grid; width: 41px; height: 41px; margin: 0 auto 15px; place-items: center; border-radius: 50%; background: #f8f2e4; color: #b49459; font-size: 19px; }
.draw-result .eyebrow { margin-bottom: 8px; }
.draw-result h2 { font-size: 27px; }
.draw-result h2 em { display: inline-block; margin-top: 3px; font-size: 31px; }
.wish-reveal { margin: 17px 0 12px; padding: 14px; border: 1px solid #ede7d9; border-radius: 6px; background: #fbf9f3; text-align: left; }
.wish-label { color: #a1844f; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.wish-reveal p { margin: 8px 0 0; color: #596c60; font-size: 11px; line-height: 1.75; white-space: normal; overflow-wrap: anywhere; }
.secret-reminder { margin: 0; color: #8d978f; font-size: 9px; }
.secret-reminder span { color: #b49359; }
.waiting-draw { text-align: center; }
.waiting-draw > span { display: block; margin-bottom: 12px; font-size: 28px; }
.waiting-draw p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.footer { display: flex; justify-content: space-between; padding: 23px 0 28px; color: #919a91; font-size: 9px; }
.heart { color: var(--red); }
.snow { position: fixed; z-index: 0; width: 5px; height: 5px; border-radius: 50%; background: #d9e2d9; opacity: .55; pointer-events: none; }
.snow-one { top: 17%; left: 4%; box-shadow: 58vw 25vh 0 1px #e6dfce, 86vw 41vh 0 -1px #d9e2d9, 23vw 69vh 0 1px #e6dfce, 92vw 79vh 0 0 #d9e2d9; }
.snow-two { top: 69%; left: 12%; width: 3px; height: 3px; box-shadow: 32vw -48vh 0 0 #e6dfce, 72vw 14vh 0 1px #d9e2d9, 53vw 22vh 0 -1px #e6dfce; }

@media (max-width: 760px) {
    .page-shell { width: min(100% - 36px, 540px); }
    .topbar { height: 70px; }
    .hero { min-height: 317px; padding: 35px 0 133px; align-items: flex-start; }
    .hero-copy { width: 100%; }
    h1 { font-size: clamp(42px, 10vw, 56px); }
    .hero-description { max-width: 360px; font-size: 12px; }
    .hero-art { top: auto; right: -17px; bottom: 0; width: 58%; height: 183px; opacity: .9; }
    .moon { top: 6px; right: 35px; width: 34px; height: 34px; box-shadow: 0 0 0 8px rgba(228, 211, 173, .16); }
    .tree-front { right: 68px; transform: scale(.68); }
    .tree-back { right: -29px; bottom: -7px; transform: scale(.52); }
    .ground { bottom: 7px; }
    .gift { right: 133px; bottom: 16px; transform: scale(.8); }
    .gift-two { right: 174px; bottom: 12px; transform: scale(.55); }
    .content-grid, .dashboard { grid-template-columns: 1fr; gap: 13px; }
    .card { padding: 23px 21px; }
    .wishlist-card, .draw-card { min-height: 0; }
    .draw-card { padding: 25px 21px; }
    .draw-celebration { grid-template-columns: 1fr; gap: 4px; padding: 21px; }
    .celebration-art { width: 185px; height: 155px; margin: 0 auto; transform: scale(.9); }
    .celebration-copy { text-align: center; }
    .celebration-copy .eyebrow { justify-content: center; }
    .celebration-copy > p:not(.eyebrow) { margin-right: auto; margin-left: auto; }
    .post-draw-card { padding: 21px; }
    .post-draw-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
    .admin-reset-panel { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
    .integrity-badge { min-width: 0; width: 100%; }
    .footer { gap: 12px; font-size: 8px; }
}

@media (max-width: 390px) {
    .page-shell { width: calc(100% - 28px); }
    .account { gap: 10px; }
    .account-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hero { padding-bottom: 131px; }
    .hero-art { right: -23px; }
    .roster-tag { font-size: 6px; }
    .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
