/* =========================================
   BODY – Basis & Typografie
   ========================================= */

body {
    background: #070a14; /* neutraler Grundton unter allem */

    font-family:
        "Inter",
        "Segoe UI",
        "Roboto",
        "Helvetica Neue",
        Arial,
        sans-serif;

    font-size: 15px;
    line-height: 1.6;
    color: rgba(230, 235, 245, 0.95);

    margin: 0;
    padding: 0;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Der eigentliche Seitenhintergrund (ab unter Navbar) */
#page-background{
  background-image:
    radial-gradient(circle at top, rgba(0,0,0,.35), rgba(0,0,0,.85)),
    url(../../../images/ResponsiveRookie/la-map-background.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Inhalte zentrieren + Abstand nach oben */
.page-inner{
  max-width: 1200px;       /* anpassen */
  margin: 0 auto;
  padding: 18px 14px 40px; /* Abstand innen */
}



.forum-row,
.thread-card,
.panel,
.tborder {
    background: rgba(10,15,30,0.85);
    backdrop-filter: blur(6px);
}


/* Standard-Linkfarben */
a:link,
a:visited {
    color: #0072BC;
    text-decoration: none;
}

a:hover,
a:active {
    color: #0072BC;
    text-decoration: underline;
}

/* Allgemeine Typografie-Helfer */

.smalltext {
    font-size: 11px;
}

.largetext {
    font-size: 16px;
    font-weight: bold;
}

/* Bilder, HR */

img {
    border: none;
}

img.attachment {
    border: 1px solid #E9E5D7;
    padding: 2px;
}

hr {
    background-color: #000000;
    color: #000000;
    height: 1px;
    border: 0;
}

.scaleimages img {
    max-width: 100%;
}

/* =========================================
   2. Seitenlayout: Container, Wrapper, Content
   ========================================= */

/* Hauptcontainer – responsive, zentriert */
#container {
    background-image:
        radial-gradient(
            circle at top,
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.92)
        ),
        url(../../../images/ResponsiveRookie/la-map-background.png);

    background-repeat: repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;

    padding-top: 2px;
}



/* Optionaler Wrapper, falls in Templates genutzt */
.wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Logo / Kopfbereich */
#logo {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #263c30;
}




/* =========================================
   3. Legacy Header-Menüs & Panel (alte MyBB-Struktur)
   ========================================= */

/* Altes Header-Menü */
#header ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#header ul.menu li {
    margin: 0 7px;
    display: inline;
}

#header ul.menu li a {
    padding-left: 20px;
    background-image: url(../../../images/headerlinks_sprite.png);
    background-repeat: no-repeat;
    display: inline-block;
    line-height: 16px;
}

/* =========================================
   Header-Banner mit Bild + dunklem Verlauf
   ========================================= */

#header-banner {
    width: 100%;
    aspect-ratio: 2752 / 1536;   /* exakt dein Bild */
    max-height: 70vh;            /* nicht zu riesig */
    background-image: url(../../../images/ResponsiveRookie/bannerresponsivecartoon.png);
    background-repeat: no-repeat;
    background-size: contain;    /* ? komplettes Bild */
    background-position: center top;
    background-color: #050a13;
    position: relative;
}

#header-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(5,10,20,0),
        rgba(5,10,20,1)
    );
}

#header-banner .banner-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

#header-banner:hover {
    filter: brightness(1.05);
}


/* Mobile Feinschliff */
@media (max-width: 768px) {
    #header-banner {
        aspect-ratio: 16 / 7;
        min-height: 160px;
    }
}


/* Alte Toplinks (Search/Memberlist/... im Logo-Bereich) */
#logo ul.top_links {
    font-weight: bold;
    text-align: right;
    margin: -10px 5px 0 0;
}



#logo ul.top_links a.search { background-position: 0 0; }
#logo ul.top_links a.memberlist { background-position: 0 -20px; }
#logo ul.top_links a.calendar { background-position: 0 -40px; }
#logo ul.top_links a.help { background-position: 0 -60px; }
#logo ul.top_links a.portal { background-position: 0 -180px; }

/* Login-/User-Panel */

#panel .upper {
    background: #0f0f0f url(../../../images/tcat.png) repeat-x;
    color: #fff;
    border-top: 1px solid #444;
    border-bottom: 1px solid #000;
    padding: 7px;
    clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
    color: #fff;
}

#panel .lower {
    background: #efefef;
    color: #999;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #ccc;
    padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
    color: #666;
}

/* Panel-Links (UserCP/ModCP/AdminCP) */

#panel .upper a.logout {
    font-weight: bold;
    background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
    padding-right: 20px;
    margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
    background: url(../../../images/headerlinks_sprite.png) 0 -100px no-repeat;
    padding-left: 20px;
    margin-left: 10px;
    font-weight: bold;
}

#panel .upper a.register {
    background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
    padding-right: 20px;
    margin-left: 10px;
    font-weight: bold;
}

#panel .lower ul.panel_links {
    float: left;
}

#panel .lower ul.panel_links a.usercp { background-position: 0 -120px; }
#panel .lower ul.panel_links a.modcp { background-position: 0 -140px; }
#panel .lower ul.panel_links a.admincp { background-position: 0 -160px; }

#panel .lower ul.user_links {
    float: right;
}

#panel .lower ul.user_links li a {
    padding: 0;
    background-image: none;
}

/* Suche oben */
#search {
    border: 0;
    padding: 0;
    margin: 0;
    float: right;
    vertical-align: middle;
}

#search input.button,
#search input.textbox {
    border-color: #000;
}

#search input.button {
    background: #0066a2 url(../../../images/thead.png) top left repeat-x;
    color: #fff;
}

#search input {
    margin: -3px 0;
}

#quick_login .remember_me input {
    vertical-align: middle;
    margin: -3px 0 0 5px;
}

/* =========================================
   4. Footer
   ========================================= */

#footer {
    clear: both;
}

#footer ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer ul.menu li {
    margin: 0 5px;
    display: inline;
}

#footer .upper {
    background: #efefef;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    padding: 6px;
    font-size: 12px;
    overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
    color: #777;
}

#footer .upper .language,
#footer .upper .theme {
    float: right;
    margin: -1px;
    margin-left: 15px;
}

#footer .upper .language select,
#footer .upper .theme select {
    border-color: #ccc;
}

#footer .upper ul.bottom_links {
    float: left;
    margin: 4px 0 0 0;
}

#footer .lower {
    color: #666;
    padding: 6px 6px 12px 6px;
    overflow: hidden;
    font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
    color: #444;
    font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
    color: #333;
    text-decoration: underline;
    font-weight: bold;
}

#footer .lower #current_time {
    float: right;
    color: #888;
}

#debug {
    float: right;
    text-align: right;
    margin-top: 20px;
    font-size: 11px;
}

/* =========================================
   5. Foren-Icons / Legend
   ========================================= */

.forum_status {
    height: 30px;
    width: 30px;
    background: url(../../../images/forum_icon_sprite.png) no-repeat 0 0;
    display: inline-block;
}

.forum_on      { background-position: 0 0; }
.forum_off     { background-position: 0 -30px; }
.forum_offclose{ background-position: 0 -60px; }
.forum_offlink { background-position: 0 -90px; }

.subforumicon {
    height: 10px;
    width: 10px;
    display: inline-block;
    margin: 0 5px;
    background: url(../../../images/mini_status_sprite.png) no-repeat 0 0;
}

.subforum_minion       { background-position: 0 0; }
.subforum_minioff      { background-position: 0 -10px; }
.subforum_minioffclose { background-position: 0 -20px; }
.subforum_miniofflink  { background-position: 0 -30px; }

/* Thread-/Forum-Legende */

.thread_legend,
.thread_legend dd {
    margin: 0;
    padding: 0;
}

.thread_legend dd {
    padding-bottom: 4px;
    margin-right: 15px;
}

.thread_legend img {
    margin-right: 4px;
    vertical-align: bottom;
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
    margin: 0;
    padding: 0;
}

.forum_legend dd {
    float: left;
    margin-right: 10px;
    margin-top: 7px;
}

.forum_legend dt {
    margin-right: 10px;
    float: left;
}

/* =========================================
   6. Tabellen / trow / thead / tcat
   ========================================= */

table {
    color: #333;
    font-size: 13px;
}

.tborder {
    background: #fff;
    width: 100%;
    margin: auto auto;
    border: 1px solid #ccc;
    padding: 1px;
}

.tfixed {
    table-layout: fixed;
    word-wrap: break-word;
}

