/* Niele Home Startseite - Modern Responsive CSS */

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Dark Theme Default */
    --bg-base: #0b0f19;
    --bg-surface: #111827;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(31, 41, 55, 0.85);
    --bg-input: #1f2937;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #38bdf8;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;

    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 25px -5px rgba(56, 189, 248, 0.25);
    
    --glass-bg: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.16);
    --card-glass-bg: linear-gradient(135deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.82) 100%);
    --card-glass-hover: linear-gradient(135deg, rgba(51, 65, 85, 0.85) 0%, rgba(30, 41, 59, 0.95) 100%);
    --card-icon-bg: rgba(56, 189, 248, 0.12);
    --card-icon-border: rgba(56, 189, 248, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

/* Cyberpunk Theme */
[data-theme="cyberpunk"] {
    --bg-base: #050508;
    --bg-surface: #0d0f18;
    --bg-card: rgba(13, 15, 24, 0.85);
    --bg-card-hover: rgba(22, 27, 46, 0.95);
    --bg-input: #121624;
    --border-color: rgba(0, 240, 255, 0.15);
    --border-hover: #00f0ff;
    
    --text-primary: #f8fafc;
    --text-secondary: #00f0ff;
    --text-muted: #6272a4;

    --accent-blue: #00f0ff;
    --accent-indigo: #7928ca;
    --accent-purple: #ff007f;
    --accent-emerald: #00ff66;
    --accent-rose: #ff003c;
    --accent-amber: #ffe600;

    --shadow-card: 0 4px 25px -2px rgba(0, 240, 255, 0.15);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.35);

    --glass-bg: linear-gradient(135deg, rgba(13, 15, 24, 0.85) 0%, rgba(20, 10, 30, 0.9) 100%);
    --glass-border: rgba(0, 240, 255, 0.22);
    --glass-specular: inset 0 1px 1px 0 rgba(0, 240, 255, 0.25);
    --card-glass-bg: rgba(13, 15, 24, 0.85);
    --card-glass-hover: rgba(22, 27, 46, 0.95);
    --card-icon-bg: rgba(0, 240, 255, 0.12);
    --card-icon-border: rgba(0, 240, 255, 0.35);
}

/* OLED Theme */
[data-theme="oled"] {
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-card: rgba(12, 12, 12, 0.95);
    --bg-card-hover: #171717;
    --bg-input: #121212;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.5);
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #525252;

    --accent-blue: #60a5fa;
    --accent-indigo: #818cf8;
    --accent-purple: #c084fc;
    --accent-emerald: #34d399;
    --accent-rose: #fb7185;
    --accent-amber: #fbbf24;

    --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.1);
    --shadow-glow: none;

    --glass-bg: linear-gradient(135deg, rgba(15, 15, 15, 0.92) 0%, rgba(5, 5, 5, 0.96) 100%);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12);
    --card-glass-bg: rgba(14, 14, 14, 0.92);
    --card-glass-hover: #1e1e1e;
    --card-icon-bg: rgba(255, 255, 255, 0.08);
    --card-icon-border: rgba(255, 255, 255, 0.18);
}

/* Light Theme Fluent Glass */
[data-theme="light"] {
    --bg-base: #eef2f6;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-card-hover: rgba(255, 255, 255, 0.92);
    --bg-input: rgba(241, 245, 249, 0.85);
    --border-color: rgba(255, 255, 255, 0.75);
    --border-hover: rgba(14, 165, 233, 0.6);
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --accent-blue: #0284c7;
    --accent-indigo: #4f46e5;
    --accent-purple: #9333ea;
    --accent-emerald: #059669;
    --accent-rose: #e11d48;
    --accent-amber: #d97706;

    --shadow-card: 0 10px 30px -4px rgba(0, 0, 0, 0.08), 0 2px 8px -2px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.18);

    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(241, 245, 249, 0.9) 100%);
    --glass-border: rgba(255, 255, 255, 0.85);
    --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
    --card-glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.9) 100%);
    --card-glass-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.98) 100%);
    --card-icon-bg: rgba(2, 132, 199, 0.1);
    --card-icon-border: rgba(2, 132, 199, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.25s ease, color 0.25s ease;
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.04) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Container */
.container {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Top Bar - Floating Fluent Liquid Glass */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    margin-top: 20px;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-specular), 0 12px 35px -5px rgba(0, 0, 0, 0.45);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
    flex-shrink: 0;
}

