/*!*******************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/Spark/assets/styles/account.scss ***!
  \*******************************************************************************************************************************/
@charset "UTF-8";
.login-page {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background: linear-gradient(180deg, var(--page-bg) 0%, rgba(255, 107, 53, 0.02) 100%);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.97), rgba(252, 252, 254, 0.95) 30%, rgba(250, 250, 252, 0.96) 60%, rgba(255, 255, 255, 0.97));
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Magic-подтверждалка: контента на кнопку - карточка компактнее */
.login-card.magic {
  max-width: 360px;
  padding: 32px 28px;
}

.login-card.magic .login-subtitle {
  margin-bottom: 24px;
}

.login-card.magic .login-hint {
  margin-top: 14px;
}

.login-card.magic .login-register {
  margin-top: 18px;
  font-size: 0.8rem;
  text-align: center;
}

.login-logo {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.login-logo span {
  color: var(--orange);
}

.login-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 36px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.login-field input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  color: var(--navy);
  outline: none;
  font-family: var(--f-body);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-field input::placeholder {
  color: var(--slate-300);
}

.login-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.login-btn {
  padding: 15px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s, color 0.4s;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
  margin-top: 4px;
  width: 100%;
}

.login-btn:hover {
  background: #fff;
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.35);
}

.login-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 8px;
  line-height: 1.55;
}

.login-hint svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--orange);
  opacity: 0.6;
}

/* Success state */
.login-success {
  display: none;
  text-align: center;
}

.login-success.active {
  display: block;
}

.login-form-wrap.hidden {
  display: none;
}

.login-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--orange);
}

.login-success-icon svg {
  width: 28px;
  height: 28px;
}

.login-success h3 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.login-success p {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 4px;
}

.login-success .email-highlight {
  font-weight: 700;
  color: var(--navy);
}

/* Ввод кода в состоянии "Check your email" (6 ячеек, канон донора) */
.login-code {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-code-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.login-code-cell {
  width: 46px;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  outline: none;
  font-family: var(--f-body);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-code-cell:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.08);
}

.login-code-cell:disabled {
  opacity: 0.5;
}

.login-code .login-btn {
  margin-top: 0;
}

.login-resend {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--slate-400);
  line-height: 1.5;
}

.login-resend a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.login-resend a:hover {
  text-decoration: underline;
}

.login-btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity 0.2s;
}

.login-back:hover {
  opacity: 0.7;
}

.login-back svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px;
  }
  .login-page {
    padding: 40px 16px;
  }
}
/* m1-адаптации поверх макета */
.login-logo span {
  color: var(--orange);
}

.login-error {
  margin: 10px 0 0;
  font-size: 13px;
  color: #DC2626;
  text-align: center;
}

.login-error[hidden] {
  display: none;
}

/* дашборд-специфика поверх core-переменных (скоуп body.account):
   green/red семейство, --shadow, узкий --max-w 920 */
body.account {
  --green:#10B981;
  --green-100:rgba(16,185,129,.1);
  --red:#EF4444;
  --red-100:rgba(239,68,68,.08);
  --shadow:0 1px 3px rgba(15,23,42,.06),0 8px 24px rgba(15,23,42,.05);
  --max-w:920px;
}

svg {
  flex-shrink: 0;
}

/* ===== PAGE HEAD ===== */
.page-head {
  padding: 32px 0 0;
}