.thead {
    background: #0066a2 url(../../../images/thead.png) top left repeat-x;
    color: #ffffff;
    border-bottom: 1px solid #263c30;
    padding: 8px;
}

.thead a:link,
.thead a:visited {
    color: #ffffff;
    text-decoration: none;
}

.thead a:hover,
.thead a:active {
    color: #ffffff;
    text-decoration: underline;
}

.tcat {
    background: #0f0f0f url(../../../images/tcat.png) repeat-x;
    color: #fff;
    border-top: 1px solid #444;
    border-bottom: 1px solid #000;
    padding: 6px;
    font-size: 12px;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
    color: #fff;
}

.trow1 {
    background: #f5f5f5;
    border: 1px solid;
    border-color: #fff #ddd #ddd #fff;
}

.trow2 {
    background: #efefef;
    border: 1px solid;
    border-color: #fff #ddd #ddd #fff;
}

.trow_shaded {
    background: #ffdde0;
    border: 1px solid;
    border-color: #fff #ffb8be #ffb8be #fff;
}

.no_bottom_border {
    border-bottom: 0;
}

.trow_deleted,
.post.deleted_post {
    background: #E8DEFF;
}

.trow_selected,
tr.trow_selected td {
    background: #FFFBD9;
    color: #333;
    border-right-color: #F7E86A;
    border-bottom-color: #F7E86A;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
    color: #333;
}

.trow_sep {
    background: #ddd;
    color: #333;
    border-bottom: 1px solid #c5c5c5;
    padding: 6px;
    font-size: 12px;
    font-weight: bold;
}

.tfoot {
    border-top: 1px solid #fff;
    padding: 6px;
    background: #ddd;
    color: #666;
}

.tfoot a:link,
.tfoot a:visited {
    color: #444;
    text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
    color: #444;
    text-decoration: underline;
}

.thead input.textbox,
.thead select {
    border: 1px solid #263c30;
}

/* =========================================
   7. Navigation / Breadcrumb
   ========================================= */

.bottommenu {
    background: #efefef;
    color: #333;
    border: 1px solid #4874a3;
    padding: 10px;
}

.navigation {
    color: #333;
    font-size: 12px;
}

.navigation a:link,
.navigation a:visited {
    text-decoration: none;
}

.navigation a:hover,
.navigation a:active {
    text-decoration: underline;
}

.navigation .active {
    color: #333;
    font-size: small;
    font-weight: bold;
}

/* =========================================
   8. Formulare, Inputs, Buttons
   ========================================= */

fieldset {
    padding: 12px;
    border: 1px solid #ddd;
    margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
    border-color: #bbb;
}

fieldset.align_right {
    text-align: right;
}

input.textbox {
    background: #ffffff;
    color: #333;
    border: 1px solid #ccc;
    padding: 3px;
    outline: 0;
    font-size: 13px;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

input.textbox.portal_search {
    width: 68%;
}

textarea {
    background: #ffffff;
    color: #333;
    border: 1px solid #ccc;
    padding: 2px;
    line-height: 1.4;
    outline: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
}

select {
    background: #ffffff;
    padding: 3px;
    border: 1px solid #ccc;
    outline: 0;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
}

button,
input.button {
    padding: 3px 8px;
    cursor: pointer;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
    background: #eee url(../../../images/buttons_bg.png) repeat-x;
    border: 1px solid #bbb;
    color: #333;
    outline: 0;
}

button:hover,
input.button:hover {
    border-color: #aaa;
}

form {
    margin: 0;
    padding: 0;
}

input.error,
textarea.error,
select.error {
    border: 1px solid #f30;
    color: #f30;
}

input.valid,
textarea.valid,
select.valid {
    border: 1px solid #0c0;
}

label.error {
    color: #f30;
    margin: 5px;
    padding: 0;
    display: block;
    font-weight: bold;
    font-size: 11px;
}

form #message {
    width: 500px;
}

/* =========================================
   9. Editor, Code, Zitate
   ========================================= */

.editor {
    background: #f1f1f1;
    border: 1px solid #ccc;
}

.editor_control_bar {
    background: #fff;
    border: 1px solid #ccc;
}

.post .editor_control_bar {
    background: #f5f5f5;
}

.popup_menu {
    background: #fff;
    border: 1px solid #ccc;
}

.popup_menu .popup_item {
    background: #efefef;
    color: #333;
}

.popup_menu .popup_item:hover {
    background: #0072BC;
    color: #fff;
}

.popup_menu .popup_item_container {
    margin: 1px;
    text-align: left;
}

.popup_menu a.popup_item:hover {
    text-decoration: none;
}

blockquote {
    border: 1px solid #ccc;
    margin: 0;
    background: #fff;
    padding: 10px;
}

blockquote cite {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    font-style: normal;
    display: block;
    padding-bottom: 3px;
    margin: 0 0 10px 0;
}

blockquote cite > span {
    float: right;
    font-weight: normal;
    font-size: 12px;
    color: #666;
}

blockquote cite span.highlight {
    float: none;
    font-weight: bold;
    padding-bottom: 0;
}

.codeblock {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
}

.codeblock .title {
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    padding-bottom: 3px;
    margin: 0 0 10px 0;
}

.codeblock code {
    overflow: auto;
    height: auto;
    max-height: 200px;
    display: block;
    font-family: Monaco, Consolas, Courier, monospace;
    font-size: 13px;
}

/* =========================================
   10. Utility-Klassen & Kleinkram
   ========================================= */

.smilie {
    vertical-align: middle;
}

.smilie_pointer {
    cursor: pointer;
}

.separator {
    margin: 5px;
    padding: 0;
    height: 0;
    font-size: 1px;
    list-style-type: none;
}

.subject_new {
    font-weight: bold;
}

.highlight {
    background: #FFFFCC;
    padding-top: 3px;
    padding-bottom: 3px;
}

