/* =========================================================
   VE L M O O R – GLOBAL VARS (einmalig, oben)
   ========================================================= */
:root{
  --vm-bg: rgba(12,13,13,.72);
  --vm-border: rgba(213,170,67,.28);
  --vm-border-strong: rgba(213,170,67,.55);
  --vm-text: rgba(235,232,224,.92);
  --vm-muted: rgba(235,232,224,.70);
  --vm-gold: rgb(213,170,67);
}

/* =========================================================
   VE L M O O R – forumdisplay_newthread
   ========================================================= */
.vm-newthread{
  display:flex;
  justify-content:flex-end;
  margin:10px 0 16px;
}

.vm-newthread-btn{
  /* lokale, komponenten-spezifische Variablen */
  --bg: rgba(12,13,13,.72);
  --border: rgba(213,170,67,.30);
  --border2: rgba(213,170,67,.55);
  --text: rgba(235,232,224,.92);

  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:4px;
  border-radius:14px;

  background:
    radial-gradient(700px 140px at 30% 40%, rgba(213,170,67,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,0)),
    var(--bg);

  border:1px solid var(--border);
  box-shadow:
    0 10px 26px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.10);

  color:var(--text);
  text-decoration:none;

  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.9em;
  font-weight:700;

  position:relative;
  overflow:hidden;
}

.vm-newthread-btn::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(213,170,67,.10) 35%,
    rgba(255,255,255,.06) 50%,
    rgba(213,170,67,.08) 65%,
    transparent 100%
  );
  opacity:.55;
  transform:translateX(-30%);
  transition:transform .35s ease, opacity .35s ease;
}

.vm-nt-ico{
  width:34px;
  height:34px;
  border-radius:12px;

  display:grid;
  place-items:center;

  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);

  flex:0 0 auto;
}

.vm-nt-ico::before{
  content:"\f055"; /* Font Awesome: circle-plus */
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free";
  font-weight:900;
  font-size:16px;
  color:rgba(213,170,67,.95);
}

.vm-nt-text{
  line-height:1;
  white-space:nowrap;
}

.vm-newthread-btn:hover{
  border-color:var(--border2);
  transform:translateY(-1px);
  transition:border-color .18s ease, transform .18s ease;
}

.vm-newthread-btn:hover::after{
  transform:translateX(10%);
  opacity:.75;
}

.vm-newthread-btn:focus-visible{
  outline:2px solid rgba(213,170,67,.55);
  outline-offset:3px;
}

.vm-newthread-btn[aria-disabled="true"],
.vm-newthread-btn.disabled{
  opacity:.55;
  pointer-events:none;
}

/* =========================================================
   VE L M O O R – forumdisplay_sticky_sep
   ========================================================= */
.forumdisplay_sticky_sep{
  position:relative;
  margin:8px 0;
  padding:10px 0;

  text-align:center;
  font-size:.95em;
  letter-spacing:.14em;
  text-transform:uppercase;

  color:rgba(213,170,67,.95);
}

.forumdisplay_sticky_sep::before,
.forumdisplay_sticky_sep::after{
  content:"";
  position:absolute;
  top:50%;
  width:38%;
  height:1px;

  background:linear-gradient(
    to var(--dir),
    rgba(213,170,67,0),
    rgba(213,170,67,.55),
    rgba(213,170,67,0)
  );

  box-shadow:
    0 0 8px rgba(213,170,67,.25),
    0 0 22px rgba(0,0,0,.8);
}

.forumdisplay_sticky_sep::before{ left:0;  --dir:right; }
.forumdisplay_sticky_sep::after{  right:0; --dir:left; }

.forumdisplay_sticky_sep span{
  position:relative;
  z-index:1;
  padding:6px 18px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.25)),
    rgba(12,13,13,.75);

  border:1px solid rgba(213,170,67,.35);
  border-radius:14px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.6),
    0 10px 26px rgba(0,0,0,.55);

  text-shadow:
    0 0 6px rgba(213,170,67,.35),
    0 1px 2px rgba(0,0,0,.9);
}

