/* ========================================
   Intel Terminal - Multi-Theme Styles
   ======================================== */

/* ========================================
   THEME 1: Terminal Green (Default)
   ======================================== */
.theme-terminal {
    --bg-primary: #0a0f0a;
    --bg-secondary: #0d140d;
    --bg-header: #061006;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --text-dim: #006600;
    --border-color: #00aa00;
    --accent: #00ff00;
    --critical: #ff0000;
    --high: #ff6600;
    --medium: #ffff00;
    --low: #00ffff;
    --info: #00ff00;
    --scrollbar: #00ff00;
    --glow: 0 0 10px #00ff00;
    --scanline: rgba(0, 255, 0, 0.03);
}

/* ========================================
   THEME 2: Amber LCD (Retro)
   ======================================== */
.theme-amber {
    --bg-primary: #1a1400;
    --bg-secondary: #231c00;
    --bg-header: #0f0a00;
    --text-primary: #ffb000;
    --text-secondary: #cc8800;
    --text-dim: #664400;
    --border-color: #996600;
    --accent: #ffb000;
    --critical: #ff3300;
    --high: #ff6600;
    --medium: #ffcc00;
    --low: #88cc00;
    --info: #ffb000;
    --scrollbar: #ffb000;
    --glow: 0 0 10px #ffb000;
    --scanline: rgba(255, 176, 0, 0.03);
}

/* ========================================
   THEME 3: Neon Rainbow (Cyberpunk)
   ======================================== */
.theme-neon {
    --bg-primary: #0a0a14;
    --bg-secondary: #12121f;
    --bg-header: #08080f;
    --text-primary: #ff00ff;
    --text-secondary: #00ffff;
    --text-dim: #666699;
    --border-color: #ff00ff;
    --accent: #00ffff;
    --critical: #ff0066;
    --high: #ff6600;
    --medium: #ffff00;
    --low: #00ff99;
    --info: #00ccff;
    --scrollbar: #ff00ff;
    --glow: 0 0 15px #ff00ff, 0 0 30px #00ffff;
    --scanline: rgba(255, 0, 255, 0.02);
}

/* ========================================
   THEME 4: Star Trek LCARS
   ======================================== */
.theme-lcars {
    --bg-primary: #000000;
    --bg-secondary: #111122;
    --bg-header: #000011;
    --text-primary: #ff9900;
    --text-secondary: #cc99ff;
    --text-dim: #666688;
    --border-color: #ff9900;
    --accent: #cc99ff;
    --critical: #ff3333;
    --high: #ff9900;
    --medium: #99ccff;
    --low: #cc99ff;
    --info: #9999ff;
    --scrollbar: #ff9900;
    --glow: 0 0 8px #ff9900;
    --scanline: none;
}

/* ========================================
   THEME 5: HAL 9000
   ======================================== */
.theme-hal {
    --bg-primary: #0a0000;
    --bg-secondary: #140808;
    --bg-header: #0f0505;
    --text-primary: #ff0000;
    --text-secondary: #cc3333;
    --text-dim: #661111;
    --border-color: #880000;
    --accent: #ff0000;
    --critical: #ff0000;
    --high: #ff3300;
    --medium: #ff6600;
    --low: #ffcc00;
    --info: #ff3333;
    --scrollbar: #ff0000;
    --glow: 0 0 20px #ff0000, 0 0 40px #ff0000;
    --scanline: rgba(255, 0, 0, 0.02);
}

/* ========================================
   THEME 6: The Matrix (Digital Rain)
   ======================================== */
.theme-matrix {
    --bg-primary: #000000;
    --bg-secondary: #001100;
    --bg-header: #000800;
    --text-primary: #00ff41;
    --text-secondary: #008f11;
    --text-dim: #003b00;
    --border-color: #00ff41;
    --accent: #00ff41;
    --critical: #ff0000;
    --high: #ffff00;
    --medium: #00ff41;
    --low: #008f11;
    --info: #00ff41;
    --scrollbar: #00ff41;
    --glow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 40px #00ff41;
    --scanline: rgba(0, 255, 65, 0.02);
}

