/* =======================================================
   MIDNIGHT NEON BLUE – GLOBAL THEME
   Breite: 1100px | Struktur bleibt wie zuvor
   ======================================================= */

/* ---------- Farbpalette & Maße ---------- */
:root{
  --forum-width: 1100px;

/* Page & Surfaces */
  --bg-page: #071521;            /* Seitenhintergrund */
  --bg-surface-1: #0d1b2a;       /* Wrapper / Content */
  --bg-surface-2: #0f2236;       /* Karten / Panels */
  --bg-panel: rgba(12, 30, 49, .9);

  /* Typografie */
  --text-strong: #e6f1ff;
  --text-main:   #cbd8f1;
  --text-dim:    #8aa2c7;

  /* Neon Blau Akzente */
  --primary:        #6ecbff;
  --primary-strong: #9be2ff;
  --primary-dim:    rgba(110,203,255,.55);

  /* Linien & Glows */
  --line:          #1c334e;
  --line-strong:   #2a4a71;
  --card-line:     #17324f;
  --glow:          rgba(110,203,255,.35);
  --glow-strong:   rgba(110,203,255,.55);

  /* Buttons */
  --btn-bg:        rgba(20,45,71,.6);
  --btn-hover:     rgba(34,84,123,.7);
  --btn-active:    rgba(44,104,153,.75);

  /* Tabellen-Zeilen */
  --row-1: rgba(17, 39, 63, .70);
  --row-2: rgba(17, 39, 63, .55);
  --row-hover: rgba(42, 117, 177, .25);

  /* Hilfswerte */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 0 22px var(--glow), 0 0 50px rgba(0,0,0,.6);
}

/* ---------- Grundlayout ---------- */
html{scroll-behavior:smooth;}
body{
  margin:0;
  padding:0;
  font: 13px/1.55 Tahoma, Verdana, Arial, sans-serif;
  color: var(--text-main);
  background: radial-gradient(1200px 600px at 50% -10%, #0a2238 0%, #071521 55%, #06101a 100%) fixed;
}

/* Links */
a:link,a:visited{color:var(--primary); text-decoration:none;}
a:hover,a:active{color:var(--text-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:18px 0 14px;
  text-align:center;
  background: linear-gradient(180deg, rgba(13,27,42,.85), rgba(13,27,42,.65));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(0,0,0,.45);
}
#logo a{display:inline-block;}
#logo img{
  max-width:100%; height:auto; display:block; margin:0 auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 12px var(--glow));
}

/* Top-Navigation */
.navbar{
  background: linear-gradient(180deg, rgba(15,34,54,.95), rgba(13,27,42,.95));
  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;
  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 10px 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(15,34,54,.95), rgba(13,27,42,.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 10px 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(13,27,42,.85), rgba(13,27,42,.8));
  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(18,40,63,.75);
  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 12px rgba(0,0,0,.35);
}
.nftextfeldlinks,.nftextfeldbig,.nftextfeldsmall{
  background: rgba(15,34,54,.6);
  color: var(--text-main);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 10px rgba(0,0,0,.45);
}
.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(--text-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 12px var(--glow); }

/* Scrollbar im Newsflash */
#newsflash ::-webkit-scrollbar{ width:8px; background:#0b1a2a; }
#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(13,27,42,.85), rgba(13,27,42,.8));
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
}

/* Kopfbereiche */
.thead{
  background:
    linear-gradient(180deg, rgba(17,39,63,.9), rgba(14,32,52,.9)),
    url(../../../images/seabreeze/background.png);
  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,.45);
}
.thead a:link,.thead a:visited{ color: var(--primary-strong); text-decoration:none; }
.thead a:hover{ color:#fff; text-decoration:underline; text-shadow:0 0 8px var(--glow-strong); }

.tcat{
  background: rgba(17,39,63,.65);
  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(14,32,52,.85);
  color: var(--text-dim);
  padding:8px 10px; border-bottom:1px solid var(--line);
  font-weight:700;
}

/* Footer einer Tabelle */
.tfoot{
  background: rgba(13,27,42,.9);
  color: var(--text-dim);
  padding: 10px 12px;
  border-top:1px solid var(--line);
}

/* Forumstatus-Icons (behalten) */
.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(13,27,42,.95), rgba(13,27,42,.9));
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
#footer .upper{
  background: rgba(16,34,54,.9);
  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:#0e2136; color:var(--text-strong);
  border:1px solid var(--line); border-radius:8px; padding:6px 8px;
}

/* =======================================================
   FORM/KONTROLLEN (dezente Neontöne)
   ======================================================= */
input.textbox, textarea, select{
  background:#0e2136; 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 rgba(110,203,255,.12);
}
button, input.button{
  background: var(--btn-bg);
  color: var(--text-strong);
  border:1px solid var(--line);
  border-radius: 999px;
  padding:7px 14px;
  cursor:pointer;
  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 10px 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_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;    /* statt sticky */
  top: 0; left: 0; right: 0;
  z-index: 9999;
  display:flex; align-items:center; gap:16px;
  background:#0a2238; padding:6px 14px;
  box-shadow: 0 0 10px var(--glow);
}

/* Platz unter der Topbar schaffen, damit sie nichts überdeckt */
#container{ padding-top: 56px; }  /* ggf. auf deine Topbar-Höhe anpassen */

/* Avatar in der Topbar */
.topbar-avatar{
  display:block;
  margin-left:40px;      /* Abstand vom linken Rand */
  margin-right:10px;     /* Abstand zu den Links */
}

