/* Pasta Defteri — ortak stiller. Tokenlar: css/tokens.css, kararlar: DESIGN.md */

@view-transition { navigation: auto; }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--canvas);
  color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 3.4vw + 16px, 56px); }
h2 { font-size: var(--t-2xl); }
p, li { text-wrap: pretty; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.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;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-full);
  background: var(--primary-bg); color: var(--on-primary); font-weight: 600;
  translate: 0 -150%; transition: translate var(--dur-2) var(--ease-out);
}
.skip-link:focus { translate: 0 0; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(1.5) blur(16px);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2);
}
.site-header[data-scrolled] { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-2); height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-family: var(--font-brand); font-weight: 700; font-size: 27px; letter-spacing: -0.01em; line-height: 1;
  color: var(--ink); border-radius: var(--r-sm);
}
.brand img { height: 44px; width: auto; }
.brand--lg { font-size: 32px; }
.brand--lg img { height: 52px; }
@media (max-width: 380px) { .brand { font-size: 23px; } .brand img { height: 38px; } }

.nav { display: none; gap: 2px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 14px; border-radius: var(--r-full);
  color: var(--ink-2); font-weight: 500; font-size: var(--t-sm); white-space: nowrap;
  transition: background-color var(--dur-1), color var(--dur-1);
}
.nav__link:hover { background: var(--sugar); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); background: var(--sugar); }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.header-actions .header-notebook { display: none; }

.search-trigger {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--r-full);
  background: transparent; color: var(--ink);
  transition: background-color var(--dur-1), border-color var(--dur-1);
}
.search-trigger:hover { background: var(--sugar); }
.search-trigger .icon { width: 22px; height: 22px; }
.search-trigger__text { display: none; }

.subnav { border-bottom: 1px solid var(--line); }
.subnav__track {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--gutter) 10px;
}
.subnav__track::-webkit-scrollbar { display: none; }
.subnav .nav__link { flex: none; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header-actions { margin-left: var(--s-3); }
  .header-actions .header-notebook { display: inline-grid; }
  .subnav { display: none; }
}

.count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full);
  background: var(--accent); color: #fff;
  font: 700 12px/20px var(--font-body); text-align: center; font-variant-numeric: tabular-nums;
}
.count[hidden] { display: none; }

/* ---------- Butonlar ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--btn-h); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-full);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition-property: background-color, border-color, color, box-shadow, scale;
  transition-duration: var(--dur-1);
  transition-timing-function: var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 20px; height: 20px; margin-left: -3px; }
.btn .icon:last-child:not(:first-child) { margin-left: 0; margin-right: -3px; }
.btn:active:not(:disabled, [aria-disabled="true"]) { scale: .97; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn--primary {
  background: var(--primary-bg); color: var(--on-primary);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 22px -10px rgb(105 18 196 / .7);
}
.btn--primary:hover:not(:disabled) { background: var(--primary-bg-hover); }
.btn--secondary { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover:not(:disabled) { border-color: var(--ink-2); }
.btn--quiet { background: transparent; color: var(--primary); padding-inline: 14px; }
.btn--quiet:hover:not(:disabled) { background: var(--sugar); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: #F3EBFD; }
.btn--sm { --btn-h: 40px; padding: 0 16px; font-size: var(--t-sm); }
.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[aria-pressed="true"].btn--save {
  color: var(--accent);
  border-color: color-mix(in oklab, var(--accent) 45%, transparent);
  background: color-mix(in oklab, var(--accent) 8%, var(--paper));
}
.btn[aria-pressed="true"].btn--save .icon { fill: currentColor; }
.btn[data-loading] { position: relative; color: transparent; pointer-events: none; }
.btn[data-loading]::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid var(--on-primary); border-right-color: transparent;
  animation: spin .7s linear infinite;
}

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: var(--r-full);
  border: 0; background: transparent; color: var(--ink);
  transition-property: background-color, color, scale, opacity;
  transition-duration: var(--dur-1);
  transition-timing-function: var(--ease-out);
}
.icon-btn:hover { background: var(--sugar); }
.icon-btn:active { scale: .92; }
.icon-btn:disabled { opacity: .35; cursor: default; scale: 1; }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn .count { position: absolute; top: 2px; right: 0; }
.icon-btn--surface { background: var(--paper); box-shadow: var(--shadow-1); }
.icon-btn--surface:hover:not(:disabled) { background: var(--paper); color: var(--primary); }
.icon-btn[aria-pressed="true"] { color: var(--accent); }
.icon-btn[aria-pressed="true"] .icon { fill: currentColor; animation: pop var(--dur-3) var(--ease-spring); }

/* ---------- Form öğeleri ---------- */
.search-pill {
  display: flex; align-items: center; gap: 12px; width: 100%;
  height: 60px; padding: 0 20px;
  border-radius: var(--r-full); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-3); box-shadow: var(--shadow-2);
  font-size: 17px; text-align: left;
  transition: border-color var(--dur-1), box-shadow var(--dur-2);
}
.search-pill:hover { border-color: var(--line-strong); }
.search-pill .icon { color: var(--ink-2); width: 22px; height: 22px; }
.search-pill { min-width: 0; }
.search-pill span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.field { display: grid; gap: 6px; }
.field__label { font-weight: 600; font-size: var(--t-sm); }
.field__hint { font-size: var(--t-xs); color: var(--ink-2); }
.field__error { font-size: var(--t-xs); color: var(--danger); font-weight: 600; }
.input, .select {
  height: 48px; padding: 0 16px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--paper);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.input::placeholder { color: var(--ink-3); }
