/* =======================================================
   MIAMI SUNSET CITY – GLOBAL THEME
   Breite: 1100px | Struktur wie bisher
   ======================================================= */

/* ---------- Farbpalette & Maße ---------- */
:root{
  --forum-width: 1100px;

  /* Page & Surfaces */
  --bg-page: #050813;              /* Grundton hinter allem */
  --bg-surface-1: #0b101e;         /* Wrapper / Content */
  --bg-surface-2: #12182a;         /* Karten / Panels */
  --bg-panel: rgba(13, 20, 41, .9);

  /* Typografie */
  --text-strong: #fff5eb;
  --text-main:   #f1e1d6;
  --text-dim:    #c29b8d;

  /* Miami Sunset Akzente (Peach / Koralle / Türkis) */
  --primary:        #e9976f;                       /* Peach */
  --primary-strong: #ffd49a;                       /* helleres Gold */
  --primary-soft:   rgba(233,151,111,.25);
  --primary-dim:    rgba(233,151,111,.55);

  --accent-turq:    #7fdfe3;                       /* Meer / Himmel */
  --accent-magenta: #f175b9;

  /* Linien & Glows */
  --line:          #2a2234;
  --line-strong:   #f3a77a;
  --card-line:     #1c1a2a;
  --glow:          rgba(233,151,111,.30);
  --glow-strong:   rgba(233,151,111,.6);

  /* Buttons */
  --btn-bg:        rgba(31, 22, 47, .80);
  --btn-hover:     rgba(56, 28, 72, .88);
  --btn-active:    rgba(78, 37, 89, .95);

  /* Tabellen-Zeilen */
  --row-1: rgba(17, 17, 35, .86);
  --row-2: rgba(16, 14, 32, .78);
  --row-hover: rgba(233,151,111,.16);

  /* Hilfswerte */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 0 22px rgba(0,0,0,.6), 0 0 40px var(--glow);
}

/* ---------- Grundlayout ---------- */
html{scroll-behavior:smooth;}
body{
  margin:0;
  padding:0;
  font: 13px/1.55 Tahoma, Verdana, Arial, sans-serif;
  color: var(--text-main);
  /* Miami-Sunset-Hintergrund + leichter Farbverlauf */
  background:
    radial-gradient(1200px 720px at 50% -10%,
      rgba(127,223,227,.75) 0%,     /* Türkis oben */
      rgba(244,172,116,.55) 40%,    /* Peach Mitte */
      rgba(41,17,46,1) 80%,         /* dunkles Violett unten */
      #050813 100%) fixed;
}

/* Links */
a:link,a:visited{
  color:var(--primary);
  text-decoration:none;
}
a:hover,a:active{
  color:var(--primary-strong);
  text-decoration:underline;
  text-shadow:0 0 8px var(--glow-strong);
}

/* ---------- Breiten-Wrapper ---------- */
.wrapper,
#header,#logo,.navbar,#panel,#content,#footer,.newsflash-wrapper{
  max-width: var(--forum-width);
  margin-left:auto; margin-right:auto;
}

/* =======================================================
   HEADER / LOGO / NAVIGATION
   ======================================================= */
#logo{
  padding:22px 0 18px;
  text-align:center;
  background:
    radial-gradient(900px 260px at 50% 0,
      rgba(127,223,227,.28),
      transparent 70%),
    linear-gradient(180deg,
      rgba(12,18,40,.92),
      rgba(12,18,32,.80));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(0,0,0,.75);
}
#logo a{display:inline-block;}
#logo img{
  max-width:100%; height:auto; display:block; margin:0 auto;
  border-radius: var(--radius-sm);
  /* warmes Glow um das Miami-Dreams-Banner */
  filter:
    drop-shadow(0 0 16px rgba(0,0,0,.75))
    drop-shadow(0 0 28px var(--glow));
}

/* Top-Navigation */
.navbar{
  background:
    linear-gradient(180deg,
      rgba(20,20,40,.98),
      rgba(14,13,28,.96));
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.navbar .menu{
  list-style:none; padding:10px 12px; margin:0;
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
}
.navbar .menu li{display:inline-flex;}
.navbar .menu li a{
  display:inline-block; padding:9px 16px;
  border-radius:999px;
  background: var(--btn-bg);
  color: var(--text-strong);
  border:1px solid var(--line);
  font-weight:700; letter-spacing:.2px;
  text-decoration:none;
  text-transform:uppercase;
  font-size:11px;
  transition:
    background .2s ease,
    transform .1s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}
.navbar .menu li a:hover{
  background: var(--btn-hover);
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: 0 0 12px var(--glow);
}
.navbar .menu li a:active{
  background: var(--btn-active);
  transform: translateY(0);
}

/* =======================================================
   PANEL (2. Leiste wie Navigation)
   ======================================================= */
#panel{
  margin-top:10px;
  background:
    linear-gradient(180deg,
      rgba(22,20,42,.98),
      rgba(14,13,28,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-main);
  position:relative; z-index:30;
}
#panel .upper{ padding:10px 12px; }
#panel .upper ul{
  list-style:none; padding:0; margin:0;
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
}
#panel .upper li{display:inline-flex;}
#panel .upper a{
  display:inline-block; padding:8px 14px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--text-strong);
  border: 1px solid var(--line);
  font-weight:700;
  text-decoration:none;
  transition:
    background .2s ease,
    transform .1s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
#panel .upper a:hover{
  background: var(--btn-hover);
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: 0 0 12px var(--glow);
}

/* Klick-Sicherheit */
.navbar, #panel { position:relative; z-index:30; }
.navbar a, #panel a { position:relative; z-index:31; pointer-events:auto; }

/* =======================================================
   NEWSFLASH (Startseite, unter Panel)
   ======================================================= */
