.dt-hidden { display: none !important; }

.dt-spinner {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-navy, #1a1a2e);
  border-radius: 10px;
  padding: 0 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  user-select: none;
  -webkit-user-select: none;
}

.dt-group {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.dt-vdiv {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 0.7rem 0.35rem;
  flex-shrink: 0;
}

.dt-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.35rem 0.35rem;
  cursor: ns-resize;
  -webkit-tap-highlight-color: transparent;
  border-radius: 6px;
  transition: background 0.12s;
  overflow: hidden;
  touch-action: none;
}
.dt-col:hover { background: rgba(255,255,255,0.07); }

.dt-col::before, .dt-col::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 38%;
  pointer-events: none;
  z-index: 1;
}
.dt-col::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-navy, #1a1a2e) 0%, transparent 100%);
}
.dt-col::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-navy, #1a1a2e) 0%, transparent 100%);
}

.dt-val {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  text-align: center;
  padding: 0.3rem 0.2rem;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  cursor: text;
  position: relative;
  z-index: 0;
}

.dt-edit {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  outline: none;
  width: 100%;
  padding: 0.3rem 0.2rem;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 2;
  -moz-appearance: textfield;
}
.dt-edit::-webkit-outer-spin-button,
.dt-edit::-webkit-inner-spin-button { -webkit-appearance: none; }

.dt-col-lbl {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.90);
  text-align: center;
  margin-top: 0.2rem;
  line-height: 1;
}

#spY .dt-val, #spY .dt-edit { min-width: 4ch; }
#spMo .dt-val { min-width: 3ch; }

.dt-sep {
  color: rgba(255,255,255,0.25);
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0 0.05rem;
  flex-shrink: 0;
  margin-bottom: 1.1rem;
}

@media screen and (max-width: 520px) {
  .dt-val  { font-size: 1.9rem; }
  .dt-edit { font-size: 1.9rem; }
  .dt-col  { padding: 0.55rem 0.28rem 0.3rem; }
  .dt-sep  { font-size: 1.2rem; padding: 0 0.02rem; margin-bottom: 0.95rem; }
}

@media screen and (max-width: 420px) {
  .dt-val     { font-size: 1.35rem; padding: 0.2rem 0.05rem; }
  .dt-edit    { font-size: 1.35rem; }
  .dt-col     { padding: 0.35rem 0.1rem 0.2rem; }
  .dt-sep     { font-size: 0.9rem; padding: 0; margin-bottom: 0.6rem; }
  .dt-spinner { padding: 0 0.1rem; }
}
