@font-face{font-family:"Hylia Serif";src:url(/fonts/HyliaSerifBeta-Regular.otf) format("opentype");font-weight:400;font-style:normal;font-display:swap}.title-font{font-family:"Hylia Serif",serif;letter-spacing:.02em}.file-drop-zone{border:2px dashed #cbd5e0;border-radius:.5rem;padding:2rem;text-align:center;transition:all .2s}.file-drop-zone.dragover{border-color:#4299e1;background-color:#ebf8ff}.scan-upload-desktop{display:none}.scan-upload-mobile{border:1px solid #ece5da;border-radius:.9rem;padding:1.75rem 1.25rem;text-align:center;background:#fffaf2}.scan-upload-mobile-icon{width:3rem;height:3rem;margin:0 auto .75rem;display:flex;align-items:center;justify-content:center;border-radius:999px;background:#fdebd3;color:#b45309}.scan-upload-mobile .btn-secondary{font-size:.95rem;padding:.8rem 1.2rem}@media(min-width:768px){.scan-upload-desktop{display:block}.scan-upload-mobile{display:none}}.item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;max-width:100%}@media(min-width:640px){.item-grid{grid-template-columns:repeat(5,1fr)}}.item-card{border:1px solid #e2e8f0;border-radius:.5rem;padding:.75rem;text-align:center;position:relative;transition:all .2s}.item-card:hover{border-color:#4299e1;box-shadow:0 4px 6px -1px #0000001a}.item-card.unidentified{border-color:#f59e0b;background-color:#fef3c7}.delete-btn{position:absolute;top:2px;right:2px;width:24px;height:24px;background-color:#6b7280b3;color:#fff;border:none;font-size:16px;font-weight:700;cursor:pointer;opacity:0;transition:opacity .2s;display:flex;align-items:center;justify-content:center;border-radius:2px}.item-card:hover .delete-btn{opacity:1}.delete-btn:hover{background-color:#6b7280e6}.quantity-controls{display:flex;align-items:center;justify-content:center;gap:4px;opacity:.4;transition:opacity .2s}.item-card:hover .quantity-controls{opacity:1}.quantity-btn{background:none;border:none;color:#6b7280;font-size:16px;font-weight:700;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;transition:color .15s}.quantity-btn:hover{color:#374151}.quantity-btn.minus:hover{color:#ef4444}.quantity-display{min-width:35px;text-align:center;font-weight:700}.quantity-display .editable-quantity{cursor:text;outline:none;border:none;background:transparent;display:inline;padding:0;margin:0;min-width:0}.quantity-display .editable-quantity:focus{outline:1px solid rgba(59,130,246,.5);border-radius:2px;padding:0 2px}.add-new-item{border:2px dashed #d1d5db;background-color:#f9fafb;opacity:.7}.add-new-item:hover{border-color:#9ca3af;background-color:#f3f4f6;opacity:.9}.item-card[draggable=true]{cursor:grab;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.item-card[draggable=true]:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.item-card[draggable=true]:active{cursor:grabbing}.item-card.dragging{opacity:.4;transform:scale(.95) rotate(3deg);box-shadow:0 8px 16px #0000004d;border:2px solid #3b82f6}.item-card.drag-over{border:3px solid #3b82f6;background-color:#dbeafe;transform:scale(1.05);box-shadow:0 0 0 3px #3b82f64d}.item-card.dragging.drag-over{border:2px solid #3b82f6;background-color:transparent;transform:scale(.95) rotate(3deg);box-shadow:0 8px 16px #0000004d}.item-select{width:100%;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff;color:#374151;font-size:.75rem;line-height:1.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.item-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.nav-menu{background:linear-gradient(135deg,#78350f,#92400e);box-shadow:0 4px 6px -1px #0000001a}.nav-link{color:#fef3c7;transition:all .2s;position:relative}.nav-link:hover{color:#fde68a;transform:translateY(-1px)}.nav-link.active{color:#fff;font-weight:600}.nav-link.active:after{content:"";position:absolute;bottom:-8px;left:0;right:0;height:3px;background-color:#fbbf24;border-radius:2px}.recipe-card{background:#fff;border:2px solid #e5e7eb;border-radius:1rem;padding:1.5rem;margin-bottom:1.5rem;position:relative;transition:all .2s;box-shadow:0 1px 3px #0000001a}.recipe-card:hover{box-shadow:0 10px 25px #00000026;transform:translateY(-2px)}.recipe-card.cannot-cook{background:#fef2f2;border-color:#fecaca;opacity:.8}.recipe-card.new-recipe{border-color:#3b82f6;border-width:3px}.ingredient-tooltip{position:fixed;background:#000000e6;color:#fff;padding:12px 16px;border-radius:8px;box-shadow:0 4px 16px #0006;z-index:9999;max-width:320px;min-width:200px;font-size:14px;line-height:1.5;pointer-events:none;opacity:0;transform:translateY(5px);transition:opacity .2s ease,transform .2s ease}.ingredient-tooltip.show{opacity:1;transform:translateY(0)}.tooltip-content h4{margin:0 0 10px;color:#fbbf24;font-size:16px;font-weight:600;text-align:center;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:8px}.tooltip-info{display:flex;flex-direction:column;gap:6px}.tooltip-info span{display:flex;align-items:flex-start;gap:8px}.tooltip-info span:before{flex-shrink:0}.tooltip-effect-icon{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-right:6px;object-fit:contain;position:relative;top:1px}.recipe-card-close{position:absolute;top:.75rem;right:.75rem;width:32px;height:32px;border-radius:50%;background-color:#9ca3af;color:#fff;border:none;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s;z-index:10}.recipe-card:hover .recipe-card-close{opacity:1}.recipe-card-close:hover{background-color:#dc2626;transform:scale(1.1)}.recipe-card-cooked{position:relative;display:block;width:100%;margin-top:1.5rem;padding:.75rem 1rem;border-radius:.5rem;background-color:#10b981;color:#fff;border:none;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 2px 4px #0000001a}.recipe-card-cooked:hover{background-color:#059669;box-shadow:0 4px 8px #00000026}.preset-btn{padding:.75rem 1.5rem;border-radius:.5rem;border:2px solid #e5e7eb;background:#fff;cursor:pointer;transition:all .2s;font-size:.875rem;font-weight:500;display:flex;align-items:center;gap:.5rem}.preset-btn:hover{border-color:#3b82f6;background-color:#eff6ff;transform:translateY(-1px)}.preset-btn:active{transform:translateY(0)}label.checked-spicy{border-color:#ef4444!important;background-color:#ef44441a!important}label.checked-chilly{border-color:#3b82f6!important;background-color:#3b82f61a!important}label.checked-electro{border-color:#eab308!important;background-color:#eab3081a!important}label.checked-fireproof{border-color:#f97316!important;background-color:#f973161a!important}label.checked-mighty{border-color:#9333ea!important;background-color:#9333ea1a!important}label.checked-tough{border-color:#22c55e!important;background-color:#22c55e1a!important}label.checked-sneaky{border-color:#6b7280!important;background-color:#6b72801a!important}label.checked-hasty{border-color:#06b6d4!important;background-color:#06b6d41a!important}label.checked-energizing{border-color:#84cc16!important;background-color:#84cc161a!important}label.checked-enduring{border-color:#8b5cf6!important;background-color:#8b5cf61a!important}label.checked-hearty{border-color:#ec4899!important;background-color:#ec48991a!important}label.checked-hearts,label.checked-noeffect_hearts{border-color:#10b981!important;background-color:#10b9811a!important}label.checked-smart{border-color:#8b4513!important;background-color:#8b45131a!important}.cooked-recipe-card{transition:all .2s ease}.cooked-recipe-card:hover{transform:translateY(-2px);box-shadow:0 8px 16px #0000001a}.cooked-recipe-card.cannot-cook{background:#fef2f2;border-color:#fecaca;opacity:.8}.cook-again-btn:hover{background-color:#059669!important}.cookable-recipes-scroll{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.5rem;scroll-snap-type:x mandatory}.cookable-recipes-scroll::-webkit-scrollbar{height:8px}.cookable-recipes-scroll::-webkit-scrollbar-thumb{background-color:#64748b66;border-radius:999px}.cookable-recipes-scroll::-webkit-scrollbar-track{background:#94a3b826;border-radius:999px}.cookable-recipe-card{width:100%;max-width:none;min-width:0;flex:1 1 auto;scroll-snap-align:start;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;box-shadow:0 2px 6px #00000014;transition:transform .2s ease,box-shadow .2s ease}.cookable-recipe-card:hover{transform:translateY(-2px);box-shadow:0 6px 12px #0000001f}.cookable-recipe-card .cookable-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cookable-recipe-card .cookable-effect-label{display:inline-flex;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cookable-recipe-card .cookable-slot{overflow:hidden}.cookable-recipe-card .cookable-count{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:72px}#cookable-recipes-screen .cookable-section-title,#cookable-recipes-screen .cookable-section-subtitle,#cookable-recipes-screen .cookable-section-heading,#cookable-recipes-screen .cookable-section-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}#cookable-recipes-screen .cookable-filter-grid label{min-width:0;overflow:hidden}#cookable-recipes-screen .cookable-filter-grid label>div{min-width:0;overflow:hidden}#cookable-recipes-screen .cookable-filter-text{min-width:0;overflow:hidden}#cookable-recipes-screen .cookable-filter-text>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#cookable-recipes-screen .cookable-filter-grid label>div>div{min-width:0;overflow:hidden}#cookable-recipes-screen .cookable-filter-grid label>div>div>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#cookable-recipes-screen .cookable-section-card{overflow:hidden}#cookable-recipes-screen label span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:640px){#cookable-recipes-screen .cookable-section-title,#cookable-recipes-screen .cookable-section-subtitle{overflow:visible;text-overflow:clip;white-space:normal;word-break:break-word}}.cookable-slot{border-top:1px dashed #e2e8f0;padding-top:.5rem;margin-top:.5rem}.cookable-slot-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.35rem}.cookable-count-controls{display:inline-flex;align-items:center;gap:.35rem;margin-left:auto}.cookable-count-btn{width:22px;height:22px;border-radius:999px;border:1px solid #e2e8f0;background:#f8fafc;color:#334155;font-weight:600;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,border-color .15s ease}.cookable-count-btn:disabled{opacity:.4;cursor:not-allowed}.cookable-count-btn:hover:not(:disabled){background:#e2e8f0;border-color:#94a3b8}.cookable-count{min-width:24px;text-align:center;font-size:.75rem;font-weight:600;color:#0f172a}.cookable-count-available{color:#9ca3af;font-size:.7rem;margin-left:2px}.cookable-stats-line{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.cookable-stats-line.hidden{display:none!important}.cookable-stat-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.2rem .45rem;border-radius:.5rem;font-size:.7rem;font-weight:600;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a;line-height:1.2;min-height:1.55rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cookable-stat-badge.tier-1{background:#e5e7eb;border-color:#e5e7eb;color:#1f2937}.cookable-stat-badge.tier-2{background:#fde68a;border-color:#fde68a;color:#1f2937}.cookable-stat-badge.tier-3{background:#fbbf24;border-color:#fbbf24;color:#1f2937}.cookable-stat-badge.hearty-tier-1{background:#fef3c7;border-color:#fef3c7;color:#1f2937}.cookable-stat-badge.hearty-tier-2{background:#fde68a;border-color:#fde68a;color:#1f2937}.cookable-stat-badge.hearty-tier-3{background:#fbbf24;border-color:#fbbf24;color:#1f2937}.selected-mini-badge{font-size:.65rem;padding:.15rem .4rem}.cookable-options{display:flex;gap:.35rem;flex-wrap:wrap}.cookable-option{width:34px;height:34px;border-radius:.5rem;border:1px solid transparent;background:#f8fafc;display:flex;align-items:center;justify-content:center;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease;cursor:pointer}.cookable-option.effect-ingredient{background:#f6f0ff;border-color:#e9d8fd}.cookable-option img{width:26px;height:26px;object-fit:contain}.cookable-option:hover{transform:translateY(-1px);border-color:#93c5fd;box-shadow:0 0 0 2px #3b82f626}.cookable-option.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb40;background:#eff6ff}.cookable-option.effect-ingredient.selected{background:#e8ddff}#cookable-recipes-screen input[type=checkbox][data-effect]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.selected-recipe-card{border-color:#60a5fa;background:#eff6ff}.selected-recipes-scroll{display:flex;gap:.75rem;overflow-x:auto;overflow-y:visible;padding-bottom:.5rem;padding-top:.35rem;scroll-snap-type:x mandatory}.selected-recipes-scroll>.selected-recipe-card{min-width:240px;max-width:260px;flex:0 0 auto;scroll-snap-align:start}.selected-recipe-card{transform:translateZ(0)}.cookable-recipes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;justify-content:stretch;width:100%}@media(max-width:640px){.cookable-recipes-grid{grid-template-columns:minmax(0,1fr)}.cookable-recipe-card{padding:1.1rem;font-size:1rem}.cookable-recipe-card .cookable-effect-label{font-size:.85rem}.cookable-recipe-card .cookable-stat-badge{font-size:.75rem}.cookable-recipe-card .cookable-ingredient{width:30px;height:30px}}@media(max-width:640px){#notification-container{top:72px;right:12px;left:12px;max-width:none}}.effect-detail-box{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:.5rem;padding:.75rem;margin-top:.5rem;font-size:.75rem;opacity:0;animation:fadeIn .2s ease forwards;transform-origin:top}.effect-detail-box.compact{padding:.45rem .5rem;font-size:.65rem;margin-top:.35rem}.effect-detail-box.compact .effect-level-badge{font-size:.65rem;padding:.15rem .4rem;margin-bottom:.35rem}.effect-detail-box.compact .effect-progress-bar{height:.9rem}.effect-detail-box.compact .effect-progress-label{font-size:.6rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.effect-detail-placeholder{min-height:0}.effect-level-badge{display:inline-flex;align-items:center;gap:.25rem;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;padding:.25rem .5rem;border-radius:.375rem;font-weight:600;font-size:.75rem;margin-bottom:.5rem}.effect-progress-bar{width:100%;height:1.25rem;background:#f8fafc;border-radius:.5rem;overflow:hidden;position:relative;margin:.375rem 0}.effect-progress-fill{transition:width .35s ease;height:100%;background:linear-gradient(90deg,#3b82f6,#60a5fa);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:.65rem}.effect-progress-fill.tier-1{background:#e5e7eb}.effect-progress-fill.tier-2{background:#fde68a}.effect-progress-fill.tier-3{background:#fbbf24}.effect-level-badge.tier-1{background:#e5e7eb;color:#1f2937}.effect-level-badge.tier-2{background:#fde68a;color:#1f2937}.effect-level-badge.tier-3{background:#fbbf24;color:#1f2937}.effect-level-badge.selected-mini-badge{padding:.2rem .45rem;font-size:.7rem;line-height:1.2;gap:.25rem;border-radius:.5rem;min-height:1.55rem;margin-bottom:0}.effect-level-badge.selected-mini-badge .max-badge{font-size:.5rem;padding:.02rem .3rem;margin-left:.25rem}.effect-level-badge .max-badge{margin-left:.35rem;padding:.05rem .35rem;border-radius:999px;background:#f59e0b;color:#fff;font-size:.6rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.effect-progress-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-weight:600;font-size:.65rem;color:#1f2937;z-index:1;text-shadow:0 0 2px white}.effect-breakdown{font-size:.7rem;color:#374151;line-height:1.4;margin-top:.5rem}.effect-breakdown-item{display:flex;align-items:center;gap:.25rem;padding:.125rem 0}.full-recovery-badge{display:flex;align-items:center;gap:.25rem;background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:.25rem .5rem;border-radius:.375rem;font-weight:600;font-size:.7rem;margin-top:.25rem;width:fit-content}.yellow-hearts-display{display:flex;align-items:center;gap:.25rem;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:.25rem .5rem;border-radius:.375rem;font-weight:600;font-size:.7rem;margin-top:.25rem;width:fit-content}.yellow-hearts-display.tier-1{background:#fef3c7;color:#1f2937}.yellow-hearts-display.tier-2{background:#fde68a;color:#1f2937}.yellow-hearts-display.tier-3{background:#fbbf24;color:#1f2937}.stamina-display{display:flex;align-items:center;gap:.25rem;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;padding:.25rem .5rem;border-radius:.375rem;font-weight:600;font-size:.7rem;margin-top:.25rem;width:fit-content}.stamina-display.tier-1{background:#e5e7eb;color:#1f2937}.stamina-display.tier-2{background:#fde68a;color:#1f2937}.stamina-display.tier-3{background:#fbbf24;color:#1f2937}#mobile-menu-btn{transition:all .2s ease}#mobile-menu-btn:hover{transform:scale(1.05)}#mobile-menu{animation:fadeInDown .2s ease-out}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}#notification-bell{position:relative;transition:all .2s ease}#notification-bell:hover{transform:scale(1.1)}#notification-bell.has-notifications:after{content:"";position:absolute;top:-2px;right:-2px;width:8px;height:8px;background:#ef4444;border-radius:50%;border:2px solid #92400e;animation:pulse 2s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}#mobile-notification-bell{position:relative}#mobile-notification-bell.has-notifications:before{content:"●";position:absolute;right:-2px;top:-2px;color:#ef4444;font-size:12px;animation:pulse 2s infinite}.effect-icon{width:16px;height:16px;object-fit:contain;display:inline-block;vertical-align:middle}.effect-icon-inline{width:16px;height:16px}input[type=checkbox][data-effect]+div img.effect-icon{width:22px;height:22px}input[type=checkbox][data-effect]+div img.effect-icon{filter:drop-shadow(0 0 .8px #9ca3af) drop-shadow(0 0 .8px #9ca3af)}img.effect-icon-inline{filter:drop-shadow(0 0 .8px #9ca3af) drop-shadow(0 0 .8px #9ca3af)}input[type=checkbox][data-effect]:checked+div img.effect-icon{transform:scale(1.1)}.cookable-effect-label{display:inline-flex;align-items:center;gap:.25rem}.chat-input{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:.75rem;font-size:.875rem;resize:none;transition:border-color .2s}.chat-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.compact-inventory{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem;background:#f9fafb;border-radius:.5rem;max-height:120px;overflow-y:auto}.compact-item{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;font-size:.75rem;white-space:nowrap}.compact-item-name{color:#374151;font-weight:500}.compact-item-qty{color:#059669;font-weight:600}.ingredient-availability{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem}.ingredient-available{color:#059669}.ingredient-unavailable{color:#dc2626}.effect-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;background:#dbeafe;border:1px solid #3b82f6;border-radius:9999px;font-size:.75rem;font-weight:500;color:#1e40af}.cta-primary{background-color:#2563eb}.cta-primary:hover{background-color:#1d4ed8}.cta-secondary{border:2px solid #d1d5db;background-color:#fff;color:#374151}.cta-secondary:hover{border-color:#9ca3af;background-color:#f9fafb}.continue-banner{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #6ee7b7;border-radius:.75rem}.item-card.item-card-empty{opacity:.5}.item-card.item-card-empty:hover,.item-card.item-card-empty:focus-within{opacity:1}.scan-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin-top:1rem}.scan-preview-card{border:1px solid #e2e8f0;border-radius:.5rem;overflow:hidden;background:#fff;position:relative}.scan-preview-card img{width:100%;height:110px;object-fit:cover;display:block;background:#0f172a}.scan-preview-meta{padding:.4rem .5rem;font-size:.7rem;color:#4b5563;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.scan-preview-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scan-preview-remove{border:none;background:#0f172abf;color:#fff;border-radius:9999px;width:22px;height:22px;line-height:1;font-size:.85rem;cursor:pointer;position:absolute;top:6px;right:6px}.scan-preview-remove:hover{background:#dc2626}@media(max-width:767px){.scan-fab{display:flex;align-items:center;justify-content:center;position:fixed;right:1rem;bottom:1.25rem;width:3.5rem;height:3.5rem;border-radius:9999px;background:#b45309;color:#fff;font-size:1.5rem;box-shadow:0 10px 20px -5px #00000059;z-index:60;text-decoration:none}.scan-fab:active{transform:scale(.95)}}.scan-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem}@media(min-width:768px){.scan-panel{padding:1.5rem}}.app-panel{background:#fff;border:1px solid #f0e6d2;border-radius:1rem;box-shadow:0 10px 30px -12px #4c2c102e;padding:1.25rem}@media(min-width:768px){.app-panel{padding:1.75rem}}.panel-header{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-start;justify-content:space-between}.panel-title{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0;line-height:1.2}@media(min-width:768px){.panel-title{font-size:1.75rem}}.panel-subtitle{font-size:.875rem;color:#6b7280;margin:.35rem 0 0;max-width:46ch}.panel-header-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.panel-hint{display:flex;align-items:center;gap:.5rem;margin:.85rem 0 0;padding:.6rem .8rem;background:#fffbeb;border:1px solid #fde68a;border-radius:.6rem;font-size:.8rem;color:#78350f}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:#7c2d12;color:#fff;font-weight:600;font-size:.95rem;padding:.75rem 1.4rem;border:none;border-radius:.7rem;cursor:pointer;text-decoration:none;transition:background .15s ease,transform .1s ease}.btn-primary:hover{background:#9a3412}.btn-primary:active{transform:translateY(1px)}.btn-primary.is-disabled,.btn-primary:disabled{background:#d6d3d1;color:#78716c;cursor:not-allowed;pointer-events:none}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;background:#fff;color:#7c2d12;font-weight:600;font-size:.85rem;padding:.55rem 1rem;border:1px solid #e7d7bd;border-radius:.65rem;cursor:pointer;text-decoration:none;transition:background .15s ease,border-color .15s ease}.btn-secondary:hover{background:#fffaf2;border-color:#d9c2a0}.btn-ghost{display:inline-flex;align-items:center;gap:.4rem;background:transparent;color:#57534e;font-size:.85rem;font-weight:500;padding:.55rem .85rem;border:1px solid #e5e7eb;border-radius:.65rem;cursor:pointer;text-decoration:none}.btn-ghost:hover{background:#faf7f2}.btn-ghost-danger{display:inline-flex;align-items:center;gap:.4rem;background:transparent;color:#b91c1c;font-size:.85rem;font-weight:500;padding:.55rem .85rem;border:1px solid transparent;border-radius:.65rem;cursor:pointer}.btn-ghost-danger:hover{background:#fef2f2;border-color:#fecaca}.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-top:1rem}.stat-chip{display:flex;align-items:center;gap:.5rem;padding:.7rem .9rem;border-radius:.7rem;font-weight:600;font-size:.9rem}.stat-chip-ok{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.stat-chip-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.inventory-controls{display:flex;flex-direction:column;gap:.65rem;margin:1rem 0}@media(min-width:1024px){.inventory-controls{flex-direction:row;align-items:center;gap:.75rem}.inventory-controls .search-wrap{flex:1 1 260px}.inventory-controls .sort-wrap{margin-left:auto}}.search-wrap{position:relative;display:flex;align-items:center}.search-wrap .search-icon{position:absolute;left:.75rem;font-size:.85rem;opacity:.55;pointer-events:none}.search-wrap input{width:100%;padding:.65rem .8rem .65rem 2.2rem;border:1px solid #e5e7eb;border-radius:.7rem;font-size:.9rem;background:#fff}.search-wrap input:focus{outline:2px solid #fcd34d;outline-offset:1px;border-color:#fcd34d}.segmented{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:.25rem;padding:.25rem;background:#f8f5ef;border:1px solid #eee5d5;border-radius:.7rem}.segmented-btn{padding:.5rem .9rem;border:none;background:transparent;border-radius:.55rem;font-size:.85rem;font-weight:600;color:#78716c;cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease}.segmented-btn.is-active{background:#fdf3e3;color:#7c2d12;box-shadow:inset 0 0 0 1px #e7d0a8}.sort-wrap{display:flex;align-items:center;gap:.45rem;padding:.5rem .75rem;border:1px solid #e5e7eb;border-radius:.7rem;background:#fff;font-size:.82rem;color:#57534e}.sort-wrap select{border:none;background:transparent;font-size:.82rem;color:#57534e;cursor:pointer;max-width:15rem}.sort-wrap select:focus{outline:none}.item-list{display:flex;flex-direction:column;gap:.5rem}.item-row{display:flex;align-items:center;gap:.75rem;padding:.55rem .7rem;border:1px solid #f1ece2;border-radius:.75rem;background:#fff;transition:border-color .15s ease,background .15s ease}@media(hover:hover){.item-row:hover{border-color:#e7d0a8}}.item-row:not(.is-empty){background:#fffdf7;border-color:#e3cba1;box-shadow:0 1px 3px #78350f12}.item-row:not(.is-empty) .item-thumb{background:#fdf0d8;box-shadow:inset 0 0 0 1px #b4530929}.item-row:not(.is-empty) .stepper-value{color:#7c2d12}.item-row.is-empty{background:#fdfcfa}.item-row.is-empty .item-name{color:#9ca3af}.item-row.is-empty .item-thumb{background:#f7f5f1}.item-row.is-empty .item-thumb img{opacity:.42;filter:grayscale(.35)}@media(hover:hover){.item-row.is-empty:hover .item-thumb img{opacity:.75;filter:none}}.item-thumb{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;background:#fdf7ec;border-radius:.55rem;overflow:hidden}.item-thumb img{width:100%;height:100%;object-fit:contain}.item-name{flex:1 1 auto;min-width:0;font-size:.92rem;font-weight:600;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stepper{display:flex;align-items:center;flex:0 0 auto;border:1px solid #e5e7eb;border-radius:.6rem;overflow:hidden;background:#fff}.stepper-btn{width:2.3rem;height:2.3rem;border:none;background:#fff;color:#7c2d12;font-size:1.1rem;font-weight:700;line-height:1;cursor:pointer;transition:background .12s ease}.stepper-btn:hover:not(:disabled){background:#fdf3e3}.stepper-btn:disabled{color:#d6d3d1;cursor:not-allowed}.stepper-value{width:3rem;height:2.3rem;border:none;border-left:1px solid #f1ece2;border-right:1px solid #f1ece2;text-align:center;font-size:.95rem;font-weight:700;color:#1f2937;background:#fff;padding:0}.stepper-value:focus{outline:2px solid #fcd34d;outline-offset:-2px}@media(min-width:1024px){.item-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.item-row{flex-direction:column;text-align:center;gap:.5rem;padding:.9rem .6rem}.item-thumb{width:64px;height:64px;flex:0 0 64px}.item-name{flex:0 0 auto;width:100%;font-size:.85rem}}@media(min-width:640px)and (max-width:1023px){.item-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}}.list-empty{grid-column:1 / -1;text-align:center;padding:2.5rem 1rem;color:#6b7280;font-size:.9rem}.sticky-bar{position:sticky;bottom:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;margin-top:1rem;padding:.85rem 1rem calc(.85rem + env(safe-area-inset-bottom,0px));background:#fffbf2f7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #f0e6d2;border-radius:1rem;box-shadow:0 -6px 24px -12px #4c2c104d}.sticky-bar-note{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;color:#78716c}.sticky-bar .btn-primary{flex:1 1 auto}@media(min-width:640px){.sticky-bar .btn-primary{flex:0 0 auto}}.page-subnav{display:flex;align-items:center;gap:.5rem;margin-bottom:.9rem}.scan-hero{text-align:center;margin-bottom:1.25rem}.scan-hero-icon{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border:1px solid #e7d0a8;border-radius:.8rem;background:#fffaf2;font-size:1.4rem;margin-bottom:.6rem}.scan-callout{border:1px solid #fde68a;background:#fffbeb;border-radius:.85rem;padding:1rem;margin-bottom:1.1rem}.scan-callout-title{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#78350f;font-size:.95rem;margin-bottom:.15rem}.scan-examples{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:.9rem auto 0;align-items:start;max-width:560px}.scan-example{border-radius:.65rem;padding:.5rem;border:1px solid transparent;min-width:0}.scan-example img{width:100%;aspect-ratio:16 / 9;object-fit:contain;border-radius:.4rem;display:block;background:#0f172a}.scan-example-good{background:#f0fdf4;border-color:#bbf7d0}.scan-example-bad{background:#fef2f2;border-color:#fecaca}.scan-example-label{display:flex;align-items:center;gap:.35rem;font-weight:700;font-size:.78rem;margin-bottom:.4rem}.scan-example-good .scan-example-label{color:#15803d}.scan-example-bad .scan-example-label{color:#b91c1c}.scan-example-caption{margin-top:.4rem;font-size:.68rem;line-height:1.4;color:#57534e}.scan-example-caption strong{display:block;color:#1f2937}.scan-tip-inline{display:flex;gap:.5rem;align-items:flex-start;margin-top:.9rem;font-size:.78rem;color:#57534e;line-height:1.5}.scan-disclosure{border:1px solid #e5e7eb;border-radius:.7rem;margin-bottom:1rem;background:#fff}.scan-disclosure>summary{display:flex;align-items:center;gap:.5rem;padding:.75rem .9rem;cursor:pointer;font-size:.88rem;font-weight:600;color:#57534e;list-style:none}.scan-disclosure>summary::-webkit-details-marker{display:none}.scan-disclosure-body{padding:0 .9rem .9rem}.scan-privacy-note{display:flex;align-items:center;justify-content:center;gap:.4rem;margin-top:.7rem;font-size:.78rem;color:#78716c}.scan-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;margin-top:1.25rem;padding-top:1.1rem;border-top:1px solid #f1ece2}.scan-step{text-align:center}.scan-step-icon{display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;border-radius:999px;background:#fdf3e3;color:#7c2d12;font-size:1rem;margin-bottom:.35rem}.scan-step-title{font-size:.8rem;font-weight:700;color:#1f2937}.scan-step-text{font-size:.7rem;color:#78716c;line-height:1.35;margin-top:.15rem}.review-slot{display:flex;align-items:center;gap:.75rem;padding:.6rem .7rem;border:1px solid #fed7aa;background:#fff7ed;border-radius:.75rem}.review-slot-thumb{width:52px;height:52px;flex:0 0 52px;border-radius:.5rem;overflow:hidden;background:#1f2937;display:flex;align-items:center;justify-content:center}.review-slot-thumb img{width:100%;height:100%;object-fit:cover}.review-slot-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:.35rem}.review-slot-body select{width:100%;padding:.4rem .5rem;border:1px solid #e5e7eb;border-radius:.5rem;font-size:.82rem;background:#fff}.overflow-menu{position:relative}.overflow-menu-list{position:absolute;right:0;top:calc(100% + .35rem);min-width:13rem;background:#fff;border:1px solid #eee5d5;border-radius:.7rem;box-shadow:0 12px 28px -10px #4c2c1047;padding:.3rem;z-index:50}.overflow-menu-item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.55rem .7rem;background:transparent;border:none;border-radius:.5rem;font-size:.85rem;color:#44403c;text-align:left;cursor:pointer}.overflow-menu-item:hover{background:#faf7f2}.overflow-menu-item.is-danger{color:#b91c1c}.overflow-menu-item.is-danger:hover{background:#fef2f2}.page-subnav-title{font-weight:700;color:#44403c;font-size:.95rem}@media(max-width:639px){.page-subnav{justify-content:space-between}}html{scroll-padding-top:5.5rem;scroll-padding-bottom:6rem}.scan-fab{display:none}@media(max-width:767px){body[data-route="#/"] .scan-fab{display:flex}}@media(max-width:480px){.segmented{grid-auto-flow:row;grid-auto-columns:auto}.segmented-btn{white-space:normal;text-align:center;font-size:.8rem}}@media(max-width:639px){.sticky-bar{flex-direction:column;align-items:stretch}.sticky-bar-note{justify-content:center;order:-1}.sticky-bar .btn-secondary,.sticky-bar .btn-primary{width:100%}}@media(min-width:640px){.sticky-bar .btn-secondary{flex:0 0 auto}}.app-icon{flex:0 0 auto;display:inline-block;vertical-align:-.15em}.btn-primary .app-icon,.btn-secondary .app-icon,.btn-ghost .app-icon,.btn-ghost-danger .app-icon,.overflow-menu-item .app-icon,.segmented-btn .app-icon,.stat-chip .app-icon,.panel-hint .app-icon,.sticky-bar-note .app-icon,.scan-callout-title .app-icon,.scan-example-label .app-icon,.scan-tip-inline .app-icon,.scan-privacy-note .app-icon{vertical-align:middle}.search-wrap .search-icon,.sort-wrap>span:first-child{display:inline-flex;align-items:center;color:#a8a29e}.scan-tip-inline .app-icon{margin-top:.1rem}.brand-title{display:inline-flex;align-items:center;justify-content:center;gap:.6rem}.brand-title .app-icon{color:#b45309}.nav-icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem;color:#fef3c7;background:transparent;border:none;border-radius:.5rem;cursor:pointer}.nav-icon-btn:hover{background:#78350f80}.nav-item-icon{display:inline-flex;align-items:center;margin-right:.55rem;vertical-align:-.2em;opacity:.9}.drop-zone-icon{display:flex;justify-content:center;color:#a8a29e;margin-bottom:.6rem}.scan-hero-icon .app-icon{color:#b45309}.scan-step-icon .app-icon{color:inherit}body[data-route="#/scan"]>.container>header{display:none}body[data-route="#/scan"]>.container{padding-top:1.25rem}.brand-mark{width:2.1rem;height:2.1rem;object-fit:contain;flex:0 0 auto}@media(max-width:639px){.brand-mark{width:1.7rem;height:1.7rem}}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:#29160873;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:dialog-fade .14s ease-out}@keyframes dialog-fade{0%{opacity:0}to{opacity:1}}.dialog{width:100%;max-width:27rem;background:#fff;border:1px solid #f0e6d2;border-radius:1rem;box-shadow:0 24px 48px -18px #29160873;padding:1.35rem;animation:dialog-rise .16s ease-out}@keyframes dialog-rise{0%{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}.dialog-head{display:flex;align-items:center;gap:.6rem}.dialog-icon{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;flex:0 0 auto;border-radius:.6rem;background:#fdf3e3;color:#b45309}.dialog-danger .dialog-icon{background:#fef2f2;color:#dc2626}.dialog-title{font-size:1.15rem;font-weight:700;color:#1f2937;margin:0}.dialog-message{margin:.75rem 0 0;font-size:.88rem;line-height:1.55;color:#57534e}.dialog-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1.25rem}.dialog-actions .btn-ghost,.dialog-actions .btn-primary{flex:1 1 auto;justify-content:center}@media(min-width:480px){.dialog-actions .btn-ghost,.dialog-actions .btn-primary{flex:0 0 auto}}.btn-primary.btn-danger{background:#b91c1c}.btn-primary.btn-danger:hover{background:#991b1b}body.dialog-open{overflow:hidden}@media(max-width:767px){.panel-header-actions{width:100%;flex-wrap:nowrap;gap:.5rem}.panel-header-actions .btn-secondary{flex:1 1 auto;justify-content:center}.panel-header-actions .overflow-menu{flex:0 0 auto}.panel-header-actions .btn-ghost{padding:.55rem .7rem}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.effect-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}@media(min-width:1024px){.effect-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.effect-card{position:relative;display:flex;align-items:center;gap:.6rem;padding:.7rem .75rem;background:#fff;border:1px solid #ece5da;border-radius:.8rem;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:0;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}@media(hover:hover){.effect-card:hover{border-color:#e0c9a4;background:#fffdf9}}body[data-input-mode=keyboard] .effect-card:focus-within{outline:2px solid #38bdf8;outline-offset:2px}.effect-card-icon{width:30px;height:30px;flex:0 0 30px;object-fit:contain;filter:drop-shadow(0 0 1px rgba(120,53,15,.45)) drop-shadow(0 0 1px rgba(120,53,15,.45))}.effect-card-icon-none{border-radius:999px;border:4px solid #6b7280;background:#e5e7eb;width:26px;height:26px;flex-basis:26px;margin:0 2px}.effect-card-text{display:flex;flex-direction:column;min-width:0}.effect-card-name{font-size:.9rem;font-weight:700;color:#1f2937;line-height:1.2}.effect-card-sub{font-size:.72rem;color:#78716c;line-height:1.25;margin-top:.1rem}.effect-card-check{position:absolute;top:.5rem;right:.5rem;display:none;align-items:center;justify-content:center;width:1.15rem;height:1.15rem;border-radius:999px;background:#d97706;color:#fff}.effect-card[class*=checked-]{border-color:#e0b063;background:#fffaef;box-shadow:0 1px 3px #78350f14}.effect-card[class*=checked-] .effect-card-check{display:inline-flex}.effect-card[class*=checked-] .effect-card-name{color:#7c2d12}.inventory-controls .overflow-menu{flex:0 0 auto}@media(max-width:1023px){.inventory-controls{position:relative}.inventory-controls .sort-wrap{flex:1 1 auto}.inventory-controls>.overflow-menu{position:absolute;right:0;bottom:0}.inventory-controls .sort-wrap{padding-right:3.4rem}}.notification-stack{position:fixed;z-index:90;top:calc(4rem + env(safe-area-inset-top,0px));left:.75rem;right:.75rem;display:flex;flex-direction:column;gap:.5rem;pointer-events:none}@media(min-width:640px){.notification-stack{top:5rem;left:auto;right:1.25rem;width:24rem}}.notification{display:flex;align-items:center;gap:.7rem;padding:.75rem .85rem .75rem 1rem;background:#fff;border:1px solid #ece5da;border-left:4px solid #9ca3af;border-radius:.85rem;box-shadow:0 12px 28px -12px #29160859;pointer-events:auto;opacity:0;transform:translateY(-8px);transition:opacity .22s ease,transform .22s ease}.notification.is-visible{opacity:1;transform:none}.notification-success{border-left-color:#16a34a}.notification-info{border-left-color:#2563eb}.notification-warning{border-left-color:#d97706}.notification-error{border-left-color:#dc2626}.notification-thumb{width:2.75rem;height:2.75rem;flex:0 0 2.75rem;display:flex;align-items:center;justify-content:center;border:1px solid #ece5da;border-radius:.6rem;background:#fffaf2;overflow:hidden}.notification-thumb img{width:100%;height:100%;object-fit:contain}.notification-body{flex:1 1 auto;min-width:0}.notification-title{display:flex;align-items:center;gap:.4rem;margin:0;font-size:.92rem;font-weight:700;line-height:1.25}.notification-success .notification-title{color:#15803d}.notification-info .notification-title{color:#1d4ed8}.notification-warning .notification-title{color:#b45309}.notification-error .notification-title{color:#b91c1c}.notification-message{margin:.15rem 0 0;font-size:.82rem;line-height:1.45;color:#57534e;overflow-wrap:anywhere}.notification-actions{display:flex;align-items:center;gap:.5rem;flex:0 0 auto}.notification-action{background:none;border:none;padding:.25rem .15rem;font-size:.85rem;font-weight:600;color:#1d4ed8;text-decoration:underline;cursor:pointer;white-space:nowrap}.notification-action:hover{color:#1e3a8a}.notification-close{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;flex:0 0 2rem;border-radius:999px;border:1px solid #ece5da;background:#faf7f2;color:#78716c;cursor:pointer;transition:background .15s ease,color .15s ease}.notification-close:hover{background:#f1ece2;color:#44403c}.notification-success .notification-close{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}@media(prefers-reduced-motion:reduce){.notification{transition:none}}
