/* Familienkochbuch – Gestaltung "Küchenzettel": Papier, Tinte, Safran */

:root {
    --paper: #F6F1E7;
    --paper-2: #EFE8DA;
    --card: #FFFDF7;
    --white: #FFFFFF;
    --ink: #23201B;
    --ink-2: #4A443B;
    --muted: #6B6358;
    --line: #D8CFBF;
    --line-dash: #C9BFAE;
    --accent: #9A5A0E;
    --accent-soft: #F3E6CC;
    --deco: #C4B8A4;
    --herb: #A9B58E;
    --success: #4C6B3A;
    --success-soft: #E3EAD6;
    --danger: #A23A22;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Karla', system-ui, sans-serif;
    --radius: 6px;
    --shadow: 0 1px 2px rgb(35 32 27 / .08), 0 10px 24px rgb(35 32 27 / .08);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 17px/1.55 var(--sans);
}

a { color: var(--ink); text-decoration-color: var(--line-dash); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .8em; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.grow { flex: 1; min-width: 0; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--accent); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
.display em, .display-sm em { color: var(--accent); }
.display-sm { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; margin: .2rem 0 0; }
.lead { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); max-width: 52ch; }

/* --- Kopfzeile --- */

.topbar { background: var(--paper); position: sticky; top: 0; z-index: 30; }
.topbar-inner {
    max-width: 1180px; margin: 0 auto; padding: 14px 24px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
    border-bottom: 1.5px solid var(--ink);
}
.mainnav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 26px; flex: 1; }
.mainnav .dropdown { margin-left: auto; }
.mainnav > a, .dropdown-toggle {
    display: inline-flex; align-items: center; gap: .3rem; min-height: 44px;
    padding: 0; border: 0; border-bottom: 2px solid transparent; background: none;
    color: var(--ink); font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.mainnav > a:hover, .dropdown-toggle:hover { color: var(--accent); }
.mainnav > a.active, .dropdown-toggle.active { border-bottom-color: var(--accent); font-weight: 700; }
.count { font-family: var(--serif); font-style: italic; color: var(--accent); }

.dropdown { position: relative; }
.caret { font-size: .75em; transition: transform .15s; }
.dropdown.is-open .caret { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 15rem;
    display: flex; flex-direction: column; padding: .4rem;
    background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .12s, transform .12s, visibility .12s;
}
/* unsichtbare Brücke über den Abstand, damit der Hover beim Wechsel zum Menü nicht abreißt */
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { padding: .6rem .75rem; border-radius: 4px; text-decoration: none; }
.dropdown-menu a:hover { background: var(--paper-2); color: var(--ink); }
.dropdown-menu a.active { font-weight: 700; color: var(--accent); }
.dropdown-menu .menu-logout { margin-top: .3rem; border-top: 1px dashed var(--line); border-radius: 0; color: var(--muted); }

/* --- Seitenrahmen --- */

.container { max-width: 1180px; margin: 0 auto; padding: 2.2rem 24px 4rem; }
.container.narrow { max-width: 480px; }
section { margin-bottom: 2.2rem; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.page-head h1 { margin: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.section-head h2 { margin: 0; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: 0 1px 2px rgb(35 32 27 / .05); }
.card-paper { background: var(--card); padding: 1.2rem 1.3rem .6rem; box-shadow: 0 1px 2px rgb(35 32 27 / .06); }

.flash { padding: .75rem 1rem; margin-bottom: 1.2rem; border-left: 3px solid var(--ink); background: var(--card); font-weight: 500; }
.flash-success { border-left-color: var(--success); }
.flash-error { border-left-color: var(--danger); color: var(--danger); }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .deco { width: 90px; height: 82px; color: var(--deco); stroke-width: 2.4; margin-bottom: .8rem; }

/* --- Knöpfe --- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .6rem 1.2rem; border-radius: var(--radius);
    border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
    font: 700 1rem var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--paper-2); color: var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #3A352D; color: var(--paper); }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #3E5A2F; color: #fff; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: #F6E3DC; color: var(--danger); }
.btn-ghost { border-color: transparent; color: var(--ink-2); }
.btn-small { min-height: 38px; padding: .35rem .8rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row, .btn-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.link-btn {
    display: inline-flex; align-items: center; gap: .45em; min-height: 48px; padding: 0;
    border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: none;
    color: var(--ink); font: 700 1rem var(--sans); cursor: pointer;
}
.link-btn:hover { color: var(--accent); border-bottom-color: var(--accent); }
.icon {
    width: 40px; height: 40px; display: inline-grid; place-items: center; flex: 0 0 auto;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
    color: var(--ink); font: inherit; cursor: pointer; text-decoration: none;
}
.icon:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.icon:disabled { opacity: .35; cursor: default; }
.icon.danger { color: var(--danger); }
.round-btn {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    border: 0; background: rgb(246 241 231 / .92); color: var(--ink); cursor: pointer;
}
.round-btn:hover { background: var(--paper); color: var(--accent); }

/* --- Formulare --- */

input, select, textarea {
    width: 100%; min-height: 46px; padding: .55rem .75rem; border-radius: var(--radius);
    border: 1px solid var(--line-dash); background: var(--white); color: var(--ink); font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--ink); }
input[type=file] { padding: .55rem; background: var(--card); }
textarea { resize: vertical; min-height: 0; }
label { display: block; font-weight: 700; font-size: .92rem; }
form > div, .panel > div:not(.rows):not(.section-head) { margin-bottom: .9rem; }
form div > label { margin-bottom: .3rem; }
.stack { display: flex; flex-direction: column; gap: .9rem; }
.stack > div { margin: 0; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 500; cursor: pointer; }
form ul { color: var(--danger); font-size: .88rem; margin: .3rem 0 0; padding-left: 1rem; }
.inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.inline-form input { width: auto; }
.inline-form input.grow { flex: 1; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.danger-zone { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--line-dash); }
fieldset.family-choice { border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; margin: 0; }
fieldset.family-choice legend { font-family: var(--serif); font-weight: 600; padding: 0 .3rem; }
fieldset.family-choice > div { margin-top: .6rem; }

.search-line { display: flex; align-items: center; gap: .5rem; border-bottom: 1.5px solid var(--ink); min-width: 260px; margin: 0; }
.search-line input { border: 0; background: transparent; padding: .5rem 0; outline: 0; min-height: 44px; }
.search-line .ico { flex: 0 0 auto; }
.search-wide { max-width: 560px; margin-bottom: 1.8rem; }

.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 > div, .grid-3 > div { margin: 0; }

/* Zeilen im Rezeptformular */
.rows { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 .9rem; padding: 0; }
.row { display: grid; gap: .5rem; align-items: start; padding: .55rem; border-radius: var(--radius); background: var(--paper); }
.row > div { margin: 0 !important; }
.ingredient-row { grid-template-columns: 6rem 7rem 1fr 1fr auto; }
.steps-edit { counter-reset: step; list-style: none; }
.step-row { grid-template-columns: 2rem 1fr 7rem auto; counter-increment: step; }
.step-row::before { content: counter(step); font: italic 1.6rem/1 var(--serif); color: var(--accent); padding-top: .5rem; text-align: center; }
.f-duration { display: flex; flex-direction: column; gap: .15rem; }
.row-tools { display: flex; gap: .25rem; }
.recipe-form .panel h2 { font-size: 1.35rem; }


/* --- Fotos & Accessoires --- */

.photo-frame { display: block; border-radius: var(--radius); overflow: hidden; }
.photo-frame img, .photo-frame .photo-placeholder { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-placeholder { display: grid !important; place-items: center; background: var(--paper-2); }
.photo-placeholder .deco { width: auto; height: 55%; color: var(--deco); stroke-width: 2.2; transform: rotate(-12deg); }

.deco { color: var(--deco); stroke-width: 2.4; pointer-events: none; }
.deco-sprig { color: var(--herb); }
.vignette { display: flex; align-items: center; gap: 1.2rem; margin: 2.4rem 0 0; }
.vignette::before, .vignette::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.vignette .deco { width: 130px; height: 29px; }

/* --- Startseite --- */

.hero { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.hero-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 1rem; }
.hero-text .lead { margin: 0; }
.hero-text .eyebrow { color: var(--muted); }
.hero-photo { flex: 1 1 400px; margin: 0; position: relative; overflow: visible; }
.hero-photo img, .hero-photo .photo-placeholder { border-radius: var(--radius); }
.hero-photo img, .hero-photo .photo-placeholder { aspect-ratio: 4 / 3; }
.hero-photo figcaption { margin-top: .8rem; font-family: var(--serif); font-style: italic; color: var(--muted); }
.deco-corner { position: absolute; right: -44px; top: -20px; width: 44px; height: 104px; transform: rotate(24deg); }
.hero-still { flex: 1 1 400px; display: flex; justify-content: center; align-items: flex-end; gap: 2.2rem; min-height: 220px; }
.hero-still .deco { width: 46px; height: 150px; }
.hero-still .deco:nth-child(1) { transform: rotate(-16deg); }
.hero-still .deco:nth-child(2) { height: 180px; }
.hero-still .deco:nth-child(3) { transform: rotate(14deg); }

.home-grid { display: flex; flex-wrap: wrap; gap: 3rem; }
.toc { flex: 1 1 260px; display: flex; flex-direction: column; }
.newest { flex: 2.4 1 520px; min-width: 0; }
.toc-row { display: flex; align-items: baseline; gap: .5rem; padding: .7rem 0; border-bottom: 1px dashed var(--line-dash); text-decoration: none; }
.toc-row:hover .toc-name { color: var(--accent); }
.toc-name { font-family: var(--serif); font-size: 1.2rem; }
.toc-dots { flex: 1; border-bottom: 1px dotted var(--line-dash); transform: translateY(-4px); }
.toc-count { font-family: var(--serif); font-style: italic; color: var(--accent); white-space: nowrap; flex: 0 0 auto; }
.toc-day { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); width: 3.4rem; flex: 0 0 auto; }
.toc-day.is-today { color: var(--accent); }
.toc-section + .toc-section { margin-top: 1.8rem; }
.toc-section summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; cursor: pointer; list-style: none; }
.toc-section summary::-webkit-details-marker { display: none; }
.toc-section summary h2 { margin: 0; }
.toc-section summary::after { content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.toc-section[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toc-section summary:hover h2 { color: var(--accent); }
.toc-section[open] summary { margin-bottom: .2rem; }
.toc-deco { display: flex; justify-content: center; align-items: flex-end; gap: 1.8rem; padding-top: 2.4rem; }
.toc-deco .deco { width: 32px; height: 100px; }
.toc-deco .deco:first-child { transform: rotate(-14deg); }
.toc-deco .deco:last-child { transform: rotate(12deg); }

/* --- Rezeptliste --- */

.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 1.4rem; }
.recipe-card { display: flex; flex-direction: column; gap: .45rem; text-decoration: none; color: var(--ink); }
.recipe-card .photo-frame { margin-bottom: .4rem; }
.recipe-card .photo-frame img { transition: transform .3s; }
.recipe-card:hover .photo-frame img { transform: scale(1.04); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.recipe-card:hover .card-title { color: var(--accent); }
.meta { color: var(--muted); font-size: .95rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.group-title { font-size: 1.4rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1.4rem 1rem; margin-bottom: 2.4rem; }
.cat-tile { display: flex; flex-direction: column; gap: .6rem; text-decoration: none; color: var(--ink); }
.cat-art-box { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--radius); transition: transform .15s; }
.cat-art { width: 78%; height: auto; }
.cat-tile:hover .cat-art-box { transform: translateY(-2px); }
.cat-tile:hover .card-title { color: var(--accent); }
.cat-label .card-title { font-size: 1.1rem; }

/* --- Rezeptansicht --- */

.slider { position: relative; margin-bottom: 1.6rem; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: clamp(300px, 46vw, 500px); object-fit: cover; scroll-snap-align: start; }
.slider-overlay { position: absolute; top: 14px; left: 14px; right: 14px; display: none; justify-content: space-between; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 4px; }
.slider-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: rgb(246 241 231 / .6); transition: width .2s; }
.slider-dots button.active::before { width: 22px; background: var(--paper); }
.slider-count { position: absolute; right: 14px; bottom: 16px; background: rgb(35 32 27 / .72); color: var(--paper); font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }

.recipe-sheet { position: relative; }
.deco-sheet { position: absolute; right: 0; top: 0; width: 38px; height: 104px; transform: rotate(16deg); }
.recipe-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 0 3rem; margin-bottom: 1.6rem; }
.recipe-head .crumbs { justify-content: center; }
.recipe-head .lead { margin: 0; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto 1.6rem; max-width: 640px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.facts div { padding: .7rem .4rem; text-align: center; }
.facts div + div { border-left: 1px solid var(--line-dash); }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.facts dd.accent { color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: center; margin-bottom: 2.4rem; }
.actions form { margin: 0; }
.plan-form { display: flex; gap: .5rem; scroll-margin-top: 130px; }
.plan-form input[type=date] { width: auto; }

.recipe-body { display: grid; grid-template-columns: minmax(280px, 1fr) 1.5fr; gap: 2.4rem; align-items: start; }
.recipe-body section { margin: 0; }
.stepper { display: flex; align-items: center; gap: .3rem; margin: 0 !important; }
.stepper input { width: 3.4rem; text-align: center; padding: .3rem; font: 1.3rem var(--serif); border: 0; background: transparent; }
.stepper input::-webkit-inner-spin-button { display: none; }
.step-btn { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font-size: 1.3rem; font-weight: 700; cursor: pointer; }
.step-btn.solid { background: var(--ink); color: var(--paper); }
.stepper-hint { margin: 0 0 .3rem; }

.ingredient-list { list-style: none; margin: 0 0 .4rem; padding: 0; }
.ingredient-list li { display: flex; align-items: baseline; gap: .8rem; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.ingredient-list .qty { flex: 0 0 6rem; font-family: var(--serif); font-size: 1.12rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.ingredient-list .check { width: 100%; }
.checklist input:checked ~ span { text-decoration: line-through; color: var(--muted); }

.steps-head { display: flex; align-items: center; justify-content: space-between; }
.steps-head h2 { margin: 0 0 .4rem; }
.deco-heading { width: 30px; height: 70px; transform: rotate(-12deg); }
.step-list { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step-list > li { position: relative; padding: .9rem 0 .9rem 3.4rem; border-bottom: 1px solid var(--line); counter-increment: step; }
.step-list > li::before { content: counter(step); position: absolute; left: 0; top: .6rem; font: italic 2.6rem/1 var(--serif); color: var(--accent); }
.step-list p { margin: 0 0 .35rem; font-size: 1.05rem; }
.duration { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 700; color: var(--muted); }

.recipe-foot { display: flex; flex-direction: column; align-items: center; gap: .3rem; margin-top: 3rem; text-align: center; }
.recipe-foot .deco { width: 64px; height: 58px; }
.sign-off { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); margin: 0; }

.bottombar { display: none; }
.only-mobile { display: none; }

/* --- Kochmodus: Schritt-Widget --- */

.cook { max-width: 760px; margin: 0 auto; }
.cook-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.cook-head h1 { margin: .2rem 0 .1rem; }
.cook-head p { margin: 0; }
.cook-head .eyebrow { text-decoration: none; }
.cook-clock { display: flex; flex-direction: column; align-items: flex-end; }
.cook-clock .clock { font: 400 2.4rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.cook-clock .link-btn { min-height: 32px; font-size: .9rem; }
.cook-clock.is-paused .clock { color: var(--muted); animation: blink 1.6s steps(2) infinite; }

.cook-intro { display: flex; flex-direction: column; gap: 1.2rem; }
.cook-intro-text h2 { margin-bottom: .3rem; }
.cook-intro .card-paper h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.btn-big { min-height: 60px; font-size: 1.15rem; }

.step-progress { display: flex; gap: 6px; margin-bottom: 1.4rem; }
.step-progress button { flex: 1; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.step-progress button::before { content: ""; flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .2s; }
.step-progress button.is-done::before { background: var(--success); }
.step-progress button.is-current::before { background: var(--ink); }

.step-track { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; transition: height .2s; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 -6px; }
.step-track::-webkit-scrollbar { display: none; }
.step-slide { flex: 0 0 100%; padding: 2px 6px; scroll-snap-align: start; scroll-snap-stop: always; }
.step-card { background: var(--card); padding: 1.8rem 1.6rem; box-shadow: 0 1px 2px rgb(35 32 27 / .06); border-radius: var(--radius); min-height: 220px; display: flex; flex-direction: column; gap: 1rem; opacity: .55; transition: opacity .2s; }
.step-card.is-current { opacity: 1; }
.step-card .eyebrow { margin: 0; }
.step-text { margin: 0; font: 400 clamp(1.45rem, 3.4vw, 1.9rem)/1.35 var(--serif); }
.step-timer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); margin-top: auto; }
.timer-big { font: 400 2.6rem/1 var(--serif); font-variant-numeric: tabular-nums; min-width: 6.5rem; }
.timer-big.is-running { color: var(--accent); }
.timer-big.is-over { color: var(--danger); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .55; } }

.next-preview { margin: 1rem 0 .4rem; color: var(--muted); font-style: italic; font-family: var(--serif); }
.cook-ingredients { margin: 1rem 0 1.4rem; }
.cook-ingredients summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.cook-ingredients summary::-webkit-details-marker { display: none; }
.cook-ingredients summary::before { content: "›"; display: inline-block; width: 1.2rem; font-size: 1.3rem; transition: transform .15s; }
.cook-ingredients[open] summary::before { transform: rotate(90deg); }
.step-viewport { position: relative; }
.step-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); border: 1.5px solid var(--ink); }
.step-arrow.prev { left: -58px; }
.step-arrow.next { right: -58px; }
.step-arrow:disabled { opacity: .25; cursor: default; }
@media (max-width: 900px) { .step-arrow.prev { left: 4px; } .step-arrow.next { right: 4px; } }
.step-finish { margin-top: auto; }
.step-timer + .step-finish { margin-top: .4rem; }
.swipe-hint { display: none; align-items: center; justify-content: center; gap: .4rem; margin: .8rem 0 0; color: var(--muted); font-size: .88rem; }
.timer-strip { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-top: 1rem; }
.timer-strip::-webkit-scrollbar { display: none; }
.timer-chip {
    flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: .4rem; min-height: 40px; padding: .35rem .8rem;
    border: 1.5px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 .85rem var(--sans); cursor: pointer;
}
.timer-chip b { font: 400 1.05rem var(--serif); font-variant-numeric: tabular-nums; }
.timer-chip.is-running { border-color: var(--accent); }
.timer-chip.is-running b { color: var(--accent); }
.timer-chip.is-over { background: var(--danger); border-color: var(--danger); color: #fff; }
.timer-chip.is-over b { color: #fff; }
.timer-chip.is-ringing { animation: ring .9s ease-in-out infinite; }
.timer-chip em { font-style: normal; font-weight: 700; padding-left: .4rem; margin-left: .1rem; border-left: 1px solid rgb(255 255 255 / .5); }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-3deg); } 30% { transform: rotate(3deg); } 45% { transform: rotate(-2deg); } 60% { transform: rotate(0); } }