.clear {
    clear: both;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.hidden {
    display: none;
    float: none;
    width: 1%;
}

.hiddenrow {
    display: none;
}

.selectall {
    background: #FFFBD9;
    border-bottom: 1px solid #F7E86A;
    color: #333;
    text-align: center;
}

.expcolimage {
    float: right;
    width: auto;
    vertical-align: middle;
    margin-top: 3px;
}

.tcat_menu > .expcolimage {
    margin-top: 0;
}

/* =========================================
   11. Alerts, Warnungen, Online-Status
   ========================================= */

.pm_alert {
    background: #FFF6BF;
    border: 1px solid #FFD324;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    font-size: 11px;
}

.red_alert {
    background: #FBE3E4;
    border: 1px solid #A5161A;
    color: #A5161A;
    text-align: center;
    padding: 5px 20px;
    margin-bottom: 15px;
    font-size: 11px;
    word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
    color: #A5161A;
}

.high_warning { color: #CC0000; }
.moderate_warning { color: #F3611B; }
.low_warning { color: #AE5700; }

.imminent_banned { color: #880000; }
.high_banned     { color: #FF0000; }
.moderate_banned { color: #FF6600; }
.low_banned      { color: #008000; }

.online  { color: #15A018; }
.offline { color: #C7C7C7; }

/* Fehler-/Success-Messages */

div.error {
    padding: 5px 10px;
    border: 2px solid #FFD324;
    background: #FFF6BF;
    font-size: 12px;
}

div.error p {
    margin: 0;
    color: #333;
    font-weight: normal;
}

div.error p em {
    font-style: normal;
    font-weight: bold;
    padding-left: 24px;
    display: block;
    color: #C00;
    background: url(../../../images/error.png) no-repeat 0;
}

div.error ul {
    margin-left: 24px;
}

.success_message {
    color: #00b200;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}

.error_message {
    color: #C00;
    font-weight: bold;
    font-size: 10px;
    margin-bottom: 10px;
}

/* =========================================
   12. Pagination
   ========================================= */

.pagination {
    font-size: 11px;
    padding-top: 10px;
    margin-bottom: 5px;
}

.tfoot .pagination,
.tcat .pagination {
    padding-top: 0;
}

.pagination .pages {
    font-weight: bold;
}

.pagination .pagination_current,
.pagination a {
    padding: 3px 6px;
    margin-bottom: 3px;
}

.pagination a {
    background: #f5f5f5;
    border: 1px solid #ccc;
}

.pagination .pagination_current {
    background: none;
    color: #333;
    border: none;
    font-weight: bold;
}

.pagination a:hover {
    background: #0072BC;
    color: #fff;
    border-color: #263c30;
    text-decoration: none;
}

.pagination .go_page img {
    margin-bottom: -4px;
}

.drop_go_page {
    background: #f5f5f5;
    padding: 4px;
}

.pagination_breadcrumb {
    background-color: #efefef;
    border: 1px solid #fff;
    outline: 1px solid #ccc;
    padding: 5px;
    margin-top: 5px;
    font-weight: normal;
}

.pagination_breadcrumb_link {
    vertical-align: middle;
    cursor: pointer;
}

/* =========================================
   13. Reputation / Bewertungsbox
   ========================================= */

.trow_reputation_positive {
    background: #ccffcc;
}

.trow_reputation_negative {
    background: #ffcccc;
}

.reputation_positive { color: green; }
.reputation_neutral  { color: #444; }
.reputation_negative { color: red; }

.repbox {
    font-size:16px;
    font-weight: bold;
    padding:5px 7px;
}

._neutral {
    background-color:#FAFAFA;
    color: #999999;
    border:1px solid #CCCCCC;
}

._minus {
    background-color: #FDD2D1;
    color: #CB0200;
    border:1px solid #980201;
}

._plus {
    background-color:#E8FCDC;
    color: #008800;
    border:1px solid #008800;
}

/* =========================================
   14. Posts (klassisches Postbit) + Blocksatz
   ========================================= */

#posts_container {
    padding: 0;
}

.post {
    overflow: hidden;
}

.post.classic {
    padding-top: 15px;
}

/* Autorbereich */
.post .post_author {
    border-bottom: 1px solid #ccc;
    border-top: 2px solid #ccc;
    background: #f5f5f5;
    padding: 5px;
    overflow: hidden;
}

.post.classic .post_author {
    border: 1px solid #ddd;
    float: left;
    width: 15%;
    margin: 0 1% 15px 0;
    border-left: 0;
    padding: 5px 1%;
}

.post .post_author .buddy_status {
    vertical-align: middle;
    margin-top: -4px;
}

.post .post_author div.author_avatar {
    float: left;
    margin-right: 3px;
}

.post.classic .post_author div.author_avatar {
    float: none;
    text-align: center;
    margin-bottom: 8px;
}

.post .post_author div.author_avatar img {
    padding: 5px;
    border: 1px solid #ddd;
    background: #fff;
}

.post .post_author div.author_information {
    float: left;
    padding: 6px 8px;
}

.post.classic .post_author div.author_information {
    float: none;
    padding: 0;
    text-align: center;
}

.post .post_author div.author_statistics {
    float: right;
    font-size: 11px;
    padding: 3px 10px 3px 5px;
    color: #666;
    line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
    border-top: 1px dotted #ccc;
    margin: 6px 0 0 0;
    padding: 6px 6px 3px 6px;
    float: none;
}

.post .post_author,
    .post.classic .post_author {
        float: none;
        width: 100%;
        margin: 0 0 10px 0;
    }

    .post .post_author div.author_avatar,
    .post.classic .post_author div.author_avatar {
        float: none;
        text-align: left; /* oder center, wenn du magst */
        margin: 0 0 8px 0;
    }

    .post .post_author div.author_information,
    .post .post_author div.author_statistics,
    .post.classic .post_author div.author_information,
    .post.classic .post_author div.author_statistics {
        float: none;
        text-align: left;
        padding: 2px 0;
        margin: 0;
        border: 0;
    }

    .post_content {
        clear: both;
    }
}
/* Kopfzeile des Posts */

.post .post_head {
    font-size: 11px;
    padding-bottom: 4px;
    border-bottom: 1px dotted #ddd;
    margin-bottom: 4px;
}

.post .post_head span.post_date {
    color: #666;
}

.post .post_head span.edited_post {
    font-size: 10px;
    color: #999;
}

.post .post_head span.edited_post a {
    color: #666;
}

/* Body */

.post_body {
    font-size: 14px;
    padding: 12px 0;
}

/* >>> Beitragstext inkl. Blocksatz (neu & klassisch) */

.post-content,
.post_content {
    font-size: 0.95rem;
    padding: 9px 10px 5px 10px;
    text-align: justify;
    hyphens: auto;
}

/* Signatur */

.post-content .signature,
.post_content .signature {
    margin-top: 5px;
    border-top: 1px dotted #ddd;
    padding: 10px 0 4px 0;
}

/* Post-Meta */

.post .post_meta {
    margin: 4px 0;
    font-size: 11px;
    color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited,
.post .post_meta a:hover,
.post .post_meta a:active {
    color: #777;
}

/* Ignorierte/Gelöschte Posts */

.ignored_post {
    border-top: 3px solid #333;
    padding: 15px;
}

.ignored_post .show_ignored_post {
    margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
    background-position: 0 -400px;
}

.deleted_post_hidden {
    border-top: 2px solid #ccc;
    padding: 15px;
}

.deleted_post_collapsed {
    border-top: 3px solid #333;
    padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
    margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
    background-position: 0 -400px;
}

/* Un-/Approved Markierungen */

.post.unapproved_post {
    background: #ffdde0;
}

.thread_start_datetime {
    color: #999;
}

.post.unapproved_post .post_author {
    border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
    border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
    border-top-color: #ffb8be;
}

/* Controls unter dem Beitrag */

.post_controls {
    clear: both;
    background: #f5f5f5;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    overflow: hidden;
}

/* Postbit Buttons (Mail, PM, Edit etc.) */

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
    display: inline-block;
    padding: 2px 5px;
    margin: 2px;
    font-size: 11px;
    background: #eee url(../../../images/buttons_bg.png) repeat-x;
    border: 1px solid #ccc;
    color: #555;
}

.postbit_buttons > a:hover {
    border-color: #bbb;
}

.postbit_buttons a span {
    padding-left: 20px;
    display: inline-block;
    height: 16px;
    background-image: url(../../../images/buttons_sprite.png);
    background-repeat: no-repeat;
}

.postbit_buttons a.postbit_find span            { background-position: 0 0; }
.postbit_buttons a.postbit_reputation_add span  { background-position: 0 -20px; }
.postbit_buttons a.postbit_email span           { background-position: 0 -40px; }
.postbit_buttons a.postbit_website span         { background-position: 0 -60px; }
.postbit_buttons a.postbit_pm span              { background-position: 0 -80px; }
.postbit_buttons a.postbit_quote span           { background-position: 0 -100px; }
.postbit_buttons a.postbit_multiquote span      { background-position: 0 -120px; }
.postbit_buttons a.postbit_multiquote_on span   { background-position: 0 -140px; }
.postbit_buttons a.postbit_edit span            { background-position: 0 -160px; }
.postbit_buttons a.postbit_qdelete span         { background-position: 0 -180px; }
.postbit_buttons a.postbit_qrestore span        { background-position: 0 -200px; }
.postbit_buttons a.postbit_report span          { background-position: 0 -220px; }
.postbit_buttons a.postbit_warn span            { background-position: 0 -240px; }
.postbit_buttons a.postbit_purgespammer span    { background-position: 0 -540px; }
.postbit_buttons a.postbit_reply_pm span        { background-position: 0 -260px; }
.postbit_buttons a.postbit_reply_all span       { background-position: 0 -280px; }
.postbit_buttons a.postbit_forward_pm span      { background-position: 0 -300px; }
.postbit_buttons a.postbit_delete_pm span       { background-position: 0 -320px; }

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
    display: none;
}

/* Globale Buttons (Neues Thema / Antworten etc.) */

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
    background: #0f0f0f url(../../../images/tcat.png) repeat-x;
    color: #fff;
    display: inline-block;
    padding: 4px 8px;
    margin: 2px 2px 6px 2px;
    border: 1px solid #000;
    font-size: 14px;
}

a.button.small_button {
    font-size: 13px;
    margin: 0;
    padding: 3px 6px;
}

a.button span {
    padding-left: 20px;
    display: inline-block;
    background-image: url(../../../images/buttons_sprite.png);
    background-repeat: no-repeat;
}

a.button.new_thread_button span  { background-position: 0 -340px; }
a.button.new_reply_button span   { background-position: 0 -360px; }
a.button.closed_button span      { background-position: 0 -380px; }
a.button.rate_user_button span   { background-position: 0 -400px; }
a.button.add_buddy_button span   { background-position: 0 -440px; }
a.button.remove_buddy_button span{ background-position: 0 -480px; }
a.button.add_ignore_button span  { background-position: 0 -460px; }
a.button.remove_ignore_button span{ background-position: 0 -500px; }
a.button.report_user_button span { background-position: 0 -520px; }

/* Quick Jump & Polls */

.quick_jump {
    background: url(../../../images/jump.png) no-repeat 0;
    width: 13px;
    height: 13px;
    padding-left: 13px;
    margin-top: -3px;
    border: none;
}

.pollbar {
    background: url(../../../images/pollbar.png) top left repeat-x;
    border: 1px solid #3f3f3f;
    height: 10px;
}

.pollbar .percent {
    display: none;
}

.poll_votedfor {
    background: #efefef;
    border: 1px solid;
    border-color: #fff #ddd #ddd #fff;
}

.posticons_label {
    white-space: nowrap;
}

/* =========================================
   15. Neue Forenauflistung (forumbit, responsive)
   ========================================= */

/* Kategorien-Container */
.forum-cat {
    margin-bottom: 15px;
}

.forum-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    font-weight: bold;
}

.forum-cat-title {
    font-size: 1.1rem;
}

.forum-cat-desc {
    font-size: 0.9rem;
    padding: 0 10px 6px;
    color: #666;
}

.forum-cat-inner{
  background: rgba(10,18,34,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* =========================================
   Foren-Karten – finale Version (4-Spalten passend zum HTML)
   Icon | Main | Stats | Lastpost
   ========================================= */

/* komplette Karte */
.forum-row{
  margin-bottom: 10px;
  background: rgba(10,18,34,0.45) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* Innenlayout */
.forum-row-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 110px 240px;
    gap: 16px;
    align-items: center;
    text-align: left;
}

/* Icon-Spalte */
.forum-icon {
    width: 44px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.forum-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Main-Spalte */
.forum-main {
    min-width: 0; /* wichtig, damit lange Texte umbrechen */
}

/* Titel */
.forum-title-line { margin-bottom: 4px; }

.forum-title {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 700;
}

/* Beschreibung */
.forum-desc {
    max-width: 70ch;
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-top: 2px;
}

/* Unterforen */
.forum-subforums {
    margin-top: 4px;
    font-size: 0.8rem;
}

/* Stats & Lastpost rechts */
.forum-stats,
.forum-lastpost {
    text-align: right;
}

/* Stats */
.forum-stats {
    font-size: 0.8rem;
    min-width: 110px;
    color: var(--text-muted);
}

/* Letzter Beitrag */
.forum-lastpost {
    font-size: 0.8rem;
    color: var(--text-main);
}

.lastpost-title {
    font-weight: 600;
    display: block;
}

.lastpost-date {
    color: var(--text-soft);
}

.lastpost-user {
    color: var(--text-muted);
}


/* Hover */
.forum-row:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(25,164,255,0.35);
}

/* =========================================
   Foren-Karten – Mobile
   ========================================= */
@media (max-width: 650px) {
    .forum-row-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .forum-icon {
        width: auto;
        justify-content: flex-start;
    }

    .forum-stats,
    .forum-lastpost {
        text-align: left;
        max-width: none;
    }

    .forum-lastpost {
        margin-top: 2px;
    }
}


/* =========================================
   16. Threadliste (forumdisplay_thread)
   ========================================= */

.thread-row,
.thread-card{
  background: rgba(10,18,34,0.45) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.thread-row,
.thread-card{
  background: rgba(10,18,34,0.45) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


.thread-row-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    padding: 8px;
    align-items: center;
}

.thread-icon {
    width: 24px;
    text-align: center;
}

.thread-title-line {
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.thread-title {
    font-weight: bold;
}

.thread-meta {
    font-size: 0.8rem;
    color: #666;
}

.thread-stats {
    text-align: right;
    font-size: 0.8rem;
}

.thread-stat-number {
    font-weight: bold;
    display: block;
}

.thread-lastpost-desktop {
    font-size: 0.8rem;
    text-align: right;
}

.thread-lastpost-mobile {
    display: none;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* =========================================
   17. Post-Kartenlayout (neues Postbit)
   ========================================= */

.post{
  background: rgba(10,18,34,0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


.post-card {
    margin-bottom: 10px;
    padding: 10px;
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.post-user {
    display: flex;
    gap: 8px;
}

.post-avatar img {
    max-width: 64px;
    height: auto;
}

.post-user-info {
    font-size: 0.85rem;
}

.post-username {
    font-weight: bold;
    margin-bottom: 2px;
}

.post-meta {
    text-align: right;
    font-size: 0.8rem;
    min-width: 120px;
}

.post-card-body {
    margin-bottom: 8px;
}

.post-subject {
    font-weight: bold;
    margin-bottom: 4px;
}

.post-signature {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #666;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
}

.post-buttons-left,
.post-buttons-right {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.post-inline-mod {
    margin-left: auto;
}

/* =========================================
   18. Topbar / Welcome & Navbar
   ========================================= */

#topbar {
    padding: 8px 10px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-left .logo {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

.welcome-block {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
}

.welcome-member a,
.welcome-guest a {
    text-decoration: none;
}

.welcome-login-form {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.welcome-login-form input[type="text"],
.welcome-login-form input[type="password"] {
    padding: 2px 4px;
    font-size: 0.85rem;
}

.welcome-login-form input[type="submit"] {
    padding: 3px 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Navbar / Hauptnavigation */

#navbar {
    padding: 6px 10px;
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Burger-Button */
.nav-toggle {
    display: none; /* Desktop: unsichtbar */
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Menü-Liste */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 3px 6px;
    display: inline-block;
}

/* =========================================
   19. jGrowl (Notifications)
   ========================================= */

.ie6 {
    position: absolute;
}

.ie6.top-right {
    right: auto;
    bottom: auto;
    left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
    top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.top-left {
    left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
    top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-right {
    left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
    top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-left {
    left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
    top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.center {
    left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
    top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
    width: 100%;
}

.jGrowl {
    z-index: 9999;
    color: #ffffff;
    font-size: 12px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: fixed;
}
.jGrowl.top-left {
    left: 0;
    top: 0;
}
.jGrowl.top-right {
    right: 0;
    top: 0;
}
.jGrowl.bottom-left {
    left: 0;
    bottom: 0;
}
.jGrowl.bottom-right {
    right: 0;
    bottom: 0;
}
.jGrowl.center {
    top: 0;
    width: 50%;
    left: 25%;
}

.jGrowl.center .jGrowl-notification,
.jGrowl.center .jGrowl-closer {
    margin-left: auto;
    margin-right: auto;
}

.jGrowl-notification {
    background-color: transparent;
    opacity: 0.9;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
    transform: scale(1);
    width: 250px;
    padding: 10px;
    margin: 10px;
    text-align: left;
    display: none;
    border-radius: 5px;
    word-break: break-all;
}

.jGrowl .jGrowl-notification {
    min-height: 40px;
}

.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
    border: 1px solid #000;
    background: #000;
    color: #fff;
}

.jGrowl-notification .jGrowl-header {
    font-weight: bold;
    font-size: .85em;
}

.jGrowl-notification .jGrowl-close {
    background-color: transparent;
    color: inherit;
    border: none;
    z-index: 99;
    float: right;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
}

.jGrowl-closer {
    background-color: #000000;
    opacity: 0.9;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
    transform: scale(1);
    width: 250px;
    padding: 10px;
    margin: 10px;
    text-align: left;
    display: none;
    border-radius: 5px;
    word-break: break-all;
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: pointer;
    font-size: .9em;
    font-weight: bold;
    text-align: center;
}

.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
    border: 1px solid #000;
    background: #000;
    color: #fff;
}

.jGrowl .jGrowl-notification.jgrowl_success {
    background: lightgreen;
    border: 1px solid lightgreen;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_error {
    background: red;
    border: 1px solid red;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_process,
.jGrowl .jGrowl-closer {
    background: yellow;
    border: 1px solid yellow;
    color: #333;
}

/* =========================================
   20. Modal (Lightbox)
   ========================================= */

.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.75);
    text-align: center;
}

.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}

.blocker.behind {
    background-color: transparent;
}

.modal {
    width: 400px;
    text-align: left;
    background: #fff;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
    position: absolute;
    top: -12.5px;
    right: -12.5px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background: url(../../../images/close.png) no-repeat 0 0;
    z-index: 2;
}

.modal-spinner {
    display: none;
    width: 64px;
    height: 64px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -32px;
    margin-top: -32px;
    background: url(../../../images/spinner_big.gif) no-repeat center center;
    border-radius: 8px;
}

/* =========================================
   21. Impromptu (Dialog-System)
   ========================================= */

.jqifade {
    position: absolute;
    background-color: #777777;
}

iframe.jqifade {
    display:block;
    z-index:-1;
}

div.jqi {
    width: 400px;
    max-width:90%;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    position: absolute;
    background-color: #ffffff;
    font-size: 11px;
    text-align: left;
    border: solid 1px #eeeeee;
    border-radius: 6px;
    padding: 7px;
}

div.jqi .jqicontainer{}

div.jqi .jqiclose {
    position: absolute;
    top: 4px;
    right: -2px;
    width: 18px;
    cursor: default;
    color: #bbbbbb;
    font-weight: bold;
}

div.jqi .jqistate {
    background-color: #fff;
}

div.jqi .jqititle {
    padding: 5px 10px;
    font-size: 16px;
    line-height: 20px;
    border-bottom: solid 1px #eeeeee;
}

div.jqi .jqimessage {
    padding: 10px;
    line-height: 20px;
    color: #444444;
    overflow: auto;
}

div.jqi .jqibuttonshide {
    display: none;
}

div.jqi .jqibuttons {
    text-align: right;
    margin: 0 -7px -7px -7px;
    border-top: solid 1px #e4e4e4;
    background-color: #f4f4f4;
    border-radius: 0 0 6px 6px;
}

div.jqi .jqibuttons button {
    margin: 0;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    border-left: solid 1px #e4e4e4;
    color: #777;
    font-weight: bold;
    font-size: 12px;
}

div.jqi .jqibuttons button.jqidefaultbutton {
    color: #489afe;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus {
    color: #287ade;
    outline: none;
}

div.jqi .jqibuttons button[disabled] {
    color: #aaa;
}

.jqiwarning .jqi .jqibuttons {
    background-color: #b95656;
}

/* Substates */

div.jqi .jqiparentstate::after {
    background-color: #777;
    opacity: 0.6;
    filter: alpha(opacity=60);
    content: '';
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    border-radius: 6px;
}

div.jqi .jqisubstate {
    position: absolute;
    top:0;
    left: 20%;
    width: 60%;
    padding: 7px;
    border: solid 1px #eeeeee;
    border-top: none;
    border-radius: 0 0 6px 6px;
}

div.jqi .jqisubstate .jqibuttons button {
    padding: 10px 18px;
}

/* Pfeile für Tooltips / Touren */

.jqi .jqiarrow {
    position: absolute;
    height: 0;
    width:0;
    line-height: 0;
    font-size: 0;
    border: solid 10px transparent;
}

.jqi .jqiarrowtl { left: 10px; top: -20px; border-bottom-color: #ffffff; }
.jqi .jqiarrowtc { left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px; }
.jqi .jqiarrowtr { right: 10px; top: -20px; border-bottom-color: #ffffff; }

.jqi .jqiarrowbl { left: 10px; bottom: -20px; border-top-color: #ffffff; }
.jqi .jqiarrowbc { left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px; }
.jqi .jqiarrowbr { right: 10px; bottom: -20px; border-top-color: #ffffff; }

.jqi .jqiarrowlt { left: -20px; top: 10px; border-right-color: #ffffff; }
.jqi .jqiarrowlm { left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px; }
.jqi .jqiarrowlb { left: -20px; bottom: 10px; border-right-color: #ffffff; }

.jqi .jqiarrowrt { right: -20px; top: 10px; border-left-color: #ffffff; }
.jqi .jqiarrowrm { right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px; }
.jqi .jqiarrowrb { right: -20px; bottom: 10px; border-left-color: #ffffff; }

/* =========================================
   22. Responsive Regeln
   ========================================= */

/* jGrowl beim Drucken ausblenden */
@media print {
    .jGrowl {
        display: none;
    }
}


/* =========================================
   Desktop-Post-Layout
   Avatar links, Inhalt rechts nebeneinander
   ========================================= */
@media (min-width: 769px) {

    /* Post: wieder normales Block-Element */
    .post {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
    }

    /* Avatar-/Autorspalte links */
    .post .post_author {
        float: left;
        width: 220px;       /* nach Geschmack anpassen (z.B. 180px) */
        margin-right: 20px;
        box-sizing: border-box;
    }

    /* Inhalt rechts daneben */
    .post .post_content {
        margin-left: 240px; /* = width(220) + margin-right(20) */
        box-sizing: border-box;
    }

    /* Buttonleiste unter dem Inhalt, volle Breite */
    .post_controls {
        clear: both;
        margin-top: 10px;
        width: 100%;
        box-sizing: border-box;
    }
}




/* Mobile Layout bis 650px */
@media (max-width: 650px) {



    .thread-stats,
    .thread-lastpost-desktop {
        display: none;
    }

    .thread-lastpost-mobile {
        display: block;
    }

    /* Post-Karte */
    .post {
        display: block; /* falls irgendwo anders display:flex gesetzt wird */
    }

    .post .post_author {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .post .post_content {
        width: 100%;
    }

    /* Avatar auf Handy mittig oder links – wie du magst */
    .post .post_author img {
        display: block;
        margin-bottom: 8px;
        /* für zentriert:
        margin-left: auto;
        margin-right: auto;
        */
    }

    .post-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-meta {
        text-align: left;
    }

    .post-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-inline-mod {
        margin-left: 0;
    }

    /* Topbar / Login */
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-block,
    .welcome-login-form {
        width: 100%;
    }

    .welcome-login-form input[type="text"],
    .welcome-login-form input[type="password"] {
        flex: 1 1 100%;
    }

    /* Navbar */
    .navbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: block; /* Burger-Button sichtbar */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 4px;
        margin-top: 4px;
    }

    .nav-menu.nav-menu-open {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
    }
}

/* Desktop: Inhalt soll direkt neben dem Avatar starten */
@media (min-width: 769px) {

    /* WICHTIG – Clear deaktivieren */
    .post .post_content {
        clear: none !important;
        float: none !important;
        margin-left: 240px; /* wie vorher: Avatar(220) + Abstand(20) */
        position: relative;
        top: 0;
    }

    /* Sicherstellen, dass Avatar ganz oben startet */
    .post .post_author {
        float: left;
        margin-top: 0 !important;
    }
}
/* =========================================
   Mobile Fix: Posts nicht abschneiden
   ========================================= */
@media (max-width: 768px) {

    /* Container dürfen auf Handy keine Mindestbreite erzwingen */
    #container,
    .wrapper,
    .tborder {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden; /* kein horizontaler Scrollbalken */
    }

    /* Post-Layout: alles 100% Breite, keine Floats/Spalten */
    .post,
    .post .post_author,
    .post .post_content,
    .post.classic .post_author,
    .post.classic .post_content {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin: 0 0 10px 0;
    }

    /* Author-Bereich oben, dann Inhalt darunter */
    .post .post_author {
        margin-bottom: 10px;
    }

    /* Avatar schön anzeigen */
    .post .post_author img {
        max-width: 80px;
        height: auto;
        display: block;
        margin-bottom: 8px;
        /* wenn du ihn zentriert willst:
        margin-left: auto;
        margin-right: auto;
        */
    }
}


/* =========================================
   Profilseite (member_profile)
   Modernes, responsives Layout
   ========================================= */

.profile-page {
    margin: 15px 0 25px;
}

/* Kopfbereich: Name + Avatar */
.profile-header-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.profile-header-main {
    flex: 1 1 auto;
}

.profile-username {
    margin: 0 0 5px;
    font-size: 1.6rem;
}

.profile-rank {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.profile-usertitle {
    font-weight: bold;
}

.profile-status-line {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.profile-meta-line {
    font-size: 0.9rem;
    color: #555;
}

.profile-header-avatar img {
    max-width: 180px;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    background: #fff;
    padding: 4px;
    border-radius: 4px;
}

/* Grid mit Info-Karten */
.profile-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 18px;
}

.profile-grid-left,
.profile-grid-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Karten */
.profile-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 12px 15px 14px;
}

.profile-card-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

/* Definition List Layout (Label : Wert) */
.profile-dl {
    margin: 0;
}

.profile-dl-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 0;
    font-size: 0.9rem;
}

.profile-dl-row dt {
    font-weight: bold;
    color: #444;
}

.profile-dl-row dd {
    margin: 0;
    text-align: right;
    color: #333;
}

.profile-card-content {
    font-size: 0.9rem;
}

/* Damit MyBB-Tabellen in den Mod/Admin-Karten nicht hässlich wirken */
.profile-card .tborder {
    width: 100%;
    border: none;
}

.profile-card .thead,
.profile-card .tcat {
    border-radius: 4px 4px 0 0;
}

/* =========================================
   Responsive Profil
   ========================================= */

@media (max-width: 900px) {

    .profile-header-card {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .profile-header-avatar img {
        max-width: 150px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-dl-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .profile-dl-row dd {
        text-align: left;
    }
}

@media (max-width: 600px) {

    .profile-header-card {
        padding: 10px 12px;
    }

    .profile-username {
        font-size: 1.3rem;
    }

    .profile-card {
        padding: 10px 12px;
    }
}


/* Grundkarte (falls noch nicht vorhanden) */
.member-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    box-sizing: border-box;
}

/* Inneres 2-Spalten-Layout */
.member-card-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Linke Spalte: Avatar */
.member-card-avatar img {
    width: 180px;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 2px;
    display: block;
}

/* Rechte Spalte: Inhalt */
.member-card-content {
    flex: 1;
}

/* Kopfzeile: Name + zuletzt online */
.member-card-headerline {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
}

.member-card-name a {
    font-weight: bold;
    font-size: 1rem;
}

.member-card-lastvisit {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
}

/* Hauptinfos (Profilfelder) */
.member-card-main {
    font-size: 0.9rem;
    margin-top: 4px;
}

.member-card-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0;
}

.member-card-row-full {
    flex-direction: column;
    align-items: flex-start;
}

.member-card-label {
    font-weight: bold;
    color: #444;
}

.member-card-value {
    text-align: right;
}

/* Charakterbeschreibung etwas „freier“ */
.member-card-row-full .member-card-label {
    margin-bottom: 2px;
}

.member-card-row-full .member-card-value {
    text-align: left;
    color: #333;
}

/* Stats unten */
.member-card-meta {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #555;
}

.member-card-meta div {
    margin: 1px 0;
}

/* Responsive: auf Handy untereinander stapeln */
@media (max-width: 600px) {
    .member-card-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-card-headerline {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-card-lastvisit {
        text-align: left;
    }

    .member-card-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .member-card-value {
        text-align: left;
    }
}


/* =========================================
   Dark Detective Theme – Grundfarben
   ========================================= */
:root {
    --bg-body: #050a13;
    --bg-body-alt: #0d1624;
    --bg-card: #101d33;
    --bg-card-soft: #18263d;
    --border-soft: #273551;
    --border-subtle: #1a2335;

    --text-main: #e2e7f0;
    --text-muted: #a4b0c2;
    --text-soft: #6f7a8a;

    --accent-blue: #19a4ff;
    --accent-yellow: #ffcc33;
    --accent-red: #d24b4b;
}

/* =========================================
   Background & Container
   ========================================= */

body {
    background: radial-gradient(circle at top, #0f213a 0, var(--bg-body) 55%, #000 100%);
    color: var(--text-main);
}

#container {
    background: rgba(7, 12, 22, 0.96);
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 30px rgba(0,0,0,0.55);
}

/* Wrapper minimal schmaler wirken lassen */
.wrapper {
    max-width: 1200px;
}

/* Standard-Textfarbe */
table,
.smalltext,
.largetext,
.navigation {
    color: var(--text-main);
}

/* Links */
a:link,
a:visited {
    color: var(--accent-blue);
}

a:hover,
a:active {
    color: var(--accent-yellow);
}

/* Trennlinien */
hr {
    background-color: var(--border-subtle);
    color: var(--border-subtle);
}

/* Bilder immer dezent */
img {
    border: none;
}

/* Tabellen-Style leicht abdunkeln */
.tborder {
    background: transparent;
    border: 1px solid var(--border-soft);
}

.trow1 {
    background: rgba(9, 18, 33, 0.95);
}

.trow2 {
    background: rgba(13, 25, 43, 0.95);
}

.trow_sep {
    background: var(--bg-card-soft);
    color: var(--text-main);
}

/* Header-/Category-Zeilen */
.thead {
    background: linear-gradient(90deg, #1b3b63, #122844);
    color: var(--accent-yellow);
    border-bottom: 1px solid #091120;
}

.tcat {
    background: #101c30;
    color: var(--text-main);
    border-top: 1px solid #1f2c45;
    border-bottom: 2px solid var(--accent-yellow);
}

/* Footer */
#footer .upper {
    background: #08101e;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-subtle);
}

#footer .lower {
    color: var(--text-soft);
}

/* Topbar oben (Login / User-Info) */
#topbar {
    background: linear-gradient(90deg, #061123, #0c1a34);
    border-bottom: 1px solid var(--border-soft);
}

.topbar-inner {
    color: var(--text-muted);
}

.topbar-left .logo {
    color: var(--accent-yellow);
}

/* Hauptnavigation */
#navbar {
    background: #070f1f;
    border-bottom: 1px solid var(--border-soft);
}

.nav-menu a {
    color: var(--text-muted);
    border-radius: 4px;
}

.nav-menu a:hover {
    background: rgba(24, 166, 255, 0.12);
    color: var(--accent-blue);
}

/* Burger-Menü auf Handy wirkt wie „Menü“ in Polizei-UI */
.nav-toggle {
    color: var(--accent-yellow);
}

/* Breadcrumbs */
.thread-breadcrumb .navigation,
.forum-breadcrumb .navigation {
    font-size: 0.85rem;
    color: var(--text-soft);
    padding: 6px 0 10px;
}

.navigation .active {
    color: var(--accent-yellow);
}


/* Forenauflistung */
.forum-cat-header {
    background: #0a1527;
    color: var(--accent-yellow);
    border-bottom: 1px solid var(--border-soft);
}

.forum-cat-inner {
    background: rgba(8, 15, 29, 0.95);
}



/* Threadliste – wie Fallakten */
.thread-row {
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: rgba(10, 18, 34, 0.96);
}

.thread-row-inner {
    padding: 8px 10px;
}

.thread-title {
    color: var(--text-main);
}

.thread-meta,
.thread-lastpost-desktop,
.thread-lastpost-mobile {
    color: var(--text-soft);
}

/* Hover-Effekt, als würde man mit der Taschenlampe drüber fahren */
.forum-row:hover,
.thread-row:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(25,164,255,0.25);
}


/* Post-Container */
.post {
    background: rgba(10, 18, 34, 0.96);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Autorblock links */
.post .post_author {
    background: rgba(7, 13, 25, 0.9);
    border-right: 1px solid var(--border-soft);
    color: var(--text-muted);
}

/* Content rechts */
.post_content {
    background: transparent;
    color: var(--text-main);
}

/* Kopfzeile (Datum, Titel) */
.post .post_head {
    border-bottom: 1px dashed var(--border-subtle);
    color: var(--text-soft);
}

/* Text (Blocksatz hast du bereits konfiguriert) */
.post_body {
    font-size: 0.95rem;
}

/* Meta unter dem Beitrag */
.post .post_meta {
    color: var(--text-soft);
}

/* Buttonleiste unten */
.post_controls {
    background: #08101f;
    border-top: 1px solid var(--border-soft);
}

.postbit_buttons > a:link,
.postbit_buttons > a:visited,
.postbit_buttons > a:hover,
.postbit_buttons > a:active {
    background: linear-gradient(180deg, #12243c, #0c1729);
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
    border-radius: 4px;
}

.postbit_buttons > a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}


/* Profilkarten */
.profile-header-card,
.profile-card {
    background: rgba(10, 18, 34, 0.97);
    border: 1px solid var(--border-soft);
}

.profile-card-title {
    border-bottom: 1px solid var(--border-subtle);
    color: var(--accent-yellow);
}

.profile-dl-row dt,
.profile-table th {
    color: var(--text-muted);
}

.profile-dl-row dd,
.profile-table td {
    color: var(--text-main);
}

/* Avatar im Profil */
.profile-header-avatar img {
    border-color: var(--border-soft);
    background: #050a13;
}

/* Mitgliederliste-Karten */
.member-card {
    background: rgba(9, 16, 30, 0.97);
    border: 1px solid var(--border-soft);
}

.member-card-name a {
    color: var(--accent-blue);
}

.member-card-lastvisit {
    color: var(--text-soft);
}

.member-card-label {
    color: var(--text-muted);
}

.member-card-value {
    color: var(--text-main);
}

/* Avatar in der Member-Karte */
.member-card-avatar img {
    border-color: var(--border-soft);
    background: #050a13;
}

/* Buttons allgemein */
button,
input.button,
a.button {
    background: linear-gradient(180deg, #163155, #0c182a);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    border-radius: 4px;
}

button:hover,
input.button:hover,
a.button:hover {
    border-color: var(--accent-blue);
    color: var(--accent-yellow);
}

/* Textfelder / Inputs */
input.textbox,
textarea,
select {
    background: #050a13;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
}

input.textbox:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-blue);
}

/* Alerts */
.pm_alert {
    background: rgba(255, 204, 51, 0.1);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.red_alert {
    background: rgba(210, 75, 75, 0.12);
    border-color: var(--accent-red);
    color: var(--accent-red);
}



/* Tabellen-Forenansicht vollständig überschreiben */
.forumdisplay, .forums {
    table, tr, td {
        background: transparent !important;
    }
}


.forum-cat-header {
    background: linear-gradient(90deg, #0c1c33, #0b1628);
    padding: 8px 14px;
    font-size: 1.1rem;
    font-weight: bold;
    border-left: 4px solid var(--accent-yellow);
}

.forum-stats,
.forum-lastpost {
    color: var(--text-main) !important;
}


.forum-status-icon {
    width:50px;
    height: 50px;
    display: block;
}

.thread-status-icon {
    width: 50px;
    height: 50px;
    display: block;
}

/* ===== Responsive Boardstats Panel ===== */

.boardstats-panel {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
}

/* Kopfbereich */
.boardstats-panel .panel-head {
    padding: 0; /* Button übernimmt Padding */
}

.boardstats-panel .panel-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.boardstats-panel .panel-title {
    display: inline-block;
}

.boardstats-panel .panel-icon img {
    display: block;
    width: 16px;
    height: 16px;
}

/* Body */
.boardstats-panel .panel-body {
    padding: 10px 12px;
    box-sizing: border-box;
}

/* Footer */
.boardstats-panel .panel-foot {
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border-subtle);
}

/* Mobile: weniger Padding, alles bleibt 100% */
@media (max-width: 768px) {
    .boardstats-panel .panel-toggle {
        padding: 10px 12px;
    }

    .boardstats-panel .panel-body {
        padding: 10px 10px;
    }

    .boardstats-panel .panel-foot {
        justify-content: flex-start;
    }
}

/* ===== Who’s Online (Div/Card) ===== */

.whoisonline-panel {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(10, 18, 34, 0.96);
}

.whoisonline-panel .panel-head {
    padding: 10px 14px;
    position: relative;
}

.whoisonline-panel .panel-body {
    padding: 12px 14px;
}

/* obere Zeile: Anzahl + Most Online */
.whoisonline-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.whoisonline-count,
.whoisonline-most {
    flex: 1 1 auto;
}

/* User-Liste als Chips */
.whoisonline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.whoisonline-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: rgba(7, 13, 25, 0.85);
    font-size: 0.9rem;
    line-height: 1;
}

.whoisonline-chip a {
    color: var(--accent-blue);
    text-decoration: none;
}

.whoisonline-chip a:hover {
    color: var(--accent-yellow);
}

/* Note (z.B. Erklärtext) */
.whoisonline-note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-soft);
    font-size: 0.85rem;
}

/* Mobile Feinschliff */
@media (max-width: 768px) {
    .whoisonline-panel .panel-head,
    .whoisonline-panel .panel-body {
        padding: 10px 12px;
    }

    .whoisonline-chip {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }
}

.whoisonline-link {
    font-size: 0.85rem;
    margin-left: 6px;
}

.whoisonline-link a {
    color: var(--accent-blue);
    text-decoration: none;
}

.whoisonline-link a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}


/* ================================
   online.php – Responsive Design
   ================================ */

.online-page {
    margin: 10px 0 25px;
}

.online-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.online-title {
    margin: 0;
    font-size: 1.4rem;
    color: var(--accent-yellow);
}

.online-actions a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: bold;
}

.online-actions a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.online-sep {
    opacity: 0.7;
    margin: 0 6px;
}

/* Sortierleiste */
.online-sort {
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(7, 13, 25, 0.85);
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.online-sort a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: bold;
}

.online-sort a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

/* Grid */
.online-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 900px) {
    .online-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.online-card {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(10, 18, 34, 0.96);
    padding: 10px 12px;
    box-sizing: border-box;
}

.online-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.online-user {
    font-weight: 700;
    color: var(--text-main);
}

.online-user a {
    color: var(--accent-blue);
    text-decoration: none;
}

.online-user a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.online-time {
    color: var(--text-soft);
    white-space: nowrap;
}

.online-location {
    border-top: 1px solid var(--border-subtle);
    padding-top: 8px;
    color: var(--text-muted);
    word-break: break-word;
}

/* online.php: Gäste/Bots ausblenden (nur Karten mit Profil-Link zeigen) */
.online-card:not(:has(.online-user a)) {
    display: none !important;
}


/* online.php?action=today – Fußzeile/Info */
.online-today-foot {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: rgba(7, 13, 25, 0.85);
    color: var(--text-muted);
    text-align: center;
}

.online-user .smalltext {
    margin-left: 6px;
    color: var(--accent-yellow);
    font-weight: bold;
}

.online-today-grid .online-card:not(:has(.online-user a)) {
    display: none !important;
}

.forum-lastpost {
    font-size: 0.8rem;
    color: var(--text-main);
    text-align: right;
}

.forum-lastpost:contains("Heute") {
    color: var(--accent-blue);
    font-weight: 600;
}


.lastpost-title {
    font-weight: 600;
    display: block;
}

.lastpost-date {
    color: var(--text-soft);
}

.lastpost-user {
    color: var(--text-muted);
}

/* Wenn lastpostdate leer ist: "Heute" anzeigen und Komma ausblenden */
.lp-date:empty::before {
    content: "Heute";
}

.lp-date:empty + .lp-sep {
    display: none;
}

/* Thread-Karte */
.thread-card {
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    background: radial-gradient(circle at top left,
        rgba(25,34,57,0.8),
        rgba(7,10,20,0.9)
    );
    padding: 12px 16px;
    margin-bottom: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.35);
}

/* Grid */
.thread-card-inner {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 14px;
    align-items: center;
}

/* Titel */
.thread-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-decoration: none;
}

/* Meta */
.thread-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Lastpost */
.thread-lastpost {
    font-size: 0.8rem;
    color: var(--text-soft);
    text-align: right;
    white-space: nowrap;
}

/* Hover */
.thread-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(25,164,255,0.35);
}

/* Mobile */
@media (max-width: 650px) {
    .thread-card-inner {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .thread-lastpost {
        text-align: left;
    }
}

/* Desktop */
@media (min-width: 651px) {
    .forum-icon img {
        width: 60px;
        height: 60px;
    }

    .thread-icon img {
        width: 58px;
        height: 58px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .forum-icon img,
    .thread-icon img {
        width: 40px;
        height: 40px;
    }
}

.thread-card.new .thread-icon img {
    filter: drop-shadow(0 0 6px rgba(25,164,255,0.6));
}

.thread-card.read .thread-icon img {
    opacity: 0.5;
}

/* Seite immer sauber zentrieren */
#container, .wrapper {
  margin: 0 auto !important;
}

/* Inhalt nicht “ausfransen” lassen */
#content {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* Alte Tabellen-Kopfzeilen weniger dominant machen */
.tcat, .thead {
  text-align: left;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Tabellen im Threadbereich weniger “Table-Look” */
.forumdisplay table.tborder {
  background: transparent;
  border: 0;
}

.thread-icon,
.forum-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


.lastpost-jump {
    margin-left: 6px;
    color: var(--accent-blue);
    font-weight: bold;
}
.lastpost-jump:hover {
    color: #fff;
}


/* =========================================
   Forumdisplay – Headerbereich über Threads
   ========================================= */

.forumdisplay-header {
  background: radial-gradient(circle at top left, rgba(25,34,57,0.75), rgba(7,10,20,0.92));
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0 14px;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

/* Breadcrumb etwas kleiner & klarer */
.forumdisplay-header .navigation {
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 6px;
}

/* Forumname als „Headline“ */
.forumdisplay-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-yellow);
  margin: 0 0 6px;
}

/* “Benutzer, die gerade dieses Forum ansehen …” */
.forumdisplay-viewers {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mobile: etwas kompakter */
@media (max-width: 650px) {
  .forumdisplay-header {
    padding: 12px;
  }
  .forumdisplay-title {
    font-size: 1.1rem;
  }
}

/* Threadliste: Top/Bottom Bar statt Floats */
.threadlist-topbar,
.threadlist-bottombar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin: 10px 0;
}

.threadlist-pages{
    min-width: 0;
}

.threadlist-actions{
    display:flex;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:6px;
}

/* Header in thead sauber ausrichten */
.threadlist-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.threadlist-head-tools{
    text-align:right;
}

/* Footer: Legende links, Tools rechts */
.threadlist-footer{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-top: 12px;
}

.threadlist-legend{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.threadlist-tools{
    text-align:right;
}

/* Mobile: alles untereinander */
@media (max-width: 650px){
    .threadlist-topbar,
    .threadlist-bottombar,
    .threadlist-head,
    .threadlist-footer{
        flex-direction:column;
        align-items:flex-start;
    }

    .threadlist-actions{
        justify-content:flex-start;
        width:100%;
    }

    .threadlist-head-tools,
    .threadlist-tools{
        text-align:left;
        width:100%;
    }
}

/* Subforen Container */
.subforums-panel{
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: rgba(10,18,34,0.96);
  overflow: hidden;
  margin-bottom: 12px;
}

.subforums-head{
  padding: 10px 14px;
  background: linear-gradient(90deg, #0c1c33, #0b1628);
  border-left: 4px solid var(--accent-yellow);
  color: var(--accent-yellow);
}

.subforums-list{
  padding: 8px;
  display: grid;
  gap: 10px;
}

/* Jede Subforum-Karte (wenn deine {$forums}-Rows schon .forum-row sind, kannst du das weglassen) */
.subforums-list .forum-row{
  margin: 0; /* damit grid-gap sauber wirkt */
}

/* Optional: wenn du für Subforen eine eigene Klasse nutzt */
.subforum-row-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 14px;
  align-items: center;
}

/* Mobile */
@media (max-width: 650px){
  .subforum-row-inner{
    grid-template-columns: 1fr;
  }
}

.threadlist-wrap { width: 100%; }

.threadlist-headrow{
  display: grid;
  grid-template-columns: 1fr 90px 90px 220px;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(10,18,34,0.7);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.th-col{ text-align: right; }
.th-topic{ text-align: left; }

@media (max-width: 750px){
  .threadlist-headrow{
    display:none; /* auf Handy sparen wir die Kopfzeile */
  }
}


/* =========================================
   Edit Post / New Reply / New Thread
   Responsive Layout
   ========================================= */

@media (max-width: 768px) {

  /* Tabelle auflösen */
  .postedit-table,
  .postedit-table tbody,
  .postedit-table tr,
  .postedit-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Header-Zeile */
  .postedit-table .thead {
    text-align: center;
    padding: 12px;
  }

  /* Label-Spalten */
  .postedit-table td:first-child {
    font-weight: 600;
    margin-top: 12px;
    padding-bottom: 4px;
  }

  /* Eingabefelder */
  .postedit-table input.textbox,
  .postedit-table textarea,
  .postedit-table select {
    width: 100% !important;
    max-width: 100%;
  }

  /* Editor */
  #message {
    min-height: 220px;
  }

  /* Smilies unter den Text */
  .postedit-table .trow2 div[style*="text-align: center"] {
    text-align: left !important;
    margin-bottom: 8px;
  }

  /* Codebuttons */
  .editor_control_bar,
  .editor {
    max-width: 100%;
    overflow-x: auto;
  }

  /* Buttons unten */
  form#editpost > div[align="center"] {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  form#editpost input.button {
    width: 100%;
  }
}

/* =========================================
   Postedit modern (ohne Tabelle)
   ========================================= */

.postedit-card{
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(10, 18, 34, 0.96);
  overflow: hidden;
  margin: 12px 0;
}

.postedit-head{
  background: linear-gradient(90deg, #1b3b63, #122844);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.postedit-title{
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent-yellow);
}

.postedit-body{
  padding: 12px 14px 14px;
  display: grid;
  gap: 12px;
}

.postedit-row{
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.postedit-row:last-child{
  border-bottom: 0;
}

.postedit-label{
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.postedit-field{
  min-width: 0;
}

.postedit-input{
  width: 100%;
  max-width: 100%;
}

.postedit-smilies{
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(7, 13, 25, 0.6);
}

#message{
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 260px;
}

.postedit-actions{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 12px 0 18px;
  flex-wrap: wrap;
}

/* =========================================
   Mobile
   ========================================= */
@media (max-width: 768px){
  .postedit-row{
    grid-template-columns: 1fr;
  }

  .postedit-label{
    margin-bottom: 6px;
  }

  .postedit-actions{
    flex-direction: column;
    align-items: stretch;
    padding: 0 10px;
  }

  .postedit-actions .button{
    width: 100%;
  }
}


.deletepost-panel .panel-head {
    display: block;
}

.deletepost-body{
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
}

.deletepost-check{
    display: inline-flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}

.deletepost-text{
    min-width: 0;
}

.deletepost-action{
    text-align: right;
}

@media (max-width: 650px){
    .deletepost-body{
        grid-template-columns: 1fr;
        align-items: start;
    }

    .deletepost-action{
        text-align: left;
    }

    .deletepost-action .button{
        width: 100%;
    }
}


/* === Editor: allgemeine Formular-Zeilen ===================== */

.editor-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.editor-label {
    font-weight: 600;
    color: var(--text-main);
}

.editor-field .textbox {
    width: 100%;
    max-width: 100%;
}

/* === Mobile =============================================== */

@media (max-width: 650px) {
    .editor-row {
        grid-template-columns: 1fr;
    }

    .editor-label {
        margin-bottom: 4px;
    }
}


/* Admin Panel */
.admin-panel {
    background: linear-gradient(180deg, #0c1a2d, #071321);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Header */
.admin-panel-header {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffd966;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Content */
.admin-panel-section {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Field */
.admin-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Label */
.admin-label {
    font-weight: 600;
    color: #cfe4ff;
}

/* Help text */
.admin-help {
    font-size: 0.8rem;
    color: #9bb3d6;
}

/* Inputs */
.admin-field .textbox {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    background: #061021;
    border: 1px solid rgba(255,255,255,0.1);
    color: #eaf2ff;
}

/* Checkbox */
.admin-checkbox {
    font-size: 0.85rem;
    color: #b8cfff;
    margin-top: 6px;
}

.admin-checkbox input {
    margin-right: 6px;
}

/* Mobile Feinschliff */
@media (max-width: 600px) {
    .admin-panel-section {
        padding: 12px;
        gap: 14px;
    }
}

#site-header {
  position: relative;
}

/* Banner klickbar */
#header-banner {
  position: relative;
}
#header-banner .banner-link {
  position: absolute;
  inset: 0;
  display: block;
}

/* ===== WELCOMEBLOCK → optisch wie Nav-Menü ===== */

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Links im Welcomeblock */
.topbar-right a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, text-shadow .2s ease;
}

/* Hover exakt wie links */
.topbar-right a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(25,164,255,.6);
}

/* Trennzeichen (| oder -) dezenter */
.topbar-right span,
.topbar-right {
  opacity: .9;
}

.topbar-right a {
  padding: 4px 6px;
  border-radius: 4px;
}

.topbar-right a:hover {
  background: rgba(255,255,255,.06);
}


@media (max-width: 800px) {
  .topbar-right {
    justify-content: flex-start;
    font-size: 0.85rem;
  }
}

/* ===== WELCOMEBLOCK FARBE ANGLEICHEN ===== */

.topbar-right,
.topbar-right span {
  color: rgba(220, 230, 245, 0.9); /* hellgrau wie links */
  font-size: 0.9rem;
}

/* Alle Links im Welcomeblock */
.topbar-right a {
  color: rgba(220, 230, 245, 0.9); /* gleiches Grau */
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, text-shadow .2s ease;
}

/* Hover exakt wie Hauptmenü */
.topbar-right a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(25,164,255,.6);
}

/* "Hallo NAME" etwas stärker, aber gleiche Farbe */
.topbar-right strong,
.topbar-right .welcome {
  color: rgba(220, 230, 245, 0.95);
  font-weight: 600;
}

.topbar-right strong {
  text-shadow: 0 0 4px rgba(25,164,255,.4);
}

/* Einheitlicher Hover-Look */
:root {
  --nav-hover-color: #ffffff;
  --nav-hover-glow: 0 0 6px rgba(25,164,255,.6);
}

.nav-menu a {
  color: rgba(220, 230, 245, 0.9);
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}

.nav-menu a:hover {
  color: var(--nav-hover-color);
  text-shadow: var(--nav-hover-glow);
}

.topbar-right a {
  color: rgba(220, 230, 245, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease, text-shadow .2s ease;
}

.topbar-right a:hover {
  color: var(--nav-hover-color);
  text-shadow: var(--nav-hover-glow);
}


.topbar-right strong {
  transition: text-shadow .2s ease;
}
.topbar-right strong:hover {
  text-shadow: var(--nav-hover-glow);
}


.banner-forum-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);

    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: #00b7ff;
    text-shadow:
        0 0 12px rgba(0,183,255,0.6),
        0 0 30px rgba(0,0,0,0.8);

    pointer-events: none;
}

