/* Alarm Clock — tool-specific styles */
.ack-clock { position: relative; text-align: center; padding: 26px 0 22px; border-bottom: 1px solid var(--line);
  margin-bottom: 20px; }
.ack-clock b { display: block; font-size: clamp(3rem, 12vw, 5.5rem); font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; line-height: 1; font-family: var(--display, inherit);
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ack-clock span { display: block; margin-top: 8px; color: var(--muted); font-weight: 600; }
.ack-fullbtn { position: absolute; top: 0; right: 0; padding: 8px 14px; min-height: 36px; font-size: .82rem; }

.ack-setrow { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 14px; align-items: end; }
.ack-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px;
  color: var(--muted-2); font-size: .88rem; font-weight: 600; }
.ack-preset { font-family: inherit; font-weight: 700; font-size: .84rem; cursor: pointer; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--muted); padding: 7px 14px; border-radius: 999px;
  transition: all .15s; -webkit-tap-highlight-color: transparent; }
.ack-preset:hover { color: var(--text); border-color: var(--accent); }
.ack-preset:active { transform: scale(.95); }

.ack-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ack-item { display: flex; align-items: center; gap: 14px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 16px; animation: ats-rise .3s cubic-bezier(.23,1,.32,1) both; }
.ack-item b { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.ack-item .ack-lbl { color: var(--muted); font-weight: 600; flex: 1; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.ack-item .ack-in { color: var(--accent-2); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ack-del { background: none; border: 1px solid var(--line); color: var(--muted-2); border-radius: 7px;
  width: 30px; height: 30px; cursor: pointer; flex-shrink: 0; }
.ack-del:hover { color: var(--danger); border-color: var(--danger); }

.ack-ringing { margin-top: 18px; padding: 22px; border-radius: var(--radius-sm); text-align: center;
  background: rgba(255,84,112,.12); border: 1px solid rgba(255,84,112,.5);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  animation: ack-flash 1s ease-in-out infinite; }
.ack-ringing b { font-size: 1.4rem; }
@keyframes ack-flash { 0%,100% { background: rgba(255,84,112,.12); } 50% { background: rgba(255,84,112,.26); } }

/* fullscreen clock mode */
.ac-card:fullscreen { display: flex; flex-direction: column; justify-content: center; background: var(--bg); border-radius: 0; }
.ac-card:fullscreen .ack-clock b { font-size: 18vw; }
.ac-card:fullscreen .ack-setrow, .ac-card:fullscreen .ack-presets, .ac-card:fullscreen .ack-list { display: none; }
.ac-card:fullscreen .ack-clock { border-bottom: none; }

@media (max-width: 680px) { .ack-setrow { grid-template-columns: 1fr; } .ack-fullbtn { position: static; margin-top: 12px; } }
