:root {
  --bg: #16101d;
  --bg-cottage: #1e162b;
  --surface: #261c36;
  --surface-alt: #302345;
  --border: #453362;
  --parchment: #f6ecd4;
  --parchment-ink: #1c1326;
  --parchment-border: #d8c59e;
  --text: #f6ecd4;
  --text-soft: #d4c5e4;
  --text-muted: #a794bd;
  --lime: #b6f24a;
  --lime-bevel: #7cb322;
  --lilac: #c59bff;
  --teal: #2aa89a;
  --gold: #ffd43b;
  --radius: 12px;
  --shadow-bevel: 0 4px 0 rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle at 50% 0%, var(--surface) 0%, var(--bg) 65%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--lime);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

button,
input,
select,
textarea {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--lime);
  color: var(--parchment-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-prose-wrap {
  max-width: 860px;
}

.pixel-kicker {
  display: inline-block;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  line-height: 1.4;
  color: var(--lilac);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* Header */
.cottage-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: "Silkscreen", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.wm-jinx {

  color: var(--lime);
}

.wm-ed {
  color: var(--lilac);
}

.wm-sub {

  color: var(--text);
  font-size: 14px;
  margin-left: 6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--lime);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-play-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  background: var(--lime);
  color: var(--parchment-ink);
  border: 2px solid var(--lime);
  border-bottom: 4px solid var(--lime-bevel);
  border-radius: 8px;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.btn-play-nav:hover {
  color: var(--parchment-ink);
  filter: brightness(1.06);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--text-soft);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.mobile-menu-btn:hover,
.mobile-menu[open] .mobile-menu-btn {
  color: var(--lime);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

.mobile-menu-btn::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 260px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-panel a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu-panel a:hover {
  background: var(--surface-alt);
  color: var(--lime);
}

/* Hero & 16:9 Cauldron Stage */
.hero-cottage {
  padding: 22px 0 36px;
  background: radial-gradient(ellipse 85% 55% at 50% 0%, color-mix(in srgb, var(--lilac) 13%, transparent), transparent 72%);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 7px;
  box-shadow: 0 0 10px var(--lime);
  vertical-align: middle;
}

.stage-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.stage-h1 {
  margin: 0;

  font-size: 38px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;

  color: var(--text);
}

.stage-h1 .h1-accent {
  color: var(--lime);
}

.stage-tagline {
  margin: 0;
  font-size: 15px;
  color: var(--text-soft);
}

.stage-tagline strong {
  color: var(--lilac);
}

.cauldron-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border: 2px solid color-mix(in srgb, var(--lilac) 48%, var(--border));
  border-radius: 16px;
  box-shadow: 0 18px 44px color-mix(in srgb, var(--bg) 78%, transparent), 0 0 0 1px color-mix(in srgb, var(--lime) 14%, transparent);
  overflow: hidden;
  isolation: isolate;
}

.cauldron-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--bg);
}

.cauldron-stage:fullscreen {
  border: 0;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

.cauldron-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.cauldron-stage[data-gf-state="loading"] .cauldron-cover,
.cauldron-stage[data-gf-state="playing"] .cauldron-cover {
  display: none;
}

.stage-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.68) saturate(1.1);
  transform: scale(1.04);
  z-index: -2;
}

.stage-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--bg) 28%, transparent) 12%, color-mix(in srgb, var(--bg) 92%, transparent) 96%);
  z-index: -1;
}

.tavern-launcher {
  background: color-mix(in srgb, var(--bg-cottage) 88%, transparent);
  backdrop-filter: blur(12px);
  border: 2px solid color-mix(in srgb, var(--lilac) 52%, var(--border));
  border-radius: 16px;
  box-shadow: 0 18px 46px color-mix(in srgb, var(--bg) 80%, transparent), inset 0 1px 0 color-mix(in srgb, var(--text) 14%, transparent);
  padding: 20px 24px;
  max-width: 468px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.launcher-live-tag {
  display: inline-flex;
  align-items: center;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  color: var(--lime);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--lime) 42%, var(--border));
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.launcher-thumb-frame {
  border: 2px solid color-mix(in srgb, var(--gold) 55%, var(--border));

  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;

  box-shadow: 0 8px 20px color-mix(in srgb, var(--bg) 65%, transparent);
}