.forumdisplay_sticky_sep span::after{
  content:"";
  position:absolute;
  inset:-10px -40px;
  z-index:-1;

  background:radial-gradient(
    ellipse at center,
    rgba(213,170,67,.18),
    rgba(0,0,0,0) 70%
  );

  opacity:.75;
  pointer-events:none;
}

.forumdisplay_sticky_sep:hover span{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.65),
    0 0 18px rgba(213,170,67,.35),
    0 12px 28px rgba(0,0,0,.6);
}

/* =========================================================
   VE L M O O R – Threadlist (vm-thread / forumdisplay_thread)
   ========================================================= */

/* Reset */
.vm-thread td,
.vm-td{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

/* Thread Card */
.vm-thread-card{
  display:grid;
  grid-template-columns:92px 1fr 160px 320px;
  gap:18px;
  align-items:center;

  margin:10px 0;
  padding:18px 20px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,0)),
    var(--vm-bg);

  border:1px solid var(--vm-border);
  border-radius:14px;

  box-shadow:
    0 10px 26px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);

  position:relative;
  overflow:hidden;
}

.vm-thread-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(1100px 300px at 20% 40%, rgba(213,170,67,.14), transparent 60%),
    radial-gradient(900px 260px at 80% 70%, rgba(120,170,120,.08), transparent 65%);
  opacity:.85;
}

.vm-thread-card:hover{
  border-color:var(--vm-border-strong);
  transform:translateY(-1px);
  transition:.2s ease;
}

/* LEFT – Status Icons */
.vm-left{
  display:flex;
  gap:10px;
  align-items:center;
}

/* NOTE: hier war bei dir height:46px; das zerstört die Icon-Balance.
   Wir lassen beide Chips gleich groß (36x36) und steuern die Icon-Größe separat. */
.thread_status,
.vm-status{
  width:36px;
  height:36px;
  border-radius:10px;

  display:grid;
  place-items:center;

  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);

  background-image:none !important;
}

.thread_status::before{
  content:"\f15c"; /* fa-file-lines */
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free";
  font-weight:900;
  font-size:20px;              /* statt 30px -> sauberer */
  color:var(--vm-muted);
}

.thread_status.folder_new::before,
.thread_status.dot_folder_new::before,
.thread_status.folder_new_hot::before{
  content:"\f06a"; /* fa-circle-exclamation */
  color:var(--vm-gold);
}

/* sticky */
.vm-status:empty{ display:none; }
.vm-status img{ display:none !important; }

.vm-status a{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:0;
}

.vm-status a::before{
  content:"\f08d"; /* fa-thumbtack */
  font-family:"Font Awesome 6 Free","Font Awesome 5 Free";
  font-weight:900;
  font-size:18px;
  color:var(--vm-muted);
}

/* AVATARE – rund + gold */
.vm-author-avatar,
.vm-last-avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;

  border:2px solid var(--vm-gold);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.6),
    0 6px 14px rgba(0,0,0,.45);

  flex-shrink:0;
}

.vm-author-avatar img,
.vm-last-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.vm-author-avatar:hover,
.vm-last-avatar:hover{
  box-shadow:
    0 0 0 2px rgba(213,170,67,.9),
    0 10px 24px rgba(0,0,0,.65);
}

/* MID – Autor + Titel */
.vm-mid{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:14px;
  align-items:center;
  min-width:0;
}

.vm-midtext{ min-width:0; }

.vm-titleline{
  display:block;
  min-width:0;
}

.vm-prefix{
  margin-right:6px;
  white-space:nowrap;
}

.vm-thread-link{
  color:var(--vm-text);
  text-decoration:none;
  font-weight:650;

  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:18px;
  font-family:var(--font-base2);

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;

  overflow:hidden;
  white-space:normal;
  line-height:1.25;
}

.vm-thread-link:hover{ color:var(--vm-gold); }

