:root {
  --vone-black: #000;
  --vone-panel: rgba(20, 20, 20, .78);
  --vone-panel-strong: rgba(28, 28, 28, .9);
  --vone-line: rgba(255, 255, 255, .16);
  --vone-line-soft: rgba(255, 255, 255, .09);
  --vone-text: #f7f7f7;
  --vone-muted: rgba(255, 255, 255, .58);
  --vone-soft: rgba(255, 255, 255, .38);
  --vone-cyan: #77eee7;
  --vone-blue: #4e96ff;
  --vone-green: #53dc93;
  --vone-red: #ff676d;
  --vone-radius-xl: 32px;
  --vone-radius-lg: 24px;
  --vone-radius-md: 18px;
  --vone-shadow: 0 24px 80px rgba(0, 0, 0, .46);
  --vone-inset: inset 0 1px 0 rgba(255, 255, 255, .11);
  --vone-ease: cubic-bezier(.2, .8, .2, 1);
}

@keyframes vone-portal-wave {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.03); }
  50% { transform: translate3d(2%, 1.5%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.03); }
}

@keyframes vone-portal-glow {
  0%, 100% { opacity: .38; transform: translate3d(-8%, 0, 0); }
  50% { opacity: .58; transform: translate3d(8%, -2%, 0); }
}

/* Shared animated field. It intentionally uses gradients only: no download,
   no layout work per frame and no canvas cost on low-power devices. */
.vone-forum-shell,
.vone-app-shell,
.vone-auth-shell,
.vone-legal-shell,
.vone-checkout-shell,
.vone-onboard-shell {
  color-scheme: dark;
  background: #000;
}

.vone-forum-shell::before,
.vone-app-shell::before,
.vone-legal-shell::before,
.vone-checkout-shell::before,
.vone-onboard-shell::before {
  content: "";
  position: fixed;
  inset: -18vmax;
  z-index: -3;
  pointer-events: none;
  opacity: .78;
  background:
    repeating-radial-gradient(
      ellipse at 48% 38%,
      transparent 0 38px,
      rgba(255, 255, 255, .055) 39px 41px,
      transparent 42px 77px
    ),
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, .075), transparent 36%),
    #000;
  transform: translateZ(0);
  animation: vone-portal-wave 22s ease-in-out infinite;
}

.vone-forum-shell::after,
.vone-app-shell::after,
.vone-legal-shell::after,
.vone-checkout-shell::after,
.vone-onboard-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .06), transparent 28%),
    radial-gradient(circle at 86% 68%, rgba(119, 238, 231, .045), transparent 31%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .7));
  animation: vone-portal-glow 18s ease-in-out infinite;
}

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

.vone-forum-shell :where(button, a, input, textarea, select):focus-visible,
.vone-app-shell :where(button, a, input, textarea, select):focus-visible,
.vone-auth-shell :where(button, a, input):focus-visible,
.vone-legal-shell :where(button, a):focus-visible,
.vone-checkout-shell :where(button, a):focus-visible,
.vone-onboard-shell :where(button, a, input, textarea, select):focus-visible {
  outline: 2px solid var(--vone-cyan);
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Forum                                                                      */
/* -------------------------------------------------------------------------- */

body.vone-forum-shell {
  --forum-bg: #000;
  --forum-surface: rgba(16, 16, 16, .76);
  --forum-surface-solid: #121212;
  --forum-elevated: rgba(26, 26, 26, .86);
  --forum-line: var(--vone-line-soft);
  --forum-line-strong: var(--vone-line);
  --forum-text: var(--vone-text);
  --forum-muted: var(--vone-muted);
  --forum-soft: var(--vone-soft);
  --forum-cyan: var(--vone-cyan);
  --forum-mint: #fff;
  --forum-focus: rgba(119, 238, 231, .22);
  background: #000;
}

.vone-forum-shell .page {
  background: transparent;
}

.vone-forum-shell .page::before,
.vone-forum-shell .aurora {
  display: none;
}

.vone-forum-shell .container {
  width: min(calc(100% - 48px), 1540px);
}

.vone-forum-shell .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .86), transparent);
}

.vone-forum-shell .header-inner {
  min-height: 68px;
  column-gap: 18px;
  padding: 9px 12px;
  border: 1px solid var(--vone-line-soft);
  border-radius: 24px;
  background: rgba(13, 13, 13, .68);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(30px) saturate(135%);
  backdrop-filter: blur(30px) saturate(135%);
}

.vone-forum-shell .brand {
  flex: 0 0 auto;
  gap: 12px;
  padding-left: 4px;
  font-size: 19px;
  font-weight: 720;
}

.vone-forum-shell .brand img {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 8px 16px rgba(121, 231, 225, .08));
}

.vone-forum-shell .nav {
  margin-left: 4px;
  gap: 4px;
}

.vone-forum-shell .nav a {
  min-height: 42px;
  padding: 0 14px;
  color: rgba(255, 255, 255, .56);
  border-radius: 999px;
  font-size: 14px;
}

.vone-forum-shell .nav a:hover,
.vone-forum-shell .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.vone-forum-shell .pill,
.vone-forum-shell .forum-primary-button,
.vone-forum-shell .forum-secondary-button {
  min-height: 44px;
  border: 1px solid var(--vone-line);
  border-radius: 999px;
  background: rgba(22, 22, 22, .82);
  box-shadow: var(--vone-inset);
  color: #fff;
  transition: transform 180ms var(--vone-ease), background 180ms var(--vone-ease);
}

.vone-forum-shell .pill:hover,
.vone-forum-shell .forum-primary-button:hover,
.vone-forum-shell .forum-secondary-button:hover {
  transform: translateY(-1px);
  background: rgba(42, 42, 42, .94);
}

.vone-forum-shell .pill.primary,
.vone-forum-shell .forum-primary-button {
  color: #090909;
  border-color: rgba(255, 255, 255, .8);
  background: #f7f7f7;
  box-shadow: 0 14px 34px rgba(255, 255, 255, .1), inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.vone-forum-shell .telegram-pill {
  color: #fff;
  border-color: var(--vone-line);
  background: rgba(22, 22, 22, .82);
  box-shadow: var(--vone-inset);
}

.vone-forum-shell .forum-main {
  padding: clamp(48px, 7vw, 96px) 0 96px;
}

.vone-forum-shell .forum-reading-column {
  width: min(calc(100% - 48px), 1320px);
}

.vone-forum-shell .forum-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  min-height: 250px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--vone-line-soft);
  border-radius: var(--vone-radius-xl);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .09), transparent 32%),
    rgba(12, 12, 12, .6);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
}

.vone-forum-shell .forum-hero > div::before {
  content: "СООБЩЕСТВО VONE";
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 14px;
  border: 1px solid var(--vone-line);
  border-radius: 999px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .045);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
}

.vone-forum-shell .forum-hero h1 {
  max-width: 850px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .96;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.vone-forum-shell .forum-hero-copy {
  max-width: 750px;
  margin-top: 22px !important;
  color: var(--vone-muted);
  font-size: clamp(17px, 2vw, 22px);
}

.vone-forum-shell .forum-catalog-summary {
  margin: 18px 0 0;
}

.vone-forum-shell .forum-catalog-summary a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.vone-forum-shell .forum-catalog-summary a:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
}

.vone-forum-shell .forum-toolbar,
.vone-forum-shell .forum-new-topic,
.vone-forum-shell .forum-composer,
.vone-forum-shell .forum-topic-list,
.vone-forum-shell .forum-post-stream,
.vone-forum-shell .forum-related-grid article,
.vone-forum-shell .forum-answer-empty {
  border: 1px solid var(--vone-line-soft);
  background: rgba(14, 14, 14, .7);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}

.vone-forum-shell .forum-toolbar {
  margin-top: 20px;
  border-radius: var(--vone-radius-lg);
}

