.clock,
.cc .tm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr) 1px) minmax(0, 1fr);
  align-items: stretch;
}

.clock { width: min(100%, 40rem); }
.cc .tm { width: min(calc(100% - 24px), 28rem); }

.clock .unit,
.cc .tm .cu {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  row-gap: clamp(7px, 2vw, 12px);
  min-width: 0;
  padding-inline: 3px;
}

.clock .num,
.cc .tm .n {
  justify-content: center;
  min-height: 1em;
}

.clock .lab,
.cc .tm .cl {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(255, 246, 234, .9);
  font: 500 clamp(11px, 2.8vw, 14px)/1.4 "IBM Plex Sans Thai", system-ui, sans-serif;
  letter-spacing: .015em;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

:lang(ja) :is(.clock .lab, .cc .tm .cl) {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

:lang(zh) :is(.clock .lab, .cc .tm .cl) {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

:lang(ko) :is(.clock .lab, .cc .tm .cl) {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
}

:lang(lo) :is(.clock .lab, .cc .tm .cl) {
  font-family: "Lao Sangam MN", "Leelawadee UI", "Noto Sans Lao", sans-serif;
}