.vm-metaline{
  margin-top:6px;
  font-size:.9em;
  color:var(--vm-muted);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* STATS */
.vm-stats{
  justify-self:end;
  display:flex;
  gap:14px;
  padding:10px 12px;

  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.vm-stat{
  text-align:center;
  min-width:56px;
}

.vm-stat-n{
  font-weight:800;
  color:var(--vm-text);
}

.vm-stat-l{
  font-size:.75em;
  color:var(--vm-muted);
}

/* LASTPOST */
.vm-last{
  justify-self:end;
  display:grid;
  grid-template-columns:1fr 52px;
  gap:14px;
  align-items:center;

  padding-left:14px;
  border-left:1px solid rgba(255,255,255,.08);
  min-width:0;
}

.vm-lastmeta{ min-width:0; }

.vm-lastposter{
  font-size:.92em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.vm-lastposter a{
  color:var(--vm-text);
  text-decoration:none;
}

.vm-lastposter a:hover{ color:var(--vm-gold); }

.vm-lastlink{
  display:inline-block;
  margin-top:6px;
  font-size:.85em;
  color:var(--vm-muted);
  text-decoration:none;
}

.vm-lastlink:hover{
  color:var(--vm-gold);
  text-decoration:underline;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .vm-thread-card{
    grid-template-columns:1fr;
    gap:14px;
  }

  .vm-stats,
  .vm-last{
    justify-self:start;
    border-left:0;
    padding-left:0;
  }
}

/* =========================================================
   VE L M O O R – vm-akte (wie von dir gepostet, nur formatiert)
   ========================================================= */
.vm-akte{
  display:flex;
  margin:10px;
  gap:16px;

  line-height:1.6;
  padding:12px 16px;

  background:
    radial-gradient(at 50% 30%, rgba(210,179,107,.10), rgba(0,0,0,0)),
    linear-gradient(to bottom, rgba(18,16,14,.98), rgba(14,13,12,.98));

  border:1px solid #3a372f;
  border-left-color: rgba(210,179,107,.22);
  border-right-color: rgba(210,179,107,.22);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -1px 0 rgba(0,0,0,.55),
    0 2px 4px rgba(0,0,0,.65);

  text-shadow:1px 1px 0 rgba(0,0,0,.6);
}

.vm-akte-left{
  width:210px;
  flex-shrink:0;
  position:relative;
}

.vm-akte-stempel{
  position:absolute;
  top:8px;
  left:8px;

  padding:6px 10px;
  font-size:11px;
  letter-spacing:1.2px;
  text-transform:uppercase;

  border:1px solid rgba(214,200,161,.55);
  color: rgba(214,200,161,.9);
  background: rgba(0,0,0,.45);

  transform:rotate(-6deg);
}

.vm-akte-bild img{
  width:100%;
  height:auto;
  display:block;
  border:1px solid rgba(255,255,255,.12);
}

.vm-akte-main{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.vm-akte-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}

.vm-akte-title{
  font-size:18px;
  letter-spacing:.9px;
  text-transform:uppercase;
  text-decoration:none;
  color:#d6c8a1;
}

.vm-akte-stats{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.7px;

  color: rgba(230,230,230,.65);
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.vm-akte-desc{
  font-size:13px;
  line-height:1.6;
  color: rgba(240,240,240,.84);
}

.vm-akte-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 14px;
  padding-top:10px;
  border-top:1px dashed rgba(255,255,255,.12);
}

.vm-akte-row{
  display:flex;
  gap:10px;
  align-items:baseline;
}

.vm-akte-wide{ grid-column:1 / -1; }

.vm-akte-label{
  width:90px;
  flex-shrink:0;

  font-size:11px;
  letter-spacing:.8px;
  text-transform:uppercase;

  color: rgba(214,200,161,.7);
}

.vm-akte-val{
  font-size:12px;
  color: rgba(245,245,245,.9);
}

.vm-akte-foot{
  margin-top:auto;
  padding-top:10px;

  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.vm-akte-last{
  font-size:11px;
  color: rgba(220,220,220,.7);
}

.vm-akte-btn{
  display:inline-block;
  padding:8px 12px;

  border:1px solid rgba(214,200,161,.45);
  background: rgba(0,0,0,.35);

  text-decoration:none;
  font-size:11px;
  letter-spacing:.9px;
  text-transform:uppercase;
  color: rgba(214,200,161,.92);
}

.vm-akte-btn:hover{
  background: rgba(214,200,161,.08);
}

/* =========================================================
   VE L M O O R – Map (wie von dir gepostet, nur formatiert)
   ========================================================= */
.vm-mapWrap{
  max-width:1000px;
  margin:0 auto;
}

.vm-map{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:18px;
  overflow:hidden;

  background:url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/stadtkarte.png) center/cover no-repeat;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.vm-pin{
  position:absolute;
  transform:translate(-50%, -100%);
  text-decoration:none;
  outline:none;
  z-index:5;
}

.vm-pinIcon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:999px;

  background: rgba(15,18,22,.82);
  border:1px solid rgba(255,222,140,.35);
  box-shadow:0 8px 18px rgba(0,0,0,.35);

  color: rgba(255,240,210,.95);
  font-size:18px;
  line-height:1;

  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.vm-pin::after{
  content:"";
  position:absolute;
  left:50%;
  top:42px;

  width:14px;
  height:14px;

  transform:translateX(-50%) rotate(45deg);
  background: rgba(15,18,22,.82);

  border-right:1px solid rgba(255,222,140,.25);
  border-bottom:1px solid rgba(255,222,140,.25);

  box-shadow:0 10px 18px rgba(0,0,0,.25);
}

.vm-pin:hover .vm-pinIcon,
.vm-pin:focus .vm-pinIcon{
  transform:translateY(-3px) scale(1.05);
  background: rgba(22,26,32,.92);
  border-color: rgba(255,222,140,.65);
  box-shadow:0 14px 26px rgba(0,0,0,.45);
}

.vm-pin .vm-pinIcon::before{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius:999px;

  background: radial-gradient(circle, rgba(255,222,140,.18), rgba(255,222,140,0) 60%);
  opacity:0;
  transform:scale(.9);
  transition:opacity .18s ease, transform .18s ease;
}

.vm-pin:hover .vm-pinIcon::before,
.vm-pin:focus .vm-pinIcon::before{
  opacity:1;
  transform:scale(1.05);
}

.vm-tip{
  position:absolute;
  left:50%;
  bottom:60px;

  transform:translateX(-50%) translateY(6px);
  min-width:200px;
  max-width:260px;

  padding:10px 12px;
  border-radius:14px;

  background: rgba(10,12,15,.88);
  border:1px solid rgba(255,222,140,.28);
  box-shadow:0 18px 30px rgba(0,0,0,.45);

  color: rgba(245,238,225,.95);
  font-size:12.5px;
  line-height:1.25;

  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:10;
}

.vm-tip b{
  font-size:13px;
  letter-spacing:.2px;
}

.vm-tip::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-7px;

  width:14px;
  height:14px;

  transform:translateX(-50%) rotate(45deg);
  background: rgba(10,12,15,.88);

  border-right:1px solid rgba(255,222,140,.18);
  border-bottom:1px solid rgba(255,222,140,.18);
}

.vm-pin:hover .vm-tip,
.vm-pin:focus .vm-tip{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

.vm-panel{
  right:14px;
  bottom:14px;
  width:min(320px, 92%);
  z-index:2;
}

.vm-panelInner{
  border-radius:18px;
  padding:12px 14px;

  background: linear-gradient(180deg, rgba(10,12,15,.86), rgba(10,12,15,.68));
  border:1px solid rgba(255,222,140,.18);
  box-shadow:0 18px 30px rgba(0,0,0,.35);

  color: rgba(245,238,225,.9);
}

.vm-panelTitle{
  font-size:13px;
  letter-spacing:.35px;
  opacity:.95;
  margin-bottom:6px;
}

.vm-panelText{
  font-size:12.5px;
  line-height:1.35;
  opacity:.92;
}

.vm-panelHint{
  margin-top:8px;
  font-size:11.5px;
  opacity:.70;
}

/* Pin-Positionen */
.vm-pin--diner{  left:24%; top:62%; }
.vm-pin--asylum{ left:78%; top:76%; }
.vm-pin--pd{     left:56%; top:48%; }

@media (max-width: 640px){
  .vm-pinIcon{ width:40px; height:40px; font-size:17px; }
  .vm-tip{ min-width:180px; max-width:220px; font-size:12px; }
}
