.cya-page--with-dock {
  padding-top: var(--cya-shell-header-offset, 104px);
  padding-bottom: var(--cya-shell-dock-offset, 144px);
  overflow-x: clip;
}

.hidden {
  display: none !important;
}

.cya-page--with-dock::before,
.cya-page--with-dock::after {
  content: "";
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(94px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.cya-page--with-dock::before {
  top: -150px;
  right: -90px;
  background: rgba(45, 107, 196, 0.12);
}

.cya-page--with-dock::after {
  left: -130px;
  bottom: -150px;
  background: rgba(178, 34, 34, 0.08);
}

.cya-page--with-dock .cya-shell {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.cya-page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-align: center;
  padding-top: 10px;
}

.cya-page-intro__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: rgba(45, 107, 196, 0.14);
  border: 1px solid rgba(45, 107, 196, 0.18);
  color: var(--cya-primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.cya-page-intro__icon svg {
  width: 28px;
  height: 28px;
}

.cya-page-intro__eyebrow {
  color: var(--cya-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-page-intro__title {
  margin: 0;
  font-family: var(--cya-font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cya-page-intro__text {
  max-width: 640px;
  margin: 0;
  color: var(--cya-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.cya-auth-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 340px);
}

.cya-auth-card {
  width: min(100%, 700px);
  padding: 28px;
}

.cya-auth-form {
  display: grid;
  gap: 18px;
}

.cya-auth-links {
  margin-top: 18px;
  color: var(--cya-text-muted);
  font-size: 14px;
  text-align: center;
}

.cya-auth-links a,
.cya-note a,
.cya-card-link {
  color: var(--cya-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(178, 34, 34, 0.24);
}

.cya-auth-links a:hover,
.cya-note a:hover,
.cya-card-link:hover {
  border-bottom-color: rgba(178, 34, 34, 0.6);
}

.cya-hint-row {
  margin-top: -4px;
  color: var(--cya-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.cya-auth-match-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(37, 40, 48, 0.56);
  color: var(--cya-text-soft);
  font-size: 13px;
  line-height: 1.4;
}

.cya-auth-match-state__dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 999px;
  background: #7f8796;
  box-shadow: 0 0 0 4px rgba(127, 135, 150, 0.14);
}

.cya-auth-match-state.is-ok {
  border-color: rgba(82, 201, 123, 0.28);
  background: rgba(31, 51, 39, 0.48);
  color: #dff7e7;
}

.cya-auth-match-state.is-ok .cya-auth-match-state__dot {
  background: #52c97b;
  box-shadow: 0 0 0 4px rgba(82, 201, 123, 0.16);
}

.cya-input[readonly] {
  opacity: 0.78;
  cursor: not-allowed;
  background: rgba(37, 40, 48, 0.82);
}

.cya-business-cta {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(178, 34, 34, 0.24);
  background: rgba(37, 40, 48, 0.7);
  text-align: center;
}

.cya-business-cta__title {
  margin: 0;
  color: var(--cya-text-soft);
  font-size: 14px;
}

.cya-profile-layout {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.cya-profile-highlights {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 20px;
}

.cya-profile-highlight {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(45, 107, 196, 0.18);
  background:
    radial-gradient(circle at top right, rgba(45, 107, 196, 0.16), transparent 42%),
    rgba(26, 29, 33, 0.94);
}

.cya-profile-highlight--push {
  border-color: rgba(91, 154, 245, 0.16);
  background:
    radial-gradient(circle at top right, rgba(124, 198, 255, 0.12), transparent 42%),
    rgba(26, 29, 33, 0.94);
}

.cya-profile-highlight__spotlight {
  display: grid;
  gap: 10px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(45, 107, 196, 0.18), rgba(26, 29, 33, 0.35));
}

.cya-profile-highlight__eyebrow {
  color: #a8cdfa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-profile-highlight__title {
  margin: 0;
  font-family: var(--cya-font-heading);
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.14;
}

.cya-profile-highlight__text {
  margin: 0;
  color: var(--cya-text-soft);
  line-height: 1.7;
}

.cya-profile-highlight__body {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px 22px;
}

.cya-profile-highlight__callout {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 154, 245, 0.2);
  background: rgba(37, 40, 48, 0.72);
  color: var(--cya-text-soft);
  line-height: 1.65;
}

.cya-profile-highlight__callout strong {
  color: var(--cya-text);
}

.cya-profile-highlight__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--cya-text-soft);
  line-height: 1.65;
}

.cya-profile-highlight__actions {
  margin-top: 0;
}

.cya-profile-card {
  padding: 24px;
}

.cya-profile-card__rows {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cya-profile-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(37, 40, 48, 0.6);
}

.cya-profile-row__label {
  color: var(--cya-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-profile-row__value {
  color: var(--cya-text);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.cya-inline-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cya-inline-buttons .cya-button {
  flex: 1 1 220px;
}

.cya-profile-modal {
  width: min(100%, 720px);
}

.cya-profile-edit-form {
  display: grid;
  gap: 18px;
}

.cya-profile-edit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4px;
}

.cya-profile-security {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(178, 34, 34, 0.2);
  border-radius: 18px;
  background: rgba(37, 40, 48, 0.72);
}

.cya-profile-security__copy {
  display: grid;
  gap: 8px;
}

.cya-profile-security__text {
  margin: 0;
  color: var(--cya-text-soft);
  line-height: 1.6;
}

.cya-profile-security .cya-button {
  flex: 0 0 auto;
  min-width: 220px;
}

.cya-profile-edit__hint {
  margin: 0;
}

.cya-note {
  color: var(--cya-text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.cya-section-title {
  margin: 0;
  font-family: var(--cya-font-heading);
  font-size: 24px;
  font-weight: 700;
}

.cya-list-card {
  overflow: hidden;
  padding: 0;
}

.cya-list-card__header {
  padding: 20px 22px 12px;
}

.cya-list-card__content {
  padding: 0 16px 16px;
}

.cya-token-card {
  padding: 0 0 22px;
  overflow: hidden;
}

.cya-token-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 22px;
}

.cya-token-stat {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(37, 40, 48, 0.68);
}

.cya-token-stat__label {
  color: var(--cya-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-token-stat__value {
  color: var(--cya-text);
  font-size: 18px;
  line-height: 1.4;
}

.cya-token-card__note {
  margin: 18px 22px 0;
}

.cya-token-warning {
  margin: 18px 22px 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(246, 208, 139, 0.34);
  background: rgba(246, 208, 139, 0.12);
  color: #ffe4aa;
  line-height: 1.6;
}

.cya-token-card__actions {
  justify-content: center;
  margin: 18px 22px 0;
}

.cya-token-card__actions .cya-button {
  flex: 0 0 auto;
  min-width: 0;
}

.cya-profile-agenda-warning {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(244, 182, 95, 0.34);
  background:
    radial-gradient(circle at top right, rgba(244, 182, 95, 0.16), transparent 42%),
    rgba(59, 33, 12, 0.72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.cya-profile-agenda-warning__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(244, 182, 95, 0.2);
  color: #ffdca2;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255, 215, 150, 0.08) inset;
}

.cya-profile-agenda-warning__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cya-profile-agenda-warning__copy strong {
  color: #fff2d3;
  font-size: 16px;
  line-height: 1.35;
}

.cya-profile-agenda-warning__copy span {
  color: rgba(255, 236, 201, 0.88);
  line-height: 1.6;
}

.cya-list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cya-list-item__meta {
  display: grid;
  gap: 6px;
  color: var(--cya-text-soft);
  line-height: 1.55;
}

.cya-list-item__meta strong {
  color: var(--cya-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-empty-card {
  padding: 18px;
  color: var(--cya-text-muted);
  text-align: center;
}

.cya-error-banner {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(232, 112, 112, 0.3);
  background: rgba(232, 112, 112, 0.12);
  color: #ffc2c2;
  line-height: 1.5;
}

.cya-auth-notice {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 154, 245, 0.2);
  background: linear-gradient(180deg, rgba(16, 28, 53, 0.96) 0%, rgba(10, 18, 34, 0.94) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.cya-auth-notice--success {
  border-color: rgba(98, 207, 137, 0.28);
  background: linear-gradient(180deg, rgba(16, 43, 32, 0.96) 0%, rgba(10, 25, 19, 0.95) 100%);
}

.cya-auth-notice--error {
  border-color: rgba(232, 112, 112, 0.3);
  background: linear-gradient(180deg, rgba(53, 21, 21, 0.96) 0%, rgba(31, 14, 14, 0.95) 100%);
}

.cya-auth-notice__content {
  display: grid;
  gap: 8px;
}

.cya-auth-notice__eyebrow {
  color: rgba(194, 213, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-auth-notice__title {
  margin: 0;
  color: #f6fbff;
  font-size: 18px;
  font-weight: 700;
}

.cya-auth-notice__text {
  margin: 0;
  color: rgba(233, 239, 255, 0.82);
  line-height: 1.65;
}

.cya-auth-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cya-auth-pill {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(91, 154, 245, 0.24);
  background: rgba(18, 31, 57, 0.68);
  color: rgba(230, 237, 255, 0.88);
}

.cya-auth-pill strong {
  color: #f6fbff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cya-legal-footer {
  margin-top: 24px;
  color: rgba(240, 240, 240, 0.44);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 768px) {
  .cya-page--with-dock {
    padding-top: var(--cya-shell-header-offset, 96px);
    padding-bottom: var(--cya-shell-dock-offset, 132px);
  }

  .cya-auth-card,
  .cya-profile-card {
    padding: 20px;
  }

  .cya-profile-row,
  .cya-list-item {
    flex-direction: column;
  }

  .cya-token-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .cya-token-card__note {
    margin-left: 20px;
    margin-right: 20px;
  }

  .cya-token-warning,
  .cya-token-card__actions {
    margin-left: 20px;
    margin-right: 20px;
  }

  .cya-profile-agenda-warning {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .cya-profile-agenda-warning .cya-button {
    width: 100%;
  }

  .cya-profile-edit-grid {
    grid-template-columns: 1fr;
  }

  .cya-profile-security {
    flex-direction: column;
  }

  .cya-profile-security .cya-button {
    width: 100%;
    min-width: 0;
  }

  .cya-profile-row__value {
    text-align: left;
  }

  .cya-profile-highlight__spotlight,
  .cya-profile-highlight__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cya-inline-buttons .cya-button {
    flex-basis: 100%;
  }

  .cya-token-card__actions .cya-button {
    flex-basis: auto;
    width: auto;
  }
}
