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

body {
    background: #0a0a0a;
    color: #c8c8c8;
    font-family: 'Space Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 60px;
    overflow: hidden;
}

#clock {
    max-width: 800px;
    width: 100%;
}

.date {
    font-size: 13px;
    color: #555;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 32px;
    min-height: 1.2em;
}

.headline {
    font-size: 22px;
    color: #e0e0e0;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    min-height: 1.5em;
}

.excerpt {
    font-size: 16px;
    color: #888;
    line-height: 1.8;
    max-width: 700px;
    min-height: 1.8em;
}

.excerpt .time-highlight {
    color: #fff;
    background: #1a3a1a;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: 700;
}

.source-line {
    margin-top: 24px;
    font-size: 11px;
    min-height: 1.2em;
    color: #444;
}

.source-line a {
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

.source-line a:hover {
    color: #666;
}

.fallback {
    font-size: 18px;
    color: #333;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.version {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 9px;
    color: #222;
    letter-spacing: 1px;
}

.cursor {
    display: inline-block;
    width: 0.5em;
    height: 1em;
    background: #555;
    vertical-align: text-bottom;
    position: relative;
    top: -5px;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

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

/* Fade transition */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}
