/* How.Kitchen — scoped design system
   All selectors live under #how-kitchen-app to stay WordPress-safe.
*/

#how-kitchen-app {
  --hk-bg: #fff1f6;
  --hk-bg-2: #ffe3ee;
  --hk-surface: #fffafc;
  --hk-surface-2: #ffe9f2;
  --hk-ink: #3b2430;
  --hk-ink-soft: #694155;
  --hk-muted: #8d6476;
  --hk-line: #f3d0de;
  --hk-line-strong: #e7b3c8;
  --hk-primary: #c2185b;
  --hk-primary-hover: #a3134c;
  --hk-primary-soft: #ffe0ec;
  --hk-on-primary: #fff;
  --hk-secondary: #d63384;
  --hk-secondary-soft: #ffd6e6;
  --hk-accent: #b85c8a;
  --hk-success: #2f7d56;
  --hk-warning: #a15c12;
  --hk-warning-bg: #fff3d8;
  --hk-danger: #b4234a;
  --hk-danger-bg: #ffe0e7;
  --hk-info: #a23e78;
  --hk-info-bg: #ffe6f1;
  --hk-shadow: 0 10px 30px rgba(194, 24, 91, 0.08);
  --hk-shadow-sm: 0 2px 8px rgba(194, 24, 91, 0.06);
  --hk-radius: 16px;
  --hk-radius-sm: 10px;
  --hk-radius-xs: 8px;
  --hk-space: 8px;
  --hk-max: 1180px;
  --hk-header-h: 68px;
  --hk-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --hk-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --hk-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--hk-ink);
  background: var(--hk-bg);
  font-family: var(--hk-font);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
}

#how-kitchen-app[data-theme="dark"] {
  --hk-bg: #1a1016;
  --hk-bg-2: #26141c;
  --hk-surface: #2c1822;
  --hk-surface-2: #3a2230;
  --hk-ink: #ffe8f1;
  --hk-ink-soft: #f0c6d6;
  --hk-muted: #c99aaf;
  --hk-line: #4d3140;
  --hk-line-strong: #6d4458;
  --hk-primary: #ff8eb6;
  --hk-primary-hover: #ffb3ce;
  --hk-primary-soft: #432433;
  --hk-on-primary: #3a1020;
  --hk-secondary: #ffb3cc;
  --hk-secondary-soft: #4a2838;
  --hk-accent: #f0a0c4;
  --hk-success: #8dcea8;
  --hk-warning: #f0c56a;
  --hk-warning-bg: #3a2c18;
  --hk-danger: #ffb0c0;
  --hk-danger-bg: #3d2028;
  --hk-info: #f0b0d0;
  --hk-info-bg: #3a2432;
  --hk-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --hk-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
}

#how-kitchen-app *,
#how-kitchen-app *::before,
#how-kitchen-app *::after {
  box-sizing: border-box;
}

#how-kitchen-app a {
  color: var(--hk-primary);
  text-decoration: none;
}
#how-kitchen-app a:hover {
  text-decoration: underline;
}

#how-kitchen-app :focus-visible {
  outline: 3px solid var(--hk-secondary);
  outline-offset: 2px;
}

/* Header */
#how-kitchen-app .hk-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--hk-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hk-line);
}
#how-kitchen-app .hk-header-inner {
  max-width: var(--hk-max);
  margin: 0 auto;
  min-height: var(--hk-header-h);
  display: flex;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 20px;
  flex-wrap: wrap;
}
#how-kitchen-app .hk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hk-ink);
  text-decoration: none;
  flex-shrink: 0;
}
#how-kitchen-app .hk-logo:hover { text-decoration: none; }
#how-kitchen-app .hk-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--hk-primary);
  color: var(--hk-on-primary, #fff);
  display: grid;
  place-items: center;
}
#how-kitchen-app .hk-wordmark {
  font-family: var(--hk-serif);
  font-size: 1.22rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
}
#how-kitchen-app .hk-wordmark span {
  color: var(--hk-secondary);
  font-weight: 500;
}
#how-kitchen-app .hk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
}
#how-kitchen-app .hk-nav-link {
  color: var(--hk-ink-soft);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 560;
}
#how-kitchen-app .hk-nav-link:hover,
#how-kitchen-app .hk-nav-link.is-active {
  background: var(--hk-primary-soft);
  color: var(--hk-primary);
  text-decoration: none;
}
#how-kitchen-app .hk-icon-btn {
  border: 1px solid var(--hk-line);
  background: var(--hk-surface);
  color: var(--hk-ink);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
