/* Dev log page: only what is special to this page; the look comes from /ui/tokens.css + /ui/base.css. */
body { padding-bottom: 230px; }
.when { display: flex; gap: 12px; align-items: center; font-variant-numeric: tabular-nums; }
.live-btn, .ranges button {
    font: inherit; font-size: var(--fs-small); color: var(--text); background: var(--surface-strong);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.live-btn { color: var(--amber); border-color: var(--amber); }
.ranges button.on { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.intro { max-width: 80ch; margin: 18px 0 4px; font-size: 15px; }

.screen { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; padding: 26px 0 22px; }
.screen h1 { margin-bottom: 16px; }
.story { font-size: 20px; line-height: 1.5; color: var(--text-soft); }
.story-col .human { margin-top: 22px; }
.side-col .label { margin-bottom: 8px; }
.side-col .dots { margin-bottom: 22px; }
.stats { border-top: 1px solid var(--line); padding-top: 14px; }
.screen.fading { opacity: .45; transition: opacity .15s; }
@media (max-width: 820px) { .screen { grid-template-columns: 1fr; gap: 20px; } .story { font-size: 18px; } }

/* ---- time line ---- */
.timeline {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    background: rgba(7, 19, 31, .94); backdrop-filter: blur(6px); border-top: 1px solid var(--line);
    padding: 10px var(--side) 12px;
}
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: var(--fs-small); color: var(--text-muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.ranges { display: flex; gap: 6px; }

.k-commit { background: var(--accent-strong); }
.k-card { background: var(--green); }
.k-human { background: var(--amber); }
.k-screen { background: transparent; border: 2px solid var(--amber); border-radius: 50% !important; }

.tl-track { position: relative; height: 104px; border-bottom: 1px solid var(--line); overflow: hidden; }
.tl-days { position: absolute; inset: 0; }
.tl-days div { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(255, 255, 255, .06); }
.tl-days span { position: absolute; bottom: 2px; left: 4px; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.tl-marks { position: absolute; left: 0; right: 0; top: 0; height: 12px; }
.tl-marks b { position: absolute; top: 2px; width: 9px; height: 9px; margin-left: -4px; border: 2px solid var(--amber); border-radius: 50%; cursor: pointer; }
.tl-boxes { position: absolute; left: 0; right: 0; top: 16px; bottom: 18px; }
.tl-boxes i { position: absolute; bottom: 0; height: 6px; border-radius: 1.5px; cursor: pointer; opacity: .9; }
.tl-boxes i:hover, .tl-boxes i.near { opacity: 1; outline: 1px solid #fff; }
.tl-cursor { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--amber); pointer-events: none; box-shadow: 0 0 8px var(--amber); }

.tl-slider { width: 100%; margin: 6px 0 2px; accent-color: var(--amber); }
.tl-detail { font-size: var(--fs-small); min-height: 1.4em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-tip {
    position: fixed; z-index: 10; max-width: min(420px, 90vw); padding: 8px 10px; border-radius: var(--radius);
    background: #0f2740; border: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.35; pointer-events: none;
}
.tl-tip .label { display: block; margin-bottom: 2px; font-size: 11px; }
@media (max-width: 560px) {
    body { padding-bottom: 260px; }
    .legend { gap: 4px 12px; font-size: 12px; }
    .tl-track { height: 84px; }
    .when { font-size: 14px; }
}
