*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #fafafa;--text: #999;--text-muted: #bbb;--dot-future: #ddd;--dot-passed: #222;--line: #222}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #111;--text: #666;--text-muted: #444;--dot-future: #333;--dot-passed: #e0e0e0;--line: #e0e0e0}}:root[data-theme=dark]{--bg: #111;--text: #666;--text-muted: #444;--dot-future: #333;--dot-passed: #e0e0e0;--line: #e0e0e0}html,body{overflow-x:hidden}body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:40px 20px;transition:background .3s ease}.container{width:100%}.header{position:fixed;top:40px;left:50%;transform:translate(-50%);z-index:100}.mode-switcher{display:flex;align-items:center;gap:24px}.mode-btn{background:none;border:none;font-size:11px;color:var(--text-muted);cursor:pointer;padding:0;text-transform:uppercase;letter-spacing:.5px;transition:all .2s ease}.mode-btn:hover,.mode-btn.active{color:var(--dot-passed)}.theme-toggle .icon-sun,.theme-toggle .icon-moon{display:block}.theme-toggle .icon-moon{display:none}:root[data-theme=dark] .theme-toggle .icon-sun{display:none}:root[data-theme=dark] .theme-toggle .icon-moon{display:block}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .theme-toggle .icon-sun{display:none}:root:not([data-theme=light]) .theme-toggle .icon-moon{display:block}}.calendar-wrapper{margin-top:100px;display:flex;justify-content:center;align-items:center;height:352px}@media (max-width: 700px){.header{top:20px}.calendar-wrapper{margin-top:80px;transform:scale(.85);transform-origin:top center;height:300px}.mode-switcher{gap:16px}.mode-btn{font-size:10px;padding:8px 4px}.progress{font-size:11px}.tooltip{display:none}}@media (max-width: 500px){.calendar-wrapper{transform:scale(.6);height:220px}.row-label{font-size:9px;width:28px}.row-label.wide{width:36px}}#calendar{transition:opacity .2s ease,transform .2s ease}#calendar.mode-year .row{margin-bottom:12px}#calendar.mode-decade .row,#calendar.mode-century .row{margin-bottom:19px}#calendar .row:last-child{margin-bottom:0}#calendar.fade-out{opacity:0;transform:scale(.98)}.row{display:flex;align-items:center;gap:8px}.row-label{width:36px;font-size:11px;color:var(--dot-passed);text-transform:uppercase;letter-spacing:.5px;text-align:right;flex-shrink:0}.row-label.wide{width:48px}.items-container{display:flex;align-items:center;position:relative;height:18px;width:558px}.item{flex:1;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}.connection-line{position:absolute;height:2px;background:var(--line);top:50%;transform:translateY(-50%);left:0;border-radius:1px;transform-origin:left center;scale:0 1}.connection-line.animate{animation:line-grow var(--line-duration, .8s) ease-out forwards;animation-delay:var(--line-delay, 0s)}@keyframes line-grow{to{scale:1 1}}.item-dot{border-radius:50%;background:var(--dot-future);transition:all .3s ease}.item-dot.future{width:4px;height:4px;background:var(--dot-future)}.item-dot.passed{width:8px;height:8px;background:var(--dot-passed);scale:0}.item-dot.passed.animate{animation:dot-appear .15s ease-out forwards}.item-dot.current{width:12px;height:12px;background:var(--dot-passed);scale:0}.item-dot.current.animate{animation:dot-appear .15s ease-out forwards,pulse 2s ease-in-out .15s infinite}@keyframes dot-appear{to{scale:1}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.4)}}.progress{margin-top:50px;text-align:center;font-size:13px;color:var(--text);letter-spacing:.3px}.tooltip{position:fixed;background:var(--dot-passed);color:var(--bg);padding:6px 10px;border-radius:4px;font-size:11px;pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:1000;white-space:nowrap}.tooltip.visible{opacity:1}.tooltip-date{font-weight:500}.tooltip-status{opacity:.7;margin-top:2px;font-size:10px}.item:hover .item-dot{transform:scale(1.3)}.item .item-dot{transition:all .15s ease}