.newsflash-wrapper{
  margin:14px auto 18px;
  background:
    linear-gradient(180deg,
      rgba(18,16,36,.92),
      rgba(13,11,28,.88));
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
}
#newsflash{
  width:100%;
  border-collapse:separate;
  border-spacing:10px;
}
.nfheadline{
  font-weight:800; letter-spacing:.7px;
  font-size:12px; text-transform:uppercase;
  color: var(--primary-strong);
  background: rgba(34,24,52,.9);
  padding:6px 8px; margin-bottom:8px;
  border: 1px solid var(--line);
  border-left-color: var(--line-strong);
  border-radius: var(--radius-sm);
  text-align:right;
  box-shadow: inset 0 0 14px rgba(0,0,0,.55);
}
.nftextfeldlinks,.nftextfeldbig,.nftextfeldsmall{
  background: rgba(19,16,40,.86);
  color: var(--text-main);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 12px rgba(0,0,0,.6);
}
.nftextfeldlinks{ padding:10px; text-align:center; }
.nftextfeldbig{ padding:12px; height:160px; overflow:auto; }
.nftextfeldsmall{ padding:12px; height:100px; overflow:auto; }
#newsflash a{
  color: var(--primary); font-weight:700; text-transform:uppercase;
}
#newsflash a:hover{
  color:var(--primary-strong);
  text-decoration:underline;
}
.nftextfeldlinks a{ padding:2px 10px; }
.nfweather{
  width:65px; float:left; margin:0 12px 6px 0; border-radius:10px;
}
.nfteam{
  border:1px solid var(--card-line);
  border-radius:10px;
  margin:0 6px;
  transition:transform .13s ease, box-shadow .2s ease;
}
.nfteam:hover{
  transform:translateY(-2px);
  box-shadow:0 0 14px var(--glow);
}

/* Scrollbar im Newsflash */
#newsflash ::-webkit-scrollbar{
  width:8px;
  background:#100f21;
}
#newsflash ::-webkit-scrollbar-thumb{
  background: var(--primary-dim);
  border-radius:4px;
}

/* =======================================================
   CONTENT & FORUMLISTE
   ======================================================= */
#content{
  background: var(--bg-surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 26px;
  box-shadow: var(--shadow);
}

/* Tabellenrahmen als Card */
.tborder{
  width:100%;
  margin: 22px auto;
  background:
    linear-gradient(180deg,
      rgba(15,14,34,.96),
      rgba(11,10,26,.92));
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
}

/* Kopfbereiche */
.thead{
  background:
    radial-gradient(600px 180px at 0% 0%,
      rgba(127,223,227,.3),
      transparent 60%),
    radial-gradient(600px 180px at 100% 100%,
      rgba(241,149,107,.28),
      transparent 60%),
    linear-gradient(180deg,
      rgba(20,18,40,.96),
      rgba(15,13,32,.96));
  color: var(--text-strong);
  padding: 16px 18px;
  font-weight:800; letter-spacing:.4px;
  border-bottom:1px solid var(--line);
  text-shadow: 0 0 10px rgba(0,0,0,.6);
}
.thead a:link,.thead a:visited{
  color: var(--primary-strong);
  text-decoration:none;
}
.thead a:hover{
  color:#ffffff;
  text-decoration:underline;
  text-shadow:0 0 10px var(--glow-strong);
}

.tcat{
  background: rgba(25,20,47,.9);
  color: var(--text-strong);
  padding: 10px 12px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-weight:800; text-transform:uppercase; letter-spacing:.5px;
}

/* Zeilen */
.trow1,.trow2{
  color: var(--text-main);
  border-bottom:1px solid var(--card-line);
  padding: 14px 12px;
  background: var(--row-1);
  transition: background .25s ease;
}
.trow2{ background: var(--row-2); }
.trow1:hover,.trow2:hover{ background: var(--row-hover); }
.trow_sep{
  background: rgba(23,19,48,.95);
  color: var(--text-dim);
  padding:8px 10px;
  border-bottom:1px solid var(--line);
  font-weight:700;
}

/* Footer einer Tabelle */
.tfoot{
  background: rgba(13,11,30,.95);
  color: var(--text-dim);
  padding: 10px 12px;
  border-top:1px solid var(--line);
}

/* Forumstatus-Icons (dürfen so bleiben, nur Rahmenfarbe wirkt anders) */
.forum_status{
  height:35px; width:50px;
  background:url(../../../images/seabreeze/forum_icon_sprite_crabs.png) no-repeat 0 0;
  display:inline-block;
}
.forum_on{ background-position:0 -40px; }
.forum_off{ background-position:0 0; }
.forum_offclose{ background-position:0 -80px; }
.forum_offlink{ background-position:0 -120px; }

/* =======================================================
   FOOTER
   ======================================================= */
#footer{
  margin: 20px auto 32px;
  background:
    linear-gradient(180deg,
      rgba(17,14,34,.98),
      rgba(11,9,25,.96));
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
#footer .upper{
  background: rgba(18,15,35,.96);
  border-bottom:1px solid var(--line);
  padding:10px 12px;
}
#footer .upper .menu{
  list-style:none;
  padding:0; margin:0;
  display:flex; gap:10px; flex-wrap:wrap;
}
#footer .upper .menu li a{
  color:var(--primary);
  font-weight:700;
}
#footer .upper .menu li a:hover{
  color:#fff;
  text-shadow:0 0 8px var(--glow);
  text-decoration:underline;
}

#footer .lower{
  color: var(--text-dim);
  padding:10px 12px 14px;
  font-size:12px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
#footer .lower a{ color: var(--primary); }
#footer .lower a:hover{
  color:#fff;
  text-shadow:0 0 8px var(--glow);
}

#footer .upper .theme,
#footer .upper .language{ margin-left:auto; }
#footer select{
  background:#171331;
  color:var(--text-strong);
  border:1px solid var(--line);
  border-radius:8px;
  padding:6px 8px;
}

/* =======================================================
   FORM/KONTROLLEN
   ======================================================= */
