/* guide page additions */
.guide { max-width: 860px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }

.guide-hero { margin-bottom: 4rem; }
.guide-hero .sign-tonkotsu { font-size: clamp(3rem, 8vw, 6.4rem); }
.guide-hero .hero-sub { margin-top: 1.2rem; }

.gsection { margin-bottom: 3.8rem; }
.gtitle {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex; align-items: baseline; gap: 0.9rem;
}
.gnum {
  font-weight: 900; color: transparent;
  -webkit-text-stroke: 1.5px var(--magenta);
  font-size: 1.2em;
}
.gsub {
  font-family: var(--display); font-weight: 700;
  font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan);
  margin: 2rem 0 0.7rem;
}
.gsection p { color: var(--ink-dim); font-size: 0.92rem; margin-bottom: 0.9rem; max-width: 70ch; }
.gsection p code, .gsection li code {
  color: var(--gold); background: var(--panel);
  padding: 0.1em 0.4em; border-radius: 3px; font-size: 0.85em;
}

.swatches {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem; margin: 1.4rem 0 1.6rem;
}
.swatch {
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel);
  padding: 0.8rem; display: flex; flex-direction: column; gap: 0.4rem;
}
.swatch .chip {
  height: 46px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.08);
}
.swatch code { font-size: 0.78rem; color: var(--ink); }
.swatch em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }

.type-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.2rem; }
.type-list li {
  border-left: 2px solid var(--line); padding-left: 1.1rem;
  color: var(--ink-dim); font-size: 0.88rem;
}
.type-list strong { display: block; color: var(--ink); font-size: 1.25rem; margin-bottom: 0.15rem; }

pre {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.1rem 1.3rem;
  overflow-x: auto; margin: 1rem 0 1.4rem;
}
pre code {
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.65;
  color: var(--cyan); background: none; padding: 0;
}

.pass-list, .recipe { list-style: none; counter-reset: item; display: flex; flex-direction: column; gap: 1rem; }
.pass-list li, .recipe li {
  counter-increment: item;
  position: relative;
  padding: 0.2rem 0 0.2rem 3rem;
  color: var(--ink-dim); font-size: 0.9rem; max-width: 72ch;
}
.pass-list li::before, .recipe li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute; left: 0; top: 0.15rem;
  font-family: var(--display); font-weight: 900; font-size: 1.5rem;
  color: transparent; -webkit-text-stroke: 1.2px var(--cyan);
}
.pass-list strong, .recipe em { color: var(--ink); }
.recipe em { font-style: normal; color: var(--gold); }

.guide-foot { margin-top: 4rem; text-align: center; }

@media (max-width: 560px) {
  .swatches { grid-template-columns: repeat(2, 1fr); }
}