.input:focus, .select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--focus) 24%, transparent);
}
.input[aria-invalid="true"] { border-color: var(--danger); }
.select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A6890' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.check {
  appearance: none; flex: none;
  width: 24px; height: 24px; margin: 0;
  display: inline-grid; place-items: center;
  border-radius: 8px; border: 2px solid var(--line-strong); background: var(--paper);
  cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1);
}
.check::after {
  content: ""; width: 11px; height: 6px;
  border: 2.5px solid #fff; border-top: 0; border-right: 0;
  rotate: -45deg; translate: 0 -1px; scale: 0;
  transition: scale var(--dur-2) var(--ease-spring);
}
.check:checked { background: var(--primary-bg); border-color: var(--primary-bg); }
.check:checked::after { scale: 1; }
.switch {
  appearance: none; flex: none; position: relative;
  width: 48px; height: 28px; margin: 0; border-radius: var(--r-full);
  background: var(--line-strong); cursor: pointer;
  transition: background-color var(--dur-2);
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / .25);
  transition: translate var(--dur-2) var(--ease-spring);
}
.switch:checked { background: var(--primary-bg); }
.switch:checked::after { translate: 20px 0; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }

.stepper {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px; border-radius: var(--r-full); background: var(--sugar);
}
.stepper button {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-full);
  border: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1);
  transition: scale var(--dur-1) var(--ease-out), opacity var(--dur-1);
}
.stepper button:active:not(:disabled) { scale: .9; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper button .icon { width: 18px; height: 18px; }
.stepper output { min-width: 84px; text-align: center; font-weight: 700; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }

/* ---------- Çip, etiket, meta ---------- */
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 40px; padding: 0 16px; border-radius: var(--r-full);
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
  font-weight: 500; font-size: var(--t-sm); white-space: nowrap;
  transition-property: background-color, border-color, color, scale;
  transition-duration: var(--dur-1);
}
.chip:hover { border-color: var(--ink-2); }
.chip:active { scale: .96; }
.chip--lg { height: 48px; padding: 0 20px; font-size: var(--t-md); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.meta { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.meta .icon { width: 18px; height: 18px; }
.level { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.level i { width: 4px; border-radius: 2px; background: currentColor; opacity: .25; }
.level i:nth-child(1) { height: 6px; }
.level i:nth-child(2) { height: 10px; }
.level i:nth-child(3) { height: 14px; }
.level[data-level="1"] i:nth-child(-n+1),
.level[data-level="2"] i:nth-child(-n+2),
.level[data-level="3"] i:nth-child(-n+3) { opacity: 1; }
.tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: var(--r-xs); background: var(--sugar); color: var(--primary);
  font-weight: 600; font-size: var(--t-xs);
}
.tag--sunset { background: var(--sunset); color: var(--night); }

/* ---------- Tarif kartı ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; }
.card__link { display: grid; gap: 10px; border-radius: var(--r-lg); outline-offset: 4px; }
.card__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--r-lg);
  background: var(--sugar);
}
.card__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(31 10 58 / .06);
  pointer-events: none;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out); }
@media (hover: hover) {
  .card__link:hover .card__media img { scale: 1.04; }
  .card__link:hover .card__title { color: var(--primary); }
}
.card__title { font-size: 18px; line-height: 1.2; transition: color var(--dur-1); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card__save { position: absolute; top: 10px; right: 10px; }

.grid {
  display: grid; gap: var(--s-6) var(--s-3);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr));
}
@media (max-width: 599px) {
  .grid .card__title { font-size: 16px; }
  .grid .card__meta .meta { font-size: 13px; }
  .grid .card__save { top: 6px; right: 6px; width: 40px; height: 40px; }
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-4); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); } }

/* ---------- Kaydırmalı liste (kategori satırı) ---------- */
.rail { padding-block: var(--s-6); }
.rail + .rail { padding-top: var(--s-4); }
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.rail__text { flex: 1; min-width: 0; }
.rail__title { font-size: var(--t-2xl); overflow-wrap: break-word; }
@media (max-width: 380px) { .rail__title { font-size: 22px; } }
.rail__title a:hover { color: var(--primary); }
.rail__intro { margin-top: 6px; color: var(--ink-2); font-size: var(--t-sm); max-width: 62ch; }
.rail__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.rail__arrow { display: none; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72%, 300px); gap: var(--s-3);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 8px;
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
@media (max-width: 599px) {
  .rail__head { align-items: center; }
  .rail__intro { display: none; }
  .rail__actions .btn { padding-inline: 14px; }
}
@media (min-width: 600px) { .rail__track { grid-auto-columns: calc((100% - 2 * var(--gutter) - 2 * var(--s-4)) / 2.6); gap: var(--s-4); } }
@media (min-width: 900px) {
  .rail__arrow { display: inline-grid; }
  .rail__track {
    width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; padding-inline: 0;
    scroll-padding-inline: 0;
    grid-auto-columns: calc((100% - 3 * var(--s-5)) / 4); gap: var(--s-5);
  }
}

/* ---------- Bölümler, sayfa başı ---------- */
.section { padding-block: var(--s-7); }
.section--tight { padding-top: var(--s-4); }
.section__title { font-size: var(--t-xl); margin-bottom: var(--s-4); }
.page-head { padding-block: var(--s-5) var(--s-3); }
.page-head h1 { margin-top: var(--s-3); }
.page-head__lead { margin-top: var(--s-3); font-size: var(--t-lg); color: var(--ink-2); max-width: 60ch; }
.page-head__count { margin-top: var(--s-2); color: var(--ink-2); font-size: var(--t-sm); font-weight: 600; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: var(--t-sm); color: var(--ink-2); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-3); }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

.empty {
  display: grid; justify-items: start; gap: var(--s-3);
  padding: var(--s-7) var(--s-6); border-radius: var(--r-xl);
  background: var(--paper); border: 1px dashed var(--line-strong);
}
.empty[hidden] { display: none; }
.empty__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sugar); color: var(--primary); }
.empty__icon .icon { width: 26px; height: 26px; }
.empty h2, .empty h3 { font-size: var(--t-xl); }
.empty p { color: var(--ink-2); max-width: 52ch; }