.vone-forum-shell .forum-search,
.vone-forum-shell .forum-field :where(input, select, textarea),
.vone-forum-shell .forum-composer :where(input[type="text"], textarea) {
  color: #fff;
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .045);
}

.vone-forum-shell .forum-filter-chip {
  color: rgba(255, 255, 255, .62);
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .035);
}

.vone-forum-shell .forum-filter-chip.active {
  color: #070707;
  border-color: #fff;
  background: #fff;
}

.vone-forum-shell .forum-stream-head {
  padding: 34px 4px 14px;
}

.vone-forum-shell .forum-stream-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.04em;
}

.vone-forum-shell .forum-topic-list {
  overflow: hidden;
  border-radius: var(--vone-radius-lg);
}

.vone-forum-shell .forum-topic-row {
  padding: 26px 30px;
  transition: background 180ms var(--vone-ease), transform 180ms var(--vone-ease);
}

.vone-forum-shell .forum-topic-row:hover {
  background: rgba(255, 255, 255, .035);
}

.vone-forum-shell .forum-topic-row h3 {
  max-width: 980px;
  font-size: clamp(20px, 2.4vw, 28px);
}

.vone-forum-shell .forum-topic-category {
  color: var(--vone-cyan);
  border-color: rgba(119, 238, 231, .2);
  background: rgba(119, 238, 231, .05);
}

.vone-forum-shell .forum-thread-main {
  padding: 44px 0 90px;
}

.vone-forum-shell .forum-thread-head h1 {
  max-width: 1080px;
  font-size: clamp(38px, 6vw, 68px);
}

.vone-forum-shell .forum-post-stream,
.vone-forum-shell .forum-new-topic,
.vone-forum-shell .forum-composer {
  border-radius: var(--vone-radius-lg);
}

.vone-forum-shell .forum-post {
  padding: clamp(22px, 4vw, 38px);
}

.vone-forum-shell .forum-post-body {
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
}

.vone-forum-shell .forum-article-lead {
  max-width: 980px;
  font-size: clamp(18px, 2vw, 21px);
}

.vone-forum-shell .forum-reaction,
.vone-forum-shell .forum-report-button {
  border: 1px solid transparent;
}

.vone-forum-shell .forum-reaction:hover,
.vone-forum-shell .forum-report-button:hover,
.vone-forum-shell .forum-reaction[aria-pressed="true"] {
  color: #fff;
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .06);
}

.vone-forum-shell .forum-article-help {
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .04);
}

.vone-forum-shell .forum-article-help a {
  color: #050505;
  background: #fff;
}

.vone-forum-shell .footer {
  border-top: 1px solid var(--vone-line-soft);
}

/* -------------------------------------------------------------------------- */
/* Cabinet                                                                    */
/* -------------------------------------------------------------------------- */

body.vone-app-shell {
  min-height: 100dvh;
  background: #000;
}

.vone-app-shell .desktop-sidebar {
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 248px;
  height: auto;
  padding: 22px 18px;
  border: 1px solid var(--vone-line-soft);
  border-radius: 28px;
  background: rgba(12, 12, 12, .72);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
}

.vone-app-shell .desktop-sidebar-brand {
  gap: 12px;
  margin: 0 4px 28px;
  color: #fff;
  font-size: 19px;
  font-weight: 740;
}

.vone-app-shell .desktop-sidebar-brand img,
.vone-app-shell .premium-brand-logo img {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  transform: none;
}

.vone-app-shell .desktop-nav-link {
  min-height: 50px;
  margin-bottom: 4px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: rgba(255, 255, 255, .62);
  transition: color 180ms var(--vone-ease), background 180ms var(--vone-ease);
}

.vone-app-shell .desktop-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.vone-app-shell .desktop-nav-link.active {
  color: #090909;
  border-color: #fff;
  background: #f5f5f5;
  box-shadow: 0 14px 28px rgba(255, 255, 255, .08);
}

.vone-app-shell .desktop-nav-link.active svg {
  stroke: #090909;
}

.vone-app-shell .desktop-sidebar-footer {
  border-color: var(--vone-line-soft);
}

.vone-app-shell .app {
  width: auto;
  max-width: none;
  margin-left: 286px;
  padding: 30px clamp(24px, 4vw, 64px) 110px;
}

.vone-app-shell .top {
  max-width: 1500px;
  margin: 0 auto 24px;
}

.vone-app-shell .top h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.045em;
}

.vone-app-shell [data-dashboard-section] {
  width: min(100%, 1500px);
  margin-inline: auto;
}

.vone-app-shell :where(.card, .premium-pass, .home-action, .setup-switcher, .setup-step,
  .connection-advanced, .telegram-connect, .device-list, .device-row, .device-capacity,
  .device-choice-card, .payment-card, .tariff-card, .referral-hero, .referral-card,
  .settings-group, .settings-profile-card, .settings-row, .profile-nickname-editor) {
  border-color: var(--vone-line-soft);
  background: rgba(16, 16, 16, .7);
  box-shadow: var(--vone-inset), 0 20px 58px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}

.vone-app-shell .premium-pass {
  min-height: 330px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--vone-line);
  border-radius: var(--vone-radius-xl);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .09), transparent 28%),
    radial-gradient(circle at 8% 110%, rgba(119, 238, 231, .055), transparent 35%),
    rgba(14, 14, 14, .72);
}

.vone-app-shell .premium-status {
  color: var(--vone-green);
  border-color: rgba(83, 220, 147, .24);
  background: rgba(83, 220, 147, .08);
}

.vone-app-shell .premium-pass-main h2 {
  max-width: 900px;
  font-size: clamp(34px, 5.5vw, 70px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.vone-app-shell .premium-manage,
.vone-app-shell .btn:not(.secondary),
.vone-app-shell .device-add {
  color: #080808;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 16px 34px rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .12);
}

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

.vone-app-shell .home-action-primary {
  grid-column: 1 / -1;
  min-height: 104px;
}

.vone-app-shell .home-action {
  min-height: 118px;
  border-radius: var(--vone-radius-md);
  transition: transform 180ms var(--vone-ease), background 180ms var(--vone-ease);
}

.vone-app-shell .home-action:hover {
  transform: translateY(-2px);
  background: rgba(28, 28, 28, .84);
}

.vone-app-shell .home-action-icon {
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .04);
}

.vone-app-shell .section-title {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -.055em;
}

.vone-app-shell .connection-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  align-items: start;
}

.vone-app-shell .connection-hero {
  min-height: 340px;
  border-radius: var(--vone-radius-xl);
}

.vone-app-shell .setup-switcher {
  align-self: start;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--vone-radius-lg);
}

.vone-app-shell .setup-switcher .platforms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
}

