.did-visitor-counter {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 218px;
  overflow: hidden;
  border: 1px solid #d7dce3;
  border-radius: 6px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 30px rgba(21, 29, 40, .14);
  color: #171b22;
  font-family: Inter, Pretendard, "Noto Sans KR", Arial, sans-serif;
  pointer-events: none;
}

.did-visitor-counter__header {
  display: flex;
  align-items: center;
  min-height: 38px;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid #e5e8ed;
  color: #535e6d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
}

.did-visitor-counter__status {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #16804b;
  box-shadow: 0 0 0 3px rgba(22, 128, 75, .12);
}

.did-visitor-counter__stats {
  display: grid;
  margin: 0;
  padding: 8px 14px 10px;
}

.did-visitor-counter__stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  min-height: 31px;
  gap: 12px;
  border-bottom: 1px solid #eef0f3;
}

.did-visitor-counter__stat:last-child {
  border-bottom: 0;
}

.did-visitor-counter__stat dt,
.did-visitor-counter__stat dd {
  margin: 0;
}

.did-visitor-counter__stat dt {
  color: #687383;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.did-visitor-counter__stat dd {
  color: #11151b;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .did-visitor-counter {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
  }

  .did-visitor-counter__header {
    min-height: 30px;
    padding: 0 12px;
  }

  .did-visitor-counter__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px 10px 9px;
  }

  .did-visitor-counter__stat {
    display: flex;
    min-width: 0;
    min-height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-right: 1px solid #eef0f3;
    border-bottom: 0;
  }

  .did-visitor-counter__stat:last-child {
    border-right: 0;
  }

  .did-visitor-counter__stat dt {
    overflow: hidden;
    max-width: 100%;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .did-visitor-counter__stat dd {
    font-size: 14px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .did-visitor-counter {
    background: #fff;
  }
}