.brand-logo svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.brand-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Center Clock & Weather */
.header-center {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.clock-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clock-time {
    font-size: 1.55rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.clock-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}

.weather-icon {
    display: flex;
    align-items: center;
    color: var(--accent-amber);
}

.weather-info {
    display: flex;
    flex-direction: column;
}

.weather-temp {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.weather-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-pill:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

.status-dot.pulse {
    animation: statusPulse 2s infinite;
}

.status-dot.warning {
    background: var(--accent-amber);
    box-shadow: 0 0 8px var(--accent-amber);
}

.status-dot.down {
    background: var(--accent-rose);
    box-shadow: 0 0 10px var(--accent-rose);
    animation: statusPulse 1s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.85; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.85; }
}

.action-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.action-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.action-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
}

.badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-rose);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-base);
    animation: statusPulse 1.8s infinite;
}

/* Search Bar Section */
.search-section {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.search-box {
    width: 100%;
    max-width: 640px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-left {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    pointer-events: none;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 13px 48px 13px 46px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
}

.search-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), var(--shadow-card);
}

.search-kbd {
    position: absolute;
    right: 14px;
    padding: 3px 7px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: var(--bg-input);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

/* NINA Emergency Warning Banner */
.warning-banner-container {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warning-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--accent-amber);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.warning-card.sev-extreme {
    border-left-color: #c084fc;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
}

.warning-card.sev-severe {
    border-left-color: var(--accent-rose);
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.2);
}

.warning-card.sev-moderate {
    border-left-color: var(--accent-amber);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.warning-card.sev-minor {
    border-left-color: #facc15;
}

.warning-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 14px;
}

.warning-title-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.warning-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sev-extreme .warning-badge { background: rgba(192, 132, 252, 0.2); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.4); }
.sev-severe .warning-badge { background: rgba(244, 63, 94, 0.2); color: var(--accent-rose); border: 1px solid rgba(244, 63, 94, 0.4); }
.sev-moderate .warning-badge { background: rgba(245, 158, 11, 0.2); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.4); }
.sev-minor .warning-badge { background: rgba(250, 204, 21, 0.2); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.4); }

.warning-headline {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.warning-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.warning-details {
    padding: 0 18px 16px 18px;
    display: none;
    border-top: 1px solid var(--border-color);
    margin-top: 6px;
    padding-top: 12px;
}

.warning-card.expanded .warning-details {
    display: block;
}

.warning-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    white-space: pre-line;
}

.warning-instruction {
    background: var(--bg-input);
    border-left: 3px solid var(--accent-blue);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.warning-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
}

/* Service Status Alert (if Kuma down) */
.service-down-alert {
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.4);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--accent-rose);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Guest Login Prompt Banner */
.login-prompt-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px dashed rgba(168, 85, 247, 0.4);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 10px;
    box-shadow: var(--shadow-card);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.04) 0%, rgba(56, 189, 248, 0.04) 100%);
}

.login-prompt-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-prompt-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-prompt-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.login-prompt-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .login-prompt-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Category Grid & Cards */
.categories-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.category-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text-primary);
}

.category-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-badge-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 2px 7px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* Bookmark Card */
.bookmark-card {
    background: var(--card-glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.22s ease;
    box-shadow: var(--glass-specular), var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.bookmark-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.bookmark-card:hover {
    background: var(--card-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--glass-specular), var(--shadow-glow), var(--shadow-card);
}

.bookmark-card:hover::before {
    background: var(--accent-blue);
}

.card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--card-icon-bg);
    border: 1px solid var(--card-icon-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-blue);
    transition: transform 0.2s ease;
}

.bookmark-card:hover .card-icon-wrap {
    transform: scale(1.08);
}

.card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-blue);
    white-space: nowrap;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.card-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.card-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
}

.card-status-dot.up {
    background: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
}

.card-status-dot.down {
    background: var(--accent-rose);
    box-shadow: 0 0 8px var(--accent-rose);
    animation: statusPulse 1s infinite;
}

/* Edit Mode Overlay on Cards */
.edit-mode-actions {
    display: none;
    position: absolute;
    top: 6px;
    right: 6px;
    gap: 4px;
}

body.edit-mode .edit-mode-actions {
    display: flex;
}

.card-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-blue);
}

.card-btn.delete:hover {
    color: var(--accent-rose);
    border-color: var(--accent-rose);
}

.add-card-placeholder {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 74px;
}

.add-card-placeholder:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.05);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.modal-overlay.open {
    display: flex;
}

.modal-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn {
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-danger {
    background: var(--accent-rose);
    color: #ffffff;
}

/* User Auth Pill & Tabs */
.user-auth-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-auth-pill:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.filter-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.filter-tabs {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 4px;
    gap: 4px;
}

.filter-tab {
    padding: 6px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent-blue);
    color: #ffffff;
}

