/* ===== Station 1 (KI-Detektiv / Bingo-Ansicht): komplett altes Design =====
   Gilt nur wenn body.station1-view (wird in app.js beim Öffnen/Schließen von #chatScreen gesetzt).
   Keine Mischung mit neuem CI, Sidebars nicht eingerückt. */

/* --- Body: kein Padding (Sidebars volle Breite), alter Hintergrund --- */
body.station1-view {
    padding: 0 !important;
    background: linear-gradient(135deg, #f9fafb 0%, #eff6ff 100%) !important;
    background-image: none !important;
}

/* --- Header: alter Lila-Blau-Gradient --- */
body.station1-view .dashboard-header {
    background: linear-gradient(135deg, #9333ea, #2563eb) !important;
    color: white !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
}

/* --- Dashboard-Grid: volle Breite, keine Einrückung --- */
body.station1-view #chatScreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.station1-view .dashboard-grid {
    padding: 0;
    margin-top: 68px;
    height: calc(100vh - 68px);
    flex: 1;
}

/* --- Glass-Komponenten: altes Aussehen --- */
body.station1-view .glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border-radius: 20px !important;
}
body.station1-view .glass-button {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 16px !important;
}
body.station1-view .glass-button:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* --- Panels: altes Design --- */
body.station1-view .dashboard-panel {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}
body.station1-view .panel-header {
    padding: 16px;
    color: white;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
body.station1-view .panel-header.gradient-header {
    background: linear-gradient(135deg, #9333ea, #2563eb);
}
body.station1-view .panel-header.gradient-bingo {
    background: linear-gradient(135deg, #fbbf24, #d946ef);
}
body.station1-view .panel-header.gradient-ki {
    background: linear-gradient(135deg, #ec4899, #f97316);
}

/* --- Bingo: altes Grid, keine Mischung --- */
body.station1-view .bingo-container-compact,
body.station1-view .bingo-container {
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
body.station1-view .bingo-header-cell {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(37, 99, 235, 0.15));
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
    color: #5b21b6;
}
body.station1-view .bingo-cell,
body.station1-view .bingo-cell-simple {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
}
body.station1-view .bingo-cell-clickable:hover,
body.station1-view .bingo-cell-simple.bingo-cell-clickable:hover {
    border-color: rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(37, 99, 235, 0.1));
}
body.station1-view .bingo-cell-marked,
body.station1-view .bingo-cell-simple.bingo-cell-completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    border-color: rgba(16, 185, 129, 0.5);
}

/* --- Chat-Nachrichten: alte Farben --- */
body.station1-view .chat-message {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
body.station1-view .chat-message.user {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(37, 99, 235, 0.15));
    border-color: rgba(147, 51, 234, 0.3);
}
body.station1-view .assistant-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.08));
    border-radius: 20px;
}
body.station1-view .ki-chat-message {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(249, 115, 22, 0.1));
    border-left: 4px solid #ec4899;
    border-radius: 16px;
}

/* --- Answer-Options-Bereich --- */
body.station1-view #chatAnswerOptions {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
body.station1-view #chatButtons button {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(37, 99, 235, 0.1));
    border: 2px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    color: #4b5563;
}
body.station1-view #chatButtons button:hover {
    background: linear-gradient(135deg, #9333ea, #2563eb);
    color: white;
    border-color: transparent;
}

/* --- Info-Karten in der linken Spalte --- */
body.station1-view .info-card .glass-card {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(37, 99, 235, 0.1)) !important;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

/* --- Modals (Leaderboard, Bingo-Win, Feedback) in Station 1 --- */
body.station1-view .modal-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}
body.station1-view #leaderboardModal .glass-card,
body.station1-view #bingoWinModal .glass-card,
body.station1-view #feedbackModal .glass-card,
body.station1-view #infoModal .glass-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}