#how-kitchen-app .hk-icon-btn:hover {
  border-color: var(--hk-line-strong);
}
#how-kitchen-app .hk-menu-toggle {
  display: none;
}

/* Layout */
#how-kitchen-app .hk-main {
  max-width: var(--hk-max);
  margin: 0 auto;
  padding: 28px 20px 80px;
  min-height: calc(100vh - 220px);
}
#how-kitchen-app .hk-hero {
  text-align: center;
  padding: 28px 0 8px;
}
#how-kitchen-app .hk-kicker {
  color: var(--hk-secondary);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin: 0 0 10px;
}
#how-kitchen-app .hk-h1 {
  font-family: var(--hk-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  font-weight: 650;
}
#how-kitchen-app .hk-lead {
  color: var(--hk-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 26px;
}

/* Search */
#how-kitchen-app .hk-search {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
#how-kitchen-app .hk-search-box {
  display: flex;
  gap: 8px;
  background: var(--hk-surface);
  border: 1px solid var(--hk-line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--hk-shadow);
}
#how-kitchen-app .hk-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--hk-ink);
  font: inherit;
  font-size: 1.05rem;
  padding: 12px 14px;
  min-width: 0;
}
#how-kitchen-app .hk-search-input:focus { outline: none; }
#how-kitchen-app .hk-search-input::placeholder { color: var(--hk-muted); }
#how-kitchen-app .hk-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  border-radius: 12px;
  padding: 11px 16px;
  background: var(--hk-primary);
  color: var(--hk-on-primary, #fff);
}
#how-kitchen-app .hk-btn:hover { background: var(--hk-primary-hover); }
#how-kitchen-app .hk-btn-ghost {
  background: transparent;
  color: var(--hk-ink-soft);
  border: 1px solid var(--hk-line);
}
#how-kitchen-app .hk-btn-ghost:hover {
  background: var(--hk-surface-2);
}
#how-kitchen-app .hk-btn-secondary {
  background: var(--hk-secondary);
  color: #fff;
}
#how-kitchen-app .hk-btn-secondary:hover { filter: brightness(0.95); }
#how-kitchen-app .hk-btn-sm {
  padding: 7px 11px;
  font-size: 0.88rem;
  border-radius: 9px;
}

#how-kitchen-app .hk-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: var(--hk-surface);
  border: 1px solid var(--hk-line);
  border-radius: 14px;
  box-shadow: var(--hk-shadow);
  z-index: 20;
  overflow: hidden;
  display: none;
}
#how-kitchen-app .hk-suggest.is-open { display: block; }
#how-kitchen-app .hk-suggest-item {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--hk-ink);
  font: inherit;
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
#how-kitchen-app .hk-suggest-item[aria-selected="true"],
#how-kitchen-app .hk-suggest-item:hover {
  background: var(--hk-primary-soft);
}
#how-kitchen-app .hk-suggest-cat {
  color: var(--hk-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
#how-kitchen-app mark {
  background: transparent;
  color: var(--hk-secondary);
  font-weight: 700;
}

#how-kitchen-app .hk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px auto 0;
  max-width: 860px;
}
#how-kitchen-app .hk-chip {
  border: 1px solid var(--hk-line);
  background: var(--hk-surface);
  color: var(--hk-ink-soft);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
#how-kitchen-app .hk-chip:hover {
  border-color: var(--hk-primary);
  color: var(--hk-primary);
}
#how-kitchen-app .hk-chip.is-on {
  background: var(--hk-primary-soft);
  border-color: var(--hk-primary);
  color: var(--hk-primary);
}

