:root{--bg:#f2f3f5;--card:#fff;--ink:#191b1f;--sub:#6b7079;--mute:#8b9099;--line:#e6e7ea;--red:#c8202f;--red-dark:#9e1825;--red-soft:#fff1f2;--radius:22px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{color:var(--ink);-webkit-font-smoothing:antialiased;word-break:keep-all;background:#e7e8eb;font-family:Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,sans-serif}button,input,textarea{color:inherit;font-family:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit}:focus-visible{outline-offset:2px;outline:3px solid #2f6fe4}.app{background:var(--bg);flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex;position:relative}.pad{padding:0 20px}.header{grid-template-columns:44px 1fr 44px;align-items:center;min-height:72px;padding:14px 20px 8px;display:grid}.header h1{text-align:center;margin:0;font-size:17px;font-weight:700}.brand{letter-spacing:-.04em;align-items:center;gap:6px;font-size:22px;font-weight:900;text-decoration:none;display:flex}.iconbtn{background:0 0;border:0;border-radius:22px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}.card{background:var(--card);border-radius:var(--radius);padding:20px}.stack{flex-direction:column;display:flex}.muted{color:var(--sub)}.small{font-size:13px}.btn{border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;height:54px;font-size:17px;font-weight:700;text-decoration:none;transition:transform .1s,background .15s;display:inline-flex}.btn:active{transform:scale(.985)}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:#b51c2a}.btn-red:disabled{background:#e3a3a9}.btn-ghost{color:var(--ink);background:#fff;border:1px solid #d5d8dd;font-weight:500}.btn-dark{background:var(--ink);color:#fff}.field{flex-direction:column;gap:8px;display:flex}.field label,.label{font-size:15px;font-weight:700}.input,.textarea{background:var(--bg);border:0;border-radius:14px;width:100%;padding:0 16px;font-size:16px}.input{height:50px}.textarea{resize:none;min-height:110px;padding:14px 16px;line-height:1.55}.input::placeholder,.textarea::placeholder{color:#9aa0a8}.seg{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.seg button{background:var(--bg);color:#4a4f57;border:0;border-radius:14px;height:46px;font-size:15px}.seg button[aria-pressed=true]{background:var(--red);color:#fff;font-weight:700}.chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.chips button{background:var(--bg);color:#4a4f57;border:0;border-radius:999px;height:40px;font-size:14px}.chips button[aria-pressed=true]{background:var(--ink);color:#fff;font-weight:700}.bottombar{padding:12px 20px calc(16px + env(safe-area-inset-bottom));background:linear-gradient(to top, var(--bg) 70%, #f2f3f500);z-index:5;gap:8px;display:flex;position:sticky;bottom:0}.grid4{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:10px;display:grid}.cell{aspect-ratio:1;background:#fff;border:0;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:0;font-size:18px;font-weight:700;display:flex;position:relative}.cell-num{line-height:1}.cell-feature{aspect-ratio:auto;background:var(--red);color:#fff;text-align:left;border-radius:24px;grid-area:span 2/span 2;justify-content:space-between;align-items:flex-start;padding:16px;overflow:hidden;box-shadow:0 10px 24px #c8202f40}.cell-feature.locked{box-shadow:none}.feature-num{font-size:56px;font-weight:900;line-height:1}.cell-feature .gift{position:absolute;top:10px;right:10px}@keyframes wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}.cell-feature:not(.locked) .gift{animation:1.6s ease-in-out infinite wiggle}.scrim{z-index:30;background:#11131780;justify-content:center;align-items:flex-end;animation:.2s ease-out fade;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:100%;max-width:480px;max-height:92dvh;padding:10px 20px calc(24px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;flex-direction:column;gap:14px;animation:.28s cubic-bezier(.2,.8,.2,1) up;display:flex;overflow-y:auto}.grabber{background:#cdd0d5;border-radius:3px;align-self:center;width:40px;height:5px}@keyframes up{0%{opacity:0;transform:translateY(60px)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}.toast{left:50%;bottom:calc(96px + env(safe-area-inset-bottom));color:#fff;z-index:40;background:#191b1feb;border-radius:14px;width:calc(100% - 40px);max-width:340px;padding:12px 16px;font-size:14px;line-height:1.45;animation:.2s ease-out fade;position:fixed;transform:translate(-50%)}.tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.tile{background:var(--bg);border-radius:16px;flex-direction:column;align-items:center;gap:2px;padding:12px 0 10px;display:flex}.tile b{font-variant-numeric:tabular-nums;font-size:28px;font-weight:800;line-height:1.15}.tile span{color:var(--sub);font-size:12px}.photo{aspect-ratio:335/300;color:#fff;background:#2a1c1a;border-radius:24px;width:100%;position:relative;overflow:hidden}.photo img{object-fit:cover;width:100%;height:100%;display:block}.photo .over{background:linear-gradient(#0000,#0009);padding:48px 20px 18px;position:absolute;inset:auto 0 0}.ticket{background:var(--red);color:#fff;border-radius:22px;padding:22px 20px;position:relative;overflow:hidden}.ticket:before,.ticket:after{content:"";background:var(--bg);border-radius:50%;width:22px;height:22px;margin-top:-11px;position:absolute;top:50%}.ticket:before{left:-11px}.ticket:after{right:-11px}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.spin{border:3px solid #e3a3a9;border-top-color:var(--red);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite rot}@keyframes rot{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
