/* Schriften */

@font-face {
  font-family: 'VS Fraunces';
  src: url(/media/CMS/5/Navi/vs-fraunces-600.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'VS Alegreya';
  src: url(/media/CMS/5/Navi/vs-alegreya-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'VS Alegreya';
  src: url(/media/CMS/5/Navi/vs-alegreya-700.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* Grundgerüst */

.vse {
  --bg: #120f0b;
  --card: #1d1813;
  --card2: #241e17;
  --line: rgba(243, 235, 221, 0.11);
  --line2: rgba(243, 235, 221, 0.22);
  --text: #f3ebdd;
  --muted: #b9ac96;
  --dim: #8f836e;
  --yel: #ffd34c;
  --amb: #e9a24f;
  --ok: #9fd27a;
  --red: #e5484d;
  background: var(--bg);
  color: var(--text);
  font:
    400 17px/1.55 'VS Alegreya',
    'Segoe UI',
    sans-serif;
  padding: 40px 0 80px;
  min-height: 80vh;
}
.vse * {
  box-sizing: border-box;
}
.vse [hidden] {
  display: none !important;
}
.vse h1,
.vse h2,
.vse h3 {
  font-family: 'VS Fraunces', Georgia, serif;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}
.vse .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Knöpfe */

.vse .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font:
    700 16px 'VS Alegreya',
    sans-serif;
  text-decoration: none;
  border: 1px solid var(--line2);
  color: var(--text);
  background: rgba(243, 235, 221, 0.05);
  cursor: pointer;
}
.vse .btn:hover {
  background: rgba(243, 235, 221, 0.1);
}
.vse .btn.y {
  background: var(--yel);
  border-color: var(--yel);
  color: #1a1408;
}
.vse .btn.sm {
  padding: 8px 14px;
  font-size: 15px;
  border-radius: 8px;
}
.vse .btn[disabled] {
  opacity: 0.45;
  cursor: default;
}

/* Seitenkopf und Anmeldehinweis */

.vse-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.vse-top h1 {
  font-size: 36px;
}
.vse-top p {
  color: var(--muted);
  margin: 6px 0 0;
  max-width: 62ch;
}
.vse-pick {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.vse-gate {
  max-width: 640px;
}

/* Reiter Spielseite und Neuigkeiten */

.vse-rtabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: 6px 0 22px;
}
.vse-rtabs a {
  position: relative;
  padding: 10px 18px;
  font:
    700 16px 'VS Alegreya',
    sans-serif;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.vse-rtabs a:hover {
  color: var(--text);
}
.vse-rtabs a.on {
  color: var(--text);
  border-bottom-color: var(--yel);
}
.vse-rtabs a span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 0 8px;
}
.vse-rtabs a.dirty:after {
  content: '';
  position: absolute;
  top: 9px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amb);
}

/* Meldungen und Hinweise */

.vse-note {
  font-size: 14px;
  color: var(--dim);
  margin: 0;
}
.vse-msg {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15.5px;
  margin: 0 0 16px;
  border: 1px solid var(--line2);
  background: var(--card);
}
.vse-msg.err {
  border-color: rgba(229, 72, 77, 0.6);
}
.vse-msg.ok {
  border-color: rgba(159, 210, 122, 0.5);
}

/* Spielseite: Abschnitte und Felder */

.vse-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}
.vse-sec {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.vse-sec h3 {
  font-size: 21px;
  margin: 0 0 4px;
}
.vse-hint {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 16px;
  max-width: 66ch;
}
.vse-f {
  margin-bottom: 16px;
}
.vse-f:last-child {
  margin-bottom: 0;
}
.vse-f > label,
.vse-lab {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 6px;
}
.vse-f > label span,
.vse-lab span {
  font-weight: 400;
  color: var(--dim);
  font-size: 14px;
}
.vse-under {
  font-size: 14px;
  color: var(--dim);
  margin: 6px 0 0;
}
.vse input[type='text'],
.vse input[type='url'],
.vse textarea,
.vse select {
  width: 100%;
  background: #0f0c09;
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 10px 13px;
  color: var(--text);
  font:
    400 16.5px 'VS Alegreya',
    sans-serif;
}
.vse textarea {
  min-height: 110px;
  line-height: 1.5;
  resize: vertical;
}
.vse input:focus,
.vse textarea:focus,
.vse .rt:focus {
  outline: 2px solid var(--yel);
  outline-offset: 1px;
}
.vse-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.vse-two .vse-f {
  margin-bottom: 0;
}
.vse-import {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vse-import input {
  flex: 1;
  min-width: 220px;
}
.vse-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  margin-bottom: 12px;
  color: #e9dcc6;
  cursor: pointer;
}
.vse-check input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: #ffd34c;
  flex: none;
}
.vse-check small {
  display: block;
  color: var(--dim);
  font-size: 14px;
}

/* Auswahl-Chips und Sprachreiter */

.vse-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vse-ch {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  font: 15px 'VS Alegreya';
  color: var(--muted);
  background: none;
  cursor: pointer;
}
.vse-ch.on {
  border-color: var(--yel);
  color: var(--text);
  background: rgba(255, 211, 76, 0.1);
}
.vse-ch.on:before {
  content: '\2713  ';
  color: var(--yel);
}
.vse-tabs {
  display: inline-flex;
  border: 1px solid var(--line2);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 10px;
}
.vse-tabs button {
  background: none;
  border: 0;
  color: var(--muted);
  font: 700 14.5px 'VS Alegreya';
  padding: 6px 14px;
  cursor: pointer;
}
.vse-tabs button.on {
  background: var(--card2);
  color: var(--text);
}

/* Texteditor */

.rtbar {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.rtbar {
  flex-wrap: wrap;
}
.rtbar button {
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  font: 700 13.5px 'VS Alegreya';
  padding: 3px 10px;
  cursor: pointer;
}
.rtbar label {
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  font: 700 13.5px 'VS Alegreya';
  padding: 3px 10px;
  cursor: pointer;
}
.rt {
  min-height: 160px;
  background: #0f0c09;
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  line-height: 1.55;
}
.rt h3 {
  font-size: 20px;
  margin: 10px 0 6px;
}
.rt p {
  margin: 0 0 10px;
}

/* Bilder der Spielseite */

.vse-media {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.vse-m {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.vse-m img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vse-m .tag {
  position: absolute;
  left: 6px;
  top: 6px;
  background: rgba(18, 15, 11, 0.88);
  font: 700 12.5px 'VS Alegreya';
  padding: 1px 8px;
  border-radius: 5px;
}
.vse-m .acts {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: flex;
  gap: 4px;
}
.vse-m .acts button {
  background: rgba(18, 15, 11, 0.88);
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: 6px;
  font: 700 13px 'VS Alegreya';
  padding: 1px 8px;
  cursor: pointer;
}
.vse-m.new {
  outline: 2px dashed var(--amb);
  outline-offset: -2px;
}
.vse-add {
  border: 1.5px dashed var(--line2);
  border-radius: 8px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}

/* Spielseite: Seitenleiste mit Vorschau und Stand */

.vse-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vse-prev {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.vse-prev img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #000;
}
.vse-prev div {
  padding: 11px 14px 14px;
}
.vse-prev b {
  display: block;
  font-size: 16.5px;
}
.vse-prev small {
  color: var(--dim);
  font-size: 14px;
}
.vse-noimg {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0c09;
  color: var(--dim);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.vse-noimg[hidden] {
  display: none;
}
.vse-todo {
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.vse-todo b {
  font-size: 15.5px;
}
.vse-todo .ok {
  color: var(--ok);
}
.vse-todo .no {
  color: var(--amb);
}

/* Neuigkeiten: Liste */

.nl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nl-head h2 {
  font-size: 26px;
  margin-right: auto;
}
.nl-steam {
  background: var(--card);
  border: 1px solid rgba(233, 162, 79, 0.45);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 15.5px;
  color: var(--muted);
}
.nl-steam p {
  margin: 0;
}
.nl-steam b {
  color: var(--text);
}
.nl-srow {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.nl-srow .im {
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: #000 center/cover;
}
.nl-srow b {
  display: block;
  font-size: 16px;
  line-height: 1.3;
}
.nl-srow small {
  color: var(--dim);
  font-size: 14px;
}
.nl-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nl-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.nl-row .im {
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: #0f0c09 center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 12.5px;
}
.nl-row b {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}
.nl-row .m {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 14px;
  color: var(--dim);
}
.pill {
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 9px;
  border: 1px solid;
}
.pill.on {
  color: #1a1206;
  background: #e8a54b;
  border-color: #e8a54b;
}
.pill.off {
  color: var(--muted);
  border-color: var(--line2);
}
.pill.st {
  color: #e9d6b4;
  border-color: rgba(232, 165, 75, 0.45);
}
.nl-acts {
  display: flex;
  gap: 8px;
}

/* Neuigkeiten: Formular */

.nf-back {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nf-back:hover {
  color: var(--text);
}
.nf-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
  margin-top: 12px;
}
.nf-side {
  position: sticky;
  top: 110px;
}
.nf-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nf-box h4 {
  margin: 0;
  font:
    600 17px 'VS Fraunces',
    Georgia,
    serif;
  color: var(--text);
}
.nf-box .nf-info {
  margin: 0 0 6px;
}
.nf-box .btn {
  width: 100%;
}
.nf-link {
  background: none;
  border: 0;
  color: var(--muted);
  font:
    400 14.5px 'VS Alegreya',
    sans-serif;
  cursor: pointer;
  padding: 6px 0 0;
  text-align: center;
}
.nf-link:hover {
  color: var(--text);
  text-decoration: underline;
}
.nf-link.del {
  color: #d98a7a;
}
.vse-cover {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.vse-cover img,
.vse-cover .vse-noimg {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
  display: flex;
}
.vse-cover label.btn {
  cursor: pointer;
}
.vse-n-rt {
  min-height: 260px;
  max-height: 70vh;
  overflow: auto;
}
.vse-n-rt img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 8px 0 12px;
}
.vse-n-rt ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

/* Neuigkeiten: Vorschau (liegt direkt in body, außerhalb von .vse) */

.vse-pv {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 5, 4, 0.95);
  overflow: auto;
  padding: 30px 16px;
}
.vse-pv-in {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 26px 28px;
  position: relative;
}
.vse-pv-x {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  color: var(--text);
  font: 700 30px/1 sans-serif;
  cursor: pointer;
}
.vse-pv h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 8px 0;
}
.vse-pv-dt {
  color: var(--dim);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vse-pv-dt span {
  color: #e9d6b4;
}
.vse-pv-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin: 14px 0 20px;
}
.vse-pv-body img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0 20px;
  display: block;
}
.vse-pv-body h3 {
  font-size: 24px;
  margin: 28px 0 10px;
}
.vse-pv-body p,
.vse-pv-body li {
  color: #e6d9c3;
}

/* Schmale Bildschirme */

@media screen and (max-width: 760px) {
  .nl-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .nl-acts {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }
  .nl-srow {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .nl-srow .btn {
    grid-column: 2;
    justify-self: start;
  }
  .nf-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .nf-side {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 50;
    background: var(--bg);
    padding: 10px max(16px, env(safe-area-inset-right, 0px))
      max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
  }
  #vse-pane-news .nf-cols {
    padding-bottom: 130px;
  }
  .nf-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    background: none;
    border: 0;
  }
  .nf-box h4,
  .nf-box .nf-info {
    display: none;
  }
  .nf-box .nf-link {
    padding: 2px 0 0;
  }
  .vse-cover {
    grid-template-columns: minmax(0, 1fr);
  }
  .vse-rtabs a {
    padding: 10px 12px;
  }
}
@media screen and (max-width: 900px) {
  .vse {
    padding-top: 24px;
  }
  .vse .wrap {
    padding: 0 16px;
  }
  .vse-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .vse-aside {
    position: static;
  }
  .vse-prev {
    display: none;
  }
  .vse-two {
    grid-template-columns: minmax(0, 1fr);
  }
  .vse-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vse-sec {
    padding: 18px 16px;
  }
  .vse-top h1 {
    font-size: 28px;
  }
}