/* Sections / cards */
#how-kitchen-app .hk-section {
  margin-top: 56px;
}
#how-kitchen-app .hk-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
#how-kitchen-app .hk-h2 {
  font-family: var(--hk-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin: 0;
  letter-spacing: -0.02em;
}
#how-kitchen-app .hk-h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
}
#how-kitchen-app .hk-subtle {
  color: var(--hk-muted);
  margin: 6px 0 0;
}
#how-kitchen-app .hk-grid {
  display: grid;
  gap: 14px;
}
#how-kitchen-app .hk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#how-kitchen-app .hk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#how-kitchen-app .hk-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#how-kitchen-app .hk-card {
  background: var(--hk-surface);
  border: 1px solid var(--hk-line);
  border-radius: var(--hk-radius);
  padding: 18px;
  box-shadow: var(--hk-shadow-sm);
  color: var(--hk-ink);
}
#how-kitchen-app button.hk-card,
#how-kitchen-app button.hk-acc-btn,
#how-kitchen-app button.hk-card strong {
  color: var(--hk-ink);
  -webkit-text-fill-color: var(--hk-ink);
}
#how-kitchen-app button.hk-card .hk-subtle {
  color: var(--hk-ink-soft);
  -webkit-text-fill-color: var(--hk-ink-soft);
}
#how-kitchen-app button {
  appearance: none;
  -webkit-appearance: none;
}
#how-kitchen-app .hk-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
#how-kitchen-app .hk-card-link:hover {
  text-decoration: none;
  border-color: var(--hk-primary);
}
#how-kitchen-app a.hk-card:hover {
  border-color: color-mix(in srgb, var(--hk-primary) 45%, var(--hk-line));
  text-decoration: none;
}
#how-kitchen-app .hk-card-meta {
  color: var(--hk-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
#how-kitchen-app .hk-need {
  min-height: 108px;
}
#how-kitchen-app .hk-need .hk-h3 { margin-bottom: 4px; }

/* Answer */
#how-kitchen-app .hk-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--hk-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
#how-kitchen-app .hk-crumb a { color: var(--hk-muted); }
#how-kitchen-app .hk-answer-quick {
  background: var(--hk-primary-soft);
  border: 1px solid color-mix(in srgb, var(--hk-primary) 22%, var(--hk-line));
  border-radius: var(--hk-radius);
  padding: 20px 22px;
  margin: 16px 0 22px;
}
#how-kitchen-app .hk-answer-quick h2 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hk-primary);
}
#how-kitchen-app .hk-prose p { margin: 0 0 12px; }
#how-kitchen-app .hk-prose ol,
#how-kitchen-app .hk-prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
#how-kitchen-app .hk-callout {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
}
#how-kitchen-app .hk-callout-warn {
  background: var(--hk-warning-bg);
  border: 1px solid color-mix(in srgb, var(--hk-warning) 30%, var(--hk-line));
}
#how-kitchen-app .hk-callout-danger {
  background: var(--hk-danger-bg);
  border: 1px solid color-mix(in srgb, var(--hk-danger) 30%, var(--hk-line));
}
#how-kitchen-app .hk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

/* Tools */
#how-kitchen-app .hk-form {
  display: grid;
  gap: 12px;
}
#how-kitchen-app .hk-field label {
  display: block;
  font-weight: 620;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
#how-kitchen-app .hk-field input,
#how-kitchen-app .hk-field select,
#how-kitchen-app .hk-field textarea {
  width: 100%;
  border: 1px solid var(--hk-line);
  background: var(--hk-bg);
  color: var(--hk-ink);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}
#how-kitchen-app .hk-field textarea { min-height: 88px; resize: vertical; }
#how-kitchen-app .hk-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#how-kitchen-app .hk-result {
  margin-top: 16px;
  background: var(--hk-surface-2);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--hk-line);
}
#how-kitchen-app .hk-result-value {
  font-family: var(--hk-serif);
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin: 4px 0 8px;
}
#how-kitchen-app .hk-error {
  color: var(--hk-danger);
  font-size: 0.92rem;
}
#how-kitchen-app .hk-meter {
  height: 10px;
  background: var(--hk-line);
  border-radius: 99px;
  overflow: hidden;
  margin: 8px 0;
}
#how-kitchen-app .hk-meter > span {
  display: block;
  height: 100%;
  background: var(--hk-primary);
}

/* Learn / FAQ */
#how-kitchen-app .hk-acc {
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  background: var(--hk-surface);
  margin-bottom: 8px;
  overflow: hidden;
}
#how-kitchen-app .hk-acc-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--hk-ink);
  font: inherit;
  font-weight: 620;
  padding: 14px 16px;
  cursor: pointer;
}
#how-kitchen-app .hk-acc-panel {
  display: none;
  padding: 0 16px 14px;
  color: var(--hk-ink-soft);
}
#how-kitchen-app .hk-acc[open] .hk-acc-panel,
#how-kitchen-app .hk-acc.is-open .hk-acc-panel { display: block; }

