:root {
  --ink: #17372e;
  --ink-2: #254c40;
  --cream: #f4f0e6;
  --paper: #fffdf7;
  --coral: #ff7651;
  --coral-dark: #da5b3a;
  --sun: #f4c968;
  --sage: #a7c789;
  --mint: #dce9d4;
  --muted: #6f8179;
  --line: rgba(23, 55, 46, .13);
  --shadow: 0 22px 70px rgba(24, 55, 46, .12);
  --radius: 30px;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif; font-size: 16px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
.hidden, [hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; padding: 12px 20px; background: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.section-pad { padding-left: max(5vw, calc((100vw - var(--max)) / 2)); padding-right: max(5vw, calc((100vw - var(--max)) / 2)); }

.site-header { position: sticky; z-index: 80; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 82px; padding: 12px max(4vw, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(23,55,46,.08); background: rgba(244,240,230,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--ink); color: var(--paper); font-family: serif; font-size: 24px; font-weight: 800; box-shadow: 0 9px 20px rgba(23,55,46,.18); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 19px; letter-spacing: .08em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.desktop-nav { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.44); }
.desktop-nav button { padding: 11px 18px; border: 0; border-radius: 999px; background: transparent; color: #476158; font-size: 14px; }
.desktop-nav button:hover { background: white; color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; gap: 10px; }
.round-action, .profile-button { min-height: 46px; border: 1px solid var(--line); background: rgba(255,255,255,.66); }
.round-action { width: 46px; border-radius: 50%; font-size: 19px; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 0 10px 0 18px; border-radius: 999px; font-weight: 700; }
.profile-button b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 99px; background: var(--coral); color: white; font-size: 12px; }

.hero { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; min-height: calc(100vh - 82px); padding-top: 70px; padding-bottom: 80px; overflow: hidden; }
.hero::before { position: absolute; left: 44%; top: 12%; width: 300px; height: 300px; border-radius: 50%; background: var(--sun); opacity: .13; filter: blur(10px); content: ""; }
.hero-copy { position: relative; z-index: 2; max-width: 690px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: #436157; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 42px; height: 2px; background: var(--coral); }
.eyebrow.light { color: #91a49c; }
.hero h1 { margin: 0; font-family: Georgia, "Songti SC", "SimSun", serif; font-size: clamp(62px, 7.4vw, 112px); line-height: .98; letter-spacing: -.075em; font-weight: 700; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-lead { max-width: 610px; margin: 32px 0; color: #5d746b; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.primary-cta { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 58px; padding: 0 24px 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: white; font-weight: 800; box-shadow: 0 14px 30px rgba(23,55,46,.22); transition: transform .2s, box-shadow .2s; }
.primary-cta span { font-size: 20px; }
.primary-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,55,46,.26); }
.primary-cta.compact { min-height: 48px; gap: 10px; font-size: 14px; }
.primary-cta.full { width: 100%; margin-top: 10px; }
.text-cta { display: inline-flex; gap: 14px; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-weight: 700; }
.hero-proof { display: flex; gap: 46px; margin-top: 62px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.hero-proof span { margin-top: 9px; color: var(--muted); font-size: 12px; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 660px; }
.hero-stage::before { position: absolute; inset: 4% 6%; border-radius: 52% 48% 48% 52% / 55% 42% 58% 45%; background: var(--ink); transform: rotate(-5deg); content: ""; box-shadow: var(--shadow); }
.stage-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; box-shadow: inset 0 0 0 42px rgba(255,255,255,.025); }
.daily-card { position: relative; z-index: 3; width: min(390px, 78%); padding: 30px 32px 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 38px; background: rgba(255,253,247,.94); box-shadow: 0 30px 80px rgba(7,31,24,.3); text-align: center; transform: rotate(2deg); }
.daily-top { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.daily-emoji { display: grid; place-items: center; width: 140px; height: 140px; margin: 22px auto 12px; border-radius: 50%; background: linear-gradient(135deg, #f6dfb4, #f5a66d); font-size: 74px; filter: drop-shadow(0 13px 14px rgba(78,46,23,.18)); }
.daily-kicker { margin: 0; color: var(--coral-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.daily-card h2 { margin: 8px 0; font-family: Georgia, "Songti SC", serif; font-size: 38px; }
.daily-card > p:last-of-type { margin: 0; color: var(--muted); font-size: 13px; }
.daily-card > button { display: flex; justify-content: space-between; width: 100%; margin-top: 24px; padding: 16px 0 4px; border: 0; border-top: 1px solid var(--line); background: transparent; font-weight: 800; }
.floating-label { position: absolute; z-index: 4; padding: 10px 17px; border-radius: 999px; background: var(--sun); font-size: 12px; font-weight: 800; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.label-one { left: 3%; top: 28%; transform: rotate(-8deg); }
.label-two { right: 2%; bottom: 26%; transform: rotate(7deg); background: var(--sage); }
.stage-note { position: absolute; z-index: 4; right: 2%; top: 13%; display: flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(10,42,33,.82); color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.5; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.stage-note span { color: var(--sun); font-size: 20px; }

.problem-strip { display: flex; align-items: center; justify-content: center; gap: 50px; min-height: 90px; padding: 20px 5vw; background: var(--sun); }
.problem-strip > p { margin: 0; font-family: Georgia, "Songti SC", serif; font-weight: 800; }
.problem-flow { display: flex; align-items: center; gap: 22px; color: rgba(23,55,46,.82); font-size: 13px; font-weight: 700; }
.problem-flow i { opacity: .45; font-style: normal; }

.decision-lab { padding-top: 110px; padding-bottom: 120px; background: var(--ink); color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading h2, .story-intro h2 { max-width: 850px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(42px, 5vw, 76px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { max-width: 430px; margin: 0 0 8px; color: #a7b8b1; line-height: 1.8; }
.section-heading.dark { color: var(--ink); }
.section-heading.dark > p { color: var(--muted); }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(650px, 100%); margin: 0 auto 28px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.08); }
.mode-switch button { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.6); font-weight: 800; }
.mode-switch button span { opacity: .55; font-size: 11px; }
.mode-switch button.active { background: white; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.lab-panel { display: grid; grid-template-columns: minmax(310px, 390px) 1fr; min-height: 700px; overflow: hidden; border-radius: 36px; background: #f8f5ec; color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.25); }
.filter-panel { padding: 36px; border-right: 1px solid var(--line); background: var(--paper); }
.filter-heading, .mini-heading, .preview-head { display: flex; align-items: center; justify-content: space-between; }
.filter-heading > div { display: flex; flex-direction: column; }
.filter-heading span { color: var(--muted); font-size: 12px; }
.filter-heading strong { margin-top: 4px; font-family: Georgia, serif; font-size: 28px; }
.filter-heading > button, .mini-heading button, .preview-head button { border: 0; background: transparent; color: var(--coral-dark); font-size: 12px; font-weight: 800; }
.field-label { display: block; margin: 26px 0 10px; font-size: 13px; font-weight: 800; }
.search-field { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.search-field span { color: var(--muted); font-size: 22px; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.filter-grid label > span { display: block; margin: 0 0 7px; color: var(--muted); font-size: 11px; }
.filter-grid select, .wide-select { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.pantry-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.mini-heading span { font-size: 13px; font-weight: 800; }
.input-action { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 11px; }
.input-action input, .custom-control textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: white; }
.input-action input { min-width: 0; padding: 0 13px; }
.input-action button { padding: 0 14px; border: 0; border-radius: 14px; background: var(--ink); color: white; font-weight: 800; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; min-height: 36px; margin-top: 12px; }
.tag-list button { padding: 7px 10px; border: 1px solid #cadbc7; border-radius: 999px; background: #edf4e9; color: #496345; font-size: 11px; }
.empty-inline { color: #9aa7a1; font-size: 11px; }
.decision-button { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; width: 100%; min-height: 76px; margin-top: 22px; padding: 14px 20px; border: 0; border-radius: 22px; background: var(--ink); color: white; text-align: left; box-shadow: 0 14px 30px rgba(23,55,46,.18); }
.decision-button > span { grid-row: 1 / 3; align-self: center; color: var(--sun); font-size: 26px; }
.decision-button b { align-self: end; }
.decision-button small { align-self: start; margin-top: 3px; color: rgba(255,255,255,.58); font-size: 10px; }
.decision-button:disabled { opacity: .45; cursor: not-allowed; }
.decision-button.coral { background: var(--coral); }
.decision-button.coral > span { color: #fff4cb; }
.hard-rule { margin: 13px 4px 0; color: #8b9993; font-size: 10px; line-height: 1.5; }
.result-stage { padding: 38px; }
.result-empty { min-height: 330px; padding: 50px 20px 25px; text-align: center; }
.empty-bowl { display: grid; place-items: center; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; background: #e5eddc; font-size: 76px; box-shadow: inset 0 0 0 20px rgba(255,255,255,.35); }
.result-empty h3 { margin: 24px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 29px; }
.result-empty p { margin: 0; color: var(--muted); font-size: 13px; }
.chosen-recipe { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 36px; align-items: center; min-height: 330px; padding: 24px; border-radius: 30px; background: white; box-shadow: 0 16px 50px rgba(23,55,46,.08); }
.chosen-art { position: relative; display: grid; place-items: center; min-height: 280px; border-radius: 26px; background: linear-gradient(145deg, #dfeccf, #efb66d); }
.chosen-art > span { font-size: 104px; filter: drop-shadow(0 16px 18px rgba(65,45,22,.18)); }
.chosen-art i { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.82); font-size: 11px; font-style: normal; font-weight: 800; }
.chosen-copy > p { margin: 0; color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.chosen-copy h3 { margin: 8px 0 14px; font-family: Georgia, "Songti SC", serif; font-size: clamp(36px, 4vw, 58px); line-height: 1.1; }
.chosen-copy > span { color: var(--muted); line-height: 1.7; }
.chosen-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chosen-meta span { padding: 8px 11px; border-radius: 999px; background: #edf2e9; color: #4d665d; font-size: 11px; font-weight: 700; }
.chosen-actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.icon-text { border: 0; background: transparent; color: var(--coral-dark); font-weight: 800; }
.preview-head { margin: 30px 0 16px; }
.preview-head > div { display: flex; align-items: baseline; gap: 10px; }
.preview-head span { color: var(--muted); font-size: 12px; }
.preview-head b { font-family: Georgia, serif; font-size: 21px; }
.mini-recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-recipe { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: white; text-align: left; transition: transform .2s; }
.mini-recipe:hover { transform: translateY(-3px); }
.mini-recipe .emoji { display: block; font-size: 32px; }
.mini-recipe strong { display: block; margin-top: 10px; font-size: 13px; }
.mini-recipe small { display: block; margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.custom-control textarea { padding: 12px; resize: vertical; line-height: 1.6; }
.list-actions { display: flex; justify-content: space-between; margin-top: 9px; }
.list-actions button { border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.list-actions .danger-text { color: var(--coral-dark); }
.outline-button { width: 100%; min-height: 45px; margin-top: 10px; border: 1px solid var(--ink); border-radius: 14px; background: transparent; font-weight: 800; }
.template-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.template-row button { min-height: 34px; border: 0; border-radius: 10px; background: #edf2e9; color: #557066; font-size: 10px; font-weight: 800; }
.choice-setting { margin-top: 22px; }
.choice-setting > span { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: #edf0eb; }
.segmented button { min-height: 35px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 11px; }
.segmented button.active { background: white; color: var(--ink); box-shadow: 0 5px 14px rgba(23,55,46,.08); }
.switch-row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; cursor: pointer; }
.switch-row span b, .switch-row span small { display: block; }
.switch-row span b { font-size: 12px; }
.switch-row span small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch-row i { position: relative; width: 44px; height: 25px; border-radius: 99px; background: #cad2ce; }
.switch-row i::after { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: white; content: ""; transition: transform .2s; }
.switch-row input:checked + i { background: var(--ink); }
.switch-row input:checked + i::after { transform: translateX(19px); }
.custom-stage { display: grid; grid-template-columns: minmax(270px, .8fr) 1.2fr; gap: 24px; padding: 38px; }
.lottery-card { padding: 28px; border-radius: 30px; background: var(--ink); color: white; text-align: center; }
.lottery-card > p { margin: 0; color: #aebdb7; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.lottery-orb { display: grid; place-items: center; width: min(260px, 90%); aspect-ratio: 1; margin: 30px auto 18px; padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: radial-gradient(circle, rgba(255,118,81,.28), rgba(255,255,255,.04) 58%, transparent 60%); box-shadow: inset 0 0 0 26px rgba(255,255,255,.025); }
.lottery-orb span { font-family: Georgia, "Songti SC", serif; font-size: 29px; line-height: 1.4; word-break: break-word; }
.lottery-card > small { color: #aebdb7; }
.lottery-card .decision-button { margin-top: 26px; }
.reset-round { margin-top: 16px; border: 0; background: transparent; color: #d1ddd8; font-size: 11px; }
.option-panel { min-width: 0; }
.probability-note { font-size: 10px !important; }
.option-list { display: flex; flex-direction: column; max-height: 555px; overflow: auto; }
.option-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 14px 3px; border-bottom: 1px solid var(--line); }
.option-row input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--ink); }
.option-copy strong, .option-copy small { display: block; }
.option-copy strong { font-size: 13px; }
.option-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.weight-field { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.weight-field input { width: 52px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; text-align: center; }
.remove-option { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff0ea; color: var(--coral-dark); }
.empty-options { padding: 70px 20px; color: var(--muted); text-align: center; }

.library-section { padding-top: 110px; padding-bottom: 120px; }
.library-toolbar { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.search-field.large { flex: 1; min-height: 60px; padding: 0 20px; border-radius: 999px; background: var(--paper); box-shadow: 0 12px 30px rgba(23,55,46,.06); }
.library-count { display: flex; align-items: baseline; gap: 7px; }
.library-count span { font-family: Georgia, serif; font-size: 38px; }
.library-count small { color: var(--muted); }
.category-scroller { display: flex; gap: 9px; margin: 26px 0 30px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.category-scroller::-webkit-scrollbar { display: none; }
.category-scroller button { flex: 0 0 auto; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #536a62; font-size: 12px; font-weight: 800; }
.category-scroller button.active { border-color: var(--ink); background: var(--ink); color: white; }
.recipe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.recipe-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); transition: transform .25s, box-shadow .25s; }
.recipe-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(23,55,46,.12); }
.recipe-card-main { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.recipe-art { position: relative; display: grid; place-items: center; aspect-ratio: 1.42; overflow: hidden; background: linear-gradient(145deg, #dce9d4, #efc07a); }
.recipe-art::before { position: absolute; width: 160px; height: 160px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; content: ""; box-shadow: inset 0 0 0 22px rgba(255,255,255,.09); }
.recipe-art > span { position: relative; z-index: 1; font-size: 72px; filter: drop-shadow(0 12px 15px rgba(53,38,20,.15)); }
.recipe-art > i { position: absolute; left: 13px; top: 13px; z-index: 2; padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.82); font-size: 9px; font-style: normal; font-weight: 900; }
.recipe-info { padding: 20px; }
.recipe-info h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 23px; line-height: 1.25; }
.recipe-info p { display: -webkit-box; min-height: 40px; margin: 9px 0 16px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.recipe-card-meta { display: flex; justify-content: space-between; color: #60776e; font-size: 10px; }
.favorite-card { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink); font-size: 20px; }
.favorite-card.active { color: var(--coral-dark); }
.load-more { display: flex; align-items: center; justify-content: center; gap: 16px; min-width: 260px; min-height: 54px; margin: 38px auto 0; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 800; }

.story-section { padding-top: 120px; padding-bottom: 120px; background: #e9e1d2; }
.story-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.story-intro > p:last-child { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.innovation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.innovation-card { position: relative; min-height: 340px; padding: 30px; overflow: hidden; border: 1px solid rgba(23,55,46,.12); border-radius: 28px; background: rgba(255,253,247,.72); }
.innovation-card.featured { grid-row: span 2; min-height: 698px; background: var(--coral); color: white; }
.innovation-card > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 900; opacity: .7; }
.innovation-card h3 { margin: 28px 0 12px; font-family: Georgia, "Songti SC", serif; font-size: 31px; }
.innovation-card p { max-width: 420px; margin: 0; color: #62756e; line-height: 1.8; }
.innovation-card.featured p { color: rgba(255,255,255,.8); }
.card-visual { position: absolute; inset: auto 24px 24px; height: 330px; }
.decision-visual { display: grid; place-items: center; }
.decision-visual i { position: absolute; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }
.decision-visual i:nth-child(1) { width: 285px; height: 285px; }
.decision-visual i:nth-child(2) { width: 205px; height: 205px; }
.decision-visual i:nth-child(3) { width: 125px; height: 125px; background: rgba(255,255,255,.1); }
.decision-visual b { position: relative; z-index: 2; font-family: Georgia, serif; font-size: 96px; }
.metric { margin-top: 50px; }
.metric strong, .metric small { display: block; }
.metric i { display: block; height: 12px; margin: 14px 0; overflow: hidden; border-radius: 99px; background: #d7ded5; }
.metric i b { display: block; height: 100%; border-radius: inherit; background: var(--sage); }
.metric small { color: var(--muted); font-size: 11px; }
.constraint-list { margin: 36px 0 0; padding: 0; list-style: none; }
.constraint-list li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.constraint-list b { color: var(--coral-dark); }
.dual-track { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 55px; }
.dual-track i { padding: 14px; border: 1px solid var(--line); border-radius: 15px; font-style: normal; }
.dual-track b { color: var(--muted); }
.dual-track em { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: white; font-style: normal; font-weight: 900; }
.privacy-seal { display: grid; place-items: center; width: 140px; height: 140px; margin: 48px auto 0; border: 2px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-size: 25px; font-weight: 800; text-align: center; transform: rotate(-7deg); }
.privacy-seal small { font-size: 12px; letter-spacing: .22em; }
.data-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; margin-top: 80px; padding: 52px; border-radius: 36px; background: var(--ink); color: white; }
.data-story h3 { margin: 0 0 16px; font-family: Georgia, "Songti SC", serif; font-size: 38px; }
.data-story > div > p:last-child { margin: 0; color: #aebdb7; line-height: 1.8; }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.pipeline li { position: relative; min-height: 150px; padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.15); }
.pipeline li::after { position: absolute; right: -6px; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--sun); content: ""; }
.pipeline li:last-child::after { display: none; }
.pipeline span, .pipeline b, .pipeline small { display: block; }
.pipeline span { color: var(--sun); font-size: 10px; }
.pipeline b { margin-top: 42px; }
.pipeline small { margin-top: 8px; color: #93a69e; }
.judge-path { display: grid; grid-template-columns: .8fr 1.4fr auto; gap: 36px; align-items: center; margin-top: 24px; padding: 44px 48px; border: 1px solid var(--line); border-radius: 36px; background: rgba(255,253,247,.62); }
.judge-path h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 28px; }
.judge-path ol { display: flex; margin: 0; padding: 0; list-style: none; }
.judge-path li { flex: 1; padding: 0 18px; border-left: 1px solid var(--line); }
.judge-path li b, .judge-path li span, .judge-path li small { display: block; }
.judge-path li b { color: var(--coral-dark); font-family: Georgia, serif; font-size: 22px; }
.judge-path li span { margin-top: 8px; font-weight: 800; }
.judge-path li small { margin-top: 5px; color: var(--muted); }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; min-height: 160px; padding: 30px max(5vw, calc((100vw - var(--max)) / 2)); background: #0e2b23; color: white; }
.footer-brand .brand-mark { background: var(--coral); }
.footer-brand small { color: #8da49b; }
footer > p { margin: 0; color: #8da49b; font-size: 11px; }

.modal { width: min(920px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; border: 0; border-radius: 32px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal::backdrop { background: rgba(7,27,21,.68); backdrop-filter: blur(7px); }
.modal-close { position: sticky; z-index: 5; float: right; top: 18px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; margin: 18px 18px 0 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 25px; box-shadow: 0 7px 20px rgba(23,55,46,.12); }
.modal-heading { padding: 56px 52px 18px; }
.modal-heading > span { color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.modal-heading h2 { margin: 10px 0; font-family: Georgia, "Songti SC", serif; font-size: 46px; }
.modal-heading p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.7; }
.settings-modal { max-width: 620px; }
.settings-modal form { padding: 15px 52px 52px; }
.settings-modal label { display: block; margin-top: 18px; }
.settings-modal label > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.settings-modal input, .settings-modal select, .settings-modal textarea { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.settings-modal label small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.profile-tabs { display: flex; gap: 8px; margin: 0 52px; padding: 5px; border-radius: 999px; background: #ecefe9; }
.profile-tabs button { flex: 1; min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 800; }
.profile-tabs button.active { background: white; color: var(--ink); }
#profileContent { min-height: 250px; padding: 28px 52px 52px; }
.profile-list { display: flex; flex-direction: column; }
.profile-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.profile-item > span:first-child { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #edf2e9; font-size: 25px; }
.profile-item strong, .profile-item small { display: block; }
.profile-item small { margin-top: 5px; color: var(--muted); }
.profile-item button { border: 0; background: transparent; color: var(--coral-dark); font-weight: 800; }
.shopping-check { width: 20px; height: 20px; accent-color: var(--ink); }
.empty-profile { padding: 70px 20px; color: var(--muted); text-align: center; }

.recipe-detail-hero { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 330px; }
.detail-art { position: relative; display: grid; place-items: center; min-height: 330px; background: linear-gradient(145deg, #dce9d4, #efc07a); }
.detail-art span { font-size: 120px; filter: drop-shadow(0 20px 18px rgba(54,39,22,.18)); }
.detail-art i { position: absolute; left: 22px; bottom: 22px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.82); font-size: 10px; font-style: normal; font-weight: 900; }
.detail-intro { display: flex; justify-content: center; flex-direction: column; padding: 45px; }
.detail-source { color: var(--coral-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.detail-intro h2 { margin: 10px 0 14px; font-family: Georgia, "Songti SC", serif; font-size: 47px; line-height: 1.1; }
.detail-intro > p { margin: 0; color: var(--muted); line-height: 1.8; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.detail-meta span { padding: 8px 11px; border-radius: 99px; background: #edf2e9; color: #536b62; font-size: 10px; font-weight: 800; }
.detail-favorite { width: max-content; margin-top: 20px; border: 0; background: transparent; color: var(--coral-dark); font-weight: 800; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.detail-actions .detail-favorite { margin-top: 0; }
.detail-block { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 99px; padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; }
.detail-block:hover { border-color: var(--coral-dark); color: var(--coral-dark); }
.scale-note { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.tool-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip { padding: 7px 13px; border-radius: 99px; background: #eef0ea; color: #536b62; font-size: 12px; font-weight: 600; }
.profile-actions { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.profile-data-actions { display: flex; gap: 8px; margin-top: 14px; }
.profile-data-actions .outline-button.compact { width: auto; min-height: 36px; margin-top: 0; padding: 0 14px; font-size: 12px; cursor: pointer; }
.profile-data-actions label.outline-button { display: inline-flex; align-items: center; }
.text-cta.danger { color: var(--coral-dark); }
.text-cta.danger:hover { text-decoration: underline; }
.detail-section + .detail-section { margin-top: 32px; }
.detail-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 46px 52px 60px; }
.detail-section h3 { margin: 0 0 20px; font-family: Georgia, "Songti SC", serif; font-size: 27px; }
.ingredient-detail-list { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; }
.ingredient-detail { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 12px; }
.ingredient-detail:last-child { border: 0; }
.ingredient-detail input { accent-color: var(--ink); }
.ingredient-detail.owned { color: #98a49f; text-decoration: line-through; }
.ingredient-detail small { color: var(--muted); }
.shopping-add { width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: 15px; background: var(--ink); color: white; font-weight: 800; }
.step-detail-list { display: flex; flex-direction: column; gap: 12px; }
.step-detail { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 17px; border-radius: 18px; background: #f0eee6; }
.step-detail > b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--ink); color: white; font-family: Georgia, serif; font-size: 12px; }
.step-detail strong, .step-detail p { display: block; }
.step-detail p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.source-notice { grid-column: 1 / -1; padding: 18px; border-radius: 17px; background: #fff3d8; color: #765c2d; font-size: 11px; line-height: 1.7; }
.toast { position: fixed; z-index: 250; left: 50%; bottom: 28px; max-width: min(420px, calc(100vw - 40px)); padding: 13px 20px; border-radius: 99px; background: #102f27; color: white; font-size: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(60px, 8vw, 86px); }
  .hero-stage { min-height: 560px; }
  .lab-panel { grid-template-columns: 330px 1fr; }
  .mini-recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-stage { grid-template-columns: 1fr; }
  .lottery-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .lottery-card > p, .lottery-card > small, .lottery-card .reset-round { grid-column: 1; }
  .lottery-orb { grid-column: 2; grid-row: 1 / 5; }
  .lottery-card .decision-button { grid-column: 1; }
  .recipe-grid { grid-template-columns: repeat(3, 1fr); }
  .judge-path { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .section-pad { padding-left: 20px; padding-right: 20px; }
  .site-header { min-height: 70px; padding: 10px 16px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand small, .profile-button span { display: none; }
  .profile-button { padding-left: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero .eyebrow, .hero-actions, .hero-proof { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-proof { gap: 30px; }
  .hero-stage { min-height: 560px; }
  .hero-stage::before { inset: 7% 0; }
  .problem-strip { flex-direction: column; gap: 12px; }
  .problem-flow { gap: 9px; overflow-x: auto; width: 100%; justify-content: flex-start; }
  .problem-flow span, .problem-flow i { flex: 0 0 auto; }
  .section-heading, .story-intro { grid-template-columns: 1fr; display: grid; gap: 22px; }
  .lab-panel { grid-template-columns: 1fr; }
  .filter-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .chosen-recipe { grid-template-columns: 1fr; }
  .chosen-art { min-height: 220px; }
  .custom-stage { padding: 22px; }
  .lottery-card { display: block; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .innovation-grid { grid-template-columns: 1fr 1fr; }
  .innovation-card.featured { grid-row: auto; min-height: 500px; grid-column: 1 / -1; }
  .data-story { grid-template-columns: 1fr; padding: 35px 25px; }
  .judge-path ol { flex-direction: column; gap: 15px; }
  .judge-path li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: 0 auto; }
  footer > p:last-child { grid-column: auto; }
  .recipe-detail-hero, .detail-body { grid-template-columns: 1fr; }
  .detail-art { min-height: 250px; }
  .detail-intro { padding: 32px 25px; }
  .detail-body { padding: 32px 25px 45px; gap: 34px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 55px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-proof { justify-content: space-between; gap: 12px; }
  .hero-proof strong { font-size: 27px; }
  .hero-stage { min-height: 500px; }
  .daily-card { width: 86%; padding: 24px; }
  .daily-emoji { width: 120px; height: 120px; font-size: 64px; }
  .stage-note, .floating-label { display: none; }
  .section-heading h2, .story-intro h2 { font-size: 42px; }
  .decision-lab, .library-section, .story-section { padding-top: 80px; padding-bottom: 80px; }
  .mode-switch button { gap: 7px; font-size: 12px; }
  .filter-panel, .result-stage { padding: 24px 18px; }
  .filter-grid { grid-template-columns: 1fr; }
  .mini-recipe-grid { grid-template-columns: 1fr 1fr; }
  .chosen-copy h3 { font-size: 38px; }
  .custom-stage { padding: 18px; }
  .lottery-card { padding: 22px; }
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-art { aspect-ratio: 1.65; }
  .innovation-grid { grid-template-columns: 1fr; }
  .innovation-card.featured { grid-column: auto; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline li { min-height: 100px; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .pipeline li::after { display: none; }
  .pipeline b { margin-top: 18px; }
  .judge-path { padding: 30px 22px; }
  .library-toolbar { align-items: stretch; flex-direction: column; }
  .library-count { justify-content: flex-end; }
  .modal-heading { padding: 55px 24px 16px; }
  .settings-modal form, #profileContent { padding-left: 24px; padding-right: 24px; }
  .profile-tabs { margin-left: 24px; margin-right: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: enter .7s both; }
  .daily-card { animation: float-card 5s ease-in-out infinite; }
  .daily-emoji { animation: food-breathe 3.8s ease-in-out infinite; }
  @keyframes enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes float-card { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-9px); } }
  @keyframes food-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
}

/* ===== 线上商城 / 购物车 ===== */
#openCart { position: relative; }
#openCart #cartBadge { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
#openCart #cartBadge:empty { display: none; }

.cart-modal { max-width: 480px; }
#cartBody { padding: 8px 24px 0; max-height: 56vh; overflow-y: auto; }
#cartFooter { padding: 16px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }

.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: 15px; color: var(--ink); }
.cart-item-info small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.cart-item-ctrl { display: flex; align-items: center; gap: 8px; }
.cart-item-ctrl button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 16px; cursor: pointer; color: var(--ink); }
.cart-item-ctrl button:hover { background: var(--paper); }
.cart-item-ctrl span { min-width: 24px; text-align: center; font-weight: 700; }
.cart-item-ctrl b { min-width: 60px; text-align: right; color: var(--coral); font-size: 14px; }
.cart-remove { width: 24px !important; height: 24px !important; border: none !important; background: transparent !important; color: var(--muted) !important; font-size: 18px !important; }
.cart-remove:hover { color: var(--coral) !important; }

.cart-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cart-summary strong { font-size: 20px; color: var(--coral); }
.cart-actions { display: flex; gap: 10px; }
.cart-actions button { flex: 1; }

.ingredient-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cart-add { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--coral); background: var(--coral); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: opacity .2s; }
.cart-add:hover { opacity: .88; }
.shopping-add { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }

.checkout-summary { padding: 16px; background: var(--paper); border-radius: 14px; margin-bottom: 16px; }
.checkout-summary h3 { margin: 0 0 4px; font-size: 16px; }
.checkout-summary strong { color: var(--coral); font-size: 18px; }
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.checkout-form input, .checkout-form select, .checkout-form textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink); background: #fff; font-family: inherit; }
.checkout-form textarea { resize: vertical; min-height: 56px; }

.order-success { text-align: center; padding: 24px 8px; }
.order-success-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #e7f5e7; color: #2e9e4e; font-size: 32px; }
.order-success h3 { margin: 0 0 12px; font-size: 20px; color: var(--ink); }
.order-success p { margin: 6px 0; color: var(--muted); font-size: 14px; }
.order-success strong { color: var(--coral); }
.order-hint { margin-top: 16px !important; font-size: 12px !important; color: var(--muted) !important; opacity: .7; }

.order-item small { display: block; }
.order-item small + small { margin-top: 2px; }

.amount-detail { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--muted); }
.amount-detail.total { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 6px; }
.amount-detail.total strong { font-size: 18px; color: var(--coral); }
.amount-detail.discount span:last-child { color: #2e9e4e; }

.member-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; background: linear-gradient(135deg, #f5c842, #e89a2a); color: #fff; font-size: 12px; font-weight: 700; vertical-align: middle; }

.member-card { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; gap: 12px; }
.member-card.free { background: linear-gradient(135deg, #fff8ee, #fff0e0); border: 1px solid #f5d6a8; }
.member-card.paid { background: linear-gradient(135deg, #fff9e8, #fff3d0); border: 1px solid #f0d070; }
.member-card strong { display: block; font-size: 15px; }
.member-card p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.member-card .primary-cta { white-space: nowrap; }

.revenue-bar { display: flex; gap: 14px; padding: 10px 14px; background: var(--surface); border-radius: 12px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.revenue-bar strong { color: var(--coral); margin-left: 4px; }

.tag-discount { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #e8f7ec; color: #2e9e4e; font-size: 11px; font-weight: 600; vertical-align: middle; }


/* ===== Add Recipe Feature ===== */
.add-recipe-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 20px; height: 46px; border: 0; border-radius: 999px; background: var(--coral); color: white; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(232,133,90,.3); white-space: nowrap; }
.add-recipe-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232,133,90,.4); }

.add-recipe-modal { max-width: 620px; }
.add-recipe-modal form { padding: 15px 52px 52px; max-height: 60vh; overflow-y: auto; }
.add-recipe-modal label { display: block; margin-top: 18px; }
.add-recipe-modal label > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.add-recipe-modal input, .add-recipe-modal select, .add-recipe-modal textarea { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: white; font-family: inherit; }
.add-recipe-modal .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.add-recipe-modal .form-row:last-of-type { grid-template-columns: 1fr 1fr 1fr; }

.my-recipe-badge { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--coral); font-size: 10px; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.12); }

@media (max-width: 760px) {
  .add-recipe-modal form { padding-left: 24px; padding-right: 24px; }
  .add-recipe-modal .form-row, .add-recipe-modal .form-row:last-of-type { grid-template-columns: 1fr; }
}
