/* ============ Geosha — отмена подписки (окно на главной и страница /cancel) ============ */
.cs-layer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.cs-layer[hidden] { display: none; }
.cs-scrim { position: absolute; inset: 0; background: rgba(15,10,50,.32); opacity: 0; transition: opacity .2s ease;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cs-modal {
  position: relative; width: min(400px, 100%); border-radius: 26px; padding: 26px 22px 22px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(177,75,255,.12), transparent 70%), var(--menu-bg, rgba(250,250,255,.94));
  opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .2s ease, transform .26s cubic-bezier(.2,.8,.2,1);
}
.cs-layer.visible .cs-scrim { opacity: 1; }
.cs-layer.visible .cs-modal { opacity: 1; transform: none; }
.cs-x { position: absolute; top: 12px; right: 12px; }
.cs-x:hover { background: var(--hover); }

.cs-title { margin: 0 36px 10px 0; font: 700 20px/1.25 var(--font-display); letter-spacing: -.02em; }
.cs-text { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.cs-text b { color: var(--ink); font-weight: 600; }
.cs-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.cs-btn {
  display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 16px; border-radius: 14px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-soft);
  background: var(--inset-fill); border: 1.5px solid var(--glass-edge); transition: background .15s, color .15s, border-color .15s;
}
.cs-btn:hover { background: var(--hover); color: var(--ink); }
.cs-btn.danger { color: var(--danger); border-color: rgba(229,56,91,.45); background: rgba(229,56,91,.06); }
.cs-btn.danger:hover { background: rgba(229,56,91,.12); border-color: var(--danger); }
.cs-btn:disabled { opacity: .6; cursor: progress; }
.cs-form { display: flex; flex-direction: column; }
.cs-label { font-size: 14px; color: var(--ink-soft); margin-bottom: 8px; }
.cs-input {
  height: 48px; padding: 0 14px; border-radius: 14px; font: 16px var(--font-body); color: var(--ink);
  background: var(--active); border: 1.5px solid var(--glass-edge); outline: none;
}
.cs-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--focus-ring); }
.cs-error { min-height: 18px; margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--danger); }
.cs-error:empty { min-height: 0; }
.cs-error a { color: inherit; font-weight: 600; }
.cs-done { text-align: center; }
.cs-done .cs-title { margin-right: 0; }
.cs-done-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 4px auto 14px; border-radius: 18px;
  color: #fff; background: linear-gradient(135deg, #1FD3A4, #1E9E63); box-shadow: 0 12px 26px -12px rgba(31,211,164,.9);
}
.cs-done-icon svg { width: 28px; height: 28px; stroke-width: 2.6; }

/* страница /cancel */
.cs-page { position: relative; z-index: 1; width: min(460px, calc(100% - 32px)); margin: 40px auto; }
.cs-page-card { border-radius: 28px; padding: 28px 24px 24px; }
.cs-page-foot { margin: 16px 4px 0; text-align: center; font-size: 13.5px; color: var(--ink-faint); line-height: 1.5; }
.cs-page-foot a { color: inherit; }
@media (max-width: 560px) {
  .cs-layer { place-items: end center; padding: 10px; }
  .cs-modal { border-radius: 24px; padding: 22px 18px 18px; }
  .cs-page { margin-top: 24px; }
}