/* Footer */
#how-kitchen-app .hk-footer {
  border-top: 1px solid var(--hk-line);
  background: var(--hk-surface);
  padding: 36px 20px 28px;
}
#how-kitchen-app .hk-footer-inner {
  max-width: var(--hk-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
#how-kitchen-app .hk-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hk-muted);
  margin: 0 0 10px;
}
#how-kitchen-app .hk-footer a {
  display: block;
  color: var(--hk-ink-soft);
  padding: 3px 0;
}
#how-kitchen-app .hk-copy {
  max-width: var(--hk-max);
  margin: 22px auto 0;
  color: var(--hk-muted);
  font-size: 0.86rem;
}

/* Loading */
#how-kitchen-app .hk-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--hk-muted);
  padding: 28px;
}
#how-kitchen-app .hk-bowl {
  width: 28px;
  height: 28px;
  border: 3px solid var(--hk-line-strong);
  border-bottom-color: var(--hk-secondary);
  border-radius: 50%;
  animation: hk-spin 0.8s linear infinite;
}
@keyframes hk-spin { to { transform: rotate(360deg); } }

/* Meal planner */
#how-kitchen-app .hk-planner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
#how-kitchen-app .hk-day {
  background: var(--hk-surface);
  border: 1px solid var(--hk-line);
  border-radius: 12px;
  padding: 10px;
  min-height: 180px;
}
#how-kitchen-app .hk-day h3 {
  font-size: 0.82rem;
  margin: 0 0 8px;
  color: var(--hk-muted);
}
#how-kitchen-app .hk-meal-item {
  background: var(--hk-primary-soft);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 6px;
  font-size: 0.86rem;
}
#how-kitchen-app .hk-meal {
  width: 100%;
  border: 1px solid var(--hk-line);
  background: var(--hk-bg);
  color: var(--hk-ink);
  border-radius: 8px;
  padding: 6px 8px;
  font: inherit;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

/* Mobile */
@media (max-width: 980px) {
  #how-kitchen-app .hk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #how-kitchen-app .hk-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #how-kitchen-app .hk-footer-inner { grid-template-columns: 1fr 1fr; }
  #how-kitchen-app .hk-planner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  #how-kitchen-app .hk-nav { display: none; }
  #how-kitchen-app .hk-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--hk-header-h);
    left: 0;
    right: 0;
    background: var(--hk-surface);
    border-bottom: 1px solid var(--hk-line);
    padding: 10px;
    align-items: stretch;
  }
  #how-kitchen-app .hk-menu-toggle { display: inline-grid; }
  #how-kitchen-app .hk-header { position: sticky; }
  #how-kitchen-app .hk-header-inner { position: relative; }
  #how-kitchen-app .hk-grid-2,
  #how-kitchen-app .hk-grid-3,
  #how-kitchen-app .hk-grid-4,
  #how-kitchen-app .hk-row-2,
  #how-kitchen-app .hk-planner,
  #how-kitchen-app .hk-footer-inner {
    grid-template-columns: 1fr;
  }
}

#how-kitchen-app .hk-stack { display: flex; flex-direction: column; gap: 10px; }
#how-kitchen-app .hk-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}
#how-kitchen-app .hk-pager-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
#how-kitchen-app .hk-pager-gap { color: var(--hk-muted); padding: 0 2px; }
#how-kitchen-app .hk-print-dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  place-items: center;
  padding: 16px;
}
#how-kitchen-app .hk-print-dialog.is-open { display: grid; }
#how-kitchen-app .hk-print-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 16, 32, 0.46);
}
#how-kitchen-app .hk-print-sheet {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  background: #fff;
  color: #3b2430;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(58, 16, 32, 0.28);
  padding: 16px 18px 28px;
}
#how-kitchen-app .hk-print-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  position: sticky;
  top: 0;
  background: #fff;
  padding-bottom: 12px;
  z-index: 1;
}
#how-kitchen-app .hk-print-brand,
#how-kitchen-app .hk-print-foot {
  color: #c2185b;
  font-size: 0.92rem;
  font-weight: 650;
}
#how-kitchen-app .hk-print-body h1 {
  font-family: var(--hk-serif);
  font-size: 1.8rem;
  margin: 8px 0 12px;
}

@media print {
  #hk-print-frame { display: none !important; }
}

