@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap";:root{--bg:#f6f5fb;--surface:#fff;--surface-alt:#f1eef9;--ink:#17152a;--ink-soft:#6f6c85;--border:#e8e5f3;--primary:#6d4aff;--primary-dark:#5636e0;--primary-soft:#eee9ff;--success:#16c784;--success-soft:#e3fbf1;--danger:#ff4d6a;--danger-soft:#ffe9ee;--warning:#ffab1a;--warning-soft:#fff4e0;--radius-sm:10px;--radius-md:16px;--radius-lg:22px;--radius-full:999px;--shadow-sm:0 1px 2px #17152a0d, 0 1px 3px #17152a0f;--shadow-md:0 6px 20px #17152a14;--shadow-primary:0 8px 20px #6d4aff47;--display:"Plus Jakarta Sans", system-ui, sans-serif;--body:"Inter", system-ui, sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;background:0 0;border:0;padding:0}html,body,#root{height:100%}body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.4}.app{flex-direction:column;max-width:480px;min-height:100%;margin:0 auto;display:flex}.who-bar{background:var(--surface);border-bottom:1px solid var(--border);z-index:10;justify-content:space-between;align-items:center;padding:12px 16px;font-size:.78rem;display:flex;position:sticky;top:0}.who-left{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.who-name{font-family:var(--display);font-weight:700}.pill{border-radius:var(--radius-full);padding:4px 9px;font-size:.66rem;font-weight:700}.pill-offline{background:var(--ink);color:var(--surface)}.pill-pending{background:var(--warning-soft);color:#9a5f00}.who-logout{color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:.75rem}.tabs{background:var(--surface);border-top:1px solid var(--border);max-width:480px;padding-bottom:env(safe-area-inset-bottom);z-index:20;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #17152a0d}.tab{min-height:60px;font-family:var(--display);color:var(--ink-soft);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:.68rem;font-weight:600;display:flex}.tab svg{width:22px;height:22px;stroke:var(--ink-soft);fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.tab[aria-selected=true]{color:var(--primary)}.tab[aria-selected=true] svg{stroke:var(--primary)}.tab:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.screen{padding:18px 16px calc(88px + env(safe-area-inset-bottom));flex:1;order:1}h2{font-family:var(--display);margin:0 0 4px;font-size:1.05rem;font-weight:700}.eyebrow{font-family:var(--body);letter-spacing:.02em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 8px;font-size:.72rem;font-weight:600}.muted{color:var(--ink-soft);font-size:.85rem}.shot{aspect-ratio:4/3;border-radius:var(--radius-md);border:1.5px dashed var(--border);background:var(--surface-alt);cursor:pointer;justify-content:center;align-items:center;width:100%;display:flex;position:relative;overflow:hidden}.shot img{object-fit:cover;width:100%;height:100%}.shot-empty{font-family:var(--display);color:var(--ink-soft);text-align:center;padding:20px;font-size:.8rem;font-weight:600}.shot input{opacity:0;cursor:pointer;position:absolute;inset:0}.btn{border-radius:var(--radius-md);background:var(--surface-alt);width:100%;min-height:50px;color:var(--ink);font-family:var(--display);cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;font-size:.92rem;font-weight:700;text-decoration:none;transition:transform 60ms,opacity .15s;display:flex}.btn:active{transform:scale(.98)}.btn:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.btn-go{background:var(--primary);color:#fff;box-shadow:var(--shadow-primary)}.btn-buy{background:var(--success);color:#fff;box-shadow:0 8px 20px #16c78447}.btn-haggle{background:var(--warning);color:#fff;box-shadow:0 8px 20px #ffab1a47}.btn-walk{background:var(--danger);color:#fff;box-shadow:0 8px 20px #ff4d6a47}.btn-ghost{background:var(--surface-alt);min-height:46px;color:var(--ink-soft);box-shadow:none;font-size:.82rem}.btn-ghost.btn-danger{background:var(--danger-soft);color:var(--danger)}.btn-ghost.btn-walk{background:var(--danger);color:#fff}.btn:disabled{opacity:.4;cursor:not-allowed}.btn-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.field{margin:14px 0}.field label{color:var(--ink-soft);margin-bottom:6px;font-size:.76rem;font-weight:600;display:block}.field input,.field select,.field textarea{border:1.5px solid var(--border);border-radius:var(--radius-md);background:var(--surface);width:100%;min-height:50px;font-family:var(--body);color:var(--ink);font-variant-numeric:tabular-nums;padding:0 14px;font-size:1.05rem;font-weight:600}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft);outline:none}.field-sm input,.field-sm textarea{min-height:44px;font-size:.95rem}.field textarea{resize:vertical;padding:10px 14px;font-size:.9rem;font-weight:400}.field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.field input[type=number]{appearance:textfield}.sticker-wrap{justify-content:center;margin:24px 0 18px;display:flex}.sticker{background:linear-gradient(155deg, var(--primary), var(--primary-dark));width:136px;height:136px;box-shadow:var(--shadow-primary);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;animation:.2s cubic-bezier(.2,1.4,.4,1) pop-in;display:flex}.sticker-buy{background:linear-gradient(155deg, #22e0a0, var(--success));box-shadow:0 10px 26px #16c78459}.sticker-maybe{background:linear-gradient(155deg, #ffc44d, var(--warning));box-shadow:0 10px 26px #ffab1a59}.sticker-pass{background:linear-gradient(155deg, #ff7a90, var(--danger));box-shadow:0 10px 26px #ff4d6a59}.sticker-price{font-family:var(--display);color:#fff;font-size:1.9rem;font-weight:800;line-height:1}.sticker-label{font-family:var(--display);letter-spacing:.1em;text-transform:uppercase;color:#ffffffd9;margin-top:6px;font-size:.6rem;font-weight:700}@keyframes pop-in{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.sticker{animation:none}.btn:active{transform:none}}.verdict{border-radius:var(--radius-md);border-left:4px solid;justify-content:space-between;align-items:baseline;gap:10px;margin:12px 0;padding:12px 14px;display:flex}.verdict-buy{background:var(--success-soft);border-left-color:var(--success);color:#0a8a5c}.verdict-maybe{background:var(--warning-soft);border-left-color:var(--warning);color:#9a5f00}.verdict-pass{background:var(--danger-soft);border-left-color:var(--danger);color:#c22e48}.verdict-word{font-family:var(--display);font-size:1.1rem;font-weight:800}.verdict-math{font-variant-numeric:tabular-nums;font-size:.85rem;font-weight:700}.shot-optional{aspect-ratio:unset;border-radius:var(--radius-sm);min-height:52px}.shot-optional img{aspect-ratio:3;object-fit:cover;width:100%;height:auto}.shot-optional .shot-empty{padding:10px;font-size:.75rem}.totals{border-radius:var(--radius-lg);background:linear-gradient(155deg, var(--ink), #2a2645);color:#fff;box-shadow:var(--shadow-md);grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px;padding:18px;display:grid}.tot-label{letter-spacing:.04em;text-transform:uppercase;opacity:.6;font-size:.66rem;font-weight:600}.tot-val{font-family:var(--display);font-variant-numeric:tabular-nums;font-size:1.4rem;font-weight:800}.tot-val.pos{color:#4ee3a8}.tot-val.neg{color:#ff8fa1}.row{border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);cursor:pointer;text-align:left;width:100%;font:inherit;color:inherit;box-shadow:var(--shadow-sm);align-items:center;gap:12px;margin-bottom:8px;padding:12px;transition:transform 60ms;display:flex}.row:active{transform:scale(.99)}.row:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.row-thumb{border-radius:var(--radius-sm);object-fit:cover;background:var(--surface-alt);flex-shrink:0;width:48px;height:48px}.row-main{flex:1;min-width:0}.row-name{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:600;overflow:hidden}.row-nums{color:var(--ink-soft);font-variant-numeric:tabular-nums;margin-top:2px;font-size:.78rem}.dot{background:var(--border);border-radius:50%;flex-shrink:0;width:10px;height:10px}.dot-inventory{background:var(--border)}.dot-listed{background:var(--warning)}.dot-sold{background:var(--success)}.empty{border-radius:var(--radius-lg);border:1.5px dashed var(--border);background:var(--surface-alt);text-align:center;padding:32px 20px}.empty p{font-family:var(--display);margin:0 0 4px;font-size:.9rem;font-weight:700}.card{border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);border:1px solid var(--border);padding:22px}.card-name{font-family:var(--display);color:var(--ink-soft);margin:0 0 16px;font-size:.95rem;font-weight:700;line-height:1.2}.card-arc{font-family:var(--display);justify-content:center;align-items:center;gap:14px;margin:8px 0 16px;font-size:2rem;font-weight:800;display:flex}.card-arc .to{color:var(--primary);font-family:var(--body);font-size:1.3rem;font-weight:600}.card-hero{text-align:center;font-family:var(--display);border-radius:var(--radius-md);background:var(--success-soft);color:#0a8a5c;padding:12px;font-size:1.5rem;font-weight:800}.receipts{border-top:1px solid var(--border);margin-top:16px;padding-top:10px}.receipt-line{font-variant-numeric:tabular-nums;justify-content:space-between;padding:3px 0;font-size:.82rem;display:flex}.receipt-line.total{border-top:1px solid var(--border);margin-top:6px;padding-top:8px;font-weight:700}.sheet-bg{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:50;background:#17152a73;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100%;max-width:480px;max-height:90vh;padding:10px 18px 24px;overflow-y:auto;box-shadow:0 -12px 32px #17152a2e}.sheet:before{content:"";border-radius:var(--radius-full);background:var(--border);width:36px;height:4px;margin:0 auto 14px;display:block}.sheet-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.x{border-radius:var(--radius-full);background:var(--surface-alt);color:var(--ink-soft);cursor:pointer;border:0;width:36px;height:36px;font-size:1rem}.spinner{text-align:center;color:var(--ink-soft);padding:24px;font-size:.8rem;font-weight:600}.err{border-radius:var(--radius-md);background:var(--danger-soft);color:#c22e48;margin:12px 0;padding:12px 14px;font-size:.85rem;font-weight:500}.auth-screen{text-align:center;flex-direction:column;align-items:center;padding-top:12vh;display:flex}.auth-title{font-family:var(--display);margin:0 0 4px;font-size:1.3rem;font-weight:800}.auth-subtitle{margin:0 0 24px}.auth-dots{gap:12px;margin-bottom:20px;display:flex}.auth-dot{background:var(--border);border-radius:50%;width:12px;height:12px}.auth-dot.filled{background:var(--primary)}.auth-err{width:100%;max-width:280px}.keypad{grid-template-columns:repeat(3,1fr);gap:10px;width:100%;max-width:280px;margin-bottom:20px;display:grid}.keypad-key{aspect-ratio:1;border-radius:var(--radius-md);background:var(--surface);min-height:60px;box-shadow:var(--shadow-sm);font-family:var(--display);color:var(--ink);cursor:pointer;border:0;font-size:1.3rem;font-weight:700}.keypad-key:active{background:var(--surface-alt);transform:scale(.97)}.keypad-key:disabled{opacity:.4;cursor:not-allowed}.auth-submit{max-width:280px}.auth-back{max-width:280px;margin-top:12px}.friend-grid{grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-bottom:20px;display:grid}.friend-tile{border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm);cursor:pointer;border:0;flex-direction:column;align-items:center;gap:8px;min-height:92px;padding:16px 8px;transition:transform 60ms;display:flex}.friend-tile:active{transform:scale(.97)}.friend-avatar{width:40px;height:40px;font-family:var(--display);color:#fff;border-radius:50%;justify-content:center;align-items:center;font-size:.95rem;font-weight:800;display:flex}.friend-name{font-size:.92rem;font-weight:600}.share-toggle{border-radius:var(--radius-md);background:var(--surface-alt);cursor:pointer;align-items:center;gap:10px;margin:14px 0;padding:12px 14px;font-size:.82rem;display:flex}.share-toggle input{appearance:none;border-radius:var(--radius-full);background:var(--border);cursor:pointer;flex-shrink:0;width:40px;height:24px;transition:background .15s;position:relative}.share-toggle input:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.share-toggle input:checked{background:var(--primary)}.share-toggle input:checked:before{transform:translate(16px)}.recap-strip{border-radius:var(--radius-lg);background:linear-gradient(135deg, var(--primary), #9b7bff);color:#fff;cursor:pointer;text-align:left;width:100%;font:inherit;box-shadow:var(--shadow-primary);border:0;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:18px;padding:16px 18px;display:flex}.recap-strip .eyebrow{color:#ffffffbf}.recap-strip-value{font-family:var(--display);font-size:1.15rem;font-weight:800}.recap-strip .muted{color:#ffffffbf}.lb-pills{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.lb-pills-sm{margin-bottom:18px}.lb-pill{border-radius:var(--radius-full);background:var(--surface-alt);color:var(--ink-soft);font-family:var(--display);cursor:pointer;border:0;min-height:36px;padding:9px 14px;font-size:.72rem;font-weight:700}.lb-pill.active{background:var(--primary);color:#fff}.lb-row{cursor:default}.lb-first{border:1.5px solid var(--warning);background:var(--warning-soft);box-shadow:0 6px 18px #ffab1a33}.lb-rank{background:var(--surface-alt);width:30px;height:30px;font-family:var(--display);color:var(--ink-soft);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.85rem;font-weight:700;display:flex}.lb-rank-trophy{background:linear-gradient(155deg, #ffc44d, var(--warning));color:#fff;font-size:1rem}
