:root {
  --f-head: "Source Serif 4", Georgia, serif;
  --f-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-2: 1.0625rem;
  --file-width: 69rem;
}

html[data-theme="dark"] {
  --paper: #101b26;
  --card: #152331;
  --edition: #152331;
  --ink: #ece3cf;
  --ink-soft: #d1c8b7;
  --heading: #f3ead6;
  --navy: #101b26;
  --header: #0b141d;
  --header-ink: #f3ead6;
  --footer: #0b141d;
  --gold: #d9a63e;
  --gold-deep: #d9a63e;
  --link: #f0c674;
  --rule: #3a4a5a;
  --focus: #f0c674;
  --button: #d9a63e;
  --button-hover: #edba55;
  --button-ink: #101b26;
  --menu-border: #8996a3;
}

body { font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.55; }
main h1, main h2, main h3, main h4 { font-family: var(--f-head); color: var(--heading); }
main h1 { margin-block: 0 .38em; line-height: 1.04; }
main h2 { line-height: 1.18; }
main .answer { font: inherit; line-height: 1.48; margin-block: .35rem .9rem; }
.section-banner { display: none; }
main > .wrap { max-inline-size: var(--file-width); }
.file-kicker {
  color: var(--gold-deep);
  margin: .65rem 0 .38rem;
  font: 700 .82rem/1.35 var(--f-body);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.hero-copy .hero-kicker { display: none; }
main figure img, .secret-order-art img { filter: sepia(.25); }
.secret-story > p:first-of-type::first-letter {
  float: inline-start;
  color: var(--gold-deep);
  font: 700 3em/.86 var(--f-head);
  margin: .12em .13em 0 0;
}
.secret-rule,
.secret-case,
.secret-buy {
  border: 0;
  border-block: 1px solid var(--rule);
  padding-block: .75rem;
  margin-block: .85rem;
}
.secret-case h2, .secret-buy h2 { margin-block: 0 .5rem; }
.secret-buy .btn { width: fit-content; max-inline-size: 100%; }
.secret-buy .small, .secret-buy .disclosure { margin: .45rem 0 0; }
.secret-buy-links { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: .55rem 0 0; }
.secret-buy-links a { text-underline-offset: .16em; }
.secret-buy-links a + a::before { content: ""; }
.secret-book { display: block; }
.secret-book .book-intro { display: block; }
.secret-book .hero-band { display: block; margin: 0; }
.secret-book .hero-figure { margin: 0 0 .5rem; }
.secret-book .hero-figure img { inline-size: 100%; block-size: clamp(8rem, 26vw, 20rem); object-fit: cover; }
.secret-book .hero-figure figcaption { margin-block: .2rem 0; }
.secret-book .book-sidebar { width: auto; border: 0; padding-inline: 0; }
.secret-book .book-main { max-inline-size: 48rem; }
.secret-book .book-main > .prose,
.secret-book .book-main > section { max-inline-size: 100%; }
.secret-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.15rem;
  padding: .4rem 0;
  margin: .3rem 0 0;
  border-block-start: 1px solid var(--rule);
  color: var(--gold-deep);
  font-weight: 650;
}
.secret-facts p { margin: 0; }
.secret-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1.1rem;
  margin: .7rem 0;
  font-size: .9375rem;
}
.secret-nav button { font: inherit; color: var(--link); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.secret-nav a, .secret-nav button { min-block-size: 1.5rem; }
.secret-home .hero { padding-block: clamp(1rem, 4vw, 3rem); }
.secret-home .hero { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,22rem),1fr)); align-items: center; gap: 1.25rem; }
.secret-home .hero-copy { max-inline-size: 39rem; }
.secret-date { color: var(--gold-deep); font: 700 clamp(1.6rem,3.5vw,2.6rem)/1.15 var(--f-head); margin-block: .25rem .65rem; }
.secret-home h1 { font-size: clamp(2.7rem, 7vw, 5.1rem); }
.secret-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 0 1.5rem;
  padding: 0;
  margin: .5rem 0 1rem;
  list-style: none;
}
.secret-grid li { border-block-start: 1px solid var(--rule); padding: .62em 0; min-inline-size: 0; }
.secret-grid a { display: inline-block; font: 700 clamp(1.2rem, 2vw, 1.67rem)/1.2 var(--f-head); }
.secret-order .hero-band { display: block; margin: 0; }
.secret-order .booklist { max-inline-size: none; }
.secret-order .booklist > li {
  display: grid;
  grid-template-columns: 2rem minmax(3.5rem, 8rem) minmax(0, 1fr);
  gap: .35rem .9rem;
  padding: .8rem 0;
  border-block-start: 1px solid var(--rule);
  border-block-end: 0;
  border-radius: 0;
}
.secret-order .booklist > li .num { text-align: start; font: 700 1.7rem/1 var(--f-head); }
.secret-order .booklist > li .reading-shops { grid-column: 3; }
.secret-order .booklist .meta { font: 650 .9rem/1.45 var(--f-body); color: var(--gold-deep); }
.secret-order .booklist h3 { font-size: 1.32rem; }
.secret-order-art { aspect-ratio: 4 / 3; }
.secret-order-art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.secret-order-extra .site-art { max-inline-size: 34rem; margin: .6rem 0; }
.secret-print { display: none; }
.secret-languages { margin-block: .5rem 1rem; font-size: .9rem; }
.secret-languages a { padding-block: .15rem; }
.secret-languages { grid-column: 1 / -1; }
.secret-languages > a { display: inline-block; min-block-size: 1.5rem; }
main :is(li, dt, th, td, nav) > a { display: inline-block; min-block-size: 1.5rem; min-inline-size: 1.5rem; }
.site-header .wrap { max-inline-size: 90rem; height: auto; }
.site-header .nav { flex-wrap: wrap; }
.site-header .nav > a { font-family: var(--f-body); font-size: .875rem; }
.site-header .search-form { margin-inline-start: auto; }
.site-header .search-form input { font-family: var(--f-body); }
.site-header .menu-panel { flex: 1 1 auto; }
.site-header .menu-panel .search-form { color: var(--header-ink); }
html[data-theme="dark"] .btn.secondary, html[data-theme="dark"] .btn.ghost {
  color: var(--link);
  border-color: var(--menu-border);
  background: transparent;
}
html[data-theme="dark"] :is(.catalogue-card, .route, .ed, .safety, .card, .book-card) {
  border-color: var(--rule);
  box-shadow: none;
}
html[data-theme="dark"] .site-footer { background: var(--footer); }