#how-kitchen-app .hk-h1,
#how-kitchen-app .hk-hero { scroll-margin-top: 84px; }
#how-kitchen-app .hk-count { font-weight: 560; color: var(--hk-muted); font-size: 0.72em; }
#how-kitchen-app .hk-btn .hk-count,
#how-kitchen-app a.hk-btn .hk-count {
  color: inherit;
  font-size: 1em;
  font-weight: 750;
}
#how-kitchen-app .hk-chips-start { max-width: none; justify-content: flex-start; margin-left: 0; }
#how-kitchen-app .hk-chip.is-active { background: var(--hk-primary-soft); color: var(--hk-primary); border-color: transparent; }
#how-kitchen-app .hk-libnav { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hk-line); }
#how-kitchen-app .hk-more {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
#how-kitchen-app .hk-more a { font-weight: 560; }
#how-kitchen-app .hk-section-more { margin-top: 16px; }
@media (max-width: 760px) {
  #how-kitchen-app .hk-more { grid-template-columns: 1fr; }
}
#how-kitchen-app .hk-play-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: center; }
#how-kitchen-app .hk-play-ings { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
#how-kitchen-app .hk-ing, #how-kitchen-app .hk-heat {
  border: 1px solid var(--hk-line);
  background: var(--hk-surface);
  color: var(--hk-ink);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
#how-kitchen-app .hk-ing.is-on, #how-kitchen-app .hk-heat.is-on {
  background: var(--hk-primary);
  color: var(--hk-on-primary, #fff);
  border-color: transparent;
}
#how-kitchen-app .hk-ing[data-group="non-vegetarian"].is-on { background: #8e2348; color: #fff; }
#how-kitchen-app .hk-play-heat { display: flex; gap: 8px; flex-wrap: wrap; }
#how-kitchen-app .hk-stove { position: relative; min-height: 280px; display: grid; place-items: center; }
#how-kitchen-app .hk-flame {
  position: absolute; bottom: 18px; width: 70px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle, #ffb3cc 0%, #c2185b 55%, transparent 70%);
  filter: blur(1px); animation: hk-flame 1.1s ease-in-out infinite;
}
#how-kitchen-app .hk-pan {
  width: min(280px, 80%); height: 120px; border-radius: 0 0 140px 140px;
  background: linear-gradient(180deg, #fff 0%, #ffe3ee 40%, #f4b4cc 100%);
  border: 4px solid #d63384; border-top: 8px solid #a3134c;
  position: relative; overflow: hidden; box-shadow: var(--hk-shadow);
  transition: transform 0.35s ease;
}
#how-kitchen-app .hk-pan.is-cooking { transform: rotate(-1.5deg); animation: hk-sizzle 0.45s linear infinite; }
#how-kitchen-app .hk-pan-food { position: absolute; inset: 18px 16px 10px; display: flex; flex-wrap: wrap; gap: 6px; align-content: end; justify-content: center; }
#how-kitchen-app .hk-bit {
  width: 18px; height: 18px; border-radius: 50%; display: inline-block;
  animation: hk-drop 0.45s ease;
}
#how-kitchen-app .hk-steam { position: absolute; left: 50%; top: -36px; width: 80px; height: 50px; transform: translateX(-50%); }
#how-kitchen-app .hk-steam span {
  position: absolute; bottom: 0; width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.85); animation: hk-steam 1.8s ease-in infinite;
}
#how-kitchen-app .hk-steam span:nth-child(1) { left: 10px; }
#how-kitchen-app .hk-steam span:nth-child(2) { left: 34px; animation-delay: 0.4s; }
#how-kitchen-app .hk-steam span:nth-child(3) { left: 56px; animation-delay: 0.8s; }
#how-kitchen-app .hk-play-out { text-align: center; margin-top: 8px; }
@keyframes hk-steam { from { transform: translateY(8px); opacity: 0; } 30% { opacity: 0.8; } to { transform: translateY(-28px); opacity: 0; } }
@keyframes hk-flame { 50% { transform: scaleX(1.08) scaleY(0.92); } }
@keyframes hk-sizzle { 50% { transform: rotate(1.5deg) translateY(-1px); } }
@keyframes hk-drop { from { transform: translateY(-24px) scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 760px) {
  #how-kitchen-app .hk-play-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #how-kitchen-app .hk-flame, #how-kitchen-app .hk-steam span, #how-kitchen-app .hk-pan.is-cooking, #how-kitchen-app .hk-bit { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  #how-kitchen-app .hk-bowl { animation: none; }
  #how-kitchen-app * { transition: none !important; }
}
