/* clock.css — стили модуля часов внутри .mb-clock (зона B). */
.mb-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.clk-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.clk-zone.clk-flip { transform: scaleX(-1); }

#clk-digital {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 4vw;
  width: 100%;
}
.clk-time {
  font-size: clamp(115px, 21vw, 280px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.02em;
  text-align: center;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
/* в альбоме часы крупнее не нужны — ограничиваем (на ~15% крупнее базы) */
@media (orientation: landscape) {
  .clk-time { font-size: clamp(92px, 14vw, 172px); }
}
.clk-ampm {
  font-size: .35em;
  font-weight: 700;
  margin-left: .25em;
  opacity: .8;
}
.clk-dateline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  margin-top: .3em;
  font-size: clamp(14px, 2.4vw, 26px);
  font-weight: 500;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}
.clk-sec2 {
  font-variant-numeric: tabular-nums;
  opacity: .7;
}
#clk-analog {
  display: none;
  width: min(70vh, 46vw);
  height: min(70vh, 46vw);
  max-width: 90%;
  max-height: 90%;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}
/* чёткая тень на самих стрелках/цифрах внутри SVG (как text-shadow у цифровых) */
#clk-analog line, #clk-analog circle, #clk-analog path {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6));
}
body.portrait #clk-analog {
  width: min(36vh, 76vw);
  height: min(36vh, 76vw);
  max-width: 90%;
  max-height: 90%;
}