.vone-app-shell .setup-switcher .platform-pill {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  justify-content: center;
  padding: 0 6px;
  overflow: hidden;
  font-size: clamp(10px, .9vw, 12px);
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vone-app-shell .setup-steps {
  grid-column: 1;
}

.vone-app-shell .connection-advanced,
.vone-app-shell .telegram-connect {
  grid-column: 2;
}

.vone-app-shell .platform-pill.active,
.vone-app-shell .client-card.active,
.vone-app-shell .payment-option.active,
.vone-app-shell .device-option.active {
  color: #060606;
  border-color: #fff;
  background: #f5f5f5;
}

.vone-app-shell .platform-pill.active *,
.vone-app-shell .client-card.active *,
.vone-app-shell .payment-option.active *,
.vone-app-shell .device-option.active * {
  color: inherit;
}

.vone-app-shell .device-row {
  min-height: 100px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.vone-app-shell .device-row:first-child {
  border-radius: var(--vone-radius-lg) var(--vone-radius-lg) 0 0;
}

.vone-app-shell .device-row:last-child {
  border-radius: 0 0 var(--vone-radius-lg) var(--vone-radius-lg);
}

.vone-app-shell .device-icon,
.vone-app-shell .device-icon img {
  flex: 0 0 auto;
  object-fit: contain;
}

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

.vone-app-shell .tariff-card {
  min-height: 330px;
  border-radius: var(--vone-radius-lg);
}

.vone-app-shell .tariff-card.popular,
.vone-app-shell .tariff-card[aria-current="true"] {
  border-color: rgba(255, 255, 255, .64);
  background:
    radial-gradient(circle at 82% 0, rgba(255, 255, 255, .11), transparent 30%),
    rgba(20, 20, 20, .86);
}

.vone-app-shell .device-choice-card,
.vone-app-shell .payment-card {
  border-radius: var(--vone-radius-lg);
}

.vone-app-shell .settings-page,
.vone-app-shell .referral-page,
.vone-app-shell .devices-page,
.vone-app-shell .tariff-page {
  padding-bottom: 32px;
}

.vone-app-shell .settings-group,
.vone-app-shell .settings-profile-card,
.vone-app-shell .referral-card {
  border-radius: var(--vone-radius-lg);
}

.vone-app-shell .settings-row {
  border-radius: 14px;
  box-shadow: none;
  background: rgba(255, 255, 255, .025);
}

.vone-app-shell .tabbar {
  border-color: var(--vone-line-soft);
  background: rgba(10, 10, 10, .78);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  backdrop-filter: blur(28px) saturate(130%);
}

.vone-app-shell .tab.active {
  color: #070707;
  background: #f4f4f4;
}

/* Cabinet palette lock.
 * Legacy liquid-glass rules used blue-tinted surfaces with higher selector
 * specificity. Keep semantic colour only for success/error states and payment
 * marks; all structural cards stay neutral black and silver. */
.vone-app-shell .card,
.vone-app-shell .home-action,
.vone-app-shell .home-action-primary,
.vone-app-shell .connection-hero,
.vone-app-shell .setup-switcher,
.vone-app-shell .setup-step,
.vone-app-shell .connection-advanced,
.vone-app-shell .telegram-connect,
.vone-app-shell .device-choice-card,
.vone-app-shell .promo-card,
.vone-app-shell .payment-card,
.vone-app-shell .tariff-card,
.vone-app-shell .referral-overview,
.vone-app-shell .bonus-card,
.vone-app-shell .share-panel,
.vone-app-shell .referral-card,
.vone-app-shell .settings-profile,
.vone-app-shell .settings-profile-card,
.vone-app-shell .settings-group,
.vone-app-shell .profile-nickname-editor {
  border-color: var(--vone-line-soft) !important;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 255, 255, .07), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 46%),
    rgba(14, 14, 14, .96) !important;
  box-shadow: var(--vone-inset), 0 20px 58px rgba(0, 0, 0, .34) !important;
}

.vone-app-shell .home-action-primary,
.vone-app-shell .connection-hero,
.vone-app-shell .referral-overview,
.vone-app-shell .settings-profile {
  border-color: var(--vone-line) !important;
}

.vone-app-shell .auto-renew {
  color: var(--vone-text);
  border: 1px solid var(--vone-line-soft);
  background: rgba(255, 255, 255, .045) !important;
}

.vone-app-shell .payment-options {
  background: rgba(255, 255, 255, .025) !important;
}

.vone-app-shell .payment-option:not(.active),
.vone-app-shell .device-option:not(.active),
.vone-app-shell .client-card:not(.active),
.vone-app-shell .platform-pill:not(.active) {
  border-color: var(--vone-line-soft) !important;
  background: rgba(255, 255, 255, .045) !important;
}

.vone-app-shell .settings-row {
  background: transparent !important;
}

/* -------------------------------------------------------------------------- */
/* Authentication                                                             */
/* -------------------------------------------------------------------------- */

.vone-auth-shell .auth-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.vone-auth-shell .screen {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 100dvh;
  padding: 116px 20px 48px;
}

.vone-auth-shell .hero {
  display: none;
}

.vone-auth-shell .card {
  width: min(100%, 680px);
  border-color: var(--vone-line);
  border-radius: 38px;
  background: rgba(16, 16, 16, .72);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(32px) saturate(135%);
  backdrop-filter: blur(32px) saturate(135%);
}

.vone-auth-shell .card h2 {
  font-size: clamp(38px, 7vw, 66px);
  letter-spacing: -.06em;
}

.vone-auth-shell :where(.telegram-auth, input, .btn, .secondary) {
  border-radius: 18px;
}

.vone-auth-shell .telegram-auth {
  border-color: var(--vone-line);
  background: rgba(255, 255, 255, .055);
  box-shadow: var(--vone-inset);
}

.vone-auth-shell .btn {
  color: #050505;
  background: #fff;
}

/* -------------------------------------------------------------------------- */
/* Onboarding                                                                 */
/* -------------------------------------------------------------------------- */

body.vone-onboard-shell {
  --bg: #000;
  --bg-soft: #0a0a0a;
  --panel: rgba(16, 16, 16, .76);
  --panel-sub: rgba(24, 24, 24, .72);
  --line: var(--vone-line-soft);
  --line-strong: var(--vone-line);
  --text: var(--vone-text);
  --muted: var(--vone-muted);
  --accent: #fff;
  --accent-strong: var(--vone-cyan);
  --accent-soft: rgba(255, 255, 255, .08);
  --success: var(--vone-green);
  --warning: #ffd27a;
  --danger: var(--vone-red);
  --shadow: var(--vone-shadow);
  min-height: 100%;
  color: var(--vone-text);
  background: #000;
}

body.vone-onboard-shell::before {
  opacity: .74;
  background:
    repeating-radial-gradient(
      ellipse at 48% 38%,
      transparent 0 38px,
      rgba(255, 255, 255, .052) 39px 41px,
      transparent 42px 77px
    ),
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, .07), transparent 36%),
    #000;
}

body.vone-onboard-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .05), transparent 27%),
    radial-gradient(circle at 84% 74%, rgba(119, 238, 231, .045), transparent 31%),
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .68));
  animation: vone-portal-glow 18s ease-in-out infinite;
}

.vone-onboard-shell .shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin-top: 18px;
  gap: 18px;
}

.vone-onboard-shell :is(
  .panel,
  .panel-sub,
  .section-card,
  .device-card,
  .summary-tile,
  .tab-btn,
  .language-switch,
  .device-limit-dialog
) {
  color: var(--vone-text);
  border: 1px solid var(--vone-line-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .014) 44%),
    rgba(15, 15, 15, .74);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(30px) saturate(125%);
  backdrop-filter: blur(30px) saturate(125%);
}

.vone-onboard-shell :where(.panel, .panel-sub)::before {
  opacity: .6;
  background: linear-gradient(120deg, rgba(255, 255, 255, .08), transparent 32%);
}

.vone-onboard-shell .hero-panel {
  padding: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(119, 238, 231, .055), transparent 26%),
    linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .014) 44%),
    rgba(11, 11, 11, .76);
}

.vone-onboard-shell .brand-bar {
  min-height: 62px;
}

.vone-onboard-shell .brand-logo {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(119, 238, 231, .08));
}

.vone-onboard-shell :is(
  .brand-copy strong,
  .summary-left strong,
  .summary-tile strong,
  .section-head h2,
  .devices-panel h2,
  .section-card h3,
  .device-card strong,
  .tab-btn-label,
  .device-limit-header h2,
  .device-limit-device-copy strong
) {
  color: #fff;
}

.vone-onboard-shell :is(
  .summary-left span:not(.summary-check),
  .device-card span,
  .device-card small,
  .section-copy,
  .mini-note,
  .note-block,
  .device-meta dd,
  .steps-list,
  .subscription-note,
  .section-card p,
  .summary-tile-label,
  .device-limit-header p,
  .device-limit-device-copy span,
  .device-limit-device-copy small
) {
  color: var(--vone-muted);
}

