:root {
    color-scheme: dark light;
    --bg-base: #0b1116;
    --bg-sheen: #16242e;
    --bg-glow: #284044;
}
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    padding: 24px;
    line-height: 1.4;
    max-width: 920px;
    margin-inline: auto;
    color: #eef3f2;
    background-color: var(--bg-base);
    background-image:
        radial-gradient(900px 420px at 15% -10%, rgba(78, 128, 98, 0.35), transparent 70%),
        radial-gradient(700px 380px at 85% 0%, rgba(82, 98, 145, 0.28), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.06)),
        linear-gradient(120deg, var(--bg-base), var(--bg-sheen));
    background-attachment: fixed;
    background-repeat: no-repeat;
}
header { margin-bottom: 16px; }
.page-title { margin: 0 0 6px 0; }
.meta { opacity: 0.8; font-size: 0.95rem; }
.card {
    border: 1px solid rgba(127,127,127,0.35);
    border-radius: 12px;
    padding: 16px;
    background: rgba(7, 11, 13, 0.45);
    backdrop-filter: blur(6px);
}
.title { font-size: 1.2rem; margin: 0 0 8px 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.title-row {
    justify-content: center;
    text-align: center;
}
#trackTitleInline {
    width: 100%;
    text-align: center;
}
.nav-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}
.nav-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.95;
}
.nav-date::before {
    content: "";
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}
.nav-today {
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.nav-button {
    border: 1px solid rgba(127,127,127,0.35);
    background: rgba(10, 18, 22, 0.6);
    color: inherit;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
}
.nav-button:hover {
    border-color: rgba(216, 240, 255, 0.5);
}
.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
a { color: #d8f0ff; }
.meta a { color: inherit; }
.iframe-wrap {
    margin-top: 12px;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: rgba(127,127,127,0.15);
    border-radius: 12px;
    overflow: hidden;
}
iframe { width: 100%; height: 100%; border: 0; }
.embed-note { margin: 12px 0 0 0; }
.notice { margin: 0 0 8px 0; }
.error { color: #b00020; }
.archives {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(127,127,127,0.25);
}
.archives h2 { margin: 0 0 8px 0; font-size: 1.05rem; }
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.archive-link {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(127,127,127,0.2);
    background: rgba(10, 18, 22, 0.4);
}
.archive-link:hover { border-color: rgba(216, 240, 255, 0.5); }
.archive-link.is-active {
    border-color: rgba(216, 240, 255, 0.8);
    background: rgba(22, 36, 46, 0.6);
}
.archive-date {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    opacity: 0.85;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
