:root {
  --vone-glass-canvas: #030814;
  --vone-glass-panel: rgba(9, 18, 34, 0.76);
  --vone-glass-panel-strong: rgba(11, 22, 40, 0.92);
  --vone-glass-reading: rgba(10, 20, 36, 0.94);
  --vone-glass-stroke: rgba(188, 225, 255, 0.16);
  --vone-glass-stroke-strong: rgba(188, 225, 255, 0.28);
  --vone-glass-highlight: rgba(255, 255, 255, 0.1);
  --vone-glass-ink: #f7fbff;
  --vone-glass-muted: rgba(225, 238, 255, 0.69);
  --vone-glass-soft: rgba(225, 238, 255, 0.5);
  --vone-glass-blue: #3d86f5;
  --vone-glass-cyan: #58e9e2;
  --vone-glass-mint: #9af7e9;
  --vone-glass-success: #63e6a1;
  --vone-glass-danger: #ffaaa9;
  --vone-glass-radius-xl: 30px;
  --vone-glass-radius-lg: 24px;
  --vone-glass-radius-md: 18px;
  --vone-glass-edge-light: rgba(238, 249, 255, 0.18);
  --vone-glass-depth-shadow: 0 28px 78px rgba(0, 4, 14, 0.34), 0 8px 22px rgba(0, 8, 22, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --vone-glass-icon-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(91, 160, 255, 0.07) 54%, rgba(88, 233, 226, 0.1));
  --vone-glass-shadow: var(--vone-glass-depth-shadow);
  --vone-glass-shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.24), 0 4px 12px rgba(0, 8, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --vone-glass-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --vone-motion-fast: 160ms;
  --vone-motion-base: 240ms;
  --vone-motion-ease: cubic-bezier(0.2, 0.82, 0.2, 1);
}

html {
  color-scheme: dark;
  background: var(--vone-glass-canvas);
}

.vone-site-shell,
.vone-auth-shell,
.vone-app-shell,
.vone-forum-shell {
  color: var(--vone-glass-ink);
  font-family: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.mobile-route-pill {
  display: none;
}

/* Motion system: compositor-friendly movement with bounded layer promotion. */
@media (prefers-reduced-motion: no-preference) {
  .vone-site-shell .reveal:not(.is-visible),
  .vone-site-shell .menu-toggle-lines > span,
  .vone-forum-shell .menu-toggle-lines > span,
  .vone-site-shell .header-actions,
  .vone-forum-shell .header-actions,
  .vone-app-shell .tab,
  .vone-auth-shell .inner,
  .vone-auth-shell .verification-success,
  .vone-auth-shell .success-check {
    backface-visibility: hidden;
    transform-style: preserve-3d;
  }

  .vone-site-shell .reveal:not(.is-visible),
  .vone-site-shell .header-actions.is-open,
  .vone-forum-shell .header-actions.is-open {
    will-change: transform, opacity;
  }
}

.vone-site-shell :where(a, button, input, textarea, select, summary),
.vone-auth-shell :where(a, button, input, textarea, select, summary),
.vone-app-shell :where(a, button, input, textarea, select, summary),
.vone-forum-shell :where(a, button, input, textarea, select, summary) {
  -webkit-tap-highlight-color: transparent;
}

.vone-site-shell :where(a, button, input, textarea, select, summary):focus-visible,
.vone-auth-shell :where(a, button, input, textarea, select, summary):focus-visible,
.vone-app-shell :where(a, button, input, textarea, select, summary):focus-visible,
.vone-forum-shell :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(88, 233, 226, 0.42);
  outline-offset: 3px;
}

/* Shared translucent chrome. Reading surfaces stay more opaque for comfort. */
.vone-site-shell .header-inner,
.vone-forum-shell .header-inner,
.vone-app-shell .desktop-sidebar,
.vone-app-shell .tabbar,
.vone-auth-shell .back-link {
  border-color: var(--vone-glass-stroke);
  background: var(--vone-glass-panel);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-site-shell :where(.card, .trust-card, .step-card, .faq-item),
.vone-app-shell .card,
.vone-forum-shell :where(.feed-card, .side-card, .article-panel, .article-link, .qa-card, .forum-filter),
.vone-auth-shell .card {
  border-color: var(--vone-glass-stroke);
  box-shadow: var(--vone-glass-shadow-soft);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vone-site-shell .header-inner,
  .vone-forum-shell .header-inner,
  .vone-app-shell .desktop-sidebar,
  .vone-app-shell .tabbar,
  .vone-auth-shell .back-link {
    background: rgba(9, 18, 34, 0.62);
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
  }
}

/* Cabinet */
.vone-app-shell {
  background:
    radial-gradient(circle at 76% -4%, rgba(61, 134, 245, 0.28), transparent 31%),
    radial-gradient(circle at 11% 24%, rgba(88, 233, 226, 0.11), transparent 32%),
    linear-gradient(180deg, #030814 0%, #081428 48%, #030814 100%);
}

.vone-app-shell .app {
  max-width: 1040px;
}

.vone-app-shell .top {
  margin-bottom: 20px;
}

.vone-app-shell .avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.vone-app-shell .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)), var(--vone-glass-reading);
}

.vone-app-shell .hero-card {
  border-color: rgba(136, 222, 255, 0.24);
  background:
    radial-gradient(circle at 88% 10%, rgba(88, 233, 226, 0.25), transparent 28%),
    linear-gradient(135deg, rgba(61, 134, 245, 0.44), rgba(42, 203, 203, 0.12)),
    rgba(8, 24, 48, 0.94);
}

.vone-app-shell :where(.btn, .platform-pill, .client-card, .device-option, .payment-option, .desktop-nav-link, .tab) {
  transition: transform var(--vone-motion-fast) var(--vone-motion-ease), border-color var(--vone-motion-fast) ease, background-color var(--vone-motion-fast) ease, color var(--vone-motion-fast) ease, opacity var(--vone-motion-fast) ease;
}

.vone-app-shell :where(.btn, .platform-pill, .client-card, .device-option, .payment-option):hover {
  transform: translateY(-1px);
}

