/* ===============================
   Vampire Chronicle – Grundlayout
   =============================== */

:root {
  --bg-dark: #0d0d0d;
  --bg-panel: #1a1a1a;
  --bg-accent: #2b1a1a;
  --text-light: #e5e1dc;
  --text-muted: #a0968a;
  --blood-red: #7b0000;
  --accent-gold: #b89c6e;
  --border-color: #3a2a2a;
  --font-main: 'Crimson Pro', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  /*height: 100%;*/
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  /*overflow: hidden; */
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}



/* =============================================================== HEADER =============================================================== */

#main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 20px;
  background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 2px 5px #000;
}

#header-left img {
  height: 60px;
  width: auto;
  filter: brightness(0.9);
}

#header-center {
  text-align: center;
}

#header-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-shadow: 0 0 5px #000;
}

#header-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

#header-right {
  text-align: right;
  font-size: 14px;
  color: var(--text-muted);
}

/* =============================================================== LAYOUT =============================================================== */

#main-content {
  display: flex;
  height: calc(100vh - 80px);
  min-height: 0;
  overflow: hidden;
}

/* Karte */
#map-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
}

#map-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

#marker-layer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* temporärer Marker an der Klickstelle */
.temp-poi-marker {
    position: absolute;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%);
    background-image: url("../../source/maps/marker/dummy_marker.png");
    background-size: cover;
    z-index: 99999;
    pointer-events: none;
}

/* Editor-Tooltip, optisch wie die vorhandenen POI-Tooltips */
#poi-editor-tooltip {
    position: absolute;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #b89c6e;
    padding: 10px;
    border-radius: 6px;
    color: #e7d9bd;
    width: 260px;
    font-size: 13px;
    display: none; /* WICHTIG: nur bei Klick sichtbar */
    transform: translate(-50%, -100%);
}

#poi-editor-tooltip input,
#poi-editor-tooltip textarea {
    width: 100%;
    margin: 4px 0 6px;
    background: #111;
    color: #e7d9bd;
    border: 1px solid #b89c6e;
    border-radius: 4px;
    padding: 4px;
    font-size: 12px;
}

#poi-editor-tooltip button {
    background: #b89c6e;
    color: #111;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.map-category-button {
  background: #1a1a1a;
  border: 1px solid #b89c6e;
  color: #b89c6e;
  font-size: 12px;
  font-family: 'Crimson Pro', serif;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.2s ease;
}

.map-category-button.active {
  opacity: 1;
  background: #2a2a2a;
}

