/* Vybe demo shell — shared with historical-trades layout */
html {
  overflow-x: auto;
  min-width: 1150px;
}
body {
  min-width: 1150px;
}
:root {
  --vybe-border: #2a2a32;
  --vybe-surface: #18181b;
  --vybe-text-muted: #a1a1aa;
  --vybe-accent-soft: rgba(34, 211, 238, 0.1);
}

.page-masthead {
  margin-bottom: 1.35rem;
  padding: 1.5rem 1.45rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--vybe-border);
  background: linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.page-masthead::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.45) 0%, rgba(59, 130, 246, 0.35) 40%, rgba(139, 92, 246, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.page-masthead::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #22d3ee 0%, #3b82f6 55%, #8b5cf6 100%);
}

.page-masthead__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.15rem;
}

.page-masthead__title-block {
  flex: 1 1 280px;
  min-width: 0;
  margin-bottom: 0;
}

.page-masthead__visual {
  flex: 0 1 120px;
  max-width: 120px;
  min-width: 0;
  overflow: hidden;
}

.page-masthead__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .page-masthead__visual {
    flex: 0 1 auto;
    max-width: 120px;
  }
}

@media (max-width: 640px) {
  .page-masthead__visual {
    display: none;
  }
}

.page-masthead__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.page-masthead__logo {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f4f4f5;
}

.page-masthead__pill {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #67e8f9;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: var(--vybe-accent-soft);
}

.page-masthead__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fafafa;
}

.page-masthead__title-accent {
  background: linear-gradient(105deg, #67e8f9 0%, #60a5fa 45%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-masthead__description {
  margin: 0;
  max-width: 68ch;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #c4c4cc;
}

.page-masthead__nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(63, 63, 70, 0.35);
}

.page-masthead__nav-row--primary {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  width: 100%;
}

.page-masthead__nav-cluster {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  min-width: 0;
}

.page-masthead__group--endpoints .page-masthead__btns {
  flex-wrap: nowrap;
}

.page-masthead__group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.page-masthead__group--community {
  justify-self: end;
}

.page-masthead__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
}

.page-masthead__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page-masthead__btns--endpoints {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
}