.topbar-avatar img{
  width:44px;            /* größerer Avatar */
  height:44px;
  border-radius:70%;
  object-fit:cover;
  display:block;
}

/* Links/Badges (wie zuvor) */
.toplink{ color:#fff; 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:#0a2238; color:#fff;
  font-size:14px; line-height:18px; text-align:center; margin-left:4px;
}

/* Dropdown (unverändert) */
.dropdown{ position:relative; }
.dropbtn{ background:transparent; border:0; color:#fff; 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:#0a2238;
  border-radius:8px; min-width:240px; padding:10px; box-shadow:0 10px 22px rgba(0,0,0,.35); display:none;
}
.dropdown.open .dropdown-menu{ display:block; }
.dropdown-menu a{ display:block; padding:8px 10px; color:#ddd; text-decoration:none; border-radius:6px; }
.dropdown-menu a:hover{ background:rgba(255,255,255,.06); }
.dropdown-name{ padding:6px 10px 10px; color:#fff; 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 ===== */

/* Sichert, dass Content auf der forumdisplay Seite wirklich zentriert im 1100px-Layout sitzt */
#content.wrapper {
  max-width: var(--forum-width);   /* 1100px */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Tabellen im Forum-Listing auf Wrapper-Breite begrenzen */
#content .tborder {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Alle Kopf-/Fuß-/Zeilen nehmen die volle Innenbreite ohne überzulaufen */
#content .thead,
#content .tcat,
#content .trow1,
#content .trow2,
#content .tfoot {
  box-sizing: border-box;
}

/* Horizontalen Überlauf verhindern, falls irgendwo hart breite Elemente drin sind */
html, body {
  overflow-x: hidden;
}

/* ===== Aktionsleiste (Neues Thema, Pagination, Sortierung) ausrichten ===== */

/* Wrapper für die Controls als Flex-Zeile, damit nichts halb außerhalb hängt */
#content .thread_controls,
#content .pagination,
#content .thread_tools,
#content .inline_rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Links/Rechts-Floats in den Controls neutralisieren, damit Flex wirken kann */
#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;
}

/* Die Haupt-Controls links-rechts verteilen */
#content .thread_controls {
  justify-content: space-between;
}

/* Buttons/Pager optisch konsistent mit deiner Neon-Navi */
#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);
}

/* Die „Thema erstellen“-Schaltfläche nicht zusammenquetschen */
#content .new_thread_button,
#content a.new_thread_button {
  white-space: nowrap;
}

/* Tabellenliste: keine zusätzlichen Ränder, die aus dem Wrapper drücken */
#content table {
  border-spacing: 0;
  border-collapse: separate;
  width: 100%;
}

/* Sicherheitsnetz für sehr breite Wörter/Links in Themenzeilen */
#content .trow1, 
#content .trow2, 
#content .trow1 td, 
#content .trow2 td {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Kopfzeilen der Liste: saubere Innenabstände, damit nichts „klebt“ */
#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, zentrierte Bühne für alle Seiten */
.page-narrow{
  max-width: 1100px;   /* feste Breite */
  margin: 0 auto;
  width: 100%;
  padding: 0 14px;
  box-sizing: border-box;
}











/* Buttonleiste unten rechts wie Bild 2 – etwas dunkler */
.post .post-buttons{
  display:flex;
  justify-content:flex-end;   /* rechtsbündig */
  flex-wrap:wrap;             /* bricht in zweite Zeile falls nötig */
  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: rgba(20,45,71,.70);   /* dunkler Hintergrund */
  border:1px solid #1c334e;
  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: rgba(34,84,123,.80);
  border-color:#2a4a71;
  box-shadow:0 0 10px rgba(110,203,255,.35);
  color:#fff;
  transform: translateY(-1px);
}


/* sorgt dafür, dass Elemente in post_content unter Floats landen */
.post_content::after{
  content:"";
  display:block;
  clear:both;
}

/* die Buttonleiste selbst muss ebenfalls Floats räumen */
.post .post-buttons{
  clear: both;                 /* <— wichtig */
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}







/* Untere 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}

/* Style für Inplay + Antworten (gleich wie Post-Buttons) */
.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:rgba(20,45,71,.70);border:1px solid #1c334e;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:rgba(34,84,123,.80);border-color:#2a4a71;box-shadow:0 0 10px rgba(110,203,255,.35);color:#fff;transform:translateY(-1px);
}

/* Tools-Zeile unten */
.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}

/* Quickreply nicht überdeckt */
#quick_reply_form,.quick_reply{clear:both;margin-top:16px;width:100%;box-sizing:border-box;}







/* ---- weicher Lesetext in Beiträgen/Editor ---- */
:root{
  /* Variante A: neutrales, kühles Grau (passt zu deinem Blauton) */
  --text-reading: #797d82;    /* weich, nicht knallig */

  /* Variante B (optional): leicht warmes Grau – wie "Sepia light"
     --text-reading: #8a8886;
  */
}

/* Fließtext in Beiträgen/Quickreply/Editor */
.post .post_body,
.lan-post-message,
.quick_reply textarea,
.messageEditor textarea,
#message_newreply,
#message_newthread {
  color: var(--text-reading);
  line-height: 2.0;                 /* ruhigeres Schriftbild */
}

/* Grelle Effekte im Leseblock reduzieren */
.post .post_body a{
  color: #aecdff;                    /* dezenter Link-Ton */
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(110,203,255,.35);
  text-shadow: none;
}
.post .post_body a:hover{
  text-decoration-color: rgba(110,203,255,.65);
  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); }










