:root {
  --bg: #0b0f19;
  --panel: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.65);
  --accent: #6ae4ff;
  --accent2: #9b7bff;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(900px circle at 20% 10%, #132046, transparent 60%),
    radial-gradient(700px circle at 90% 30%, #2a1451, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: calc(8px + env(safe-area-inset-top)) 18px 18px;
}

.volume {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin-bottom: 0;
}

.middle {
  width: 100%;
  max-width: 520px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume-label {
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
  user-select: none;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.display {
  width: 100%;
  max-width: 520px;
  user-select: none;
  background: linear-gradient(135deg, rgba(106, 228, 255, 0.14), transparent),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 52px 20px; /* double height */
  text-align: center;

  font-weight: 700;
  font-size: clamp(72px, 18vw, 150px);
  line-height: 1.05;
  letter-spacing: 0.02em;

  display: flex;
  justify-content: center;
  align-items: center;
}

.display:focus {
  outline: 3px solid rgba(106, 228, 255, 0.35);
  outline-offset: 2px;
}

.btn {
  width: 100%;
  max-width: 520px;
  border: 0;
  border-radius: 16px;
  padding: 36px 20px; /* double height */
  min-height: 72px;
  font-size: 20px;
  font-weight: 650;
  color: rgba(0, 0, 0, 0.85);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.btn:active {
  transform: translateY(1px);
}

input[type="text"].seconds-input {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: inherit;
  background: transparent;
  color: var(--text);
  border: 0;
  outline: none;
  caret-color: var(--accent);
}

