:root {
    --bg-color: #000000;
    --terminal-green: #20C20E;
    --alert-color: #ffff00;
    --title-orange: #ff9800;
    --text-main: #ffffff;
}

body {
    font-family: 'Liberation Mono', 'Consolas', monospace;
    background-color: var(--bg-color);
    color: var(--text-main);
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.2;
}

body p { font-size: 0.9rem; }

h1 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--terminal-green);
    padding-bottom: 10px;
    letter-spacing: 3px;
}

.prompt::after {
    content: '█';
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}
@keyframes blink {
    0%,
    100% { opacity: 1; }
    50% { opacity: 0; }
}

details {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

details[open] {
    background-color: #0d1117;
    border-color: var(--terminal-green);
}

summary {
    font-weight: bold;
    font-size: 0.9rem;
    list-style: none;
    outline: none;
}

details > summary::before {
    content: "[+] ";
    color: var(--terminal-green);
    font-weight: bold;
    margin-right: 8px;
    display: inline-block;
    min-width: 30px;
}

details[open] > summary::before {
    content: "[-] ";
    color: var(--title-orange);
}

.content {
    font-size: 0.85rem;
    padding-top: 10px;
    padding-left: 35px;
    padding-right: 35px;
    border-top: 1px dashed #30363d;
    margin-top: 10px;
}

.tag {
    font-size: 0.9rem;
    padding: 2px 6px;
    margin-right: 10px;
    border-radius: 2px;
    font-weight: bold;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    color: var(--bg-color);
}
.tag-irl { background-color: var(--terminal-green); }
.tag-sec { background-color: var(--title-orange); }
.tag-sup { background-color: #00bcd4; }
.tag-rant { background-color: #d400c2; }

.date {
    color: var(--title-orange);
    margin-right: 10px;
}

pre {
    background-color: #1e1e1e;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 15px;
    overflow-x: auto;
    margin: 10px 0 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

code {
    color: #d4d4d4;
    font-size: 0.8rem;
}

code .comment {
    color: #6a9955;
    font-style: italic;
}

code .key {
    color: #569cd6;
    font-weight: bold;
}

code .value {
    color: #ce9178;
}

.content p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.content ul,
.content li {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.content li {
    margin-left: 20px;
}

.footer {
    font-size: 0.85rem;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    text-decoration: none;
    color: #666;
    flex-grow: 0;
    margin-right: 0;
    width: auto;
}
.footer a:hover { color: var(--terminal-green); }

.footer span {
    text-align: right;
    color: #666;
}