@font-face {
  font-family: 'DSEG7 Classic';
  src: url('./assets/fonts/DSEG7Classic-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  /* Use the clock face for numbers; keep localized separators in the fallback. */
  unicode-range: U+0030-0039, U+002E;
}

.community-playtime {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 8px auto 12px;
  padding: 6px 10px;
  border: 1px solid #38555c;
  border-radius: 7px;
  background: #122832;
  text-align: center;
}

.community-playtime-title {
  flex: none;
  color: #adc1c5;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.community-playtime-reading {
  display: flex;
  min-width: 0;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
}

.community-playtime-value {
  display: block;
  min-width: 0;
  color: #e6c78d;
  font-family: 'DSEG7 Classic', Consolas, 'SFMono-Regular', 'Liberation Mono', monospace;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.community-playtime-caption { flex: none; color: #adc1c5; font-size: 0.65rem; }
/* Keep loading/error details available to assistive technology and the tooltip. */
.community-playtime-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 400px) {
  .community-playtime { gap: 6px; padding-inline: 8px; }
  .community-playtime-title { font-size: 0.6rem; letter-spacing: 0.035em; }
}
/* The instrument stays still: no flashing, scanning bands, or rolling digits. */
@media (prefers-reduced-motion: reduce) {
  .community-playtime * { animation: none; transition: none; }
}
