/* style.css - Final Update (Fixed Widths) */

/* =========================================
   1. HEADER & BANNER (Responsive Logik)
   ========================================= */

.banner-wrap {
    text-align: center;
    background: #050505; /* Fast Schwarz, passend zum Dark Mode */
    padding: 5px 0;      /* Minimaler Abstand oben/unten */
    border-bottom: 0px solid #333; /* Dezente Trennlinie zum Inhalt */
    line-height: 0;      /* WICHTIG: Entfernt störende weiße Lücken unter dem Bild */
}

.banner-img {
    width: auto;         /* Breite passt sich der Höhe an */
    height: auto;        /* Höhe passt sich dem Bild an */
    max-height: 200px;    /* Desktop-Limit: Logo wird nicht riesig */
    max-width: 100%;     /* Sicherheitsgurt: Bild sprengt nie den Bildschirm */
    display: inline-block; 
    vertical-align: middle;
}

/* --- Mobile Anpassung (Handys & Tablets) --- */
@media (max-width: 768px) {
    .banner-img {
        max-height: 120px; /* Auf Handys: Logo kleiner machen */
    }
    .banner-wrap {
        padding: 10px 0;  /* Etwas mehr "Luft" auf kleinen Screens */
    }
}

/* GRUNDEINSTELLUNGEN */
body { background-color: #0f0f12; color: #e0e0e0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 20px; text-align: center; overflow-x: hidden; }
h1, h2 { color: #00ff9d; text-shadow: 0 0 15px rgba(0, 255, 157, 0.3); text-transform: uppercase; }
a { text-decoration: none; color: inherit; }
* { box-sizing: border-box; } 

/* Admin Link versteckt */
h1 a { cursor: default; }

/* NAVIGATION */
.nav-bar { margin-bottom: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.nav-btn { background: #1a1a1d; border: 2px solid #555; padding: 10px 15px; border-radius: 20px; font-weight: bold; text-decoration: none; transition: 0.2s; font-size: 0.9rem; }
.nav-btn:hover { background: #333; transform: translateY(-2px); }

/* --- ZENTRALE LAYOUT KLASSE --- 
   Sorgt dafür, dass News, Kategorien und Shoutbox exakt gleich breit sind */
.content-width {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 40px auto; 
    padding: 0 10px; 
}

/* --- ADMIN NEWS SYSTEM --- */
.news-container {
    background: #1f1f23; padding: 20px; 
    border-radius: 8px; border: 1px solid #333; 
    text-align: left; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.news-item {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.news-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.news-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.news-title { font-size: 1.1rem; color: #00ff9d; font-weight: bold; margin: 0; }
.news-date { font-size: 0.8rem; color: #666; white-space: nowrap; margin-left: 10px;}
.news-content { color: #ccc; line-height: 1.5; font-size: 0.95rem; }

/* Versteckter Bereich für News 6-15 */
.news-hidden-area { display: none; margin-top: 15px; border-top: 1px dashed #444; padding-top: 15px; }
.news-hidden-area.open { display: block; animation: fadeIn 0.5s; }

/* Buttons & Pagination */
.news-toggle-btn {
    background: #333; color: #fff; border: 1px solid #555;
    width: 100%; padding: 10px; margin-top: 10px;
    cursor: pointer; border-radius: 5px; font-weight: bold;
    transition: background 0.2s;
}
.news-toggle-btn:hover { background: #444; }

.pagination { margin-top: 20px; text-align: center; border-top: 1px solid #333; padding-top: 10px; }
.page-link {
    display: inline-block; padding: 5px 12px; margin: 0 2px;
    background: #111; border: 1px solid #444; color: #aaa;
    text-decoration: none; border-radius: 4px;
}
.page-link:hover { background: #333; color: #fff; }
.page-link.active { background: #00ff9d; color: #000; border-color: #00ff9d; font-weight: bold; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* --- KATEGORIEN --- */
.cat-header { 
    display: flex; align-items: center; cursor: pointer; 
    border-bottom: 2px solid #333; 
    padding-bottom: 5px; margin-bottom: 20px;
}
.cat-header:hover h2 { color: #fff; text-shadow: 0 0 20px #fff; }
.cat-title { margin: 0; flex-grow: 1; text-align: left; }
.cat-arrow { font-size: 1.2rem; color: #666; margin-right: 15px; transition: transform 0.3s; display: inline-block; }
.cat-arrow.open { transform: rotate(90deg); color: #00ff9d; }

/* Wrapper Animation */
.game-row-wrapper {
    overflow: hidden; 
    transition: max-height 0.5s ease-out, opacity 0.3s; 
    max-height: 5000px; opacity: 1;
}
.game-row-wrapper.collapsed { max-height: 0; opacity: 0; margin: 0; padding: 0; }

/* --- GRID --- */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
    padding-bottom: 10px;
}

/* --- KACHELN --- */
.card { 
    background: #1a1a1d; border: 1px solid #333; border-radius: 12px; 
    overflow: hidden; transition: transform 0.2s; 
    display: flex; flex-direction: column; height: 100%; position: relative; 
}
.card:hover { transform: translateY(-5px); border-color: #00ff9d; box-shadow: 0 0 20px rgba(0,255,157,0.2); }

/* BILD CONTAINER FIX (160px Höhe) */
.card-img-wrap { 
    width: 100%; height: 160px; 
    background: #000; 
    position: relative; 
    border-bottom: 1px solid #333;
    display: flex; justify-content: center; align-items: center;
}
.card-img-wrap img { 
    width: 100%; height: 100%; 
    object-fit: cover; /* WICHTIG: Kein Verzerren! */
    display: block; 
    transition: transform 0.5s; 
}
.card:hover .card-img-wrap img { transform: scale(1.1); }

/* Fallback Cover */
.no-cover { width: 100%; height: 100%; background: linear-gradient(135deg, #1f1f23 0%, #2f2f35 100%); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #555; }

/* INFOS */
.card-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; text-align: left; }
.card-info h3 { margin: 0 0 5px 0; color: #fff; font-size: 1.1rem; text-shadow: none; }
.card-info p { color: #aaa; font-size: 0.85rem; margin: 0 0 10px 0; height: 38px; overflow: hidden; line-height: 1.4; }
.card-footer { margin-top: auto; border-top: 1px solid #333; padding-top: 8px; display: flex; justify-content: space-between; font-size: 0.75rem; color: #666; }

/* STATUS DOTS */
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: auto; }
.s-active { background: #00ff9d; box-shadow: 0 0 5px #00ff9d; } 
.s-dev { background: #ffcc00; } 
.s-inactive { background: #ff0055; }
.dev-badge { position: absolute; top: 10px; right: 10px; background: #ffcc00; color: #000; font-size: 0.7rem; font-weight: bold; padding: 2px 6px; border-radius: 4px; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }

/* --- SHOUTBOX --- */
.shoutbox-wrap { 
    background: #1a1a1d; padding: 20px; 
    border-radius: 10px; border: 1px solid #333; text-align: left; 
}
.shout-list { height: 200px; overflow-y: auto; background: #111; padding: 10px; margin-bottom: 10px; border-radius: 5px; border: 1px solid #333; font-size: 0.9rem; }
.shout-input { width: 100%; padding: 10px; background: #222; border: 1px solid #444; color: white; border-radius: 4px; box-sizing: border-box; }
.shout-btn { width: 100%; padding: 10px; background: #00ff9d; border: none; cursor: pointer; font-weight: bold; border-radius: 4px; color: #000; }

/* =========================================
   3. WIKI SPEZIFISCHES DESIGN
   ========================================= */

/* Layout Container */
.wiki-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px; 
    margin: 20px auto;
    padding: 0 10px;
    min-height: 60vh;
}

/* Sidebar (Menü links) */
.wiki-sidebar {
    flex: 0 0 250px; 
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    position: sticky;
    top: 20px; 
}

/* Navigation Links */
.wiki-nav ul { list-style: none; padding: 0; margin: 0; }
.wiki-nav li { margin-bottom: 5px; }
.wiki-nav a { 
    display: block; padding: 8px 10px; color: #bbb; text-decoration: none; 
    border-radius: 5px; transition: all 0.2s;
}
.wiki-nav a:hover { background: #333; color: #fff; padding-left: 15px; }
.wiki-nav a.active { background: #00ff9d; color: #000; font-weight: bold; }

/* Content Bereich (Rechts) */
.wiki-content {
    flex: 1; 
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px;
    line-height: 1.7;
    color: #eee;
}

/* Typografie im Artikel */
.wiki-content h1 { color: #00ff9d; border-bottom: 2px solid #333; padding-bottom: 10px; margin-top: 0; }
.wiki-content h2 { color: #fff; margin-top: 40px; border-bottom: 1px solid #444; padding-bottom: 5px; }
.wiki-content h3 { color: #ddd; margin-top: 30px; }
.wiki-content code { background: #333; padding: 2px 6px; border-radius: 4px; font-family: monospace; color: #ff5555; }
.wiki-content pre { background: #000; padding: 15px; border-radius: 5px; overflow-x: auto; border: 1px solid #444; }
.wiki-content pre code { background: transparent; padding: 0; color: #ccc; }
.wiki-content a { color: #00b8ff; text-decoration: underline; }
.wiki-content ul { padding-left: 20px; }

/* Footer Links im Wiki */
.footer-link { color: #888; text-decoration: none; margin: 0 10px; transition: color 0.2s; }
.footer-link:hover { color: #fff; text-decoration: underline; }

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 800px) {
    .wiki-layout { flex-direction: column; }
    .wiki-sidebar { width: 100%; position: relative; padding: 0; border: none; background: transparent; }
    
    /* Aufklapp-Menü Styling */
    .mobile-details summary {
        background: #222; border: 1px solid #444; padding: 15px; border-radius: 8px;
        list-style: none; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between;
    }
    .mobile-details summary::after { content: '📂'; }
    .mobile-menu-inner { margin-top: 10px; background: #111; border: 1px solid #333; border-radius: 8px; padding: 10px; }
    
    .wiki-content { padding: 20px; width: 100%; box-sizing: border-box; }
}

@media (min-width: 801px) {
    .mobile-details summary { display: none; } 
    .mobile-details { display: block !important; }
}

/* =========================================
   5. DEVELOPER ZONE DESIGN
   ========================================= */

/* Die Boxen (Karten-Look) */
.dev-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.dev-box h3 { 
    color: #00b8ff; 
    margin-top: 0; 
    border-bottom: 1px solid #333; 
    padding-bottom: 15px; 
    margin-bottom: 20px;
}

/* Der fette Download Button */
.btn-download {
    display: inline-block;
    background: linear-gradient(45deg, #00b8ff, #0099cc);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 20px 0;
    border: 1px solid #00b8ff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.btn-download:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.4); 
    color: #fff;
}

/* Formular Design */
.dev-form label { display: block; margin-bottom: 8px; color: #ccc; font-weight: bold; }

.dev-form input[type="text"],
.dev-form input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: #050505;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

.dev-form input[type="text"]:focus { border-color: #00ff9d; outline: none; }

.dev-form button {
    background: #00ff9d;
    color: #000;
    border: none;
    padding: 15px;
    width: 100%;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dev-form button:hover { 
    background: #00cc7a; 
    transform: scale(1.02); 
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4); 
}

/* Checkliste Style */
.checklist { 
    background: #222; 
    padding: 15px; 
    border-radius: 5px; 
    border-left: 4px solid #ffd700; 
    margin-top: 15px; 
}
.checklist div { margin-bottom: 8px; }
.checklist code { color: #ffd700; font-family: monospace; font-weight: bold; }


/* =========================================
   USER HUD BAR (Login/Admin Leiste)
   ========================================= */
.user-hud-bar {
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    font-family: sans-serif;
    position: relative;
    z-index: 100;
    
    /* FIX: Breite anpassen an News & Rest */
    max-width: 1200px;       /* Maximalbreite wie content-width */
    width: 100%;             /* Nimmt Platz ein */
    margin: 0 auto 25px auto; /* Zentriert + Abstand unten */
    border-radius: 8px;      /* Runde Ecken passend zum Design */
    box-sizing: border-box;
}

/* Linker Teil (Hallo User) */
.hud-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
}

.hud-avatar {
    font-size: 1.1rem;
    background: #222;
    width: 35px; 
    height: 35px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #444;
}

.hud-welcome strong {
    color: #eee;
    font-weight: 600;
}

/* Rechter Teil (Buttons) */
.hud-actions {
    display: flex;
    gap: 10px;
}

/* Basis Button Style */
.hud-btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 1. Login Button (Blau/Cyan) */
.login-btn {
    background: rgba(0, 184, 255, 0.1);
    color: #00b8ff;
    border: 1px solid #00b8ff;
    width: 100%;
    justify-content: center;
}
.login-btn:hover {
    background: #00b8ff;
    color: #000;
    box-shadow: 0 0 10px rgba(0, 184, 255, 0.4);
}

/* 2. Admin Button (Gold) */
.admin-btn {
    background: linear-gradient(135deg, #b8860b, #ffd700);
    color: #000;
    border: 1px solid #ffd700;
}
.admin-btn:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* 3. Logout Button (Rot/Grau) */
.logout-btn {
    background: #222;
    color: #aaa;
    border: 1px solid #444;
}
.logout-btn:hover {
    background: #a00;
    color: #fff;
    border-color: #f00;
}

/* Zentrierter Container (wenn ausgeloggt) */
.hud-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* MOBILE ANPASSUNG */
@media (max-width: 600px) {
    .user-hud-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }
    
    .hud-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hud-btn {
        flex-grow: 1; /* Buttons füllen die Breite */
        justify-content: center;
    }
}

/* ===== Live Chat (np-chat) ===== */
.np-chat{

.np-chat{
  width: 100%;
  box-sizing: border-box;
}

  background:#1f1f23;
  border:1px solid #333;
  border-radius:10px;
  padding:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
}

.np-chat__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.np-chat__title{
  color:#00b8ff;
  margin:0;
  font-size:1.05rem;
}

.np-chat__status{
  font-size:0.85rem;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid #333;
  background:#111;
  color:#bbb;
}

.np-chat__status--online{ border-color:#00ff9d; color:#00ff9d; }
.np-chat__status--offline{ border-color:#ff5252; color:#ff5252; }

.np-chat__box{
  height:320px;
  overflow-y:auto;
  background:#151518;
  border:1px solid #2a2a2a;
  border-radius:8px;
  padding:8px;
}

.np-chat__msg{
  display:flex;
  gap:8px;
  padding:5px 6px;     /* niedriger als vorher */
  border-bottom:1px solid #232323;
}

.np-chat__msg:last-child{ border-bottom:none; }

.np-chat__avatar{
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid #333;
  background:#111;
  object-fit:cover;
  flex:0 0 28px;
}

.np-chat__body{ flex:1; min-width:0; }

.np-chat__top{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.np-chat__name{
  color:#4CAF50;
  font-weight:700;
  font-size:0.92rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:40%;
}

.np-chat__time{
  margin-left:auto;
  font-size:0.72rem;
  color:#666;
  white-space:nowrap;
}

.np-chat__text{
  color:#ddd;
  font-size:0.92rem;
  line-height:1.2;     /* niedriger -> mehr Nachrichten sichtbar */
  margin-top:2px;
  word-break:break-word;
}

.np-chat__sys{
  padding:8px 10px;
  margin:6px 0;
  border-radius:8px;
  border:1px dashed #333;
  background:#101013;
  color:#aaa;
  font-size:0.9rem;
}

.np-chat__sys--error{
  border-color:#5a2a2a;
  color:#ff9a9a;
}

.np-chat__inputrow{
  margin-top:10px;
  display:flex;
  gap:8px;
}

.np-chat__input{
  flex:1;
  padding:10px;
  background:#111;
  color:#fff;
  border:1px solid #333;
  border-radius:8px;
  outline:none;
}

.np-chat__btn{
  width:140px;
  background:#00b8ff;
  color:#000;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
}

.np-chat__btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
}


/* =========================================
   HELP PAGE
   ========================================= */
.help-page-wrap {
    text-align: left;
}
.help-hero,
.help-empty-state,
.card-like {
    background: #1a1a1d;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}
.help-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    padding: 24px;
    margin-bottom: 20px;
    align-items: start;
}
.help-hero h1 {
    margin: 0 0 10px 0;
    color: #5dd6ff;
}
.help-hero p {
    margin: 0;
    color: #aaa;
    line-height: 1.6;
}
.help-hero-tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.help-search-label {
    font-size: 0.9rem;
    color: #aaa;
}
.help-search-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #444;
    background: #0e0e11;
    color: #fff;
    font-size: 1rem;
}
.help-search-meta {
    color: #7dbed1;
    font-size: 0.9rem;
    min-height: 20px;
}
.help-search-results {
    background: #121216;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
}
.help-search-result-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #27272b;
}
.help-search-result-item:last-child {
    border-bottom: none;
}
.help-search-result-item:hover {
    background: #1f1f25;
}
.help-search-result-item small {
    color: #7f7f8a;
}
.help-overview-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.help-overview-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #17171c;
    border: 1px solid #30303a;
    border-radius: 999px;
}
.help-overview-chip:hover {
    border-color: #5dd6ff;
    transform: translateY(-2px);
}
.help-overview-icon {
    font-size: 1rem;
}
.help-overview-count {
    color: #7dbed1;
    font-weight: 700;
}
.help-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}
.help-group {
    background: #16161b;
    border: 1px solid #30303a;
    border-radius: 12px;
    overflow: hidden;
}
.help-group-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    text-align: left;
}
.help-group-toggle:hover {
    background: #1c1c22;
}
.help-group-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.help-group-head strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}
.help-group-head small {
    display: block;
    color: #8f8f97;
}
.help-group-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #252530;
}
.help-group-badge {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0f2530;
    color: #79d8ff;
    font-weight: 700;
}
.help-group-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px 16px;
}
.help-group.is-collapsed .help-group-body {
    display: none;
}
.help-entry {
    background: #101015;
    border: 1px solid #2a2a34;
    border-radius: 10px;
    padding: 16px;
    scroll-margin-top: 100px;
}
.help-entry.is-highlighted {
    border-color: #5dd6ff;
    box-shadow: 0 0 0 1px #5dd6ff, 0 0 22px rgba(93,214,255,0.15);
}
.help-entry-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}
.help-entry-title-wrap {
    display: flex;
    gap: 12px;
    align-items: start;
}
.help-entry-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #1c1c25;
    font-size: 1.05rem;
}
.help-entry h3 {
    margin: 0;
    color: #fff;
    text-transform: none;
    text-shadow: none;
}
.help-entry-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    color: #8b8b95;
    font-size: 0.85rem;
}
.help-entry-meta-inline code,
.help-entry-block code {
    background: #1e1e28;
    padding: 2px 6px;
    border-radius: 6px;
    color: #8fe1ff;
}
.help-entry-anchor {
    color: #5dd6ff;
    font-weight: 700;
}
.help-entry-summary {
    color: #b9b9c4;
    margin: 12px 0 0 0;
}
.help-entry-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
}
.help-entry-block-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.help-entry-block {
    background: #16161d;
    border: 1px solid #292932;
    border-radius: 10px;
    padding: 12px 14px;
}
.help-entry-block h4 {
    margin: 0 0 8px 0;
    color: #7ddfef;
    font-size: 0.95rem;
}
.help-entry-block p {
    margin: 0;
    color: #b6b6bf;
    line-height: 1.55;
}
.help-empty-state {
    padding: 24px;
    margin-bottom: 30px;
}
@media (max-width: 900px) {
    .help-hero,
    .help-entry-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .help-hero {
        padding: 18px;
    }
    .help-group-toggle {
        padding: 14px;
    }
    .help-entry {
        padding: 14px;
    }
    .help-entry-top {
        flex-direction: column;
    }
}

/* =========================================
   HELP PAGE - SIMPLIFIED USER VIEW
   ========================================= */
.help-simple-page {
    text-align: left;
}
.help-simple-header,
.help-simple-intro {
    padding: 18px 20px;
    margin-bottom: 16px;
}
.help-simple-header {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    align-items: start;
}
.help-simple-header h1 {
    margin: 0 0 8px 0;
    color: #e7f6ff;
    text-shadow: none;
}
.help-simple-header p,
.help-simple-intro p {
    margin: 0;
    color: #c9d0d7;
    line-height: 1.6;
}
.help-simple-search-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.help-simple-search-wrap label {
    color: #a7b6c3;
    font-size: 0.92rem;
}
.help-simple-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.help-search-hint {
    color: #8d99a6;
    font-size: 0.85rem;
}
.help-simple-groups {
    gap: 14px;
}
.help-simple-group {
    border-radius: 12px;
    overflow: hidden;
}
.help-simple-toggle {
    padding: 14px 16px;
}
.help-simple-body {
    padding: 0 14px 14px 14px;
}
.help-simple-table-wrap {
    overflow-x: auto;
}
.help-simple-table {
    width: 100%;
    border-collapse: collapse;
    background: #111318;
    border: 1px solid #272f38;
    border-radius: 10px;
    overflow: hidden;
}
.help-simple-table th,
.help-simple-table td {
    padding: 12px 12px;
    border-bottom: 1px solid #242b34;
    vertical-align: top;
    text-align: left;
}
.help-simple-table thead th {
    background: #1a2028;
    color: #dce8f2;
    font-size: 0.92rem;
}
.help-simple-table tbody tr:last-child td {
    border-bottom: none;
}
.help-simple-table tbody tr:hover {
    background: #151b23;
}
.help-simple-icon-cell {
    width: 70px;
}
.help-simple-name-cell {
    width: 240px;
}
.help-simple-name-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.help-simple-name-wrap strong {
    color: #fff;
}
.help-simple-purpose {
    margin-top: 6px;
    color: #8ea3b5;
    font-size: 0.88rem;
}
.help-simple-text {
    color: #d2d8de;
    line-height: 1.55;
}
.help-simple-location {
    margin-top: 8px;
    color: #89b9d4;
    font-size: 0.86rem;
}
.help-simple-entry.is-highlighted td {
    background: #102432;
    box-shadow: inset 0 0 0 1px #5dd6ff;
}
.help-simple-entry .help-entry-icon {
    background: #212834;
    color: #fff;
}
.help-search-results {
    max-height: 280px;
    overflow: auto;
}
@media (max-width: 900px) {
    .help-simple-header {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .help-simple-table,
    .help-simple-table thead,
    .help-simple-table tbody,
    .help-simple-table th,
    .help-simple-table td,
    .help-simple-table tr {
        display: block;
        width: 100%;
    }
    .help-simple-table thead {
        display: none;
    }
    .help-simple-table tbody tr {
        border-bottom: 1px solid #242b34;
        padding: 10px 0;
    }
    .help-simple-table tbody tr:last-child {
        border-bottom: none;
    }
    .help-simple-icon-cell,
    .help-simple-name-cell,
    .help-simple-text-cell {
        width: 100%;
        border-bottom: none !important;
        padding: 8px 10px;
    }
    .help-simple-name-cell {
        padding-top: 0;
    }
}
