:root{--bg:#faf6f3;--surface:#fff;--border:#e8ddd7;--border-strong:#c9b8af;--text:#3d2a22;--text-heading:#1c0f09;--text-secondary:#5e3e34;--text-inactive:#8c6558;--primary:#2c1810;--primary-hover:#1c0f09;--accent:#8c4f1a;--accent-hover:#7a4015;--accent-light:#f5e8df;--error:#b83230;--error-bg:#fdf3f2;--radius:.75rem;--radius-sm:.5rem;--radius-full:9999px;--shadow-sm:0 1px 3px #2c181012, 0 1px 2px #2c18100a;--shadow:0 4px 16px #2c18101a, 0 2px 6px #2c18100d;--sans:system-ui, -apple-system, "Segoe UI", sans-serif;font-family:var(--sans);color:var(--text);background:var(--bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:125%;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#1a110d;--surface:#241810;--border:#3a2820;--border-strong:#5a3e32;--text:#c4a090;--text-heading:#f5ede8;--text-secondary:#c4a090;--text-inactive:#9a7a6e;--primary:#f0e0d4;--primary-hover:#fff;--accent:#d4814a;--accent-hover:#e0925a;--accent-light:#2e1e14;--error:#e05040;--error-bg:#2a1210}}*,:before,:after{box-sizing:border-box}body{margin:0}#root{flex-direction:column;max-width:480px;min-height:100svh;margin:0 auto;display:flex}h1,h2,h3{color:var(--text-heading);margin:0;font-weight:600;line-height:1.2}h1{font-size:1.5rem}h2{font-size:1.1rem}h3{font-size:1rem}p{margin:0}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}input[type=email],input[type=text],input[type=number],select{width:100%;font-size:1rem;font-family:var(--sans);background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius-sm);color:var(--text-heading);outline:none;padding:.65rem .75rem;transition:border-color .15s}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d2a22' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:38px}input[type=email]::placeholder,input[type=text]::placeholder,input[type=number]::placeholder{color:var(--text-secondary)}input[type=email]:focus,input[type=text]:focus,input[type=number]:focus,select:focus{border-color:var(--accent)}.btn{width:100%;font-size:1.1rem;font-family:var(--sans);border-radius:var(--radius-sm);cursor:pointer;border:none;justify-content:center;align-items:center;gap:.4rem;padding:.65rem 1rem;font-weight:500;line-height:1;text-decoration:none;transition:background .15s,opacity .15s;display:flex}.btn:hover{text-decoration:none}.btn:disabled{cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}@media (prefers-color-scheme:dark){.btn-primary{color:var(--bg)}}.btn-outline{background:var(--surface);color:var(--text-heading);border:1.5px solid var(--border)}.btn-outline:hover{background:var(--bg)}.page{flex-direction:column;flex:1;gap:0;padding:1rem .8rem 1.8rem;display:flex}.page-title{color:var(--text-heading);margin-bottom:1rem;font-size:1.5rem;font-weight:700}.back-link{color:var(--text-secondary);align-items:center;gap:.25rem;margin-bottom:1rem;font-size:1rem;display:inline-flex}.back-link:hover{color:var(--text-heading);text-decoration:none}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:.6rem;padding:.8rem}.card--highlight{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light), var(--shadow-sm)}.card-stamp-count{color:var(--text);margin-top:.2rem;font-size:1.1rem}.card-actions{justify-content:space-between;margin-top:.6rem;font-size:1.1rem;display:flex}.card-actions a,.card-actions span{color:var(--accent);font-weight:500}.stamp-dots{flex-wrap:wrap;gap:.25rem;margin:.5rem 0 .3rem;display:flex}.stamp-dot{border:2px solid var(--border-strong);background:0 0;border-radius:50%;width:1rem;height:1rem;transition:background .1s,border-color .1s}.stamp-dot.filled{background:var(--accent);border-color:var(--accent)}.badge{border-radius:var(--radius-full);align-items:center;padding:.15rem .5rem;font-size:.8rem;font-weight:600;line-height:1.4;display:inline-flex}.badge-reward{background:var(--accent);color:#fff}.badge-reward-large{background:var(--accent-light);color:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-sm);align-items:center;gap:.6rem;margin-bottom:.8rem;padding:.5rem .7rem;font-size:1.1rem;display:flex}.error-msg{background:var(--error-bg);border:1px solid var(--error);border-radius:var(--radius-sm);color:var(--error);padding:.55rem .7rem;font-size:1rem}.divider{color:var(--text-secondary);align-items:center;gap:.6rem;margin:.2rem 0;font-size:.9rem;display:flex}.divider:before,.divider:after{content:"";background:var(--border);flex:1;height:1px}.page-footer{text-align:center;color:var(--text-secondary);margin-top:auto;padding-top:1.4rem;font-size:1.1rem}.page-footer a{color:var(--text-secondary)}.page-footer a:hover{color:var(--text);text-decoration:underline}.page-footer button{color:var(--text-secondary);font-size:inherit;cursor:pointer;background:0 0;border:none;padding:0}.page-footer button:hover{color:var(--text)}.shop-tabs{border-bottom:2px solid var(--border);scrollbar-width:none;gap:0;margin-bottom:1rem;display:flex;overflow-x:auto}.shop-tabs::-webkit-scrollbar{display:none}.shop-tab{color:var(--text-secondary);border-bottom:2px solid #0000;flex-shrink:0;margin-bottom:-2px;padding:.4rem .7rem;font-size:.9rem;font-weight:500;text-decoration:none;transition:color .15s,border-color .15s}.shop-tab:hover{color:var(--text-heading);text-decoration:none}.shop-tab--active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.btn-sm{padding:.35rem .8rem!important;font-size:.85rem!important}.card--stat{margin-bottom:0;padding:.7rem .8rem}.stat-label{color:var(--text-secondary);margin:0 0 .2rem;font-size:.8rem}.stat-value{color:var(--text-heading);margin:0;font-size:1.4rem;font-weight:700}.stat-value--lg{font-size:1.6rem}.text-secondary{color:var(--text-secondary)}.form-label{color:var(--text-heading);font-size:.9rem;font-weight:600}.form-hint{color:var(--text);margin-top:.2rem;margin-bottom:.5rem;font-size:.9rem}.shop-logo{object-fit:contain;border-radius:var(--radius-sm);flex-shrink:0;width:2.4rem;height:2.4rem}.card-header{justify-content:space-between;align-items:flex-start;gap:.4rem;display:flex}.card--empty{text-align:center;padding:1.6rem 1rem}.error-text{color:var(--error);margin-bottom:.6rem}.stats-list{flex-direction:column;gap:.5rem;margin-bottom:1.2rem;display:flex}.loading{background:var(--bg);color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;font-size:1.1rem;display:flex;position:fixed;inset:0}.loading:before{content:"";border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:2rem;height:2rem;animation:.7s linear infinite spin;display:block}.history-list{margin:0;padding:0;list-style:none}.history-list li{border-bottom:1px solid var(--border);color:var(--text);align-items:center;gap:.4rem;padding:.55rem 0;font-size:1.1rem;display:flex}.history-list li:last-child{border-bottom:none}.signin-page{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:0;padding:1.6rem 1rem 2rem;display:flex}.signin-logo{margin-bottom:.3rem;font-size:2rem;line-height:1}.signin-wordmark{color:var(--text-heading);margin-bottom:.2rem;font-size:1.5rem;font-weight:700}.beta-badge{letter-spacing:.04em;text-transform:uppercase;color:var(--accent);background:var(--accent-light);border-radius:var(--radius-full);vertical-align:middle;border:1px solid;margin-left:.3rem;padding:1px .35rem;font-size:.75rem;font-weight:600;line-height:.9rem;display:inline-block}.signin-tagline{color:var(--text);margin-bottom:1.6rem;font-size:1.2rem}.signin-form{flex-direction:column;gap:.5rem;width:100%;display:flex}.signin-privacy{text-align:center;color:var(--text-secondary);margin-top:.2rem;font-size:1.1rem}.signin-privacy a{color:var(--text-secondary);text-decoration:underline}.signin-confirm{text-align:center;flex-direction:column;align-items:center;gap:.6rem;width:100%;display:flex}.signin-confirm-icon{font-size:2.25rem;line-height:1}.signin-confirm h1{font-size:1.25rem}.signin-confirm p{color:var(--text);max-width:280px;font-size:1rem}.qr-page{background:var(--surface);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:1.2rem 1rem 1.8rem;display:flex}.qr-page .back-link{align-self:flex-start;margin-bottom:auto}.qr-container{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.8rem;display:flex}.qr-name{color:var(--text-heading);font-size:1.25rem;font-weight:600}.qr-hint{color:var(--text-secondary);text-align:center;font-size:1.1rem}.privacy-page{max-width:680px;margin:0 auto;padding:1.2rem 1rem 2.4rem}.privacy-page h1{margin-bottom:.4rem}.privacy-page h2{margin:1.4rem 0 .4rem}.privacy-page p{color:var(--text);margin:.4rem 0;line-height:1.6}.privacy-page ul{margin:.4rem 0;padding-left:1rem}.privacy-page li{color:var(--text);margin:.3rem 0;line-height:1.6}.privacy-page table{border-collapse:collapse;width:100%;margin:.6rem 0;font-size:1rem}.privacy-page th,.privacy-page td{text-align:left;border:1px solid var(--border);vertical-align:top;padding:.4rem .5rem}.privacy-page th{background:var(--accent-light);color:var(--text-heading);font-weight:600}.privacy-page code{background:var(--accent-light);border-radius:4px;padding:1px .25rem;font-family:ui-monospace,monospace;font-size:.9rem}@keyframes spin{to{transform:rotate(360deg)}}.spinner{vertical-align:-.15em;border:2px solid;border-top-color:#0000;border-radius:50%;width:1em;height:1em;animation:.7s linear infinite spin;display:inline-block}