.vone-onboard-shell .subscription-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .016)),
    rgba(18, 18, 18, .72);
}

.vone-onboard-shell .summary-check {
  color: #050505;
  background: #fff;
  box-shadow: 0 14px 34px rgba(255, 255, 255, .08);
}

.vone-onboard-shell .summary-tile {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 46%),
    rgba(22, 22, 22, .72);
}

.vone-onboard-shell .summary-tile-icon,
.vone-onboard-shell .icon-badge {
  color: #fff;
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .07);
  box-shadow: var(--vone-inset);
}

.vone-onboard-shell .icon-badge.success {
  color: var(--vone-green);
  border-color: rgba(83, 220, 147, .24);
  background: rgba(83, 220, 147, .08);
}

.vone-onboard-shell .summary-tile.is-accent {
  border-color: rgba(119, 238, 231, .2);
  background: linear-gradient(135deg, rgba(119, 238, 231, .075), rgba(255, 255, 255, .018));
}

.vone-onboard-shell .summary-tile.is-success {
  border-color: rgba(83, 220, 147, .2);
  background: linear-gradient(135deg, rgba(83, 220, 147, .075), rgba(255, 255, 255, .018));
}

.vone-onboard-shell .summary-tile.is-warning {
  border-color: rgba(255, 210, 122, .2);
  background: linear-gradient(135deg, rgba(255, 210, 122, .07), rgba(255, 255, 255, .018));
}

.vone-onboard-shell .summary-tile.is-danger {
  border-color: rgba(255, 103, 109, .22);
  background: linear-gradient(135deg, rgba(255, 103, 109, .07), rgba(255, 255, 255, .018));
}

.vone-onboard-shell :where(.summary-pill, .tag) {
  color: rgba(255, 255, 255, .72);
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .055);
  box-shadow: var(--vone-inset);
}

.vone-onboard-shell .platform-picker {
  color: var(--vone-muted);
}

.vone-onboard-shell .platform-picker select {
  color: #fff;
  border-color: var(--vone-line);
  background-color: rgba(20, 20, 20, .88);
  box-shadow: var(--vone-inset);
}

.vone-onboard-shell .tab-btn {
  color: rgba(255, 255, 255, .68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .05), transparent 46%),
    rgba(20, 20, 20, .74);
}

.vone-onboard-shell .tab-btn::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(119, 238, 231, .025));
}

.vone-onboard-shell .tab-btn-dot {
  background: rgba(255, 255, 255, .2);
}

.vone-onboard-shell .tab-btn-logo img {
  opacity: .34;
  filter: grayscale(1) brightness(1.5);
}

.vone-onboard-shell .tab-btn-fallback {
  color: rgba(255, 255, 255, .18);
}

.vone-onboard-shell .tab-btn.is-active {
  border-color: rgba(255, 255, 255, .34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 58%),
    rgba(25, 25, 25, .88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), var(--vone-inset);
}

.vone-onboard-shell .tab-btn.is-active .tab-btn-dot {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .09);
}

.vone-onboard-shell .tab-btn.is-active .tab-btn-label {
  color: #fff;
}

.vone-onboard-shell .tab-btn.is-active .tab-btn-logo img,
.vone-onboard-shell .tab-btn.is-active .tab-btn-fallback {
  opacity: .52;
}

.vone-onboard-shell :where(.action-btn.primary, .action-btn.secondary) {
  color: #080808;
  border-color: rgba(255, 255, 255, .82);
  background: #f7f7f7;
  box-shadow: 0 14px 34px rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.vone-onboard-shell .action-btn.ghost,
.vone-onboard-shell .pill-btn {
  color: #fff;
  border-color: var(--vone-line);
  background: rgba(255, 255, 255, .065);
  box-shadow: var(--vone-inset);
}

.vone-onboard-shell .action-btn.danger {
  color: #ff8d92;
  border-color: rgba(255, 103, 109, .24);
  background: rgba(255, 103, 109, .075);
}

.vone-onboard-shell :where(.action-btn, .tab-btn) {
  transition:
    transform 180ms var(--vone-ease),
    border-color 180ms var(--vone-ease),
    background 180ms var(--vone-ease),
    box-shadow 180ms var(--vone-ease);
}

.vone-onboard-shell :where(.action-btn, .tab-btn):hover {
  transform: translateY(-2px);
}

.vone-onboard-shell :where(.result-note, .note-block) {
  color: var(--vone-muted);
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .04);
}

.vone-onboard-shell .steps-list {
  color: rgba(255, 255, 255, .7);
}

.vone-onboard-shell .device-meta dt {
  color: var(--vone-soft);
}

.vone-onboard-shell .device-meta dd {
  color: rgba(255, 255, 255, .72);
}

.vone-onboard-shell .language-switch {
  border: 1px solid var(--vone-line-soft);
  background: rgba(16, 16, 16, .82);
}

.vone-onboard-shell .language-chip {
  color: var(--vone-muted);
}

.vone-onboard-shell .language-chip.is-active {
  color: #070707;
  background: #fff;
}

.vone-onboard-shell .device-limit-overlay {
  background: rgba(0, 0, 0, .76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.vone-onboard-shell .device-limit-choice {
  color: #fff;
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .045);
  box-shadow: var(--vone-inset);
}

.vone-onboard-shell .device-limit-close {
  color: #fff;
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .06);
}

.vone-onboard-shell .device-limit-status {
  color: #ff9da2;
  border-color: rgba(255, 103, 109, .2);
  background: rgba(255, 103, 109, .07);
}

/* -------------------------------------------------------------------------- */
/* Legal and checkout                                                          */
/* -------------------------------------------------------------------------- */

body.vone-legal-shell,
body.vone-checkout-shell {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  color: var(--vone-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.vone-public-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(calc(100% - 32px), 1160px);
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 14px auto 0;
  padding: 9px 12px 9px 16px;
  border: 1px solid var(--vone-line-soft);
  border-radius: 24px;
  background: rgba(14, 14, 14, .72);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  backdrop-filter: blur(28px) saturate(130%);
}

.vone-public-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 740;
}

.vone-public-brand img {
  width: 46px;
  height: 46px;
  border-radius: 0;
  object-fit: contain;
}

.vone-public-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vone-public-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--vone-line);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  text-decoration: none;
}

.vone-public-actions a:last-child {
  color: #060606;
  background: #fff;
}

.vone-legal-shell > main {
  width: min(calc(100% - 32px), 1040px);
  margin: 46px auto 110px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--vone-line-soft);
  border-radius: var(--vone-radius-xl);
  background: rgba(13, 13, 13, .72);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
}

.vone-legal-shell > main * {
  min-width: 0;
}

.vone-legal-shell :where(h1, h2, h3, p, li, a, code) {
  overflow-wrap: anywhere;
}

.vone-legal-shell > main > header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--vone-line-soft);
}

.vone-legal-shell h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.vone-legal-shell h2 {
  margin: 38px 0 12px;
  color: #fff;
  font-size: clamp(21px, 3vw, 28px);
  letter-spacing: -.03em;
}

.vone-legal-shell :where(p, li) {
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.7;
}

.vone-legal-shell a {
  color: var(--vone-cyan);
}

.vone-legal-shell .notice,
.vone-legal-shell .cookie-card {
  border-color: var(--vone-line-soft);
  background: rgba(255, 255, 255, .035);
  box-shadow: var(--vone-inset);
}

.vone-legal-shell .notice {
  border-radius: var(--vone-radius-lg);
}

.vone-legal-shell .cookie-card {
  border-radius: var(--vone-radius-md);
}