.launcher-thumb {
  width: 248px;
  height: 155px;
  object-fit: cover;
}

.launcher-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mode-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--surface-alt) 85%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
}

.btn-play-hero {
  width: 100%;
  min-height: 62px;
  margin: 16px 0 12px;
  padding: 14px 28px;
  background: var(--lime);
  color: var(--parchment-ink);
  border: 2px solid var(--lime);
  border-bottom: 6px solid var(--lime-bevel);
  border-radius: 12px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--lime) 28%, transparent);
  font-family: "Silkscreen", monospace;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-play-hero:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--lime) 38%, transparent);
}

.btn-play-hero:active {
  transform: translateY(2px);
}

.launcher-note,
.p-cta-subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Cauldron Loader */
.cauldron-loader {
  position: absolute;

  inset: 0;
  z-index: 3;
  display: none;
  flex-direction: column;

  align-items: center;
  justify-content: center;
  background: var(--bg-cottage);
  text-align: center;
  padding: 24px;
}

.cauldron-stage[data-gf-state="loading"] .cauldron-loader {
  display: flex;
}

.loader-cauldron-art {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
}

.pot-rim {
  position: absolute;
  top: 26px;
  left: 10px;
  width: 52px;
  height: 10px;
  background: var(--lilac);
  border-radius: 5px;
}

.pot-body {
  position: absolute;
  top: 34px;
  left: 14px;
  width: 44px;
  height: 30px;
  background: var(--surface-alt);
  border: 3px solid var(--lilac);
  border-radius: 6px 6px 18px 18px;
}

.pot-body::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 4px;
  right: 4px;
  height: 6px;
  background: var(--lime);
  border-radius: 3px;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--lime);

  animation: cauldronBubble 1.4s infinite ease-in-out;
}

.b1 { width: 10px; height: 10px; left: 20px; top: 14px; animation-delay: 0s; }
.b2 { width: 8px; height: 8px; left: 34px; top: 8px; background: var(--lilac); animation-delay: 0.35s; }
.b3 { width: 9px; height: 9px; left: 44px; top: 16px; animation-delay: 0.7s; }

@keyframes cauldronBubble {
  0%, 100% { transform: translateY(4px) scale(0.85); opacity: 0.6; }
  50% { transform: translateY(-6px) scale(1.1); opacity: 1; }
}

.loader-title {
  font-family: "Silkscreen", monospace;
  font-size: 16px;
  color: var(--lime);
  margin-bottom: 6px;
}

.loader-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* Stage Dock */
.stage-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.dock-left,
.dock-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--surface-alt);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.dock-btn:hover {
  border-color: var(--lilac);
  color: var(--text);
}

.dock-btn[data-gf-liked],
.dock-btn[aria-pressed="true"] {
  border-color: var(--lime);
  color: var(--lime);
}

.dock-count {

  font-family: "Silkscreen", monospace;
  font-size: 12px;
  color: var(--gold);
}

.dock-btn-lab {

  background: var(--bg-cottage);
  border-color: var(--teal);
  color: var(--lime);
}

.dock-btn-lab:hover {
  border-color: var(--lime);
  color: var(--gold);
}

.dock-share-msg {
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
}

/* 3-Step Core Loop (3-Column Desktop Tavern Cards -> Stacked Mobile) */
.loop-strip-section {
  padding: 20px 0 48px;
}

.loop-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.loop-step-row {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-top: 4px solid var(--lime);
  border-radius: 14px;
  box-shadow: var(--shadow-bevel);
  padding: 20px 22px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.loop-step-row:nth-child(2) {
  border-top-color: var(--lilac);
}

.loop-step-row:nth-child(3) {

  border-top-color: var(--gold);
}

.loop-step-row:hover {
  transform: translateY(-2px);
  border-color: var(--lilac);
}

.loop-big-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  background: var(--bg-cottage);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: "Silkscreen", monospace;
  font-size: 16px;
  line-height: 1;
  color: var(--lime);
}

.loop-step-row:nth-child(2) .loop-big-num {
  color: var(--lilac);
}

.loop-step-row:nth-child(3) .loop-big-num {
  color: var(--gold);
}

.loop-step-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.loop-step-copy h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  color: var(--text);
}