.cook-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 2rem 0; }
.cook-done .deco { width: 90px; height: 82px; }
.cook-done .btn-row { justify-content: center; }
.cook-reset { text-align: center; margin-top: 2rem; }

/* --- Kategorien, Einkauf, Plan, Familie --- */

.category-list, .shopping-list, .member-list { list-style: none; margin: 0; padding: 0; }
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree .cat-tree { margin-left: 1.4rem; padding-left: .9rem; border-left: 1px dashed var(--line-dash); }
.cat-node { display: flex; align-items: center; gap: .45rem; padding: .45rem 0; }
.cat-node form { margin: 0 !important; }
.cat-node > a.grow { font-family: var(--serif); font-size: 1.15rem; text-decoration: none; }
.cat-thumb { width: 3.2rem; height: 2.4rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 4px; }
.cat-thumb .cat-art { width: 88%; }

.icon-picker { border: 0; padding: 0; margin: 0 0 1rem; }
.icon-picker legend { font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-bottom: .5rem !important; }
.icon-option { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: .35rem; border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.icon-option:hover { border-color: var(--line-dash); }
.icon-option input { position: absolute; opacity: 0; }
.icon-option:has(input:checked) { border-color: var(--ink); background: var(--card); }
.icon-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-label { text-align: center; font-size: .88rem; }

.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; margin-bottom: .9rem !important; }
.image-item { margin: 0; }
.image-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: .3rem; border-radius: var(--radius); }