input.textbox, textarea, select{
  background:#171331;
  color:var(--text-strong);
  border:1px solid var(--line);
  border-radius:8px;
  padding:6px 8px;
  outline:0;
}
input.textbox:focus, textarea:focus, select:focus{
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
button, input.button{
  background: var(--btn-bg);
  color: var(--text-strong);
  border:1px solid var(--line);
  border-radius: 999px;
  padding:7px 14px;
  cursor:pointer;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.3px;
  transition:
    background .2s ease,
    box-shadow .2s ease,
    transform .1s ease,
    border-color .2s ease;
}
button:hover, input.button:hover{
  background: var(--btn-hover);
  border-color: var(--line-strong);
  box-shadow: 0 0 12px var(--glow);
  transform: translateY(-1px);
}
button:active, input.button:active{
  background: var(--btn-active);
  transform: translateY(0);
}

/* =======================================================
   KLEINKRAM & UTILITY
   ======================================================= */
.scaleimages img{ max-width:100%; height:auto; }
.navigation a{ color:var(--primary); }
.navigation a:hover{
  color:#fff;
  text-shadow:0 0 8px var(--glow);
}

.smalltext{ color:var(--text-dim); }
hr{
  border:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* Sicherheit: CP-Links anklickbar */
.navbar, #panel, .navbar a, #panel a{ pointer-events:auto; }

/* Leichte Responsive-Anpassung */
@media (max-width: 100%){
  :root{ --forum-width: 95vw; }
}

/* ===== Accountswitcher / Topbar etc. unverändert, nur Farben angepasst ===== */

#accountswitcher_header {
    position: relative;
    float: right;
    cursor: pointer;
}

#accountswitcher_header_popup {
   padding: 0 30px 0 15px;
   position: absolute;
   top:0;
   display: none;
   opacity: 1;
}

#accountswitcher_header_popup ul {
   position: absolute;
   left: 0;
   padding-left: 10px;
   padding-right: 20px;
   min-width: 80px;
   margin-top:17px;
   line-height: 120%;
   border-bottom-right-radius: 10px;
   border-bottom-left-radius: 15px;
   white-space: pre-line;
}

[id*="profile_switch_"] > img { height: 32px; width: auto; }
[id*="profile_link_"] { list-style-type: none; }
[id*="profile_link_"] > a > img { height: 32px; width: auto; }

.acclist_outer {
    text-align: center;
    float: left;
    border: 1px solid;
    border-color: #000;
    width: 100%;
}

.acclist_att { padding-left: 20px; }
.acclist_att > img { height: 44px; width: auto; }
.acclist_mast { padding-left: 30px; }
.acclist_mast > img { height: 44px; width: auto; }

.acclist_card_mast {
    float:left;
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid #000;
}
.acclist_card_mast > img { height: 44px; width: auto; }

.acclist_card_att {
    float:left;
    width: 250px;
    text-align: center;
}
.acclist_card_hidden {
    text-align: center;
    padding-top: 30px;
    float: left;
    width: 250px;
    border: none;
}
.acclist_card_att > img {
    height: 100px;
    width: auto;
}

.profile_card_mast,
.profile_card_att{
    padding: 5px;
    background: none;
    border: none;
}

/* ===== Sidenav vom Accountswitcher ===== */

#accountswitcher_header {
    position: relative;
    float: right;
    cursor: pointer;
}

#accountswitcher_header_popup {
   padding: 0 30px 0 15px;
   position: absolute;
   top:0;
   display: none;
   opacity: 1;
}

#accountswitcher_header_popup ul {
   position: absolute;
   left: 0;
   padding-left: 10px;
   padding-right: 20px;
   min-width: 80px;
   margin-top:17px;
   line-height: 120%;
   border-bottom-right-radius: 10px;
   border-bottom-left-radius: 15px;
   white-space: pre-line;
}

[id*="profile_switch_"] > img {
    height: 32px;
    width: auto;
}

[id*="profile_link_"] {
    list-style-type: none;
}

[id*="profile_link_"] > a > img {
    height: 32px;
    width: auto;
}

.acclist_outer {
    text-align: center;
    float: left;
    border: 1px solid;
    border-color: #000;
    width: 100%;
}

.acclist_att {
    padding-left: 20px;
}

.acclist_att > img {
    height: 44px;
    width: auto;
}

.acclist_mast {
    padding-left: 30px;
}

.acclist_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_mast {
    float:left;
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid #000;
}

.acclist_card_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_att {
    float:left;
    width: 250px;
    text-align: center;
}

.acclist_card_hidden {
    text-align: center;
    padding-top: 30px;
    float: left;
    width: 250px;
    border: none;
}

.acclist_card_att > img {
    height: 100px;
    width: auto;
}

.profile_card_mast {
    padding: 5px;
    background: none;
    border: none;
}

.profile_card_att {
    padding: 5px;
    background: none;
    border: none;
}

.as_head_drop {
    list-style-type: none;
    white-space: nowrap;
}

.as_head_drop > img {
    height: 22px;
    width: auto;
}

.as_head_userbit {
    list-style: none;
}

.as_head_userbit > img {
    height: 22px;
    width: auto;
}

.as_header {
    border-top: 1px solid;
    margin-top: 7px!important;
    padding-top: 7px!important;
    clear: both;
    min-width: 400px;
}

.as_header > img {
    height: 22px;
    width: auto;
}

.as_header > li > img {
    height: 22px;
    width: auto;
}

.as_side_user {
    list-style-type: none;
    white-space: nowrap;
    height: 24px;
}

.as_menu-arrow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    width: 10px;
    height: 100%;
    border: 5px solid transparent;
    -webkit-transition: opacity .4s ease .4s;
    -moz-transition: opacity .4s ease .4s;
    -ms-transition: opacity .4s ease .4s;
    -o-transition: opacity .4s ease .4s;
    transition: opacity .4s ease .4s;
}

.as_sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.as_sidenav a {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    font-size: 15px;
    color: #ccc;
    display: inline-block;
    transition: 0.3s;
}

.as_sidenav a:hover {
    color: #f1f1f1;
}

