:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-muted: #444444; 
    --accent-color: #ffffff; 
}

body {
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.canvas {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.meta-header {
    position: absolute;
    top: 50px;
    left: 50px;
    display: flex;
    gap: 40px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

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

.label {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.value {
    font-size: 14px;
    font-weight: 500;
}

.progress-track {
    width: 150px;
    height: 2px;
    background: #222;
    margin-top: 5px;
}

.progress-fill {
    height: 100%;
    background: var(--text-primary);
    width: 0%;
    transition: background 0.3s ease;
}

.core-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    text-align: center;
    width: 100%;
}

#time-display {
    font-family: 'Playfair Display', serif;
    font-size: 160px;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    letter-spacing: -4px;
}

.command-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.prompt-arrow {
    color: var(--accent-color);
    font-size: 19px;
    transition: color 0.3s ease;
}

#cmd-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 19px;
    outline: none;
    width: 350px;
    text-align: left;
    font-weight: 300;
}

#cmd-input::placeholder { 
    color: var(--text-muted); 
    transition: opacity 0.5s ease; 
}

#cmd-input.hide-placeholder::placeholder {
    opacity: 0;
}

#output-area {
    margin-top: 20px;
    min-height: 40px;
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.minimal-links {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 20px;
}

.minimal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.minimal-links a:hover { 
    color: var(--accent-color); 
}

body.theme-light {
    --bg-color: #f4f4f0;
    --text-primary: #111111;
    --text-muted: #888888;
    --accent-color: #111111;
}

body.theme-light .progress-track { background: #d0d0d0; }
body.theme-light #cmd-input::placeholder { color: #bbbbbb; }

.meta-header {
    opacity: 1;
    transition: opacity 0.5s ease; 
}

.system-branding {
    position: absolute;
    bottom: 50px;
    left: 50px;
    opacity: 0.15;
    transition: opacity 0.4s ease; 
    text-decoration: none;
    color: inherit;
}

.minimal-links {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 20px;
    opacity: 0.75; 
    transition: opacity 0.4s ease; 
}

.system-branding:hover, 
.minimal-links:hover {
    opacity: 1; 
}

body.focus-mode .meta-header,
body.focus-mode .system-branding,
body.focus-mode .minimal-links {
    opacity: 0 !important;
    pointer-events: none; 
}