.loop-step-copy p {
  margin: 0;
  flex-grow: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.loop-step-foot {
  display: inline-block;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  color: var(--text-muted);
}

/* Warm Candlelit Parchment Scroll Section */
.parchment-section {
  padding: 12px 0 52px;
}

.parchment-scroll {
  background: var(--parchment);
  color: var(--parchment-ink);
  border: 3px solid var(--parchment-border);
  border-radius: 16px;
  box-shadow: var(--shadow-bevel);
  padding: 28px;
}

.parchment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.parchment-kicker {
  display: inline-block;
  font-family: "Silkscreen", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--parchment-ink);
  opacity: 1;
  margin-bottom: 6px;
}

.parchment-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--parchment-ink);
}

.parchment-head p {
  margin: 0;
  max-width: 66ch;
  color: var(--parchment-ink);
  opacity: 1;
  font-size: 16px;
}

.btn-parchment-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  background: var(--parchment-ink);
  color: var(--lime);
  border: 2px solid var(--parchment-ink);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-parchment-cta:hover {
  color: var(--gold);
}

.brews-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.brew-vial-card {

  background: var(--parchment);
  border: 2px solid var(--parchment-border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.brew-vial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--parchment-ink) 16%, transparent);
}

.vial-meta {

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.brew-vial-card.is-primordial {
  background: var(--bg-cottage);
  color: var(--parchment);
  border-color: var(--gold);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--bg) 35%, transparent);
}

.vial-tier-name {
  font-weight: 800;
  font-size: 16px;
}

.vial-pts {
  font-family: "Silkscreen", monospace;
  font-size: 20px;
  color: var(--parchment-ink);
}

.brew-vial-card.is-primordial .vial-pts {
  color: var(--gold);
}

.vial-example {
  font-size: 14px;
  line-height: 1.45;
  color: var(--parchment-ink);
  opacity: 1;
}

.brew-vial-card.is-primordial .vial-example {
  color: var(--text-soft);
  opacity: 1;
}

.parchment-rules-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--parchment);
  border: 2px solid var(--parchment-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--parchment-ink);
}

.parchment-rules-bar code {
  background: var(--parchment-ink);
  color: var(--lime);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

/* Gallery */
.gallery-section {
  padding: 0 0 52px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.gallery-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-card {
  margin: 0;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: var(--bg-cottage);
}

.gallery-featured figcaption {
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.6;
}

.gallery-compact {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
}

.gallery-compact img {
  height: 100%;

  border-bottom: 0;
  border-right: 2px solid var(--border);
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 2px solid var(--border);
}

.gallery-card figcaption {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-soft);
}

.gallery-card figcaption strong {
  color: var(--text);
}

/* Editorial Layout & Prose */
.editorial-section {
  padding: 0 0 56px;
}

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

.prose-card {
  min-width: 0;

  overflow-wrap: break-word;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
  padding: 32px;
}

.prose-card h2 {
  margin: 56px 0 16px;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--gold);
}

.prose-card p,
.prose-card li {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 68ch;
}

.prose-card p {
  margin: 0 0 16px;
}

.prose-card ul,
.prose-card ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.prose-card li {
  margin-bottom: 8px;
}

.prose-card strong {
  color: var(--text);
}

.prose-card code {
  background: var(--bg);
  color: var(--lime);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 14px;
}

.prose-card blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--bg-cottage);
  border-left: 4px solid var(--lime);
  border-radius: 8px;
}

.prose-card blockquote p:last-child {
  margin-bottom: 0;
}

.prose-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 14px;
  background: var(--bg-cottage);
  border: 2px solid var(--border);
}

.prose-card th,
.prose-card td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.prose-card td:first-child {
  font-weight: 700;
  color: var(--text);
}

.prose-card th {
  background: var(--surface-alt);
  color: var(--gold);
  font-weight: 700;
}

/* Sticky Grimoire Sidebar */
.grimoire-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
  padding: 20px;
}

.sidebar-title {

  margin: 0 0 14px;
  font-size: 20px;
  color: var(--text);
}

