@font-face {
  font-family: Geist;
  src: url('/fonts/geist.woff2') format('woff2');
  font-weight: 400 750;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Text";
  src: url('/fonts/dm-serif-text.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #ffe8de;
  --panel: #fff8f4;
  --raised: #f7d5cd;
  --text: #33202b;
  --muted: #62434e;
  --edge: #d9afb3;
  --accent: #812d49;
  --focus: #a52d54;
  --wine: #4b1b32;
  --cream: #fff5eb;
  --display: "DM Serif Text", Georgia, serif;
  font: 400 1rem/1.62 Geist, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.028em; overflow-wrap: anywhere; }
h1 { font: 400 clamp(2.6rem, 5.25vw, 5rem)/.99 var(--display); text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.35rem); font-weight: 620; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }

.jump {
  position: fixed;
  z-index: 3;
  top: .6rem;
  left: .6rem;
  padding: .5rem .75rem;
  background: var(--accent);
  color: var(--background);
  transform: translateY(-170%);
}
.jump:focus { transform: none; }
.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.7rem, 2.5vw, 2rem);
  padding: .82rem max(1rem, calc((100% - 78rem) / 2));
  background: var(--cream);
  border-bottom: 1px solid var(--edge);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  padding: .1rem .18rem;
  color: var(--text);
  font-size: 1.11rem;
  font-weight: 500;
  letter-spacing: -.044em;
  text-decoration: none;
  white-space: nowrap;
}
.brand strong { font-weight: 720; }
.brand-mark {
  position: relative;
  width: 1.32rem;
  height: 1.32rem;
  border: 3px solid var(--accent);
  border-radius: 50%;
}
.brand-mark::after {
  position: absolute;
  inset: .2rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.masthead nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .18rem; }
.masthead nav a, .help-link {
  display: block;
  padding: .52rem .64rem;
  border: 1px solid transparent;
  border-radius: 99rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 580;
  text-decoration: none;
}
.masthead nav a:hover, .masthead nav a[aria-current] {
  background: var(--raised);
  border-color: var(--edge);
  color: var(--text);
}
.masthead nav a[aria-current] { border-color: var(--accent); }
.help-link { border-color: var(--edge); white-space: nowrap; }
.help-link:hover { border-color: var(--accent); color: var(--accent); }
.help-link span { padding-left: .2rem; }

.workspace {
  width: min(100%, 83rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3.2vw, 2.5rem);
}
.statusbar, .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1rem;
  padding-block: .68rem;
  color: var(--muted);
  font-size: .78rem;
}
.statusbar { justify-content: space-between; border-bottom: 1px solid var(--edge); }
.statusbar span:first-child { color: var(--accent); font-weight: 660; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  grid-template-areas: "headline artwork" "shelf shelf" "intro intro";
  align-items: center;
  column-gap: clamp(.8rem, 3vw, 2.6rem);
  margin-block: .55rem 1.35rem;
  padding: clamp(1rem, 3.2vw, 2.6rem);
  border-radius: 2rem 2rem .75rem .75rem;
  background: var(--wine);
  color: var(--cream);
}
.hero-copy { display: contents; }
.hero h1 { grid-area: headline; max-width: 14ch; padding-block: .65rem; }
.hero .feature-showcase { grid-area: shelf; max-width: none; }
.hero-copy > p {
  grid-area: intro;
  max-width: 76ch;
  margin-top: 1.15rem;
  color: #ffddd2;
}
.page-title > p {
  max-width: 58ch;
  margin-top: 1.1rem;
  color: var(--muted);
}
.hero > figure {
  grid-area: artwork;
  aspect-ratio: 1.9;
  overflow: hidden;
  border-radius: 8rem .85rem .85rem 8rem;
}
.hero > figure img { height: 100%; object-fit: cover; object-position: center 55%; }

.route-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.4rem;
}
.route-panel a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .22rem .55rem;
  align-content: start;
  padding: .82rem 1rem;
  border: 1px solid var(--edge);
  border-radius: .64rem;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}
.route-panel a:hover { border-color: var(--accent); background: var(--raised); }
.route-panel strong { font-size: 1.03rem; font-weight: 650; }
.route-panel p { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }
.route-panel a > span { color: var(--accent); }
.home-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.35rem;
  margin-bottom: 2.1rem;
  padding-block: .75rem;
  border-block: 1px solid var(--edge);
}
.home-picks h2 { font-size: .99rem; }
.home-picks ul { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.home-picks a { font-size: .89rem; font-weight: 610; }

.guide-index { padding-block: .75rem 2.5rem; scroll-margin-top: 1rem; }
.page-title + .guide-index { margin-top: 1.25rem; padding-bottom: .8rem; }
.directory-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
}
.find-label { display: grid; gap: .28rem; color: var(--muted); font-size: .82rem; }
.find-label input {
  min-height: 2.65rem;
  width: min(100%, 16rem);
  padding: .52rem .65rem;
  border: 1px solid var(--edge);
  border-radius: .45rem;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}
