:root {
    --bg-color: #050505;
    --text-color: #00ff41;
    --accent-color: #ff007f;
    --dim-color: #008f11;
    --glow-spread: 5px;
}

/* Динамические темы (Настроение Лэйн) */
body.mood-melancholy {
    --text-color: #64b5f6;
    --accent-color: #90caf9;
    --dim-color: #1e88e5;
}
body.mood-void {
    --text-color: #e0e0e0;
    --accent-color: #ffffff;
    --dim-color: #757575;
}
body.mood-chaos {
    --text-color: #ffb74d;
    --accent-color: #ff5722;
    --dim-color: #e65100;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ЭЛТ Эффекты */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.15));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9998;
}

.vignette {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 9999;
}

.terminal {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 var(--glow-spread) var(--dim-color);
}

header {
    border-bottom: 1px dashed var(--dim-color);
    padding-bottom: 15px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-width: center;
    flex-wrap: wrap;
    gap: 15px;
}

h1 {
    font-size: 1.6rem;
    font-weight: normal;
}

.blink {
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.sys-menu a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 10px;
}

.sys-menu a:hover, .sys-menu a.active {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

/* Блок записи */
.entry {
    border-left: 2px solid var(--dim-color);
    padding-left: 20px;
    margin-bottom: 50px;
    position: relative;
}

.entry::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--bg-color);
    border: 2px solid var(--dim-color);
}

.entry .meta {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.content {
    text-align: justify;
    word-break: break-word;
}

.sys-msg { color: var(--accent-color); }

footer {
    margin-top: 60px;
    border-top: 1px dashed var(--dim-color);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--dim-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Моб. адаптация */
@media (max-width: 600px) {
    .terminal { padding: 30px 15px; }
    h1 { font-size: 1.3rem; }
    .entry { padding-left: 15px; margin-bottom: 40px; }
    .entry .meta { flex-direction: column; gap: 5px; }
    .hide-mobile { display: none; }
}
