/* Glossary + poses rooms — yoga.org house (cream / gold / Iowan). */
.lib-hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 42vh; background: #111;
}
.lib-hero img.plate {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.lib-hero .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,8,6,.78) 0%, rgba(10,8,6,.28) 55%, transparent 80%),
    linear-gradient(transparent 30%, rgba(10,8,6,.88) 100%);
}
.lib-hero .bill {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: 96px 18px 36px;
}
.lib-hero .kicker {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700; margin: 0 0 10px;
}
.lib-hero h1 {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 600; letter-spacing: -.03em; margin: 0 0 10px;
}
.lib-hero .lead { margin: 0 0 18px; max-width: 28em; color: rgba(255,255,255,.88); }
.lib-search {
  display: flex; gap: 10px; max-width: 520px;
}
.lib-search input {
  flex: 1; min-width: 0; font: inherit; padding: 12px 14px;
  border: 0; border-radius: 12px; background: #fffdf8; color: #1c1916;
}
.lib-main { max-width: 1180px; margin: 0 auto; padding: 28px 18px 72px; }
.lib-main h2 {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.25rem; font-weight: 600; margin: 8px 0 14px;
}
.lib-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px;
}
.lib-filters a, .lib-filters button {
  appearance: none; cursor: pointer; text-decoration: none;
  font: 650 13px/1 Inter, system-ui, sans-serif;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.lib-filters a.is-on, .lib-filters button.is-on {
  border-color: var(--gold); background: #f7efe0; color: var(--gold);
}
.lib-letters {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px;
}
.lib-letters a {
  min-width: 2em; text-align: center; text-decoration: none;
  font: 650 12px/1 Inter, system-ui, sans-serif;
  padding: 8px 6px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
}
.lib-letters a.is-on { border-color: var(--gold); color: var(--gold); }
.lib-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 560px) { .lib-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .lib-grid { grid-template-columns: 1fr 1fr 1fr; } }
.lib-card {
  text-decoration: none; color: inherit; display: block;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 16px 14px;
}
.lib-card:hover { border-color: var(--gold-soft); }
.lib-card .sk {
  display: block; font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.05rem; color: var(--gold); margin: 0 0 4px;
}
.lib-card b {
  display: block; font-size: 16px; font-weight: 650; margin: 0 0 6px;
}
.lib-card .meta { font-size: 13px; color: var(--muted); }
.lib-card p {
  margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 36em;
}
.empty { color: var(--muted); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.lib-wrap {
  max-width: 1180px; margin: 0 auto; padding: 22px 18px 72px;
}
.lib-crumb { font-size: 13px; margin: 0 0 14px; }
.lib-crumb a { color: var(--muted); text-decoration: none; font-weight: 650; }
.lib-title {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.18;
  margin: 0 0 8px;
}
.lib-sans {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--gold); margin: 0 0 8px;
}
.lib-meta { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.lib-audio {
  margin: 0 0 22px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.lib-audio figcaption {
  font-size: 12px; font-weight: 750; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 8px;
}
.lib-audio audio { width: 100%; max-width: 420px; display: block; }
.lib-block {
  margin: 0 0 22px; padding: 18px 18px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.lib-block h2, .lib-below h2 {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.15rem; font-weight: 600; margin: 0 0 10px;
}
.lib-block ol, .lib-block ul { margin: 0; padding: 0 0 0 1.15em; }
.lib-block li { margin: 0 0 8px; max-width: 44em; }
.lib-block p { margin: 0 0 10px; max-width: 44em; }
.lib-block p:last-child { margin-bottom: 0; }
.lib-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.lib-chip {
  display: inline-block; font-size: 12px; font-weight: 650;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); text-decoration: none;
}
.lib-chip:hover { border-color: var(--gold); color: var(--gold); }
.lib-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.lib-share button {
  appearance: none; cursor: pointer; font: 650 13px/1 Inter, system-ui, sans-serif;
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
}
.lib-share button:hover { border-color: var(--gold); color: var(--gold); }
.lib-pose-links {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width: 560px) { .lib-pose-links { grid-template-columns: 1fr 1fr; } }
.lib-pose-links a {
  text-decoration: none; color: inherit;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 12px; padding: 12px 14px;
}
.lib-pose-links a:hover { border-color: var(--gold-soft); }
.lib-pose-links b { display: block; }
.lib-pose-links span { font-size: 13px; color: var(--gold); }
.lib-below { margin: 28px 0 0; padding-top: 8px; }

/* Visitor wait — determinate bar, honest time, finished empty */
.week-wait { margin: 0; }
.week-wait-status { margin: 0 0 10px !important; max-width: none; }
.week-wait-time { margin: 8px 0 0 !important; font-size: 14px; color: var(--muted); }
.week-wait-visit { margin: 12px 0 0 !important; }
.week-wait-track {
  height: 10px;
  border-radius: 999px;
  background: #efe6d4;
  overflow: hidden;
}
.week-wait-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transition: width 0.2s linear;
}
.st-classes { list-style: none; margin: 0; padding: 0; }
.st-classes li {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.st-classes li:last-child { border-bottom: 0; }
.st-classes time { display: block; font-size: 13px; color: var(--muted); }
.st-classes b { display: block; font-weight: 650; margin-top: 2px; }

.week-wait[data-wait-done] .week-wait-track,
.week-wait[data-wait-done] .week-wait-time { display: none; }