.as_sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

 .as_sidenav ul {
    margin-top: 40px;
}

 .as_sidenav ul li {
    display: inline-block;
    width: 100%;
    list-style: none;
    font-size: 15px;
    text-align: left;
    padding: 3px 0px;
}

 .as_sidenav ul li img {
    height: 22px;
    width: auto;
}

 .as_sidenav ul li:before {
    content: "";
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-height: 450px) {
  .as_sidenav {padding-top: 15px;}
  .as_sidenav a {font-size: 15px;}
}

/* Fix: Topbar immer ganz oben */
.topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display:flex; align-items:center; gap:16px;
  background: rgba(9,8,25,.96);
  padding:6px 14px;
  box-shadow: 0 0 14px rgba(0,0,0,.85);
}
#container{ padding-top: 56px; }

.topbar-avatar{
  display:block;
  margin-left:40px;
  margin-right:10px;
}
.topbar-avatar img{
  width:44px;
  height:44px;
  border-radius:70%;
  object-fit:cover;
  display:block;
}

.toplink{
  color:#fff5eb;
  text-decoration:none;
  padding:6px 8px;
  border-radius:6px;
}
.toplink:hover{ background:rgba(255,255,255,.06); }
.badge, .ip-badge{
  display:inline-block; min-width:18px; padding:1px 6px;
  border-radius:10px;
  background:#1b1632;
  color:#fff;
  font-size:14px; line-height:18px; text-align:center;
  margin-left:4px;
}

/* Dropdown */
.dropdown{ position:relative; }
.dropbtn{
  background:transparent;
  border:0;
  color:#fff5eb;
  font-weight:600;
  display:flex; align-items:center; gap:6px;
  cursor:pointer;
  padding:6px 8px;
}
.dropbtn:hover{
  background:rgba(255,255,255,.06);
  border-radius:6px;
}
.dropdown-menu{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  background:#120f27;
  border-radius:8px;
  min-width:240px;
  padding:10px;
  box-shadow:0 10px 22px rgba(0,0,0,.55);
  display:none;
}
.dropdown.open .dropdown-menu{ display:block; }
.dropdown-menu a{
  display:block;
  padding:8px 10px;
  color:#f1e1d6;
  text-decoration:none;
  border-radius:6px;
}
.dropdown-menu a:hover{ background:rgba(255,255,255,.06); }
.dropdown-name{
  padding:6px 10px 10px;
  color:#fff5eb;
  font-weight:700;
  border-bottom:1px solid rgba(255,255,255,.08);
  margin-bottom:6px;
}
.sep{ flex:1; }

@media (max-width:900px){
  .topbar{ flex-wrap:wrap; gap:10px; }
  .sep{ display:none; }
}

/* ===== forumdisplay: auf 1100px Schiene zentrieren ===== */
#content.wrapper {
  max-width: var(--forum-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
#content .tborder {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
#content .thead,
#content .tcat,
#content .trow1,
#content .trow2,
#content .tfoot {
  box-sizing: border-box;
}
html, body { overflow-x: hidden; }

/* Aktionsleiste */
#content .thread_controls,
#content .pagination,
#content .thread_tools,
#content .inline_rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
#content .thread_controls .float_left,
#content .thread_controls .float_right,
#content .pagination .float_left,
#content .pagination .float_right,
#content .thread_tools .float_left,
#content .thread_tools .float_right {
  float: none !important;
}
#content .thread_controls { justify-content: space-between; }

#content .thread_controls a.button,
#content .thread_controls .button,
#content .pagination a,
#content .pagination .pagination_current {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--btn-bg);
  color: var(--text-strong);
  text-decoration: none;
  padding: 6px 12px;
}
#content .thread_controls a.button:hover,
#content .pagination a:hover {
  background: var(--btn-hover);
  border-color: var(--line-strong);
  box-shadow: 0 0 10px var(--glow);
}
#content .new_thread_button,
#content a.new_thread_button { white-space: nowrap; }

#content table {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
}
#content .trow1,
#content .trow2,
#content .trow1 td,
#content .trow2 td {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
#content .thead { padding-left: 16px; padding-right: 16px; }
#content .trow1 td,
#content .trow2 td,
#content .tcat td,
#content .tfoot td {
  padding-left: 12px;
  padding-right: 12px;
}
.lan-post-message { max-width: 100%; overflow-wrap: anywhere; }

/* Globale Bühne */
.page-narrow{
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 14px;
  box-sizing: border-box;
}

/* Post-Buttons unten rechts */
.post .post-buttons{
  clear: both;
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.post .post-buttons a,
.post .post-buttons button,
.post .post-buttons input[type="submit"]{
  display:inline-block;
  padding:6px 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:600;
  background: var(--btn-bg);
  border:1px solid var(--line);
  color:#e6f1ff;
  text-decoration:none;
  line-height:1.2;
  transition:background .2s, box-shadow .2s, border-color .2s, transform .08s;
  cursor:pointer;
}
.post .post-buttons a:hover,
.post .post-buttons button:hover,
.post .post-buttons input[type="submit"]:hover{
  background: var(--btn-hover);
  border-color: var(--line-strong);
  box-shadow:0 0 10px var(--glow);
  color:#fff;
  transform: translateY(-1px);
}
.post_content::after{
  content:"";
  display:block;
  clear:both;
}

/* Untere Thread-Leiste */
.thread-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:12px;
  clear:both;
}
.thread-bottom-left{flex:1;}
.thread-reply-button{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px
}
.thread-reply-button a,
.thread-reply-button button,
.thread-reply-button input[type="submit"]{
  display:inline-block;
  padding:6px 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:600;
  background:var(--btn-bg);
  border:1px solid var(--line);
  color:#e6f1ff;
  text-decoration:none;
  line-height:1.2;
  transition:background .2s, box-shadow .2s, border-color .2s, transform .08s;
  cursor:pointer;
}
.thread-reply-button a:hover,
.thread-reply-button button:hover,
.thread-reply-button input[type="submit"]:hover{
  background:var(--btn-hover);
  border-color:var(--line-strong);
  box-shadow:0 0 10px var(--glow);
  color:#fff;
  transform:translateY(-1px);
}
.thread-footer-tools{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:14px;
  clear:both;
}
.thread-footer-right{text-align:right}
#quick_reply_form,.quick_reply{
  clear:both;
  margin-top:16px;
  width:100%;
  box-sizing:border-box;
}

