/* ---------- Font Size Control ---------- */

.font-size-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.font-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}

.font-size-btn:hover:not(:disabled) {
  background: var(--accent-bg);
  border-color: var(--border);
  color: var(--text-h);
}

.font-size-btn:active:not(:disabled) {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent);
}

.font-size-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.font-size-value {
  font-size: 11px;
  font-family: var(--mono);
  color: var(--text);
  min-width: 18px;
  text-align: center;
  user-select: none;
}

@media (max-width: 768px) {
  .font-size-control {
    display: none;
  }
}
