/* thinking time on the pittsburgh table (pittsburgh-clock.mjs), in birmingham's look (../time-control.css): a small ring on each
   turn-order card that empties clockwise as the time goes, the figures beside it, red in the last 30 s, a red flash when the
   time is up, 代走 while the bot plays. the ring sits on the page's cards, so it takes the card's text colour, not the map's ivory */
.player-heading .seat-clock{display:inline-flex;align-items:center;gap:4px;margin-left:auto;margin-right:6px;font-size:.78rem;line-height:1;font-variant-numeric:tabular-nums;color:var(--text-2);white-space:nowrap}
.seat-clock>i{position:relative;width:13px;height:13px;border-radius:50%;flex:none;background:conic-gradient(color-mix(in srgb,var(--text) 18%,transparent) 0 calc((1 - var(--clock,1))*360deg),var(--clock-color,var(--gold)) 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),black calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),black calc(100% - 2.5px))}
.seat-clock[data-clock="idle"]>i{opacity:.5}
.seat-clock[data-clock="running"]{color:var(--text)}
.seat-clock[data-clock-low]{--clock-color:var(--clock-alert);color:var(--clock-alert)}
.seat-clock[data-clock-over]{--clock-color:var(--clock-alert);color:var(--clock-alert)}
.seat-clock[data-clock-over]>i{--clock:1;animation:clock-flash .45s ease-in-out 6 alternate}
.seat-clock[data-clock-over="takeover"]>i{animation:none}
.current-actor .clock-line{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
.current-actor .clock-line.over{color:var(--clock-alert)}
@media (prefers-reduced-motion:reduce){.seat-clock[data-clock-over]>i{animation:none}}
.era-progress-actor .clock-line{margin-left:.6em;font-size:.82em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text-2)}
.era-progress-actor .clock-line.over{color:var(--clock-alert)}
