.dva-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Status Pill */
.dva-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ux-surface);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ux-ink-2);
}

.dva-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ux-mint);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Top Domain & Controls Card */
.dva-top-card {
  background: var(--ux-surface);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dva-domain-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dva-monogram {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ux-ink);
}

.dva-domain-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dva-clock {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ux-ink-3);
  font-variant-numeric: tabular-nums;
}

.dva-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dva-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  color: var(--ux-ink);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.dva-btn:hover {
  background: var(--ux-surface-3);
}

.dva-btn-solid {
  background: var(--ux-ink);
  color: var(--ux-page);
  box-shadow: none;
}

.dva-btn-solid:hover {
  opacity: 0.92;
  background: var(--ux-ink);
}

/* Segmented Tabs Bar */
.dva-tabs-bar {
  background: var(--ux-surface);
  border-radius: 16px;
  padding: 6px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dva-tabs-bar::-webkit-scrollbar {
  display: none;
}

.dva-tab {
  border: 0;
  background: transparent;
  color: var(--ux-ink-2);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 11px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.dva-tab:hover {
  color: var(--ux-ink);
  background: var(--ux-surface-2);
}

.dva-tab[aria-selected="true"] {
  background: var(--ux-ink);
  color: var(--ux-page);
}

/* Main Section Cards */
.dva-card {
  background: var(--ux-surface);
  border-radius: 20px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dva-card-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.dva-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ux-ink-3);
}

.dva-kicker-right {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ux-ink-3);
}

/* 01 / PROFILE & CHANNELS */
.dva-profile-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.dva-avatar-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex: none;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ux-line-2);
  background: var(--ux-surface-2);
}

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

.dva-display-name {
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.dva-role-sub {
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ux-ink-2);
}

.dva-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ux-ink-2);
  max-width: 66ch;
}

.dva-stack-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ux-ink-2);
}

.dva-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  font-size: 12px;
  font-weight: 650;
  color: var(--ux-ink);
}

.dva-tools-line {
  margin: 0;
  font-size: 13px;
  color: var(--ux-ink-2);
  line-height: 1.6;
}

.dva-tools-line a {
  color: var(--ux-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 650;
}

.dva-channel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.dva-channel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
}

.dva-channel-item.is-featured {
  background: var(--ux-ink);
  color: var(--ux-page);
  box-shadow: none;
}

.dva-channel-title {
  font-size: 14.5px;
  font-weight: 800;
}

.dva-channel-sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ux-ink-3);
}

.dva-channel-item.is-featured .dva-channel-sub {
  color: color-mix(in srgb, var(--ux-page) 72%, transparent);
}

.dva-channel-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--ux-surface);
  box-shadow: inset 0 0 0 1px var(--ux-line-2);
  color: var(--ux-ink);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.dva-channel-item.is-featured .dva-channel-btn {
  background: var(--ux-surface);
  color: #11131A;
  box-shadow: none;
}

/* 02 / TELEGRAM BOTS */
.dva-bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.dva-bot-card {
  background: var(--ux-surface-2);
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dva-bot-handle {
  font-size: 16px;
  font-weight: 850;
  color: var(--ux-ink);
}

.dva-bot-role {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ux-ink-3);
}

.dva-bot-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ux-ink-2);
  flex: 1;
}

.dva-bot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.dva-bot-open {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ux-ink);
  color: var(--ux-page);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 03 / LIVE SESSION TELEMETRY */
.dva-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.dva-stat-box {
  background: var(--ux-surface-2);
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dva-stat-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ux-ink-3);
}

.dva-stat-num {
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.dva-stat-sub {
  font-size: 12.5px;
  color: var(--ux-ink-2);
}

.dva-chart-box {
  background: var(--ux-surface-2);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
}

.dva-chart-box svg {
  display: block;
  width: 100%;
  height: 110px;
  margin-top: 6px;
}

/* 04 / INTERACTIVE SHELL */
.dva-cmd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dva-cmd-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  border: 0;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  color: var(--ux-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 650;
}

.dva-cmd-chip:hover {
  background: var(--ux-surface-3);
}

.dva-term-screen {
  background: var(--ux-surface-2);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--ux-line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ux-ink-2);
  min-height: 86px;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.dva-term-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dva-prompt {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--ux-accent);
  white-space: nowrap;
}

.dva-term-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 0;
  background: var(--ux-surface-2);
  box-shadow: inset 0 0 0 1px var(--ux-line);
  color: var(--ux-ink);
  font-size: 13px;
}

/* Music Player Card */
.dva-now-playing {
  background: var(--ux-ink);
  color: var(--ux-page);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dva-cover-wrap {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  background: var(--ux-surface-2);
}

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

.dva-track-title {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}

.dva-track-meta {
  margin-top: 3px;
  font-size: 12.5px;
  opacity: 0.78;
}

.dva-seek-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ux-ink-3);
}

.dva-range {
  flex: 1;
  accent-color: var(--ux-ink);
  cursor: pointer;
}

.dva-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dva-transport {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dva-vol-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ux-ink-2);
}

.dva-vol-wrap .dva-range {
  width: 96px;
  accent-color: var(--ux-accent);
}

.dva-playlist {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ux-line);
}

.dva-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--ux-line);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dva-track-row:hover {
  background: var(--ux-surface-2);
}

.dva-track-row.is-active {
  background: var(--ux-surface-2);
  font-weight: 800;
}

.dva-track-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dva-track-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}

.dva-track-right {
  font-size: 12px;
  color: var(--ux-ink-3);
  white-space: nowrap;
}

/* Floating Bottom Dock */
.dva-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ux-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--ux-glass-line), 0 14px 32px -10px var(--ux-shadow-strong);
}

.dva-swatches {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dva-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  background: var(--sw-color);
  transition: transform 0.2s var(--ux-spring), border-color 0.2s;
}

.dva-swatch.is-active {
  transform: scale(1.18);
  border-color: var(--ux-ink);
}

.dva-dock-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ux-surface-2);
  color: var(--ux-ink-2);
  white-space: nowrap;
}

.dva-dock-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ux-ink);
  display: grid;
  place-items: center;
}

.dva-dock-btn:hover {
  background: var(--ux-surface-2);
}

@media (max-width: 640px) {
  .dva-wrap {
    padding: 12px 12px 86px;
  }
  .dva-dock {
    max-width: calc(100vw - 20px);
    gap: 6px;
    padding: 6px 10px;
  }
  .dva-swatch {
    width: 15px;
    height: 15px;
  }
}