.add-item .w-amount { width: 6rem; }
.add-item .w-unit { width: 7rem; }
.add-item, .add-item + * { margin: 0; }
.shopping-list li { display: flex; align-items: center; gap: .4rem; border-bottom: 1px dashed var(--line); }
.shopping-list li:last-child { border-bottom: 0; }
.shopping-list li form { margin: 0; }
.check-btn { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 52px; padding: .5rem 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.check-btn .box { flex: 0 0 1.5rem; height: 1.5rem; border: 1.5px solid var(--ink); border-radius: 4px; display: grid; place-items: center; font-size: .85rem; color: var(--paper); }
.check-btn .qty { min-width: 5.5rem; font-family: var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.shopping-list li.checked .box { background: var(--success); border-color: var(--success); }
.shopping-list li.checked .name, .shopping-list li.checked .qty { text-decoration: line-through; color: var(--muted); }

.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.week .day { margin: 0; min-height: 7rem; }
.week .day.is-today { border-color: var(--ink); border-width: 1.5px; }
.week .day h3 { font-size: 1.15rem; }
.plan-entry { display: flex; flex-direction: column; gap: .15rem; padding: .55rem 0; border-top: 1px dashed var(--line); margin: 0 !important; }
.plan-entry strong { font-family: var(--serif); font-weight: 600; }
.plan-tools { display: flex; gap: .3rem; align-items: center; margin-top: .25rem; }
.plan-tools form { margin: 0; }

.member-list li { padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.member-list li:last-child { border-bottom: 0; }
.member-list strong { font-family: var(--serif); font-size: 1.1rem; }
.invite-code { font: 600 1.9rem var(--serif); letter-spacing: .2em; padding: .5rem 1.1rem; border: 1.5px dashed var(--ink); display: inline-block; margin: 0 0 1rem !important; user-select: all; }

.tag { display: inline-block; padding: .1rem .55rem; border: 1px solid var(--line-dash); border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.tag-soft { background: var(--paper-2); border-color: transparent; }
.badge { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* --- Handy --- */

/* --- Handy-Menü --- */

.mobile-nav { display: none; }
.menu-toggle {
    position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 50;
    width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
    border: 1.5px solid var(--ink); background: rgb(246 241 231 / .94); color: var(--ink); cursor: pointer;
    box-shadow: 0 2px 10px rgb(35 32 27 / .12);
}
.mobile-menu { position: fixed; inset: 0; z-index: 60; }
.mobile-menu-backdrop { position: absolute; inset: 0; background: rgb(35 32 27 / .35); animation: fade .2s; }
.mobile-menu-sheet {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); overflow-y: auto;
    display: flex; flex-direction: column; padding: calc(14px + env(safe-area-inset-top)) 24px 24px;
    background: var(--paper); border-left: 1.5px solid var(--ink); animation: slide-in .22s ease-out;
}
.mobile-menu-head { display: flex; justify-content: flex-end; margin-bottom: .8rem; }
.mobile-menu-head .round-btn { border: 1.5px solid var(--ink); flex: 0 0 auto; }
.mobile-menu-sheet > a { padding: .7rem 0; border-bottom: 1px dashed var(--line-dash); font: 400 1.6rem/1.2 var(--serif); text-decoration: none; }
.mobile-menu-sheet > a.active { color: var(--accent); }
.mobile-menu-sheet > a.small-link { font: 500 1.05rem var(--sans); padding: .75rem 0; }
.mobile-menu-group { margin: 1.8rem 0 .2rem; }
.mobile-menu-group { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--muted); }
html.menu-open { overflow: hidden; }
.mobile-menu-sheet:focus { outline: none; }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }

@media (max-width: 760px) {
    body { font-size: 16px; }
    .topbar { display: none; }
    .mobile-nav { display: block; }
    .container { padding: 1.2rem 16px 3rem; }
    /* Platz für den Menüknopf oben rechts */
    .container > .page-head, .container > .flash, .hero-text .eyebrow, .cook-head { padding-right: 56px; }
    .slider-overlay { justify-content: flex-start; gap: 10px; }
    .container:not(.flush-top) .deco-sheet { top: 64px; }
    .container.flush-top { padding-top: 0; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .home-grid { gap: 2rem; }
    .hero { gap: 2.2rem; margin-bottom: 2rem; }
    .deco-corner { right: -10px; top: -40px; width: 34px; height: 80px; }
    .hero-still { min-height: 140px; }
    .hero-still .deco { height: 110px; }
    .hero-still .deco:nth-child(2) { height: 130px; }
    .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .9rem; }
    .card-title { font-size: 1.1rem; }
    .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-line { min-width: 0; flex: 1 1 100%; }

    /* Rezept: Foto randlos, Blatt schiebt sich darüber */
    .slider { margin: 0 -16px; }
    .slides img { height: 340px; }
    .slider-overlay { display: flex; }
    .slider-arrow { display: none; }
    .slider-dots { bottom: 30px; }
    .slider-count { bottom: 26px; }
    .flush-top .recipe-sheet { margin: -16px -16px 0; padding: 1.6rem 16px 0; background: var(--paper); border-radius: 18px 18px 0 0; }
    .deco-sheet { right: 12px; top: 18px; width: 32px; height: 88px; }
    .recipe-head { padding: 0 2.8rem; }
    .recipe-head .display { font-size: 2.6rem; }
    .recipe-head .lead { font-size: 1.05rem; }
    /* Datum fürs Einplanen erst zeigen, wenn unten "Einplanen" angetippt wurde (#einplanen) */
    .actions { margin: 0; }
    .plan-form { display: none; }
    .plan-form:target { display: flex; width: 100%; margin-bottom: 1.6rem; padding: .8rem; background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius); }
    .plan-form:target input[type=date] { flex: 1; }
    .hide-mobile { display: none !important; }
    .only-mobile { display: flex; }
    .recipe-body { grid-template-columns: 1fr; gap: 1.6rem; }
    .steps .vignette { margin: 0 0 1.2rem; }
    .vignette .deco { width: 96px; height: 22px; }
    .has-bottombar .container { padding-bottom: 7rem; }
    .bottombar {
        display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
        padding: .8rem 16px calc(.9rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1.5px solid var(--ink);
    }
    .bottombar .btn { min-height: 52px; }

    .ingredient-row { grid-template-columns: 1fr 1fr; }
    .ingredient-row .f-name, .ingredient-row .f-note { grid-column: span 2; }
    .ingredient-row .row-tools { grid-column: span 2; justify-content: flex-end; }
    .step-row { grid-template-columns: 1.6rem 1fr; }
    .step-row .f-duration, .step-row .row-tools { grid-column: 2; }
    .step-row .f-duration { flex-direction: row; align-items: center; gap: .5rem; }
    .step-row .f-duration input { width: 6rem; }

    /* Kochmodus: Schritt-Navigation immer unten am Bildschirm */
    .cook-page .container { padding-bottom: 5rem; }
    .cook-head { margin-bottom: 1.2rem; }
    .is-cooking .cook-head h1 { font-size: 1.7rem; }
    .is-cooking .cook-head p { display: none; }
    .cook-clock { flex-direction: row; align-items: baseline; gap: .7rem; width: 100%; }
    .cook-clock .clock { font-size: 1.6rem; }
    .cook-clock .link-btn { margin-left: auto; }
    .step-progress { margin-bottom: 1rem; }
    .step-card { padding: 1.4rem 1.2rem; }
    .step-arrow { display: none; }
    .swipe-hint:not([hidden]) { display: flex; }
    .timer-strip:not([hidden]) {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; margin: 0;
        padding: .7rem 16px calc(.8rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1.5px solid var(--ink);
    }
    .ingredient-list .qty { flex-basis: 5.2rem; }
    .image-field { flex-direction: column; }

    /* Kategorienbaum: Zeile 1 Bild + Name, Zeile 2 Anzahl + Knöpfe */
    .cat-node { flex-wrap: wrap; row-gap: .3rem; }
    .cat-node > a.grow { flex: 1 1 calc(100% - 3.6rem); }
    .cat-node > .nowrap { margin-right: auto; }
    .cat-tree .cat-tree { margin-left: .6rem; padding-left: .6rem; }
}

/* --- Einladen --- */

.invite-share { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.2rem !important; }
.invite-share .btn.is-done { background: var(--success); border-color: var(--success); color: #fff; }
.invite-code-line .invite-code { font-size: 1.1rem; padding: .1rem .5rem; margin: 0 0 0 .3rem !important; letter-spacing: .15em; }

/* --- Bestätigungsdialog (ersetzt window.confirm) --- */

.modal {
    width: min(92vw, 420px); padding: 0; border: 1.5px solid var(--ink); border-radius: var(--radius);
    background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px rgb(35 32 27 / .25);
}
.modal[open] { animation: modal-in .18s ease-out; }
.modal::backdrop { background: rgb(35 32 27 / .4); animation: fade .18s; }
.modal-body { margin: 0; padding: 1.6rem 1.5rem 1.3rem; }
.modal-title { margin: 0 0 .5rem; font: 400 1.5rem/1.2 var(--serif); }
.modal-detail { margin: 0; color: var(--ink-2); }
.modal-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.btn-danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #8A2F1A; color: #fff; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (max-width: 760px) {
    .modal { margin: auto auto calc(16px + env(safe-area-inset-bottom)); }
    .modal-actions .btn { flex: 1; }
}

/* --- Anmelden & Registrieren --- */

.container.auth-main { max-width: none; padding: 0; }
.auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-welcome {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 1rem;
    padding: 4rem clamp(2rem, 6vw, 6rem); background: var(--paper-2); border-right: 1.5px solid var(--ink);
}
.auth-welcome .eyebrow { margin: 0; }
.auth-claim { margin: 0; font: 400 clamp(2.6rem, 4.6vw, 4.2rem)/1.02 var(--serif); letter-spacing: -.02em; max-width: 12ch; }
.auth-claim em { color: var(--accent); }
.auth-sub { margin: 0; font: italic 1.15rem/1.5 var(--serif); color: var(--ink-2); max-width: 38ch; }
.auth-art { position: relative; height: 300px; margin-top: 2rem; }
.auth-tile { position: absolute; width: 150px; aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: var(--radius); box-shadow: 0 1px 2px rgb(35 32 27 / .08), 0 12px 26px rgb(35 32 27 / .10); }
.auth-tile .cat-art { width: 76%; }
.tile-1 { left: 0; top: 10px; transform: rotate(-5deg); }
.tile-2 { left: 160px; top: 0; transform: rotate(3deg); }
.tile-3 { left: 330px; top: 30px; transform: rotate(-2deg); }
.tile-4 { left: 60px; top: 150px; transform: rotate(4deg); }
.tile-5 { left: 235px; top: 160px; transform: rotate(-4deg); }
.tile-6 { left: 410px; top: 170px; transform: rotate(2deg); }
.auth-deco { position: absolute; }
.auth-deco.deco-1 { right: -10px; top: -150px; width: 50px; height: 130px; transform: rotate(24deg); }
.auth-deco.deco-2 { left: -14px; bottom: -40px; width: 40px; height: 92px; transform: rotate(-18deg); }

.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(1.5rem, 6vw, 5.5rem); max-width: 560px; width: 100%; justify-self: center; }
.auth-panel h1 { margin: 0 0 .3rem; }
.auth-panel h1 em { color: var(--accent); }
.auth-lead { margin: 0 0 1.6rem; }
.auth-form input:not([type=checkbox]):not([type=radio]) { min-height: 52px; font-size: 1.05rem; }
.auth-form .grid-2.even { grid-template-columns: 1fr 1fr; }
.password-field { position: relative; }
.password-field input { padding-right: 6.5rem; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 .8rem; border: 0; border-radius: 4px; background: var(--paper-2); color: var(--ink); font: 700 .85rem var(--sans); cursor: pointer; }
.auth-alt { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px dashed var(--line-dash); }
.auth-alt p { margin: 0 0 .5rem; }
.auth-alt a { font-weight: 700; }

.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .9rem !important; }
.choice-card { position: relative; display: flex; align-items: center; min-height: 56px; padding: .6rem .9rem; border: 1.5px solid var(--line-dash); border-radius: var(--radius); background: var(--white); font-weight: 500; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card:has(input:checked) { border-color: var(--ink); background: var(--card); font-weight: 700; box-shadow: inset 0 0 0 1px var(--ink); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.family-choice { border: 0 !important; padding: 0 !important; }
.family-choice legend { font: 700 .92rem var(--sans) !important; padding: 0 0 .4rem !important; }

@media (max-width: 900px) {
    .auth { grid-template-columns: 1fr; min-height: 0; }
    .auth-welcome { padding: 2.2rem 20px 0; border-right: 0; border-bottom: 1.5px solid var(--ink); gap: .6rem; }
    .auth-claim { font-size: 2.3rem; }
    .auth-sub { font-size: 1rem; }
    .auth-art { height: 120px; margin: 1rem -20px 0; display: flex; gap: .6rem; overflow: hidden; padding: 0 20px; }
    .auth-tile { position: static; flex: 0 0 120px; transform: none !important; align-self: flex-start; }
    .auth-tile:nth-child(even) { margin-top: 18px; }
    .auth-deco { display: none; }
    .auth-panel { padding: 2rem 20px 3rem; }
    .auth-form .grid-2.even, .choice-cards { grid-template-columns: 1fr; }
}

/* Handy: Begrüßung nur als schmale Kopfleiste, damit das Formular sofort sichtbar ist */
@media (max-width: 600px) {
    .auth-welcome { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; padding: 1rem 16px; }
    .auth-welcome .eyebrow, .auth-sub { display: none; }
    .auth-claim { flex: 1 1 0; font-size: 1.45rem; line-height: 1.1; max-width: none; }
    .auth-art { flex: 0 0 auto; height: auto; margin: 0; padding: 0; gap: 0; overflow: visible; }
    .auth-tile { flex: 0 0 46px; width: 46px; box-shadow: 0 1px 3px rgb(35 32 27 / .15); margin-left: -10px; }
    .auth-tile:nth-child(even) { margin-top: 0; }
    .auth-tile:nth-child(1) { transform: rotate(-6deg) !important; }
    .auth-tile:nth-child(2) { transform: rotate(4deg) translateY(4px) !important; }
    .auth-tile:nth-child(3) { transform: rotate(-3deg) !important; }
    .auth-tile:nth-child(n+4) { display: none; }
    .auth-tile .cat-art { width: 86%; }
    .auth-panel { padding: 1.4rem 16px 2rem; }
    .auth-panel h1 { font-size: 1.9rem; }
    .auth-lead { margin-bottom: 1rem; font-size: .95rem; }
    .auth-form.stack { gap: .7rem; }
    .auth-form > div, .auth-form .grid-2 > div, .family-choice > div { margin: 0 !important; }
    .auth-form .grid-2.even { gap: .7rem; }
    .auth-form label { margin-bottom: .2rem; font-size: .88rem; }
    .family-choice legend { padding-bottom: .2rem !important; }
    .choice-cards { margin-bottom: .7rem !important; }
    .auth-form input:not([type=checkbox]):not([type=radio]) { min-height: 48px; }
    .auth-form .btn-big { min-height: 52px; font-size: 1.05rem; }
    .choice-cards { grid-template-columns: 1fr 1fr; }
    .choice-card { min-height: 48px; font-size: .9rem; padding: .5rem .7rem; }
    .auth-alt { margin-top: 1.2rem; padding-top: 1rem; }
}

/* --- Suche --- */

.spinner { flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-line input::-webkit-search-cancel-button { cursor: pointer; }
turbo-frame#recipe-results { display: block; transition: opacity .15s; }
turbo-frame#recipe-results[busy] { opacity: .5; }
