:root{--bg:#f5f5f7;--text:#1d1d1f;--muted:#6e6e73;--accent:#0071e3;--line:#00000014;--p:#0071e3;--f:#ff9500;--c:#34c759}*{box-sizing:border-box;-webkit-font-smoothing:antialiased;margin:0;padding:0}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--text);min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;padding:0}a{color:inherit;text-decoration:none}.hbar>form{margin-left:auto}header{z-index:50;-webkit-backdrop-filter:saturate(180%)blur(20px);border-bottom:1px solid var(--line);background:#f5f5f7b8;position:sticky;top:0}.hbar{align-items:center;gap:24px;max-width:1160px;height:56px;margin:0 auto;padding:0 22px;display:flex}.logo{letter-spacing:-.02em;white-space:nowrap;font-size:19px;font-weight:600}.logo i{color:var(--accent);font-style:normal}nav{gap:22px;font-size:14px;display:flex}nav a{opacity:.8;transition:opacity .2s}nav a:hover,nav a.on{opacity:1}nav a.on{color:var(--accent);font-weight:500}.search{background:#0000000d;border-radius:999px;align-items:center;gap:7px;width:210px;margin-left:auto;padding:7px 14px;transition:background .2s,width .3s;display:flex}.search:focus-within{background:#00000014;width:250px}.search input{width:100%;color:var(--text);background:0 0;border:none;outline:none;font-family:inherit;font-size:14px}.search input::placeholder{color:var(--muted)}.crumbs{max-width:1160px;color:var(--muted);opacity:0;flex-wrap:wrap;align-items:center;gap:7px;height:0;margin:0 auto;padding:0 22px;font-size:13px;transition:height .3s cubic-bezier(.2,.8,.2,1),opacity .25s;display:flex;overflow:hidden}.crumbs.on{opacity:1;height:44px}.crumbs a{color:var(--accent);font-size:13px}.crumbs a:hover{text-decoration:underline}.crumbs .sep{opacity:.4}.crumbs .now{color:var(--text);text-overflow:ellipsis;white-space:nowrap;max-width:36ch;font-weight:500;overflow:hidden}main{max-width:1160px;margin:0 auto;padding:0 22px 90px}.view{animation:.5s cubic-bezier(.2,.8,.2,1) in}@keyframes in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.page-title{letter-spacing:-.03em;margin:32px 0 10px;font-size:clamp(32px,5vw,52px);font-weight:700;line-height:1.05}.page-sub{color:var(--muted);margin-bottom:34px;font-size:clamp(15px,1.6vw,18px)}.sec-head{justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 20px;display:flex}.sec-head h2{letter-spacing:-.02em;font-size:23px;font-weight:600}.sec-head span{color:var(--muted);font-size:14px}.grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:16px;margin-bottom:52px;display:grid}.grid.tight{grid-template-columns:repeat(auto-fill,minmax(196px,1fr))}.tile{aspect-ratio:1;text-align:left;color:#fff;background-color:#ddd;background-position:50%;background-size:cover;border-radius:26px;flex-direction:column;justify-content:space-between;padding:16px;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 12px #0000000f}.tile:after{content:"";background:linear-gradient(#0000 22%,#0000000d 38%,#00000061 62%,#000000c7 100%);transition:opacity .4s;position:absolute;inset:0}.tile:hover{transform:scale(1.035);box-shadow:0 20px 40px #0000002e}.tile:hover:after{opacity:.92}.tile:active{transform:scale(.985)}.tile>*{z-index:1;position:relative}.tile .badge{-webkit-backdrop-filter:blur(10px);background:#ffffff2e;border:1px solid #ffffff40;border-radius:50%;justify-content:center;align-self:flex-start;align-items:center;width:38px;height:38px;font-size:18px;display:flex}.tile .meta{display:block}.tile .name{letter-spacing:-.02em;text-shadow:0 1px 8px #00000040;font-size:16.5px;font-weight:600;line-height:1.2;display:block}.tile .cnt{color:#ffffffc7;text-shadow:0 1px 6px #0000004d;margin-top:4px;font-size:12.5px;display:block}.upload-banner{color:#fff;text-align:left;background:linear-gradient(120deg,#1d1d1f 0%,#3a3a3c 100%);border-radius:28px;justify-content:space-between;align-items:center;gap:24px;width:100%;margin:36px 0 46px;padding:30px 34px;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s;display:flex;position:relative;overflow:hidden}.upload-banner:hover{transform:translateY(-3px);box-shadow:0 24px 50px #0000003d}.ub-tag{letter-spacing:.09em;text-transform:uppercase;color:#8ecbff;margin-bottom:10px;font-size:12px;font-weight:600}.ub-title{letter-spacing:-.025em;margin-bottom:8px;font-size:clamp(20px,2.6vw,27px);font-weight:600}.ub-description{color:#ffffff9e;max-width:44ch;font-size:15px}.ub-icon{opacity:.9;filter:drop-shadow(0 8px 24px #0006);flex:none;font-size:88px;line-height:1}.rail{scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:14px;margin:0 -4px 44px;padding:4px 4px 18px;display:flex;overflow-x:auto}.rail::-webkit-scrollbar{display:none}.rcard{scroll-snap-align:start;text-align:left;background:#fff;border-radius:22px;flex:0 0 220px;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s;overflow:hidden;box-shadow:0 4px 16px #00000012}.rcard:hover{transform:translateY(-5px);box-shadow:0 18px 34px #00000021}.rcard .ph{aspect-ratio:3/2;background-color:#ddd;background-position:50%;background-size:cover}.rcard .body{padding:14px 16px 16px}.rcard h3{letter-spacing:-.015em;color:var(--text);margin-bottom:6px;font-size:15px;font-weight:600;line-height:1.3}.rcard .m{color:var(--muted);font-size:12.5px}.recipe-intro{align-items:center;gap:36px;margin:18px 0 42px;display:grid}.recipe-intro.with-photo{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.recipe-summary{overflow-wrap:anywhere;min-width:0}.recipe-summary .r-meta{margin-bottom:20px}.recipe-summary>:last-child{margin-bottom:0}.hero-photo{aspect-ratio:3/2;background-color:#ddd;background-position:50%;background-size:cover;border-radius:30px;width:100%;animation:.6s cubic-bezier(.2,.8,.2,1) in;box-shadow:0 26px 60px #00000029}.r-title{letter-spacing:-.03em;margin:0 0 18px;font-size:clamp(30px,3.5vw,42px);font-weight:700;line-height:1.08}.r-meta{flex-wrap:wrap;gap:10px;margin-bottom:26px;display:flex}.pill{border:1px solid var(--line);background:#fff;border-radius:999px;align-items:center;gap:7px;padding:9px 15px;font-size:13.5px;display:inline-flex}.pill b{font-weight:600}.r-desc{color:#3a3a3c;max-width:64ch;margin-bottom:0;font-size:17px;line-height:1.6}.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:34px;margin-bottom:56px;display:grid}.ing-col{align-self:start;max-height:calc(100vh - 120px);margin:-12px;padding:12px;position:sticky;top:108px;overflow-y:auto}@media (max-width:820px){.ing-col{max-height:none;margin:0;padding:0;position:static;overflow:visible}.recipe-intro{gap:24px;margin-bottom:32px}.recipe-intro.with-photo{grid-template-columns:1fr}.two-col{grid-template-columns:1fr;gap:30px}}.block-title{letter-spacing:-.02em;margin-bottom:16px;font-size:20px;font-weight:600}.ing{background:#fff;border-radius:22px;padding:6px 20px;box-shadow:0 2px 12px #0000000d}.ing li{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:14px 0;font-size:15px;list-style:none;display:flex}.ing-media{border-radius:14px;flex:0 0 52px;place-items:center;width:52px;height:52px;display:grid}.ing-media.placeholder{color:#749487;background:linear-gradient(145deg,#f2f7f4,#e8f0eb);border:1px solid #e3ebe6}.ing-photo{object-fit:contain;width:100%;height:100%}.ing li:last-child{border-bottom:none}.ing-text{min-width:0;color:var(--text);white-space:normal;overflow-wrap:anywhere;flex:1;line-height:1.45}.steps{--step-marker:36px;--step-gap:18px;list-style:none}.step{grid-template-columns:var(--step-marker) minmax(0,1fr);gap:var(--step-gap);padding-bottom:20px;display:grid;position:relative}.step:before{content:"";left:calc(var(--step-marker) / 2 - 1px);top:calc(var(--step-marker) / 2);bottom:calc(var(--step-marker) / -2);border-left:2px dashed var(--line);position:absolute}.step:last-child{padding-bottom:0}.step:last-child:before{content:none}.step-num{z-index:1;width:var(--step-marker);height:var(--step-marker);color:var(--text);background:#fff;border:1px solid #d8d8dc;border-radius:50%;justify-content:center;align-items:center;font-size:14.5px;font-weight:700;display:flex;position:relative}.step.with-photo .step-num{background:var(--accent);border-color:var(--accent);color:#fff}.step-card{background:#fff;border-radius:24px;min-width:0;overflow:hidden;box-shadow:0 2px 14px #0000000f}.step.with-photo .step-card{grid-template-columns:45% minmax(0,1fr);display:grid}.step-photo{min-width:0;position:relative}.step-photo:before{content:"";aspect-ratio:3/2;display:block}.step-photo img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.step-body{overflow-wrap:anywhere;min-width:0;padding:20px 22px}.step-title{margin-bottom:10px;font-size:17px;font-weight:600;line-height:1.3}.step-text{color:#3a3a3c;white-space:pre-line;font-size:15.5px;line-height:1.6}@media (max-width:720px){.steps{--step-marker:30px;--step-gap:12px}.step{padding-bottom:16px}.step.with-photo .step-card{grid-template-columns:minmax(0,1fr)}.step-card{border-radius:20px}.step-num{font-size:13px}.step-body{padding:16px 18px}.step-text{font-size:14.5px}}.back-btn{color:var(--accent);align-items:center;gap:6px;margin-bottom:6px;padding:14px 0;font-size:15px;font-weight:500;display:inline-flex}.back-btn:hover{text-decoration:underline}.day-pills{scrollbar-width:none;gap:8px;margin-bottom:18px;padding:4px 0 18px;display:flex;overflow-x:auto}.day-pills::-webkit-scrollbar{display:none}.day-pill{border:1px solid var(--line);background:#fff;border-radius:999px;flex:none;padding:11px 20px;font-size:14.5px;font-weight:500;transition:all .25s cubic-bezier(.2,.8,.2,1)}.day-pill:hover{background:#fafafa}.day-pill.on{background:var(--text);color:#fff;border-color:var(--text)}.summary{background:#fff;border-radius:28px;margin-bottom:26px;padding:26px 28px;box-shadow:0 4px 20px #0000000f}.sum-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.sum-label{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px;font-size:13px;font-weight:600}.sum-kcal{letter-spacing:-.03em;font-size:clamp(34px,5vw,44px);font-weight:700;line-height:1}.sum-kcal span{color:var(--muted);letter-spacing:0;margin-left:4px;font-size:17px;font-weight:500}.sum-norm{color:var(--muted);padding-bottom:6px;font-size:14px}.sum-norm b{color:var(--text);font-weight:600}.macro-bars{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.mb-top{justify-content:space-between;margin-bottom:7px;font-size:13.5px;display:flex}.mb-top span:first-child{font-weight:600}.mb-top span:last-child{color:var(--muted)}.bar{background:#00000012;border-radius:99px;height:7px;overflow:hidden}.bar i{border-radius:99px;height:100%;transition:width .9s cubic-bezier(.2,.8,.2,1);display:block}.meal{background:#fff;border-radius:24px;grid-template-columns:140px 1fr;gap:18px;margin-bottom:14px;padding:14px;transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s;display:grid;box-shadow:0 2px 12px #0000000d}.meal:hover{transform:translateY(-3px);box-shadow:0 16px 32px #0000001a}.meal-photo{aspect-ratio:1;background-color:#ddd;background-position:50%;background-size:cover;border-radius:18px}.meal-body{flex-direction:column;justify-content:center;min-width:0;padding-right:8px;display:flex}.meal-type{letter-spacing:.09em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;margin-bottom:6px;font-size:11.5px;font-weight:700;display:flex}.meal-type .ok{color:var(--c);letter-spacing:.02em;background:#34c7591f;border-radius:6px;padding:2px 8px;font-size:10.5px;font-weight:700}.meal-body h3{letter-spacing:-.02em;margin-bottom:12px;font-size:17.5px;font-weight:600;line-height:1.25}.macros{flex-wrap:wrap;gap:7px;display:flex}.mchip{background:var(--bg);border-radius:10px;align-items:center;gap:5px;padding:6px 11px;font-size:12.5px;font-weight:500;display:inline-flex}.mchip b{font-weight:700}.mchip.k{background:#0000000f}.mchip.p{color:var(--p);background:#0071e31a}.mchip.f{color:#c96f00;background:#ff95001f}.mchip.c{color:#1d8a3d;background:#34c7591f}.drop{text-align:center;cursor:pointer;background:#fff;border:2px dashed #00000024;border-radius:30px;padding:70px 30px;transition:all .3s cubic-bezier(.2,.8,.2,1);display:block}.drop:hover{border-color:var(--accent);background:#f7fbff}.drop.over{border-color:var(--accent);background:#eef7ff;transform:scale(1.01)}.drop .icon{margin-bottom:18px;font-size:56px;line-height:1;display:block}.drop-title{letter-spacing:-.02em;margin-bottom:8px;font-size:19px;font-weight:600}.drop-description{color:var(--muted);font-size:14.5px}.drop .hint{color:#a0a0a5;margin-top:18px;font-size:12.5px}.preview{background:#000;border-radius:30px;animation:.5s cubic-bezier(.2,.8,.2,1) in;position:relative;overflow:hidden;box-shadow:0 26px 60px #0000002e}.preview img{object-fit:cover;width:100%;max-height:520px;display:block}.analyzing{background:#fff;border-radius:30px;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:64px 20px;display:flex;box-shadow:0 4px 20px #0000000f}.spinner{border:3px solid #00000017;border-top-color:var(--accent);border-radius:50%;width:40px;height:40px;animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.analyzing p{color:var(--muted);font-size:15px}.result{background:#fff;border-radius:30px;padding:30px 32px;animation:.55s cubic-bezier(.2,.8,.2,1) in;box-shadow:0 8px 30px #00000014}.res-head{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px;padding-bottom:24px;display:flex}.res-head .rl{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:9px;font-size:12px;font-weight:600}.res-head h2{letter-spacing:-.025em;font-size:clamp(22px,3vw,30px);font-weight:700;line-height:1.15}.res-head .portion{color:var(--muted);margin-top:8px;font-size:14px}.res-kcal{text-align:right}.res-kcal .num{letter-spacing:-.035em;font-size:clamp(34px,5vw,46px);font-weight:700;line-height:1}.res-kcal .lbl{color:var(--muted);margin-top:6px;font-size:13px}.res-macros{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:30px;display:grid}.rm{background:var(--bg);border-radius:20px;padding:16px 18px}.rm .top{justify-content:space-between;align-items:baseline;margin-bottom:10px;display:flex}.rm .lbl{letter-spacing:.02em;font-size:12.5px;font-weight:600}.rm .val{letter-spacing:-.02em;font-size:19px;font-weight:700}.rm .val small{color:var(--muted);margin-left:2px;font-size:12.5px;font-weight:500}.rm .bar{background:#00000014}.ing-detected h3{letter-spacing:-.02em;margin-bottom:16px;font-size:18px;font-weight:600}.det{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:13px 0;display:flex}.det:last-child{border-bottom:none}.det .em{text-align:center;flex:0 0 32px;font-size:22px}.det .nm{flex:auto;min-width:0}.det .nm .t{font-size:15px;font-weight:500}.det .nm .q{color:var(--muted);margin-top:3px;font-size:12.5px}.det .conf{flex:0 0 90px;align-items:center;gap:9px;display:flex}.det .conf .bar{flex:1}.det .conf .pc{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.again{background:var(--bg);border-radius:999px;align-items:center;gap:7px;margin-top:26px;padding:12px 22px;font-size:14.5px;font-weight:500;transition:background .2s;display:inline-flex}.again:hover{background:#00000017}footer{max-width:1160px;color:var(--muted);border-top:1px solid var(--line);margin:0 auto;padding:26px 22px 40px;font-size:12.5px}@media (max-width:720px){.hbar{flex-wrap:wrap;gap:16px;height:auto;min-height:56px;padding-top:12px}nav{order:3;justify-content:space-between;gap:12px;width:100%;padding:0 0 14px;font-size:13px}.search{width:150px}.search:focus-within{width:180px}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.grid.tight{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.tile{border-radius:22px;padding:14px}.tile .name{font-size:14.5px}.rcard{flex:0 0 180px}.hero-photo{border-radius:22px}.upload-banner{gap:14px;padding:24px}.ub-icon{font-size:60px}.meal{grid-template-columns:110px 1fr;gap:14px;padding:12px}.meal-body h3{font-size:16px}.summary{padding:22px 20px}.result{padding:24px 20px}.res-kcal{text-align:left}.drop{padding:48px 20px}}.ub-tag,.ub-title,.ub-description,.drop-title,.drop-description,.hint{display:block}.inner-title{margin-top:6px}.crumb{align-items:center;gap:7px;min-width:0;display:inline-flex}.photo-result{margin-top:20px}.empty-state{color:var(--muted);text-align:center;background:#e9e9ec;border-radius:22px;margin-bottom:52px;padding:40px 24px}.upload-error{color:#b42318;margin-top:16px}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:420px){.grid,.grid.tight{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{border-radius:18px;padding:12px}.meal{grid-template-columns:84px minmax(0,1fr);gap:12px}.mchip{padding:5px 8px}.crumbs.on{height:auto;min-height:44px;padding-top:10px;padding-bottom:10px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition:none!important;animation:none!important}}.recipe-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:20px;margin:24px 0;display:grid}.recipe-grid .rcard{width:auto;min-width:0}.tile,.rcard .ph,.hero-photo{background-color:#e5ded2}.pagination{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:24px;margin:32px 0;display:flex}
