@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--cream:#f7f1e5;--paper:#fffaf0;--green:#173f35;--deep:#103329;--red:#b9473c;--ink:#203e35;--gold:#dfb660}*{box-sizing:border-box}html{background:var(--cream)}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:var(--cream);min-height:100vh}.garland{height:28px;background:var(--green);display:flex;align-items:center;justify-content:space-around;color:#e8bd69;font-size:10px;overflow:hidden}.garland span:nth-child(even){color:#f2e5c8;font-size:8px}.app{width:min(100% - 36px,520px);margin:auto}header{height:89px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cfc8b8}.brand{text-decoration:none;color:var(--green);display:flex;align-items:center;gap:9px;font-size:17px;line-height:.86;letter-spacing:-.8px}.brand strong{font-weight:700}.brand-mark{font-size:38px;color:var(--red)}button,input,textarea{font:inherit}button{cursor:pointer}.sound{border:1px solid #bcb8a9;background:transparent;color:var(--green);border-radius:30px;padding:9px 13px;font-size:14px}.sound span{font-size:11px;font-weight:700;margin-left:4px}.page{display:none;padding:36px 0 115px}.page.active{display:block;animation:appear .35s ease}.eyebrow,.section-label,.welcome-top,.game-num,.question-top,.question-bottom,footer{font-size:9px;font-weight:700;letter-spacing:.15em}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--red)}.eyebrow span:nth-child(2){font-size:15px}h1,h2,.hello,.cycling,.recipient,.slot,.game-choice strong{font-family:'DM Serif Display',Georgia,serif;font-weight:400}h1{font-size:clamp(39px,9.7vw,54px);line-height:1.03;letter-spacing:-.035em;margin:19px 0 13px}h1 em{color:var(--red);font-weight:400}.intro{font-size:14px;line-height:1.6;margin:0 0 28px;color:#58685f}.welcome{background:var(--green);color:#f6eddb;border-radius:4px;overflow:hidden;box-shadow:0 12px 25px #183d3420}.welcome-top{display:flex;justify-content:space-between;border-bottom:1px solid #ffffff35;padding:17px 20px;color:#e7d5ac}.welcome-body{position:relative;padding:33px 26px 27px;min-height:250px;background:radial-gradient(circle at 94% 18%,#31594a 0,transparent 40%)}.stamp{position:absolute;right:25px;top:32px;width:57px;height:57px;border:1px solid #d9bc7f;border-radius:50%;display:grid;place-items:center;color:#eac779;font-size:29px;transform:rotate(15deg)}.hello{font-size:34px;margin:0;line-height:1}.comma{color:#edbb63}.cycling{font-size:clamp(34px,8vw,46px);color:#f0c875;line-height:1.1;min-height:57px;transition:opacity .17s,transform .17s;overflow-wrap:anywhere}.cycling.change{opacity:0;transform:translateY(-6px)}.welcome-copy{font-size:12px;line-height:1.6;color:#dfdfce;margin:21px 0}.dots{font-size:12px;color:#e3bb6a}.form-panel{padding:27px 0 0}.section-label{display:flex;justify-content:space-between;color:var(--red);border-bottom:1px solid #d6cdbd;padding-bottom:11px}.form-panel h2{font-size:29px;letter-spacing:-.02em;margin:19px 0 8px}.form-panel p{font-size:13px;line-height:1.6;color:#677168;margin:0 0 20px}.form-panel label{display:block;font-size:12px;font-weight:700;margin:17px 0 8px}.form-panel label small{display:block;font-weight:400;color:#777f73;margin-top:4px}.form-panel input,.form-panel textarea{width:100%;border:1px solid #b9b9a8;background:#fffdf7;color:var(--green);border-radius:4px;padding:15px;outline:none}.form-panel input:focus,.form-panel textarea:focus{border-color:var(--green);box-shadow:0 0 0 2px #b2c6b3}.code-row{display:flex}.code-row input{border-radius:4px 0 0 4px;letter-spacing:.16em;font-weight:700;text-transform:uppercase}.go{border:0;background:var(--red);color:white;border-radius:0 4px 4px 0;min-width:64px;font-size:23px}.privacy{font-size:11px!important;margin-top:17px!important}.primary{width:100%;border:0;background:var(--red);color:white;padding:17px 18px;border-radius:4px;font-weight:700;text-align:left;display:flex;justify-content:space-between;transition:transform .2s,background .2s}.primary:hover,.go:hover{background:#98382f}.primary:active,.game-choice:active{transform:scale(.98)}button:disabled{opacity:.6;cursor:wait}.text-button,.back{border:0;background:none;color:var(--green);padding:15px 0;text-decoration:underline;font-size:12px;font-weight:700}.error{color:#a22d26!important;font-weight:700;margin:8px 0!important}.hint{font-size:11px!important;color:#737e72!important;margin:11px 0!important}.recipient,.slot{font-size:clamp(38px,9vw,50px);color:var(--red);overflow-wrap:anywhere}.slot{padding:30px 16px;background:#f0e5d2;text-align:center;border-block:1px dashed #c7b69a;margin:20px 0}.first{background:#f5e6c9;padding:14px;color:var(--green)!important;border-left:3px solid var(--gold);margin-top:18px!important}.codes{list-style:none;padding:0;border-top:1px solid #ddd2bf}.codes li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #ddd2bf;font-size:13px}.codes strong{letter-spacing:.1em}.game-choice{position:relative;display:block;text-align:left;width:100%;border:0;border-radius:4px;padding:20px 22px 23px;margin:0 0 13px;color:#fff8ea;min-height:190px;overflow:hidden;transition:transform .2s}.game-choice.red{background:#b9473c}.game-choice.green{background:var(--green)}.game-num{display:flex;justify-content:space-between;color:#f1ddbe}.game-num span{font-size:17px}.game-choice strong{display:block;font-size:31px;line-height:1.02;margin:21px 0 13px;position:relative;z-index:1}.game-choice small{font-size:11px;position:relative;z-index:1}.game-symbol{position:absolute;right:14px;bottom:-30px;font-size:155px;line-height:1;color:#ffffff18}.game-note{font-size:11px;color:#6d786b;margin-top:22px}.back{margin-bottom:6px}.question-card{background:var(--green);color:#fff7e8;padding:22px;border-radius:4px;min-height:330px;display:flex;flex-direction:column}.question-card.pop{animation:appear .3s ease}.question-top,.question-bottom{display:flex;justify-content:space-between;color:#e9d7b1}.question-icon{color:#ecc26f;font-size:27px;margin-top:42px}.question-card h2{font-size:clamp(28px,7vw,38px);line-height:1.12;margin:14px 0 35px;overflow-wrap:anywhere}.question-bottom{margin-top:auto;border-top:1px solid #ffffff50;padding-top:15px}.question-card+.primary{margin-top:15px}.option{border:1px solid #ffffff70;padding:14px;font-size:14px;line-height:1.4;display:flex;gap:13px}.option span{color:#ecc26f;font-weight:700}.or{text-align:center;font-size:10px;margin:8px;color:#e7d4ad}#options{margin-bottom:26px}nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,556px);display:flex;background:#fffaf0;border:1px solid #d9d0be;box-shadow:0 -8px 25px #183d3412;padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:5px}nav button{flex:1;border:0;background:transparent;border-radius:3px;color:#6d796e;font-size:11px;font-weight:700;padding:11px 5px}nav button span{font-size:16px;margin-right:6px}nav button.selected{color:var(--green);background:#e5eadc}footer{text-align:center;color:#9b9e8b;padding-bottom:100px}footer span{color:var(--red);padding:0 7px}#confetti{pointer-events:none;position:fixed;inset:0;z-index:20;overflow:hidden}#confetti i{position:absolute;top:-15px;width:7px;height:13px;animation:fall 2.5s ease-in forwards}@keyframes fall{to{transform:translateY(110vh) rotate(650deg);opacity:0}}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}[hidden]{display:none!important}:focus-visible{outline:3px solid #e6ae43;outline-offset:3px}@media(min-width:700px){.app{width:520px}h1{font-size:54px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.form-panel select{width:100%;border:1px solid #b9b9a8;background:#fffdf7;color:#173f35;border-radius:4px;padding:15px;margin-bottom:10px}.form-panel .recipient{font-size:clamp(25px,6vw,38px);letter-spacing:.04em;padding:12px 0 24px}.form-panel h2 small{font-family:'DM Sans',sans-serif;font-size:14px;color:#677168}
.draw-list{margin:26px 0}.draw-item{padding:19px 0;border-bottom:1px solid #d6cdbd}.draw-item h3{font:400 24px 'DM Serif Display',Georgia,serif;margin:7px 0 4px;overflow-wrap:anywhere}.draw-item small{font-size:11px;color:#677168}.draw-status{font-size:9px;letter-spacing:.14em;font-weight:700;color:#b9473c}.draw-item details{margin-top:16px}.draw-item summary{cursor:pointer;font-size:12px;font-weight:700}.draw-actions{display:flex;flex-wrap:wrap;gap:0 20px}.draw-actions .delete{color:#a02d26}

.codes li .issue{padding:0;font-size:11px;white-space:nowrap;margin-left:12px}.code-output strong{overflow-wrap:anywhere;text-align:right;font-size:12px}