.about h2 { max-width: 20ch; }
.about__cols { display: grid; gap: var(--s-4); margin-top: var(--s-4); color: var(--ink-2); }
@media (min-width: 900px) { .about__cols { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }

/* ---------- Ana sayfa: hero ---------- */
.hero { padding-block: clamp(16px, 3vw, 48px) var(--s-5); overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; padding-bottom: var(--s-6); }
.hero__title { font-size: var(--t-3xl); font-weight: 650; line-height: 1.02; letter-spacing: -0.035em; max-width: 12ch; }
.hero__lead { margin-top: var(--s-4); font-size: var(--t-lg); color: var(--ink-2); max-width: 46ch; }
.hero__search { margin-top: var(--s-6); max-width: 580px; }
.hero__quick { margin-top: var(--s-4); }

.showcase {
  position: relative; justify-self: center;
  display: grid; place-items: center;
  width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%;
}
.showcase__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--violet-conic);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 calc(100% - 23px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 calc(100% - 23px));
  animation: ring-in 1200ms var(--ease-out) both;
}
.showcase__ring--sunset {
  inset: 9%;
  background: var(--sunset-conic);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  animation: ring-in-rev 1200ms 80ms var(--ease-out) both;
}
.showcase__photo {
  width: 70%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 24px 40px -16px rgb(31 10 58 / .45);
  animation: art-in 900ms 200ms var(--ease-out) both;
}
.showcase__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 800ms var(--ease-out); }
.showcase:hover .showcase__photo img { scale: 1.05; }
.showcase__card {
  position: absolute; left: 0; right: 0; bottom: -6%; margin-inline: auto; width: max-content; max-width: 90%;
  display: grid; gap: 2px;
  padding: 14px 18px 14px 16px;
  border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-2);
  animation: card-in 700ms 500ms var(--ease-out) both;
  transition: translate var(--dur-2) var(--ease-out);
}
.showcase:hover .showcase__card { translate: 0 -3px; }
.showcase__kicker { font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
.showcase__title { font: 600 var(--t-lg)/1.2 var(--font-display); letter-spacing: -0.02em; }
.showcase__meta { display: flex; gap: 14px; margin-top: 4px; }
@supports (animation-timeline: scroll()) {
  .showcase__ring { animation: ring-in 1200ms var(--ease-out) both, spin-scroll linear both; animation-timeline: auto, scroll(root); }
  .showcase__ring--sunset { animation: ring-in-rev 1200ms 80ms var(--ease-out) both, spin-scroll-rev linear both; animation-timeline: auto, scroll(root); }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .showcase__card { left: -6%; right: auto; bottom: 6%; }
}

/* ---------- Mutfak modu bandı ---------- */
.band {
  position: relative; overflow: hidden;
  display: grid; gap: var(--s-6); align-items: center;
  padding: clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--night); color: var(--on-night);
}
.band h2 { color: #fff; max-width: 16ch; }
.band p { color: var(--on-night-2); max-width: 46ch; margin-top: var(--s-4); }
.band__list { display: grid; gap: 10px; margin-top: var(--s-5); }
.band__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-night); }
.band__list .icon { width: 22px; height: 22px; color: var(--brand-violet-300); margin-top: 2px; }
.band .btn { margin-top: var(--s-6); }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; } }
.kitchen-preview {
  border-radius: 30px; padding: 22px;
  background: #110720; border: 1px solid rgb(255 255 255 / .08);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
  display: grid; gap: 18px; max-width: 420px; justify-self: center; width: 100%;
}
.kitchen-preview__bar { height: 6px; border-radius: 99px; background: rgb(255 255 255 / .1); overflow: hidden; }
.kitchen-preview__bar span { display: block; width: 62%; height: 100%; background: var(--sunset); border-radius: inherit; }
.kitchen-preview__count { font-size: var(--t-sm); color: var(--on-night-2); font-weight: 600; }
.kitchen-preview__text { font-size: clamp(20px, 2vw + 12px, 26px); line-height: 1.35; font-weight: 500; color: #fff; }
.kitchen-preview__row { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.kitchen-preview__row span { display: grid; place-items: center; height: 52px; border-radius: 99px; background: rgb(255 255 255 / .08); color: var(--on-night); font-weight: 600; }
.kitchen-preview__row span:last-child { background: var(--primary-bg); color: #fff; }

/* ---------- Kurumsal altbilgi ---------- */
.site-footer {
  margin-top: var(--s-8);
  padding-block: var(--s-8) var(--s-6);
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: var(--t-sm);
}
.footer-grid { display: grid; gap: var(--s-7) var(--s-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; display: grid; gap: var(--s-4); justify-items: start; max-width: 420px; }
.footer-brand p { line-height: 1.6; }
.footer-col__title { font-weight: 700; color: var(--ink); margin-bottom: var(--s-2); font-size: var(--t-sm); }
.footer-col ul { display: grid; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); transition: color var(--dur-1); }
.footer-col a:hover { color: var(--primary); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social__link {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sugar); color: var(--ink);
  transition: background-color var(--dur-1), color var(--dur-1), scale var(--dur-1);
}
.social__link:hover { background: var(--primary-bg); color: #fff; }
.social__link:active { scale: .92; }
.social__link .icon { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line);
  font-size: var(--t-xs);
}
.footer-bottom a { color: var(--primary); font-weight: 600; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Alt sekme çubuğu ve eylem çubuğu (mobil) ---------- */
.tabbar, .actionbar {
  position: fixed; z-index: 50;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 6px; border-radius: var(--r-full);
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.tabbar { display: grid; grid-template-columns: repeat(3, 1fr); height: 66px; }
.tabbar__item {
  position: relative;
  display: grid; place-items: center; align-content: center; gap: 2px;
  border: 0; background: none; border-radius: var(--r-full);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  transition: background-color var(--dur-1), color var(--dur-1);
}
.tabbar__item .icon { width: 22px; height: 22px; }
.tabbar__item[aria-current="page"] { color: var(--primary); background: var(--sugar); }
.tabbar__item .count { position: absolute; top: 4px; left: calc(50% + 6px); }
.actionbar { display: flex; gap: 6px; container-type: inline-size; }
.actionbar .btn { flex: 1; min-width: 0; height: 52px; padding-inline: 14px; }
.actionbar .icon-btn { width: 52px; height: 52px; }
@container (max-width: 330px) { .actionbar [data-share] { display: none; } }
.has-bar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .tabbar, .actionbar { display: none; }
  .has-bar { padding-bottom: 0; }
}

/* ---------- Arama penceresi ---------- */
.search-modal {
  width: min(680px, 100% - 24px); max-width: none; max-height: min(720px, 100dvh - 48px);
  margin: 24px auto auto; padding: 0;
  border: 0; border-radius: var(--r-xl);
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-2);
  overflow: hidden;
  opacity: 0; translate: 0 -12px;
  transition: opacity var(--dur-2), translate var(--dur-3) var(--ease-out),
              overlay var(--dur-3) allow-discrete, display var(--dur-3) allow-discrete;
}
.search-modal[open] { display: grid; grid-template-rows: auto 1fr; opacity: 1; translate: 0 0; }
@starting-style { .search-modal[open] { opacity: 0; translate: 0 -12px; } }
.search-modal::backdrop { background: rgb(17 7 32 / .45); backdrop-filter: blur(3px); }
.search-modal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line);
}
.search-modal__bar > .icon { width: 22px; height: 22px; color: var(--ink-2); }
.search-modal__bar input {
  flex: 1; min-width: 0; height: 52px; padding: 0 6px;
  border: 0; background: transparent; outline: none; font-size: 18px;
}
.search-modal__bar input::placeholder { color: var(--ink-3); }
.search-modal__bar input::-webkit-search-cancel-button { display: none; }
.search-modal__body { overflow-y: auto; padding: var(--s-3) var(--s-3) var(--s-5); overscroll-behavior: contain; }
.search-modal__status { padding: 6px 8px; font-size: var(--t-sm); color: var(--ink-2); }
.search-modal__status:empty { display: none; }
.search-modal__label { padding: var(--s-3) 8px var(--s-2); font-size: var(--t-sm); font-weight: 700; color: var(--ink-2); }
.search-modal__start .quick { padding: 0 8px; }
.search-modal__start[hidden] { display: none; }
.search-results { display: grid; gap: 2px; }
.search-result {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center;
  padding: 8px; border-radius: var(--r-md);
  transition: background-color var(--dur-1);
}
.search-result:hover, .search-result:focus-visible { background: var(--sugar); outline: none; }
.search-result:focus-visible { box-shadow: inset 0 0 0 2px var(--focus); }
.search-result img { width: 72px; height: 54px; border-radius: var(--r-sm); object-fit: cover; background: var(--sugar); }
.search-result__text { display: grid; }
.search-result__title { font-weight: 700; line-height: 1.25; }
.search-result__title mark, .search-result__note mark { background: color-mix(in oklab, var(--brand-lemon) 55%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.search-result__meta { font-size: var(--t-xs); color: var(--ink-2); margin-top: 2px; }
.search-result__note { font-size: var(--t-xs); color: var(--ink); margin-top: 2px; }
@media (max-width: 599px) {
  .search-modal { width: 100%; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
}

/* ---------- Bildirim ---------- */
.toast-region {
  position: fixed; z-index: 80;
  left: 50%; translate: -50% 0;
  top: calc(var(--header-h) + 8px);
  display: grid; gap: 8px; width: min(100% - 24px, 440px);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 8px 8px 8px 18px;
  border-radius: var(--r-lg); background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-2); font-size: var(--t-sm); font-weight: 500;
  animation: toast-in var(--dur-3) var(--ease-out);
  transition: opacity var(--dur-2), translate var(--dur-2) var(--ease-out);
}
.toast > span { flex: 1; }
.toast .btn--quiet { color: color-mix(in oklab, var(--brand-violet-300) 70%, var(--paper)); height: 40px; }
.toast .btn--quiet:hover { background: color-mix(in oklab, var(--paper) 12%, transparent); }
.toast[data-leaving] { opacity: 0; translate: 0 -6px; }
@media (min-width: 900px) {
  .toast-region { top: auto; bottom: 28px; }
  .toast[data-leaving] { translate: 0 6px; }
}

/* ---------- Zamanlayıcı ---------- */
.timer-dock {
  position: fixed; z-index: 60;
  right: 12px; bottom: calc(92px + env(safe-area-inset-bottom));
  display: grid; gap: 8px; justify-items: end;
}
.timer-dock[hidden] { display: none; }
@media (min-width: 900px) { .timer-dock { right: 28px; bottom: 28px; } }
.timer {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 4px 5px 5px;
  border-radius: var(--r-full); background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-2);
  animation: pop-in var(--dur-3) var(--ease-spring);
}
.timer__toggle {
  --p: 0;
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: inherit;
}
.timer__toggle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--brand-mango) calc(var(--p) * 1turn), color-mix(in oklab, var(--paper) 18%, transparent) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}
.timer__toggle .icon { width: 18px; height: 18px; }
.timer__text { display: grid; line-height: 1.15; min-width: 72px; }
.timer__time { font-weight: 700; font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.timer__label { font-size: 12px; opacity: .75; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timer .icon-btn { color: inherit; width: 40px; height: 40px; }
.timer .icon-btn:hover { background: color-mix(in oklab, var(--paper) 14%, transparent); }
.timer[data-done] { background: var(--accent); color: #fff; animation: nudge 600ms var(--ease-out) 3; }
.timer[data-done] .timer__toggle::before { background: #fff; }

/* ---------- İpucu kutusu ---------- */
.callout {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: var(--s-7); padding: 18px 20px; border-radius: var(--r-lg);
  background: light-dark(color-mix(in oklab, #FFE23D 22%, #FFFFFF), color-mix(in oklab, #FFE23D 9%, #1A0C2D));
}
.callout > .icon { width: 24px; height: 24px; color: var(--warning); margin-top: 1px; }
.callout__title { font: 700 var(--t-md)/1.3 var(--font-body); letter-spacing: 0; margin-bottom: 2px; }

/* ---------- Tarif sayfası ---------- */
.recipe .breadcrumb { padding-top: var(--s-5); }
.recipe-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: center; padding-block: var(--s-4) var(--s-7); }
.recipe-hero__media { margin: 0 calc(-1 * var(--gutter)); }
.recipe-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; view-transition-name: recipe-photo; }
.recipe-hero__cat { font-weight: 600; color: var(--primary); }
.recipe-hero__cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.recipe-hero h1 { font-size: clamp(30px, 3.6vw + 14px, 56px); margin-top: var(--s-2); }
.recipe-hero__summary { font-size: var(--t-lg); color: var(--ink-2); margin-top: var(--s-4); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: var(--s-5); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.fact { display: grid; gap: 2px; padding: 14px 16px; background: var(--paper); }
.fact dt { display: flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--ink-2); font-weight: 600; }
.fact dt .icon { width: 16px; height: 16px; }
.fact dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.recipe-hero__rest { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.recipe-hero__rest .icon { width: 18px; height: 18px; }
.recipe-hero__actions { display: none; flex-wrap: wrap; gap: 10px; margin-top: var(--s-5); }
@media (min-width: 600px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .recipe-hero__media { margin: 0; }
  .recipe-hero__media img { border-radius: var(--r-xl); }
}
@media (min-width: 900px) {
  .recipe-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); }
  .recipe-hero__actions { display: flex; }
}
.recipe-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
@media (min-width: 900px) {
  .recipe-body { grid-template-columns: minmax(320px, .8fr) 1.2fr; gap: var(--s-7); }
  .recipe-body__aside { position: sticky; top: calc(var(--header-h) + 16px); }
}
.recipe-steps > h2 { font-size: var(--t-2xl); margin-bottom: var(--s-5); }
.panel { padding: var(--s-5); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow-1); }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }
.panel h2 { font-size: var(--t-xl); }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-2); }
.scale-note { font-size: var(--t-xs); color: var(--warning); font-weight: 600; margin-bottom: var(--s-3); }
.scale-note[hidden] { display: none; }
.ing-group + .ing-group { margin-top: var(--s-5); }
.ing-group h3 { font: 700 var(--t-sm)/1.3 var(--font-body); letter-spacing: 0; color: var(--ink-2); margin-bottom: 4px; }
.ingredient { display: flex; align-items: flex-start; gap: 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
li:last-child > .ingredient { border-bottom: 0; }
.ingredient .check { margin-top: 1px; }
.ingredient__text { transition: color var(--dur-2); }
.ingredient__qty { font-weight: 700; font-variant-numeric: tabular-nums; }
.ingredient:has(.check:checked) .ingredient__text {
  color: var(--ink-3); text-decoration: line-through;
  text-decoration-color: color-mix(in oklab, var(--ink-3) 70%, transparent);
}
.steps { display: grid; gap: var(--s-6); }
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); scroll-margin-top: calc(var(--header-h) + 24px); }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 19.5px; top: 48px; bottom: calc(-1 * var(--s-6) + 8px);
  width: 1px; background: var(--line);
}
.step__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sugar); color: var(--primary);
  font: 600 16px/1 var(--font-display); font-variant-numeric: tabular-nums;
}
.step__text { padding-top: 7px; }
.step__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.recipe + .rail { margin-top: var(--s-6); }