.vone-app-shell .btn {
  border: 1px solid rgba(138, 248, 232, 0.2);
  background: linear-gradient(135deg, var(--vone-glass-blue), var(--vone-glass-cyan));
  box-shadow: 0 14px 34px rgba(47, 125, 240, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.vone-app-shell .btn.secondary {
  border-color: var(--vone-glass-stroke);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vone-app-shell .connection-grid {
  gap: 14px;
}

.vone-app-shell .connection-hero {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 24px;
  border-color: rgba(113, 222, 236, 0.3);
  background:
    radial-gradient(circle at 88% 8%, rgba(88, 233, 226, 0.23), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(61, 134, 245, 0.22), transparent 40%),
    rgba(9, 23, 44, 0.96);
}

.vone-app-shell .connection-eyebrow,
.vone-app-shell .connection-app,
.vone-app-shell .connection-summary,
.vone-forum-shell .forum-trust,
.vone-forum-shell .forum-search-row {
  display: flex;
  align-items: center;
}

.vone-app-shell .connection-eyebrow {
  justify-content: space-between;
  gap: 12px;
  color: var(--vone-glass-muted);
  font-size: 13px;
  font-weight: 850;
}

.vone-app-shell .ready-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(99, 230, 161, 0.22);
  border-radius: 999px;
  color: #c8ffe0;
  background: rgba(99, 230, 161, 0.11);
  white-space: nowrap;
}

.vone-app-shell .ready-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--vone-glass-success);
  box-shadow: 0 0 18px rgba(99, 230, 161, 0.72);
}

.vone-app-shell .connection-app {
  gap: 15px;
}