/* ========================================
   THEME 7: Fallout Pip-Boy
   ======================================== */
.theme-pipboy {
    --bg-primary: #0a1a0a;
    --bg-secondary: #0d2a0d;
    --bg-header: #051505;
    --text-primary: #14fe17;
    --text-secondary: #0fbb0f;
    --text-dim: #0a660a;
    --border-color: #14fe17;
    --accent: #14fe17;
    --critical: #ff3300;
    --high: #ffcc00;
    --medium: #14fe17;
    --low: #0fbb0f;
    --info: #14fe17;
    --scrollbar: #14fe17;
    --glow: 0 0 8px #14fe17, 0 0 16px #14fe17;
    --scanline: rgba(20, 254, 23, 0.04);
}

/* ========================================
   THEME 8: Commodore 64
   ======================================== */
.theme-c64 {
    --bg-primary: #40318d;
    --bg-secondary: #514a9e;
    --bg-header: #352b7e;
    --text-primary: #a0a0ff;
    --text-secondary: #7878e0;
    --text-dim: #5858aa;
    --border-color: #a0a0ff;
    --accent: #a0a0ff;
    --critical: #ff5555;
    --high: #ffaa55;
    --medium: #ffff55;
    --low: #55ffff;
    --info: #a0a0ff;
    --scrollbar: #a0a0ff;
    --glow: 0 0 5px #a0a0ff;
    --scanline: rgba(160, 160, 255, 0.03);
}

/* ========================================
   THEME 9: Half-Life HEV Suit
   ======================================== */
.theme-halflife {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-header: #0a0a0a;
    --text-primary: #ff8800;
    --text-secondary: #cc6600;
    --text-dim: #664400;
    --border-color: #ff8800;
    --accent: #ff8800;
    --critical: #ff0000;
    --high: #ff4400;
    --medium: #ffaa00;
    --low: #88cc00;
    --info: #ff8800;
    --scrollbar: #ff8800;
    --glow: 0 0 10px #ff8800, 0 0 20px #ff4400;
    --scanline: rgba(255, 136, 0, 0.02);
}

/* ========================================
   Base Reset & Layout
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Consolas', 'Courier New', 'Monaco', monospace;
    font-size: 15px;
    line-height: 1.5;
    background-image: repeating-linear-gradient(
        0deg,
        var(--scanline),
        var(--scanline) 1px,
        transparent 1px,
        transparent 3px
    );
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
    background-color: var(--bg-header);
    border-bottom: 2px solid var(--border-color);
    padding: 12px 16px;
    box-shadow: var(--glow);
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.title-bar h1 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: var(--glow);
    color: var(--text-primary);
}

.header-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.control-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 12px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.theme-select:hover {
    box-shadow: var(--glow);
}

.theme-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
}

.status-indicator {
    padding: 2px 8px;
    border-radius: 3px;
}

.status-indicator.connected {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.status-indicator.disconnected {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}

.status-indicator.error {
    color: #ff6600;
    text-shadow: 0 0 5px #ff6600;
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    display: flex;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 16px;
    padding: 16px;
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
    width: 260px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.sidebar-section {
    margin-bottom: 16px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    width: 24px;
    height: 24px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: var(--glow);
}

.source-list, .category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
}

.source-item, .category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.source-item:hover, .category-item:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.source-item .source-name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-item .color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.category-item {
    padding-left: 8px;
    border-left: 4px solid var(--accent);
}

.category-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.category-item.inactive {
    opacity: 0.4;
    border-left-color: var(--text-dim);
}

.category-item input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.delete-btn {
    background: transparent;
    border: none;
    color: var(--critical);
    font-size: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 2px 6px;
}

.delete-btn:hover {
    opacity: 1;
}

.sidebar-spacer {
    flex: 1;
    min-height: 20px;
}

.commands {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cmd-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s;
    text-align: left;
}

.cmd-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--glow);
}

/* ========================================
   Feed Container
   ======================================== */