/* ---------- Mutfak modu ---------- */
.kitchen {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--canvas); color: var(--ink);
  opacity: 0; translate: 0 24px;
  transition: opacity var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out),
              overlay var(--dur-3) allow-discrete, display var(--dur-3) allow-discrete;
}
.kitchen[open] { display: grid; grid-template-rows: auto 1fr auto; opacity: 1; translate: 0 0; }
@starting-style { .kitchen[open] { opacity: 0; translate: 0 24px; } }
.kitchen::backdrop { background: rgb(17 7 32 / .5); }
.kitchen__top { display: flex; align-items: center; gap: var(--s-3); padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 10px; }
.kitchen__progress { flex: 1; height: 6px; border-radius: 99px; background: var(--sugar); overflow: hidden; }
.kitchen__bar { --p: 0; height: 100%; width: calc(var(--p) * 100%); background: var(--sunset); border-radius: inherit; transition: width var(--dur-3) var(--ease-out); }
.kitchen__stage {
  display: grid; align-content: center; gap: var(--s-4);
  width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto;
  padding-block: var(--s-6); overflow-y: auto; touch-action: pan-y;
}
.kitchen__count { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kitchen__title { font: 600 var(--t-sm)/1.3 var(--font-body); color: var(--primary); }
.kitchen__text { font-size: clamp(26px, 3.2vw + 14px, 46px); line-height: 1.32; font-weight: 500; text-wrap: pretty; }
.kitchen__step[data-dir="next"] { animation: step-next var(--dur-3) var(--ease-out); }
.kitchen__step[data-dir="prev"] { animation: step-prev var(--dur-3) var(--ease-out); }
.kitchen__wake { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-xs); color: var(--success); font-weight: 600; }
.kitchen__wake[hidden] { display: none; }
.kitchen__wake .icon { width: 16px; height: 16px; }
.kitchen__nav {
  display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
  width: min(900px, 100% - 2 * var(--gutter)); margin-inline: auto;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.kitchen__nav .btn { height: 64px; font-size: 18px; }
.sheet {
  margin: auto auto 0; width: min(100%, 560px); max-height: 80dvh;
  padding: var(--s-5); padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom));
  border: 0; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow-2);
  overflow-y: auto;
  opacity: 0; translate: 0 40px;
  transition: opacity var(--dur-2), translate var(--dur-3) var(--ease-out),
              overlay var(--dur-3) allow-discrete, display var(--dur-3) allow-discrete;
}
.sheet:popover-open { opacity: 1; translate: 0 0; }
@starting-style { .sheet:popover-open { opacity: 0; translate: 0 40px; } }
.sheet::backdrop { background: rgb(17 7 32 / .45); }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.sheet__head h2 { font-size: var(--t-xl); }
@media (min-width: 900px) { .sheet { margin: auto; border-radius: var(--r-xl); } }