.vone-checkout-shell > .card,
.vone-checkout-shell > main.card {
  width: min(calc(100% - 32px), 780px);
  margin: max(40px, 8vh) auto;
  border-color: var(--vone-line);
  border-radius: var(--vone-radius-xl);
  background: rgba(14, 14, 14, .74);
  box-shadow: var(--vone-shadow), var(--vone-inset);
  -webkit-backdrop-filter: blur(30px) saturate(130%);
  backdrop-filter: blur(30px) saturate(130%);
}

.vone-checkout-shell .action-btn.primary {
  color: #060606;
  background: #fff;
}

@media (max-width: 1199px) {
  .vone-forum-shell .container,
  .vone-forum-shell .site-header > .container {
    width: min(calc(100% - 24px), 1160px);
  }

  .vone-forum-shell .header-inner {
    border-radius: 24px;
  }

  .vone-forum-shell .header-inner.menu-open {
    border-radius: 26px;
  }

  .vone-forum-shell .menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid var(--vone-line-soft);
    background: rgba(255, 255, 255, .045);
  }

  .vone-app-shell .desktop-sidebar {
    display: none;
  }

  .vone-app-shell .app {
    width: 100%;
    margin-left: 0;
    padding: 26px 20px 118px;
  }

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

  .vone-app-shell .setup-switcher .platform-pill {
    font-size: 12px;
  }

  .vone-app-shell .connection-advanced,
  .vone-app-shell .telegram-connect {
    grid-column: auto;
  }

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

@media (max-width: 720px) {
  .vone-forum-shell .forum-reading-column {
    width: min(calc(100% - 20px), 1320px);
  }

  .vone-forum-shell .forum-main {
    padding-top: 26px;
  }

  .vone-forum-shell .forum-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 26px 22px;
    border-radius: 26px;
  }

  .vone-forum-shell .forum-hero > div::before {
    margin-bottom: 18px;
  }

  .vone-forum-shell .forum-hero h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .vone-forum-shell .forum-topic-row {
    padding: 20px 18px;
  }

  .vone-app-shell .app {
    padding-inline: 14px;
  }

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

  .vone-app-shell .premium-pass {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 26px;
  }

  .vone-app-shell .premium-pass-main h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

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

  .vone-app-shell .home-action-primary {
    grid-column: 1 / -1;
  }

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

  .vone-auth-shell .auth-brand {
    left: 18px;
    top: 18px;
  }

  .vone-auth-shell .screen {
    padding: 96px 12px 34px;
  }

  .vone-auth-shell .card {
    border-radius: 28px;
  }

  .vone-public-bar {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 22px;
  }

  .vone-public-actions a:first-child {
    display: none;
  }

  .vone-legal-shell > main {
    width: calc(100% - 20px);
    margin-top: 20px;
    padding: 26px 20px;
    border-radius: 26px;
  }

  .vone-legal-shell h1 {
    font-size: clamp(26px, 8.3vw, 36px);
    line-height: 1.02;
    overflow-wrap: normal;
    hyphens: auto;
  }

  .vone-onboard-shell .shell {
    width: calc(100% - 16px);
    margin-top: 8px;
  }

  .vone-onboard-shell .hero-panel,
  .vone-onboard-shell .setup-panel,
  .vone-onboard-shell .devices-panel {
    border-radius: 26px;
  }
}

@media (max-width: 480px) {
  .vone-app-shell .home-action-grid {
    grid-template-columns: 1fr;
  }

  .vone-app-shell .home-action-primary {
    grid-column: auto;
  }

  .vone-app-shell .home-action {
    min-height: 92px;
  }

  .vone-forum-shell .forum-topic-meta {
    align-items: flex-start;
  }

  .vone-forum-shell .forum-topic-meta time {
    width: 100%;
  }

  .vone-public-brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vone-forum-shell::before,
  .vone-forum-shell::after,
  .vone-app-shell::before,
  .vone-app-shell::after,
  .vone-legal-shell::before,
  .vone-legal-shell::after,
  .vone-checkout-shell::before,
  .vone-checkout-shell::after,
  .vone-onboard-shell::before,
  .vone-onboard-shell::after {
    animation: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Connected devices — black/silver cabinet redesign                          */
/* -------------------------------------------------------------------------- */

.vone-app-shell .devices-page {
  gap: 18px;
}

.vone-app-shell .devices-page .section-heading-row {
  align-items: center;
  padding: 2px 2px 4px;
}

.vone-app-shell .devices-page .section-title {
  margin-bottom: 8px;
  color: #f7f7f7;
}

.vone-app-shell .devices-page .section-heading-row p {
  color: rgba(255, 255, 255, .5);
}

.vone-app-shell .device-capacity {
  min-width: 112px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 34px rgba(0, 0, 0, .3) !important;
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  backdrop-filter: blur(20px) saturate(115%);
}

.vone-app-shell .device-capacity strong,
.vone-app-shell .device-capacity > span {
  color: #f4f4f4;
}

.vone-app-shell .device-capacity small {
  color: rgba(255, 255, 255, .52);
}

.vone-app-shell .device-add {
  min-height: 52px;
  padding-inline: 22px;
  border-color: rgba(255, 255, 255, .88) !important;
  border-radius: 999px;
  color: #080808;
  background: #f5f5f5 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34), inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.vone-app-shell .device-add:hover {
  background: #fff !important;
  transform: translateY(-1px);
}

.vone-app-shell .device-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.vone-app-shell .device-row,
.vone-app-shell .device-row:first-child,
.vone-app-shell .device-row:last-child {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 142px;
  overflow: hidden;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .115) !important;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% -18%, rgba(255, 255, 255, .105), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 48%),
    rgba(12, 12, 12, .88) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 20px 54px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(24px) saturate(112%);
  backdrop-filter: blur(24px) saturate(112%);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.vone-app-shell .device-row::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px auto 18px 0;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .7), transparent);
  opacity: .55;
}

.vone-app-shell .device-row:focus-within {
  border-color: rgba(255, 255, 255, .25) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 62px rgba(0, 0, 0, .38);
}

.vone-app-shell .device-platform-logo {
  width: 60px;
  height: 60px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 28px rgba(0, 0, 0, .28) !important;
  filter: grayscale(1) brightness(1.75) contrast(.82);
  opacity: .92;
}

.vone-app-shell .device-copy {
  align-self: center;
}

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

.vone-app-shell .device-title-row strong {
  max-width: 100%;
  color: #f7f7f7;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 760;
  letter-spacing: -.025em;
}

.vone-app-shell .device-online {
  min-height: 24px;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(94, 219, 151, .16);
  color: #a8efc7;
  background: rgba(43, 140, 91, .13);
}

.vone-app-shell .device-online::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #72dba2;
  box-shadow: 0 0 0 4px rgba(114, 219, 162, .09);
}

.vone-app-shell .device-copy p {
  margin-top: 9px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.35;
}

.vone-app-shell .device-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .38);
  font-size: 11px;
  line-height: 1.35;
}

.vone-app-shell .device-remove {
  min-width: 88px;
  min-height: 44px;
  padding: 0 16px;
  border-color: rgba(255, 125, 125, .2) !important;
  border-radius: 999px !important;
  color: #ffb2b2;
  background: rgba(255, 97, 97, .055) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.vone-app-shell .device-remove:hover {
  border-color: rgba(255, 135, 135, .38) !important;
  color: #ffd0d0;
  background: rgba(255, 97, 97, .1) !important;
  transform: translateY(-1px);
}

.vone-app-shell .device-remove:focus-visible,
.vone-app-shell .device-add:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .2);
  outline-offset: 3px;
}

.vone-app-shell .device-empty {
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, .115);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, .08), transparent 42%),
    rgba(12, 12, 12, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 20px 54px rgba(0, 0, 0, .3);
}

