/* Grundlage, Schriften und Knöpfe stehen in vs-gemeinsam.css. */

.vsg .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Besitzerleiste */
.vsg-own {
  background: #3a2a14;
  border-bottom: 1px solid rgba(232, 165, 75, 0.3);
  font-size: 15px;
}
.vsg-own .wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}
.vsg-own .sp {
  flex: 1;
}

/* Bühne mit Titel und Kaufknöpfen */
.vsg-stage {
  position: relative;
  min-height: 520px;
  background: #000 center 35% / cover;
  display: flex;
  align-items: flex-end;
}
.vsg-stage:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(15, 13, 10, 0.95) 0%,
      rgba(15, 13, 10, 0.8) 36%,
      rgba(15, 13, 10, 0.1) 66%,
      rgba(15, 13, 10, 0) 100%
    ),
    linear-gradient(0deg, var(--bg) 0%, rgba(15, 13, 10, 0) 30%);
}
.vsg-stage .wrap {
  position: relative;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 30px;
}
.vsg-bild {
  display: none;
}
.vsg-crumb {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.vsg-crumb a {
  text-decoration: none;
  color: var(--text);
}
.vsg-stage h1 {
  font-size: 54px;
  line-height: 1.04;
  max-width: 600px;
}
.vsg-by {
  margin-top: 12px;
  font-size: 17px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}
.vsg-by b {
  color: var(--text);
}
.vsg-status {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid rgba(232, 165, 75, 0.5);
  color: var(--ak);
  font-size: 14.5px;
  font-weight: 700;
}
.vsg-pitch {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
  margin: 16px 0 22px;
}
.vsg-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.vsg-cta small {
  flex-basis: 100%;
  color: var(--dim);
  font-size: 14px;
}

/* Bilderleiste */
.vsg-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 6);
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 235, 221, 0.28) transparent;
  padding-bottom: 10px;
}
.vsg-strip::-webkit-scrollbar {
  height: 6px;
}
.vsg-strip::-webkit-scrollbar-track {
  background: transparent;
}
.vsg-strip::-webkit-scrollbar-thumb {
  background: rgba(243, 235, 221, 0.28);
  border-radius: 3px;
}
.vsg-strip:hover::-webkit-scrollbar-thumb {
  background: rgba(243, 235, 221, 0.45);
}
.vsg-strip::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.vsg-strip button {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16/9;
}
.vsg-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vsg-strip i {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(11, 9, 7, 0.85);
  font: 700 12.5px 'VS Alegreya';
  padding: 1px 7px;
  border-radius: 5px;
  font-style: normal;
  color: var(--text);
}

/* Steckbrief und Schlagwörter */
.vsg-eck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  margin-top: 38px;
  padding-bottom: 48px;
}
.vsg-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 18px;
  margin: 0;
  font-size: 16.5px;
}
.vsg-facts dt {
  color: var(--dim);
}
.vsg-facts dd {
  margin: 0;
}
.vsg-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-content: flex-start;
}
.vsg-tags span {
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  font-size: 14px;
  color: var(--muted);
}
.vsg-tags span {
  transition: border-color 0.15s;
}

/* Inhalt */
.vsg-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  padding-top: 52px;
}
.vsg-sec + .vsg-sec {
  margin-top: 60px;
}
.vsg-sh {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.vsg-sh h2 {
  font-size: 30px;
}
.vsg-sh span {
  font-size: 14px;
  color: var(--dim);
}
.vsg-txt p,
.vsg-txt li {
  color: #e6d9c3;
}
.vsg-txt p {
  margin: 0 0 14px;
}
.vsg-txt h3 {
  font-size: 22px;
  margin: 24px 0 8px;
}
.vsg-txt img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Bildpaar und Editor-Hinweis */
.vsg-paar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.vsg-paar figure {
  margin: 0;
}
.vsg-paar img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
  display: block;
  background: #000;
}
.vsg-paar figcaption {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 6px;
}
.vsg-try {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  gap: 12px 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 16px;
  color: var(--muted);
}
.vsg-try a {
  color: var(--yel);
  font-weight: 700;
  margin-left: auto;
  text-decoration: none;
}