.vone-app-shell .connection-app-logo {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.vone-app-shell .connection-app-copy {
  min-width: 0;
}

.vone-app-shell .connection-app-copy span {
  display: block;
  margin-bottom: 4px;
  color: var(--vone-glass-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vone-app-shell .connection-app-copy strong {
  display: block;
  font-size: clamp(23px, 5.8vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.vone-app-shell .connection-app-copy p {
  margin-top: 7px;
}

.vone-app-shell .connection-primary {
  width: 100%;
  min-height: 58px;
  font-size: 16px;
}

.vone-app-shell .connection-summary {
  justify-content: center;
  gap: 7px;
  color: var(--vone-glass-soft);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.vone-app-shell .setup-switcher {
  display: grid;
  gap: 10px;
}

.vone-app-shell .platforms {
  flex-wrap: nowrap;
  gap: 6px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  scrollbar-width: none;
}

.vone-app-shell .platforms::-webkit-scrollbar {
  display: none;
}

.vone-app-shell .platform-pill {
  flex: 1 0 auto;
  min-height: 42px;
  justify-content: center;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  font-size: 13px;
}

.vone-app-shell .platform-pill.active {
  color: var(--vone-glass-ink);
  border-color: rgba(188, 225, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.vone-app-shell .client-picker,
.vone-app-shell .connection-advanced,
.vone-app-shell .telegram-connect {
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.vone-app-shell :where(.client-picker, .connection-advanced) > summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: var(--vone-glass-muted);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.vone-app-shell :where(.client-picker, .connection-advanced) > summary::-webkit-details-marker {
  display: none;
}

.vone-app-shell :where(.client-picker, .connection-advanced) > summary::after {
  content: "+";
  color: var(--vone-glass-cyan);
  font-size: 22px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.vone-app-shell :where(.client-picker, .connection-advanced)[open] > summary::after {
  transform: rotate(45deg);
}

.vone-app-shell .client-picker .client-grid,
.vone-app-shell .connection-advanced-body {
  padding: 0 14px 14px;
}

.vone-app-shell .client-card {
  min-height: 78px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.vone-app-shell .client-card.active {
  color: var(--vone-glass-ink);
  border-color: rgba(88, 233, 226, 0.42);
  background: rgba(88, 233, 226, 0.11);
  box-shadow: inset 0 0 0 1px rgba(88, 233, 226, 0.08);
}

.vone-app-shell .client-card.active .client-copy > span {
  color: var(--vone-glass-muted);
}

.vone-app-shell .setup-steps {
  counter-reset: setup-step;
  display: grid;
  gap: 9px;
}

.vone-app-shell .setup-step {
  counter-increment: setup-step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.vone-app-shell .setup-step::before {
  content: counter(setup-step);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #071426;
  background: linear-gradient(135deg, #efffff, var(--vone-glass-mint));
  font-size: 13px;
  font-weight: 950;
}

.vone-app-shell .setup-step strong {
  display: block;
  margin-top: 3px;
}

.vone-app-shell .setup-step p {
  margin-top: 5px;
  font-size: 14px;
}

.vone-app-shell .setup-step .btn {
  min-height: 44px;
  margin-top: 11px;
  border-radius: 15px;
}

.vone-app-shell .connection-advanced .field {
  max-height: 96px;
  overflow: auto;
  color: rgba(225, 238, 255, 0.58);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.vone-app-shell .telegram-connect {
  padding: 17px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.vone-app-shell .telegram-connect .btn {
  min-height: 46px;
  white-space: nowrap;
}

.vone-app-shell .tabbar {
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 42px;
  padding: 7px;
  overflow: hidden;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vone-app-shell .tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vone-app-shell .tab {
  min-height: 58px;
  border-radius: 34px;
  transform: translate3d(0, 0, 0);
}

/* One continuous mobile header surface: all actions fit inside the expanding glass. */
@media (max-width: 1099px) {
  .vone-site-shell .header-inner,
  .vone-forum-shell .header-inner {
    overflow: hidden;
  }

  .vone-site-shell .header-actions,
  .vone-forum-shell .header-actions {
    height: auto;
    max-height: 0;
    padding-top: 0;
    clip-path: inset(0 0 100% 0 round 22px);
    transition:
      max-height 440ms cubic-bezier(.16, 1, .3, 1),
      opacity 220ms ease,
      transform 360ms cubic-bezier(.16, 1, .3, 1),
      clip-path 360ms cubic-bezier(.16, 1, .3, 1),
      padding-top 360ms cubic-bezier(.16, 1, .3, 1),
      visibility 0s linear 440ms;
  }

  .vone-site-shell .header-actions.is-open,
  .vone-forum-shell .header-actions.is-open {
    height: auto;
    max-height: 190px;
    padding-top: 6px;
    clip-path: inset(0 0 0 0 round 22px);
    transition-delay: 0s;
  }

  .vone-site-shell .header-actions .pill.primary,
  .vone-forum-shell .header-actions .pill.primary {
    grid-column: 1 / -1;
  }

  .vone-site-shell .menu-toggle:not([aria-expanded="true"]) .menu-toggle-lines > span,
  .vone-forum-shell .menu-toggle:not([aria-expanded="true"]) .menu-toggle-lines > span {
    animation: none;
  }
}

.vone-app-shell .tab.active {
  color: #081426;
  background: linear-gradient(135deg, rgba(114, 164, 255, 0.98), rgba(88, 233, 226, 0.94));
  box-shadow: 0 10px 26px rgba(47, 125, 240, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.vone-app-shell .tab:active {
  transform: translate3d(0, 1px, 0) scale(0.98);
}

/* Forum: shared glass chrome, quieter reading cards and discovery first. */
.vone-forum-shell .forum-wrap {
  padding-top: 26px;
}

.vone-forum-shell .forum-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.vone-forum-shell .forum-title-row h1 {
  letter-spacing: -0.045em;
}

.vone-forum-shell .forum-title-row p {
  max-width: 690px;
}

.vone-forum-shell .forum-discovery {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 24px;
  background: rgba(9, 18, 34, 0.78);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-forum-shell .forum-search-row {
  gap: 10px;
}

.vone-forum-shell .forum-search {
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 17px;
  color: var(--vone-glass-ink);
  background: rgba(255, 255, 255, 0.065);
  font-size: 16px;
}

.vone-forum-shell .forum-search::placeholder {
  color: var(--vone-glass-soft);
}

.vone-forum-shell .forum-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.vone-forum-shell .forum-filter-row::-webkit-scrollbar {
  display: none;
}

.vone-forum-shell .forum-filter-chip {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--vone-glass-muted);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 850;
  cursor: pointer;
}

.vone-forum-shell .forum-filter-chip.active {
  color: #071426;
  border-color: rgba(154, 247, 233, 0.4);
  background: linear-gradient(135deg, var(--vone-glass-mint), var(--vone-glass-cyan));
}

.vone-forum-shell .forum-trust {
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--vone-glass-soft);
  font-size: 12px;
  font-weight: 800;
}

.vone-forum-shell .forum-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vone-forum-shell .forum-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vone-glass-success);
  box-shadow: 0 0 12px rgba(99, 230, 161, 0.5);
}

.vone-forum-shell .forum-filter {
  display: none;
}

.vone-forum-shell .feed-list {
  gap: 11px;
}

.vone-forum-shell .feed-card {
  border-radius: 22px;
  background: var(--vone-glass-reading);
  transition: transform 180ms var(--vone-glass-ease), opacity 180ms ease;
}

.vone-forum-shell .feed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 233, 226, 0.28);
  background: rgba(11, 25, 44, 0.98);
}

.vone-forum-shell .post-title {
  letter-spacing: -0.025em;
}

.vone-forum-shell .post-excerpt {
  color: var(--vone-glass-muted);
  line-height: 1.55;
}

.vone-forum-shell .answered-pill {
  color: #c8ffe0;
  border-color: rgba(99, 230, 161, 0.24);
  background: rgba(99, 230, 161, 0.1);
}

.vone-forum-shell .best-answer {
  border-color: rgba(99, 230, 161, 0.18);
  background: rgba(99, 230, 161, 0.065);
}

.vone-forum-shell .metric-pill,
.vone-forum-shell .post-open {
  min-height: 38px;
}

.vone-forum-shell .forum-no-results {
  padding: 24px;
  border: 1px dashed var(--vone-glass-stroke-strong);
  border-radius: 20px;
  color: var(--vone-glass-muted);
  text-align: center;
}

.vone-forum-shell .forum-filter-row {
  flex-wrap: wrap;
  overflow-x: visible;
}

.vone-forum-shell .forum-filter-chip {
  flex: 0 1 auto;
}

.vone-forum-shell .article-panel,
.vone-forum-shell .side-card {
  background: var(--vone-glass-reading);
}

.vone-forum-shell :where(input, textarea, select) {
  min-height: 48px;
  border-color: var(--vone-glass-stroke);
  background: rgba(255, 255, 255, 0.065);
}

/* Site and auth polish without changing the established composition. */
.vone-site-shell .header-inner,
.vone-forum-shell .header-inner {
  border-radius: 24px;
}

.vone-site-shell :where(.pill, .btn),
.vone-forum-shell :where(.pill, .btn, .ghost-btn) {
  min-height: 46px;
}

.vone-auth-shell .card {
  background: rgba(9, 18, 34, 0.93);
}

.vone-auth-shell input {
  background: rgba(255, 255, 255, 0.075);
}

.vone-site-shell :where(.pill, .btn, .menu-toggle, .faq-plus),
.vone-forum-shell :where(.pill, .btn, .ghost-btn, .menu-toggle, .tag),
.vone-auth-shell :where(.btn, .back-link) {
  transition: transform var(--vone-motion-fast) var(--vone-motion-ease), opacity var(--vone-motion-fast) ease;
}

.vone-site-shell .reveal {
  transform: translate3d(0, 20px, 0);
  transition: opacity 520ms ease, transform 520ms var(--vone-motion-ease);
}

.vone-site-shell .reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.vone-site-shell .faq-item {
  transition: background-color var(--vone-motion-base) ease, border-color var(--vone-motion-base) ease;
}

@media (max-width: 1099px) {
  .vone-site-shell .site-header,
  .vone-forum-shell .site-header {
    overflow: visible;
  }

  .vone-site-shell .header-inner,
  .vone-forum-shell .header-inner {
    position: relative;
    overflow: hidden;
    row-gap: 0;
    transition: border-radius 320ms var(--vone-motion-ease), border-color var(--vone-motion-fast) ease, background-color var(--vone-motion-fast) ease, row-gap 320ms var(--vone-motion-ease);
  }

  .vone-site-shell .header-inner.menu-open,
  .vone-forum-shell .header-inner.menu-open {
    row-gap: 10px;
    border-radius: 30px;
    border-bottom-color: var(--vone-glass-stroke);
    background: #071120;
  }

  .vone-site-shell .header-actions,
  .vone-forum-shell .header-actions {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    min-width: 0;
    height: auto;
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translate3d(0, -12px, 0);
    transform-origin: top center;
    visibility: hidden;
    pointer-events: none;
    will-change: auto;
    transition: max-height 340ms var(--vone-motion-ease), padding-bottom 340ms var(--vone-motion-ease), transform var(--vone-motion-base) var(--vone-motion-ease), opacity var(--vone-motion-fast) ease, visibility 0s linear 340ms;
  }

  .vone-site-shell .header-actions.is-open,
  .vone-forum-shell .header-actions.is-open {
    height: auto;
    max-height: 174px;
    padding: 0 12px 12px;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .vone-site-shell .header-actions .telegram-pill,
  .vone-forum-shell .header-actions .telegram-pill,
  .vone-site-shell .header-actions .pill.primary,
  .vone-forum-shell .header-actions .pill.primary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .vone-site-shell .header-actions .pill,
  .vone-forum-shell .header-actions .pill {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    overflow: visible;
    border-radius: 999px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .mobile-route-pill {
    display: inline-flex;
  }

  .vone-site-shell .menu-toggle-lines > span,
  .vone-forum-shell .menu-toggle-lines > span {
    top: 8px;
    transition: transform 200ms var(--vone-motion-ease), opacity 140ms ease;
  }

  .vone-site-shell .menu-toggle-lines > span:nth-child(1),
  .vone-forum-shell .menu-toggle-lines > span:nth-child(1) {
    transform: translate3d(0, -6px, 0);
  }

  .vone-site-shell .menu-toggle-lines > span:nth-child(2),
  .vone-forum-shell .menu-toggle-lines > span:nth-child(2) {
    transform: translate3d(0, 0, 0);
  }

  .vone-site-shell .menu-toggle-lines > span:nth-child(3),
  .vone-forum-shell .menu-toggle-lines > span:nth-child(3) {
    transform: translate3d(0, 6px, 0);
  }

  .vone-site-shell .menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(1),
  .vone-forum-shell .menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(1) {
    transform: rotate(45deg);
  }

  .vone-site-shell .menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(2),
  .vone-forum-shell .menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  .vone-site-shell .menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(3),
  .vone-forum-shell .menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .vone-site-shell .menu-toggle:not([aria-expanded="true"]) .menu-toggle-lines > span {
    animation: none;
  }
}

@media (max-width: 520px) {
  .vone-forum-shell .forum-filter-chip {
    flex: 1 1 auto;
  }
}

@media (max-width: 520px) {
  .vone-site-shell :where(.pill, .btn),
  .vone-forum-shell :where(.pill, .btn, .ghost-btn) {
    max-width: 100%;
    min-width: 0;
  }

  .vone-forum-shell .forum-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vone-forum-shell .forum-actions > * {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 760px) and (pointer: fine) {
  .vone-app-shell .desktop-sidebar {
    border-radius: 26px;
  }

  .vone-app-shell .connection-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: start;
  }

  .vone-app-shell .connection-hero,
  .vone-app-shell .setup-switcher,
  .vone-app-shell .setup-steps,
  .vone-app-shell .connection-advanced,
  .vone-app-shell .telegram-connect {
    min-width: 0;
  }

  .vone-app-shell .connection-hero,
  .vone-app-shell .setup-steps,
  .vone-app-shell .connection-advanced {
    grid-column: 1;
  }

  .vone-app-shell .setup-switcher,
  .vone-app-shell .telegram-connect {
    grid-column: 2;
  }

  .vone-app-shell .setup-switcher {
    grid-row: 1;
  }

  .vone-app-shell .telegram-connect {
    grid-row: 2;
  }
}

@media (max-width: 759px) {
  .vone-app-shell .app {
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .vone-app-shell .top {
    gap: 13px;
  }

  .vone-app-shell .top h1 {
    font-size: 27px;
  }

  .vone-app-shell .telegram-connect {
    grid-template-columns: 1fr;
  }

  .vone-app-shell .telegram-connect .btn {
    width: 100%;
  }

  .vone-app-shell .platforms {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .vone-app-shell .platform-pill {
    min-width: 0;
    padding: 0 7px;
    font-size: 12px;
  }

  .vone-forum-shell .forum-search-row {
    display: grid;
  }
}

@media (max-width: 430px) {
  .vone-app-shell .connection-hero {
    padding: 20px;
    border-radius: 24px;
  }

  .vone-app-shell .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vone-app-shell .client-card {
    min-height: 86px;
    padding: 11px;
  }

  .vone-app-shell .client-watermark {
    display: none;
  }

  .vone-app-shell .client-logo {
    width: 38px;
    height: 38px;
  }

  .vone-forum-shell .forum-discovery {
    padding: 12px;
    border-radius: 20px;
  }
}

/* Android/Windows and accessibility fallback: no blur dependency, no motion dependency. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --vone-glass-stroke: rgba(222, 240, 255, 0.38);
    --vone-glass-muted: rgba(239, 247, 255, 0.86);
    --vone-glass-soft: rgba(239, 247, 255, 0.72);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .vone-site-shell .header-inner,
  .vone-forum-shell .header-inner,
  .vone-app-shell .desktop-sidebar,
  .vone-app-shell .tabbar,
  .vone-auth-shell .back-link {
    background: #0b1729;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Cabinet 2026: Telegram-native clarity with Apple-like material restraint. */
.vone-app-shell {
  --app-gold: #f6cf79;
  --app-gold-soft: rgba(246, 207, 121, 0.16);
  --app-blue: #4c91ff;
  --app-cyan: #72ebe3;
  --app-surface: rgba(10, 20, 37, 0.88);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", sans-serif;
}

.vone-app-shell :where(h1, h2, h3, .desktop-sidebar-brand, .premium-pass strong) {
  font-family: "SF Pro Display", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

.vone-app-shell .app {
  max-width: 1120px;
}

.vone-app-shell .top {
  min-height: 58px;
  margin-bottom: 24px;
}

.vone-app-shell .top-copy {
  min-width: 0;
}

.vone-app-shell .top-copy h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .top-copy p {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .section-title {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.045em;
}

.vone-app-shell .dashboard-home {
  display: grid;
  gap: 16px;
}

.vone-app-shell .premium-pass {
  position: relative;
  isolation: isolate;
  min-height: 272px;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 232, 176, 0.26);
  border-radius: 34px;
  color: #fffdf7;
  background:
    radial-gradient(circle at 87% 4%, rgba(255, 221, 149, 0.3), transparent 28%),
    radial-gradient(circle at 11% 110%, rgba(76, 145, 255, 0.3), transparent 43%),
    linear-gradient(135deg, rgba(26, 39, 65, 0.98), rgba(10, 20, 38, 0.98) 52%, rgba(18, 47, 57, 0.98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.vone-app-shell .premium-pass::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -70% 55% -70% -25%;
  background: linear-gradient(100deg, transparent 36%, rgba(255, 255, 255, 0.11) 49%, transparent 62%);
  transform: rotate(12deg);
  pointer-events: none;
}

.vone-app-shell .premium-pass-head,
.vone-app-shell .premium-pass-foot,
.vone-app-shell .premium-brand,
.vone-app-shell .home-action,
.vone-app-shell .section-heading-row,
.vone-app-shell .device-title-row,
.vone-app-shell .card-heading,
.vone-app-shell .settings-profile,
.vone-app-shell .settings-row {
  display: flex;
  align-items: center;
}

.vone-app-shell .premium-pass-head,
.vone-app-shell .premium-pass-foot,
.vone-app-shell .section-heading-row,
.vone-app-shell .device-title-row,
.vone-app-shell .card-heading,
.vone-app-shell .settings-row {
  justify-content: space-between;
}

.vone-app-shell .premium-brand {
  gap: 12px;
}

.vone-app-shell .premium-brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.vone-app-shell .premium-brand span,
.vone-app-shell .premium-brand strong {
  display: block;
}

.vone-app-shell .premium-brand span {
  color: rgba(255, 253, 247, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vone-app-shell .premium-brand strong {
  margin-top: 2px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.vone-app-shell .premium-status {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 232, 176, 0.2);
  border-radius: 999px;
  color: #fff1c9;
  background: rgba(246, 207, 121, 0.1);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.vone-app-shell .premium-pass-main {
  max-width: 720px;
}

.vone-app-shell .premium-kicker {
  color: rgba(255, 253, 247, 0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vone-app-shell .premium-pass-main h2 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.vone-app-shell .premium-pass-main > p:last-child {
  margin-top: 12px;
  color: rgba(245, 248, 255, 0.69);
  font-size: clamp(15px, 2vw, 18px);
}

.vone-app-shell .premium-pass-foot {
  gap: 16px;
}

.vone-app-shell .premium-mark {
  color: rgba(255, 253, 247, 0.43);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.vone-app-shell .premium-manage {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 236, 191, 0.26);
  border-radius: 15px;
  color: #17130b;
  background: linear-gradient(135deg, #fff4d7, var(--app-gold));
  box-shadow: 0 12px 28px rgba(92, 65, 13, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.vone-app-shell .home-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vone-app-shell .home-action {
  min-width: 0;
  min-height: 104px;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)), var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .home-action-primary {
  min-height: 90px;
  grid-column: 1 / -1;
  border-color: rgba(114, 235, 227, 0.25);
  background:
    radial-gradient(circle at 90% 0%, rgba(114, 235, 227, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(76, 145, 255, 0.16), rgba(255, 255, 255, 0.025)),
    var(--app-surface);
}

.vone-app-shell .home-action-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 235, 227, 0.2);
  border-radius: 16px;
  color: var(--app-cyan);
  background: rgba(76, 145, 255, 0.11);
}

.vone-app-shell .home-action-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vone-app-shell .home-action > span:last-child {
  min-width: 0;
}

.vone-app-shell .home-action strong,
.vone-app-shell .home-action small {
  display: block;
}

.vone-app-shell .home-action strong {
  font-size: 18px;
  line-height: 1.15;
}

.vone-app-shell .home-action small {
  margin-top: 5px;
  color: var(--vone-glass-muted);
  font-size: 13px;
  line-height: 1.35;
}

.vone-app-shell .devices-page {
  display: grid;
  gap: 14px;
}

.vone-app-shell .section-heading-row {
  gap: 22px;
  align-items: flex-start;
}

.vone-app-shell .section-heading-row .section-title {
  margin-bottom: 7px;
}

.vone-app-shell .section-heading-row p {
  max-width: 620px;
  font-size: 14px;
}

.vone-app-shell .device-capacity {
  min-width: 108px;
  padding: 12px 15px;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.045);
  text-align: right;
}

.vone-app-shell .device-capacity strong {
  font-size: 24px;
}

.vone-app-shell .device-capacity > span {
  color: var(--vone-glass-soft);
  font-size: 15px;
}

.vone-app-shell .device-capacity small {
  display: block;
  margin-top: 2px;
  color: var(--app-cyan);
  font-size: 10px;
  font-weight: 800;
}

.vone-app-shell .device-add {
  min-height: 52px;
  justify-self: start;
  border-radius: 17px;
}

.vone-app-shell .device-list {
  overflow: hidden;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 28px;
  background: var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .device-row {
  min-height: 106px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(188, 225, 255, 0.11);
  transition: opacity 180ms ease, transform 180ms var(--vone-motion-ease);
}

.vone-app-shell .device-row:last-child {
  border-bottom: 0;
}

.vone-app-shell .device-row.is-removing {
  opacity: 0;
  transform: translate3d(12px, 0, 0);
}

.vone-app-shell .device-platform-logo {
  width: 58px;
  height: 58px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.065);
}

.vone-app-shell .device-copy,
.vone-app-shell .device-title-row {
  min-width: 0;
}

.vone-app-shell .device-title-row {
  justify-content: flex-start;
  gap: 10px;
}

.vone-app-shell .device-title-row strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .device-online {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #bdffd8;
  background: rgba(99, 230, 161, 0.1);
  font-size: 10px;
  font-weight: 800;
}

.vone-app-shell .device-copy p {
  margin-top: 6px;
  color: var(--vone-glass-muted);
  font-size: 14px;
}

.vone-app-shell .device-copy small {
  display: block;
  margin-top: 3px;
  color: var(--vone-glass-soft);
  font-size: 11px;
}

.vone-app-shell .device-remove {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 170, 169, 0.2);
  border-radius: 14px;
  color: #ffc3c2;
  background: rgba(255, 107, 105, 0.075);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.vone-app-shell .device-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
}

.vone-app-shell .device-empty img {
  width: 62px;
  height: 62px;
  border-radius: 20px;
}

.vone-app-shell .device-dialog[hidden] {
  display: none;
}

.vone-app-shell .device-dialog {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.vone-app-shell .device-dialog-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 4, 12, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.vone-app-shell .device-dialog-sheet {
  position: relative;
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid rgba(188, 225, 255, 0.21);
  border-radius: 30px;
  background: rgba(9, 19, 35, 0.98);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vone-app-shell .device-dialog-handle {
  display: none;
}

.vone-app-shell .device-dialog-label {
  color: var(--app-cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vone-app-shell .device-dialog h3 {
  margin: 9px 0 10px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.vone-app-shell .device-dialog-sheet > p:not(.device-dialog-label):not(.device-dialog-error) {
  color: var(--vone-glass-muted);
  line-height: 1.5;
}

.vone-app-shell .device-dialog-error {
  min-height: 20px;
  margin-top: 10px;
  color: var(--vone-glass-danger);
  font-size: 13px;
}

.vone-app-shell .device-dialog-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
  margin-top: 10px;
}

.vone-app-shell .btn.danger {
  color: #2a0707;
  border-color: rgba(255, 190, 188, 0.34);
  background: linear-gradient(135deg, #ffb7b5, #ff7b78);
  box-shadow: 0 14px 30px rgba(255, 92, 89, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.vone-app-shell.device-dialog-open {
  overflow: hidden;
}

.vone-app-shell .tariff-page {
  gap: 12px;
}

.vone-app-shell .payment-card {
  overflow: hidden;
  border: 1px solid var(--vone-glass-edge-light);
  background:
    radial-gradient(circle at 8% 0%, rgba(114, 235, 227, 0.09), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(76, 145, 255, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(17, 30, 50, 0.94), rgba(8, 16, 31, 0.94));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.vone-app-shell .payment-card > strong {
  padding: 2px 4px 0;
  color: var(--vone-glass-ink);
  font-size: 15px;
  letter-spacing: -0.015em;
}

.vone-app-shell .payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.vone-app-shell .payment-option {
  min-height: 74px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 18px;
  color: var(--vone-glass-ink);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
  text-align: left;
}

.vone-app-shell .payment-option.active {
  color: var(--vone-glass-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(114, 235, 227, 0.16), transparent 48%),
    linear-gradient(135deg, rgba(71, 112, 160, 0.32), rgba(35, 57, 88, 0.5));
  box-shadow: 0 12px 30px rgba(0, 5, 14, 0.22);
}

.vone-app-shell .payment-option:focus-visible {
  outline: 2px solid var(--app-cyan);
  outline-offset: 2px;
}

.vone-app-shell .payment-logo-wrap {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.96);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.18);
}

.vone-app-shell .payment-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.vone-app-shell [data-payment-method="yookassa_card"] .payment-logo {
  width: 36px;
  height: 36px;
}

.vone-app-shell [data-payment-method="cryptobot"] .payment-logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: cover;
}

.vone-app-shell .payment-copy,
.vone-app-shell .payment-copy strong,
.vone-app-shell .payment-copy small {
  min-width: 0;
  display: block;
}

.vone-app-shell .payment-copy strong {
  overflow: hidden;
  color: var(--vone-glass-ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .payment-copy small {
  margin-top: 3px;
  color: var(--vone-glass-soft);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

.vone-app-shell .auto-renew {
  align-items: center;
  margin-top: 2px;
  color: var(--vone-glass-ink);
  background: rgba(76, 145, 255, 0.09);
}

.vone-app-shell .auto-renew span,
.vone-app-shell .auto-renew strong,
.vone-app-shell .auto-renew small {
  display: block;
}

.vone-app-shell .auto-renew strong {
  font-size: 13px;
}

.vone-app-shell .auto-renew small {
  margin-top: 3px;
  color: var(--vone-glass-muted);
  font-size: 11px;
  line-height: 1.35;
}

.vone-app-shell .referral-page {
  display: grid;
  gap: 12px;
}

.vone-app-shell .referral-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 28px;
  align-items: end;
  padding: 26px;
  border: 1px solid rgba(114, 235, 227, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 6%, rgba(114, 235, 227, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(76, 145, 255, 0.13), rgba(255, 255, 255, 0.025)),
    var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .referral-overline {
  color: var(--app-cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vone-app-shell .referral-overview h3 {
  max-width: 620px;
  margin: 8px 0;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.vone-app-shell .referral-overview p:last-child {
  color: var(--vone-glass-muted);
  line-height: 1.5;
}

.vone-app-shell .referral-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vone-app-shell .referral-metrics > div {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(188, 225, 255, 0.13);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.045);
}

.vone-app-shell .referral-metrics strong {
  font-size: 23px;
}

.vone-app-shell .referral-metrics span {
  margin-top: 3px;
  color: var(--vone-glass-soft);
  font-size: 11px;
}

.vone-app-shell .bonus-card,
.vone-app-shell .share-panel {
  padding: 20px;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 26px;
  background: var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .card-heading {
  gap: 12px;
  margin-bottom: 14px;
}

.vone-app-shell .card-heading strong {
  font-size: 18px;
}

.vone-app-shell .card-heading span {
  color: var(--vone-glass-soft);
  font-size: 11px;
}

.vone-app-shell .bonus-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vone-app-shell .bonus-state {
  margin-top: 12px;
  color: var(--vone-glass-muted);
  font-size: 12px;
  line-height: 1.45;
}

.vone-app-shell .vip-note {
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid rgba(246, 207, 121, 0.16);
  border-radius: 22px;
  background: rgba(246, 207, 121, 0.055);
}

.vone-app-shell .vip-note img {
  width: 50px;
  height: 50px;
  border-radius: 16px;
}

.vone-app-shell .vip-note p {
  margin-top: 4px;
  color: var(--vone-glass-muted);
  font-size: 12px;
  line-height: 1.45;
}

.vone-app-shell .share-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(188, 225, 255, 0.1);
}

.vone-app-shell .share-row > div:first-child,
.vone-app-shell .share-row span {
  min-width: 0;
}

.vone-app-shell .share-row span {
  max-width: 680px;
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--vone-glass-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 7px;
}

.vone-app-shell .share-actions .btn {
  min-height: 42px;
  border-radius: 14px;
  font-size: 12px;
}

.vone-app-shell .settings-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.vone-app-shell .settings-page > * {
  min-width: 0;
  max-width: 100%;
}

.vone-app-shell .settings-profile {
  min-height: 92px;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(114, 235, 227, 0.19);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(76, 145, 255, 0.1), rgba(114, 235, 227, 0.04)), var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .settings-profile img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
}

.vone-app-shell .profile-avatar-generated {
  --profile-avatar-start: #4c91ff;
  --profile-avatar-end: #238fbb;
  --profile-avatar-ring-start: #89dfff;
  --profile-avatar-ring-end: #3478c8;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 50%;
  color: #f7fbff;
  background: linear-gradient(145deg, var(--profile-avatar-ring-start), var(--profile-avatar-ring-end));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  font-weight: 800;
  text-transform: uppercase;
}

.vone-app-shell .profile-avatar-generated::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.13) 19%, transparent 40%),
    linear-gradient(145deg, var(--profile-avatar-start), var(--profile-avatar-end));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 18px rgba(1, 7, 18, 0.2);
}

.vone-app-shell .profile-avatar-generated::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}

.vone-app-shell .profile-avatar-letter {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  font: inherit;
  line-height: 1;
  text-align: center;
}

.vone-app-shell .profile-avatar-generated[data-avatar-tone="1"] { --profile-avatar-start: #6657f4; --profile-avatar-end: #257bc7; --profile-avatar-ring-start: #aa9dff; --profile-avatar-ring-end: #45c9f3; }
.vone-app-shell .profile-avatar-generated[data-avatar-tone="2"] { --profile-avatar-start: #18b67f; --profile-avatar-end: #167c7b; --profile-avatar-ring-start: #6fe7b4; --profile-avatar-ring-end: #3ba7a6; }
.vone-app-shell .profile-avatar-generated[data-avatar-tone="3"] { --profile-avatar-start: #a548e3; --profile-avatar-end: #4a57be; --profile-avatar-ring-start: #d987ff; --profile-avatar-ring-end: #6f7cff; }
.vone-app-shell .profile-avatar-generated[data-avatar-tone="4"] { --profile-avatar-start: #d94875; --profile-avatar-end: #8f375d; --profile-avatar-ring-start: #ff83aa; --profile-avatar-ring-end: #c35789; }
.vone-app-shell .profile-avatar-generated[data-avatar-tone="5"] { --profile-avatar-start: #2f76df; --profile-avatar-end: #247d9e; --profile-avatar-ring-start: #70b5ff; --profile-avatar-ring-end: #68d9e7; }
.vone-app-shell .profile-avatar-generated[data-avatar-tone="6"] { --profile-avatar-start: #c47a2b; --profile-avatar-end: #7f7924; --profile-avatar-ring-start: #edb65f; --profile-avatar-ring-end: #9fa54b; }
.vone-app-shell .profile-avatar-generated[data-avatar-tone="7"] { --profile-avatar-start: #4569ad; --profile-avatar-end: #345487; --profile-avatar-ring-start: #81a8e7; --profile-avatar-ring-end: #5777b5; }

.vone-app-shell .avatar.profile-avatar-generated {
  border-radius: 50%;
  font-size: 26px;
}

.vone-app-shell .profile-avatar-control {
  display: grid;
  justify-items: center;
  gap: 5px;
  flex: 0 0 92px;
}

.vone-app-shell .profile-avatar-settings {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 22px;
}

.vone-app-shell .profile-avatar-upload,
.vone-app-shell .profile-avatar-control form {
  margin: 0;
}

.vone-app-shell .profile-avatar-action,
.vone-app-shell .profile-avatar-remove,
.vone-app-shell .profile-edit-button {
  appearance: none;
  border: 0;
  color: var(--app-cyan);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.vone-app-shell .profile-avatar-action {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
}

.vone-app-shell .profile-avatar-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.vone-app-shell .profile-avatar-remove {
  color: #ffaaa9;
}

.vone-app-shell .settings-profile-copy {
  min-width: 0;
  margin-right: auto;
}

.vone-app-shell .settings-profile-copy small {
  display: block;
  margin-top: 7px;
  color: var(--app-cyan);
  font-size: 12px;
  font-weight: 800;
}

.vone-app-shell .profile-edit-button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(114, 235, 227, 0.2);
  border-radius: 13px;
  background: rgba(114, 235, 227, 0.06);
}

.vone-app-shell .profile-nickname-editor {
  padding: 18px;
  border: 1px solid rgba(114, 235, 227, 0.19);
  border-radius: 25px;
  background: var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .profile-nickname-editor[hidden] {
  display: none;
}

.vone-app-shell .profile-nickname-editor > div > strong {
  font-size: 16px;
}

.vone-app-shell .profile-nickname-editor p,
.vone-app-shell .profile-nickname-editor form > small {
  color: var(--vone-glass-muted);
  font-size: 12px;
  line-height: 1.45;
}

.vone-app-shell .profile-nickname-editor form {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.vone-app-shell .profile-nickname-editor form > label {
  font-size: 12px;
  font-weight: 800;
}

.vone-app-shell .profile-nickname-field {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  border: 1px solid rgba(188, 225, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.vone-app-shell .profile-nickname-field > span {
  color: var(--app-cyan);
  font-weight: 900;
}

.vone-app-shell .profile-nickname-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--vone-glass-ink);
  background: transparent;
}

.vone-app-shell .profile-nickname-field:focus-within {
  border-color: rgba(114, 235, 227, 0.68);
  box-shadow: 0 0 0 3px rgba(114, 235, 227, 0.09);
}

.vone-app-shell .profile-form-error {
  margin-top: 10px;
  color: #ffb7b5 !important;
}

.vone-app-shell .profile-editor-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.vone-app-shell .profile-editor-actions .btn {
  min-height: 44px;
  border-radius: 14px;
}

.vone-app-shell .settings-profile-copy {
  min-width: 0;
  margin-right: auto;
}

.vone-app-shell .settings-profile-copy strong,
.vone-app-shell .settings-profile-copy > span {
  display: block;
}

.vone-app-shell .settings-profile-copy strong {
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .settings-profile-copy > span {
  overflow: hidden;
  margin-top: 4px;
  color: var(--vone-glass-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .settings-status {
  color: #bdffd8;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.vone-app-shell .settings-group {
  overflow: hidden;
  border: 1px solid var(--vone-glass-stroke);
  border-radius: 25px;
  background: var(--app-surface);
  box-shadow: var(--vone-glass-shadow-soft);
}

.vone-app-shell .settings-row {
  width: 100%;
  min-height: 76px;
  gap: 18px;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid rgba(188, 225, 255, 0.1);
  color: var(--vone-glass-ink);
  background: transparent;
  text-align: left;
}

.vone-app-shell .settings-row:last-child,
.vone-app-shell .settings-inline-form:last-child .settings-row {
  border-bottom: 0;
}

.vone-app-shell .settings-row > span:first-child {
  min-width: 0;
}

.vone-app-shell .settings-row strong,
.vone-app-shell .settings-row small {
  display: block;
}

.vone-app-shell .settings-row strong {
  font-size: 15px;
}

.vone-app-shell .settings-row small {
  margin-top: 4px;
  color: var(--vone-glass-muted);
  font-size: 12px;
  line-height: 1.35;
}

.vone-app-shell .settings-row-action,
.vone-app-shell .settings-value {
  color: var(--app-cyan);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.vone-app-shell .settings-value {
  color: var(--vone-glass-soft);
}

.vone-app-shell .settings-value.is-on {
  color: #bdffd8;
}

.vone-app-shell .settings-inline-form {
  margin: 0;
}

.vone-app-shell .settings-row-button {
  cursor: pointer;
}

.vone-app-shell .settings-logout {
  margin-top: 2px;
}

.vone-app-shell .settings-logout button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 170, 169, 0.16);
  border-radius: 18px;
  color: #ffb7b5;
  background: rgba(255, 107, 105, 0.05);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .vone-app-shell :where(.home-action, .device-remove, .premium-manage, .settings-row, .settings-logout button):hover {
    border-color: rgba(114, 235, 227, 0.3);
    transform: translateY(-1px);
  }

  .vone-app-shell :where(.home-action, .device-remove, .premium-manage, .settings-row, .settings-logout button) {
    transition: transform var(--vone-motion-fast) var(--vone-motion-ease), border-color var(--vone-motion-fast) ease, background-color var(--vone-motion-fast) ease;
  }
}

@media (max-width: 759px) {
  .vone-app-shell .app {
    padding-bottom: calc(122px + env(safe-area-inset-bottom, 0px));
  }

  .vone-app-shell .top {
    min-height: 52px;
    margin-bottom: 20px;
  }

  .vone-app-shell .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }

  .vone-app-shell .top h1 {
    font-size: 25px;
  }

  .vone-app-shell .premium-pass {
    min-height: 284px;
    gap: 24px;
    padding: 22px;
    border-radius: 28px;
  }

  .vone-app-shell .premium-brand img {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .vone-app-shell .premium-brand strong {
    font-size: 15px;
  }

  .vone-app-shell .premium-status {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }

  .vone-app-shell .premium-pass-main h2 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .vone-app-shell .premium-pass-foot {
    align-items: flex-end;
  }

  .vone-app-shell .premium-mark {
    max-width: 120px;
    line-height: 1.35;
  }

  .vone-app-shell .premium-manage {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .vone-app-shell .home-action-grid {
    grid-template-columns: 1fr;
  }

  .vone-app-shell .home-action,
  .vone-app-shell .home-action-primary {
    min-height: 82px;
    grid-column: auto;
    padding: 15px;
    border-radius: 22px;
  }

  .vone-app-shell .home-action-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .vone-app-shell .section-heading-row {
    gap: 12px;
  }

  .vone-app-shell .section-heading-row p {
    display: none;
  }

  .vone-app-shell .device-capacity {
    min-width: 92px;
    padding: 9px 11px;
  }

  .vone-app-shell .device-add {
    width: 100%;
  }

  .vone-app-shell .device-row {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
  }

  .vone-app-shell .device-platform-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .vone-app-shell .device-online {
    display: none;
  }

  .vone-app-shell .device-copy small {
    white-space: normal;
  }

  .vone-app-shell .device-remove {
    min-width: 72px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 10px;
  }

  .vone-app-shell .device-dialog {
    place-items: end center;
    padding: 10px;
  }

  .vone-app-shell .device-dialog-sheet {
    width: 100%;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px;
  }

  .vone-app-shell .device-dialog-handle {
    width: 38px;
    height: 5px;
    display: block;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
  }

  .vone-app-shell .payment-options {
    grid-template-columns: 1fr;
  }

  .vone-app-shell .payment-option {
    min-height: 68px;
  }

  .vone-app-shell .referral-overview {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .vone-app-shell .bonus-options {
    grid-template-columns: 1fr;
  }

  .vone-app-shell .share-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vone-app-shell .share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vone-app-shell .settings-profile {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
  }

  .vone-app-shell .profile-avatar-control {
    grid-row: 1 / span 2;
  }

  .vone-app-shell .settings-profile-copy,
  .vone-app-shell .profile-edit-button {
    grid-column: 2;
  }

  .vone-app-shell .profile-edit-button {
    width: fit-content;
    justify-self: start;
  }

  .vone-app-shell .settings-status {
    display: none;
  }

  .vone-app-shell .tabbar {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 6px;
    border-radius: 30px;
  }

  .vone-app-shell .tab {
    min-height: 58px;
    gap: 4px;
    padding: 3px 1px;
    border-radius: 24px;
    font-size: 9px;
  }

  .vone-app-shell .tab span {
    width: 100%;
    max-width: none;
    padding: 0 1px;
    overflow: visible;
    font-size: 8px;
    letter-spacing: -0.025em;
    text-overflow: clip;
  }
}

@media (max-width: 390px) {
  .vone-app-shell .premium-pass-head {
    align-items: flex-start;
  }

  .vone-app-shell .premium-brand {
    gap: 9px;
  }

  .vone-app-shell .premium-brand span {
    font-size: 9px;
  }

  .vone-app-shell .premium-brand strong {
    font-size: 13px;
  }

  .vone-app-shell .device-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .vone-app-shell .device-platform-logo {
    width: 46px;
    height: 46px;
  }

  .vone-app-shell .device-remove {
    width: 100%;
    grid-column: 1 / -1;
  }
}

/* Reference material system: layered depth and restrained internal highlights. */
.vone-site-shell :where(.hero-card, .panel, .country-card, .step-card, .device-card, .review-card, .faq-item),
.vone-forum-shell :where(.forum-new-topic, .forum-toolbar, .forum-topic-row, .forum-post, .forum-reply-form),
.vone-app-shell :where(.card, .home-action, .device-list, .settings-group),
.vone-auth-shell .card {
  border-color: var(--vone-glass-edge-light);
  box-shadow: var(--vone-glass-depth-shadow);
}

.vone-site-shell :where(.device-icon, .step-number),
.vone-app-shell :where(.home-action-icon, .device-platform-logo) {
  background-image: var(--vone-glass-icon-surface);
  box-shadow: 0 14px 34px rgba(0, 5, 18, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-transparency: reduce) {
  .vone-app-shell :where(.premium-pass, .home-action, .device-list, .device-dialog-sheet, .referral-overview, .bonus-card, .share-panel, .settings-profile, .settings-group) {
    background-color: #0b1729;
  }

  .vone-app-shell .device-dialog-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
