/* Countdown — tool-specific styles (shared primitives in ../xct.css) */
.xcd .xcd-picker { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--xct-line); }
.xcd .xcd-labelf { flex: 2 1 200px; }
.xcd .xcd-quick { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.xcd .xcd-head { text-align: center; font-size: clamp(1.125rem, 3.2vw, 1.375rem); font-weight: 600; margin: 2px 0 16px; }
.xcd .xcd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 2vw, 14px); max-width: 640px; margin: 0 auto; }
.xcd .xcd-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	padding: clamp(12px, 3vw, 22px) 4px; border-radius: 12px; background: var(--xct-soft); min-width: 0;
}
.xcd .xcd-num {
	font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
	font-size: clamp(1.75rem, 8vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -.02em;
}
.xcd .xcd-tile:first-child { background: var(--xct-grad); color: #fff; }
.xcd .xcd-unit { font-size: clamp(.6875rem, 2.4vw, .8125rem); text-transform: uppercase; letter-spacing: .06em; color: var(--xct-muted); }
.xcd .xcd-tile:first-child .xcd-unit { color: rgba(255,255,255,.85); }
.xcd .xcd-when { margin-top: 14px; }
.xcd .xcd-out { text-align: center; line-height: 1.6; }
.xcd .xcd-out strong { font-size: 1.0625rem; }
.xcd[data-mode="past"] .xcd-tile:first-child { background: var(--xct-ink); }
.xcd[data-mode="today"] .xcd-head { font-size: clamp(1.5rem, 5vw, 2.25rem); background: var(--xct-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xcd[data-mode="empty"] .xcd-tiles { opacity: .45; }