.feed-container {
    flex: 1;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feed {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.welcome-message {
    color: var(--text-dim);
    text-align: center;
    padding: 40px;
}

.welcome-message pre {
    font-size: 14px;
    color: var(--text-secondary);
    text-shadow: var(--glow);
}

.no-articles {
    color: var(--text-dim);
    text-align: center;
    padding: 40px;
    font-size: 16px;
}

/* ========================================
   Article Cards
   ======================================== */
.article {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 14px;
    transition: all 0.2s;
}

.article:hover {
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.article-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.article .source {
    font-weight: bold;
    font-size: 14px;
}

.article .category {
    background: var(--bg-secondary);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    color: var(--text-secondary);
}

.article .severity {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.severity-critical { background: var(--critical); color: #000; }
.severity-high { background: var(--high); color: #000; }
.severity-medium { background: var(--medium); color: #000; }
.severity-low { background: var(--low); color: #000; }
.severity-info { background: var(--info); color: #000; }

.article-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-summary {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    max-height: 80px;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.article-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

.article-link:hover {
    text-shadow: var(--glow);
    text-decoration: underline;
}

.timestamp {
    color: var(--text-dim);
    font-size: 12px;
}

/* ========================================
   Modal Dialogs
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--glow);
}

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

.modal-header h3 {
    font-size: 18px;
    color: var(--text-primary);
    text-shadow: var(--glow);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: var(--critical);
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-body label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: bold;
}

.modal-body input[type="text"],
.modal-body select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px;
    font-family: inherit;
    font-size: 15px;
    border-radius: 4px;
}

.modal-body input[type="text"]:focus,
.modal-body select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.modal-body input[type="color"] {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    background: var(--bg-primary);
}

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

.modal-btn {
    padding: 10px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn.cancel {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.modal-btn.cancel:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.modal-btn.confirm {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--bg-primary);
}

.modal-btn.confirm:hover {
    box-shadow: var(--glow);
}

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* ========================================
   LCARS Theme Special Styling
   ======================================== */
.theme-lcars .sidebar {
    border-radius: 0 20px 20px 0;
    border-left: 8px solid #ff9900;
}

.theme-lcars .feed-container {
    border-radius: 20px 0 0 20px;
    border-right: 8px solid #cc99ff;
}

.theme-lcars .article {
    border-radius: 0 15px 15px 0;
    border-left: 6px solid #ff9900;
}

.theme-lcars .modal-content {
    border-radius: 0 25px 25px 0;
    border-left: 10px solid #ff9900;
}

.theme-lcars .cmd-btn {
    border-radius: 0 10px 10px 0;
}

/* ========================================
   HAL Theme Special Styling
   ======================================== */
.theme-hal .header {
    background: radial-gradient(ellipse at center, #200000 0%, #0a0000 100%);
}

.theme-hal .title-bar h1 {
    animation: hal-pulse 3s ease-in-out infinite;
}

@keyframes hal-pulse {
    0%, 100% { text-shadow: 0 0 10px #ff0000; }
    50% { text-shadow: 0 0 30px #ff0000, 0 0 60px #ff0000; }
}

/* ========================================
   Neon Theme Special Styling
   ======================================== */
.theme-neon .article {
    border-image: linear-gradient(45deg, #ff00ff, #00ffff) 1;
}

.theme-neon .title-bar h1 {
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: neon-shift 3s linear infinite;
}

@keyframes neon-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ========================================
   Matrix Theme - Digital Rain Effect
   ======================================== */
.theme-matrix {
    position: relative;
}

.theme-matrix::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 2px,
            rgba(0, 255, 65, 0.03) 4px
        );
    z-index: 9999;
    animation: matrix-flicker 0.15s infinite;
}

.theme-matrix .container {
    position: relative;
}

.theme-matrix .title-bar h1 {
    font-family: 'Courier New', monospace;
    letter-spacing: 4px;
    animation: matrix-glow 2s ease-in-out infinite;
}

@keyframes matrix-glow {
    0%, 100% { text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41; }
    50% { text-shadow: 0 0 20px #00ff41, 0 0 40px #00ff41, 0 0 60px #00ff41; }
}

@keyframes matrix-flicker {
    0% { opacity: 0.97; }
    50% { opacity: 1; }
    100% { opacity: 0.98; }
}

/* Matrix rain canvas will be added by JS */
#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
}

/* ========================================
   Pip-Boy Theme Special Styling
   ======================================== */
.theme-pipboy {
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(20, 254, 23, 0.03),
            rgba(20, 254, 23, 0.03) 1px,
            transparent 1px,
            transparent 3px
        ),
        radial-gradient(ellipse at center, #0a1a0a 0%, #000000 100%);
}

.theme-pipboy .header {
    border-bottom: 3px solid #14fe17;
}

.theme-pipboy .title-bar h1 {
    font-weight: normal;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.theme-pipboy .article {
    border-radius: 0;
    border: 1px solid #14fe17;
    background: rgba(10, 26, 10, 0.9);
}

/* ========================================
   C64 Theme Special Styling
   ======================================== */
.theme-c64 .title-bar h1 {
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.theme-c64 .article {
    border: 2px solid #a0a0ff;
    border-radius: 0;
}

.theme-c64 .header {
    border-bottom: 4px solid #a0a0ff;
}

.theme-c64::after {
    content: "*** READY. ***";
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #a0a0ff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    animation: c64-blink 1s step-end infinite;
    pointer-events: none;
    z-index: 9999;
}

@keyframes c64-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   Half-Life Theme Special Styling
   ======================================== */
.theme-halflife .header {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-bottom: 3px solid #ff8800;
}

.theme-halflife .title-bar h1 {
    font-weight: bold;
    letter-spacing: 2px;
}

.theme-halflife .title-bar h1::before {
    content: "λ ";
    color: #ff8800;
}

.theme-halflife .sidebar {
    border-left: 4px solid #ff8800;
}

.theme-halflife .article {
    border-left: 4px solid #ff8800;
    border-radius: 0;
}

.theme-halflife .status-indicator.connected::before {
    content: "HEV: ";
}

/* ========================================
   IRC Classic Layout
   ======================================== */
.layout-irc .feed-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
}

.layout-irc .article-card {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    padding: 4px 8px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 14px;
    line-height: 1.4;
}

.layout-irc .article-card:hover {
    background: var(--card-bg);
    transform: none;
    box-shadow: none;
}

.layout-irc .article-timestamp {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    min-width: 60px;
}

.layout-irc .article-source {
    color: var(--accent);
    font-weight: bold;
    white-space: nowrap;
    min-width: 120px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layout-irc .article-source::before {
    content: "<";
}

.layout-irc .article-source::after {
    content: ">";
}

.layout-irc .article-title {
    color: var(--text);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layout-irc .article-title a {
    color: var(--text);
    text-decoration: none;
}

.layout-irc .article-title a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.layout-irc .article-category {
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

/* IRC Layout - Hide card elements that don't fit the style */
.layout-irc .article-description,
.layout-irc .article-metadata,
.layout-irc .article-image {
    display: none;
}

/* IRC Join/Part style messages */
.layout-irc .irc-system-msg {
    color: var(--muted);
    font-style: italic;
    padding: 4px 8px;
}

.layout-irc .irc-system-msg::before {
    content: "*** ";
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        max-height: 200px;
    }
    
    body {
        font-size: 14px;
    }
    
    .layout-irc .article-source {
        min-width: 80px;
        max-width: 100px;
    }
}