.find-label input::placeholder { color: var(--muted); opacity: .88; }
#suchstatus { min-height: 1.15rem; color: var(--accent); font-size: .84rem; }
.guide-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--edge); }
.guide-list li {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: .42rem 1.3rem;
  padding: .82rem 0;
  border-bottom: 1px solid var(--edge);
}
.guide-list a { font-weight: 620; }
.guide-list p { color: var(--muted); font-size: .91rem; }
.game-index .guide-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  border-top: 0;
}
.game-index .guide-list li {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding: .85rem 1rem;
  border: 1px solid var(--edge);
  border-radius: .64rem;
  background: var(--panel);
}
.reading .guide-index { padding-block: .4rem 1.65rem; }

.overview-notes {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: 1.7rem 2.75rem;
  border-top: 1px solid var(--edge);
}
.overview-notes .article { grid-column: 2; grid-row: 1; }
.overview-notes figure { grid-column: 1; grid-row: 1; }
.overview-notes figure, .reading figure {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: .78rem;
}
.page-title { padding-block: clamp(1.55rem, 4vw, 3.8rem) 1.6rem; border-bottom: 1px solid var(--edge); }
.page-title h1 { max-width: 24ch; font-size: clamp(2.4rem, 4.45vw, 4.6rem); }
.page-title p { font-size: clamp(1rem, 1.6vw, 1.18rem); }
.reading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem);
  gap: clamp(1rem, 3.2vw, 3.25rem);
  padding-block: 1.6rem 2.7rem;
}
.reading .article { min-width: 0; max-width: 55rem; }
.reading figure { margin: 0 0 1.55rem; }
.contents {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: .55rem;
  align-self: start;
  min-width: 0;
  padding: .85rem .95rem;
  border: 1px solid var(--edge);
  border-radius: .65rem;
  background: var(--panel);
}
.contents h2 { margin-bottom: .18rem; font-size: 1.05rem; }
.contents a { color: var(--focus); font-size: .83rem; line-height: 1.4; overflow-wrap: anywhere; }
.article section { margin-bottom: 1.55rem; scroll-margin-top: 1rem; }
.article section h2 { max-width: 26ch; margin-bottom: .6rem; }
.article section p { max-width: 72ch; }
.article p + p { margin-top: .7rem; }
.payment-steps { margin: 0; padding-inline-start: 1.4rem; }
.payment-steps li { padding-inline-start: .2rem; margin-block: .42rem; }
.payment-steps li::marker { color: var(--accent); font-weight: 650; }
.article picture { display: block; }
.table-area { overflow: auto; margin: .75rem 0; border: 1px solid var(--edge); border-radius: .5rem; }
table { min-width: 28rem; width: 100%; border-collapse: collapse; text-align: left; font-size: .89rem; }
td, th { padding: .65rem .7rem; vertical-align: top; border-bottom: 1px solid var(--edge); }
thead { color: var(--accent); background: var(--raised); }
tbody th { font-weight: 620; }
tbody tr:last-child > * { border-bottom: 0; }
details.question { padding: .62rem 0; border-bottom: 1px solid var(--edge); }
details.question summary { cursor: pointer; font-weight: 620; }
details.question p { margin-top: .45rem; color: var(--muted); }
.source-list { margin: 0; padding-left: 1.12rem; }
.related { padding-block: 1.65rem 2.55rem; border-top: 1px solid var(--edge); }
.related h2 { margin-bottom: .85rem; }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 1rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: .84rem;
}
.foot nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }

.slot-target { display: block; height: 0; scroll-margin-top: 1rem; }
.slot-filters {
  display: grid;
  gap: .8rem;
  padding-block: 1.15rem;
}
.slot-filters fieldset { margin: 0; padding: 0; min-inline-size: 0; border: 0; }
.slot-filters legend { color: var(--muted); margin-bottom: .4rem; font-size: .86rem; font-weight: 660; }
.slot-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.slot-options a, .slot-reset {
  display: inline-block;
  width: fit-content;
  padding: .3rem .65rem;
  border: 1px solid var(--edge);
  border-radius: .45rem;
  background: var(--panel);
  text-decoration: none;
  font-size: .84rem;
}
.slot-reset { color: var(--background); background: var(--accent); font-weight: 650; }
.slot-options a:hover { background: var(--raised); }
.slot-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  padding-block: .4rem 2rem;
}
.slot-card {
  min-width: 0;
  border: 1px solid var(--edge);
  border-radius: .75rem;
  overflow: hidden;
  background: var(--panel);
}
.slot-card a { display: block; height: 100%; color: var(--text); text-decoration: none; }
.slot-card a:focus-visible { outline-offset: -3px; }
.slot-card a:hover { background: var(--raised); }
.slot-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.slot-card-copy { padding: .8rem .9rem; }
.slot-card h2 { margin-bottom: .35rem; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.15; }
.slot-card-copy p { color: var(--muted); font-size: .86rem; }
.slot-card-copy .slot-facts { margin-top: .4rem; color: var(--accent); }
.slot-notes { padding-block: 1.1rem; }
.slot-reading table { min-width: 0; overflow-wrap: anywhere; }
.slot-reading th:first-child { width: 36%; }
.slot-demo-button {
  margin-block: .75rem;
  padding: .65rem .9rem;
  border: 0;
  border-radius: .55rem;
  color: var(--background);
  background: var(--accent);
  font: inherit;
  font-weight: 680;
  cursor: pointer;
}
.slot-demo-frame iframe {
  display: block;
  width: 100%;
  min-height: 19rem;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--edge);
  border-radius: .65rem;
  background: var(--background);
}
.slot-demo-frame:not(:empty) { margin-bottom: .8rem; }