.map-popup {
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  border: 2px solid #3a2a2a;
  border-radius: 8px;
  background: linear-gradient(180deg, #0f0f0f, #1a1a1a);
  color: #e5e1dc;
  font-family: 'Crimson Pro', serif;
}

.map-popup-title {
  font-weight: bold;
  font-size: 16px;
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(184,156,110,0.6);
}

.map-popup button {
  background: transparent;
  border: 1px solid var(--accent-gold);
  border-radius: 4px;
  color: var(--accent-gold);
  padding: 4px 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-popup img {
  max-width: calc(100% - 40px);
  max-height: calc(100vh - 90px);
  object-fit: contain;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.map-popup button:hover {
  background: var(--accent-gold);
  color: #000;
}

.poi-tooltip {
  background: #111;
  color: #e5e1dc;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #3a2a2a;
  max-width: 280px;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  font-family: 'Crimson Pro', serif;
  font-size: 14px;
  position: absolute;
  z-index: 200;
}

.poi-tooltip h4 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #f5f0e6;
  font-family: 'Crimson Pro', serif;
}

.poi-tooltip .close-tooltip {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #999;
  cursor: pointer;
  font-size: 16px;
}

.poi-tooltip .popup-link {
  margin-top: 8px;
  display: inline-block;
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.poi-tooltip h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: bold;
  color: var(--accent-gold);
  text-shadow: 0 0 4px rgba(184,156,110,0.4);
}

.poi-tooltip .popup-link {
  background: none;
  padding: 4px 6px;
  border: 1px solid #b89c6e;
  color: #b89c6e;
  border-radius: 5px;
  display: inline-block;
  font-size: 13px;
  margin-top: 6px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.poi-tooltip .popup-link:hover {
  background: #b89c6e;
  color: #000;
}

/* =============================================================== Charakter-Leiste (4 Slots + Inventar) =============================================================== */
#character-sidebar {
  width: 183px;
  background-color: var(--bg-panel);
  border-right: 2px solid var(--border-color);
  align-items: center;
  height: calc(100vh - 80px); /* passt zur #main-content-Höhe */
  padding: 10px 4px 10px 10px;
  max-height: 100%;
  overflow-y: auto;
  scrollbar-color: var(--accent-gold) #1a1a1a;
  scrollbar-width: thin;
  padding-right: 4px;
}

.char-slot {
  width: 120px;
  height: 120px;
  margin: 10px 0;
  background-color: #111;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.char-slot:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  cursor: pointer;
}

.char-slot img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================================== Charakterbogen Popup =============================================================== */

#character-sheet-container {
  position: absolute;
  top: 80px;
  left: 0px;
  right: 280px;
  bottom: 0;
  z-index: 200;
  pointer-events: none;
}

.character-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: 800px;
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(180deg, #0d0d0d, #1a1a1a);
  border-left: 2px solid var(--border-color);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.6);
  padding: 20px;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #1a1a1a;
  opacity: 0;
  transform: translateX(100%); /* Start außerhalb */
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.character-sheet.open {
  transform: translateX(0%);
  opacity: 1;
}

.character-sheet.closing {
  transform: translateX(100%);
  opacity: 0;
}

.char-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
}

.char-header-left {
  max-width: 60%;
}