.page-masthead__btns--endpoints .page-masthead__btn {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1024px) {
  .page-masthead__btns--endpoints {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-masthead__nav-row--primary {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .page-masthead__group--community {
    justify-self: start;
  }

  .page-masthead__btns--endpoints {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .page-masthead__btns--endpoints {
    grid-template-columns: 1fr;
  }
}

.page-masthead__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.85rem;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  text-transform: none;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.page-masthead__btn-icon {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  background: currentColor;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}

.page-masthead__btn-icon--docs {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--endpoint {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5a2 2 0 0 0 2 2h1'/%3E%3Cpath d='M16 21h1a2 2 0 0 0 2-2v-5a2 2 0 0 1 2-2 2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5a2 2 0 0 0 2 2h1'/%3E%3Cpath d='M16 21h1a2 2 0 0 0 2-2v-5a2 2 0 0 1 2-2 2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--github {
  border-radius: 50%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.48 2 2 6.58 2 12.26c0 4.5 2.87 8.32 6.84 9.67.5.1.68-.22.68-.48 0-.24-.01-.87-.01-1.7-2.78.62-3.37-1.36-3.37-1.36-.45-1.18-1.12-1.5-1.12-1.5-.92-.65.07-.64.07-.64 1.02.07 1.55 1.07 1.55 1.07.9 1.57 2.36 1.12 2.94.86.09-.67.35-1.12.64-1.38-2.22-.26-4.56-1.14-4.56-5.07 0-1.12.39-2.03 1.03-2.75-.1-.26-.45-1.32.1-2.74 0 0 .84-.27 2.75 1.02A9.3 9.3 0 0 1 12 6.84c.85 0 1.71.12 2.51.34 1.91-1.29 2.75-1.02 2.75-1.02.55 1.42.2 2.48.1 2.74.64.72 1.03 1.63 1.03 2.75 0 3.94-2.34 4.81-4.57 5.07.36.32.68.94.68 1.9 0 1.37-.01 2.47-.01 2.81 0 .27.18.59.69.49A10.03 10.03 0 0 0 22 12.26C22 6.58 17.52 2 12 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2C6.48 2 2 6.58 2 12.26c0 4.5 2.87 8.32 6.84 9.67.5.1.68-.22.68-.48 0-.24-.01-.87-.01-1.7-2.78.62-3.37-1.36-3.37-1.36-.45-1.18-1.12-1.5-1.12-1.5-.92-.65.07-.64.07-.64 1.02.07 1.55 1.07 1.55 1.07.9 1.57 2.36 1.12 2.94.86.09-.67.35-1.12.64-1.38-2.22-.26-4.56-1.14-4.56-5.07 0-1.12.39-2.03 1.03-2.75-.1-.26-.45-1.32.1-2.74 0 0 .84-.27 2.75 1.02A9.3 9.3 0 0 1 12 6.84c.85 0 1.71.12 2.51.34 1.91-1.29 2.75-1.02 2.75-1.02.55 1.42.2 2.48.1 2.74.64.72 1.03 1.63 1.03 2.75 0 3.94-2.34 4.81-4.57 5.07.36.32.68.94.68 1.9 0 1.37-.01 2.47-.01 2.81 0 .27.18.59.69.49A10.03 10.03 0 0 0 22 12.26C22 6.58 17.52 2 12 2z'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--telegram {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.447 1.394c-.16.16-.295.295-.605.295l.213-3.053 5.56-5.023c.242-.213-.054-.333-.373-.12l-6.87 4.326-2.96-.924c-.64-.203-.658-.64.136-.953l11.566-4.458c.525-.194 1.001.118.832.941z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.447 1.394c-.16.16-.295.295-.605.295l.213-3.053 5.56-5.023c.242-.213-.054-.333-.373-.12l-6.87 4.326-2.96-.924c-.64-.203-.658-.64.136-.953l11.566-4.458c.525-.194 1.001.118.832.941z'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--x {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.9 2H22l-6.8 7.8L23 22h-6.7l-5.2-6.8L5.5 22H2.4l7.3-8.4L1 2h6.8l4.7 6.2L18.9 2zm-1.2 18h1.9L7.1 3.9H5.1L17.7 20z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M18.9 2H22l-6.8 7.8L23 22h-6.7l-5.2-6.8L5.5 22H2.4l7.3-8.4L1 2h6.8l4.7 6.2L18.9 2zm-1.2 18h1.9L7.1 3.9H5.1L17.7 20z'/%3E%3C/svg%3E");
}

.page-masthead__btn-text {
  text-transform: none;
}

.page-masthead__btn-prefix {
  font-weight: 700;
  text-transform: none;
}

.page-masthead__btn--docs {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.page-masthead__btn--docs:hover {
  background: #3b82f6;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.page-masthead__btn--api {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.32);
  color: #c4b5fd;
}

.page-masthead__btn--api:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.page-masthead__btn--github {
  background: rgba(244, 244, 245, 0.06);
  border-color: rgba(161, 161, 170, 0.28);
  color: #e4e4e7;
}

.page-masthead__btn--github:hover {
  background: #fafafa;
  color: #18181b;
  transform: translateY(-1px);
  text-decoration: none;
}

.page-masthead__btn--social {
  background: rgba(39, 39, 42, 0.85);
  border-color: #3f3f46;
  color: #d4d4d8;
}

.page-masthead__btn--social:hover {
  background: #3f3f46;
  color: #fafafa;
  transform: translateY(-1px);
  text-decoration: none;
}

.page-masthead__btn-icon--demo-trades {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--demo-ohlc {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16V8M12 20V4M17 14v-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16V8M12 20V4M17 14v-4'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--demo-token {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--demo-wallet {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M16 14h.01'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--demo-holders {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.page-masthead__btn-icon--demo-traders {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 6l-9.5 9.5-5-5L1 18'/%3E%3Cpath d='M17 6h6v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 6l-9.5 9.5-5-5L1 18'/%3E%3Cpath d='M17 6h6v6'/%3E%3C/svg%3E");
}

.page-masthead__nav-row--secondary-endpoints {
  width: 100%;
  padding-top: 0.35rem;
}

.page-masthead__group--secondary-endpoints {
  width: 100%;
}

.page-masthead__btns--secondary-endpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.page-masthead__btns--secondary-endpoints .page-masthead__btn {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
}

.page-masthead__nav-row--related {
  width: 100%;
  padding-top: 0.2rem;
}

.page-masthead__group--related {
  width: 100%;
}

.page-masthead__btns--related {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

.page-masthead__btns--related .page-masthead__btn {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  gap: 0.55rem;
  padding: 0.58rem 0.82rem;
  white-space: normal;
  line-height: 1.25;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.page-masthead__demo-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.page-masthead__btn--demo .page-masthead__btn-icon {
  width: 1rem;
  height: 1rem;
}

.page-masthead__btn--demo .page-masthead__btn-text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.page-masthead__btn--demo-trades {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16) 0%, rgba(22, 101, 52, 0.1) 100%);
  border-color: rgba(74, 222, 128, 0.32);
  color: #bbf7d0;
}

.page-masthead__btn--demo-trades .page-masthead__demo-icon-wrap {
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
}

.page-masthead__btn--demo-trades:hover {
  background: rgba(34, 197, 94, 0.3);
  border-color: rgba(74, 222, 128, 0.55);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.18);
}

.page-masthead__btn--demo-ohlc {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(180, 83, 9, 0.1) 100%);
  border-color: rgba(251, 191, 36, 0.32);
  color: #fde68a;
}

.page-masthead__btn--demo-ohlc .page-masthead__demo-icon-wrap {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
}

.page-masthead__btn--demo-ohlc:hover {
  background: rgba(245, 158, 11, 0.3);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.page-masthead__btn--demo-token {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16) 0%, rgba(30, 64, 175, 0.1) 100%);
  border-color: rgba(147, 197, 253, 0.32);
  color: #bfdbfe;
}

.page-masthead__btn--demo-token .page-masthead__demo-icon-wrap {
  background: rgba(59, 130, 246, 0.22);
  color: #60a5fa;
}

.page-masthead__btn--demo-token:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(147, 197, 253, 0.55);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.18);
}

.page-masthead__btn--demo-wallet {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16) 0%, rgba(15, 118, 110, 0.1) 100%);
  border-color: rgba(45, 212, 191, 0.32);
  color: #99f6e4;
}

.page-masthead__btn--demo-wallet .page-masthead__demo-icon-wrap {
  background: rgba(20, 184, 166, 0.22);
  color: #2dd4bf;
}

.page-masthead__btn--demo-wallet:hover {
  background: rgba(20, 184, 166, 0.3);
  border-color: rgba(45, 212, 191, 0.55);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.18);
}

.page-masthead__btn--demo-holders {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.16) 0%, rgba(91, 33, 182, 0.1) 100%);
  border-color: rgba(196, 181, 253, 0.32);
  color: #ddd6fe;
}

