html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 280px;
  display: grid;
  gap: 8px;
}

.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff7e6;
  cursor: pointer;
  overflow: hidden;
  touch-action: none;
  transition: transform 220ms ease-out;
}
.row.pressing {
  transform: scale(0.98);
}
.row:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 2px;
}

.ring {
  width: 24px;
  height: 24px;
  flex: none;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ringTrack {
  fill: none;
  stroke: rgba(23, 20, 26, 0.12);
  stroke-width: 3;
}

.ringFill {
  fill: none;
  stroke: #2f6df6;
  stroke-width: 3;
  stroke-linecap: round;
}

.rowText {
  flex: 1;
  color: #17141a;
  font-size: 14px;
  font-weight: 600;
}

.actions {
  position: absolute;
  inset: 0;
  display: flex;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.row[data-actions=true] .actions {
  transform: translateX(0);
}

.actBtn {
  appearance: none;
  border: none;
  flex: 1;
  color: #fff7e6;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.actEdit {
  background: #0a4fe8;
}

.actDel {
  background: #c2361a;
}

@media (max-width: 340px) {
  .list {
    width: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .row {
    transition: none !important;
  }
  .actions {
    transition: none !important;
  }
}
