/* Online Timer — tool-specific styles (shared primitives in ../xct.css) */
.xtm .xtm-display { font-size: clamp(3.2rem, 16vw, 7rem); padding-top: 6px; }
.xtm .xtm-bar { height: 6px; border-radius: 999px; background: var(--xct-soft); overflow: hidden; margin: 6px auto 10px; max-width: 520px; }
.xtm .xtm-bar-fill { height: 100%; background: var(--xct-grad); transform-origin: left center; transition: transform .2s linear; }
.xtm .xtm-status { min-height: 1.4em; }
.xtm .xtm-setup { margin-top: 18px; }
.xtm .xtm-inputs { flex-wrap: nowrap; }
.xtm .xtm-field { flex: 1 1 0; }
.xtm .xtm-num { text-align: center; font-variant-numeric: tabular-nums; font-size: 1.125rem; }
.xtm .xtm-chips { margin-top: 12px; }
.xtm .xtm-btns { justify-content: center; }
.xtm .xtm-btns .xct-btn { min-width: 120px; }
.xtm .xtm-sound { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .875rem; color: var(--xct-muted); cursor: pointer; }
.xtm .xtm-sound input { width: 18px; height: 18px; accent-color: var(--xct-accent); margin: 0; }
.xtm[data-state="running"] .xtm-setup, .xtm[data-state="paused"] .xtm-setup { opacity: .55; }
.xtm[data-state="paused"] .xtm-display { opacity: .6; }
.xtm[data-state="done"] .xtm-display { color: var(--xct-danger); animation: xtm-blink 1s steps(2, start) infinite; }
.xtm[data-state="done"] .xtm-status { color: var(--xct-danger); font-weight: 600; font-size: 1rem; }
@keyframes xtm-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .xtm[data-state="done"] .xtm-display { animation: none; } }
/* Full screen: just the clock and controls, centered and huge */
.xtm.is-fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; border: 0; width: 100%; height: 100%; }
.xtm.is-fullscreen .xtm-display { font-size: min(24vw, 40vh); }
.xtm.is-fullscreen .xtm-bar { width: 70%; max-width: none; }
.xtm.is-fullscreen .xtm-setup, .xtm.is-fullscreen .xtm-sound { display: none; }
.xtm:fullscreen { background: #fff; }
@media (max-width: 520px) {
	.xtm .xtm-btns .xct-btn { min-width: 0; flex: 1 1 0; padding: 0 10px; white-space: nowrap; }
	.xtm .xtm-chips { justify-content: center; }
	.xtm .xtm-chip, .xtm .xct-chip { padding: 0 12px; }
}