.char-header-left h1 {
  font-size: 28px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.char-meta {
  display: flex;
  gap: 60px;
  margin-top: 10px;
}

.char-meta-left,
.char-meta-right {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  min-width: max-content;
}

.char-meta-left div,
.char-meta-right div {
  font-size: 16px;
  margin-bottom: 4px;
}

.char-header-right {
  text-align: right;
}

.char-portrait {
  width: 140px;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  margin-bottom: 10px;
}

.clan-symbol {
  width: 64px;
  opacity: 0.8;
}

.char-section {
  margin-bottom: 40px;
  border-top: 1px solid var(--border-color);
}

.char-section h2 {
  font-size: 20px;
  color: var(--accent-gold);
  margin-bottom: 10px;
  /*border-bottom: 1px solid var(--border-color);*/
  padding-bottom: 4px;
}

.attribute-group, .skills-group, .adv-group {
  display: flex;
  gap: 20px;
}

.attr-column, .skills-column, .adv-column {
  flex: 1;
}

.attr-entry, .skill-entry, .adv-entry {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 3px 0;
}

.attr-entry .dots,
.skill-entry .dots,
.adv-entry .dots {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.skill-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  margin-bottom: 6px;
  font-size: 16px;
}

.skill-entry .skill-name {
  grid-column: 1;
  grid-row: 1;
  font-weight: normal;
}

.skill-entry .dots {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
}

.skill-entry .specialization {
  grid-column: 1;
  grid-row: 2;
  font-size: 12px;
  color: var(--text-muted, #888);
  font-style: italic;
}

.strikethrough {
  text-decoration: line-through;
  font-weight: bold;
  opacity: 0.5;
}

.block h3 {
  display: block;
  gap: 6px;
  flex-wrap: wrap;
}

.block2 h3 {
  display: block;
  gap: 6px;
  font-size: 18px;
  font-weight:bold;
  flex-wrap: wrap;
}

.block2 {
  margin-bottom: 15px;
}

.char-section .adv-entry span,
.char-section .block span {
  display: inline-block;
  min-width: 100px;
}

.char-section .block .path-name {
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted, #aaa);
  margin-top: 4px;
}

.dual-label {
  white-space: nowrap;
  display: inline;
  font-size: inherit; /* Erbt von h3 */
  font-weight: inherit;
  margin: 0;
  padding: 0;
}

.dual-label span {
  display: inline;
}

.dual-label .slash {
  display: inline;
  margin: 0 4px;
  padding: 0;
  width: auto;
}

.char-section .misc-left ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.char-section.misc {
  display: flex;
  gap: 20px;
}

.misc-left, .misc-center, .misc-right {
  flex: 1;
}

.misc-center .block {
  margin-bottom: 16px;
}

.misc-center .dots {
  color: var(--accent-gold);
  font-size: 16px;
  letter-spacing: 2px;
}

.misc-right ul {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  padding-left: 16px;
}

.misc-right p {
  font-size: 16px;
  margin-top: 8px;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  color: var(--accent-gold);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.clan-symbol-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.clan-symbol {
  width: 160px;
  filter: drop-shadow(0 0 4px #ddd);
  opacity: 0.9;
}

.section-block {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.section-block h2 {
  color: var(--accent-gold);
  font-size: 20px;
  margin-bottom: 10px;
}

.dual-columns, .triple-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.dual-columns .column, .triple-columns .skills-column {
  flex: 1;
  min-width: 260px;
}

.text-columns ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.text-columns li {
  margin: 4px 0;
  color: var(--text-light);
}

.combat-block {
  font-style: italic;
  color: var(--text-muted);
}

.vinculum-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
}

.vinculum-name {
  flex: 1;
  color: var(--text-light);
}

.vinculum-dir {
  width: 20px;
  text-align: center;
  color: var(--accent-gold);
}

.vinculum-entry .dots {
  white-space: nowrap;
}

/* =============================================================== Clan Optik =============================================================== */

.tooltip-base {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid #222;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    padding: 12px;
    color: #e8d6b3;
    z-index: 999999;
}

.clan-tzimisce .tooltip-base {
    background: rgba(20, 8, 8, 0.92);
    border: 1px solid #3b1a1a;
    box-shadow: 0 0 22px rgba(140, 30, 30, 0.45);
    filter: drop-shadow(0 0 8px #360000);
}

.character-sheet.clan-tzimisce .clan-symbol {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 180px;
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 0 10px #000);
}

.character-sheet.clan-tzimisce {
    background: url('../../source/ui/clan/tzimisce_background.jpg') center center no-repeat;
    background-size: cover;
    opacity: 1;
}

.character-sheet.clan-tzimisce .section-block h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-tzimisce .section-block h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/tzimisce_claw_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-tzimisce .section-block h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/tzimisce_claw_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-tzimisce .char-section h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-tzimisce .char-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/tzimisce_claw_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-tzimisce .char-section h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/tzimisce_claw_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-tzimisce .Tzimisce-title {
    position: relative;
    padding-left: 60px;
    display: inline-block;
}

.character-sheet.clan-tzimisce .Tzimisce-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/tzimisce_claw_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-tzimisce .Tzimisce-title .Tzimisce-right {
    display: inline-block;
    width: 52px;
    height: 30px;
    margin-left: 8px;
}

.character-sheet.clan-tzimisce .section-block h3 {
    position: relative;
    padding-top: 10px;
}

.character-sheet.clan-tzimisce .skill-entry:hover,
.character-sheet.clan-tzimisce .adv-entry:hover {
    background: rgba(80, 20, 20, 0.18);
    transition: 0.15s ease;
}

.clan-malkavianer .tooltip-base {
    background: rgba(15, 15, 25, 0.93);
    border: 1px solid #446688;
    box-shadow: 0 0 24px rgba(100, 140, 200, 0.4);
    filter: drop-shadow(0 0 8px #334466);
}

.character-sheet.clan-malkavianer {
    background: url('../../source/ui/clan/malkavian_background.jpg') center center no-repeat;
    background-size: cover;
}

.character-sheet.clan-malkavianer .clan-symbol {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 180px;
    height: auto;
    opacity: 0.75;
    filter: drop-shadow(0 0 10px #000);
}

.character-sheet.clan-malkavianer .section-block h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-malkavianer .section-block h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/malkavian_shard_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-malkavianer .section-block h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/malkavian_shard_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-malkavianer .char-section h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-malkavianer .char-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/malkavian_shard_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-malkavianer .char-section h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/malkavian_shard_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-malkavianer .Malkavianer-title {
    position: relative;
    padding-left: 60px;
    display: inline-block;
    background-image: url("../../source/ui/clan/malkavian_title_background.jpg");
    background-size: cover;
    background-repeat: repeat-x;
    opacity: 0.9;
}

.character-sheet.clan-malkavianer .Malkavianer-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 42px;
    height: 26px;
    background-image: url("../../source/ui/clan/malkavian_shard_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-malkavianer .Malkavianer-title .Malkavianer-right {
    display: inline-block;
    width: 42px;
    height: 26px;
    margin-left: 8px;
}

.character-sheet.clan-malkavianer .section-block h3 {
    position: relative;
    padding-top: 10px;
}

.character-sheet.clan-malkavianer .skill-entry:hover,
.character-sheet.clan-malkavianer .adv-entry:hover {
    background: rgba(60, 80, 120, 0.15);
    transition: 0.15s ease;
}

.clan-gangrel .tooltip-base {
    background: rgba(20, 30, 15, 0.92);
    border: 1px solid #445522;
    box-shadow: 0 0 24px rgba(80, 120, 50, 0.35);
    filter: drop-shadow(0 0 8px #334422);
}

.character-sheet.clan-gangrel {
    background: url('../../source/ui/clan/gangrel_background.jpg') center center no-repeat;
    background-size: cover;
    opacity: 1;
}

.character-sheet.clan-gangrel .clan-symbol {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 180px;
    height: auto;
    opacity: 0.75;
    filter: drop-shadow(0 0 10px #000);
}

.character-sheet.clan-gangrel .section-block h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-gangrel .section-block h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/gangrel_claw_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-gangrel .section-block h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/gangrel_claw_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-gangrel .char-section h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-gangrel .char-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/gangrel_claw_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-gangrel .char-section h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 3px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/gangrel_claw_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-gangrel .Gangrel-title {
    position: relative;
    padding-left: 60px;
    display: inline-block;
    background-image: url("../../source/ui/clan/gangrel_title_background.jpg");
    background-size: cover;
    background-repeat: repeat-x;
    opacity: 0.9;
}

.character-sheet.clan-gangrel .Gangrel-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    width: 42px;
    height: 26px;
    background-image: url("../../source/ui/clan/gangrel_claw_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-gangrel .Gangrel-title .Gangrel-right {
    display: inline-block;
    width: 42px;
    height: 26px;
    margin-left: 8px;
}

.character-sheet.clan-gangrel .section-block h3 {
    position: relative;
    padding-top: 10px;
}

.character-sheet.clan-gangrel .skill-entry:hover,
.character-sheet.clan-gangrel .adv-entry:hover {
    background: rgba(40, 70, 40, 0.15);
    transition: 0.15s ease;
}

.clan-lasombra .tooltip-base {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid #3b3b6d;
    box-shadow: 0 0 24px rgba(60, 60, 120, 0.4);
    filter: drop-shadow(0 0 8px #222244);
}

.character-sheet.clan-lasombra {
    background: url('../../source/ui/clan/lasombra_background.jpg') center center no-repeat;
    background-size: cover;
}

.character-sheet.clan-lasombra .clan-symbol {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 180px;
    height: auto;
    opacity: 0.75;
    filter: drop-shadow(0 0 10px #000);
}

.character-sheet.clan-lasombra .section-block h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-lasombra .section-block h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/lasombra_tentacle_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-lasombra .section-block h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 52px;
    height: 30px;
    background-image: url("../../source/ui/clan/lasombra_tentacle_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-lasombra .char-section h2 {
    position: relative;
    padding-left: 60px;
}

.character-sheet.clan-lasombra .char-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/lasombra_tentacle_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-lasombra .char-section h2::after {
    content: "";
    position: absolute;
    right: 0;
    top: 13px;
    width: 48px;
    height: 26px;
    background-image: url("../../source/ui/clan/lasombra_tentacle_right.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-lasombra .Lasombra-title {
    position: relative;
    padding-left: 60px;
    display: inline-block;
    background-image: url("../../source/ui/clan/lasombra_title_background.jpg");
    background-size: cover;
    background-repeat: repeat-x;
    opacity: 0.9;
}

.character-sheet.clan-lasombra .Lasombra-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 42px;
    height: 26px;
    background-image: url("../../source/ui/clan/lasombra_tentacle_left.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.character-sheet.clan-lasombra .Lasombra-title .Lasombra-right {
    display: inline-block;
    width: 42px;
    height: 26px;
    margin-left: 8px;
}

.character-sheet.clan-lasombra .section-block h3 {
    position: relative;
    padding-top: 10px;
}

.character-sheet.clan-lasombra .skill-entry:hover,
.character-sheet.clan-lasombra .adv-entry:hover {
    background: rgba(40, 40, 80, 0.15);
    transition: 0.15s ease;
}

/* =============================================================== Pfad Optik =============================================================== */

.character-sheet.path-death {
  box-shadow: inset 0 0 80px #220022;
}

.character-sheet.path-death::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background-image: url("../../source/ui/paths/death_runes.png");
  background-size: contain;
  opacity: 0.15;
}

/* =============================================================== rechte Charakter-/NPC-Liste =============================================================== */

#all-character-list {
  width: 130px;
  background-color: var(--bg-panel);
  border-left: 2px solid var(--border-color);
  padding: 10px 6px 10px 6px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  scrollbar-color: var(--accent-gold) #1a1a1a;
  scrollbar-width: thin;
}

.charlist-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.charlist-section h3 {
  font-size: 14px;
  margin: 8px 0 4px 0;
  text-align: center;
  color: var(--accent-gold);
}

.charlist-content .char-entry {
  width: 100%;
  max-width: 120px;
  background-color: #111;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  box-sizing: border-box;
}

.charlist-content .char-entry.clickable {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.charlist-content .char-entry.clickable:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 6px rgba(184,156,110,0.5);
  transform: translateY(-1px);
}

.char-entry-image {
  width: 100%;
  max-width: 120px;
  display: block;
  border-radius: 4px;
  margin-bottom: 3px;
}

.char-entry-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.char-entry-location {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================================== NPC-SHEET =============================================================== */

#npc-sheet-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none; /* wichtig! UI bleibt benutzbar */
    z-index: 5000;
}

/* Der NPC-Bogen selbst */
.npc-sheet {
    pointer-events: auto; /* wieder aktiv */
    position: absolute;
    left: 0px;
    top: 80px;
    width: 650px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;

    background: rgba(8, 8, 8, 0.94);
    border: 1px solid rgba(184,156,110,0.45);
    border-radius: 8px;
    padding: 20px 24px;
    color: #ddd;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(15px);
    transition: opacity .25s ease, transform .25s ease;
}

.npc-sheet.open {
    opacity: 1;
    transform: translateY(0px);
}

.npc-close-btn {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    transition: color .2s ease;
}
.npc-close-btn:hover {
    color: var(--accent-gold);
}

.npc-sheet-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.npc-portrait-wrapper img {
    width: 180px;
    border-radius: 4px;
    border: 1px solid rgba(184,156,110,0.3);
    margin-top: 4px;
}

.npc-sheet-header h2 {
    margin: 0;
    font-size: 26px;
    color: var(--accent-gold);
}

.npc-meta {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.4;
}

.npc-description {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    color: #ddd;
    line-height: 1.4;
}

/* --- Section layout --- */
.npc-section {
    margin-bottom: 26px;
}

.npc-section h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: var(--accent-gold);
    border-bottom: 1px solid rgba(184,156,110,0.3);
    padding-bottom: 4px;
}

/* --- Attribute / Fähigkeiten Grid --- */

.npc-attr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px 20px;
    margin-top: 10px;
}

.npc-attr-col h4 {
    margin-bottom: 6px;
    font-size: 15px;
    color: #ddd;
}

.npc-attr-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 4px;
}

.npc-dots {
    color: var(--accent-gold);
    letter-spacing: 3px;
}

/* Stats row (combat, backgrounds etc.) */
.npc-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 4px;
}

.npc-disc-list {
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

.npc-disc-list li {
    font-size: 14px;
    margin-bottom: 4px;
}

/* =============================================================== ADV Tooltip (erweitert) =============================================================== */
.adv-tooltip {
  position: fixed;
  max-width: 380px;
  max-height: calc(100vh - 120px); /* verhindert Überlauf unter den Header */
  overflow-y: auto;
  background: linear-gradient(180deg, #0f0f0f, #1a1a1a);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.4;
  padding: 14px 16px;
  border-radius: 8px;
  z-index: 999999;
  animation: fadeIn 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) #1a1a1a;
}

.adv-tooltip::-webkit-scrollbar {
  width: 8px;
}
.adv-tooltip::-webkit-scrollbar-thumb {
  background-color: var(--accent-gold);
  border-radius: 6px;
  border: 2px solid #1a1a1a;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.adv-tooltip-title {
  color: var(--accent-gold);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 6px rgba(184,156,110,0.6);
}

.adv-tooltip-desc {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.adv-tooltip-block {
  margin-top: 10px;
  padding-top: 4px;
  border-top: 1px solid #2a2a2a;
}

.adv-tooltip-block strong,
.adv-tooltip-block .h1 {
  color: var(--accent-gold);
}

/* =============================================================== INVENTAR =============================================================== */

.inventory-slot {
  margin-top: auto;
  border: 0px;
  background-color: #1a1a1a;
}

.inventory-slot:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.inventory-slot:hover span {
  font-weight: bold;
  color: var(--accent-gold);
}

.inventory-slot img {
  width: 64px;
  height: auto;
  margin: 5px auto 5px auto;
}

.inventory-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: 700px;
  height: 100%;
  background: #0f0f0f;
  border-left: 1px solid var(--border-color);
  padding: 20px;
  overflow-y: auto;
  color: var(--text-light);
  animation: slideIn 0.3s ease;
  z-index: 5000;
  pointer-events: auto;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inventory-tabs button {
  background: #1a1a1a;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 6px 14px;
  margin-left: 10px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.inventory-tabs button:hover {
  background: #222;
  color: var(--accent-gold);
}

.inventory-tabs .active {
  background: var(--accent-gold);
  color: #000;
  font-weight: bold;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 20px;
  display: none;
}

.inventory-grid.active {
  display: grid;
}

.inventory-grid .inv-slot {
    position: relative;
    width: 64px;
    height: 64px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inv-item {
  position: relative;
}

.inv-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.inv-amount {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 16px;
  font-weight: bold;
  color: var(--accent-gold);
  text-shadow: 0 0 3px #000;
}

.hover-name-tooltip {
  position: fixed;
  background: rgba(10,10,10,0.9);
  color: var(--accent-gold);
  font-size: 16px;
  padding: 4px 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  pointer-events: none;
  z-index: 6000;
  white-space: nowrap;
}

.inv-tooltip {
  position: fixed;
  z-index: 15000; /* höher als alles */
  max-width: 260px;
  background: #121212;
  color: var(--text-light);
  border: 1px solid var(--border-color);
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  border-radius: 8px;
  padding: 12px;
  pointer-events: auto;
}

.inv-tooltip h4 {
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.inv-tooltip .inv-img {
  width: 100%;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.inv-slot, .inv-item {
  pointer-events: auto;
}

.inv-remove-btn {
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  cursor: pointer;
  background: rgba(80, 0, 0, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.inv-remove-btn:hover {
  background: rgba(140, 0, 0, 0.95);
}

.inventory-grid .add-item-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inventory-grid .add-inventory-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px dashed var(--accent-gold, #b89c6e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  color: var(--accent-gold, #b89c6e);
  background: rgba(0, 0, 0, 0.4);
}

.inventory-grid .add-inventory-item:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Popup-Overlay */
.inventory-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup-Box */
.inventory-popup {
  background: #111;
  border: 1px solid var(--accent-gold, #b89c6e);
  padding: 16px;
  width: 360px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
  font-size: 13px;
  color: #f0e6d2;
}

.inventory-popup h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--accent-gold, #b89c6e);
}

.inventory-popup label {
  display: block;
  margin-top: 8px;
}

.inventory-popup input[type="text"],
.inventory-popup input[type="number"],
.inventory-popup textarea,
.inventory-popup input[type="file"] {
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
}

.inventory-popup textarea {
  resize: vertical;
}

.inventory-popup-buttons {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.inventory-popup-buttons button {
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--accent-gold, #b89c6e);
  background: #222;
  color: #f0e6d2;
}

.inventory-popup-buttons button:hover {
  background: #333;
}

#inv-existing-select {
  width: 100%;
  padding: 4px;
  font-size: 13px;
  margin-top: 4px;
}

/* =============================================================== Charakterliste (rechte Spalte) =============================================================== */
#all-character-list {
  width: 130px;
  background-color: var(--bg-panel);
  border-right: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 10px;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: var(--accent-gold) #1a1a1a;
  scrollbar-width: thin;
}

.charlist-section {
  margin-bottom: 15px;
}

.charlist-section h3 {
  font-size: 14px;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.charlist-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.charlist-content .char-entry {
  background-color: #111;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  text-align: center;
  padding: 3px;
  transition: 0.2s;
}

.charlist-content .char-entry:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* =============================================================== GM Control Bar =============================================================== */

:root {
    --gm-bar-width: 40px;
}


#gm-control-bar {
  width: 40px;
  background-color: var(--bg-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  border-left: 1px solid var(--border-color);
  gap: 10px;
}

#gm-panel-container {
    position: fixed;
    top: 80px;
    right: 40px; /* exakt links neben der GM-Leiste */
    width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    display: none;
    z-index: 5000;
}

#gm-panel-container .gm-save-btn {
    display: inline-block;        /* verhindert Zellen-Zerreißen */
    padding: 6px 14px;
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--accent-gold);
    font-size: 12px;
    margin-top: 15px;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.2s;
}

#gm-panel-container .gm-save-btn:hover {
    background: var(--blood-red);
    color: #fff;
}

.gm-panel-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.gm-btn {
  position: relative;
  width: 40px;      /* Breite deines Buttons */
  height: 120px;    /* Höhe des Buttons */
  padding: 0;
  border: 1px solid var(--border-color);
  background: none;
  color: var(--accent-gold);
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TEXTBLOCK ROTIEREN */
.gm-btn span {
  display: inline-block;
  transform: rotate(90deg);       /* <<< Wichtig: Text drehen */
  white-space: nowrap;            /* Zeile nicht umbrechen */
  font-size: 14px;
  pointer-events: none;           /* damit der Button klickbar bleibt */
}

.gm-btn:hover {
  background-color: var(--blood-red);
  color: #fff;
}

#world-state-display {
    position: absolute;
    top: 20px;
    right: 160px; /* etwas links vom Logout */
    color: var(--accent-gold);
    text-align: right;
    font-size: 14px;
    line-height: 1.2;
    z-index: 4000;
}

.scene-list h3 {
    margin-top: 20px;
    color: var(--accent-gold);
}

.scene-list h4 {
    margin-top: 10px;
    color: var(--text-muted);
}

.scene-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.scene-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.gm-global-grid-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--accent-gold);
    font-size: 15px;
    padding: 4px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Jede Location */
.gm-location-section {
    margin-top: 12px;
}

/* Location-Name */
.gm-location-title {
    font-size: 16px;
    margin: 6px 0;
    color: var(--accent-gold);
}

/* Zweispaltiges Grid pro Location */
.gm-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

/* Spalte */
.gm-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Eintragszeile */
.gm-scene-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bild */
.gm-scene-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: top;
    background-color: rgba(0,0,0,0.4);
    border-radius: 4px;
}

/* =============================================================== BATTLEMAP =============================================================== */

#battlemap-token-context {
    position: absolute;
    background: rgba(20,20,20,0.95);
    color: #fff;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 6px 0;
    min-width: 180px;
    z-index: 9999;
    font-size: 14px;
}

#battlemap-token-context.hidden {
    display: none;
}

#battlemap-token-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* wichtig: Layer selbst soll keine Events blockieren */
  z-index: 999;
}

.battlemap-token {
  pointer-events: auto; /* Token selbst soll klickbar sein */
  position: absolute;
  z-index: 1000;
}

.battlemap-context-item {
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.battlemap-context-item:hover {
    background: rgba(255,255,255,0.1);
}

.battlemap-source-grid {
    display: flex;
    gap: 40px;
}

.token-source-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.token-source-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
}

.token-source-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.token-add-btn {
    font-size: 11px;
    padding: 4px 8px;
    transform: none !important;
}

/* =============================================================== LOGIN =============================================================== */
#login-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  width: 320px;
  text-align: center;
  box-shadow: 0 0 20px #000;
}

.login-box h2 {
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.login-box input {
  width: 80%;
  padding: 8px;
  margin-bottom: 10px;
  background: #111;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  border-radius: 4px;
}

.login-box button {
  background-color: var(--blood-red);
  border: none;
  padding: 8px 16px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.login-box button:hover {
  background-color: #a00000;
}

#login-message {
  margin-top: 10px;
  color: var(--accent-gold);
  font-size: 13px;
}

/* =============================================================== SCROLLBAR =============================================================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background-color: var(--blood-red);
  border-radius: 4px;
}

/* =============================================================== Tabs im Login-Overlay =============================================================== */
.login-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  background: #111;
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  cursor: pointer;
  transition: 0.2s;
}
.tab-btn.active {
  background: var(--blood-red);
  color: #fff;
  border-color: var(--blood-red);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.login-box input[type="checkbox"] {
  accent-color: var(--blood-red);
  margin-right: 5px;
}

.message {
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent-gold);
  min-height: 18px;
  text-align: center;
}

/* =============================================================== Logout-Button Gothic-Style =============================================================== */
.logout-btn {
  background: linear-gradient(to bottom, #2b1a1a 0%, #1a0d0d 100%);
  border: 1px solid var(--border-color);
  color: var(--accent-gold);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 13px;
  padding: 5px 12px;
  margin-top: 6px;
  margin-left: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-shadow: 0 0 4px #000;
  transition: 0.2s ease;
}

.logout-btn:hover {
  background: var(--blood-red);
  color: #fff;
  border-color: var(--blood-red);
  box-shadow: 0 0 8px #a00000;
}

/* =============================================================== Custom Scrollbar (Vintage-Stil) =============================================================== */

#character-sidebar::-webkit-scrollbar,
#all-character-list::-webkit-scrollbar {
  width: 8px;
}
#character-sidebar::-webkit-scrollbar-track,
#all-character-list::-webkit-scrollbar-track {
  background: #1a1a1a;
}
#character-sidebar::-webkit-scrollbar-thumb,
#all-character-list::-webkit-scrollbar-thumb {
  background-color: var(--accent-gold);
  border-radius: 6px;
  border: 2px solid #1a1a1a;
}

/* =============================================================== Globaler Bluttropfen-Cursor für klickbare Elemente =============================================================== */
a, button, .adv-name, .char-slot, .gm-btn, .map-category-button, .skill-entry, .logout-btn {
  cursor: url('../../source/ui/cursor_blood_small.png') 8 8, pointer;
}

/*=============================================================== MObile Fix ================================================================================== */

