.fsl-live-desk { margin-top: 58px; }
.live-desk-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--dark); }
.live-desk-heading h2 { margin: 5px 0 0; font-size: 30px; line-height: 1; letter-spacing: -.045em; }
.live-desk-heading > p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.live-desk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.live-panel { position: relative; min-width: 0; overflow: hidden; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.live-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.live-label { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.live-status { display: flex; align-items: center; gap: 6px; color: #98d9b7; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.live-status i { width: 6px; height: 6px; border-radius: 50%; background: #41cf82; box-shadow: 0 0 0 4px rgba(65,207,130,.13); animation: live-status-pulse 2.4s ease-in-out infinite; }
.live-panel h3 { margin: 0; font-size: 23px; line-height: 1.12; letter-spacing: -.035em; }
.live-panel > p { color: var(--muted); font-family: var(--font-reading); font-size: 13px; line-height: 1.5; }
.live-panel--time { grid-column: span 7; min-height: 252px; border-color: #27323f; background: #111a24; color: #fff; }
.live-panel--time::after { content: ""; position: absolute; top: -80px; right: -50px; width: 230px; height: 230px; border: 42px solid rgba(86,210,255,.06); border-radius: 50%; pointer-events: none; }
.live-clock { position: relative; z-index: 1; font-size: clamp(48px, 6vw, 76px) !important; font-variant-numeric: tabular-nums; line-height: .9 !important; letter-spacing: -.065em !important; }
.live-timezone { position: relative; z-index: 1; margin: 12px 0 21px; color: #8f9aa5 !important; font-family: var(--font-ui) !important; font-size: 10px !important; }
.capital-clocks { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #303a45; }
.capital-clocks > div { padding: 14px 12px 0; border-left: 1px solid #303a45; }
.capital-clocks > div:first-child { padding-left: 0; border-left: 0; }
.capital-clocks span { display: block; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.capital-clocks small { display: block; margin-top: 4px; color: #78838f; font-size: 8px; text-transform: uppercase; }
.live-panel--weather { grid-column: span 5; min-height: 252px; background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface) 58%); }
.weather-glyph { color: var(--brand); font-size: 28px; line-height: .7; }
.live-panel--weather h3 { font-size: 30px; }
.weather-details { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0; }
.weather-details span { padding: 6px 8px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 750; }
.weather-button { min-height: 38px; margin-top: 8px; padding: 9px 13px; border: 0; background: var(--brand); color: #fff; font-size: 10px; font-weight: 850; cursor: pointer; }
.weather-button[disabled] { cursor: progress; opacity: .65; }
.live-attribution { position: absolute; right: 18px; bottom: 16px; color: #9da4ac; font-size: 8px; }
.live-attribution a { color: inherit; }
.live-panel--calendar, .live-panel--observance, .live-panel--history { grid-column: span 4; min-height: 275px; }
.live-panel__index { color: #d7dce1; font-size: 24px; font-weight: 850; line-height: .8; letter-spacing: -.07em; }
.mini-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mini-calendar span { display: grid; place-items: center; aspect-ratio: 1; color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.mini-calendar .calendar-day-name { aspect-ratio: auto; min-height: 20px; color: #9ba2aa; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.mini-calendar .is-today { border-radius: 50%; background: var(--brand); color: #fff; font-weight: 850; }
.mini-calendar .is-outside { opacity: .2; }
.live-panel--observance { border-top: 4px solid #217a59; }
.live-panel--history { border-top: 4px solid var(--brand); }
.live-panel--observance h3, .live-panel--history h3 { max-width: 320px; font-size: 22px; }
.history-year { margin: -4px 0 7px !important; color: var(--brand) !important; font-family: var(--font-ui) !important; font-size: 30px !important; font-weight: 850; line-height: 1 !important; letter-spacing: -.05em; }
.live-more { position: absolute; right: 22px; bottom: 20px; left: 22px; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.live-more:hover { color: var(--brand-dark); }
@keyframes live-status-pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

html[data-theme="dark"] .live-panel { background-color: var(--surface); }
html[data-theme="dark"] .live-panel--time { background: #0c131b; }
html[data-theme="dark"] .live-panel--weather { background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 13%, var(--surface)), var(--surface) 58%); }
html[data-theme="dark"] .live-panel__index { color: #333a43; }

@media (max-width: 860px) {
	.live-panel--time, .live-panel--weather { grid-column: span 6; }
	.live-panel--calendar { grid-column: span 5; }
	.live-panel--observance { grid-column: span 7; }
	.live-panel--history { grid-column: span 12; min-height: 220px; }
}

@media (max-width: 620px) {
	.fsl-live-desk { width: 100%; margin-top: 40px; }
	.live-desk-heading { align-items: start; margin-inline: 12px; }
	.live-desk-heading h2 { font-size: 26px; }
	.live-desk-heading > p { max-width: 125px; text-align: right; }
	.live-desk-grid { display: block; }
	.live-panel { min-height: 0; margin-bottom: 6px; padding: 20px; border-right: 0; border-left: 0; }
	.live-panel--time { min-height: 245px; }
	.live-clock { font-size: 52px !important; }
	.capital-clocks { display: flex; margin-right: -20px; overflow-x: auto; scrollbar-width: none; }
	.capital-clocks::-webkit-scrollbar { display: none; }
	.capital-clocks > div { flex: 0 0 80px; }
	.live-panel--weather { min-height: 240px; }
	.live-attribution { bottom: 18px; }
	.live-panel--calendar { padding-bottom: 24px; }
	.mini-calendar { max-width: 360px; margin-inline: auto; }
	.live-panel--observance, .live-panel--history { min-height: 245px; }
}

@media (prefers-reduced-motion: reduce) {
	.live-status i { animation: none; }
}