.page-head h1 {
  font-family: var(--f-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-head p {
  color: var(--slate-500);
  font-size: 14px;
  margin-top: 4px;
}

/* sticky-footer: короткая страница не отпускает подвал плавать */
body.account {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.account main {
  flex: 1;
  padding-bottom: 60px;
}

/* ===== SECTION CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-top: 20px;
  scroll-margin-top: 90px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.card-head > div:not(.card-icon) {
  flex: 1;
  min-width: 0;
}

.card-head .sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-head .badge, .card-head .ps-status {
  flex-shrink: 0;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--orange-100);
  border: 1px solid rgba(255, 107, 53, 0.18);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 17px;
  height: 17px;
}

.card-head h2 {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.card-head .sub {
  font-size: 12.5px;
  color: var(--slate-500);
  line-height: 1.4;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge svg {
  width: 11px;
  height: 11px;
}

.badge-trial {
  background: var(--green-100);
  color: #0B7A5C;
}

.badge-paid {
  background: var(--slate-100);
  color: var(--slate-500);
}

.badge-active {
  background: var(--orange-100);
  color: var(--orange-dark);
}

/* ===== SUBSCRIPTION ===== */
.trial-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  padding: 16px;
}

.trial-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.trial-row .days {
  font-family: var(--f-mono);
  color: var(--orange-dark);
}

.trial-bar {
  height: 8px;
  border-radius: var(--r-full);
  background: var(--slate-200);
  overflow: hidden;
}

.trial-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--orange), var(--accent));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.trial-note {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 8px;
}

.trial-row .days.muted {
  color: var(--slate-500);
}

/* No-Pass state: light CTA banner in the account's own palette */
.pass-cta {
  display: none;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--r) - 1px);
  background: linear-gradient(165deg, var(--orange-50) 0%, rgba(255, 255, 255, 0) 55%);
  padding: 48px 28px 42px;
  text-align: center;
  isolation: isolate;
}

#panelPass.no-pass.is-front {
  padding: 0;
  overflow: hidden;
}

#panelPass.no-pass.is-front .card-head, #panelPass.no-pass.is-front .sub-cancel, #panelPass.no-pass.is-front .trial-box {
  display: none;
}

#panelPass.no-pass.is-front .pass-cta {
  margin: 0;
  border-radius: 0;
}

.pass-cta .glow {
  position: absolute;
  z-index: 0;
  width: 460px;
  height: 320px;
  left: 50%;
  bottom: -140px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  filter: blur(90px);
  pointer-events: none;
}

.pass-cta .grain {
  display: none;
}

.pass-cta > div {
  position: relative;
  z-index: 2;
}

.pass-cta .price-line {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.pass-cta .price-line b {
  color: var(--orange-dark);
  font-weight: 500;
}

.pass-cta h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
  text-wrap: balance;
}

.pass-cta h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange-dark);
}

.pass-cta .cta-primary {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 36px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--f-body);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.32);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}

.pass-cta .cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.42);
}

.pass-cta .cta-micro {
  display: block;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--slate-400);
}

.trial-bar.muted i {
  background: var(--slate-300);
}

.sub-cancel {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

/* separate opaque backings per element — the gap between them stays transparent */
#panelPass .card-head > div:not(.card-icon) {
  flex: 0 1 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 10px;
  padding: 5px 12px;
  margin: -5px 0 -5px -12px;
}

#panelPass .card-icon {
  background: #FFF0EB;
}

#panelPass .badge-trial {
  background: #E7F8F2;
}

#panelPass .badge-active {
  background: #FFF0EB;
}

/* no backing needed on the collapsed strip — decor is hidden there anyway */
#panelPass.is-back .card-head > div:not(.card-icon) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#panelPass .sub-cancel .btn-danger {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#panelPass .sub-cancel .btn-danger:hover {
  background: var(--red-100);
}

/* light inline geometry on the Pass panel */
.pass-geo {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--r);
}

.pass-geo svg {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 860px;
  height: 240px;
}

.card-head .sub b {
  color: var(--navy);
  font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--orange-glow);
}

.btn-ghost {
  background: var(--white);
  color: var(--slate-700);
  border-color: var(--slate-200);
}

.btn-ghost:hover {
  border-color: var(--slate-400);
  color: var(--navy);
}

.btn-danger {
  background: none;
  color: var(--red);
  border-color: transparent;
}

.btn-danger:hover {
  background: var(--red-100);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 12.5px;
  border-radius: 9px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

/* ===== PURCHASES ===== */
.p-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.seg {
  display: inline-flex;
  background: var(--slate-100);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.seg button {
  border: none;
  background: none;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seg button .cnt {
  font-family: var(--f-mono);
  font-size: 11px;
  opacity: 0.65;
}

.seg button.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
}

.p-search {
  flex: 1;
  min-width: 150px;
  position: relative;
}

.p-search input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 13px;
  font-family: var(--f-body);
  outline: none;
  background: var(--white);
  transition: border 0.2s, box-shadow 0.2s;
}

.p-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.p-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--slate-400);
  pointer-events: none;
}