/* Neuigkeiten */
.vsg-nh a {
  margin-left: auto;
  font-weight: 700;
  color: var(--ak);
  text-decoration: none;
  font-size: 16px;
}
.vsg-feat {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s;
}
.vsg-feat:hover,
.vsg-small:hover {
  border-color: var(--line2);
}
.vsg-feat .im {
  background: #000 center/cover;
  min-height: 280px;
}
.vsg-feat .tx {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.vsg-feat h3 {
  font-size: 25px;
  line-height: 1.2;
}
.vsg-feat p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vsg-feat .more {
  margin-top: auto;
  font-weight: 700;
  color: var(--ak);
}
.vsg-nmeta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.vsg-nmeta .dt {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
.vsg-src {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9fc3e0;
  border: 1px solid rgba(159, 195, 224, 0.35);
  border-radius: 999px;
  padding: 1px 9px;
}
.vsg-draft {
  color: var(--ak);
  font-weight: 700;
  font-size: 13.5px;
}
.vsg-older {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.vsg-small {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-decoration: none;
  align-items: center;
}
.vsg-small.nopic {
  grid-template-columns: minmax(0, 1fr);
}
.vsg-small .im {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: #000 center/cover;
}
.vsg-small h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-top: 3px;
}
.vsg-drafts {
  margin: 14px 0 0;
  padding: 10px 14px;
  border: 1px dashed rgba(232, 165, 75, 0.45);
  border-radius: 10px;
  font-size: 15px;
  color: var(--muted);
}
.vsg-drafts b {
  color: var(--ak);
  font-weight: 700;
}
.vsg-drafts a {
  color: var(--text);
  text-decoration: none;
}
.vsg-drafts a:hover {
  color: var(--ak);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vsg-dc {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--ak);
  text-decoration: none;
}
.vsg-feat h3,
.vsg-small h3 {
  transition: color 0.15s;
}
.vsg-feat:hover h3,
.vsg-small:hover h3 {
  color: var(--ak);
}
.vsg-feat:hover .more {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.vsg-feat .im,
.vsg-small .im {
  transition: filter 0.2s;
}
.vsg-feat:hover .im,
.vsg-small:hover .im {
  filter: brightness(1.08);
}

/* Über das Spiel, eingeklappt */
.vsg-about {
  position: relative;
  max-height: 420px;
  overflow: hidden;
}
.vsg-about.open {
  max-height: none;
}
.vsg-about:not(.open):after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg), rgba(15, 13, 10, 0));
}
.vsg-more {
  margin-top: 12px;
}
.vsg-ai {
  font-size: 14px;
  color: var(--dim);
}

/* Seitenleiste */
.vsg-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vsg-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
}
.vsg-box h3 {
  font-size: 19px;
  margin: 0 0 10px;
}
.vsg-links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  text-decoration: none;
}
.vsg-links a:first-child {
  border-top: 0;
}
.vsg-links a span {
  color: var(--dim);
}
.vsg details summary {
  cursor: pointer;
  font:
    600 19px 'VS Fraunces',
    Georgia,
    serif;
  list-style: none;
}
.vsg details summary::-webkit-details-marker {
  display: none;
}
.vsg details summary:after {
  content: ' \25BE';
  color: var(--dim);
  font-size: 15px;
}
.vsg details ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15.5px;
}
.vsg-links a {
  transition: color 0.15s;
}
.vsg-links a:hover {
  color: var(--ak);
}
.vsg-links a:hover span {
  color: var(--muted);
}

/* Fuß */
.vsg-own2 {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 24px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 30px;
  color: var(--muted);
  font-size: 15.5px;
}
.vsg-own2 b {
  color: var(--text);
}
.vsg-own2 .vs {
  color: var(--yel);
  font-weight: 700;
  text-decoration: none;
}
.vsg-own2 .rep {
  color: var(--dim);
  font-size: 14.5px;
}