/* Lesetext in Beiträgen/Editor */
:root{
  --text-reading: #f0dfd4;
}
.post .post_body,
.lan-post-message,
.quick_reply textarea,
.messageEditor textarea,
#message_newreply,
#message_newthread {
  color: var(--text-reading);
  line-height: 2.0;
}
.post .post_body a{
  color: #ffd49a;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(233,151,111,.45);
  text-shadow: none;
}
.post .post_body a:hover{
  text-decoration-color: rgba(233,151,111,.85);
  text-shadow: none;
}

/* ===== Teamseite (Midnight Neon Blue) ===== */

.teampage{
  max-width: var(--forum-width);
  margin: 0 auto;
}

.teampage-header{
  background: linear-gradient(180deg, rgba(13,27,42,.92), rgba(13,27,42,.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
  text-align: center;
}

.teampage-header h1{
  margin: 0 0 8px;
  color: var(--text-strong);
  letter-spacing: .4px;
  text-shadow: 0 0 10px rgba(0,0,0,.45);
  font-size: 22px;
  font-weight: 800;
}

.teampage-sub{
  margin: 0 0 12px;
  color: var(--text-dim);
}

.teampage-legend{
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}

.tp-badge{
  display:inline-block; padding:5px 10px; border-radius:999px;
  border:1px solid var(--line); color: var(--text-strong); font-weight:700;
  background: rgba(15,34,54,.6);
}
.tp-admin{  box-shadow: 0 0 10px rgba(110,203,255,.35) inset; }
.tp-mod{    box-shadow: 0 0 10px rgba(110,203,255,.25) inset; }
.tp-tech{   box-shadow: 0 0 10px rgba(110,203,255,.2) inset; }
.tp-design{ box-shadow: 0 0 10px rgba(110,203,255,.2) inset; }
.tp-support{box-shadow: 0 0 10px rgba(110,203,255,.2) inset; }

.teampage-section{ margin: 18px 0; }
.teampage-section-head{
  background: rgba(17,39,63,.65);
  color: var(--text-strong);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px;
}

/* Grid */
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

/* Card */
.team-card{
  position: relative;
  background: linear-gradient(180deg, rgba(13,27,42,.9), rgba(13,27,42,.84));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.team-card__banner{
  height: 84px;
  background:
    radial-gradient(600px 160px at -10% -30%, rgba(110,203,255,.25), transparent 60%),
    radial-gradient(600px 160px at 110% 130%, rgba(110,203,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(17,39,63,.9), rgba(14,32,52,.9));
  border-bottom: 1px solid var(--line);
}

.team-card__avatar{
  position: absolute; top: 44px; left: 16px;
  width: 72px; height: 72px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 12px var(--glow);
  overflow: hidden; background:#0e2136;
}
.team-card__avatar img{ width:100%; height:100%; object-fit:cover; display:block; }

.team-card__body{ padding: 56px 14px 14px 14px; }

.team-card__name{
  font-weight: 800; letter-spacing: .2px;
  color: var(--text-strong); margin-bottom: 4px;
}
.team-card__name a{ color: var(--primary-strong); text-decoration:none; }
.team-card__name a:hover{ color:#fff; text-shadow:0 0 8px var(--glow); text-decoration:underline; }

.team-card__role{ margin-bottom: 8px; }

.team-card__meta{
  display:flex; gap:10px; flex-wrap:wrap; color: var(--text-dim);
  font-size: 12px; margin-bottom: 10px;
}

.team-card__actions{ display:flex; gap:8px; flex-wrap:wrap; }

.tp-btn{
  display:inline-block; padding:8px 12px; border-radius:999px;
  background: var(--btn-bg); color: var(--text-strong); border:1px solid var(--line);
  text-decoration:none; font-weight:700;
  transition: background .2s ease, box-shadow .2s ease, transform .1s ease, border-color .2s ease;
}
.tp-btn:hover{
  background: var(--btn-hover); border-color: var(--line-strong);
  transform: translateY(-1px); box-shadow: 0 0 10px var(--glow);
}
.tp-btn--ghost{
  background: transparent; border-color: var(--line-strong);
}
.tp-btn--ghost:hover{ background: rgba(15,34,54,.6); }

}
.forum_status {
    width: 150px;       /* Größe einstellen */
    height: 150px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
}
.forum_on {
    background-image: url(https://i.ibb.co/TBMv5HLK/New.png);
}

.forum_off {
    background-image: url(https://i.ibb.co/zh1TfRDq/Old.png);
}

.forum_offclose {
    background-image: url(https://i.ibb.co/3yLcmV5M/Closed.png);
}

.forum_status {
    image-rendering: auto;
}

.forum-icon {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,.5);
}

.forum-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s ease;
}

.trow1:hover .forum-icon img,
.trow2:hover .forum-icon img {
    transform: scale(1.05);
    box-shadow: 0 0 14px var(--glow);
}





/* ============================================
   FIX: Neue Forum-Status-Icons erzwingen
   ============================================ */

.forum_status,
.forum_on,
.forum_off,
.forum_offclose,
.forum_offlock,
.forum_offlink {
    width: 120px !important;
    height: 120px !important;
    display: inline-block !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Neue Beiträge */
.forum_on {
    background-image: url(https://i.ibb.co/TBMv5HLK/New.png) !important;
}

/* Keine neuen Beiträge */
.forum_off {
    background-image: url(https://i.ibb.co/zh1TfRDq/Old.png) !important;
}

/* Geschlossen */
.forum_offclose,
.forum_offlock {
    background-image: url(https://i.ibb.co/3yLcmV5M/Closed.png) !important;
}

/* Externe Weiterleitung */
.forum_offlink {
    background-image: url(https://i.ibb.co/m5XZJ7Fr/Lucid-Realism-a-cinematic-photo-of-A-Miami-Sunset-forum-icon-4-1-removebg-preview.webp) !important;
}




.forum_status {
    display:block;
    margin-top:6px;
    width:40px;
    height:40px;
    background-size:contain;
    background-repeat:no-repeat;
    margin-left:auto;
    margin-right:auto;
}




/* Automatische Statusicons oben */
.forum-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 14px rgba(0,0,0,.5);
}

.forum_status {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}

/* Deine Icons */
.forum_on {
    background-image: url(https://i.ibb.co/TBMv5HLK/New.png);
}

.forum_off {
    background-image: url(https://i.ibb.co/zh1TfRDq/Old.png);
}

.forum_offclose {
    background-image: url(https://i.ibb.co/3yLcmV5M/Closed.png);
}

/* Hover Effekt */
.trow1:hover .forum-icon,
.trow2:hover .forum-icon {
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(233,151,111,.55);
    transition: .25s ease;
}





/* Legende: nebeneinander statt untereinander */
.forum_legend {
    display: flex !important;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
    align-items: center;
}

/* Einzelnes Legendenelement */
.forum_legend_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Die runden Icons */
.forum_legend_item .forum_status {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
}

/* Text unter dem Icon */
.forum_legend_item span {
    font-size: 13px;
    color: var(--text-main);
}






/* ====================================
   LEGENDENBEREICH – PERFEKT AUSGERICHTET
   ==================================== */

dl.forum_legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    justify-items: center;
    align-items: center;
    gap: 20px 40px;
    margin-top: 25px;
}

/* dt/dd paarweise gruppieren */
dl.forum_legend dt,
dl.forum_legend dd {
    margin: 0;
    padding: 0;
}

/* ICONS */
dl.forum_legend dt .forum_status {
    width: 90px !important;
    height: 90px !important;
    display: block;
    background-size: cover !important;
    margin: 0 auto 6px auto;
}

/* TEXTE */
dl.forum_legend dd {
    text-align: center;
    color: var(--text-main);
    font-size: 13px;
    margin-top: -6px;  /* optisch näher ans Icon */
    line-height: 1.3;
}



















.msc-profile-wrapper {
    display: flex;
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    color: #f1e1d6;
}

.msc-sidebar {
    width: 260px;
    background: rgba(10, 15, 28, .85);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}

.msc-avatar img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
}

.msc-username {
    margin-top: 12px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(90deg,#fcd9a1,#f9b36b,#e9976f);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255,200,120,.4);
}

.msc-usertitle {
    text-align: center;
    font-size: 14px;
    color: #e9976f;
    margin-bottom: 15px;
}

.msc-divider {
    height: 2px;
    background: linear-gradient(90deg,transparent,#e9976f,transparent);
    margin: 15px 0;
}

.msc-basic-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.msc-basic-info li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 14px;
}

.msc-basic-info span {
    color: #f5cba0;
    font-weight: bold;
}

.msc-main {
    flex: 1;
    background: rgba(12,18,33,.82);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 0 22px rgba(0,0,0,.45);
}

.msc-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.msc-tabs button {
    padding: 10px 18px;
    border-radius: 20px;
    border: none;
    background: #1d2539;
    color: #fff;
    cursor: pointer;
    transition: .3s;
    font-weight: 600;
}

.msc-tabs button:hover {
    background: #e9976f;
    color: #050813;
}

.msc-tabs button.active {
    background: linear-gradient(90deg,#fcd9a1,#e9976f);
    color: #050813;
    box-shadow: 0 0 12px rgba(233,151,111,.5);
}

.msc-tab {
    display: none;
    font-size: 15px;
    line-height: 1.6;
}

.msc-tab.active {
    display: block;
}












/* --- MIAMI SUNSET PROFILE: TABS, ABSÄTZE & SCROLLBOXEN --- */

/* Absatzübernahme (ENTER bleibt ein Absatz) */
.msc-tab {
    white-space: pre-line;          /* <-- wichtigste Zeile */
}

/* Scrollbox für jede Kategorie */
.msc-tab {
    max-height: 380px;              /* Höhe der Scrollbox */
    overflow-y: auto;               /* Scrollbar nur wenn nötig */
    padding-right: 10px;            /* Platz für die Scrollbar */
    line-height: 1.6;
    font-size: 15px;
    color: var(--text-main);
}

/* Miami Sunset Scrollbar Style */
.msc-tab::-webkit-scrollbar {
    width: 8px;
}

.msc-tab::-webkit-scrollbar-track {
    background: rgba(255,255,255,.05);
    border-radius: 10px;
}

.msc-tab::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #fcd9a1, #e9976f);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(233,151,111,.7);
}

.msc-tab::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffdcb3, #f4a57d);
}

.msc-tab img {
    display: block;
    margin: 0 auto;
}




/* Profil-GIF unter dem Avatar */
.msc-profile-gif {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(233,151,111,.35); /* leichter Miami Glow */
}

.msc-profile-gif img {
    width: 100%;
    display: block;
    border-radius: 12px;
}





.msc-profile-gif {
    width: 250px;              /* feste Breite */
    height: 150px;             /* feste Höhe */
    margin: 15px auto 0 auto;  /* zentriert unter Avatar */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(233,151,111,.35);
}

/* GIF selbst */
.msc-profile-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Füllt die Box perfekt ohne Verzerrung */
    display: block;
}





/* Profil-Banner oben im rechten Bereich */
.msc-profile-banner {
    width: 100%;
    height: 200px;                 /* Höhe kannst du ändern */
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(233,151,111,.35); /* Miami Glow */
}

/* Bannerbild selbst */
.msc-profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* Kein verzerrtes Bild */
    display: block;
    border-radius: 14px;
}








/* ============================================================
   MIAMI SUNSET PROFILE – HIGHLIGHT PACKAGE
   ============================================================ */


/* -----------------------------------------
   GLOW-PULSE ANIMATION (Wrapper „atmet“)
   ----------------------------------------- */
@keyframes softPulse {
    0% { box-shadow: 0 0 10px rgba(255,140,80,0.18); }
    50% { box-shadow: 0 0 20px rgba(255,160,100,0.35); }
    100% { box-shadow: 0 0 10px rgba(255,140,80,0.18); }
}

.msc-profile-wrapper {
    box-shadow: 0 0 25px rgba(255,120,80,0.35);
    animation: softPulse 8s infinite ease-in-out;
}



/* -----------------------------------------
   CINEASTISCHE HOVER-EFFEKTE
   (Banner / GIF / Avatar)
   ----------------------------------------- */
.msc-profile-banner img,
.msc-profile-gif img,
.msc-avatar img {
    transition: 0.35s ease;
    filter: brightness(0.9) contrast(1.05);
}

.msc-profile-banner img:hover,
.msc-profile-gif img:hover,
.msc-avatar img:hover {
    filter: brightness(1.15) contrast(1.2) saturate(1.1);
    transform: scale(1.02);
}



/* -----------------------------------------
   LUXUS-GOLD AVATAR + USERNAME GLOW
   ----------------------------------------- */
.msc-avatar img {
    border: 1px solid rgba(255,200,150,0.35);
    box-shadow:
        0 0 12px rgba(255,140,80,0.35),
        0 0 3px rgba(255,180,130,0.4) inset;
    border-radius: 6px;
}

.msc-username {
    text-shadow:
        0 0 6px rgba(255,150,90,0.8),
        0 0 12px rgba(255,120,60,0.55);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffe1c4;
}



/* -----------------------------------------
   TABS – Hover & neues Tab „HANDLUNG“
   ----------------------------------------- */
.msc-tabs button {
    transition: 0.25s ease;
}

.msc-tabs button:hover {
    box-shadow: 0 0 12px rgba(255,160,90,0.95);
    background: linear-gradient(90deg,
        rgba(255,150,100,0.25),
        rgba(255,120,60,0.45));
}

/* Highlight nur für den Handlung-Tab */
.msc-tabs button[data-tab="handlung"] {
    color: #ffc9a6;
}

.msc-tabs button[data-tab="handlung"]:hover {
    box-shadow: 0 0 14px rgba(255,150,90,0.9);
}



/* -----------------------------------------
   „AKTUELLE HANDLUNG“ – Inhaltbox
   ----------------------------------------- */
.msc-current-plot {
    background: rgba(20, 14, 30, 0.7);
    border-left: 3px solid rgba(255,150,90,0.8);
    padding: 15px 18px;
    margin-top: 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255,120,60,0.25);
}

.msc-current-plot h3 {
    margin: 0 0 8px 0;
    color: #ffc9a6;
    text-shadow: 0 0 6px rgba(255,120,60,0.8);
    font-size: 1.2rem;
    font-weight: 600;
}

.msc-current-plot p {
    color: #f1dfd5;
    font-size: 0.95rem;
    line-height: 1.45;
}




.msc-preferences-box {
    background: rgba(20, 14, 30, 0.7);
    padding: 18px 22px;
    margin-top: 30px;
    border-radius: 10px;
    border-left: 3px solid rgba(255,150,90,0.8);
    box-shadow: 0 0 18px rgba(255,120,60,0.25);
}

.msc-preferences-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #ffc9a6;
    text-shadow: 0 0 6px rgba(255,120,60,0.7);
}

.msc-preferences-content {
    color: #f1dfd5;
    font-size: 0.95rem;
    line-height: 1.45;
}



.msc-preferences-content {
    white-space: pre-line;
}














.postbit-profile-gif {
    width: 100%;
    height: 150px;           /* oder 300x150, wenn du willst */
    margin: 10px 0 15px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(233,151,111,.35);
}

.postbit-profile-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}







.msc-postfields {
    margin-top: 10px;
    color: #f8e8d9;
    font-size: 13px;
    line-height: 1.3;
}

.msc-postfield {
    margin-bottom: 4px;
}

.msc-postfield .label {
    color: #ffbfa3;
    font-weight: 600;
    margin-right: 3px;
}

.msc-post-gif img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 0 12px rgba(255,120,60,0.3);
}






/* ======================================
   MIAMI SUNSET – Glow Text Links
   ====================================== */

.msc-post-buttons {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.msc-post-buttons a,
.msc-post-buttons span {
    font-size: 13px;
    font-weight: 600;
    color: #ffcfbf !important;
    text-decoration: none !important;

    /* weicher Glow */
    text-shadow:
        0 0 6px rgba(255,140,90,0.6),
        0 0 12px rgba(255,130,80,0.35);

    transition: 0.25s ease;
    padding: 2px 0; /* visuell angenehmer */
}

.msc-post-buttons a:hover,
.msc-post-buttons span:hover {
    color: #ffffff !important;

    text-shadow:
        0 0 8px rgba(255,170,120,0.9),
        0 0 16px rgba(255,150,100,0.6),
        0 0 24px rgba(255,130,80,0.4);

    transform: translateY(-1px);
}




























/* ===============================
   FIX: Accountswitcher Sidebar
   =============================== */

/* Sidebar MUSS über der Topbar liegen */
#asSidenav,
.as_sidenav {
    z-index: 20000 !important;
    padding-top: 0 !important;   /* ❌ entfernt das Unter-die-Topbar-Schieben */
}

/* Close-Button garantiert sichtbar */
#asSidenav .closebtn,
.as_sidenav .closebtn {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    z-index: 20001 !important;
}

/* Topbar bewusst darunter */
.topbar {
    z-index: 9000 !important;
}





/* ===============================
   FIX: Sidebar unter Topbar ausrichten
   =============================== */

:root{
  --topbar-height: 56px; /* falls du sie später änderst */
}

/* Sidebar korrekt unter der Topbar starten */
#asSidenav,
.as_sidenav {
    top: var(--topbar-height) !important;
    height: calc(100vh - var(--topbar-height)) !important;
}

/* Close-Button wieder logisch im Header */
#asSidenav .closebtn,
.as_sidenav .closebtn {
    top: 8px !important;
}







/* ===============================
   FIX: Sidebar bündig links
   =============================== */

/* Sidebar wirklich bei 0 starten */
#asSidenav,
.as_sidenav {
    left: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
}

/* Menü-Arrow darf Sidebar NICHT verschieben */
.as_menu-arrow {
    left: 0 !important;
    transform: none !important;
}

/* Falls noch ein unsichtbarer Rand existiert */
body {
    overflow-x: hidden;
}





/* =====================================
   FINAL FIX – Accountswitcher Sidebar
   ===================================== */

/* Alte Sidebar-Regeln neutralisieren */
.as_sidenav {
    padding-top: 0 !important;
}

/* Neue Sidebar exakt links bündig */
#asSidenav {
    position: fixed !important;
    top: var(--topbar-height, 56px) !important;
    left: 0 !important;
    width: 0;
    height: calc(100vh - var(--topbar-height, 56px)) !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 20000 !important;
}

/* Close-Button korrekt */
#asSidenav .closebtn {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    z-index: 20001 !important;
}

/* Hamburger darf nichts verschieben */
.as_menu-arrow {
    width: auto !important;
    left: 0 !important;
    background: transparent !important;
}




























/* ============================= */
/* POSTBIT – FINAL CARD LAYOUT */
/* ============================= */

.post.classic {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: linear-gradient(180deg, #0b1622, #070e17);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  margin-bottom: 30px;
}

/* ============================= */
/* LINKSE PROFILKARTE */
/* ============================= */

.post_author {
  background: linear-gradient(180deg, #0f1c2b, #0a1420);
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.05);
}

.lanp-postcard {
  background: rgba(8,16,26,.9);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.lanp-post-avatar img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.7);
}

.lanp-post-username {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #e6edf6;
}

.lanp-post-badges {
  margin: 6px 0 12px;
  opacity: .85;
}

.lanp-button {
  display: inline-block;
  margin: 10px 0 14px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a3c6e, #122a4a);
  color: #eaf2ff;
  font-size: 12px;
  text-decoration: none;
}

.lanp-post-info-grid {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  text-align: left;
}

.lanp-post-info-grid span {
  font-size: 11px;
  color: #7f8fa6;
  text-transform: uppercase;
}

.lanp-val {
  font-size: 13px;
  color: #e3eaf3;
}

.lanp-banner {
  width: 100%;
  border-radius: 10px;
  margin-top: 12px;
}

.lanp-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8fa1b8;
}

/* ============================= */
/* RECHTE SEITE */
/* ============================= */

.post_content {
  padding: 28px 32px;
  min-width: 0;
}

.post_head {
  font-size: 12px;
  color: #8fa1b8;
  margin-bottom: 14px;
}

/* ============================= */
/* SZENENINFORMATIONEN */
/* ============================= */

.inplayscenes {
  background: linear-gradient(180deg, #0f253d, #0b1c2d);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.06);
}

.inplayscenes h3 {
  text-align: center;
  font-size: 15px;
  color: #8fbaff;
  margin-bottom: 14px;
}

/* ============================= */
/* POSTTEXT */
/* ============================= */

.lan-post-message {
  max-width: 100%;
  color: #d6dde6;
  font-size: 14.5px;
  line-height: 1.75;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.post-buttons {
  margin-top: 24px;
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.post-buttons a {
  background: rgba(255,255,255,.06);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
}








/* ============================= */
/* PROFILINFOS – MEHR ABSTAND */
/* ============================= */

.lanp-post-info-grid div {
  padding-bottom: 8px;     /* Abstand zwischen den Zeilen */
}

.lanp-post-info-grid span {
  display: block;
  margin-bottom: 3px;      /* Abstand Label → Wert */
}

.lanp-val {
  display: block;
  padding-left: 6px;       /* optischer Abstand nach rechts */
  line-height: 1.4;
}






/* ============================= */
/* POSTBIT AVATAR – FINAL SAUBER */
/* ============================= */

/* Avatar-Wrapper */
.post.classic .post_author a.lanp-post-avatar {
  display: block;
  width: 240px;
  margin: 0 auto 14px;
}

/* NUR das Avatarbild */
.post.classic .post_author a.lanp-post-avatar img {
  width: 240px !important;
  height: auto !important;
  max-width: none !important;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 40px rgba(0,0,0,.75);
}

/* SICHERHEIT: Sterne & andere Icons NICHT beeinflussen */
.post.classic .post_author .lanp-post-badges img,
.post.classic .post_author .star_rating img,
.post.classic .post_author img.star,
.post.classic .post_author img[alt*="star"] {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  box-shadow: none !important;
}



/* ============================= */
/* POSTBIT AVATAR – FINAL FIX */
/* ============================= */

/* MyBB Post-Avatar DIREKT */
.post.classic .post_author img.avatar,
.post.classic .post_author img[width][height] {
  width: 220px !important;
  height: auto !important;
  max-width: none !important;
  min-width: 220px !important;
  border-radius: 14px;
  display: block;
  margin: 0 auto 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.75);
}

/* Sterne & Icons NICHT anfassen */
.post.classic .post_author .lanp-post-badges img,
.post.classic .post_author img.star,
.post.classic .post_author img[alt*="star"] {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  box-shadow: none !important;
}
























/* ============================= */
/* PROFIL-GIF UNTER AVATARPERSON */
/* ============================= */

.lanp-row-avaperson {
  margin-bottom: 6px;
}

.lanp-profile-gif {
  margin-top: 8px;
  text-align: center;
}

.lanp-profile-gif img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