.p-sort {
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--f-body);
  color: var(--slate-700);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2710%27 height=%2710%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2364748B%27 stroke-width=%273%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E") no-repeat right 11px center;
  appearance: none;
  cursor: pointer;
  outline: none;
}

.p-sort:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.p-list {
  display: flex;
  flex-direction: column;
}

.p-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.2s;
}

.p-item:last-child {
  border-bottom: none;
}

.p-item:hover {
  background: var(--slate-50);
}

.p-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
  background: var(--slate-100);
}

.p-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-info {
  flex: 1;
  min-width: 0;
}

.p-namerow {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.p-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-meta {
  font-size: 12px;
  color: var(--slate-500);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2px;
}

.p-meta .dot:before {
  content: "·";
  margin-right: 6px;
}

.p-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.p-price {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
  min-width: 54px;
  text-align: right;
}

.p-price-m {
  display: none;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--slate-700);
  flex-shrink: 0;
}

.p-pass {
  font-style: normal;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.empty {
  text-align: center;
  padding: 42px 20px;
  color: var(--slate-500);
}

.empty .empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--slate-100);
  color: var(--slate-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.empty .empty-icon svg {
  width: 24px;
  height: 24px;
}

.empty b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 2px;
}

.empty span {
  font-size: 13px;
}

.pager {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 16px;
}

.pg-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--f-body);
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s;
}

.pg-btn svg {
  width: 13px;
  height: 13px;
}

.pg-btn:hover:not(:disabled):not(.active) {
  border-color: var(--slate-400);
  color: var(--navy);
}

.pg-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  cursor: default;
}

.pg-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pg-info {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--slate-400);
  font-family: var(--f-mono);
}

/* ===== PASS / PAYMENT — stacked panels ===== */
.stack {
  position: relative;
  margin-top: 14px;
  margin-bottom: 88px;
}

.pcard {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 24px;
}

.pcard.is-front {
  position: relative;
  z-index: 2;
  animation: panelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes panelIn {
  from {
    opacity: 0.4;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pcard.is-back {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  bottom: -58px;
  z-index: 1;
  overflow: hidden;
  background: var(--slate-50);
  cursor: pointer;
  transition: bottom 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
  padding: 12px 24px;
}

.pcard.is-back:hover, .pcard.is-back:focus-visible {
  bottom: -66px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
  outline: none;
}

/* slide-to-open hover hint over the peeking strip */
.pcard.is-back::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0), rgba(255, 107, 53, 0.07));
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 2;
}

.open-pill {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  visibility: hidden;
}

.open-pill svg {
  width: 12px;
  height: 12px;
}

.pcard.is-front .open-pill {
  display: none;
}

.pcard.is-back:hover::before, .pcard.is-back:focus-visible::before, .pcard.is-back.hint::before {
  opacity: 1;
}

.pcard.is-back:hover .open-pill, .pcard.is-back:focus-visible .open-pill, .pcard.is-back.hint .open-pill {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* onboarding: after the pill has settled, the arrow bounces */
@keyframes arrowUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes stripNudge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(9px);
  }
}
.pcard.is-back.hint-arrow .open-pill svg {
  animation: arrowUp 0.45s ease-in-out 2;
}

.pcard.is-back .card-head {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 12px;
  margin-bottom: 0;
}

.pcard.is-back > *:not(.card-head):not(.open-pill) {
  visibility: hidden;
}

.pcard.is-back .card-head h2 {
  font-size: 15px;
}

.pcard.is-back .card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.pcard.is-back .card-icon svg {
  width: 14px;
  height: 14px;
}

/* payment panel body */
.pay-body {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 22px;
  align-items: start;
}

.ps-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0B7A5C;
}

.ps-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.ps-status.off {
  color: var(--slate-400);
}

.ps-status.off i {
  background: var(--slate-300);
}