.feature-showcase {
  margin-top: clamp(1rem, 2.6vw, 1.7rem);
  max-width: 73rem;
  padding: .72rem;
  border: 1px solid var(--edge);
  border-radius: .8rem;
  background: #f5d4cc;
}
.feature-showcase > h2 {
  margin: .12rem .2rem .64rem;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: .02em;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}
.feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: .64rem;
  background: var(--panel);
}
.feature-card:first-child { border-color: var(--accent); }
.feature-card figure, .feature-card picture { display: block; }
.feature-card img { aspect-ratio: 2.7; height: auto; object-fit: cover; }
.feature-card-copy { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; min-width: 0; padding: .62rem .75rem; }
.feature-studio { color: var(--accent); font-size: .7rem; font-weight: 650; }
.feature-card h3 { margin-block: .18rem .31rem; font-size: clamp(1.02rem, 1.7vw, 1.34rem); }
.feature-card h3 a { color: var(--text); text-decoration: none; }
.feature-card h3 a:hover { text-decoration: underline; }
.feature-card .feature-fact { color: var(--muted); font-size: .74rem; line-height: 1.38; }
.feature-trigger {
  display: inline-block;
  margin-top: .48rem;
  padding: .38rem .62rem;
  border: 0;
  border-radius: .43rem;
  color: var(--background);
  background: var(--accent);
  font: 680 .78rem/1.3 Geist, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.feature-trigger:hover { background: var(--wine); color: var(--cream); }
.feature-popup {
  width: min(31rem, calc(100% - 1.3rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: 1rem;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 18px 100px #30132888;
}
.feature-popup::backdrop { background: #2e1326bd; }
.feature-popup-inner { position: relative; }
.feature-popup figure { background: var(--background); }
.feature-popup figure img { max-height: min(43vh, 18rem); object-fit: cover; }
.feature-close-form { position: absolute; top: .62rem; right: .62rem; }
.feature-close {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 50%;
  color: var(--text);
  background: var(--background);
  font: 500 1.55rem/1 Geist, Arial, sans-serif;
  cursor: pointer;
}
.feature-popup-copy { padding: clamp(.9rem, 3.5vw, 1.45rem); }
.feature-popup-copy > * + * { margin-top: .48rem; }
.feature-popup-copy h2 { font-size: clamp(1.65rem, 4vw, 2.65rem); }
.feature-popup-copy > p:not(.feature-studio) { color: var(--muted); font-size: .9rem; }
.feature-popup-copy .feature-popup-fact strong { color: var(--accent); }
.feature-popup-copy > .feature-trigger { margin-top: .8rem; padding: .63rem .85rem; font-size: .92rem; }
.feature-popup-copy .feature-popup-note { font-size: .76rem; }

@media (max-width: 800px) {
  .masthead {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .65rem .5rem;
    padding: .65rem 1rem;
  }
  .masthead nav { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .masthead nav a { text-align: center; }
  .route-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .slot-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .feature-card { grid-template-columns: minmax(4.5rem, 25%) minmax(0, 1fr); grid-template-rows: auto; }
  .feature-card figure, .feature-card picture { height: 100%; }
  .feature-card img { height: 100%; aspect-ratio: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "headline" "shelf" "artwork" "intro"; }
  .hero h1 { padding-block: .15rem .4rem; }
  .hero > figure { margin-top: .9rem; aspect-ratio: 2; border-radius: .7rem; }
}
@media (max-width: 690px) {
  .workspace { padding-inline: .9rem; }
  .masthead nav a { padding: .38rem .1rem; font-size: .81rem; }
  .route-panel { margin-bottom: 1.9rem; }
  .route-panel a { padding: .68rem .72rem; }
  .guide-list li, .reading, .overview-notes { grid-template-columns: minmax(0, 1fr); }
  .overview-notes .article, .overview-notes figure { grid-column: auto; grid-row: auto; }
  .contents { position: static; grid-row: 1; display: flex; flex-wrap: wrap; gap: .52rem .9rem; }
  .contents h2 { width: 100%; margin: 0; }
  .find-label, .find-label input { width: 100%; }
}
@media (max-width: 440px) {
  .game-index .guide-list { grid-template-columns: minmax(0, 1fr); }
  .masthead nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .slot-cards { grid-template-columns: minmax(0, 1fr); }
}

