@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap";:root{--primary: #4CAF50;--bg-dark: #121212;--bg-card: rgba(30, 30, 30, .85);--text-main: #FFFFFF;--text-muted: #B3B3B3;--warning: #FFC107}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,-apple-system,sans-serif;background-color:var(--bg-dark);color:var(--text-main);overscroll-behavior-y:none;-webkit-font-smoothing:antialiased}.app-container{display:flex;flex-direction:column;height:100dvh;width:100vw;overflow:hidden;position:relative;touch-action:none}.camera-container{flex:1;position:relative;overflow:hidden;background-color:#000}.camera-video{width:100%;height:100%;object-fit:cover}.camera-video.hidden{display:none}.top-bar{position:absolute;top:0;left:0;right:0;padding:1rem;background:linear-gradient(to bottom,rgba(0,0,0,.8),transparent);display:flex;justify-content:space-between;align-items:center;z-index:10}.status-badge{background:#1e1e1e99;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;gap:.5rem}.status-badge.offline{background:#ff980033;color:var(--warning)}.target-reticle{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);width:85%;height:200px;border:3px solid rgba(255,255,255,.8);border-radius:16px;box-shadow:0 0 0 9999px #00000080;display:flex;align-items:center;justify-content:center;z-index:5;transition:all .3s ease}.target-reticle:after{content:"";position:absolute;width:100%;height:2px;background:#4caf5080;animation:scan 2s infinite linear}@keyframes scan{0%{transform:translateY(-40px)}50%{transform:translateY(40px)}to{transform:translateY(-40px)}}.target-reticle.captured:after{display:none}.target-reticle.captured{border-color:var(--primary);box-shadow:0 0 0 9999px #000000b3,0 0 20px var(--primary)}.shutter-container{position:absolute;bottom:calc(max(240px,25vh) + env(safe-area-inset-bottom));left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:50;gap:.5rem;pointer-events:none}.shutter-button{width:72px;height:72px;border-radius:50%;background:#ffffff4d;border:4px solid white;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .1s;box-shadow:0 4px 15px #00000080;pointer-events:auto}.shutter-button:active{transform:scale(.92)}.shutter-button:disabled{opacity:.5;cursor:not-allowed}.shutter-inner{width:54px;height:54px;border-radius:50%;background:#fff;transition:background-color .2s;display:flex;align-items:center;justify-content:center}.shutter-button:active .shutter-inner{background:#e0e0e0}.shutter-hint{color:#fff;font-size:.85rem;font-weight:600;background:#00000080;padding:.3rem .8rem;border-radius:12px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.result-panel{position:absolute;bottom:0;left:0;right:0;background:var(--bg-card);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top-left-radius:24px;border-top-right-radius:24px;padding:1.5rem 1rem;z-index:10;display:flex;flex-direction:column;gap:.75rem;box-shadow:0 -4px 30px #00000080;transform:translateY(0)}.price-display{text-align:center;margin-bottom:.5rem}.price-jpy{font-size:3rem;font-weight:700;color:var(--primary);line-height:1.1;text-shadow:0 2px 10px rgba(76,175,80,.3)}.price-ars{font-size:1.1rem;color:var(--text-muted);margin-top:.25rem;font-weight:600}.info-text{text-align:center;font-size:.8rem;color:var(--text-muted);margin-top:.5rem;line-height:1.4}.btn{background:var(--primary);color:#fff;border:none;padding:.8rem 1rem;border-radius:14px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 4px 15px #4caf504d;display:flex;justify-content:center;align-items:center}.btn:active{transform:scale(.98);background:#388e3c}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.btn.outline{background:transparent;color:var(--primary);border:2px solid var(--primary);box-shadow:none}.btn.outline:active{background:#4caf501a}.action-buttons{display:flex;gap:1rem}.action-buttons.horizontal{flex-direction:row}.action-buttons.horizontal .btn{flex:1}.warning-box{background:#ffc10726;border:1px solid rgba(255,193,7,.3);padding:.75rem;border-radius:8px;color:var(--warning);font-size:.85rem;text-align:center}.panel-overlay{position:absolute;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;display:flex;align-items:flex-end;justify-content:center}.panel-content{background:var(--bg-card);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top-left-radius:20px;border-top-right-radius:20px;width:100%;max-width:500px;max-height:85vh;overflow-y:auto;padding:1.5rem 1rem;box-shadow:0 -10px 40px #00000080;animation:slideUp .3s ease-out forwards}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.panel-header h3{font-size:1.1rem;font-weight:700;margin:0}.icon-btn{background:transparent;border:none;color:var(--text-muted);font-size:1.2rem;cursor:pointer;padding:.2rem;line-height:1}.icon-btn:hover{color:var(--text-main)}.panel-body{display:flex;flex-direction:column;gap:.8rem}.input-label{font-size:.85rem;color:var(--text-muted);font-weight:600}.setting-description{font-size:.75rem;color:var(--text-muted);line-height:1.3;margin-top:-.5rem}.large-input{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:var(--text-main);font-size:1.5rem;padding:1rem;border-radius:12px;width:100%;outline:none;font-family:inherit;transition:border-color .2s}.large-input:focus{border-color:var(--primary)}.conversion-result{background:#0000004d;padding:1.2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:.5rem}.result-label{font-size:.85rem;color:var(--text-muted)}.result-value{font-size:2.5rem;font-weight:700;color:var(--primary);text-shadow:0 2px 10px rgba(76,175,80,.3)}.rate-info{font-size:.75rem;color:var(--text-muted)}.full-width{width:100%}.btn.success{background:#388e3c}.settings-btn{background:transparent;border:none;color:#fff;font-size:1.2rem;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center}.history-panel{max-width:600px;max-height:90vh}.history-totals{background:#0006;padding:1.2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;margin-bottom:1rem}.history-total-label{font-size:.85rem;color:var(--text-muted)}.history-total-jpy{font-size:2.2rem;font-weight:700;color:var(--primary);line-height:1.2}.history-total-ars{font-size:1rem;color:var(--text-muted)}.history-list{display:flex;flex-direction:column;gap:.5rem;max-height:40vh;overflow-y:auto}.history-item{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);padding:1rem;border-radius:10px;display:flex;justify-content:space-between;align-items:center}.history-item-prices{display:flex;flex-direction:column}.history-item-jpy{font-size:1.2rem;font-weight:700;color:#fff}.history-item-ars{font-size:.85rem;color:var(--text-muted)}.delete-btn{color:#f44336;font-size:1.5rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f443361a}.cart-button{position:absolute;top:1rem;right:1rem;width:50px;height:50px;border-radius:50%;background:var(--bg-card);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:1.5rem;cursor:pointer;z-index:20;box-shadow:0 4px 15px #0000004d}.cart-badge{position:absolute;top:-5px;right:-5px;background:#f44336;color:#fff;border-radius:50%;width:22px;height:22px;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid var(--bg-dark)}.switch{position:relative;display:inline-block;width:50px;height:28px;flex-shrink:0}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#fff3;transition:.4s}.slider:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background-color:#fff;transition:.4s}input:checked+.slider{background-color:var(--primary)}input:focus+.slider{box-shadow:0 0 1px var(--primary)}input:checked+.slider:before{transform:translate(22px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}
