.buddy-preview[hidden],.buddy-rules-sheet[hidden],.buddy-share-sheet[hidden],.buddy-qr-sheet[hidden]{display:none!important}
.buddy-preview{position:absolute;inset:29px 0 72px;z-index:10;display:flex;flex-direction:column;min-height:0;padding:0 16px;color:#193e32;background:linear-gradient(170deg,#f3faf6 0%,#fafbf8 55%,#f4f9f4 100%)}
.buddy-topbar{height:69px;flex:none;display:flex;align-items:center;gap:10px}
.buddy-topbar>div{flex:1;display:flex;flex-direction:column;gap:3px}.buddy-topbar strong{font-size:15px;letter-spacing:-.2px}.buddy-topbar span{font-size:10px;color:#698173}
.buddy-back,.buddy-rules-open{border:1px solid #e2eee5;background:#fff;box-shadow:0 3px 12px #235f3b0c;color:#185e45}
.buddy-back{width:38px;height:38px;border-radius:13px;font-size:27px;line-height:1;padding:0 0 4px}.buddy-rules-open{padding:9px 13px;border-radius:12px;font-size:10px;font-weight:800}
.buddy-scroll{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding-bottom:28px}.buddy-scroll::-webkit-scrollbar{display:none}
.buddy-hero{height:181px;position:relative;overflow:hidden;border-radius:24px;padding:23px 20px;background:radial-gradient(circle at 85% 25%,#3cab79 0%,transparent 37%),linear-gradient(126deg,#084b37 0%,#0e805a 64%,#16956a 100%);color:white;box-shadow:0 14px 28px #0c6f4b25}
.buddy-hero:before{content:"";position:absolute;right:-55px;top:-68px;width:220px;height:220px;border:1px solid #c3edce40;border-radius:50%}.buddy-hero:after{content:"";position:absolute;right:17px;bottom:-74px;width:160px;height:160px;border:1px solid #c3edce36;border-radius:50%}
.buddy-eyebrow{position:relative;z-index:1;color:#b5e8cf;font-size:9px;font-weight:900;letter-spacing:1.5px}.buddy-hero h2{position:relative;z-index:1;font-size:27px;line-height:1.07;letter-spacing:-.9px;margin:15px 0 9px}.buddy-hero h2 em{font-style:normal;color:#ffdc8a}.buddy-hero p{position:relative;z-index:1;max-width:205px;color:#e2f6e9;font-size:10.5px;line-height:1.5;margin:0}.buddy-hero-art{position:absolute;right:11px;bottom:20px;width:132px;height:123px}.buddy-art-person{position:absolute;border-radius:20px 20px 13px 13px;background:#eff9ed;box-shadow:0 7px 18px #003e292f}.buddy-art-person:before{content:"";position:absolute;left:50%;transform:translateX(-50%);top:12px;width:25px;height:25px;border-radius:50%;background:#ddac78}.buddy-art-person.one{width:74px;height:92px;right:48px;bottom:6px;transform:rotate(-11deg)}.buddy-art-person.one:after{content:"";position:absolute;bottom:0;left:9px;width:56px;height:37px;border-radius:25px 25px 10px 10px;background:#f2bb65}.buddy-art-person.two{width:69px;height:81px;right:5px;bottom:0;transform:rotate(12deg);background:#e0f2e4}.buddy-art-person.two:after{content:"";position:absolute;bottom:0;left:8px;width:53px;height:32px;border-radius:24px 24px 10px 10px;background:#8bccae}.buddy-art-star{position:absolute;right:10px;top:0;color:#ffd77e;font-size:24px}
.buddy-code-card{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px 15px;background:white;border:1px solid #e1ece4;border-radius:20px;box-shadow:0 6px 18px #1951380d}.buddy-code-card>div{flex:1;min-width:0}.buddy-code-card small{display:block;color:#648071;font-size:9px;font-weight:900;letter-spacing:1.2px}.buddy-code-card strong{display:block;font-size:22px;letter-spacing:2px;margin-top:3px;font-variant-numeric:tabular-nums}.buddy-copy{display:flex;align-items:center;gap:5px;border:0;border-radius:11px;padding:8px 10px;background:#e8f5ed;color:#0a7955;font-size:10px;font-weight:800}.buddy-copy svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.buddy-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.buddy-stats>div{display:flex;flex-direction:column;gap:4px;padding:12px 8px;background:#fff;border:1px solid #e6eee8;border-radius:16px;text-align:center}.buddy-stats strong{font-size:18px;letter-spacing:-.5px}.buddy-stats span{font-size:9px;color:#6a8174;font-weight:700}
.buddy-section-head{margin:20px 2px 11px}.buddy-section-head span,.buddy-records>div:first-child span{display:block;color:#0c7754;font-size:9px;font-weight:900;letter-spacing:1.4px}.buddy-section-head h3,.buddy-records h3{font-size:17px;letter-spacing:-.4px;margin:5px 0 0}.buddy-steps{background:#fff;border:1px solid #e4eee6;border-radius:20px;padding:4px 14px;box-shadow:0 4px 13px #17472f09}.buddy-step{display:flex;align-items:center;gap:11px;min-height:67px}.buddy-step+.buddy-step{border-top:1px solid #ebf1eb}.buddy-step-icon{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:11px;background:#ebf6ed;color:#18825c}.buddy-step-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.buddy-step>div{flex:1;min-width:0}.buddy-step strong{display:block;font-size:11px}.buddy-step p{margin:4px 0 0;color:#697e70;font-size:9px;line-height:1.35}.buddy-step>b{font-size:10px;color:#99ad9e;font-variant-numeric:tabular-nums}
.buddy-records{position:relative;margin-top:17px;background:#fff;border:1px solid #e5eee6;border-radius:20px;padding:15px}.buddy-records h3{font-size:16px}.buddy-record-count{position:absolute;right:15px;top:24px;color:#6f8778;font-size:10px;font-weight:800}.buddy-empty{text-align:center;padding:20px 12px 12px}.buddy-empty-icon{width:37px;height:37px;display:grid;place-items:center;margin:0 auto 9px;border-radius:13px;background:#e9f5eb;color:#0a7955;font-size:18px}.buddy-empty strong{display:block;font-size:11px}.buddy-empty p{max-width:240px;margin:5px auto 0;color:#758a7b;font-size:9px;line-height:1.5}.buddy-preview-note{text-align:center;color:#89a093;font-size:9px;margin:13px 0 0}
.buddy-footer{flex:none;padding:8px 0 3px;background:linear-gradient(0deg,#f6faf6 85%,transparent)}.buddy-share,.buddy-sheet-done,.buddy-share-copy{display:block;width:100%;min-height:45px;border:0;border-radius:14px;background:linear-gradient(110deg,#0a7050,#128c62);color:#fff;font-size:12px;font-weight:800;box-shadow:0 8px 16px #095f4424}
.buddy-rules-sheet,.buddy-share-sheet{position:absolute;inset:-29px 0 -72px;z-index:30;display:flex;align-items:flex-end;background:#1028207d;padding:0}.buddy-sheet-card{width:100%;max-height:80%;overflow-y:auto;padding:9px 20px 22px;border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -15px 40px #002b251f}.buddy-sheet-handle{width:40px;height:4px;border-radius:4px;background:#dce5dd;margin:0 auto 20px}.buddy-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.buddy-sheet-head h3{font-size:19px;letter-spacing:-.5px;margin:0}.buddy-rules-close,.buddy-share-close{width:30px;height:30px;border:0;border-radius:50%;background:#eff4f0;color:#466758;font-size:22px}.buddy-sheet-content{display:grid;gap:10px}.buddy-sheet-content p{margin:0;padding:11px 13px;border-radius:12px;background:#f5faf6;color:#405c4b;font-size:11px;line-height:1.55}.buddy-sheet-done{margin-top:20px}.buddy-share-text{padding:18px 14px;border:1px solid #e4eee5;border-radius:15px;background:#f6faf6;color:#365744;font-size:12px;line-height:1.5}.buddy-share-text b{letter-spacing:1px;color:#096c4d}.buddy-share-feedback{height:18px;margin:8px 0 0;text-align:center;color:#0a7955;font-size:10px}.buddy-preview button{cursor:pointer}.buddy-preview button:focus-visible{outline:2px solid #0a7955;outline-offset:2px}
@media(max-width:360px){.buddy-preview{padding-left:13px;padding-right:13px}.buddy-hero h2{font-size:24px}.buddy-hero-art{right:-6px;transform:scale(.86);transform-origin:right bottom}.buddy-hero p{max-width:190px}}
.buddy-hero p{max-width:176px}.buddy-hero-art{right:-3px;transform:scale(.86);transform-origin:right bottom}
.buddy-qr-open{width:100%;min-height:76px;display:flex;align-items:center;gap:12px;margin-top:10px;padding:8px 12px;border:1px solid #d9e9de;border-radius:18px;background:linear-gradient(110deg,#f8fcf9,#eaf6ee);color:#183e30;text-align:left;box-shadow:0 4px 12px #155a3a0a}.buddy-qr-thumb{width:57px;height:57px;flex:none;display:grid;place-items:center;padding:3px;border-radius:11px;background:#fff;box-shadow:0 2px 9px #145c390e}.buddy-qr-thumb img{width:51px;height:51px;display:block;image-rendering:pixelated}.buddy-qr-copy{flex:1;min-width:0}.buddy-qr-copy strong{display:block;font-size:12px}.buddy-qr-copy small{display:block;margin-top:4px;color:#6f8677;font-size:9.5px;line-height:1.35}.buddy-qr-arrow{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:9px;background:#fff;color:#0e7652;font-size:16px}
.buddy-qr-sheet{position:absolute;inset:-29px 0 -72px;z-index:31;display:grid;place-items:center;padding:20px;background:#102820aa}.buddy-qr-panel{position:relative;width:100%;padding:24px 22px 22px;border-radius:26px;background:linear-gradient(180deg,#fff,#f7fbf7);text-align:center;box-shadow:0 24px 55px #001d1a40}.buddy-qr-close{position:absolute;top:15px;right:15px;width:31px;height:31px;border:0;border-radius:50%;background:#edf4ee;color:#496756;font-size:22px}.buddy-qr-panel-eyebrow{display:block;margin:3px 20px 10px;color:#0d7655;font-size:9px;font-weight:900;letter-spacing:1.3px}.buddy-qr-panel h3{margin:0;color:#153d2f;font-size:23px;letter-spacing:-.6px}.buddy-qr-panel p{margin:7px 0 17px;color:#637b6b;font-size:11px;line-height:1.4}.buddy-qr-full{width:244px;height:244px;max-width:100%;display:grid;place-items:center;margin:auto;padding:12px;border:1px solid #dce9df;border-radius:18px;background:#fff;box-shadow:0 9px 22px #19593b0f}.buddy-qr-full img{width:100%;height:100%;image-rendering:pixelated}.buddy-qr-code-label{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:16px 0 18px}.buddy-qr-code-label span{color:#748a7a;font-size:9px;font-weight:900;letter-spacing:1px}.buddy-qr-code-label strong{color:#0b684a;font-size:18px;letter-spacing:2px}.buddy-qr-download{display:grid;place-items:center;width:100%;min-height:44px;border-radius:13px;background:linear-gradient(110deg,#0a7050,#128c62);color:#fff;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 8px 16px #095f4424}
