:root {
  color-scheme: light;
  --bg-1: #f4efe6;
  --bg-2: #e5efe7;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #17212b;
  --muted: #5a6672;
  --accent: #1f7a4d;
  --accent-2: #d85d2a;
  --border: rgba(23, 33, 43, 0.12);
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(31, 122, 77, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(216, 93, 42, 0.14), transparent 24%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
}

button,
input {
  font: inherit;
}

.shell {
  position: relative;
  width: min(1500px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.loading-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(245, 242, 235, 0.72);
  backdrop-filter: blur(10px);
}

.loading-card {
  width: min(420px, 100%);
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(23, 33, 43, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 80px rgba(23, 33, 43, 0.16);
  text-align: center;
}

.loading-card h2 {
  margin: 0.25rem 0 0.5rem;
  letter-spacing: -0.03em;
}

.loading-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.auth-modal.hidden {
  display: none;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 24, 0.68);
  backdrop-filter: blur(12px);
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 1.4rem;
  border: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 100px rgba(23, 33, 43, 0.24);
}

.auth-dialog h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.auth-copy {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.auth-field {
  display: grid;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(23, 33, 43, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
}

.auth-field input:focus {
  border-color: rgba(31, 122, 77, 0.6);
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.12);
}

.auth-error {
  min-height: 1.25rem;
  margin: 0;
  color: #a72e2e;
}

.auth-submit {
  width: 100%;
}

.loading-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 4px solid rgba(31, 122, 77, 0.15);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  padding: 1.15rem 0 0.7rem;
}

.hero-copy h1,
.panel h2,
.empty-state h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  max-width: 62ch;
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.plan-preview {
  width: 100%;
  display: grid;
  gap: 0.6rem;
  text-align: left;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(31, 122, 77, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 248, 240, 0.94));
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.plan-preview:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 122, 77, 0.38);
}

.plan-preview-content {
  display: block;
}

.plan-preview-grid {
  display: grid;
  gap: 0.55rem;
}

.plan-preview-sections {
  display: grid;
  gap: 0.75rem;
}

.plan-preview-section {
  display: grid;
  gap: 0.45rem;
}

.plan-preview-section-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.plan-preview-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
}

.plan-preview-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31, 122, 77, 0.12), rgba(216, 93, 42, 0.12));
}

.plan-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-preview-card-copy {
  display: grid;
  gap: 0.12rem;
}

.plan-preview-card-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.plan-preview-card-copy strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.plan-preview-empty {
  min-height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.35rem 0.2rem;
}

.plan-button {
  border: 1px solid rgba(31, 122, 77, 0.22);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(31, 122, 77, 0.14), rgba(216, 93, 42, 0.14));
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}

.plan-button:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 122, 77, 0.38);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
  max-height: calc(100vh - 2rem);
}

.detail {
  min-width: 0;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.search-panel,
.list-panel,
.recipe-detail,
.empty-state {
  padding: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  background: var(--panel-strong);
  color: var(--text);
}

.field input:focus {
  outline: 2px solid rgba(31, 122, 77, 0.25);
  border-color: rgba(31, 122, 77, 0.5);
}

.filter-group {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.filter-heading > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
  cursor: pointer;
  font-size: 0.82rem;
}

.link-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.chip:hover,
.chip.active {
  transform: translateY(-1px);
  border-color: rgba(31, 122, 77, 0.35);
  background: rgba(31, 122, 77, 0.1);
  color: var(--accent);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.recipe-list {
  display: grid;
  gap: 0.65rem;
  max-height: calc(100vh - 17rem);
  overflow: auto;
  padding-right: 0.15rem;
}

.recipe-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.66);
  transition: transform 0.15s ease, border-color 0.15s ease,
    background 0.15s ease, box-shadow 0.15s ease;
  text-align: left;
}

.recipe-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(23, 33, 43, 0.08);
}

.recipe-card.active {
  border-color: rgba(31, 122, 77, 0.35);
  background: rgba(31, 122, 77, 0.08);
}

.thumb {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31, 122, 77, 0.15), rgba(216, 93, 42, 0.16));
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.2;
}

.card-copy {
  text-align: left;
}

.recipe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.recipe-detail {
  display: grid;
  gap: 1.1rem;
}

.detail-topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.detail-close {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23, 33, 43, 0.06);
}

.detail-close:hover {
  border-color: rgba(31, 122, 77, 0.35);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.detail-copy {
  display: grid;
  gap: 0.85rem;
  padding: 0.4rem 0.2rem 0.2rem;
}

.detail-copy h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin-bottom: 0.6rem;
}

.summary {
  color: var(--muted);
  line-height: 1.7;
  margin: 0.5rem 0 0;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.meta-card {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.meta-card .label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.meta-card .value {
  display: block;
  font-weight: 650;
  line-height: 1.35;
}

.multiplier-section {
  margin-top: 0;
  display: grid;
  gap: 0.45rem;
}

.multiplier-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.multiplier-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.multiplier-chip {
  min-width: 4.2rem;
  justify-content: center;
}

.multiplier-note {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.multiplier-note em {
  font-style: inherit;
  color: var(--text);
}

.meal-plan-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.meal-plan-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 23, 0.48);
  backdrop-filter: blur(6px);
}

.meal-plan-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 90px rgba(23, 33, 43, 0.24);
}