/* Unterstreichen beim Überfahren */
.vsg-crumb a:hover,
.vsg-own2 .rep a:hover,
.vsg-own2 .vs:hover,
.vsg-try a:hover,
.vsg-nh a:hover,
.vsg-dc:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Schmale Bildschirme */
@media screen and (max-width: 900px) {
  .vsg .wrap {
    padding: 0 16px;
  }
  .vsg-own .hide {
    display: none;
  }
  .vsg-stage {
    min-height: 0;
    display: block;
    background: none !important;
  }
  .vsg-stage:before {
    display: none;
  }
  .vsg-bild {
    display: block;
    aspect-ratio: 16/10;
    background: #000 center 35% / cover;
  }
  .vsg-stage .wrap {
    padding-top: 16px;
    padding-bottom: 22px;
  }
  .vsg-stage h1 {
    font-size: 34px;
  }
  .vsg-pitch {
    font-size: 18px;
  }
  .vsg-cta .btn {
    flex: 1 1 100%;
  }
  .vsg-strip {
    grid-auto-columns: 42%;
  }
  .vsg-eck {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 28px;
  }
  .vsg-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 40px;
  }
  .vsg-sh h2 {
    font-size: 25px;
  }
  .vsg-paar {
    grid-template-columns: minmax(0, 1fr);
  }
  .vsg-try a {
    margin-left: 0;
  }
  .vsg-feat {
    grid-template-columns: minmax(0, 1fr);
  }
  .vsg-feat .im {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .vsg-feat .tx {
    padding: 18px;
  }
  .vsg-older {
    grid-template-columns: minmax(0, 1fr);
  }
  .vsg-own2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Großansicht */
.vsg-lb {
  --text: #f0e6d4;
  --muted: #b3a48c;
  --dim: #8a7c67;
  --ak: #e8a54b;
  --line2: rgba(240, 230, 212, 0.28);
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #060504;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top, 0px));
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  overscroll-behavior: contain;
}
.vsg-lb .stage {
  position: relative;
  width: min(1280px, 100% - 170px);
  display: flex;
  justify-content: center;
}
.vsg-lb .in {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  touch-action: pan-y pinch-zoom;
}
.vsg-lb img,
.vsg-lb iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  display: block;
}
.vsg-lb .rb {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(24, 20, 15, 0.9);
  border: 1px solid var(--line2);
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s;
}
.vsg-lb .rb:hover,
.vsg-lb .rb:focus-visible {
  border-color: var(--ak);
  color: var(--ak);
  outline: none;
}
.vsg-lb .rb svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.vsg-lb .x {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  z-index: 2;
}
.vsg-lb .side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.vsg-lb .side.p {
  left: -78px;
}
.vsg-lb .side.n {
  right: -78px;
}
.vsg-lb .bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.vsg-lb .bar .rb {
  display: none;
}
.vsg-lb .cnt {
  font:
    600 19px 'VS Fraunces',
    Georgia,
    serif;
  color: var(--muted);
}
.vsg-lb .cnt b {
  color: var(--ak);
  font-weight: 600;
}
.vsg-lb .note {
  margin: 0;
  max-width: 60ch;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}
.vsg-lb .hint {
  display: none;
  margin: -4px 0 0;
  font:
    italic 400 15px 'VS Alegreya',
    Georgia,
    serif;
  color: var(--dim);
}
@media (pointer: coarse), (max-width: 700px) {
  .vsg-lb {
    padding-left: 16px;
    padding-right: 16px;
    gap: 16px;
  }
  .vsg-lb .stage {
    width: 100%;
  }
  .vsg-lb .side {
    display: none;
  }
  .vsg-lb .bar .rb {
    display: flex;
  }
}
@media (pointer: coarse) {
  .vsg-lb .hint {
    display: block;
  }
}
@media (max-height: 500px) {
  .vsg-lb {
    flex-direction: row;
    gap: 12px;
    padding: 10px 70px 10px 10px;
  }
  .vsg-lb .stage {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    height: calc(100vh - 20px);
    height: calc(100dvh - 20px);
  }
  .vsg-lb .in {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }
  .vsg-lb .side {
    display: none;
  }
  .vsg-lb .bar {
    flex-direction: column;
    gap: 10px;
  }
  .vsg-lb .bar .rb {
    display: flex;
    width: 48px;
    height: 48px;
  }
  .vsg-lb .cnt {
    font-size: 16px;
  }
  .vsg-lb .hint,
  .vsg-lb .note {
    display: none !important;
  }
}