.page-masthead__btn--demo-holders .page-masthead__demo-icon-wrap {
  background: rgba(139, 92, 246, 0.22);
  color: #a78bfa;
}

.page-masthead__btn--demo-holders:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(196, 181, 253, 0.55);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.18);
}

.page-masthead__btn--demo-traders {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16) 0%, rgba(190, 18, 60, 0.1) 100%);
  border-color: rgba(251, 113, 133, 0.32);
  color: #fecdd3;
}

.page-masthead__btn--demo-traders .page-masthead__demo-icon-wrap {
  background: rgba(244, 63, 94, 0.22);
  color: #fb7185;
}

.page-masthead__btn--demo-traders:hover {
  background: rgba(244, 63, 94, 0.3);
  border-color: rgba(251, 113, 133, 0.55);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.18);
}

@media (max-width: 1024px) {
  .page-masthead__btns--related {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-masthead__btns--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 400px) {
  .page-masthead__btns--related {
    grid-template-columns: 1fr;
  }
}

.section-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--vybe-border);
  padding: 1.35rem 1.3rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  z-index: 1;
}

.section-card--remote {
  border-color: rgba(59, 130, 246, 0.32);
  background:
    linear-gradient(155deg, rgba(22, 28, 40, 0.25) 0%, rgba(10, 12, 20, 0.25) 50%, rgba(14, 22, 38, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(96, 165, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card--remote::before {
  background: linear-gradient(180deg, #3b82f6, #22d3ee);
}

.section-card--token {
  border-color: rgba(139, 92, 246, 0.32);
  background:
    linear-gradient(155deg, rgba(28, 24, 38, 0.25) 0%, rgba(11, 10, 18, 0.25) 50%, rgba(20, 16, 34, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(167, 139, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card--token::before {
  background: linear-gradient(180deg, #a78bfa, #8b5cf6);
}

.section-card--summary {
  border-color: rgba(96, 165, 250, 0.32);
  background:
    linear-gradient(155deg, rgba(22, 28, 42, 0.25) 0%, rgba(10, 12, 18, 0.25) 50%, rgba(16, 22, 40, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(96, 165, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card--summary::before {
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

.section-card--local {
  border-color: rgba(245, 158, 11, 0.32);
  background:
    linear-gradient(155deg, rgba(34, 26, 18, 0.25) 0%, rgba(14, 11, 10, 0.25) 50%, rgba(28, 18, 14, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(245, 158, 11, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card--local::before {
  background: linear-gradient(180deg, #f59e0b, #f97316);
}

.section-card--trades {
  border-color: rgba(34, 197, 94, 0.32);
  background:
    linear-gradient(155deg, rgba(18, 30, 24, 0.25) 0%, rgba(10, 14, 12, 0.25) 50%, rgba(14, 28, 26, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(34, 197, 94, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card--trades::before {
  background: linear-gradient(180deg, #22c55e, #14b8a6);
}

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

.section-card .section-header {
  gap: 0.5rem 0.75rem;
  padding-bottom: 0.55rem;
  margin-bottom: 0;
  border-bottom: none;
}

.section-header__marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f3f46;
}

.section-card--remote .section-header__marker { background: #3b82f6; box-shadow: 0 0 10px rgba(59, 130, 246, 0.45); }
.section-card--token .section-header__marker { background: #8b5cf6; box-shadow: 0 0 10px rgba(139, 92, 246, 0.45); }
.section-card--summary .section-header__marker { background: #60a5fa; box-shadow: 0 0 10px rgba(96, 165, 250, 0.45); }
.section-card--local .section-header__marker { background: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.45); }
.section-card--trades .section-header__marker { background: #22c55e; box-shadow: 0 0 10px rgba(34, 197, 94, 0.45); }

.section-card--trades .section-header {
  border-bottom: none;
}

.section-header__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: #f4f4f5;
}
.vybe-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.52rem 0.85rem;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  text-transform: none;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.vybe-action-btn--fetch {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.vybe-action-btn--fetch:hover:not(:disabled) {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
  transform: translateY(-1px);
}

.vybe-action-btn--export {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.vybe-action-btn--export:hover:not(:disabled) {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  transform: translateY(-1px);
}

.vybe-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.vybe-action-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.vybe-action-btn__icon {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  background: currentColor;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}

.vybe-action-btn__icon--fetch {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2a8 8 0 1 0 4.9 14.3l4.4 4.4a1 1 0 0 0 1.4-1.4l-4.4-4.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12a6 6 0 0 1 0-12Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 2a8 8 0 1 0 4.9 14.3l4.4 4.4a1 1 0 0 0 1.4-1.4l-4.4-4.4A8 8 0 0 0 10 2Zm0 2a6 6 0 1 1 0 12a6 6 0 0 1 0-12Z'/%3E%3C/svg%3E");
}

.vybe-action-btn__icon--export {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v9.6l2.3-2.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L11 13.6V4a1 1 0 0 1 1-1Zm-7 16a1 1 0 0 1 1 1v1h12v-1a1 1 0 1 1 2 0v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a1 1 0 0 1 1 1v9.6l2.3-2.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L11 13.6V4a1 1 0 0 1 1-1Zm-7 16a1 1 0 0 1 1 1v1h12v-1a1 1 0 1 1 2 0v1a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
}

.vybe-action-btn__icon--export-pages {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm0 2v12h9V5H7Zm12 3h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9a1 1 0 1 1 0-2h11V10h-1a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm0 2v12h9V5H7Zm12 3h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9a1 1 0 1 1 0-2h11V10h-1a1 1 0 1 1 0-2Z'/%3E%3C/svg%3E");
}

.fetch-btn-attention {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px #22c55e;
  animation: fetch-btn-pulse 1.2s ease-in-out infinite;
}

.vybe-action-btn--fetch.fetch-btn-attention {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #bbf7d0;
}

@keyframes fetch-btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 40px;
  max-height: 40px;
}

.section-header h2,
.section-header__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: #f4f4f5;
}
@keyframes section-loading-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(59, 130, 246, 0.45),
      0 0 10px rgba(59, 130, 246, 0.35),
      0 0 0 0 rgba(59, 130, 246, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(59, 130, 246, 0.55),
      0 0 14px rgba(59, 130, 246, 0.45),
      0 0 0 6px rgba(59, 130, 246, 0);
  }
}

@keyframes section-error-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(248, 113, 113, 0.45),
      0 0 10px rgba(239, 68, 68, 0.35),
      0 0 0 0 rgba(248, 113, 113, 0.55);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(248, 113, 113, 0.55),
      0 0 14px rgba(239, 68, 68, 0.45),
      0 0 0 6px rgba(248, 113, 113, 0);
  }
}

.section-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #93c5fd;
  line-height: 1.5;
  margin-left: 13px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #60a5fa;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 0 10px rgba(59, 130, 246, 0.25);
  animation: section-loading-pulse 1.2s ease-in-out infinite;
}

.section-loading[hidden] {
  display: none !important;
}

.section-error {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fca5a5;
  line-height: 1.5;
  border: 1px solid #f87171;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  margin-left: 13px;
  background: rgba(239, 68, 68, 0.1);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35), 0 0 10px rgba(239, 68, 68, 0.25);
  animation: section-error-pulse 1.2s ease-in-out infinite;
}

.section-error[hidden] {
  display: none !important;
}

.loading-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #3f3f46;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: loading-spin 0.7s linear infinite;
}

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

.loading-text {
  margin: 0;
}
.section-card.panel {
  background: unset;
  border: unset;
  border-radius: 16px;
  box-shadow: unset;
}

.section-card.panel.section-card--remote {
  border: 1px solid rgba(59, 130, 246, 0.32);
  background:
    linear-gradient(155deg, rgba(22, 28, 40, 0.25) 0%, rgba(10, 12, 20, 0.25) 50%, rgba(14, 22, 38, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(96, 165, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card.panel.section-card--token {
  border: 1px solid rgba(139, 92, 246, 0.32);
  background:
    linear-gradient(155deg, rgba(28, 24, 38, 0.25) 0%, rgba(11, 10, 18, 0.25) 50%, rgba(20, 16, 34, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(167, 139, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card.panel.section-card--summary {
  border: 1px solid rgba(96, 165, 250, 0.32);
  background:
    linear-gradient(155deg, rgba(22, 28, 42, 0.25) 0%, rgba(10, 12, 18, 0.25) 50%, rgba(16, 22, 40, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(96, 165, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card.panel.section-card--local {
  border: 1px solid rgba(245, 158, 11, 0.32);
  background:
    linear-gradient(155deg, rgba(34, 26, 18, 0.25) 0%, rgba(14, 11, 10, 0.25) 50%, rgba(28, 18, 14, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(245, 158, 11, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}

.section-card.panel.section-card--trades {
  border: 1px solid rgba(34, 197, 94, 0.32);
  background:
    linear-gradient(155deg, rgba(18, 30, 24, 0.25) 0%, rgba(10, 14, 12, 0.25) 50%, rgba(14, 28, 26, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(34, 197, 94, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}
.section-card--swap {
  border-color: rgba(34, 211, 238, 0.32);
  background:
    linear-gradient(155deg, rgba(18, 32, 36, 0.25) 0%, rgba(10, 14, 18, 0.25) 50%, rgba(14, 28, 34, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(34, 211, 238, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}
.section-card--swap::before {
  background: linear-gradient(180deg, #22d3ee, #06b6d4);
}
.section-card--chart {
  border-color: rgba(96, 165, 250, 0.32);
  background:
    linear-gradient(155deg, rgba(22, 28, 42, 0.25) 0%, rgba(10, 12, 18, 0.25) 50%, rgba(16, 22, 40, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(96, 165, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}
.section-card--chart::before {
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}
.section-card--swap .section-header__marker { background: #22d3ee; box-shadow: 0 0 10px rgba(34, 211, 238, 0.45); }
.section-card--chart .section-header__marker { background: #60a5fa; box-shadow: 0 0 10px rgba(96, 165, 250, 0.45); }
.section-card.panel.section-card--swap {
  border: 1px solid rgba(34, 211, 238, 0.32);
  background:
    linear-gradient(155deg, rgba(18, 32, 36, 0.25) 0%, rgba(10, 14, 18, 0.25) 50%, rgba(14, 28, 34, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(34, 211, 238, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}
.section-card.panel.section-card--chart {
  border: 1px solid rgba(96, 165, 250, 0.32);
  background:
    linear-gradient(155deg, rgba(22, 28, 42, 0.25) 0%, rgba(10, 12, 18, 0.25) 50%, rgba(16, 22, 40, 0.25) 100%),
    linear-gradient(155deg, rgba(24, 26, 34, 0.98) 0%, rgba(12, 13, 18, 0.99) 50%, rgba(15, 18, 28, 0.98) 100%);
  box-shadow: 0 1px 0 rgba(96, 165, 250, 0.02) inset, 0 20px 48px rgba(0, 0, 0, 0.4);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
