/* Market strip + header clocks — black / crimson / grey only */
.market-strip{background:#000;color:#FAFAFA;border-bottom:1px solid #2A2A2A;font-family:"IBM Plex Mono",ui-monospace,monospace;padding:0 3.2%;font-size:10px}
.market-top{display:flex;align-items:center;gap:12px;min-height:22px;border-top:1px solid #2A2A2A}
.market-clocks{display:flex;justify-content:space-between;gap:12px;flex:1;padding:4px 0}
.market-clock{display:flex;gap:4px;white-space:nowrap}
.market-clock abbr{color:#BEBEBE;text-decoration:none;font-size:10px}
.market-clock time{font-variant-numeric:tabular-nums;font-size:10px}
.market-pause{flex:0 0 24px;min-height:24px;padding:0;color:#BEBEBE;background:none;border:0;cursor:pointer;font-size:11px}
.market-row{display:flex;align-items:center;height:18px;border-top:1px solid #2A2A2A;gap:8px}
.market-label{flex:0 0 64px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#BEBEBE}
.market-window{min-width:0;flex:1;overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 8px,#000 calc(100% - 8px),transparent)}
.market-track{display:flex;width:max-content;animation:market-scroll var(--ticker-duration,30s) linear infinite;will-change:transform}
.market-group{display:flex;flex:none;width:max-content;align-items:center}
.market-price{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap;padding:0 12px 0 0;font-size:10px;line-height:16px}
.market-price:before{content:"·";color:#5E5E5E;margin-right:2px}
.market-price>span{color:#BEBEBE}
.market-price strong{font-size:10px;font-weight:500;font-variant-numeric:tabular-nums;color:#FAFAFA}
.market-price.up strong{color:#22c55e}
.market-price.down strong{color:#ef4444}
.market-window:hover .market-track,.market-window:focus-within .market-track,.market-paused .market-track{animation-play-state:paused}
.market-strip :focus-visible{outline:2px solid #B4001E;outline-offset:-2px}
@keyframes market-scroll{to{transform:translateX(-50%)}}
@media(max-width:700px){
  .market-clocks{gap:6px 12px;display:grid;grid-template-columns:repeat(4,1fr)}
  .market-clock{justify-content:space-between;gap:4px}
  .market-clock abbr{font-size:9px}
  .market-top{gap:8px}
  .market-row{gap:6px;height:17px}
  .market-label{flex-basis:52px;font-size:9px}
  .market-strip{padding:0 14px}
  .market-price,.market-price strong{font-size:9px}
  .market-price{gap:4px;padding-right:10px}
}
@media(prefers-reduced-motion:reduce){
  .market-track{animation:none;transform:none;will-change:auto}
  .market-window{overflow-x:auto;scrollbar-width:none}
  .market-clone,.market-repeat,.market-pause{display:none}
}

/* Header digital clocks */
.site-header:has(.market-clocks){height:auto;flex-wrap:wrap;padding-top:8px;padding-bottom:6px;row-gap:4px}
.site-header .market-clocks{order:3;flex-basis:100%;display:flex;justify-content:center;align-items:flex-end;margin:0;gap:10px;padding:4px 0 0;border-top:1px solid #2A2A2A;font-family:"IBM Plex Mono",ui-monospace,monospace;min-height:0}
.site-header:has(.market-clocks) .enquire{margin-left:auto}
.site-header:has(.market-clocks) nav{min-height:36px}
.site-header .market-clock{display:flex;flex-direction:column;align-items:center;gap:2px;width:42px}
.site-header .market-clock time{display:block;width:48px;height:13px}
.market-clock svg{width:100%;height:100%;display:block}
.site-header .clock-city{display:flex;align-items:center;justify-content:center;gap:3px;color:#BEBEBE;font-size:10px;font-weight:400;letter-spacing:.06em;line-height:1.2;white-space:nowrap}
.clock-period{display:inline-block;font-size:15px;line-height:1;letter-spacing:0;color:#BEBEBE}
.market-clock[data-period="day"] .clock-period{color:#F5C518}
.clock-reading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Digimatrix + any leftover dial marks — no blue */
.dot-on{fill:#FAFAFA}.dot-off{fill:#2A2A2A}
.clock-face{fill:#000;stroke:#5E5E5E;stroke-width:.8}
.clock-marks{stroke:#BEBEBE;stroke-width:.7}
.clock-hour{stroke:#FAFAFA;stroke-width:1.8;stroke-linecap:round}
.clock-minute{stroke:#FAFAFA;stroke-width:1.1;stroke-linecap:round}
.clock-pin{fill:#B4001E}
.clock-sun{fill:#B4001E;stroke:#B4001E;stroke-width:.8}
.clock-moon{fill:#BEBEBE}
.market-clock[data-period="night"] .clock-sun,.market-clock[data-period="day"] .clock-moon{display:none}
.market-clock[data-period="day"] .clock-face{fill:#1A1A1A;stroke:#5E5E5E}
.market-clock[data-period="day"] .clock-marks{stroke:#BEBEBE}
.market-clock[data-period="day"] .clock-hour,.market-clock[data-period="day"] .clock-minute{stroke:#FAFAFA}

.market-strip{position:relative;padding-right:calc(3.2% + 28px)}
.market-strip>.market-pause{position:absolute;top:0;right:3.2%;width:22px;min-height:22px;font-size:10px}
.market-rows{min-height:0}

@media(max-width:1000px){
  .site-header .market-clocks{display:grid;grid-template-columns:repeat(4,42px);justify-content:center;gap:8px 14px}
}
@media(max-width:700px){
  .site-header:has(.market-clocks){padding-top:10px;padding-bottom:8px;row-gap:0}
  .site-header .market-clocks{grid-template-columns:repeat(4,38px);gap:6px 8px;padding-top:6px}
  .site-header .market-clock{width:38px}
  .site-header .market-clock time{width:40px;height:11px}
  .site-header .clock-city{font-size:9px}
  .clock-period{font-size:14px}
  .market-strip{padding-right:40px}
  .market-strip>.market-pause{right:12px}
}
@media(max-width:600px){
  .site-header .market-clocks{grid-template-columns:repeat(4,36px);gap:6px}
  .site-header .market-clock{width:36px}
  .site-header .market-clock time{width:36px;height:10px}
  .site-header .clock-city{font-size:9px}
}

/* Even clock grid: equal columns, centred digimatrix */
.site-header .market-clocks{display:flex;justify-content:center;align-items:flex-start;gap:0;flex-wrap:nowrap}
.site-header .market-clock{flex:0 0 88px;width:88px;max-width:88px;box-sizing:border-box;padding:0 4px;gap:4px;align-items:center}
.site-header .market-clock time{width:48px;height:13px;margin:0 auto;display:block}
.site-header .clock-city{width:100%;justify-content:center;text-align:center;font-size:10px;line-height:1.15;min-height:1.15em}
.clock-period{flex:0 0 auto}
@media(max-width:1000px){.site-header .market-clocks{display:grid;grid-template-columns:repeat(4,88px);justify-content:center;gap:10px 0}.site-header .market-clock{flex:none}}
@media(max-width:700px){.site-header .market-clocks{grid-template-columns:repeat(4,72px);gap:8px 0}.site-header .market-clock{flex:none;width:72px;max-width:72px;padding:0 2px}}
@media(max-width:600px){.site-header .market-clocks{grid-template-columns:repeat(4,68px)}.site-header .market-clock{width:68px;max-width:68px}}
/* City centred under digits; day/night icon beside the clock, larger */
.site-header .market-clock{position:relative}
.site-header .clock-city{display:block}
.site-header .clock-period{position:absolute;left:calc(50% + 28px);top:50%;transform:translateY(-50%);font-size:20px;line-height:1}
@media(max-width:700px){.site-header .clock-period{left:calc(50% + 22px);top:-3px;transform:none;font-size:16px}}
@media(max-width:600px){.site-header .clock-period{left:calc(50% + 20px)}}