/* ---------- Metin sayfaları ---------- */
.prose { max-width: 760px; }

/* ---------- Tasarım sistemi sayfası ---------- */
.docs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding-top: var(--s-5); }
.docs-nav {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter);
  position: sticky; top: var(--header-h); z-index: 30;
  background: color-mix(in oklab, var(--canvas) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.docs-nav::-webkit-scrollbar { display: none; }
.docs-nav a {
  flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
  border-radius: var(--r-full); color: var(--ink-2); font-size: var(--t-sm); font-weight: 500;
  transition: background-color var(--dur-1), color var(--dur-1);
}
.docs-nav a:hover { background: var(--sugar); color: var(--ink); }
.docs-nav a[aria-current="true"] { background: var(--ink); color: var(--paper); }
@media (min-width: 900px) {
  .docs { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-7); }
  .docs-nav { flex-direction: column; overflow: visible; margin: 0; padding: 0; top: calc(var(--header-h) + 16px); align-self: start; background: none; backdrop-filter: none; }
}
.docs-intro { padding-block: var(--s-6) var(--s-4); }
.docs-intro h1 { max-width: 14ch; }
.docs-intro p { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--t-lg); max-width: 56ch; }
.doc-section { padding-block: var(--s-7); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 56px); }
.doc-section:first-child { border-top: 0; padding-top: 0; }
.doc-section > p { color: var(--ink-2); margin-top: var(--s-2); max-width: 62ch; }
.doc-sub { font: 700 var(--t-sm)/1.3 var(--font-body); color: var(--ink-2); letter-spacing: 0; margin: var(--s-6) 0 var(--s-3); }
.demo {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  margin-top: var(--s-5); padding: var(--s-5);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
}
.demo--stack { display: grid; align-items: stretch; }
.demo--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.demo--canvas { background: var(--canvas); }
ul.grid.demo { display: grid; }
.demo--bleed { display: block; padding: 0; overflow: hidden; }
.demo--bleed .rail__track { width: auto; padding-inline: var(--s-5); scroll-padding-inline: var(--s-5); grid-auto-columns: min(72%, 260px); }
.demo--bleed .rail__head { width: auto; padding-inline: var(--s-5); }
.code { position: relative; margin-top: var(--s-3); border-radius: var(--r-md); background: var(--night); color: #E9DDFB; }
.code pre { margin: 0; padding: 16px 56px 16px 18px; overflow-x: auto; font: 13px/1.65 var(--font-mono); tab-size: 2; }
.code .icon-btn { position: absolute; top: 6px; right: 6px; color: var(--on-night-2); }
.code .icon-btn:hover { background: rgb(255 255 255 / .08); color: #fff; }
.swatches { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); margin-top: var(--s-5); }
.swatch { border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-1); overflow: hidden; }
.swatch__chip { height: 84px; border-bottom: 1px solid var(--line); }
.swatch__meta { display: grid; gap: 2px; padding: 10px 12px 12px; font-size: var(--t-xs); }
.swatch__name { font: 600 13px var(--font-mono); color: var(--ink); }
.swatch__value { color: var(--ink-2); font-family: var(--font-mono); }
.swatch__role { color: var(--ink-2); }
.swatch__ratio { justify-self: start; margin-top: 4px; }
.type-row { display: grid; gap: 4px; padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.type-row:last-child { border-bottom: 0; }
.type-row__meta { font: 12px var(--font-mono); color: var(--ink-2); }
.scale-row { display: flex; align-items: center; gap: var(--s-4); font: 12px var(--font-mono); color: var(--ink-2); }
.scale-row span:first-child { width: 64px; }
.scale-bar { height: 16px; border-radius: 4px; background: var(--brand-violet-300); }
.radius-box { width: 88px; height: 88px; background: var(--sugar); border: 2px solid var(--primary); display: grid; place-items: end start; padding: 8px; font: 12px var(--font-mono); color: var(--ink-2); }
.shadow-box { width: 160px; height: 100px; border-radius: var(--r-lg); background: var(--paper); display: grid; place-items: center; font: 12px var(--font-mono); color: var(--ink-2); }
.icon-cell { display: grid; justify-items: center; gap: 6px; width: 92px; padding: 12px 4px; border-radius: var(--r-md); font: 11px var(--font-mono); color: var(--ink-2); }
.icon-cell .icon { width: 24px; height: 24px; color: var(--ink); }
.demo-static .tabbar, .demo-static .actionbar { position: relative; inset: auto; width: 100%; max-width: 420px; }
.demo-static .tabbar { display: grid; }
.demo-static .actionbar { display: flex; }
.demo-static .timer, .demo-static .toast { animation: none; }
.demo .step-list, .demo .ing-demo { width: 100%; max-width: 520px; }

/* ---------- Animasyonlar ---------- */
@keyframes ring-in { from { opacity: 0; rotate: -140deg; scale: .9; } }
@keyframes ring-in-rev { from { opacity: 0; rotate: 160deg; scale: .9; } }
@keyframes art-in { from { opacity: 0; scale: .88; } }
@keyframes card-in { from { opacity: 0; translate: 0 12px; } }
@keyframes spin-scroll { to { transform: rotate(180deg); } }
@keyframes spin-scroll-rev { to { transform: rotate(-240deg); } }
@keyframes toast-in { from { opacity: 0; translate: 0 -8px; scale: .98; } }
@keyframes pop-in { from { opacity: 0; scale: .8; } }
@keyframes pop { 40% { scale: 1.25; } }
@keyframes nudge { 30% { translate: -3px 0; } 60% { translate: 3px 0; } }
@keyframes spin { to { rotate: 1turn; } }
@keyframes step-next { from { opacity: 0; translate: 28px 0; } }
@keyframes step-prev { from { opacity: 0; translate: -28px 0; } }
::view-transition-group(*) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .showcase__ring, .showcase__ring--sunset { animation: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .site-header, .subnav, .tabbar, .actionbar, .timer-dock, .toast-region, .recipe-hero__actions,
  .step__actions, .rail, .site-footer, .breadcrumb, .panel__foot, .stepper, .skip-link, .search-modal { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; padding: 0 !important; }
  .recipe-hero { grid-template-columns: 200px 1fr !important; padding: 0 0 16px; }
  .recipe-hero__media { margin: 0; }
  .recipe-hero__media img { border-radius: 8px; }
  .panel { box-shadow: none; padding: 0; }
  .recipe-body { grid-template-columns: 1fr 1.4fr !important; }
  .recipe-body__aside { position: static; }
}