@media (hover: hover) and (pointer: fine) {
  .vone-app-shell .device-row:hover {
    border-color: rgba(255, 255, 255, .2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 66px rgba(0, 0, 0, .4);
    transform: translateY(-2px);
  }
}

@media (min-width: 1181px) and (pointer: fine) {
  .vone-app-shell .device-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .vone-app-shell .devices-page {
    gap: 14px;
  }

  .vone-app-shell .devices-page .section-heading-row {
    align-items: flex-start;
  }

  .vone-app-shell .device-capacity {
    min-width: 96px;
    padding: 10px 13px;
  }

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

  .vone-app-shell .device-row,
  .vone-app-shell .device-row:first-child,
  .vone-app-shell .device-row:last-child {
    min-height: 126px;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 17px 15px;
    border-radius: 22px;
  }

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

  .vone-app-shell .device-title-row {
    flex-wrap: nowrap;
  }

  .vone-app-shell .device-title-row strong {
    font-size: 16px;
  }

  .vone-app-shell .device-online {
    width: 8px;
    min-width: 8px;
    min-height: 8px;
    overflow: hidden;
    padding: 0;
    border: 0;
    color: transparent;
    font-size: 0;
    background: #72dba2;
    box-shadow: 0 0 0 4px rgba(114, 219, 162, .09);
  }

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

  .vone-app-shell .device-copy p {
    margin-top: 7px;
    font-size: 12px;
  }

  .vone-app-shell .device-copy small {
    margin-top: 3px;
    font-size: 10px;
  }

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

@media (max-width: 390px) {
  .vone-app-shell .device-row,
  .vone-app-shell .device-row:first-child,
  .vone-app-shell .device-row:last-child {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding-inline: 13px;
  }

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

  .vone-app-shell .device-remove {
    min-width: 62px;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .vone-app-shell .device-row,
  .vone-app-shell .device-capacity {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Landing-price fidelity.
 * Keep tariff proportions identical from the five-column desktop grid through
 * the single-column mobile stack: the card grows from its own width, while
 * type, badge and checkout control scale with the same local geometry. */
.vone-app-shell .tariff-card {
  container-type: inline-size;
  aspect-ratio: .815 / 1;
  min-height: 330px;
  padding: clamp(16px, 6cqw, 34px);
  gap: clamp(10px, 3cqw, 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: clamp(24px, 7cqw, 40px);
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, .09), transparent 34%),
    linear-gradient(150deg, #171717, #070707 72%) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.vone-app-shell .tariff-card.featured {
  border-color: rgba(255, 255, 255, .26) !important;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, .13), transparent 35%),
    linear-gradient(150deg, #1d1d1d, #080808 72%) !important;
}

.vone-app-shell .tariff-card .tariff-badge {
  display: inline-flex;
  width: max-content;
  min-height: clamp(45px, 18cqw, 100px);
  padding: 0 clamp(16px, 5cqw, 32px);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #2f7df0;
  color: #fff;
  font-size: clamp(14px, 4.8cqw, 26px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.vone-app-shell .tariff-card .tariff-head {
  align-items: baseline;
  gap: clamp(12px, 4cqw, 24px);
}

.vone-app-shell .tariff-card .tariff-title {
  font-size: clamp(22px, 8cqw, 44px);
  font-weight: 760;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.vone-app-shell .tariff-card .price {
  font-size: clamp(26px, 9cqw, 50px);
  font-weight: 820;
  letter-spacing: -.025em;
}

.vone-app-shell .tariff-card > .muted {
  color: #9aa1ad;
  font-size: clamp(16px, 5.7cqw, 32px);
}

.vone-app-shell .tariff-card .tariff-form .btn {
  min-height: clamp(56px, 21cqw, 113px);
  padding-inline: clamp(18px, 5cqw, 30px);
  border-color: #fff;
  border-radius: clamp(18px, 7cqw, 38px);
  background: #fff;
  color: #080808;
  font-size: clamp(16px, 5cqw, 28px);
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .16);
}

/* The VOne mark is supplied as transparent artwork. It must remain fully
 * visible instead of being cropped into the generic circular avatar mask. */
.vone-app-shell .desktop-sidebar-brand img {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  object-fit: contain !important;
}

.vone-app-shell .premium-brand-logo {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
}

.vone-app-shell .premium-brand-logo img {
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  object-fit: contain !important;
  transform: none !important;
}

/* 2026-08-11: align the forum dock with the public landing header and keep
 * every forum surface in the current black/silver VOne palette. */
body.vone-forum-shell {
  --vone-cyan: #fff;
  --vone-blue: #d7d7d7;
  --forum-bg: #000;
  --forum-surface: rgba(18, 18, 18, .82);
  --forum-surface-solid: #151515;
  --forum-elevated: rgba(28, 28, 28, .9);
  --forum-line: rgba(255, 255, 255, .1);
  --forum-line-strong: rgba(255, 255, 255, .17);
  --forum-mint: #fff;
  --forum-cyan: #fff;
  --forum-focus: rgba(255, 255, 255, .18);
}

.vone-forum-shell::before {
  background:
    repeating-radial-gradient(
      ellipse at 48% 38%,
      transparent 0 38px,
      rgba(255, 255, 255, .045) 39px 41px,
      transparent 42px 77px
    ),
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, .065), transparent 36%),
    #000;
}

.vone-forum-shell::after {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .05), transparent 28%),
    radial-gradient(circle at 86% 68%, rgba(255, 255, 255, .025), transparent 31%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72));
}

.vone-forum-shell .brand img {
  filter: drop-shadow(0 8px 16px rgba(255, 255, 255, .045));
}

.vone-forum-shell .telegram-pill,
.vone-forum-shell .header-actions .telegram-pill {
  color: #fff;
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, #292929, #1e1e1e);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.vone-forum-shell .menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}

.vone-forum-shell .header-inner.menu-open {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(13, 13, 13, .96);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, .42),
    inset 0 1px rgba(255, 255, 255, .07);
}

.vone-forum-shell .forum-pagination {
  border-color: rgba(255, 255, 255, .12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 48%),
    rgba(13, 13, 13, .9);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, .32),
    inset 0 1px rgba(255, 255, 255, .055);
}

.vone-forum-shell .forum-page-numbers::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, .1) 14%,
    rgba(255, 255, 255, .2) 50%,
    rgba(255, 255, 255, .1) 86%,
    transparent
  );
}

.vone-forum-shell .forum-page-step,
.vone-forum-shell .forum-page-number,
.vone-forum-shell .forum-page-jump button,
.vone-forum-shell .forum-page-jump input[type="number"] {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .035);
}

