.watched-progress {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  overflow-wrap: anywhere;
}
.watched-progress [hidden] { display: none !important; }
.watched-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.watched-progress-summary { min-width: 0; flex: 1 1 220px; }
.watched-progress-head h3 { margin: 0; font-size: 15px; }
.watched-progress-current { margin: 3px 0 0; line-height: 1.6; font-size: 13px; }
.watched-progress-current strong { display: inline; color: var(--text); }
.watched-progress-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.watched-progress button {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.watched-progress button.watched-progress-next { border-color: var(--accent); color: var(--accent); }
.watched-progress button:is(.watched-progress-toggle, .watched-progress-info-button) {
  min-width: 44px;
  padding-inline: 10px;
  background: transparent;
  border-color: transparent;
  font-weight: 500;
}
.watched-progress button.watched-progress-info-button { font-size: 20px; padding-inline: 8px; }
.watched-progress button:hover:not(:disabled) { background: var(--card-hover); }
.watched-progress button[aria-expanded="true"] { background: var(--panel-2); }
.watched-progress button:disabled { opacity: .5; cursor: not-allowed; }
.watched-progress :is(button, select):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.watched-progress-edit, .watched-progress-info { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.watched-progress-label { display: grid; gap: 6px; font-size: 13px; }
.watched-progress-label select {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--input-bg);
  text-overflow: ellipsis;
}
.watched-progress-edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 8px; }
.watched-progress button[data-watched-action="reset"] { background: transparent; border-color: transparent; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.watched-progress-note, .watched-progress-storage { color: var(--muted); margin: 8px 0 0; font-size: 12px; line-height: 1.7; }
.watched-progress-info > :first-child { margin-top: 0; }
.watched-progress-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.watched-progress-feedback [role="status"] { margin: 8px 0 0; color: var(--text); font-size: 13px; line-height: 1.7; }
.watched-progress-feedback [role="status"]:empty { margin: 0; }
.watched-progress-feedback button { margin-top: 8px; }
@media (max-width: 520px) {
  .watched-progress { padding: 10px 12px; }
  .watched-progress-summary { flex-basis: 100%; }
  .watched-progress-actions { width: 100%; flex-wrap: nowrap; }
  .watched-progress-actions .watched-progress-next { min-width: 0; flex: 1 1 auto; }
  .watched-progress-actions :is(.watched-progress-toggle, .watched-progress-info-button) { flex-shrink: 0; }
}