.spec-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-dl > div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.spec-dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-dl dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.spec-dl dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.sidebar-links {
  list-style: none;

  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-links a {
  display: block;
  padding: 10px 12px;

  background: var(--bg-cottage);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.sidebar-links a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Inner Hero & Breadcrumbs */
.inner-hero {
  padding: 24px 0 32px;
}

.inner-article-hero {
  padding-bottom: 20px;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;

  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb-nav a {

  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--lime);
}

.tool-hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

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

.inner-h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.2;
  color: var(--text);
}

.inner-lead {
  margin: 0;
  max-width: 68ch;
  font-size: 16px;
  color: var(--text-soft);
}

.btn-back-play {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--parchment-ink);
  border: 2px solid var(--lime);
  border-bottom: 4px solid var(--lime-bevel);
  border-radius: 10px;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-back-play:hover {
  color: var(--parchment-ink);
  filter: brightness(1.06);
}

.related-guide-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.related-card {
  display: block;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
  padding: 18px;
  text-decoration: none;
}

.related-card:hover {
  border-color: var(--lime);
}

.related-card strong {
  display: block;
  font-size: 16px;
  color: var(--lime);
  margin-bottom: 6px;
}

.related-card span {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
}

/* FAQ */
.faq-section {
  padding: 0 0 56px;
}

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  padding: 18px 22px;

  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-family: "Silkscreen", monospace;
  font-size: 16px;
  color: var(--lime);
  flex-shrink: 0;
}

.faq-card[open] .faq-question::after {
  content: "−";
  color: var(--lilac);
}

.faq-answer {
  padding: 0 22px 18px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  margin: 14px 0 0;
  color: var(--text-soft);
  max-width: 70ch;
}

/* Comments */
.comments-section {
  padding: 0 0 64px;
}

.comments-box {
  background: var(--surface);

  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
  padding: 28px;
}

.comments-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.comments-head h2 {
  margin: 0;
  font-size: 24px;
  color: var(--text);
}

.comment-counter {
  font-family: "Silkscreen", monospace;
  font-size: 13px;
  color: var(--gold);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 8px;
}

.comments-intro {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 15px;
}

.tavern-comment-form {
  margin-bottom: 24px;
}

.reply-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-cottage);
  border: 1px solid var(--lilac);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

.tavern-comment-form[data-gf-replying] .reply-banner {
  display: flex;
}

.btn-cancel-reply {
  background: transparent;
  color: var(--lilac);
  border: 1px solid var(--lilac);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
}

.comment-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.comment-inputs input,

.comment-inputs textarea {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}

