:root {
  --bg: #fff8fb;
  --bg-2: #ffeef5;
  --panel: #ffffffee;
  --ink: #5a2840;
  --muted: #a06b84;
  --gold: #e56b9a;
  --gold-dim: #c94e80;
  --purple: #f4a0c0;
  --rose: #f48fb1;
  --green: #6f9e78;
  --moon: #ffd0e4;
  --shadow: 0 18px 50px #e8a0bc44;
  --border: 1px solid #f0b8cc88;
  --font-display: "Cinzel Decorative", Palatino, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Philosopher", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  height: 100dvh;
  max-width: 100%;
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(1200px 700px at 70% -10%, #ffd6e8 0%, transparent 55%),
              radial-gradient(900px 500px at 0% 100%, #ffe0ec 0%, transparent 50%),
              var(--bg);
  overflow: hidden;
  overflow-x: hidden;
  overscroll-behavior: none;
}

button {
  font-family: var(--font-ui);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.hidden { display: none !important; }

#stars, #embers {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.star {
  position: absolute; width: 2px; height: 2px; background: #e56b9aaa;
  border-radius: 50%; animation: twinkle 3s ease-in-out infinite;
}
.ember {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #f4a0c0aa; animation: rise 7s linear infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: .2; }
  50% { opacity: 1; }
}
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .7; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

.screen {
  position: relative; z-index: 1;
  display: none; height: 100%;
  height: 100dvh;
}
.screen.active { display: flex; flex-direction: column; }

.title-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 80%, #ffc0d855, transparent 50%),
    linear-gradient(#0000, #fff0f6);
  pointer-events: none;
}
.title-content {
  margin: auto; text-align: center; max-width: 640px; padding: 32px;
  position: relative; z-index: 2;
}
.title-kicker {
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-size: 12px; margin-bottom: 12px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.05;
  background: linear-gradient(#ff8ab8, #c94e80);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 8px 18px #e56b9a44);
}
.title-sub {
  font-family: var(--font-display); color: var(--gold);
  font-size: 22px; margin: 8px 0 18px;
}
.title-lead {
  font-size: 20px; color: var(--muted); line-height: 1.45; margin-bottom: 28px;
}
.title-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.title-cauldron {
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 140px;
  background: radial-gradient(ellipse at 50% 40%, #f4c4d4, #e8a0b8 70%);
  border-radius: 0 0 50% 50%;
  box-shadow: 0 -20px 60px #f4a0c055;
}
.title-cauldron::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 8px; height: 18px;
  border-radius: 40px; background: #fff5f8; border: 6px solid #e8b0c4;
}
.steam {
  position: absolute; left: 50%; top: -30px; width: 80px; height: 80px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #ffffffaa, transparent 70%);
  filter: blur(8px); animation: steam 3s ease-in-out infinite;
}
@keyframes steam {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: .5; }
  50% { transform: translateX(-40%) translateY(-16px) scale(1.2); opacity: .85; }
}

.btn {
  border: var(--border); background: #fff0f5; color: var(--ink);
  padding: 10px 22px; border-radius: 999px; font-size: 16px;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px #e8a0bc44; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gold {
  background: linear-gradient(#ffd6e8, #e56b9a); color: #fff;
  border-color: #ffc0d8; font-weight: 700;
}
.btn-ghost { background: transparent; }
.btn-slim { padding: 7px 14px; font-size: 14px; }
.btn-tiny { padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: var(--border); background: #fff5f8; color: var(--gold);
}

.hud {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 18px; background: #ffffffcc; border-bottom: var(--border);
  backdrop-filter: blur(8px);
}
.hud-brand { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.hud-moon { font-size: 28px; color: var(--gold); }
.hud-brand strong { display: block; font-family: var(--font-ui); }
.hud-brand small { color: var(--gold); font-style: italic; }
.hud-stats {
  display: flex; gap: 16px; list-style: none; margin-right: auto;
}
.hud-stats li {
  display: flex; align-items: center; gap: 6px;
  background: #fff0f5; padding: 6px 12px; border-radius: 999px; border: var(--border);
}
.hud-stats span { color: var(--gold); }
.hud-stats i { color: var(--muted); font-style: normal; }
.hud-actions { display: flex; gap: 8px; align-items: center; }

.tabs {
  display: flex; gap: 4px; padding: 8px 12px 0; background: #ffeef5;
}
.tab {
  flex: 1; border: none; background: #fff5f8; color: var(--muted);
  padding: 10px 8px; border-radius: 12px 12px 0 0; font-size: 15px;
}
.tab.active {
  background: #fff; color: var(--gold);
  box-shadow: inset 0 2px 0 var(--gold);
}

.stage { flex: 1; min-height: 0; position: relative; }
.location {
  display: none; height: 100%; padding: 14px; gap: 14px;
}
.location.active { display: flex; }

.panel {
  background: var(--panel); border: var(--border); border-radius: 16px;
  padding: 16px; box-shadow: var(--shadow); overflow: auto;
}
.panel h2 {
  font-family: var(--font-display); font-size: 18px; color: var(--gold);
  margin-bottom: 8px;
}
.flavor { color: var(--muted); font-style: italic; margin-bottom: 10px; line-height: 1.4; }
.hint { font-size: 14px; color: #b08094; margin: 8px 0 12px; }
.hint b { color: var(--gold); }

#loc-forest { padding: 0; }
.forest-scene {
  flex: 1; position: relative; overflow: hidden;
  background:
    linear-gradient(#ffd6e8, #fff5f8 55%, #f4dce4);
}
.forest-moon {
  position: absolute; top: 8%; right: 14%; width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #ffd6e8 55%, #f4a0c0);
  box-shadow: 0 0 80px #ffd0e488, 0 0 160px #f4a0c044;
}
.forest-ground {
  position: absolute; bottom: 0; left: 0; right: 0; height: 38%;
  background:
    radial-gradient(ellipse at 20% 100%, #e8b0c4 0 40%, transparent 41%),
    radial-gradient(ellipse at 55% 110%, #f0c4d4 0 50%, transparent 51%),
    radial-gradient(ellipse at 85% 100%, #e8a8c0 0 42%, transparent 43%),
    linear-gradient(#0000, #f4d0dc);
}
.forest-ground::before, .forest-ground::after,
.forest-scene::before, .forest-scene::after {
  content: ""; position: absolute; bottom: 18%; width: 70px;
  background: linear-gradient(#e8a0b8, #d488a0);
  clip-path: polygon(50% 0, 80% 100%, 20% 100%);
  height: 220px; opacity: .85;
}
.forest-scene::before { left: 6%; height: 280px; width: 90px; }
.forest-scene::after { right: 10%; height: 300px; width: 110px; bottom: 16%; }
.forest-fog {
  position: absolute; inset: 0;
  background: linear-gradient(#0000 40%, #ffffff88 100%);
  animation: fog 8s ease-in-out infinite;
}
@keyframes fog {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}
.forage-spot {
  position: absolute; width: 46px; height: 46px; border: none;
  border-radius: 50%; background: #ffffff88;
  box-shadow: 0 0 18px currentColor; color: var(--gold);
  font-size: 22px; transform: translate(-50%, -50%);
  animation: pulse 2.4s ease-in-out infinite;
}
.forage-spot.rare { color: #e56b9a; background: #e56b9a22; }
.forage-spot.gone { opacity: 0; pointer-events: none; }
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
.forest-side { width: 280px; margin: 14px; }

.brew-layout, .shop-layout, .garden-layout, .book-layout, .market-layout {
  display: flex; gap: 14px; width: 100%; height: 100%;
}
.brew-layout aside, .shop-layout aside, .garden-layout aside,
.book-layout aside, .market-layout aside { width: 340px; flex-shrink: 0; }

.cauldron-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px;
  background: radial-gradient(circle at 50% 60%, #ffd6e855, transparent 60%);
  border: var(--border); border-radius: 16px;
}
.cauldron { position: relative; width: 220px; height: 180px; }
.cauldron-glow {
  position: absolute; inset: 20px 10px 0; border-radius: 50%;
  background: radial-gradient(circle, #f4a0c066, transparent 70%);
  filter: blur(10px); animation: steam 2.6s ease-in-out infinite;
}
.cauldron.cooking .cauldron-glow { background: radial-gradient(circle, #e56b9a99, transparent 70%); }
.cauldron-pot {
  position: absolute; left: 20px; right: 20px; top: 40px; bottom: 0;
  background: linear-gradient(#f4c4d4, #e8a0b8);
  border-radius: 0 0 90px 90px; overflow: hidden;
  box-shadow: inset 0 10px 20px #fff8, 0 10px 0 #d488a0;
}
.brew-liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(#ffd6e8, #f48fb1);
  transition: background .4s, height .4s;
}
.cauldron-rim {
  position: absolute; left: 8px; right: 8px; top: 28px; height: 22px;
  border-radius: 40px; background: #fff5f8; border: 8px solid #e8b0c4;
}
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: 12%; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; animation: bubble 1.6s linear infinite;
}
@keyframes bubble {
  0% { transform: translateY(0); opacity: .8; }
  100% { transform: translateY(-70px); opacity: 0; }
}

.slots { display: flex; gap: 10px; }
.slot {
  width: 72px; height: 72px; border-radius: 14px; border: 1px dashed #e56b9a66;
  background: #fff8fb; display: flex; flex-direction: column; align-items: center;
  justify-content: center; font-size: 24px; color: var(--muted);
}
.slot.filled { border-style: solid; background: #ffeef5; cursor: pointer; }
.slot small { font-size: 11px; text-align: center; max-width: 66px; line-height: 1.1; }

.inv-grid, .plant-picker, .potion-list, .price-table {
  display: grid; gap: 8px;
}
.inv-grid { grid-template-columns: 1fr 1fr; }
.inv-item, .potion-card, .price-row, .plot, .recipe-card {
  border: var(--border); border-radius: 12px; background: #fff8fb;
  padding: 8px 10px;
}
.inv-item {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  text-align: left; color: inherit; width: 100%;
}
.inv-item:hover, .potion-card:hover { background: #ffe4ee; }
.inv-item.chosen { outline: 1px solid var(--gold); background: #ffe4ee; }
.inv-item .ops { display: flex; gap: 4px; }
.inv-item .icon, .potion-card .icon { font-size: 22px; }
.inv-item .meta { flex: 1; }
.inv-item .name, .potion-card .name { display: block; font-size: 14px; }
.inv-item .qty { color: var(--gold); font-size: 13px; }
.inv-mini { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: #fff0f5; border: var(--border); border-radius: 999px;
  padding: 4px 8px; font-size: 13px;
}

.shop-window { flex: 1; display: flex; }
.customer-stage {
  flex: 1; border: var(--border); border-radius: 16px;
  background:
    linear-gradient(#0000, #fff0f6 70%),
    repeating-linear-gradient(90deg, #f8dce4 0 18px, #ffeef5 18px 36px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.empty-shop { text-align: center; max-width: 360px; }
.empty-shop p { margin-bottom: 16px; font-size: 20px; font-style: italic; color: var(--muted); }
.customer-card {
  display: flex; gap: 18px; align-items: center;
  background: #ffffffee; padding: 18px; border-radius: 18px; border: var(--border);
  max-width: 620px;
}
.portrait-frame {
  width: 110px; height: 130px; border-radius: 12px;
  border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px currentColor; flex-shrink: 0;
}
.portrait { font-size: 58px; }
.speech h3 { font-family: var(--font-display); font-size: 20px; }
.cust-role { color: var(--gold); font-size: 13px; margin-bottom: 8px; }
blockquote {
  font-size: 20px; line-height: 1.35; font-style: italic; color: var(--ink);
}
.potion-card {
  display: flex; gap: 8px; align-items: center; cursor: pointer;
  width: 100%; text-align: left; color: inherit;
}
.potion-card .q { margin-left: auto; color: var(--gold); font-size: 13px; white-space: nowrap; }
.stars { color: var(--gold); letter-spacing: 1px; }

.plots {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.plots.wide { grid-template-columns: 1fr 1fr 1fr; }
.plot {
  min-height: 140px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; font-size: 18px; cursor: pointer;
  background:
    linear-gradient(#0000, #ffd6e8aa),
    repeating-linear-gradient(#f4d0dc 0 12px, #ffe8f0 12px 24px);
}
.plot .soil { font-size: 42px; }

.book-page { flex: 1; overflow: auto; padding: 8px 18px; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.recipe-card.locked { opacity: .55; filter: grayscale(.3); }
.recipe-card h3 { font-size: 16px; color: var(--gold); }
.recipe-card p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.log { list-style: none; font-size: 15px; line-height: 1.45; }
.log li { padding: 6px 0; border-bottom: 1px solid #e56b9a22; color: var(--muted); }

.price-table { grid-template-columns: 1fr; }
.price-row {
  display: grid; grid-template-columns: 32px 1fr auto auto auto; gap: 8px; align-items: center;
}
.trend.up { color: #e07070; }
.trend.down { color: #70c090; }
.demand-bar {
  height: 8px; background: #ffe4ee; border-radius: 99px; overflow: hidden; width: 70px;
}
.demand-bar span { display: block; height: 100%; background: var(--gold); }

.cat-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; background: #fff5f8; border-top: var(--border);
  font-style: italic; color: var(--muted);
}
.cat {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 22px;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}
.cat:hover { transform: scale(1.08); }

.modal {
  position: fixed; inset: 0; z-index: 20;
  background: #fff0f6cc; display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-card {
  background: linear-gradient(#fff, #ffeef5); border: var(--border);
  border-radius: 18px; padding: 24px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow); text-align: center;
}
.modal-card h2 { font-family: var(--font-display); color: var(--gold); margin-bottom: 10px; }
.modal-card p { font-size: 18px; line-height: 1.4; margin-bottom: 12px; }
.modal-card .big { font-size: 48px; margin: 8px 0; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

.toast {
  position: fixed; bottom: 64px; left: 50%; transform: translateX(-50%);
  background: #ffffffee; border: var(--border); padding: 10px 16px;
  border-radius: 999px; z-index: 15; font-size: 16px;
}

.quality-low { color: #a06b84; }
.quality-mid { color: #70c090; }
.quality-high { color: #e56b9a; }

@media (max-width: 900px) {
  body { overflow: hidden; }

  .screen.active {
    height: 100dvh;
    max-height: 100dvh;
  }

  .title-content {
    margin: 0;
    padding: max(28px, env(safe-area-inset-top)) 18px 150px;
    max-width: none;
  }
  h1 { font-size: clamp(34px, 11vw, 58px); }
  .title-sub { font-size: 18px; }
  .title-lead { font-size: 17px; }
  .title-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
  }
  .title-actions .btn { width: 100%; min-height: 48px; }
  .title-cauldron { transform: translateX(-50%) scale(.82); bottom: -20px; }

  .hud {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "stats stats";
    gap: 8px;
    padding: max(8px, env(safe-area-inset-top)) 10px 8px;
  }
  .hud-brand { grid-area: brand; min-width: 0; }
  .hud-brand strong { font-size: 15px; }
  .hud-brand small { font-size: 12px; }
  .hud-actions { grid-area: actions; }
  .hud-stats {
    grid-area: stats;
    margin: 0;
    width: 100%;
    gap: 6px;
    justify-content: stretch;
  }
  .hud-stats li {
    flex: 1;
    justify-content: center;
    padding: 8px 6px;
    min-height: 40px;
  }
  .icon-btn { width: 44px; height: 44px; }
  .btn-slim { min-height: 44px; padding: 8px 12px; }

  .tabs {
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 8px;
  }
  .tab {
    flex: 1 1 calc(33.33% - 4px);
    min-width: 0;
    min-height: 44px;
    font-size: 14px;
    padding: 10px 6px;
    border-radius: 10px;
  }
  .tab.active { border-radius: 10px; }

  .stage {
    flex: 1;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .location {
    height: auto;
    min-height: 100%;
    padding: 8px;
    flex-direction: column;
  }
  .location.active,
  .brew-layout, .shop-layout, .garden-layout, .book-layout, .market-layout {
    flex-direction: column;
  }
  .brew-layout, .shop-layout, .garden-layout, .book-layout, .market-layout {
    height: auto;
    min-height: 0;
  }
  .forest-side, .brew-layout aside, .shop-layout aside, .garden-layout aside,
  .book-layout aside, .market-layout aside {
    width: auto;
    flex: none;
    max-height: none;
  }

  #loc-forest { padding: 0; }
  .forest-scene { min-height: 56svh; flex: 1 0 auto; }
  .forest-side { margin: 8px; }
  .forage-spot {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }

  .cauldron-wrap { padding: 16px 10px 18px; }
  .cauldron { transform: scale(.92); }
  .slot { width: 68px; height: 68px; }
  .btn-gold { min-height: 48px; padding: 12px 22px; }

  .inv-grid { grid-template-columns: 1fr; }
  .inv-item, .potion-card { min-height: 48px; }

  .customer-card {
    flex-direction: column;
    text-align: center;
    padding: 14px;
    max-width: 100%;
  }
  .speech h3 { font-size: 18px; }
  blockquote { font-size: 17px; }
  .shop-window { min-height: 280px; }
  .empty-shop { padding: 12px; }
  .empty-shop .btn { min-height: 48px; width: 100%; }

  .plots { grid-template-columns: 1fr 1fr; gap: 8px; }
  .plot { min-height: 120px; }
  .plant-picker { grid-template-columns: 1fr; }

  .book-page { padding: 4px 8px 12px; }
  .recipe-grid { grid-template-columns: 1fr; }

  .price-table { overflow-x: auto; }
  .price-row {
    grid-template-columns: 28px 1fr auto 16px auto;
    font-size: 13px;
    gap: 6px;
  }

  .cat-bar {
    padding: 8px 12px max(10px, env(safe-area-inset-bottom));
    font-size: 14px;
    align-items: flex-start;
  }

  .modal { padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .modal-card {
    max-height: min(88dvh, 640px);
    overflow: auto;
    padding: 18px 16px;
    text-align: left;
  }
  .modal-card h2, .modal-card .big { text-align: center; }
  .modal-card .btn { min-height: 48px; }

  .toast {
    left: 12px;
    right: 12px;
    bottom: calc(64px + env(safe-area-inset-bottom));
    transform: none;
    text-align: center;
    max-width: none;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .title-cauldron { display: none; }
  .title-content { padding-bottom: 24px; }
  .forest-scene { min-height: 42svh; }
  .hud-moon { font-size: 22px; }
}

@media (max-width: 380px) {
  .hud-stats li { font-size: 13px; gap: 4px; padding: 6px 4px; }
  .tab { font-size: 13px; padding: 10px 4px; }
  .inv-grid { grid-template-columns: 1fr; }
  .plots { grid-template-columns: 1fr; }
}

.title-record {
  color: var(--gold);
  font-size: 16px;
  margin: -8px 0 22px;
  min-height: 1.4em;
}
.book-sub { margin-top: 22px; }
.order-seal {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e56b9a88;
  background: #ffe4ee;
  color: var(--gold);
  font-size: 14px;
  font-style: italic;
}
.favor-line {
  color: var(--gold);
  font-size: 13px;
  margin: 0 0 6px;
}
.shop-queue { margin-top: -4px; }

.guest-grid, .upgrade-list, .feat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.guest-card, .upgrade-card, .feat-chip {
  border: var(--border);
  border-radius: 12px;
  background: #fff8fb;
  padding: 12px;
  text-align: left;
}
.guest-card .who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.guest-card .who span { font-size: 22px; }
.guest-card h3, .upgrade-card h3 { font-size: 16px; color: var(--gold); }
.guest-card p, .upgrade-card p, .feat-chip p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.guest-card .taste { color: var(--ink); }
.upgrade-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upgrade-card.owned { outline: 1px solid var(--gold); background: #ffe4ee; }
.upgrade-card .btn { align-self: flex-start; margin-top: 4px; }
.feat-chip.locked { opacity: .45; }
.feat-chip h3 { font-size: 15px; color: var(--gold); }
.recipe-card.ready { cursor: pointer; }
.recipe-card.ready:hover { background: #ffe4ee; }

#btn-tea { margin-bottom: 8px; width: 100%; }
#cauldron-whisper { min-height: 1.3em; color: var(--gold); }

.demand-chip {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: var(--border);
  background: #fff0f5;
  font-size: 14px;
}
.brief-stats {
  text-align: left;
  background: #fff8fb;
  border: var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 14px;
}
.brief-stats p { margin-bottom: 6px; font-size: 16px; }
.deal-potion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  margin: 4px 0 10px;
}

@media (max-width: 900px) {
  .guest-grid, .upgrade-list, .feat-list { grid-template-columns: 1fr; }
  #btn-menu { width: 44px; height: 44px; }
  .plots.wide { grid-template-columns: 1fr 1fr; }
}
