/* The timeline, shared by both pages. See timeline.js. */
.dial{position:fixed;z-index:4;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.dial:active{cursor:grabbing}
.dial button{position:absolute;left:0;top:0;pointer-events:none}
.dial button::before,.dial .needle{content:"";position:absolute;background:#8f8f8f;transition:opacity 300ms ease}
.dial button:disabled::before{opacity:.22}
.dial .needle{z-index:1;background:var(--ink);pointer-events:none}
.dial.lost .needle{opacity:0}
.dial .when{position:absolute;left:0;top:0;z-index:2;white-space:nowrap;letter-spacing:.04em;opacity:0;pointer-events:none;transition:opacity 160ms ease}
.dial .when.on{opacity:1}
.dial .tip{color:#8f8f8f}
.dial button:focus-visible{outline:none}
.dial button:focus-visible::before{background:var(--ink)}

/* across (the archive): short upright lines, the date below the needle */
.dial.across button{width:1px;height:100%}
.dial.across button::before{left:0;top:50%;width:1px;height:10px;margin-top:-5px}
.dial.across .needle{left:0;top:50%;width:1px;height:18px;margin-top:-9px}
.dial.across .when{top:calc(50% + 22px)}

/* down (the sessions page): short flat lines ending at --end, the date to the right of the needle */
.dial.down button{height:1px;width:100%}
.dial.down button::before{top:0;left:calc(var(--end) - 10px);width:10px;height:1px}
.dial.down .needle{top:0;left:calc(var(--end) - 26px);width:26px;height:1px}
.dial.down .when{left:calc(var(--end) + 14px);margin-top:-.5em;line-height:1}
@media (prefers-reduced-motion:reduce){.dial *{transition:none!important}}