.vone-forum-shell .forum-page-step:hover,
.vone-forum-shell .forum-page-number:hover,
.vone-forum-shell .forum-page-jump button:hover {
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.vone-forum-shell .forum-page-number.is-current {
  border-color: #fff;
  color: #0a0a0a;
  background: linear-gradient(145deg, #fff, #d8d8d8);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, .075),
    0 10px 28px rgba(0, 0, 0, .38);
}

.vone-forum-shell .forum-topic-category,
.vone-forum-shell .forum-composer-identity,
.vone-forum-shell .forum-composer-identity > a,
.vone-forum-shell .forum-article-disclosure,
.vone-forum-shell .notice {
  border-color: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .045);
}

.vone-forum-shell .forum-reaction[aria-pressed="true"] {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

@media (min-width: 1400px) {
  .vone-forum-shell .site-header {
    height: 76px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .035);
    box-shadow:
      0 12px 36px rgba(0, 0, 0, .08),
      inset 0 -1px rgba(255, 255, 255, .08),
      inset 0 1px rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(34px) saturate(180%);
    backdrop-filter: blur(34px) saturate(180%);
  }

  .vone-forum-shell .site-header > .container {
    width: 90%;
    max-width: 1600px;
    height: 76px;
  }

  .vone-forum-shell .header-inner {
    position: relative;
    width: 100%;
    height: 76px;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .vone-forum-shell .brand {
    gap: 14px;
    padding: 0;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -.035em;
  }

  .vone-forum-shell .brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    object-fit: cover;
    filter: none;
  }

  .vone-forum-shell .nav {
    position: absolute;
    left: 50%;
    margin-left: 0;
    gap: 32px;
    transform: translateX(-50%);
  }

  .vone-forum-shell .nav a {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, .7);
    background: transparent;
    font-size: 16px;
    font-weight: 440;
  }

  .vone-forum-shell .nav a:hover,
  .vone-forum-shell .nav a:focus-visible,
  .vone-forum-shell .nav a[aria-current="page"] {
    color: #fff;
    background: transparent;
  }

  .vone-forum-shell .header-actions {
    gap: 12px;
  }

  .vone-forum-shell .pill {
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #3c3c3c;
    border-radius: 999px;
    background: linear-gradient(180deg, #292929, #1e1e1e);
    color: #fff;
    font-size: 16px;
    font-weight: 480;
    box-shadow: none;
  }

  .vone-forum-shell .pill.primary {
    border-color: #fff;
    color: #111;
    background: #fff;
  }

  .vone-forum-shell .pill:hover,
  .vone-forum-shell .pill:focus-visible {
    opacity: .8;
    transform: none;
  }
}

/* 2026-08-11: local cabinet refinement.
 * Preserve the existing information architecture and interaction contracts,
 * while removing decorative blue/cyan from cabinet chrome. Third-party app
 * artwork keeps its native colour; green, amber and red are reserved for
 * success, keyboard focus and destructive/error states. */
body.vone-app-shell {
  --vone-panel: rgba(16, 16, 16, .9);
  --vone-panel-strong: rgba(24, 24, 24, .96);
  --vone-line: rgba(255, 255, 255, .2);
  --vone-line-soft: rgba(255, 255, 255, .105);
  --vone-text: #f5f5f5;
  --vone-muted: rgba(255, 255, 255, .64);
  --vone-soft: rgba(255, 255, 255, .46);
  --vone-cyan: #f5f5f5;
  --vone-blue: #d4d4d4;
  --vone-green: #6fd59a;
  --vone-red: #ff8585;
  --vone-warning: #f2c94c;
  --vone-glass-canvas: #000;
  --vone-glass-panel: rgba(12, 12, 12, .9);
  --vone-glass-panel-strong: rgba(20, 20, 20, .96);
  --vone-glass-reading: rgba(15, 15, 15, .96);
  --vone-glass-stroke: rgba(255, 255, 255, .11);
  --vone-glass-stroke-strong: rgba(255, 255, 255, .2);
  --vone-glass-ink: #f5f5f5;
  --vone-glass-muted: rgba(255, 255, 255, .64);
  --vone-glass-soft: rgba(255, 255, 255, .46);
  --vone-glass-blue: #d4d4d4;
  --vone-glass-cyan: #f5f5f5;
  --vone-glass-mint: #e9e9e9;
  --vone-glass-success: #6fd59a;
  --vone-glass-danger: #ff8585;
  --vone-glass-edge-light: rgba(255, 255, 255, .16);
  --vone-glass-icon-surface: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
  --vone-glass-depth-shadow: 0 28px 78px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .055);
  --vone-glass-shadow-soft: 0 18px 48px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .05);
  --app-blue: #d4d4d4;
  --app-cyan: #f5f5f5;
  --app-surface: rgba(15, 15, 15, .96);
  --cabinet-stroke: rgba(255, 255, 255, .11);
  --cabinet-stroke-strong: rgba(255, 255, 255, .2);
  --cabinet-surface: rgba(15, 15, 15, .96);
  color: var(--vone-text);
  background: #000 !important;
}

body.vone-app-shell::before {
  opacity: .46;
  background:
    radial-gradient(ellipse at 52% 4%, rgba(255, 255, 255, .07), transparent 34%),
    repeating-radial-gradient(
      ellipse at 50% 34%,
      transparent 0 52px,
      rgba(255, 255, 255, .025) 53px 54px,
      transparent 55px 104px
    ),
    #000;
  animation: none;
}

body.vone-app-shell::after {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, .035), transparent 29%),
    radial-gradient(circle at 84% 68%, rgba(255, 255, 255, .025), transparent 31%),
    linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .72));
  animation: none;
}

body.vone-app-shell :where(button, a, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--vone-warning) !important;
  outline-offset: 3px;
}

.vone-app-shell .muted,
.vone-app-shell .top-copy p,
.vone-app-shell .desktop-sidebar-email,
.vone-app-shell .home-action small,
.vone-app-shell .client-copy > span,
.vone-app-shell .device-option span {
  color: var(--vone-muted);
}

.vone-app-shell .premium-brand,
.vone-app-shell .premium-kicker,
.vone-app-shell .premium-pass-main > p {
  color: var(--vone-muted);
}

.vone-app-shell .premium-brand span {
  color: var(--vone-muted);
}

.vone-app-shell .premium-brand strong {
  color: var(--vone-text);
}

