@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--ink:#26312a;--muted:#70796e;--green:#536b4c;--green-dark:#3d5238;--sage:#e8eddf;--paper:#f7f5ef;--white:#fffefa;--line:#e6e3d9;--orange:#c46e45;--shadow:0 16px 40px #38412d12}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans','Noto Sans KR',sans-serif;font-size:15px;line-height:1.65}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}.header{height:76px;padding:0 max(5vw,24px);display:flex;align-items:center;gap:32px;background:#f7f5efeF;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;backdrop-filter:blur(16px)}.brand{text-decoration:none;display:flex;align-items:center;gap:9px;font-weight:800;font-size:18px;white-space:nowrap}.brand-icon{width:32px;height:32px;background:var(--green);color:#fff;display:grid;place-items:center;border-radius:10px;font-size:19px}.beta{font-size:9px;letter-spacing:1px;background:#e9eddf;color:var(--green-dark);border-radius:100px;padding:4px 8px;margin-left:2px}.header nav{display:flex;gap:8px;flex:1}.nav{border:0;background:transparent;color:var(--muted);padding:10px 13px;border-radius:9px;font-size:13px}.nav.active,.nav:hover{color:var(--green-dark);background:var(--sage);font-weight:700}.nav span{font-size:11px}.text-button{border:0;background:none;color:var(--green);font-weight:700;padding:9px 4px}.text-button:hover{text-decoration:underline}.danger{color:#a64f43}main{min-height:78vh;max-width:1180px;margin:auto;padding:36px 5vw 88px}footer{border-top:1px solid var(--line);padding:22px max(5vw,24px);display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.hero-new{display:grid;grid-template-columns:1fr minmax(340px,.9fr);gap:44px;align-items:center;padding:30px 0 54px}.hero-copy{padding:12px 0}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:var(--green);margin:0 0 12px}.hero h1,.book-head h1,.detail-heading h1,.shop-wrap h1{font-size:clamp(36px,5vw,58px);line-height:1.13;letter-spacing:-2px;margin:0 0 18px}.hero-desc{font-size:16px;color:var(--muted);line-height:1.85}.trust-line{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.trust-line span{border:1px solid #dfe5d8;border-radius:30px;background:#f0f2e9;padding:8px 12px;font-size:11px;color:var(--green-dark)}.today-card{background:var(--white);padding:26px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}label{display:block;font-weight:700;font-size:12px;margin-bottom:15px}label .muted{font-size:10px;font-weight:400;margin-left:5px}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #dadbd0;border-radius:9px;background:#fff;padding:11px 12px;margin-top:7px;outline:0;font-size:13px}textarea{resize:vertical}input:focus,textarea:focus,select:focus{border-color:#849579;box-shadow:0 0 0 3px #e8eddf}select{cursor:pointer}.pref-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkline{display:flex;align-items:center;gap:9px;font-weight:500;margin:0 0 15px}.checkline input{accent-color:var(--green)}.primary,.secondary{border:0;border-radius:9px;padding:12px 17px;font-size:12px;font-weight:700;transition:.15s}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green-dark);transform:translateY(-1px)}.secondary{background:#edf0e7;color:var(--green-dark);border:1px solid #dce3d6}.secondary:hover{background:#e3e9da}.wide{width:100%;margin-top:4px}.field-help,.source-note{font-size:10px;line-height:1.6;color:var(--muted)}.field-help{margin:8px 0 0}.recommend-section{padding:14px 0 52px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:0 0 20px}.section-head h2,.invite h2,.taste-box h3{margin:0;font-size:23px;letter-spacing:-.5px}.section-head .eyebrow{margin-bottom:4px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{background:var(--white);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 6px 20px #34452a0b}.video-thumb{height:168px;background:linear-gradient(135deg,#c8d1b3,#e3cdb4 56%,#8d9b75);display:flex;align-items:center;justify-content:center;position:relative;color:#fff;text-shadow:0 1px 5px #303922;font-size:15px;font-weight:700;text-align:center;padding:25px}.recipe-card:nth-child(2) .video-thumb{background:linear-gradient(135deg,#d5b98e,#b76550 65%,#e6d69f)}.recipe-card:nth-child(3) .video-thumb{background:linear-gradient(135deg,#97ab84,#d5c586 60%,#9a754e)}.video-mark{position:absolute;background:#fff;color:#b34235;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;top:16px;left:18px;text-shadow:none;padding-left:3px}.yt-label{position:absolute;right:13px;bottom:11px;background:#c43128;color:white;border-radius:4px;padding:3px 7px;font-size:9px;text-shadow:none;letter-spacing:.5px}.card-body{padding:17px}.card-tags{display:flex;gap:6px;flex-wrap:wrap}.tag{display:inline-block;padding:4px 8px;background:var(--sage);color:var(--green-dark);border-radius:20px;font-size:10px;font-weight:700}.card h3{font-size:18px;margin:10px 0 4px}.card-meta{font-size:11px;color:var(--muted);margin:0 0 10px}.ingredient-preview{background:#f5f5ee;border-radius:8px;padding:10px;font-size:10px;line-height:1.9;color:#5c6357;min-height:62px}.ingredient-preview b{color:var(--green);margin-right:4px}.card-bottom{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.card-bottom button{border:0;background:transparent;color:var(--green);font-weight:700;font-size:11px}.source-note{margin:20px 0}.invite{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ecefe5;border-radius:15px;padding:24px 28px}.invite h2{font-size:20px}.invite p:not(.eyebrow){font-size:12px;color:var(--muted);margin:5px 0 0}.plan-banner{display:flex;align-items:center;gap:14px;padding:20px;background:#fff7e6;border:1px solid #eadbb9;border-radius:14px;margin:0 0 26px}.plan-banner>div{flex:1}.plan-banner h2{margin:0;font-size:19px}.plan-banner p:not(.eyebrow){font-size:11px;color:var(--muted);margin:3px 0 0}.plan-banner .eyebrow{margin-bottom:3px}.book-head{padding:28px 0 32px}.book-head h1,.shop-wrap h1{font-size:40px}.book-head p:not(.eyebrow){color:var(--muted);font-size:13px}.detail-heading{padding:12px 0 26px}.detail-heading h1{font-size:40px;margin:12px 0 6px}.detail-heading p{color:var(--muted);font-size:13px}.back{border:0;background:none;color:var(--green);font-weight:700;margin-bottom:12px;padding:7px 0}.detail-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:34px;align-items:start}.detail-side{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:14px;position:sticky;top:96px}.video-frame{aspect-ratio:16/9;background:#1d211d;border-radius:9px;overflow:hidden}.video-frame iframe{width:100%;height:100%;border:0}.video-fallback{height:100%;display:grid;place-items:center;color:#fff;font-size:13px}.source{display:block;text-align:center;background:#f0f1e9;color:var(--green-dark);border-radius:8px;padding:10px;text-decoration:none;font-size:11px;font-weight:700;margin-top:9px}.ingredients-section{padding:18px 2px 4px}.ingredients-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 8px}.ingredients-head h3{margin:0;font-size:16px}.muted{color:var(--muted)}.ingredient{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #efeee9;padding:9px 2px;font-size:12px}.amount{color:var(--green);font-weight:600}.unknown{color:#b26836;font-size:11px}.why-box{padding:15px 17px;background:#eef1e8;border-radius:10px;margin:0 0 25px}.why-box b{font-size:13px}.why-box p{font-size:11px;color:#626c5a;margin:3px 0 0}.step{display:flex;gap:14px;padding:17px 5px;border-bottom:1px solid var(--line)}.step-number{min-width:28px;height:28px;background:var(--sage);color:var(--green-dark);font-weight:700;border-radius:50%;display:grid;place-items:center;font-size:11px}.step p{margin:0;font-size:13px;line-height:1.8}.detail-actions,.button-row,.shop-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}.taste-box{border:1px solid var(--line);background:var(--white);border-radius:13px;padding:20px;margin-top:28px}.taste-box h3{font-size:17px}.taste-box p{font-size:11px;color:var(--muted)}.hidden{display:none}.taste-box select[multiple]{height:auto}.shop-wrap{max-width:760px;margin:28px auto}.shop-wrap h2{font-size:18px;margin-top:36px}.plan-row,.shop-item{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:9px 0}.plan-row small,.shop-item small{display:block;color:var(--muted);font-size:10px}.shop-item label{margin:0;flex:1;font-size:13px}.shop-item input[type=checkbox]{accent-color:var(--green)}.shop-item.done label{text-decoration:line-through;color:var(--muted)}.shop-item a{font-size:11px;text-decoration:none}.empty{grid-column:1/-1;text-align:center;background:#f0f1e9;padding:30px;color:var(--muted);border-radius:12px;font-size:13px}.section-foot{margin-top:26px}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:18px}.dialog-head h2{font-size:22px;margin:0}.icon-button{border:0;background:#f0f0e9;border-radius:50%;width:32px;height:32px;font-size:20px;line-height:1;color:var(--muted)}dialog{width:min(600px,calc(100vw - 28px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:26px;background:var(--white);color:var(--ink);box-shadow:0 22px 80px #19211940}dialog::backdrop{background:#1721178c;backdrop-filter:blur(3px)}dialog p{font-size:12px;color:var(--muted);line-height:1.8}.info-section{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.info-section h3{font-size:14px;margin:0 0 5px}.info-section ol{padding-left:19px;color:#626c5a;font-size:12px;line-height:1.9}.cook-top,.cook-bottom{display:flex;align-items:center;justify-content:space-between}.cook-progress{height:4px;background:#e9e9e0;margin:18px 0 28px;border-radius:9px}.cook-progress span{display:block;height:100%;background:var(--green);border-radius:9px}.cook-step{font-size:22px!important;line-height:1.8!important;color:var(--ink)!important;min-height:170px}.cook-ingredients{border-top:1px solid var(--line);padding-top:14px}.cook-bottom{margin-top:14px}.toast{position:fixed}.toast.visible{display:block}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(15px);opacity:0;pointer-events:none;background:#28372c;color:#fff;padding:12px 18px;border-radius:9px;font-size:12px;transition:.2s;z-index:20;max-width:90vw}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
+@media(max-width:850px){.header{gap:14px;padding:0 20px}.header nav{gap:2px}.nav{padding:9px 8px;font-size:11px}.hero-new{grid-template-columns:1fr;gap:20px;padding-top:10px}.hero-copy{padding:14px 0 0}.hero h1{font-size:45px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr;gap:22px}.detail-side{position:static}.video-frame{max-width:600px;margin:auto}.detail-side .source{max-width:600px;margin:9px auto}.detail-side .ingredients-section{max-width:600px;margin:auto}}@media(max-width:580px){body{font-size:14px}.header{height:auto;min-height:66px;display:flex;flex-wrap:wrap;padding:10px 16px;gap:8px}.brand{font-size:16px}.beta{font-size:8px}.header nav{order:3;flex-basis:100%;overflow:auto}.header nav .nav{flex:1;white-space:nowrap}.header>#about{margin-left:auto;font-size:11px}main{padding:25px 18px 62px}.hero h1{font-size:40px}.hero-desc{font-size:14px}.trust-line{gap:7px}.trust-line span{font-size:9px;padding:7px 9px}.today-card{padding:18px}.grid{grid-template-columns:1fr}.video-thumb{height:190px}.section-head{align-items:center}.section-head h2{font-size:21px}.plan-banner{align-items:flex-start;flex-wrap:wrap}.plan-banner>div{flex-basis:100%}.invite{align-items:flex-start;flex-direction:column;padding:20px}.detail-heading h1{font-size:32px}.book-head h1,.shop-wrap h1{font-size:34px}.detail-grid{gap:18px}.detail-actions>*{flex:1}.taste-box{padding:16px}.taste-box .button-row>*{flex:1}.cook-step{font-size:19px!important;min-height:145px}footer{padding:18px;display:block;line-height:2}footer span{display:block}}
/* Profile setup: category-based pantry and preference selection */
.setup-shell{max-width:880px;margin:20px auto 40px}.setup-intro{max-width:670px;margin:0 auto 24px;text-align:center}.setup-intro h1{font-size:clamp(29px,4vw,42px);line-height:1.25;margin:0 0 10px;letter-spacing:-1.2px}.setup-intro>p:not(.eyebrow){font-size:13px;color:var(--muted);margin:0 auto;max-width:590px}.setup-progress{display:flex;align-items:center;justify-content:center;gap:10px;margin:22px 0}.setup-progress span{font-size:11px;color:#9aa092;background:#eceee7;border-radius:30px;padding:7px 13px}.setup-progress span.active{background:var(--green);color:#fff}.setup-progress i{width:34px;height:1px;background:#d8ddcf}.setup-card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}.category-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:11px;border-bottom:1px solid var(--line);scrollbar-width:thin}.category-tab{border:1px solid transparent;background:#f0f1e9;color:#65705d;padding:8px 13px;border-radius:9px;white-space:nowrap;font-size:11px;font-weight:700}.category-tab.active{background:var(--green);color:#fff}.swipe-hint{font-size:10px;color:var(--muted);margin:12px 0}.select-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.select-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#faf9f4;border:1px solid #eeece4;border-radius:10px;min-height:58px}.pantry-row{touch-action:pan-y}.ingredient-name b,.pref-row>b{font-size:12px}.status-hint{display:block;font-size:9px;color:var(--muted);line-height:1.2;margin-top:2px}.availability{display:flex;gap:5px}.choice-btn{border:1px solid #e2e4db;background:#fff;border-radius:7px;padding:7px 9px;color:#798173;font-size:10px;white-space:nowrap}.choice-btn.have.selected{background:#e8f0e1;border-color:#aabd9d;color:#395834;font-weight:700}.choice-btn.lack.selected{background:#f2eee8;border-color:#d5c7b6;color:#6c594a;font-weight:700}.custom-add{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;margin-top:15px}.custom-add label{margin:0}.custom-add input{margin-top:5px}.custom-add button{margin-bottom:1px}.pref-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pref-row{display:grid;grid-template-columns:minmax(72px,1fr) auto auto;align-items:center;gap:8px;padding:10px 12px;background:#faf9f4;border:1px solid #eeece4;border-radius:9px}.pref-row label{margin:0;display:flex;gap:4px;align-items:center;font-size:9px;color:#65705d;white-space:nowrap}.pref-row input{accent-color:var(--green)}.safety-note{background:#fff5e8;border-radius:9px;padding:11px 13px;color:#795e45;font-size:10px;line-height:1.7;margin:15px 0 0}.setup-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px}.setup-footnote{text-align:center;color:var(--muted);font-size:10px;margin:14px 0}.profile-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:15px}.profile-summary b{font-size:12px}.profile-summary p{margin:5px 0 0}.mini-chip{display:inline-block;background:#edf0e7;color:#536b4c;padding:3px 7px;border-radius:20px;font-size:9px;margin:2px}.profile-summary .secondary{padding:8px 10px;font-size:10px;white-space:nowrap}
+@media(max-width:620px){.setup-shell{margin:5px auto 25px}.setup-intro{text-align:left;margin-bottom:18px}.setup-intro h1{font-size:29px}.setup-progress{justify-content:flex-start;margin:16px 0}.setup-card{padding:15px;border-radius:13px}.category-tabs{margin-right:-5px}.select-list,.pref-list{grid-template-columns:1fr}.select-row{min-height:64px;padding:9px 10px}.choice-btn{padding:8px 11px}.setup-actions{justify-content:space-between}.setup-actions button{flex:1}.custom-add{grid-template-columns:1fr auto}.pref-row{grid-template-columns:minmax(65px,1fr) auto auto;padding:10px}.pref-row label{font-size:9px}.profile-summary{align-items:flex-start}.profile-summary .secondary{padding:7px 8px}.today-card{padding:17px}}
