:root {
  color-scheme: light;
  --ink: #20232a;
  --muted: #545d69;
  --line: #e2e4e6;
  --accent: #825000;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    1rem/1.6 Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  overflow-wrap: anywhere;
}
.wrap {
  width: min(100% - 2.5rem, 55rem);
  margin-inline: auto;
}
a {
  color: #15569a;
  text-underline-offset: 0.17em;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #0967ca;
  outline-offset: 3px;
}
a:hover {
  text-decoration: underline;
}
.masthead {
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.masthead nav,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li + li::before {
  content: '/';
  color: var(--muted);
  margin-right: 0.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  border-radius: 9px;
}
.skip {
  position: absolute;
  background: white;
  padding: 0.5rem;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
main {
  padding-block: clamp(2rem, 6vw, 4rem);
}
h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: pretty;
  color: var(--ink);
}
h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: 1.55rem;
}
h3 {
  font-size: 1.13rem;
}
.hero {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}
.hero > div {
  min-width: 0;
}
.cover {
  display: block;
  width: clamp(9rem, 21vw, 15rem);
  height: auto;
  aspect-ratio: 24/25;
  object-fit: cover;
  border-radius: 1rem;
}
.intro {
  margin-block: 0.8rem;
  color: var(--muted);
  font-size: 1.12rem;
}
.meta,
.actions,
.codes,
.pages {
  display: flex;
  gap: 0.55rem 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.meta,
time,
.rating {
  font-size: 0.9rem;
  color: var(--muted);
}
.directory-head {
  margin-bottom: 1.8rem;
}
.prose {
  max-width: 72ch;
  font-size: 1.07rem;
  line-height: 1.75;
}
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.65em 0 0.45em;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0.75em 0;
}
.prose pre {
  white-space: pre-wrap;
  padding: 0.85rem;
  background: #f3f4f4;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose blockquote {
  margin-inline: 0;
  padding-left: 1.1rem;
  border-left: 3px solid #e6b342;
}
.section {
  margin-top: 2.5rem;
}
.section > h2 {
  margin: 0 0 0.85rem;
}
.guide-list,
.places {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-list li,
.places li {
  border-top: 1px solid var(--line);
}
.guide-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}
.guide-card:hover {
  text-decoration: none;
}
.guide-card:hover h2,
.guide-card:hover h3 {
  text-decoration: underline;
}
.guide-card img {
  object-fit: cover;
  border-radius: 0.7rem;
  flex-shrink: 0;
}
.guide-card h2,
.guide-card h3 {
  margin: 0;
  font-size: 1.16rem;
}
.guide-card p,
.places p {
  margin: 0.3rem 0;
  color: var(--muted);
}
.places li {
  padding: 0.8rem 0;
}
.venue {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.venue strong {
  color: #15569a;
  text-decoration: underline;
}
.venue img {
  object-fit: cover;
  border-radius: 0.55rem;
  flex-shrink: 0;
}
.closed {
  margin-left: 0.5rem;
  color: #a02225;
  font-weight: 650;
}
.rating {
  margin-left: 0.5rem;
}
.get-app {
  margin-top: 2rem;
  padding: 1.45rem;
  border-radius: 1rem;
  background: #fff3d4;
  color: #3a2a12;
}
.get-app h2,
.get-app p {
  margin: 0 0 0.65rem;
}
.actions a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border: 1px solid #b39760;
  border-radius: 0.5rem;
  background: #fff;
  color: #49320b;
  font-weight: 650;
  text-decoration: none;
}
.actions a:hover,
summary:hover {
  text-decoration: underline;
}
.scan {
  margin-top: 1rem;
}
.scan summary {
  cursor: pointer;
  color: var(--accent);
}
.codes figure {
  margin: 0.7rem 0 0;
  text-align: center;
}
.codes img {
  display: block;
  width: 7.5rem;
  height: auto;
}
.pages {
  margin-top: 1.6rem;
  gap: 0.35rem;
}
.pages a,
.pages strong {
  min-width: 2.4rem;
  padding: 0.35rem 0.7rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
}
.pages strong {
  color: #412e00;
  background: #fff0bf;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 2rem);
  }
  .hero {
    flex-direction: column-reverse;
    align-items: start;
  }
  .cover {
    width: 100%;
    max-height: 19rem;
    aspect-ratio: 3/2;
  }
  .hero > a {
    width: 100%;
  }
  .guide-card {
    gap: 0.8rem;
    align-items: start;
  }
  .guide-card img {
    width: 4.7rem;
    height: 5.2rem;
  }
  .scan {
    display: none;
  }
}