.meal-plan-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  padding-right: 2.2rem;
}

.meal-plan-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(23, 33, 43, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(23, 33, 43, 0.08);
}

.meal-plan-close:hover {
  border-color: rgba(31, 122, 77, 0.35);
}

.meal-plan-form {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.meal-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.meal-plan-field {
  display: grid;
  gap: 0.4rem;
}

.meal-plan-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meal-plan-field input {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  background: var(--panel-strong);
}

.meal-plan-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.meal-plan-results {
  display: grid;
  gap: 1rem;
}

.meal-plan-section {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.meal-plan-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.meal-plan-section-head h3 {
  margin: 0;
}

.meal-plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.meal-plan-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  text-align: left;
}

.meal-plan-card-open {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
  min-height: 100%;
  padding: 0.85rem 2.85rem 0.85rem 0.85rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.meal-plan-card:hover {
  border-color: rgba(31, 122, 77, 0.35);
}

.meal-plan-card-reroll {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(23, 33, 43, 0.12);
}

.meal-plan-card-reroll:hover {
  border-color: rgba(31, 122, 77, 0.35);
  transform: translateY(-1px);
}

.meal-plan-card-thumb {
  min-height: 88px;
  background: linear-gradient(135deg, rgba(31, 122, 77, 0.12), rgba(216, 93, 42, 0.12));
}

.meal-plan-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meal-plan-card-copy {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem 0.7rem 0;
}

.meal-plan-card-copy strong {
  font-size: 0.92rem;
}

.meal-plan-card-copy span {
  color: var(--text);
  line-height: 1.35;
  font-size: 1rem;
  font-weight: 700;
}

.meal-plan-card-copy small,
.meal-plan-warning {
  color: var(--muted);
}

.meal-plan-card-copy small {
  line-height: 1.45;
}

.meal-plan-warning {
  font-style: italic;
}

.meal-plan-card-empty {
  padding: 0.85rem;
}

.hero-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(31, 122, 77, 0.14), rgba(216, 93, 42, 0.16));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image .overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(15, 20, 25, 0.72), rgba(15, 20, 25, 0));
  color: white;
}

.section {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.4rem;
}

.section h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.stack {
  display: grid;
  gap: 0.65rem;
}

.list-block,
.rich-block {
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.ingredients,
.instructions {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.ingredients {
  list-style: none;
  padding-left: 0;
}

.ingredients li,
.instructions li {
  line-height: 1.55;
}

.ingredient-item {
  display: block;
}

.ingredient-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
}

.ingredient-check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.ingredient-text {
  flex: 1;
  display: grid;
  gap: 0.1rem;
}

.ingredient-original {
  display: block;
  font-style: italic;
  color: var(--muted);
  font-size: 0.92rem;
}

.ingredient-scaled {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.ingredient-check input:checked ~ .ingredient-text .ingredient-original,
.ingredient-check input:checked ~ .ingredient-text .ingredient-scaled {
  text-decoration: line-through;
  color: var(--muted);
}

.instruction-item {
  display: block;
}

.instruction-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
}

.instruction-check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.instruction-text {
  flex: 1;
}

.instruction-check input:checked + .instruction-text {
  text-decoration: line-through;
  color: var(--muted);
}

.text-block {
  color: var(--muted);
  line-height: 1.7;
}

.nutrition-grid,
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nutrition-item,
.tag-item {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(23, 33, 43, 0.06);
  color: var(--text);
  font-size: 0.88rem;
}

.hidden {
  display: none;
}

body.is-loading {
  overflow: hidden;
}

body.auth-locked {
  overflow: hidden;
}

body.auth-locked .shell {
  filter: blur(6px) saturate(0.8);
  pointer-events: none;
  user-select: none;
}

body.meal-plan-open {
  overflow: hidden;
}

html.auth-remembered .auth-modal {
  display: none;
}

@media (max-width: 720px) {
  .plan-preview {
    width: 100%;
  }

  .meal-plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .meal-plan-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .meal-plan-card-open {
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  }

  .meal-plan-dialog {
    max-height: 96vh;
    padding: 0.85rem;
  }

  .meal-plan-header {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 0;
    padding-top: 0.15rem;
  }

  .meal-plan-close {
    top: 0.2rem;
    right: 0.2rem;
  }

  body.recipe-open-mobile .hero,
  body.recipe-open-mobile .sidebar,
  body.recipe-open-mobile #resultsPanel {
    display: none;
  }

  body.recipe-open-mobile .layout {
    grid-template-columns: 1fr;
  }

  body.recipe-open-mobile .detail {
    display: block;
  }
}

.empty-state {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 0.55rem;
  text-align: center;
}

@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    max-height: none;
  }

  .recipe-list {
    max-height: none;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1201px) {
  .detail-close {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100vw - 1rem, 100%);
  }

  .hero {
    flex-direction: column;
    align-items: start;
  }

  .hero-stats {
    width: 100%;
    justify-items: stretch;
  }

  .plan-preview {
    width: 100%;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .recipe-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .thumb {
    width: 70px;
    height: 70px;
  }

  .detail-close {
    width: 100%;
    justify-content: center;
  }
}