/* card deck */
.deck {
  position: relative;
}

.deck .ghost {
  position: absolute;
  inset: 0;
  transform: translate(7px, -7px) rotate(2.5deg);
  border-radius: 14px;
  background: var(--slate-200);
  border: 1px solid var(--slate-300);
  transition: transform 0.3s;
}

.deck:hover .ghost {
  transform: translate(11px, -11px) rotate(4deg);
}

.cc {
  aspect-ratio: 1.586;
  border-radius: 14px;
  background: linear-gradient(130deg, #13203E 0%, var(--navy) 55%, #0A1122 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
}

.cc:before {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 75%;
  height: 150%;
  background: linear-gradient(200deg, var(--orange), var(--orange-dark));
  transform: rotate(18deg);
  opacity: 0.92;
}

.cc > * {
  position: relative;
  z-index: 1;
}

.cc.mc:before {
  background: linear-gradient(200deg, #F59E0B, #EF4444);
}

.cc.other:before {
  background: linear-gradient(200deg, #64748B, #334155);
}

.cc-brand {
  font-weight: 800;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.cc-chip {
  width: 32px;
  height: 23px;
  border-radius: 5px;
  background: linear-gradient(135deg, #F4CE7A, #D8A93F);
  margin-top: 10px;
}

.cc-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: auto;
  white-space: nowrap;
}

.cc-foot {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

.cc-foot b {
  display: block;
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.04em;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(-16px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cc.swap {
  animation: cardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* card list */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cl-scroll {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 132px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-300) transparent;
}

.cl-scroll::-webkit-scrollbar {
  width: 5px;
}

.cl-scroll::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: var(--r-full);
}

.cl-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.cl-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}

.cl-row:hover {
  border-color: var(--slate-400);
}

.cl-row.active {
  border-color: var(--orange);
  background: var(--orange-50);
}

.cl-radio {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--slate-300);
  flex-shrink: 0;
  position: relative;
  transition: border 0.2s;
}

.cl-row.active .cl-radio {
  border-color: var(--orange);
}

.cl-row.active .cl-radio:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--orange);
}

.cl-num {
  font-family: var(--f-mono);
  font-weight: 500;
}

.cl-exp {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--slate-400);
}

.cl-default {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.cl-x {
  border: none;
  background: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 3px;
  border-radius: 6px;
  display: flex;
  transition: all 0.2s;
}

.cl-x:hover {
  color: var(--red);
  background: var(--red-100);
}

.cl-x svg {
  width: 13px;
  height: 13px;
}

.cl-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1.5px dashed var(--slate-300);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-500);
  cursor: pointer;
  background: none;
  transition: all 0.2s;
  width: 100%;
}

.cl-add:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: var(--orange-50);
}

.cl-add svg {
  width: 13px;
  height: 13px;
}

.ps-empty {
  font-size: 13px;
  color: var(--slate-500);
  margin-bottom: 12px;
}

/* ===== FOOTER (compact, matches marketplace) ===== */
.dash-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  margin-top: 60px;
  padding: 22px 24px;
  font-size: 12.5px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner .f-brand {
  font-family: var(--f-display);
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.footer-inner .f-brand span {
  color: var(--orange);
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-inner a:hover {
  color: #fff;
}

.footer-inner .f-right {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

/* ===== MODALS & TOAST ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay.open {
  display: flex;
  animation: fadeUp 0.25s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 26px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.modal h3 {
  font-family: var(--f-display);
  font-size: 19px;
  margin-bottom: 6px;
}

.modal p {
  font-size: 13.5px;
  color: var(--slate-500);
  margin-bottom: 18px;
}

.modal .row {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modal label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  margin: 0 0 5px;
}

.modal label[for=cardName] {
  font-size: 14px;
  font-weight: 400;
  color: #30313d;
  margin-bottom: 6px;
}

.modal input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-mono);
  outline: none;
  margin-bottom: 14px;
  transition: border 0.2s, box-shadow 0.2s;
}

.modal input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

#cardName {
  font-family: var(--f-body);
} /* имя держателя - не мона, это не номер карты */
.modal .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 80px);
  z-index: 400;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 90vw;
}

#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

#toast .ok {
  color: var(--green);
}