.comment-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-submit-comment {
  min-height: 46px;
  padding: 10px 20px;
  background: var(--lime);
  color: var(--parchment-ink);
  border: 2px solid var(--lime);
  border-bottom: 4px solid var(--lime-bevel);
  border-radius: 10px;
  font-family: "Silkscreen", monospace;

  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.comment-status {
  font-size: 14px;
  color: var(--lime);
}

.tavern-comment-list {
  display: flex;

  flex-direction: column;
  gap: 12px;
}

.empty-comment-hint {
  display: none;
  margin: 0;
  padding: 16px;
  background: var(--bg-cottage);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.tavern-comment-list[data-gf-empty] .empty-comment-hint {
  display: block;
}

.comment-item {
  background: var(--bg-cottage);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.comment-item[data-gf-owner] {

  border-color: var(--gold);
}

.comment-meta {
  display: flex;

  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.comment-meta strong {
  color: var(--text);
  font-size: 14px;
}

.owner-pill {
  background: var(--gold);
  color: var(--parchment-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

.reply-to-pill {
  color: var(--lilac);
  font-weight: 600;
}

.comment-body {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 15px;
  white-space: pre-wrap;
}

.btn-reply-inline {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--lilac);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.comment-replies {
  margin-top: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer */
.cottage-footer {
  background: var(--bg);
  border-top: 2px solid var(--border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-desc {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 44ch;
}

.footer-heading {
  font-family: "Silkscreen", monospace;
  font-size: 13px;
  color: var(--gold);

  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

/* Editorial Meta Bar (placed before media queries so 640px stacking wins cleanly) */
.editorial-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  background: var(--bg-cottage);
  border: 1px solid var(--border);
  border-left: 4px solid var(--lime);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-soft);
}

.editorial-meta-bar strong {
  color: var(--text);
}

/* /how-to-play 3-Prompt Interactive Rules Warm-Up (compact <= 280px, subordinate to H1) */
.rules-drill-card {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bevel);
}

.rules-drill-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.rules-drill-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  color: var(--text);
}

.rules-drill-mode {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-cottage);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.drill-mode-btn {
  min-height: 32px;
  padding: 4px 10px;
  background: transparent;
  color: var(--text-soft);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.drill-mode-btn.is-active {
  background: var(--lime);
  color: var(--parchment-ink);
}

.rules-drill-prompt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-cottage);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
}

.drill-step-badge {
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  color: var(--lilac);
}

.drill-prompt-text {
  font-size: 16px;
  color: var(--text);
}

.drill-score-pill {
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  color: var(--gold);
}

.rules-drill-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rules-drill-form input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;

  min-height: 44px;
  padding: 8px 14px;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

.rules-drill-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-drill-submit,
.btn-drill-next {
  width: auto;
  min-width: 120px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-drill-submit {
  background: var(--lime);
  color: var(--parchment-ink);
  border: 2px solid var(--lime);
  border-bottom: 3px solid var(--lime-bevel);
}

.btn-drill-next {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.rules-drill-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.drill-chips-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.drill-sample-btn {
  min-height: 32px;
  padding: 3px 10px;
  background: var(--bg-cottage);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.drill-sample-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.rules-drill-verdict {
  padding: 8px 12px;
  background: var(--bg-cottage);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}

.rules-drill-verdict strong {
  color: var(--text);
}

.rules-drill-verdict code {
  background: var(--bg);
  color: var(--lime);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

/* Compact 5-Tier Visual Rhythm Ribbon for long inner prose pages */
.prose-tier-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
  padding: 12px;
  background: var(--bg-cottage);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.tier-chip-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.tier-chip-mini span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

.tier-chip-mini strong {
  font-family: "Silkscreen", monospace;
  font-size: 13px;
  color: var(--lime);
}

.tier-chip-mini.is-top {
  border-color: var(--gold);
}

.tier-chip-mini.is-top strong {
  color: var(--gold);
}

/* Responsive Breakpoints */

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }

  .loop-timeline {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-hero-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .brews-tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .parchment-rules-bar {
    grid-template-columns: 1fr;
  }
  .gallery-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .editorial-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .grimoire-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
  .btn-play-nav {
    display: none;
  }
  .hero-cottage {
    padding: 14px 0 24px;
  }
  .inner-hero {
    padding: 8px 0 18px;
  }
  .breadcrumb-nav {
    margin-bottom: 4px;
    font-size: 12px;
    gap: 6px;
  }
  .tool-hero-head {
    gap: 4px;
    margin-bottom: 10px;
  }
  .tool-hero-head .pixel-kicker {
    display: none;
  }
  .tool-hero-head .inner-h1 {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 4px;
  }
  .tool-hero-head .inner-lead {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tool-hero-head .btn-back-play {
    display: none;
  }
  .mobile-only-launch {
    display: inline-flex;
  }
  .stage-topbar {
    gap: 6px;
    margin-bottom: 12px;
  }
  .stage-h1 {
    font-size: 30px;
  }
  .inner-h1 {
    font-size: 24px;
    margin-bottom: 6px;
  }
  .inner-lead {
    font-size: 14px;
    line-height: 1.5;
  }
  .stage-tagline {
    font-size: 14px;
  }
  .cauldron-stage {
    aspect-ratio: auto;
    min-height: 0;
  }
  .cauldron-stage[data-gf-state="loading"],
  .cauldron-stage[data-gf-state="playing"] {
    min-height: 540px;
  }
  .cauldron-cover {
    position: relative;
    padding: 12px;
  }
  .tavern-launcher {
    max-width: 100%;
    padding: 16px 14px;
    border-radius: 12px;
  }
  .launcher-live-tag {
    font-size: 12px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .launcher-thumb {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .launcher-pills {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
  }
  .mode-sep {
    display: none;
  }
  .mode-pill {
    font-size: 12px;
    padding: 4px 10px;
  }
  .btn-play-hero {
    font-size: 16px;
    min-height: 54px;
    margin: 14px 0 10px;
    padding: 12px 16px;
  }
  .stage-dock {
    flex-direction: column;
    align-items: stretch;

    padding: 10px;
    gap: 8px;
  }
  .dock-left {
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .dock-left .dock-btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 12px;
  }
  .dock-right {
    width: 100%;
    flex-direction: column;
  }
  .dock-right .dock-btn {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }
  .loop-step-row {
    padding: 16px;
  }
  .brews-tier-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .brew-vial-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    text-align: left;
    gap: 12px;

    padding: 12px 14px;
  }
  .vial-svg {
    width: 38px;
    height: 38px;
  }
  .vial-meta {
    align-items: flex-start;
    gap: 2px;
  }
  .vial-tier-name {
    font-size: 15px;
  }
  .vial-example {
    font-size: 14px;
    line-height: 1.45;
  }
  .rules-drill-card {
    margin-top: 24px;
    padding: 14px 16px;
  }
  .rules-drill-card .pixel-kicker {
    display: none;
  }
  .rules-drill-form {
    flex-direction: column;
    align-items: flex-start;
  }
  .rules-drill-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .btn-drill-submit,
  .btn-drill-next {
    width: auto;
    min-width: 120px;
    padding: 10px 20px;
  }
  .prose-tier-ribbon {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .vial-pts {
    font-size: 17px;
  }
  .btn-parchment-cta {
    width: 100%;
    justify-content: center;
  }
  .gallery-compact {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-compact img {
    border-right: 0;
    border-bottom: 2px solid var(--border);
  }
  .editorial-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .meta-sep {
    display: none;
  }
  .related-guide-strip,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .parchment-scroll,
  .prose-card,
  .comments-box {
    padding: 18px 14px;
  }
  .prose-card table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Skill-Driven Polish: Inline SVG Icons, Quick Tester, Editorial Meta & Form Labels */
.ui-ico {
  display: inline-block;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

.prose-card a:visited {
  color: var(--lilac);
}

.prose-card a:visited:hover {
  color: var(--gold);
}

.parchment-quick-tester {

  margin-top: 18px;
  padding: 16px 18px;
  background: var(--parchment);
  border: 2px solid var(--parchment-border);
  border-radius: 10px;
  color: var(--parchment-ink);
}

.quick-brew-form {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(240px, 1fr);
  gap: 14px;
  align-items: end;
}

.quick-brew-label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  color: var(--parchment-ink);
  margin-bottom: 6px;
}

.quick-brew-row {
  display: flex;
  gap: 8px;
}

.quick-brew-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--parchment);
  color: var(--parchment-ink);
  border: 2px solid var(--parchment-ink);
  border-radius: 8px;
  font-size: 15px;
}

.quick-brew-row input:focus {

  outline: 2px solid var(--parchment-ink);
  outline-offset: 1px;
}

.btn-quick-brew {
  min-height: 44px;
  padding: 8px 14px;
  background: var(--parchment-ink);
  color: var(--lime);
  border: 2px solid var(--parchment-ink);
  border-radius: 8px;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-quick-brew:hover {
  filter: brightness(1.18);
}

.quick-brew-verdict {
  min-height: 44px;
  padding: 10px 12px;
  background: var(--parchment);
  border: 1px solid var(--parchment-border);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--parchment-ink);
}

.quick-brew-verdict a {
  color: var(--parchment-ink);
  font-weight: 800;
  text-decoration: underline;
}

.qb-badge {
  display: inline-block;
  font-family: "Silkscreen", monospace;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 5px;
  margin-right: 4px;
}

.qb-trap { background: var(--parchment-ink); color: var(--gold); }
.qb-murk { background: var(--surface-alt); color: var(--text); }
.qb-bubb { background: var(--teal); color: var(--parchment-ink); }
.qb-glow { background: var(--lime); color: var(--parchment-ink); }
.qb-ench { background: var(--surface); color: var(--lilac); }
.qb-prim { background: var(--parchment-ink); color: var(--lime); border: 1px solid var(--gold); }

.pack-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--parchment-border);
}

.pack-chip-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--parchment-ink);
}

.pack-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  background: var(--parchment);
  color: var(--parchment-ink);

  border: 1.5px solid var(--parchment-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pack-chip:hover {
  background: var(--parchment-ink);
  color: var(--lime);
  border-color: var(--parchment-ink);
}

.comment-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.field-optional {
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .quick-brew-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .quick-brew-row {
    flex-wrap: wrap;
  }
  .btn-quick-brew {
    width: 100%;
  }
}