/* Footer */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Ambient Liquid Background Engine */
.liquid-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-base);
    transition: background-color 0.8s ease;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.55;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: blobFloat 22s infinite alternate ease-in-out;
}

[data-theme="light"] .liquid-blob {
    opacity: 0.35;
    filter: blur(95px);
}

.blob-1 {
    width: 550px;
    height: 550px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.blob-2 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    animation-delay: -7s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    top: 40%;
    left: 35%;
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
    animation-delay: -14s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.08); }
    100% { transform: translate(-40px, 70px) scale(0.95); }
}

/* Time of day background modifiers */
[data-time-period="dawn"] .blob-1 { background: radial-gradient(circle, #f43f5e 0%, transparent 70%); }
[data-time-period="dawn"] .blob-2 { background: radial-gradient(circle, #fb923c 0%, transparent 70%); }
[data-time-period="dawn"] .blob-3 { background: radial-gradient(circle, #c084fc 0%, transparent 70%); }

[data-time-period="day"] .blob-1 { background: radial-gradient(circle, #38bdf8 0%, transparent 70%); }
[data-time-period="day"] .blob-2 { background: radial-gradient(circle, #818cf8 0%, transparent 70%); }
[data-time-period="day"] .blob-3 { background: radial-gradient(circle, #34d399 0%, transparent 70%); }

[data-time-period="dusk"] .blob-1 { background: radial-gradient(circle, #e11d48 0%, transparent 70%); }
[data-time-period="dusk"] .blob-2 { background: radial-gradient(circle, #9333ea 0%, transparent 70%); }
[data-time-period="dusk"] .blob-3 { background: radial-gradient(circle, #f59e0b 0%, transparent 70%); }

[data-time-period="night"] .blob-1 { background: radial-gradient(circle, #0284c7 0%, transparent 70%); }
[data-time-period="night"] .blob-2 { background: radial-gradient(circle, #4f46e5 0%, transparent 70%); }
[data-time-period="night"] .blob-3 { background: radial-gradient(circle, #10b981 0%, transparent 70%); }

/* Custom wallpaper overlay mode */
body.has-custom-bg .liquid-bg-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
body.has-custom-bg .liquid-blob {
    display: none;
}
body.has-custom-bg .liquid-glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
[data-theme="light"].has-custom-bg .liquid-glass-overlay {
    background: rgba(255, 255, 255, 0.75);
}

/* Personal Greeting Hero Section */
.hero-greeting {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.greeting-content {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px 30px;
    box-shadow: var(--glass-specular), 0 12px 35px -5px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}
.greeting-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), transparent);
}
.greeting-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent-blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.greeting-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}
.greeting-headline {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 6px;
}
.greeting-sub {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Heise News Banner */
.heise-news-banner {
    margin-bottom: 24px;
}
.heise-banner-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--glass-specular), 0 8px 25px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
}
.heise-banner-inner:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}
.heise-banner-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(244, 63, 94, 0.14);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-rose);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.heise-banner-label.online-news {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--accent-blue);
}
.heise-pulsing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.8s infinite;
}
.heise-ticker-track {
    flex: 1;
    min-width: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}
.heise-news-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}
.heise-news-title:hover {
    color: var(--accent-blue);
}
.heise-news-time {
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.heise-banner-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.heise-ctrl-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}
.heise-ctrl-btn:hover {
    color: var(--text-primary);
    background: var(--border-color);
    border-color: var(--accent-blue);
}

/* Mobile Bottom Navigation Bar - Hidden on Desktop */
.mobile-bottom-nav {
    display: none !important;
}

/* Responsive Smartphone Layout */
@media (max-width: 768px) {
    .container {
        padding-bottom: 90px;
    }
    .header-top {
        gap: 12px;
    }
    .btn-label-desktop {
        display: none;
    }
    .header-center {
        padding: 6px 14px;
    }
    .clock-time {
        font-size: 1.25rem;
    }
    .greeting-headline {
        font-size: 1.4rem;
    }
    .heise-banner-inner {
        flex-wrap: wrap;
    }
    .heise-ticker-track {
        order: 3;
        width: 100%;
    }
    
    /* Show Mobile Bottom Navigation */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 12px;
        left: 14px;
        right: 14px;
        height: 62px;
        background: var(--glass-bg);
        backdrop-filter: blur(24px) saturate(200%);
        -webkit-backdrop-filter: blur(24px) saturate(200%);
        border: 1px solid var(--glass-border);
        border-radius: 9999px;
        box-shadow: var(--glass-specular), 0 10px 30px rgba(0, 0, 0, 0.45);
        display: flex !important;
        align-items: center;
        justify-content: space-around;
        padding: 0 10px;
        z-index: 900;
    }
    .mobile-nav-item {
        background: transparent;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: var(--text-secondary);
        font-size: 0.68rem;
        font-weight: 600;
        cursor: pointer;
        padding: 6px 12px;
        border-radius: 12px;
        transition: all 0.15s ease;
    }
    .mobile-nav-item i {
        width: 18px;
        height: 18px;
    }
    .mobile-nav-item.active, .mobile-nav-item:active {
        color: var(--accent-blue);
    }
}

/* ==========================================================================
   Toast Notification System (In-App Floating Alerts)
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 40px);
}

.glass-toast {
    pointer-events: auto;
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.glass-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.glass-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.glass-toast.danger {
    border-left: 4px solid var(--accent-rose);
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.glass-toast.warning {
    border-left: 4px solid var(--accent-amber);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.glass-toast.success {
    border-left: 4px solid var(--accent-emerald);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-body {
    flex: 1;
}

.toast-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.toast-msg {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: color 0.15s ease;
    margin-top: -2px;
    margin-right: -4px;
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Login Gate Screen (Geschützter Startbildschirm vor Anmeldung)
   ========================================================================== */
.login-gate-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    position: relative;
    z-index: 50;
    animation: fadeIn 0.4s ease;
}

body.gate-locked .mobile-bottom-nav {
    display: none !important;
}

.gate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.gate-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gate-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gate-clock-box {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gate-center-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    flex: 1;
}

.login-gate-card {
    background: var(--glass-bg);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 38px 34px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--glass-specular), 0 24px 60px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.gate-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    padding: 5px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.gate-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c084fc;
    box-shadow: 0 0 10px #c084fc;
    animation: statusPulse 2s infinite;
}

.gate-shield-emblem {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-shield-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(56, 189, 248, 0) 70%);
    filter: blur(10px);
    animation: pulseGlow 3s infinite alternate;
}

.gate-shield-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(56, 189, 248, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gate-shield-icon i {
    width: 36px;
    height: 36px;
    color: #a855f7;
}

.gate-main-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.gate-location-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.gate-notice-panel {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-align: left;
    margin-bottom: 24px;
}

.gate-notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.gate-notice-body {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 12px;
}

.gate-notice-quote {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text-primary);
}

.gate-quote-text {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.gate-quote-highlight {
    margin-top: 3px;
    color: var(--text-primary);
}

.gate-quote-highlight strong {
    color: var(--accent-amber);
    font-weight: 700;
}

.btn-voidauth-gate {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-voidauth-gate:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.5);
    filter: brightness(1.08);
}

.btn-voidauth-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-voidauth-icon i {
    width: 18px;
    height: 18px;
}

.btn-voidauth-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-voidauth-gate:hover .btn-voidauth-arrow {
    transform: translateX(4px);
}

.gate-fallback-section {
    margin-top: 18px;
}

.gate-fallback-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
    padding: 6px 10px;
}

.gate-fallback-btn:hover {
    color: var(--text-primary);
}

.gate-password-form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: left;
    animation: fadeIn 0.2s ease;
}

.gate-login-error {
    font-size: 0.78rem;
    color: var(--accent-rose);
    margin-top: 4px;
    text-align: center;
}

.gate-footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Uptime Kuma Alert Banner (Ähnlich wie NINA Warnings)
   ========================================================================== */
.kuma-alert-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    animation: fadeIn 0.3s ease;
}

.kuma-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-rose);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.25), var(--shadow-card);
    transition: all 0.25s ease;
}

.kuma-card:hover {
    box-shadow: 0 0 35px rgba(244, 63, 94, 0.35), var(--shadow-card);
}

.kuma-badge {
    background: rgba(244, 63, 94, 0.2) !important;
    color: var(--accent-rose) !important;
    border: 1px solid rgba(244, 63, 94, 0.4) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.kuma-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-rose);
    box-shadow: 0 0 8px var(--accent-rose);
    animation: statusPulse 1.2s infinite;
}

.kuma-offline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.kuma-offline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    gap: 12px;
}

.kuma-item-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.kuma-item-type {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--bg-input);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
}

.kuma-item-url {
    font-size: 0.76rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.kuma-item-badge-down {
    background: rgba(244, 63, 94, 0.2);
    color: var(--accent-rose);
    border: 1px solid rgba(244, 63, 94, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}
