/* Rezeptfreunde 2.0 – non-destructive visual layer. No data schema or JS changes. */
@font-face{font-family:'DM Sans';src:url('./vendor/dm-sans.woff2') format('woff2');font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:'DM Serif Display';src:url('./vendor/dm-serif-display.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'DM Serif Display';src:url('./vendor/dm-serif-display-italic.woff2') format('woff2');font-style:italic;font-weight:400;font-display:swap}
:root{--paper:#fbf9f5;--ink:#262823;--muted:#797970;--green:#365c49;--green-dark:#294a39;--line:#e8e5df;--cream:#f1ece4;--white:#fff;--orange:#be704e}
body{font-family:'DM Sans',sans-serif;background:var(--paper);color:var(--ink)}
.topbar{height:88px;position:relative;z-index:2;background:#fff;border-bottom:1px solid #efede8;padding:0 clamp(20px,5.5vw,100px)}
.brand{font-weight:800;font-size:23px;letter-spacing:-1.2px}.brand-mark{background:#eaf0e9;color:#315942;border-radius:50%;width:40px;height:40px}.brand-accent{color:#bf7855}.brand small{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#9a9c94}
.topbar .text-button{font-size:12px;color:#4c6657;text-decoration:none}.topbar .text-button:hover{text-decoration:underline}
main{max-width:1440px;padding:0 clamp(20px,5vw,72px)}
.collection-choice{max-width:1260px;margin:0 auto;padding:69px 0 50px;text-align:center}
.collection-choice .eyebrow{color:#c17e57;letter-spacing:2.5px;margin:18px 0 18px}
.collection-choice h1{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(47px,5.7vw,85px);letter-spacing:-2.3px;line-height:1.04;font-weight:400;margin:0 auto 21px;max-width:970px}
.collection-choice h1 em{font-weight:400;color:#b87958}
.collection-choice>p:not(.eyebrow){font-size:15px;color:#777870;line-height:1.8;max-width:570px;margin:0 auto}
.welcome-pill{display:inline-flex;gap:9px;align-items:center;border:1px solid #e0e8de;background:#f0f4ed;color:#496c53;border-radius:100px;padding:9px 15px;font-size:10px;font-weight:800;letter-spacing:1.4px}
.live-dot{height:7px;width:7px;background:#699977;border-radius:50%;box-shadow:0 0 0 4px #d9e9d9}
.collection-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:46px}
.collection-card{min-height:410px;position:relative;padding:0;display:block;isolation:isolate;overflow:hidden;border-radius:22px;background:#455744;border:0;text-align:left;box-shadow:0 16px 32px #372d2414;transition:transform .23s,box-shadow .23s}
.collection-card:hover{transform:translateY(-6px);box-shadow:0 25px 42px #372d2426}
.collection-photo{position:absolute;inset:0;background-position:center;background-size:cover;transition:transform .45s ease}
.collection-card:hover .collection-photo{transform:scale(1.055)}
.collection-card-community .collection-photo{background-image:linear-gradient(180deg,transparent 9%,rgba(22,35,25,.16) 35%,rgba(17,30,22,.92) 100%),url('./category-images/pasta-nudeln.jpg')}
.collection-card-personal .collection-photo{background-image:linear-gradient(180deg,transparent 9%,rgba(46,29,15,.16) 35%,rgba(40,32,22,.92) 100%),url('./category-images/brunch.jpg')}
.collection-card-copy{position:absolute;left:0;bottom:0;padding:38px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;width:100%;color:#fff}
.collection-tag{color:#f2d9c2;font-size:10px;letter-spacing:2px;font-weight:700}
.collection-card strong{font-family:'DM Serif Display',Georgia,serif;color:#fff;font-size:clamp(34px,3.5vw,48px);font-weight:400;line-height:1.1}
.collection-card small{font-size:13px;line-height:1.5;color:#f4eee5e3}
.collection-action{display:flex;align-items:center;justify-content:space-between;min-width:235px;gap:30px;margin-top:13px;color:#fff;font-size:13px;font-weight:700;border-bottom:1px solid #ffffff8c;padding-bottom:12px}
.collection-action span{font-size:20px;font-weight:400}
.welcome-footnote{display:flex;gap:35px;justify-content:center;flex-wrap:wrap;margin-top:34px;color:#8d9187;font-size:11px;letter-spacing:.2px}
.button{border-radius:12px;padding:13px 19px}.button-primary{background:#365c49}.button-outline{border-color:#dadfd7;background:#fff}
.collection-toolbar{margin:25px auto 12px;padding:0 3%}.collection-toolbar strong{font-family:'DM Serif Display',Georgia,serif;font-size:25px;font-weight:400}
.hero{border:0;min-height:350px;margin:15px 3% 4px;border-radius:24px;background:#edece4;padding:38px 5%;gap:20px}
.hero h1,.results-heading h2,.personal-upload-text h2,.dialog-intro h2,.detail-body h2,.detail-body h3{font-family:'DM Serif Display',Georgia,serif;font-weight:400}
.hero h1{font-size:clamp(44px,5vw,65px);letter-spacing:-1.8px;line-height:1.08}.hero h1 em{color:#b27152;font-weight:400}
.hero-sub{font-size:14px;max-width:490px}.hero-art{width:360px;height:285px;overflow:hidden;border-radius:180px 180px 20px 20px;box-shadow:0 12px 32px #3d483222;margin-right:0}
.hero-art img{height:100%;width:100%;object-fit:cover}.hero-art .art-note{left:-5px;bottom:16px;transform:rotate(-7deg);z-index:1}.art-circle,.art-food,.art-leaf{display:none}
.controls{padding-top:26px}.search-box{border-radius:15px;box-shadow:0 5px 20px #36322508;border-color:#e2e2dc;height:60px}
.quick-chip{background:#fff;border-color:#e9e8e0;font-weight:600}.quick-chip.active{background:#365c49}
.category-grid{gap:18px}.category-tile{border-radius:18px;box-shadow:0 8px 19px #352e220f}.category-tile-image img{transition:transform .35s}.category-tile:hover img{transform:scale(1.07)}.category-tile-overlay{padding:60px 22px 21px;background:linear-gradient(transparent,rgba(17,22,18,.84))}.category-tile-overlay strong{font-family:'DM Serif Display',Georgia,serif;font-size:26px;font-weight:400}.category-tile-overlay small{font-size:12px}
.recipe-card{border-radius:18px;box-shadow:0 7px 25px #27261b08}.card-image{height:205px}.card-content{padding:21px}.card-title{font-family:'DM Serif Display',Georgia,serif;font-size:25px;font-weight:400}.card-image .category-chip{border-radius:20px;letter-spacing:.5px;padding:7px 12px}
.results-heading h2{font-size:37px}.results-heading{padding-top:28px;padding-bottom:22px}.results-heading .eyebrow{color:#b67652}
.personal-upload-panel{background:#eaf0e8;border:0;border-radius:25px}.personal-upload-visual{background:#ffffff9c}
.auth-shell{background:radial-gradient(ellipse at 90% 12%,#e7ecde 0,transparent 46%),radial-gradient(ellipse at 8% 92%,#f0e4d5 0,transparent 50%),#fbf9f5}
.auth-card{border:1px solid #eae7df;border-radius:25px;box-shadow:0 24px 70px #2c342b12}.auth-logo{font-size:29px;color:#365c49}.auth-logo span{color:#b87958}.auth-card h1{font-family:'DM Serif Display',Georgia,serif;font-size:43px;font-weight:400}.auth-card input{background:#fafaf8;border-color:#e2e4dd}
.admin-wrap{max-width:1120px}.admin-card{border-color:#e8e5df!important;border-radius:20px!important}.admin-card h1,.admin-card h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400}
footer{background:#fff;margin-top:25px}
@media(max-width:800px){.collection-card{min-height:340px}.collection-card-copy{padding:26px}.hero-art{width:260px;height:240px}.hero{margin-left:0;margin-right:0}}
@media(max-width:620px){.topbar{height:auto;min-height:74px;gap:8px}.brand{font-size:19px}.collection-choice{padding-top:39px}.collection-choice h1{font-size:clamp(43px,10vw,58px);letter-spacing:-1px}.collection-cards{grid-template-columns:1fr;margin-top:32px;gap:15px}.collection-card{min-height:285px}.collection-card-copy{padding:25px}.collection-card strong{font-size:36px}.welcome-footnote{gap:10px 18px;margin-top:22px;font-size:10px}.hero{min-height:330px;position:relative;padding:26px}.hero-art{position:absolute;right:0;bottom:0;opacity:.14;border-radius:20px;height:260px;pointer-events:none}.hero h1{font-size:45px;position:relative;z-index:1}.hero-sub{position:relative;z-index:1}.results-heading h2{font-size:30px}.card-image{height:145px}.card-title{font-size:21px}.auth-card h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Rezeptfreunde 2.1: schlanke Startseite mit Kategorien + sichtbarer KI-Erfassung */
.topbar{height:72px}
main{max-width:1260px;padding:0 clamp(16px,4vw,58px)}
.compact-intro{display:flex;align-items:end;justify-content:space-between;gap:25px;padding:36px 3% 25px}
.compact-intro .eyebrow{color:#ae704b;margin-bottom:12px}
.compact-intro h1{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(36px,4.25vw,57px);letter-spacing:-1.5px;line-height:1.08;margin:0 0 10px}
.compact-intro h1 em{color:#b87958;font-weight:400}
.compact-intro p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.6;margin:0}
.compact-count{display:flex;align-items:center;gap:11px;white-space:nowrap;color:#798378;font-size:12px;padding-bottom:5px}
.compact-count strong{font-family:'DM Serif Display',Georgia,serif;color:#365c49;font-size:34px;font-weight:400}
.ai-feature{margin:0 3% 10px;display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:22px;padding:22px 27px;background:#e9efe6;border:1px solid #dbe4d9;border-radius:18px}
.ai-feature-symbol{width:48px;height:48px;display:grid;place-items:center;background:#d3e1d1;color:#365c49;border-radius:14px;font-size:29px}
.ai-feature .eyebrow{color:#597c62;margin:0 0 7px;font-size:9px}
.ai-feature h2{font-family:'DM Serif Display',Georgia,serif;font-weight:400;font-size:clamp(23px,2.4vw,31px);letter-spacing:-.6px;margin:0 0 6px}
.ai-feature p:not(.eyebrow){font-size:12px;line-height:1.55;color:#66756b;margin:0;max-width:620px}
.ai-feature-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:flex-end;max-width:270px}
.ai-feature-actions .button{padding:12px 14px;font-size:12px;white-space:nowrap}
.ai-feature-actions .button-outline{background:#fbfdfb;border:1px solid #cbd8cd}
.ai-manual-link{width:100%;text-align:center;color:#54725d;border:0;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:3px}
.compact-toolbar{margin:0 3%;padding:15px 0 4px;border:0;justify-content:flex-start}
.collection-switch{display:inline-flex;padding:4px;gap:4px;border:1px solid #e2e6df;background:#f1f3ef;border-radius:11px}
.collection-tab{padding:9px 16px;color:#5e6a5f;border-radius:8px;background:transparent;border:0;font-size:12px;font-weight:700}
.collection-tab.active{background:#fff;color:#315a42;box-shadow:0 2px 7px #1b2b1b12}
.controls{padding:18px 3% 7px}
.search-box{height:51px;border-radius:12px}
.quick-filters{margin-top:10px}
.filter-row{padding-top:10px}
.results-heading{padding:20px 3% 15px}
.results-heading h2{font-size:clamp(27px,3vw,34px)}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:7px 3% 35px}
.category-tile{min-height:173px;border-radius:15px;box-shadow:0 4px 13px #352e220d}
.category-tile-overlay{padding:47px 14px 14px}
.category-tile-overlay strong{font-size:23px}
.category-tile-overlay small{font-size:11px}
.recipe-grid{padding:0 3% 40px;gap:14px}
#notice{margin:3px 3% 12px}
@media(max-width:920px){.ai-feature{grid-template-columns:44px minmax(0,1fr)}.ai-feature-actions{grid-column:2;justify-content:flex-start;max-width:none}.ai-manual-link{width:auto}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.topbar{padding:10px 14px;min-height:66px}.topbar>div{gap:7px!important}.topbar .account-email{display:none}.topbar .text-button{font-size:11px}.compact-intro{padding:25px 0 18px;align-items:start;gap:7px}.compact-intro h1{font-size:40px}.compact-intro>div:first-child>p:last-child{font-size:12px}.compact-count{display:none}.ai-feature{margin:0 0 7px;padding:17px;grid-template-columns:1fr;gap:10px}.ai-feature-symbol{display:none}.ai-feature h2{font-size:28px}.ai-feature-actions{grid-column:1;gap:8px}.ai-feature-actions .button{flex:1}.ai-manual-link{flex-basis:100%;text-align:left}.compact-toolbar{margin:0;padding:12px 0 0}.collection-switch{width:100%;display:flex}.collection-tab{flex:1;padding:10px 8px;font-size:11px}.controls{padding:14px 0 6px}.search-box{height:48px}.results-heading{padding:18px 0 12px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:5px 0 26px}.category-tile{min-height:150px}.category-tile-overlay strong{font-size:22px}.recipe-grid{padding:0 0 35px;gap:10px}.search-box kbd{display:none}}

/* Rezeptfreunde 2.2: Eine gemeinsame Sammlung ohne Umschalter */
.collection-toolbar.compact-toolbar{display:none!important}
.ai-feature{margin-bottom:6px}
#category-home .results-heading{padding-top:13px}


/* Rezeptfreunde 2.4: KI-Import in klaren Schritten */
.import-steps{display:flex;gap:8px;flex-wrap:wrap;margin:0 32px 23px 0}
.import-steps span{font-size:11px;border-radius:40px;padding:8px 11px;color:#8a9188;background:#f2f2ee;border:1px solid #e5e8df}
.import-steps span.active{color:#28563c;background:#e3eee4;border-color:#b9d1c0;font-weight:700}
.import-photo-stage{padding:18px;border:1px dashed #c3d3c6;background:#f5f9f4;border-radius:15px}
.import-instructions{font-size:13px;line-height:1.55;color:#57665b;margin:0 0 16px}
.import-photo-stage .field{margin-bottom:12px}
.import-photo-stage #parse-photo,.import-photo-stage #skip-photo{margin:4px 8px 0 0}
.review-banner{display:flex;flex-direction:column;gap:5px;background:#eaf1e9;border:1px solid #d4e2d4;padding:14px 16px;border-radius:12px;margin-bottom:18px}
.review-banner strong{font-size:14px;color:#2e5a3e}.review-banner span{font-size:12px;line-height:1.5;color:#5d7162}
#ai-status.error{color:#af3f32}
@media(max-width:620px){.import-steps{gap:5px}.import-steps span{font-size:10px;padding:7px 8px}.import-photo-stage{padding:13px}.import-photo-stage #parse-photo,.import-photo-stage #skip-photo{width:100%;margin:5px 0}}


/* Rezeptfreunde 2.5: Kategorie-Checkboxen sauber ausrichten.
   Die allgemeinen .field input-Regeln gelten bewusst NICHT für Checkboxen. */
#recipe-review-stage .category-selection-field {
  grid-column: 1 / -1;
  min-width: 0;
}
#recipe-review-stage #form-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin-top: 4px;
  width: 100%;
  min-width: 0;
}
#recipe-review-stage #form-categories > label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dbdfd7;
  border-radius: 10px;
  background: #fffefa;
  color: #314038;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
#recipe-review-stage #form-categories > label:hover {
  border-color: #a5beaa;
  background: #f4f8f3;
}
#recipe-review-stage #form-categories input[type="checkbox"] {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  min-width: 17px;
  max-width: 17px;
  height: 17px;
  min-height: 17px;
  padding: 0;
  margin: 0;
  border-radius: 4px;
  accent-color: #365c49;
  box-shadow: none;
}
#recipe-review-stage #form-categories > label:has(input:checked) {
  border-color: #9cbea3;
  background: #eaf3eb;
}
@media (max-width: 620px) {
  #recipe-review-stage .form-grid {grid-template-columns: 1fr;}
  #recipe-review-stage #form-categories {grid-template-columns: 1fr;}
  #recipe-review-stage #form-categories > label {min-height: 44px;}
}

/* Mehrseitiger KI-Rezeptimport */
.multipage-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.recipe-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;margin:12px 0}
.recipe-page{border:1px solid #ded9d0;border-radius:12px;padding:8px;background:#fff;min-width:0}
.recipe-page img{height:110px;width:100%;object-fit:contain;border-radius:8px;background:#faf9f6}
.recipe-page-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;margin:7px 0}
.recipe-page-controls{display:flex;gap:5px;justify-content:space-between;flex-wrap:wrap}
.recipe-page-controls button{font-size:12px;padding:5px 8px;cursor:pointer;border:1px solid #ccc;background:#fafaf8;border-radius:7px}
.recipe-page-controls button:disabled{opacity:.4;cursor:default}
.user-approval-list{display:grid;gap:10px;margin-top:16px}
.user-approval-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid #e0dad1;border-radius:12px}
.user-approval-row p{margin:4px 0;font-size:13px}
.user-approval-row button{white-space:nowrap}
@media(max-width:560px){.user-approval-row{align-items:stretch;flex-direction:column}.multipage-actions button{flex:1}}

/* Rezeptfreunde Privat V9: mehrfache, barrierearme Auswahl im Admin */
.distribution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0}
.distribution-column{border:1px solid #e5e1d6;border-radius:15px;padding:16px;min-width:0;background:#faf9f6}
.distribution-column h3{margin:0 0 12px}
.distribution-column input[type=search]{width:100%;box-sizing:border-box;border:1px solid #d9d0c3;border-radius:9px;padding:10px;font:inherit}
.distribution-options{margin-top:12px;max-height:310px;overflow:auto;display:grid;gap:6px}
.distribution-check{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid #e8e1d6;border-radius:9px;cursor:pointer;background:white;min-width:0}
.distribution-check input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px!important;margin:2px 0 0;padding:0!important;accent-color:#526d49}
.distribution-check span{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.distribution-check small{color:#76746d;font-size:.75rem}
.distribution-check:has(input:checked){background:#eaf0e5;border-color:#b7c9aa}
@media(max-width:720px){.distribution-grid{grid-template-columns:1fr}}

/* Rezeptfreunde Privat – Login über Google (Cloudflare) */
.oauth-login{width:100%;margin-top:17px}
.oauth-divider{display:flex;align-items:center;gap:12px;margin:0 0 14px;color:#586357;font-size:13px}
.oauth-divider:before,.oauth-divider:after{content:"";height:1px;background:#e3e5df;flex:1}
.oauth-button{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;background:#fff;border:1px solid #d3d9d0;color:#27382d;border-radius:12px;font-weight:600}
.oauth-button:hover{background:#f5f8f2;border-color:#879d89}
.oauth-button:focus-visible{outline:3px solid #79a8d2;outline-offset:2px}
.oauth-button:disabled{opacity:.6;cursor:wait}
.google-g{font-family:Arial,Helvetica,sans-serif;font-size:21px;font-weight:700;line-height:1;color:#4285f4}
.admin-oauth-login{max-width:480px}

/* Rezeptfreunde Privat – persönliche Zufallsrezepte auf der Startseite */
.recipe-discovery{margin:21px 3% 24px;padding:22px 24px 23px;border:1px solid #e8e5dd;border-radius:20px;background:linear-gradient(120deg,#fffdf9 0%,#f7f7f0 100%);box-shadow:0 8px 30px rgba(34,45,31,.045)}
.discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.discovery-heading .eyebrow{color:#986e54;font-size:10px;letter-spacing:1.5px;margin:0 0 7px}
.discovery-heading h2{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(24px,2.7vw,34px);font-weight:400;letter-spacing:-.5px;margin:0;line-height:1.2;color:#293d2d}
.discovery-heading h2 em{color:#b67d5a;font-weight:400}
.discovery-caption{font-size:12px;color:#73796e;margin:6px 0 0}
.discovery-refresh{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;min-height:42px;padding:10px 16px;background:#fff;color:#365c49;border:1px solid #cad6ca;border-radius:999px;font-size:12px;font-family:inherit;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.discovery-refresh:hover:not(:disabled){background:#eaf1e8;border-color:#78917c;transform:translateY(-1px)}
.discovery-refresh:focus-visible,.discovery-card:focus-visible{outline:3px solid #82a58b;outline-offset:3px}
.discovery-refresh:disabled{opacity:.48;cursor:not-allowed}
.discovery-refresh-icon{font-family:Arial,sans-serif;font-size:23px;font-weight:400;line-height:12px}
.discovery-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0;outline-offset:5px}
.discovery-card{position:relative;display:flex;align-items:end;text-align:left;overflow:hidden;min-width:0;min-height:206px;border:0;border-radius:14px;background:#dbe1d5;color:#fff;padding:0;cursor:pointer;isolation:isolate;box-shadow:0 5px 14px rgba(33,46,29,.10);transition:transform .18s,box-shadow .18s}
.discovery-card img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;transition:transform .28s}
.discovery-card:hover{transform:translateY(-3px);box-shadow:0 13px 24px rgba(33,46,29,.16)}
.discovery-card:hover img{transform:scale(1.06)}
.discovery-card-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,22,14,.02) 12%,rgba(13,27,19,.40) 49%,rgba(12,25,18,.93) 100%)}
.discovery-card-content{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:15px;overflow-wrap:anywhere}
.discovery-card-category{color:#e1eccc;font-size:9px;font-weight:700;letter-spacing:.4px;line-height:1.35}
.discovery-card strong{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(16px,1.85vw,23px);font-weight:400;line-height:1.12}
.discovery-card-link{display:flex;align-items:center;gap:5px;color:#f3f5ef;font-size:10px;font-weight:600;margin-top:5px}
.discovery-card-link span{font-size:16px;line-height:10px}
@media(max-width:980px){.discovery-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:2px 2px 10px}.discovery-card{flex:0 0 176px;scroll-snap-align:start;min-height:204px}.discovery-card strong{font-size:21px}}
@media(max-width:620px){.recipe-discovery{margin:15px 0 22px;padding:18px 14px 14px;border-radius:17px}.discovery-heading{align-items:flex-start;gap:11px}.discovery-heading h2{font-size:27px}.discovery-caption{max-width:210px;font-size:11px}.discovery-refresh{font-size:11px;gap:5px;padding:9px 11px;min-height:38px}.discovery-refresh-icon{font-size:21px}.discovery-list{gap:10px}.discovery-card{flex-basis:174px;min-height:198px}.discovery-card-content{padding:14px}}
@media(prefers-reduced-motion:reduce){.discovery-card,.discovery-card img,.discovery-refresh{transition:none}}

/* V11 – Foto des fertigen Essens: eigenständige, mobile Upload-Karte */
.food-photo-editor{margin:20px 0 22px;padding:19px;border:1px solid #e2e8db;border-radius:17px;background:linear-gradient(120deg,#fafbf6,#f3f7f0)}
.food-photo-editor-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:15px}
.food-photo-editor-heading strong{display:block;color:#294a39;font-size:15px;margin-bottom:4px}
.food-photo-editor-heading p{margin:0;color:#66746b;font-size:12px;line-height:1.6}
.food-photo-optional{font-size:10px;color:#688273;background:#e1ede2;border-radius:30px;padding:5px 9px;white-space:nowrap}
.food-photo-row{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:16px;align-items:center}
.food-photo-preview{height:148px;width:100%;overflow:hidden;border-radius:13px;display:grid;place-items:center;background:#fff;border:1px dashed #c9d8ca}
.food-photo-preview img{width:100%;height:100%;display:block;object-fit:cover}
.food-photo-placeholder{font-size:51px;line-height:1}
.food-photo-tools{display:flex;align-content:center;align-items:flex-start;gap:8px;flex-wrap:wrap}
.food-photo-tools .button{font-size:12px;padding:10px 12px}
.food-photo-remove{border:0;background:transparent;color:#af594c;text-decoration:underline;text-underline-offset:3px;font-size:12px;padding:8px 0;cursor:pointer}
.food-photo-status{flex-basis:100%;font-size:11px;color:#66746b;line-height:1.5;margin:0}
.food-photo-status.error{color:#a42f27}
@media(max-width:540px){.food-photo-editor{padding:13px}.food-photo-row{grid-template-columns:1fr;gap:12px}.food-photo-preview{height:200px}.food-photo-tools .button{flex:1 1 125px}.food-photo-tools{width:100%}}

/* Vorschau der separat hochgeladenen Essensfotos bei Admin-Freigaben */
.admin-food-thumbnail{width:72px;height:72px;object-fit:cover;border-radius:11px;flex-shrink:0;margin-right:12px;border:1px solid #e3e9e2}

/* V12 – kompakte Rezeptgrenze im Kochbuch */
.recipe-quota{display:block;margin-top:7px;font-size:.79rem;color:#647c5d;font-weight:600;line-height:1.3}
.ai-feature-actions button:disabled{opacity:.55;cursor:not-allowed}

/* Persönliche Rezepte können wieder entfernt werden, um Platz freizugeben. */
.delete-personal{color:#983f34;border-color:#d9b6ac}
.delete-personal:hover{background:#fff1ec}
@media(max-width:620px){.detail-actions{flex-wrap:wrap;justify-content:stretch}.detail-actions .button{flex:1 1 190px}}
