/* Play Alerts — uses the desk tokens from styles.css */
.push-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(232, 197, 71, 0.45);
  border-radius: 14px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(232, 197, 71, 0.12), transparent 60%),
    linear-gradient(180deg, #141d33, #0f1628);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.push-card[hidden] {
  display: none;
}

.push-card-logo {
  border-radius: 10px;
}

.push-card-copy h2 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.push-card-copy p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.4;
}

.push-card-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.push-text-btn {
  padding: 0.35rem 0.5rem;
  border: 0;
  background: none;
  color: var(--mute);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.push-text-btn:hover {
  color: var(--ink);
}

.nav-alerts {
  margin-left: auto;
  font-family: inherit;
  cursor: pointer;
}

.nav-alerts:not(:hover) {
  background: transparent;
}

.push-panel .push-note {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.08);
  color: var(--ink) !important;
}

.push-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.6;
}

.push-fine {
  font-size: 0.82rem !important;
}

.push-prefs {
  display: grid;
  gap: 0.45rem;
  margin: 0.2rem 0 1rem;
}

.push-pref {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(22, 31, 53, 0.7);
  cursor: pointer;
}

.push-pref.is-locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.push-pref-copy {
  display: grid;
  gap: 0.1rem;
}

.push-pref-copy strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.push-pref-copy small {
  color: var(--mute);
  font-size: 0.8rem;
}

.push-pref input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.push-switch {
  flex: none;
  position: relative;
  width: 2.6rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
  transition: background 0.15s ease;
}

.push-switch::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.09rem;
  height: 1.09rem;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.push-pref input:checked + .push-switch {
  background: linear-gradient(180deg, #f0d56a, #d4a017);
}

.push-pref input:checked + .push-switch::after {
  transform: translateX(1.15rem);
}

.push-pref input:focus-visible + .push-switch {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.push-panel-actions {
  justify-content: space-between;
}

@media (max-width: 640px) {
  .push-card {
    grid-template-columns: auto 1fr;
  }
  .push-card-actions {
    grid-column: 1 / -1;
  }
}
