:root{--bg: #ffffff;--fg: #191714;--sub: #5c564d;--card: #f6f4f0;--card-bd: #e4e0d8;--line: #d9d4ca;--amber: #f2a516;--amber-soft: #fff3d6;--r: 16px;--touch-target: 44px;--support-text: .875rem;--screen-bottom: 24px;--font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:var(--bg);color:var(--fg);font-family:var(--font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button,input{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#app{height:100%}.app{max-width:480px;margin:0 auto;height:100%;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px)}.screen{position:relative;flex:1;min-height:0;overflow-y:auto;padding:18px max(18px,env(safe-area-inset-right,0px)) var(--screen-bottom) max(18px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:16px}.screen>.title,.screen>.head .title,.screen>.compare-view>.head .title,.screen>.top{padding-right:44px}.top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.title{font-size:1.5rem;font-weight:800;letter-spacing:-.025em;line-height:1.25;margin:0;overflow-wrap:anywhere}.meta{font-size:var(--support-text);color:var(--sub)}.h2{font-size:1.3rem;font-weight:800;letter-spacing:-.02em;margin:0;line-height:1.35;text-wrap:balance}.h3{font-size:1rem;font-weight:700;margin:0}.muted{color:var(--sub);font-size:.9rem;margin:0}.tiny{color:var(--sub);font-size:var(--support-text);margin:0}.tabbar{display:flex;flex:none;border-top:1px solid var(--line);background:var(--bg);padding-bottom:env(safe-area-inset-bottom,0px)}.tabbar button{flex:1;border:0;background:none;padding:12px 0 14px;font-size:var(--support-text);color:var(--sub);border-top:3px solid transparent;margin-top:-1px}.tabbar button[aria-current=page]{color:var(--fg);font-weight:700;border-top-color:var(--amber)}.vs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pick{border:1px solid var(--card-bd);background:var(--bg);border-radius:var(--r);padding:16px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:start;overflow-wrap:anywhere}.pick:active,.pick.sel{background:var(--amber-soft);border-color:var(--amber)}.pick b{font-size:1.125rem;font-weight:750;letter-spacing:-.02em;line-height:1.25;word-break:keep-all}.pick small{font-size:var(--support-text);color:var(--sub)}.row2{display:flex;gap:10px}.btn{flex:1;min-height:var(--touch-target);border:1.5px solid var(--line);background:var(--bg);border-radius:var(--r);padding:13px 10px;font-size:.95rem;font-weight:600}.btn.primary{background:var(--fg);color:#fff;border-color:var(--fg)}.btn.amber{background:var(--amber);border-color:var(--amber);color:var(--fg)}.btn.small{flex:none;padding:8px 12px;font-size:.85rem;border-radius:12px}.btn:disabled{opacity:.4;cursor:default}.link{border:0;background:none;padding:0;color:var(--fg);text-decoration:underline;text-underline-offset:.18em;font-size:var(--support-text)}.screen>.link{flex:none;min-height:var(--touch-target)}.thumb{width:40px;height:52px;border-radius:10px;flex:none}.thumb.fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--card);color:var(--tone, var(--amber))}.thumb.fallback svg{width:22px;height:38px;display:block}.thumb.photo{width:40px;height:52px;object-fit:contain;background:transparent;mix-blend-mode:multiply}.thumb.photo.mark{width:52px;height:72px;border-radius:6px}.thumb.fallback.mark{width:64px;height:96px;border-radius:14px}.thumb.fallback.mark svg{width:34px;height:60px}.card{background:var(--card);border:1px solid var(--card-bd);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;gap:12px}.list{display:flex;flex-direction:column;gap:0;margin:0;padding:0;list-style:none}.item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:10px 2px;background:none;border:0;border-bottom:1px solid var(--card-bd);text-align:left;width:100%}.item.rank{grid-template-columns:24px auto 1fr auto}.item .because{display:block;color:var(--fg)}.item b{font-size:.98rem;display:block;line-height:1.35;word-break:keep-all}.item small{font-size:.8rem;color:var(--sub)}.item .n{font-weight:900;font-size:1.1rem;text-align:center;font-variant-numeric:tabular-nums}.item .right{font-size:.8rem;color:var(--sub);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.check{width:28px;height:28px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-size:.9rem;font-weight:900}.check.on{background:var(--amber);border-color:var(--amber)}.searchbar{display:flex;gap:8px}.input{flex:1;min-width:0;border:1.5px solid var(--line);border-radius:14px;padding:12px 14px;font-size:1rem;background:var(--bg)}.input:focus{border-color:var(--fg)}.chips{display:flex;flex:none;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.chip{flex:none;min-height:var(--touch-target);border:1.5px solid var(--line);background:var(--bg);border-radius:99px;padding:6px 12px;font-size:var(--support-text);white-space:nowrap}.chip[aria-pressed=true]{background:var(--fg);color:#fff;border-color:var(--fg)}.chip:focus-visible{outline:2px solid currentColor;outline-offset:-4px}.bars{display:flex;flex-direction:column;gap:8px}.bar{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center;font-size:.9rem}.bar i{height:10px;border-radius:6px;background:#e7e2d8;position:relative;overflow:hidden}.bar i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--v);background:var(--amber);border-radius:6px}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#19171473;display:flex;align-items:flex-end;justify-content:center;z-index:20}.sheet{width:100%;max-width:480px;max-height:88%;overflow-y:auto;background:var(--bg);border-radius:22px 22px 0 0;padding:22px max(20px,env(safe-area-inset-left,0px)) calc(22px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:14px}.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0;font-size:.92rem}.facts dt{color:var(--sub)}.facts dd{margin:0;word-break:keep-all}.empty{text-align:center;padding:32px 12px;display:flex;flex-direction:column;gap:10px;align-items:center}.scanner{position:relative;border-radius:var(--r);overflow:hidden;background:#000;aspect-ratio:4 / 3}.scanner video{width:100%;height:100%;object-fit:cover;display:block}.scanner .frame{position:absolute;top:30%;right:12%;bottom:30%;left:12%;border:3px solid var(--amber);border-radius:12px}.pick.mode{padding:14px 16px}.koname{font-size:1.15rem;font-weight:700;color:var(--sub)}.settings-btn{position:absolute;top:11px;right:max(10px,env(safe-area-inset-right,0px));z-index:2;width:var(--touch-target);height:var(--touch-target);border:0;border-radius:50%;background:transparent;color:var(--sub);display:inline-flex;align-items:center;justify-content:center;transition:background-color .14s ease,color .14s ease}.settings-btn:hover{background:var(--card);color:var(--fg)}.settings-btn:active{background:var(--amber-soft);color:var(--fg)}.setup-foot{padding-top:12px;border-top:1px solid var(--card-bd);font-size:.8125rem}.compare-view{flex:1;display:flex;flex-direction:column;gap:16px}.compare-stage{margin-block:auto;display:flex;flex-direction:column;gap:14px;padding-block:8px}.pickcol{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}.pick-vs{flex:1;background:var(--bg);border:1.5px solid var(--card-bd);border-radius:20px;padding:8px 8px 16px;align-items:center;text-align:center;gap:6px;box-shadow:0 2px 10px #1917140a;transition:border-color .14s ease,background-color .14s ease,transform .12s ease,box-shadow .14s ease}.pick-vs:hover{border-color:#cfc8ba;box-shadow:0 4px 14px #1917140f}.pick-vs:active{background:var(--amber-soft);border-color:var(--amber);transform:scale(.985)}.pick-media{width:100%;height:clamp(204px,34vh,272px);flex:none;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0}.pick-media .thumb.photo.mark{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;border-radius:0;background:transparent;object-fit:contain;mix-blend-mode:multiply}.pick-media .thumb.fallback.mark{width:96px;height:152px;border-radius:18px}.pick-media .thumb.fallback.mark svg{width:52px;height:92px}.pick-copy{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;min-width:0}.pick-vs b{font-size:1.05rem;font-weight:750;letter-spacing:-.02em;line-height:1.3;word-break:keep-all}.pick-vs small{font-size:.8125rem;color:var(--sub)}.pick-skip{align-self:center;min-height:36px;padding:6px 10px;border:0;border-radius:10px;background:transparent;color:#8a8378;font-size:.78rem;white-space:nowrap;transition:background-color .14s ease,color .14s ease}.pick-skip:hover{background:var(--card);color:var(--fg)}.pick-skip:active{background:var(--amber-soft);color:var(--fg)}.compare-status,.compare-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-pill{flex:none;min-height:34px;padding:6px 12px;border:1px solid var(--card-bd);border-radius:99px;background:var(--card);color:var(--fg);font-size:.8125rem;font-weight:600;white-space:nowrap;transition:background-color .14s ease,border-color .14s ease}.result-pill:hover{background:#ede9e0}.result-pill.ready{background:var(--amber-soft);border-color:var(--amber)}.compare-tie{width:100%;min-height:var(--touch-target);border:1px solid var(--card-bd);border-radius:14px;background:var(--card);color:var(--sub);font-size:.9rem;font-weight:600;padding:11px 12px;transition:background-color .14s ease,color .14s ease}.compare-tie:hover{background:#ede9e0;color:var(--fg)}.compare-tie:active{background:var(--amber-soft);color:var(--fg)}.compare-actions{padding-top:6px;margin-bottom:-12px;border-top:1px solid var(--card-bd)}.action-btn{min-height:var(--touch-target);padding:6px 4px;border:0;background:transparent;color:var(--sub);font-size:var(--support-text);font-weight:500;white-space:nowrap;transition:color .14s ease}.action-btn:hover:not(:disabled){color:var(--fg)}.action-btn:disabled{opacity:.35;cursor:default}.progress{display:grid;flex:1;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;font-size:.8125rem;color:var(--sub);font-variant-numeric:tabular-nums}.progress i{height:6px;border-radius:6px;background:#e7e2d8;position:relative;overflow:hidden}.progress i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--v);background:var(--amber);border-radius:6px}.stickybar{position:sticky;bottom:calc(-1 * var(--screen-bottom));margin-bottom:calc(-1 * var(--screen-bottom));padding-block:10px 12px;border-top:1px solid var(--card-bd);background:var(--bg);display:flex;flex-direction:column;gap:6px}.stickybar .meta{text-align:center}.head{display:flex;flex-direction:column;gap:6px}.section{display:flex;flex-direction:column;gap:8px;padding-top:8px}.section .h3{font-size:1.05rem}.seg{display:flex;gap:6px;flex-wrap:wrap}.seg button{min-height:var(--touch-target);border:1.5px solid var(--line);background:var(--bg);border-radius:10px;padding:6px 10px;font-size:var(--support-text)}.seg button[aria-pressed=true]{background:var(--fg);color:#fff;border-color:var(--fg)}.link:disabled{opacity:.35;cursor:default}.withcheck{display:flex;gap:8px;align-items:center}.withcheck .item{flex:1;min-width:0}html,body{overflow-x:clip}.promo-filters{display:flex;flex-wrap:wrap;gap:8px}.promo-filters .chip,.promo-store .link,.promo-prompt .link{white-space:nowrap}.promo-prompt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 12px;padding:6px 12px;border:1px solid var(--card-bd);border-radius:12px}.promo-prompt .link{min-height:var(--touch-target)}.promo-listing{flex:none;border:1px solid var(--card-bd);border-radius:var(--r)}.promo-offer{padding:12px 14px;background:var(--amber-soft);border-radius:calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0}.promo-store{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px}.promo-store .link{display:inline-flex;align-items:center;gap:4px;min-height:var(--touch-target)}.promo-benefit{margin:0 0 2px;font-size:1.25rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.promo-products{list-style:none;margin:0;padding:0}.promo-products li+li{border-top:1px solid var(--card-bd)}.promo-product{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:60px;padding:8px 12px;border:0;background:var(--bg);text-align:start}.promo-products li:last-child .promo-product{border-radius:0 0 calc(var(--r) - 1px) calc(var(--r) - 1px)}button.promo-product:hover{background:var(--card)}button.promo-product:active{background:var(--amber-soft)}button.promo-product:focus-visible{outline-offset:-3px}.promo-product-name{display:grid;gap:2px;overflow-wrap:anywhere}.promo-product-name b{line-height:1.3}.promo-product small,.promo-product-end{font-size:var(--support-text);color:var(--sub)}.promo-product .promo-match{width:fit-content;padding:1px 6px;border-radius:6px;background:var(--amber-soft);color:var(--fg)}.promo-product-end{display:inline-flex;align-items:center;gap:6px;text-align:end;white-space:nowrap}.promo-price-stack{display:grid;justify-items:end;gap:2px}.promo-price-main{display:inline-flex;align-items:center;gap:5px;font-size:.95rem;color:var(--fg)}.promo-price-main b{font-weight:800}.promo-price-sub{display:inline-flex;align-items:center;gap:5px;font-size:var(--support-text);color:var(--sub)}.promo-price-sub del{opacity:.7}.promo-discount-badge{display:inline-block;padding:1px 5px;border-radius:5px;background:var(--amber);color:#1a1208;font-size:.75rem;font-weight:800;line-height:1.3}.promo-sub-benefit{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 2px;font-size:.9rem;font-weight:700;color:var(--fg)}.promo-mix-badge{display:inline-block;padding:2px 7px;border-radius:999px;background:var(--bg);border:1px solid var(--card-bd);font-size:.75rem;font-weight:700;color:var(--fg)}.promo-more{display:block;width:100%;min-height:var(--touch-target);padding:10px 14px;border:0;border-top:1px solid var(--card-bd);border-radius:0 0 calc(var(--r) - 1px) calc(var(--r) - 1px);background:var(--bg);color:var(--sub);font:inherit;font-size:.875rem;font-weight:600;cursor:pointer}.promo-more:hover{background:var(--card);color:var(--fg)}.promo-chevron{font-size:1.25rem;line-height:1}.promo-unmatched{background:var(--card);border:1px solid var(--card-bd)}:lang(ko) :is(.promo-head,.promo-offer,.promo-prompt,.promo-product-name){word-break:keep-all}.check.big{width:40px;height:40px;background:var(--bg);flex:none}.check.big.on{background:var(--amber)}.lucky{border-top:1px solid var(--card-bd);padding-top:16px;margin-top:8px}.lucky .top{align-items:center}.sheet-credit a{color:inherit}.desc{margin:0}.taste-banner{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px 16px 18px;border:1px solid var(--card-bd);border-radius:var(--r);background:var(--card);text-align:left;transition:background-color .14s ease,border-color .14s ease}.taste-banner:hover{border-color:#cfc8ba}.taste-banner:active{background:var(--amber-soft);border-color:var(--amber)}.taste-banner-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.taste-banner-copy small{font-size:.8125rem;color:var(--sub)}.taste-banner-copy b{font-size:1.1rem;font-weight:800;letter-spacing:-.02em;line-height:1.3;word-break:keep-all}.taste-banner-chevron{font-size:1.4rem;line-height:1;color:var(--sub);flex:none}.rec-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.rec-toggle{display:inline-flex;padding:3px;border-radius:99px;background:var(--card);border:1px solid var(--card-bd)}.rec-toggle button{min-height:32px;padding:4px 12px;border:0;border-radius:99px;background:transparent;color:var(--sub);font-size:.8125rem;font-weight:600;white-space:nowrap}.rec-toggle button[aria-pressed=true]{background:var(--fg);color:#fff}.rec-card-list{list-style:none;margin:0;padding:0;border:1px solid var(--card-bd);border-radius:var(--r);overflow:hidden;background:var(--bg)}.rec-card-list li+li{border-top:1px solid var(--card-bd)}.rec-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;width:100%;padding:12px 14px;border:0;background:transparent;text-align:left;transition:background-color .12s ease}.rec-row:hover{background:var(--card)}.rec-row:active{background:var(--amber-soft)}.rec-row-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.rec-row-copy b{font-size:.98rem;line-height:1.3;word-break:keep-all}.rec-row-copy small{font-size:.8125rem;color:var(--sub)}.rec-row-reason{color:var(--fg)!important;margin-top:2px}.rec-row .right{font-size:1.2rem;color:var(--sub);line-height:1}.onboard-card{background:var(--card);border:1px solid var(--card-bd);border-radius:20px;padding:22px 18px;display:flex;flex-direction:column;gap:12px}.onboard-card .btn{margin-top:4px}.nudge-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:var(--r);background:var(--amber-soft);border:1px solid #f0d79a}.nudge-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.nudge-copy b{font-size:.94rem;line-height:1.3}.nudge-copy small{font-size:.82rem;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.taste-summary{margin:0;font-size:1.05rem;font-weight:700;line-height:1.35;word-break:keep-all}.match-tag{display:inline-block;margin-top:3px;padding:1px 6px;border-radius:6px;background:var(--amber-soft);color:var(--fg)!important;font-weight:600}.compare-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 -4px}.back-btn{min-height:var(--touch-target);padding:6px 4px;border:0;background:transparent;color:var(--sub);font-size:.92rem;font-weight:600;white-space:nowrap}.back-btn:hover{color:var(--fg)}.focus-done{margin-block:auto;text-align:center;padding:16px 8px 28px;display:flex;flex-direction:column;align-items:center;gap:12px}.focus-done-media{width:100%;height:196px;display:flex;align-items:center;justify-content:center;background:var(--card);border-radius:20px;padding:14px}.focus-done-media .thumb.photo.mark{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.focus-done-media .thumb.fallback.mark,.sheet-hero .thumb.fallback.mark{width:96px;height:148px;border-radius:18px;background:transparent}.focus-done-media .thumb.fallback.mark svg,.sheet-hero .thumb.fallback.mark svg{width:56px;height:104px}.focus-done-actions{width:100%;display:flex;flex-direction:column;gap:8px;margin-top:8px}.sheet-hero{width:100%;height:200px;display:flex;align-items:center;justify-content:center;background:var(--card);border-radius:16px;padding:14px;flex:none}.sheet-hero .thumb.photo.mark{width:100%;height:100%;border-radius:0;object-fit:contain;mix-blend-mode:multiply}.sheet-title{display:flex;flex-direction:column;gap:4px}.sheet-title h2{overflow-wrap:anywhere}.sheet-meta{margin:0;font-size:.92rem;color:var(--sub)}.sheet-rank{width:fit-content;margin-top:4px;padding:3px 10px;border-radius:99px;background:var(--amber-soft);font-size:.85rem;font-weight:700}.taste-fit{padding:12px 14px;border-radius:14px;display:flex;flex-direction:column;gap:2px}.taste-fit b{font-size:.94rem;line-height:1.3}.taste-fit small{font-size:.84rem;color:var(--sub)}.taste-fit-good{background:var(--amber-soft);border:1px solid #f0d79a}.taste-fit-neutral,.taste-fit-different{background:var(--card);border:1px solid var(--card-bd)}.sheet-similar{border-top:1px solid var(--card-bd);padding-top:14px;display:flex;flex-direction:column;gap:6px}.snackbar{position:fixed;left:50%;transform:translate(-50%);bottom:calc(66px + env(safe-area-inset-bottom,0px));z-index:30;width:min(448px,calc(100% - 28px));display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;border-radius:16px;background:var(--fg);color:#fff;box-shadow:0 10px 28px #1917143d}.snackbar.over-sheet{bottom:calc(16px + env(safe-area-inset-bottom,0px))}.snackbar-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.snackbar-copy b{font-size:.9rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.snackbar-copy small{font-size:.8rem;color:#d4cfc6;line-height:1.3}.snackbar-action{flex:none;min-height:36px;padding:6px 12px;border:0;border-radius:10px;background:var(--amber);color:var(--fg);font-size:.85rem;font-weight:700;white-space:nowrap}.snackbar-close{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#b7b1a8;font-size:1.15rem;line-height:1;display:grid;place-items:center}.snackbar-close:hover{color:#fff}