.vone-app-shell .desktop-sidebar {
  border-color: var(--cabinet-stroke) !important;
  background: rgba(10, 10, 10, .86) !important;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

.vone-app-shell .desktop-sidebar-brand img,
.vone-app-shell .premium-brand-logo img,
.vone-app-shell .device-empty img {
  filter: grayscale(1) saturate(0) contrast(1.08) brightness(1.06);
}

.vone-app-shell .profile-avatar-generated {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(145deg, #303030, #111);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .38);
}

.vone-app-shell .profile-avatar-generated .profile-avatar-art {
  filter: grayscale(1) saturate(0) contrast(1.08) brightness(.82);
}

.vone-app-shell .top {
  gap: 14px;
  margin-bottom: 22px;
}

.vone-app-shell .avatar {
  width: 56px;
  height: 56px;
}

.vone-app-shell .top h1 {
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.vone-app-shell .section-title {
  margin: 4px 0 18px;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.045em;
}

.vone-app-shell :is(
  .card,
  .home-action,
  .connection-hero,
  .setup-switcher,
  .setup-step,
  .connection-advanced,
  .telegram-connect,
  .device-choice-card,
  .promo-card,
  .payment-card,
  .tariff-card,
  .referral-overview,
  .bonus-card,
  .share-panel,
  .referral-card,
  .settings-profile,
  .settings-profile-card,
  .settings-group,
  .profile-nickname-editor
) {
  border-color: var(--cabinet-stroke) !important;
  background:
    radial-gradient(circle at 88% 2%, rgba(255, 255, 255, .055), transparent 29%),
    linear-gradient(145deg, rgba(255, 255, 255, .028), transparent 48%),
    var(--cabinet-surface) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

.vone-app-shell .premium-pass {
  min-height: 270px;
  padding: clamp(28px, 3.5vw, 42px);
  border-color: var(--cabinet-stroke-strong) !important;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 255, 255, .08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 48%),
    #101010 !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

.vone-app-shell .premium-pass-main h2 {
  max-width: 920px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -.05em;
}

.vone-app-shell .premium-status,
.vone-app-shell .ready-pill,
.vone-app-shell .device-online {
  color: #baf0cf;
  border-color: rgba(111, 213, 154, .25);
  background: rgba(111, 213, 154, .09);
}

.vone-app-shell .premium-status {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.vone-app-shell .home-action {
  border-color: var(--cabinet-stroke) !important;
  background: rgba(15, 15, 15, .96) !important;
}

.vone-app-shell .home-action-primary {
  border-color: var(--cabinet-stroke-strong) !important;
  background:
    radial-gradient(circle at 92% 0, rgba(255, 255, 255, .07), transparent 34%),
    #121212 !important;
}

.vone-app-shell .home-action:hover {
  border-color: rgba(255, 255, 255, .2) !important;
  background: #191919 !important;
}

.vone-app-shell .home-action-icon,
.vone-app-shell .device-platform-logo {
  color: #f1f1f1;
  border-color: rgba(255, 255, 255, .12) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 12px 28px rgba(0, 0, 0, .28) !important;
}

.vone-app-shell .premium-manage,
.vone-app-shell .btn:not(.secondary),
.vone-app-shell .device-add,
.vone-app-shell .tariff-form .btn {
  color: #090909 !important;
  border-color: #f5f5f5 !important;
  background: #f5f5f5 !important;
  box-shadow: 0 14px 32px rgba(255, 255, 255, .055), inset 0 -1px 0 rgba(0, 0, 0, .14) !important;
}

.vone-app-shell .premium-manage:hover,
.vone-app-shell .btn:not(.secondary):hover,
.vone-app-shell .device-add:hover,
.vone-app-shell .tariff-form .btn:hover {
  background: #fff !important;
}

.vone-app-shell .btn.secondary,
.vone-app-shell .logout,
.vone-app-shell .support {
  color: #f2f2f2 !important;
  border-color: rgba(255, 255, 255, .13) !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

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

.vone-app-shell .connection-hero {
  min-height: 306px;
  gap: 17px;
  padding: 28px;
  border-color: var(--cabinet-stroke-strong) !important;
  border-radius: 28px;
}

.vone-app-shell .connection-app-logo {
  border-color: rgba(255, 255, 255, .14);
  background: #0d0d0d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34);
}

.vone-app-shell .connection-app-copy span {
  color: rgba(255, 255, 255, .58) !important;
}

.vone-app-shell .connection-app-copy strong {
  font-size: clamp(24px, 3vw, 31px);
}

.vone-app-shell .connection-summary {
  color: rgba(255, 255, 255, .48);
}

.vone-app-shell .setup-switcher {
  padding: 14px;
}

.vone-app-shell .setup-switcher .platforms {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .025);
}

.vone-app-shell .platform-pill:not(.active),
.vone-app-shell .client-card:not(.active),
.vone-app-shell .payment-option:not(.active),
.vone-app-shell .device-option:not(.active) {
  color: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .1) !important;
  background: rgba(255, 255, 255, .035) !important;
}

.vone-app-shell .platform-pill.active,
.vone-app-shell .client-card.active,
.vone-app-shell .payment-option.active,
.vone-app-shell .device-option.active,
.vone-app-shell .tab.active {
  color: #080808 !important;
  border-color: #f5f5f5 !important;
  background: #f5f5f5 !important;
  box-shadow: none !important;
}

.vone-app-shell .client-card.active .client-logo {
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #111;
}

.vone-app-shell .client-card.active .client-copy > span,
.vone-app-shell .device-option.active span {
  color: rgba(8, 8, 8, .66) !important;
}

.vone-app-shell .client-watermark {
  opacity: .065;
  filter: grayscale(1) saturate(0);
}

.vone-app-shell .client-picker-title,
.vone-app-shell :where(.client-picker, .connection-advanced) > summary {
  color: rgba(255, 255, 255, .62);
}

.vone-app-shell :where(.client-picker, .connection-advanced) > summary::after {
  color: #f1f1f1;
}

.vone-app-shell .setup-step::before {
  color: #090909;
  background: #ededed;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .16);
}

.vone-app-shell .connection-advanced .field,
.vone-app-shell .field,
.vone-app-shell :where(input, select, textarea) {
  color: rgba(255, 255, 255, .78);
  border-color: rgba(255, 255, 255, .11);
  background-color: rgba(255, 255, 255, .045);
}

.vone-app-shell :is(.tariff-form, .promo-row, .profile-nickname-field) input,
.vone-app-shell .profile-nickname-field {
  border-color: rgba(255, 255, 255, .12) !important;
}

.vone-app-shell .profile-nickname-field:focus-within {
  border-color: var(--vone-warning) !important;
  box-shadow: 0 0 0 3px rgba(242, 201, 76, .1);
}

.vone-app-shell .profile-edit-button {
  color: #f2f2f2;
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .05);
}

.vone-app-shell .referral-metrics > div {
  border-color: rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .04);
}

.vone-app-shell .device-dialog-backdrop,
.vone-app-shell .dashboard-device-limit {
  background: rgba(0, 0, 0, .76);
}

.vone-app-shell .device-dialog-sheet,
.vone-app-shell .dashboard-device-limit-sheet {
  border-color: rgba(255, 255, 255, .14) !important;
  background: #111 !important;
}

.vone-app-shell .dashboard-device-limit-choice {
  border-color: rgba(255, 255, 255, .11) !important;
  background: rgba(255, 255, 255, .045) !important;
}

.vone-app-shell .dashboard-device-limit-choice:hover,
.vone-app-shell .dashboard-device-limit-choice:focus-visible {
  border-color: rgba(255, 255, 255, .22) !important;
  background: rgba(255, 255, 255, .075) !important;
}

.vone-app-shell .payment-logo-wrap {
  border-color: rgba(0, 0, 0, .13);
}

.vone-app-shell .tariff-card.featured,
.vone-app-shell .tariff-card.popular,
.vone-app-shell .tariff-card[aria-current="true"] {
  border-color: rgba(255, 255, 255, .28) !important;
}

.vone-app-shell .tariff-badge,
.vone-app-shell .tariff-card .tariff-badge {
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .065) !important;
}

.vone-app-shell .tariff-card-reference {
  width: 100%;
  min-width: 0;
  aspect-ratio: auto !important;
}

.vone-app-shell input[type="checkbox"],
.vone-app-shell input[type="radio"] {
  accent-color: #f5f5f5;
}

.vone-app-shell .auto-renew,
.vone-app-shell .payment-options {
  color: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035) !important;
}

.vone-app-shell .promo-state:not(.error),
.vone-app-shell .settings-status,
.vone-app-shell .settings-value.is-on {
  color: #baf0cf;
}

.vone-app-shell .promo-state.error,
.vone-app-shell .checkout-state,
.vone-app-shell .device-remove,
.vone-app-shell .settings-logout button {
  color: #ffaaaa;
}

.vone-app-shell .settings-row-action {
  color: rgba(255, 255, 255, .78);
}

.vone-app-shell .tabbar {
  border-color: var(--cabinet-stroke) !important;
  background: rgba(10, 10, 10, .94) !important;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
}

@media (max-width: 1199px) {
  .vone-app-shell .app {
    padding-top: 24px;
  }

  .vone-app-shell .section-title {
    font-size: clamp(32px, 5vw, 40px);
  }
}

@media (max-width: 720px) {
  .vone-app-shell .top {
    gap: 12px;
    margin-bottom: 18px;
  }

  .vone-app-shell .avatar {
    width: 50px;
    height: 50px;
  }

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

  .vone-app-shell .section-title {
    margin-bottom: 15px;
    font-size: 32px;
  }

  .vone-app-shell .premium-pass {
    min-height: 0;
    padding: 23px 20px;
    border-radius: 24px;
  }

  .vone-app-shell .premium-pass-main h2 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .vone-app-shell .connection-hero {
    min-height: 0;
    padding: 21px 19px;
    border-radius: 24px;
  }

  .vone-app-shell .connection-app-logo {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }

  .vone-app-shell .setup-switcher {
    padding: 11px;
  }

  .vone-app-shell .setup-step {
    padding: 14px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.vone-app-shell :is(
    .desktop-sidebar,
    .tabbar,
    .premium-pass,
    .home-action,
    .connection-hero,
    .setup-switcher,
    .setup-step,
    .connection-advanced,
    .telegram-connect
  ) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: #121212 !important;
  }
}
