:root {
  color-scheme: dark;
  --bg: #030b07;
  --panel: rgba(8, 28, 17, 0.82);
  --panel-strong: #0a2115;
  --border: rgba(110, 231, 153, 0.15);
  --text: #f5fff8;
  --muted: #91a99a;
  --blue: #22c55e;
  --blue-bright: #4ade80;
  --cyan: #a1f4bf;
  --green: #86efac;
  --danger: #ff7697;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(15, 122, 60, 0.16), transparent 40%),
    linear-gradient(180deg, #06140c 0%, var(--bg) 68%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.telegram-mini-app {
  padding-top: env(safe-area-inset-top, 0);
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  pointer-events: none;
}

.ambient-one { top: 15%; right: -250px; background: #22c55e; }
.ambient-two { bottom: 0; left: -300px; background: #0f7a3c; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(74, 222, 128, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.16), rgba(6, 20, 12, 0.16));
  box-shadow: 0 14px 40px rgba(22, 163, 74, 0.16);
  font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .01em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.ghost-button, .text-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ghost-button { color: var(--muted); padding: 10px 4px; }
.ghost-button:hover { color: var(--text); }

.hidden { display: none !important; }

.login-layout {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 80px;
  padding: 70px 0 110px;
}

.eyebrow {
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-copy h1, .dashboard-heading h1 {
  margin: 18px 0;
  font-size: clamp(45px, 7vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero-copy h1 span {
  background: linear-gradient(90deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  max-width: 610px;
  color: #4ade80;
  font-size: 18px;
  line-height: 1.65;
}
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.trust-row span, .stage-note, .shield-chip, .step-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(6, 20, 12, 0.16);
  color: var(--muted);
  font-size: 11px;
  padding: 8px 12px;
}

.glass-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(6, 20, 12, 0.16), rgba(6, 20, 12, 0.16));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.login-card { padding: 38px; }
.icon-orb {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 18px;
  background: linear-gradient(145deg, #22c55e, #0f7a3c);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.16);
  font-size: 25px;
}
.login-card h2 { margin: 13px 0; font-size: 28px; letter-spacing: -.03em; }
.login-card > p { color: var(--muted); line-height: 1.6; }

.primary-button, .secondary-button, .action-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.primary-button {
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 15px 42px rgba(34, 197, 94, 0.16);
}
.primary-button:hover, .action-link:hover, .secondary-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.stage-note { margin-top: 22px; border-radius: 13px; text-align: center; line-height: 1.4; }

.login-progress {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: #4ade80;
  font-size: 13px;
  line-height: 1.45;
}
.pulse-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(73, 226, 168, .6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(73, 226, 168, 0); } }
.error-text { color: var(--danger) !important; font-size: 13px; }

.dashboard { padding: 48px 0 100px; }
.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}
.dashboard-heading h1 { margin: 10px 0; font-size: clamp(38px, 6vw, 62px); }
.dashboard-heading p { margin: 0; color: var(--muted); }
.live-badge, .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 11px;
  color: #9eefd0;
  background: rgba(48, 178, 131, .12);
  border: 1px solid rgba(73, 226, 168, .24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.dashboard-grid { display: grid; grid-template-columns: 1fr; }
.subscription-card, .nodes-card, .devices-card, .help-card { padding: 30px; }
.card-topline, .section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.card-label { color: #22c55e; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.subscription-card h2, .nodes-card h2, .devices-card h2, .help-card h2 {
  margin: 18px 0 8px;
  font-size: 26px;
  letter-spacing: -.025em;
}
.subscription-card > p, .nodes-card > p, .help-card p { color: var(--muted); line-height: 1.55; }
.status-badge.expired { color: #ffb1c3; border-color: rgba(255,111,145,.26); background: rgba(255,111,145,.1); }
.status-badge.trial { color: #86efac; border-color: rgba(34, 197, 94, 0.16); background: rgba(34, 197, 94, 0.12); }

.expiry-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 18px;
  margin: 25px 0 20px;
  padding: 17px 18px;
  border-radius: 17px;
  background: rgba(6, 20, 12, 0.16);
  border: 1px solid rgba(110, 231, 153, .12);
}
.expiry-panel span, .expiry-panel small { color: var(--muted); font-size: 11px; }
.expiry-panel strong { grid-row: span 2; align-self: center; font-size: 18px; }
.tariff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tariff-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(6, 20, 12, 0.16);
  text-align: left;
}
.tariff-button span b, .tariff-button span small { display: block; }
.tariff-button span small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.tariff-button:disabled { opacity: .58; }
.read-only-caption { margin-bottom: 0; font-size: 11px; }

.node-list { display: grid; gap: 9px; margin-top: 22px; }
.node-list > div { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 14px; background: rgba(6, 20, 12, 0.16); }
.node-list b, .node-list small { display: block; }
.node-list b { font-size: 13px; }
.node-list small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.node-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 16px rgba(34, 197, 94, 0.16); }
.node-dot.finland { background: #4ade80; }

.devices-card { margin-top: 22px; }
.section-title h2 { margin-top: 8px; }
.device-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 25px 0;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(6, 20, 12, 0.16);
}
.device-tab {
  min-height: 43px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.device-tab.active { color: white; background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(22, 163, 74, 0.16)); }

.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.install-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 220px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(6, 20, 12, 0.16);
}
.accent-step { background: linear-gradient(145deg, rgba(15, 122, 60, 0.16), rgba(6, 20, 12, 0.16)); }
.step-number { color: #22c55e; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.install-step h3 { margin: 0 0 8px; font-size: 18px; }
.install-step p { min-height: 48px; margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.action-link, .secondary-button {
  min-height: 43px;
  padding: 0 15px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  background: rgba(15, 122, 60, 0.16);
  font-size: 12px;
}
.action-link.primary { border: 0; background: linear-gradient(135deg, #22c55e, #16a34a); }
.action-link.disabled { pointer-events: none; opacity: .4; }
.text-button { margin-top: 15px; padding: 4px 0; color: #4ade80; font-size: 12px; }
.connection-notice { margin: 17px 0 0; color: var(--muted); font-size: 11px; }

.help-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
}
.help-card h2 { margin-top: 8px; }
.help-card p { max-width: 730px; margin-bottom: 0; }
.secondary-button { flex: 0 0 auto; }

footer { padding: 0 0 35px; color: #0f7a3c; font-size: 11px; text-align: center; }

.guide-main { padding: 45px 0 90px; }
.guide-hero { max-width: 820px; margin-bottom: 32px; }
.guide-hero h1 {
  margin: 13px 0;
  font-size: clamp(38px, 7vw, 66px);
  line-height: 1;
  letter-spacing: -.05em;
}
.guide-hero p { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.guide-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
}
.guide-summary a {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(6, 20, 12, 0.16);
}
.guide-summary strong, .guide-summary span { display: block; }
.guide-summary span { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.guide-list { display: grid; gap: 22px; }
.guide-card { padding: 30px; }
.guide-card.recommended { border-color: rgba(73, 226, 168, .3); }
.guide-card h2 { margin: 10px 0 8px; font-size: 28px; letter-spacing: -.03em; }
.guide-card > p { color: var(--muted); line-height: 1.6; }
.guide-label {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid rgba(73, 226, 168, .25);
  border-radius: 999px;
  color: #9eefd0;
  background: rgba(48, 178, 131, .1);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.guide-steps { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; counter-reset: guide-step; }
.guide-steps li {
  position: relative;
  min-height: 52px;
  padding: 14px 15px 14px 56px;
  border: 1px solid rgba(110, 231, 153, .12);
  border-radius: 15px;
  background: rgba(6, 20, 12, 0.16);
  color: #86efac;
  line-height: 1.5;
  counter-increment: guide-step;
}
.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  top: 13px;
  left: 15px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #16a34a;
  font-size: 11px;
  font-weight: 900;
}
.guide-warning {
  margin: 20px 0;
  padding: 16px 17px;
  border: 1px solid rgba(255, 181, 95, .23);
  border-radius: 16px;
  color: #d7c5af;
  background: rgba(132, 81, 22, .12);
  font-size: 13px;
  line-height: 1.55;
}
.guide-warning strong { color: #ffd29a; }
.guide-checklist { margin: 17px 0 22px; padding-left: 21px; color: #4ade80; line-height: 1.6; }
.guide-checklist li + li { margin-top: 7px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-actions .action-link { min-height: 47px; }
.guide-back { color: #4ade80; }


.payment-button {
  color: inherit;
  cursor: pointer;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    opacity .18s ease;
}

.payment-button:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(34, 197, 94, 0.16);
  background: rgba(10, 33, 21, 0.16);
}

.payment-button:disabled {
  cursor: not-allowed;
}

.account-card h2 { margin: 10px 0 7px; }
.account-card > p { color: var(--muted); line-height: 1.5; }
.identity-safe-badge {
  color: #9eefd0;
  font-size: 10px;
  font-weight: 800;
}
.identity-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.identity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 15px;
  border: 1px solid rgba(110, 231, 153, .14);
  border-radius: 15px;
  background: rgba(6, 20, 12, 0.16);
}
.identity-row > div {
  min-width: 0;
}
.identity-row strong,
.identity-row span { display: block; }
.identity-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.identity-row .text-button {
  flex: 0 0 auto;
}
.identity-row .text-button.identity-linked,
.identity-row .text-button.identity-linked:disabled {
  color: #9eefd0;
  opacity: 1;
  cursor: default;
}
.identity-form {
  margin-top: 14px;
}
.identity-form label {
  display: block;
  margin-bottom: 7px;
  color: #86efac;
  font-size: 12px;
  font-weight: 700;
}
.identity-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}
.identity-form-row input {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(110, 231, 153, .2);
  border-radius: 12px;
  color: #a1f4bf;
  background: rgba(6, 20, 12, 0.16);
}
.identity-form-row .primary-button {
  min-height: 44px;
  padding: 0 15px;
}

.payment-legal {
  margin: 10px 0 0;
  color: #16a34a;
  font-size: 10px;
  line-height: 1.55;
}

.payment-legal a,
.site-footer a {
  color: #22c55e;
  text-decoration: none;
}

.payment-legal a:hover,
.site-footer a:hover {
  color: #86efac;
  text-decoration: underline;
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-separator {
  color: #0a2115;
}

@media (max-width: 900px) {
  .login-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .login-layout { gap: 45px; padding-top: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
  .install-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 40px; height: 40px; }
  .login-layout { padding: 35px 0 75px; }
  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 46px);
  }
  .hero-copy > p { font-size: 15px; }
  .login-card, .subscription-card, .nodes-card, .devices-card, .help-card { padding: 21px; border-radius: 22px; }
  .dashboard { padding-top: 20px; }
  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }
  .dashboard-heading h1 {
    margin: 6px 0;
    font-size: clamp(30px, 9vw, 34px);
    line-height: 1;
  }
  .dashboard-heading p { font-size: 13px; line-height: 1.45; }
  .tariff-row { grid-template-columns: 1fr; }
  .identity-form-row { grid-template-columns: 1fr; }
  .identity-row { align-items: flex-start; }
  .device-tabs { grid-template-columns: 1fr 1fr; }
  .install-step { grid-template-columns: 1fr; min-height: 0; }
  .install-step p { min-height: 0; }
  .help-card { align-items: flex-start; flex-direction: column; }
  .secondary-button { width: 100%; }
  .guide-main { padding-top: 24px; }
  .guide-hero h1 { font-size: 38px; }
  .guide-hero p { font-size: 15px; }
  .guide-summary { grid-template-columns: 1fr; }
  .guide-card { padding: 21px; border-radius: 22px; }
  .guide-card h2 { font-size: 24px; }
  .guide-actions .action-link { width: 100%; }
}

/* OGURKO_LANDING_PARITY_BEGIN */

/*
 * Visual primitives synchronized with the public
 * ogurkovpn.online landing page.
 */

body {
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(34, 197, 94, .18),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      #06140c 0%,
      var(--bg) 70%
    );
}

.ambient {
  width: 520px;
  height: 520px;
  filter: blur(130px);
  opacity: .16;
}

.ambient-one {
  top: 10%;
  right: -280px;
  background: #22c55e;
}

.ambient-two {
  bottom: -140px;
  left: -300px;
  background: #0f7a3c;
}

.shell {
  width: min(1120px, calc(100% - 40px));
}

.brand-mark {
  width: 46px;
  height: 46px;

  border:
    1px solid
    rgba(110, 231, 153, .28);

  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(34, 197, 94, .52),
      rgba(8, 50, 27, .92)
    );

  box-shadow:
    0 12px 35px
    rgba(34, 197, 94, .15);
}

.glass-card {
  border:
    1px solid
    var(--border);

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(10, 34, 20, .89),
      rgba(5, 18, 11, .72)
    );

  box-shadow:
    var(--shadow);

  backdrop-filter:
    blur(18px);
}

.primary-button,
.secondary-button {
  border-radius: 14px;
  font-weight: 760;
}

.primary-button {
  border:
    1px solid
    rgba(74, 222, 128, .25);

  background:
    linear-gradient(
      135deg,
      #22c55e,
      #16a34a
    );

  box-shadow:
    0 14px 38px
    rgba(34, 197, 94, .18);
}

.secondary-button {
  border:
    1px solid
    var(--border);

  background:
    rgba(255, 255, 255, .035);
}

/* OGURKO_LANDING_PARITY_END */

/* OGURKO_EMAIL_UI_BEGIN */

.email-login-block {
  margin-top: 22px;
}

.email-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.email-divider::before,
.email-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.email-login-form {
  display: grid;
  gap: 10px;
}

.email-login-form label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.email-login-form input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: var(--text);
  outline: none;
}

.email-login-form input:focus {
  border-color: rgba(74,222,128,.48);
}

.email-login-form .secondary-button {
  width: 100%;
}

.email-login-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.email-login-actions .text-button {
  margin-top: 2px;
}

.email-hint {
  margin: 9px 0 0;
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.email-hint.error {
  color: var(--danger);
}

.email-code {
  letter-spacing: .24em;
  font-size: 18px;
  font-weight: 800;
}

/* OGURKO_EMAIL_UI_END */



/* OGURKO_TELEGRAM_LINK_BANNER_V1 */
.telegram-link-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.telegram-link-banner.hidden {
  display: none;
}

.telegram-link-banner-copy {
  min-width: 0;
}

.telegram-link-banner-copy strong {
  display: block;
  margin-bottom: 6px;
}

.telegram-link-banner-copy p {
  margin: 0;
  line-height: 1.45;
  opacity: 0.78;
}

.telegram-link-banner-button {
  width: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .telegram-link-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .telegram-link-banner-button {
    width: 100%;
  }
}

/* OGURKO_UX_POLISH_V2 */

.email-login-form .secondary-button.is-loading {
  cursor: wait;
  opacity: 0.88;
  pointer-events: none;
}

.email-login-form .secondary-button.is-loading::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 9px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: ogurko-spin 0.7s linear infinite;
}

@keyframes ogurko-spin {
  to {
    transform: rotate(360deg);
  }
}

.telegram-link-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 22px;
  padding: 22px 62px 22px 24px;
  border: 1px solid rgba(248, 113, 113, 0.78);
  background:
    linear-gradient(
      135deg,
      rgba(127, 29, 29, 0.48),
      rgba(69, 10, 10, 0.34)
    );
  box-shadow:
    0 18px 50px rgba(127, 29, 29, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.telegram-link-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 4px;
  border-radius: 999px;
  background: #ef4444;
}

.telegram-link-banner-copy strong {
  color: #fecaca;
  font-size: 17px;
}

.telegram-link-banner-copy p {
  color: #fca5a5;
}

.telegram-link-banner-button {
  flex: 0 0 auto;
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
}

.telegram-link-banner-button:hover {
  filter: brightness(1.10);
}

.telegram-link-banner-close {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fecaca;
  font-size: 28px;
  line-height: 32px;
  cursor: pointer;
  opacity: 0.82;
}

.telegram-link-banner-close:hover {
  background: rgba(239, 68, 68, 0.15);
  opacity: 1;
}

@media (max-width: 760px) {
  .telegram-link-banner {
    align-items: stretch;
    flex-direction: column;
    padding: 20px 46px 20px 20px;
  }

  .telegram-link-banner-button {
    width: 100%;
  }
}

/* OGURKO_TOP_FLOW_V1 */

.dashboard-grid {
  gap: 22px;
}

.dashboard-grid .telegram-link-banner {
  margin: 0;
}

.subscription-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
}

.subscription-status-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.subscription-status-copy h2 {
  margin: 0 0 8px;
}

.subscription-status-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.connect-now-button {
  width: auto;
  min-width: 158px;
  flex: 0 0 auto;
}

.connect-now-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.payment-card {
  padding: 30px;
}

.payment-card h2 {
  margin: 18px 0;
  font-size: 26px;
  letter-spacing: -.025em;
}

.payment-card .read-only-caption {
  color: var(--muted);
  line-height: 1.55;
}

.devices-card {
  scroll-margin-top: 24px;
}

@media (max-width: 640px) {
  .subscription-status-row {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .connect-now-button {
    width: 100%;
  }

  .payment-card {
    padding: 21px;
    border-radius: 22px;
  }
}
