@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#193b32;background:#f8f7f1;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}.topbar{max-width:1240px;width:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:25px 40px}.brand{text-decoration:none;font-size:1.12rem;font-weight:700;letter-spacing:-.05em;display:flex;align-items:center;gap:8px}.brand-mark{font-size:1.7rem;color:#ec805f}.brand-dot{color:#ed805f;margin-left:-7px}.text-button{border:0;background:none;color:#345a4e;font-weight:700;padding:8px}.text-button:hover{text-decoration:underline}main{width:100%;flex:1}.hero{max-width:1240px;margin:10px auto 52px;padding:25px 40px 0;display:grid;grid-template-columns:1.05fr .95fr;gap:5%;align-items:center}.eyebrow{font-size:.78rem;letter-spacing:.18em;font-weight:700;text-transform:uppercase;color:#a15643;display:flex;align-items:center;gap:9px}.eyebrow:before{content:'';width:26px;height:2px;background:#dc8b72}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Fraunces,Georgia,serif;letter-spacing:-.035em}h1{font-size:clamp(3.2rem,6.4vw,5.7rem);line-height:1.02;margin:22px 0}.hero h1 em{font-style:normal;color:#e37e61}.hero-copy{font-size:1.13rem;line-height:1.7;color:#64756c;max-width:470px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0 22px}.btn{border-radius:10px;padding:14px 22px;border:1px solid transparent;font-weight:700;min-height:50px;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:#194c3d;color:#fff}.btn-primary:hover{background:#123b30}.btn-outline{background:white;border-color:#d7e0d9;color:#214d40}.btn-soft{background:#edf4eb;color:#245240}.btn-danger{background:#fff2ee;color:#9b493d}.hint{font-size:.88rem;color:#7a887e}.hero-art{min-height:490px;border-radius:22px;background:#dcebd9;position:relative;display:grid;place-items:center;overflow:hidden}.hero-art:before,.hero-art:after{content:'✳';position:absolute;color:#7ba886;font-size:2rem}.hero-art:before{top:13%;left:14%}.hero-art:after{bottom:13%;right:14%;color:#e69a80}.art-circle{width:320px;height:320px;max-width:76%;aspect-ratio:1;border-radius:50%;background:#f7d8c7;position:relative;display:grid;place-items:center}.gift{position:relative;width:165px;height:150px;background:#df7e60;border-radius:4px 4px 12px 12px;box-shadow:0 16px 0 rgba(132,72,52,.08);transform:rotate(-7deg)}.gift:before{content:'';position:absolute;height:35px;background:#ef9b7d;left:-10px;right:-10px;top:-20px;border-radius:5px}.gift:after{content:'';position:absolute;width:28px;height:170px;background:#f8e6cc;left:68px;top:-20px}.bow{position:absolute;top:-60px;left:51px;width:75px;height:47px;z-index:1}.bow:before,.bow:after{content:'';position:absolute;width:42px;height:32px;border:9px solid #f8e6cc;border-radius:50% 50% 4px 50%;transform:rotate(25deg)}.bow:after{left:29px;transform:scaleX(-1) rotate(25deg)}.art-label{position:absolute;bottom:30px;left:28px;background:#fffdf7;padding:14px 18px;border-radius:11px;box-shadow:0 10px 25px #31583d18;font-size:.88rem;font-weight:700}.art-label span{display:block;color:#8d9b8e;font-weight:400;margin-top:3px}.steps{background:#eef3ea;padding:32px 40px}.steps-inner{max-width:1160px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}.step{display:flex;gap:15px;align-items:flex-start}.step-num{background:#fff;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-weight:700;flex:none}.step strong{display:block;margin-bottom:5px}.step p{color:#738278;font-size:.9rem;margin:0;line-height:1.5}.page{max-width:1040px;margin:22px auto 70px;padding:0 30px}.back{display:inline-block;margin:0 0 22px;text-decoration:none;font-weight:700;color:#647f70}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:26px}.page-head h1{font-size:clamp(2.5rem,5vw,4rem);margin:12px 0}.page-head p{color:#708176;margin:0;line-height:1.5}.grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:start}.stack{display:grid;gap:20px}.card{background:white;border:1px solid #e7ede6;border-radius:16px;padding:25px;box-shadow:0 8px 30px #31583d08}.card h2{font-size:1.65rem;margin-bottom:8px}.card h3{font-size:1.3rem;margin-bottom:8px}.card p{line-height:1.6;color:#6d7d72}.form{display:grid;gap:17px}.field{display:grid;gap:7px}.field label{font-weight:700;font-size:.92rem}.field small{color:#7d8b80;line-height:1.4}input,textarea,select{width:100%;border:1px solid #d8e2d9;border-radius:9px;background:#fff;padding:12px 13px;color:#193b32;min-height:48px}textarea{resize:vertical;min-height:92px}input:focus,textarea:focus,select:focus{outline:3px solid #cde4ce;outline-offset:1px}.form-actions{display:flex;flex-wrap:wrap;gap:10px}.code{font-size:1.75rem;font-weight:700;letter-spacing:.12em;word-break:break-all}.badge{display:inline-flex;border-radius:999px;background:#e7f1e5;color:#346e4e;padding:7px 11px;font-size:.78rem;font-weight:700}.badge.done{background:#fae9df;color:#9c5b40}.players{list-style:none;padding:0;margin:15px 0 0}.players li{padding:13px 0;border-top:1px solid #eef1ed;display:flex;align-items:center;justify-content:space-between;gap:10px}.person{display:flex;gap:10px;align-items:center}.avatar{background:#e7f1e5;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#4c8062}.mini{border:0;background:none;text-decoration:underline;color:#8b6154;padding:6px}.share-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.share-row .btn{padding:10px 14px;min-height:43px;font-size:.9rem}.detail{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf1ed}.detail span:first-child{color:#7a887e}.detail span:last-child{text-align:right;font-weight:700}.note{padding:13px 15px;background:#f5f8f2;border-radius:9px;color:#607566;font-size:.9rem;line-height:1.5}.result{background:#1d5141;color:white;overflow:hidden;position:relative}.result h2{color:#fff;font-size:2rem;margin:12px 0}.result p{color:#d4e5d6;white-space:pre-wrap}.result .eyebrow{color:#f7c5ae}.result .eyebrow:before{background:#f7c5ae}.results{line-height:1.8}.danger-text{color:#a04e40!important}.loading{padding:80px;text-align:center;color:#6c8071}footer{border-top:1px solid #e6ece4;display:flex;justify-content:space-between;gap:20px;color:#8b9b8e;font-size:.8rem;padding:24px 40px}footer span span{color:#db886e}dialog{border:0;border-radius:16px;padding:26px;max-width:560px;width:calc(100% - 32px);box-shadow:0 20px 80px #122e2555;color:#193b32}dialog::backdrop{background:#102b24a8}.dialog-header{display:flex;justify-content:space-between;align-items:center;font-family:Fraunces,Georgia,serif;font-size:1.45rem}.icon-button{border:0;background:#eff4ee;border-radius:50%;font-size:1.5rem;width:38px;height:38px;line-height:1}.dialog-body{line-height:1.65;color:#60766a}.dialog-body ol{padding-left:22px}.dialog-body li{margin:10px 0}.link-box{overflow-wrap:anywhere;background:#f2f6ef;padding:12px;border-radius:8px;font-size:.9rem;color:#345a4e;user-select:all}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#193b32;color:white;padding:12px 18px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:4}#toast.show{opacity:1}@media(max-width:720px){.topbar{padding:18px 20px}.hero{grid-template-columns:1fr;padding:18px 20px 0;gap:25px;margin-bottom:28px}.hero h1{font-size:3.4rem}.hero-art{min-height:300px}.art-circle{width:230px;height:230px}.gift{transform:scale(.75) rotate(-7deg)}.art-label{bottom:16px;left:16px}.steps{padding:27px 20px}.steps-inner{grid-template-columns:1fr;gap:20px}.grid{grid-template-columns:1fr}.page{padding:0 18px;margin-top:15px}.page-head{align-items:start;flex-direction:column}.card{padding:20px}footer{padding:20px;flex-direction:column;gap:6px}.hero-actions .btn{flex:1}.code{font-size:1.45rem}}