html body .dydq-consent:not([hidden]) {
  inset-inline: auto max(.5rem, env(safe-area-inset-right));
  inset-block-end: max(.5rem, env(safe-area-inset-bottom));
  inline-size: min(21rem, calc(100% - 1rem));
  max-block-size: 30vh;
  gap: .5rem;
  padding: .65rem;
  margin: 0;
  background: var(--header);
  color: var(--header-ink);
  border-color: var(--menu-border);
  font-size: .875rem;
}
html body .dydq-consent button { min-inline-size: 0; min-block-size: 2.5rem; padding: .35rem .5rem; }
html body .dydq-consent-actions { gap: .35rem; }

@media (max-width: 759px) {
  body { font-size: 1rem; line-height: 1.45; }
  .site-header .wrap { display: grid; grid-template-columns: minmax(0,1fr) auto auto; min-height: 0; gap: .24rem .45rem; padding-block: .28rem; }
  .site-header .wordmark { font-size: .85rem; }
  .site-header .wordmark img { width: 32px; height: 32px; }
  .site-header .appearance { margin-inline-start: 0; }
  .site-header .appearance select { max-width: 6.2rem; }
  .site-header .menu-panel .search-form { margin: .5rem 0 0; }
  .site-header .menu-panel .nav { flex-direction: column; gap: .2rem; align-items: stretch; }
  .site-header .menu-panel .nav > a { font-size: 1rem; }
  .site-header .menu-panel .search-form input { flex: 1 1 auto; width: auto; }
  main h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  body main > .wrap { padding-top: .35rem; }
  main .crumbs { padding-top: .25rem; }
  .secret-order .hero-band, .secret-book .hero-band { padding-block: .15rem .4rem; }
  .secret-order .booklist > li, .secret-book .secret-buy { padding-block: .55rem; }
  .secret-order .secret-buy { margin-block: .4rem; padding-block: .4rem; }
  .secret-order .secret-nav { margin-block: .32rem; gap: .1rem .65rem; }
  .secret-order .answer { line-height: 1.38; margin-block: .25rem .4rem; }
  .secret-book .hero-figure img { block-size: 7.25rem; }
  .secret-book .hero-figure figcaption { font-size: .72rem; }
  .secret-book .book-intro .byline { font-size: .8rem; }
  .secret-book .book-buy.secret-buy .get-book { padding-block-start: .4rem; }
  .secret-order .booklist > li { grid-template-columns: 1.5rem 3.6rem minmax(0, 1fr); gap: .3rem .55rem; }
  .secret-order .booklist > li .reading-shops { grid-column: 3; }
  .secret-order .booklist h3 { font-size: 1.18rem; }
  .secret-order .booklist p { font-size: 1rem; }
  .secret-order .secret-order-art { aspect-ratio: 4 / 5; }
  html[lang="de"] main details > summary { min-block-size: 1.5rem; padding-block: .125rem; }
  main #thrilling-cities .card-shops > a { display: inline-block; min-block-size: 1.5rem; min-inline-size: 1.5rem; }
  html body .dydq-consent:not([hidden]) {
    inset-inline: 0;
    inset-block-end: 0;
    inline-size: 100%;
    max-inline-size: none;
    max-block-size: 120px;
    border-radius: 0;
    padding: .35rem max(.65rem, env(safe-area-inset-right))
      max(.35rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
    gap: .25rem;
    line-height: 1.28;
  }
  html body .dydq-consent p { flex-basis: 100%; }
  html body .dydq-consent-actions { flex: 0 1 auto; }
  html body .dydq-consent button { min-block-size: 2rem; }
}

@media print {
  html:has(.secret-print), html:has(.secret-print) body { background: white !important; color: black !important; }
  body:has(.secret-print) > :not(main), main:has(.secret-print) > .wrap > :not(.secret-print) { display: none !important; }
  .secret-print { display: block; font: 12pt/1.4 system-ui, sans-serif; }
  .secret-print h2 { color: black; font: bold 17pt/1.2 var(--f-head); }
  .secret-print li { margin-block: .32cm; break-inside: avoid; }
  .secret-print li::before { content: "☐"; margin-inline-end: .42cm; }
}