/* payment sheet loading imitation */
.skel {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-50) 50%, var(--slate-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.1s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}
.skel-label {
  height: 11px;
  width: 38%;
  margin-bottom: 7px;
}

.skel-input {
  height: 42px;
  margin-bottom: 14px;
}

.skel-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.skel-btn {
  height: 38px;
  width: 110px;
  margin-left: auto;
}

#cardForm.reveal {
  animation: fadeUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mini-spin {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.secure-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--slate-400);
  margin-top: 14px;
  justify-content: center;
}

.secure-line svg {
  width: 11px;
  height: 11px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .pay-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .deck {
    max-width: 190px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  /* touch: no hover pill; onboarding nudges the strip itself */
  .open-pill {
    display: none !important;
  }
  .pcard.is-back.hint {
    animation: stripNudge 0.9s ease-in-out 2;
  }
  .seg {
    order: 1;
    flex-basis: 100%;
  }
  .seg button {
    flex: 1;
    justify-content: center;
  }
  .p-search {
    order: 2;
    flex: 1;
    min-width: 0;
  }
  .p-sort {
    order: 3;
  }
  .card-head {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .card-head h2 {
    font-size: 17px;
  }
  .pg-info {
    display: none;
  }
  .p-thumb {
    width: 44px;
    height: 44px;
  }
  .p-item {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .p-price-m {
    display: inline-block;
  }
  .p-right .p-price {
    display: none;
  }
  .p-right {
    width: 100%;
  }
  .p-right .btn {
    flex: 1;
    justify-content: center;
  }
  .nav-user-name {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* CustomSelect (порт донора, Spark-палитра) - замена нативного select:
   option не стилизуются, их рисует ОС */
.custom-select {
  position: relative;
  min-width: 150px;
  cursor: pointer;
  user-select: none;
}

.select-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
  transition: border 0.2s;
}

.custom-select.is-open .select-trigger, .select-trigger:hover {
  border-color: var(--orange);
}

.trigger-label {
  flex: 1;
  white-space: nowrap;
}

.select-arrow {
  width: 14px;
  height: 14px;
  color: var(--slate-400);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.custom-select.is-open .select-arrow {
  transform: rotate(180deg);
  color: var(--orange);
}

.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 240px;
  overflow-y: auto;
}

.select-options .option {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.15s;
}

.select-options .option:hover {
  background: var(--orange-50);
  color: var(--orange-dark);
}

.select-options .option.is-selected {
  background: var(--orange-100);
  color: var(--orange-dark);
}

.search-wrapper {
  padding: 2px 2px 6px;
}

.search-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 12.5px;
  font-family: var(--f-body);
  outline: none;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.15s;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

body.profile {
  --max-w:560px;
  --green:#10B981;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.profile main {
  flex: 1;
  padding-bottom: 60px;
}

body.profile .page-head {
  padding: 32px 0 0;
}

body.profile .page-head h1 {
  font-family: var(--f-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body.profile .card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 24px;
  margin-top: 14px;
}

/* identity row */
.id-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.id-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.id-name {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.id-mail {
  font-size: 13px;
  color: var(--slate-500);
}

/* form */
body.profile label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  margin: 0 0 5px;
}

body.profile input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--f-body);
  outline: none;
  margin-bottom: 16px;
  transition: border 0.2s, box-shadow 0.2s;
  color: var(--navy);
  background: var(--white);
}

body.profile input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

body.profile .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.locked-wrap {
  position: relative;
  margin-bottom: 16px;
}

.locked-wrap input {
  background: var(--slate-50);
  color: var(--slate-500);
  cursor: not-allowed;
  padding-right: 38px;
  margin-bottom: 0;
}

.locked-wrap svg {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--slate-400);
  pointer-events: none;
}

body.profile .hint {
  font-size: 12px;
  color: var(--slate-400);
  margin: -10px 0 16px;
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* btn/toast - мастер в _dashboard (общий бандл account) */
@media (max-width: 560px) {
  body.profile .two {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=account.css.map*/