/* ============================================================
   WoxeRadio — Account / Auth
   Cabinet, public profiles, community list and auth screens
   on top of the /main_tree shell. Prefix: ac-
   ============================================================ */

body.tree-body .account-tree-main {
  min-width: 0;
  padding: 24px 0 4px;
}

body.tree-body .ac-page {
  --ac-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  max-width: 1460px;
  margin: 0 auto;
  padding: 0 0 10px;
  color: var(--tree-ink);
  font-family: var(--tree-sans);
  font-size: 14px;
}

body.tree-body .ac-page a {
  text-decoration: none;
}

body.tree-body .ac-page .icon {
  flex: 0 0 auto;
}

body.tree-body .ac-page :focus-visible {
  outline: 2px solid var(--tree-accent);
  outline-offset: 2px;
}

body.tree-body .ac-page ::selection {
  background: var(--tree-accent);
  color: #ffffff;
}

/* ------------------------------------------------------------------
   Flash toasts
   ------------------------------------------------------------------ */

body.tree-body .flashes {
  position: static;
  z-index: auto;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  pointer-events: auto;
}

body.tree-body .flashes .alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 15px 13px 17px;
  overflow: hidden;
  border: 1px solid var(--tree-line);
  border-radius: 11px;
  background: var(--tree-surface);
  box-shadow: 0 18px 44px -24px rgba(16, 19, 22, .5);
  color: var(--tree-ink);
  font-family: var(--tree-sans);
  font-size: 12px;
  line-height: 1.5;
  pointer-events: auto;
}

body.tree-body .flashes .alert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--tree-muted);
}

body.tree-body .flashes .alert-success::before {
  background: #2e9e63;
}

body.tree-body .flashes .alert-error::before {
  background: #d93a3a;
}

body.tree-body .flashes .alert-warning::before {
  background: #d98300;
}

body.tree-body .flashes .alert-info::before {
  background: var(--tree-accent);
}

/* ------------------------------------------------------------------
   Shared primitives
   ------------------------------------------------------------------ */

body.tree-body .ac-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

body.tree-body .ac-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tree-accent);
  box-shadow: 0 0 0 3px var(--tree-accent-soft);
}

body.tree-body .ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--tree-sans);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

body.tree-body .ac-btn .icon {
  width: 14px;
  height: 14px;
}

body.tree-body .ac-btn.is-primary {
  background: var(--tree-accent);
  color: #ffffff;
}

body.tree-body .ac-btn.is-primary:hover {
  background: var(--tree-accent-2);
}

body.tree-body .ac-btn.is-ghost {
  border-color: var(--tree-line);
  background: var(--tree-surface);
  color: var(--tree-ink);
}

body.tree-body .ac-btn.is-ghost:hover {
  border-color: var(--tree-line-strong);
  color: var(--tree-accent);
}

body.tree-body .ac-btn.is-block {
  width: 100%;
}

body.tree-body .ac-btn:active {
  transform: translateY(1px);
}

body.tree-body .ac-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tree-line);
  border-radius: 16px;
  background: var(--tree-surface);
}

body.tree-body .ac-card-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  flex-wrap: wrap;
  padding: 20px 22px 0;
}

body.tree-body .ac-card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--tree-accent-soft);
  color: var(--tree-accent);
}

body.tree-body .ac-card-ico .icon {
  width: 16px;
  height: 16px;
}

body.tree-body .ac-card-ico.is-green {
  background: rgba(46, 158, 99, .1);
  color: #2e9e63;
}

body.tree-body .ac-card-ico.is-blue {
  background: rgba(45, 116, 214, .1);
  color: #2d74d6;
}

body.tree-body .ac-card-title-wrap {
  min-width: 0;
}

body.tree-body .ac-card-title {
  margin: 1px 0 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

body.tree-body .ac-card-sub {
  margin: 3px 0 0;
  color: var(--tree-muted);
  font-size: 10.5px;
  line-height: 1.4;
}

body.tree-body .ac-card-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  margin-left: auto;
  padding: 0 11px;
  border: 1px solid var(--tree-line);
  border-radius: 999px;
  color: var(--tree-ink);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .18s ease, color .18s ease;
}

body.tree-body .ac-card-action .icon {
  width: 12px;
  height: 12px;
  color: var(--tree-accent);
}

body.tree-body .ac-card-action:hover {
  border-color: var(--tree-line-strong);
  color: var(--tree-accent);
}

body.tree-body .ac-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

body.tree-body .ac-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--tree-line);
  border-radius: 999px;
  background: var(--tree-surface-2);
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body.tree-body .ac-chip .icon {
  width: 11px;
  height: 11px;
}

body.tree-body .ac-chip.is-verified {
  border-color: rgba(46, 158, 99, .32);
  background: rgba(46, 158, 99, .08);
  color: #2e9e63;
}

body.tree-body .ac-chip.is-pending {
  border-color: rgba(217, 131, 0, .32);
  background: rgba(217, 131, 0, .08);
  color: #c47a00;
}

body.tree-body .ac-chip.is-level {
  border-color: var(--tree-line);
  background: var(--tree-surface-2);
  color: var(--tree-ink);
}

body.tree-body .ac-chip.is-status {
  border-color: rgba(255, 85, 0, .3);
  background: var(--tree-accent-soft);
  color: var(--tree-accent);
}

body.tree-body .ac-chip.is-green {
  border-color: rgba(46, 158, 99, .32);
  background: rgba(46, 158, 99, .08);
  color: #2e9e63;
}

body.tree-body .ac-chip.is-grey {
  color: var(--tree-muted);
}

/* ------------------------------------------------------------------
   Auth screens
   ------------------------------------------------------------------ */

body.tree-body .ac-auth-page {
  max-width: 1180px;
}

body.tree-body .ac-auth {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: 20px;
}

body.tree-body .ac-auth-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 640px;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 34px 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background:
    radial-gradient(85% 100% at 100% 0%, rgba(255, 85, 0, .17) 0%, rgba(255, 85, 0, 0) 55%),
    radial-gradient(70% 60% at 0% 100%, rgba(255, 122, 51, .08) 0%, rgba(255, 122, 51, 0) 60%),
    #101316;
  color: #ffffff;
}

body.tree-body .ac-auth-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000000 0%, transparent 68%);
  mask-image: radial-gradient(120% 120% at 100% 0%, #000000 0%, transparent 68%);
  pointer-events: none;
}

body.tree-body .ac-auth-promo > * {
  position: relative;
  z-index: 1;
}

body.tree-body .ac-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .62);
  font-family: var(--ac-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

body.tree-body .ac-promo-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tree-accent);
  box-shadow: 0 0 0 3px rgba(255, 85, 0, .24);
}

body.tree-body .ac-promo-title {
  max-width: 460px;
  margin: 0;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -.048em;
  line-height: 1.02;
}

body.tree-body .ac-promo-lead {
  max-width: 460px;
  margin: -6px 0 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12.5px;
  line-height: 1.6;
}

body.tree-body .ac-promo-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.tree-body .ac-promo-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

body.tree-body .ac-promo-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: rgba(255, 85, 0, .14);
  color: var(--tree-accent-2);
}

body.tree-body .ac-promo-ico .icon {
  width: 13px;
  height: 13px;
}

body.tree-body .ac-promo-features li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

body.tree-body .ac-promo-features strong {
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.3;
}

body.tree-body .ac-promo-features li div span {
  color: rgba(255, 255, 255, .48);
  font-size: 9.5px;
  line-height: 1.35;
}

body.tree-body .ac-promo-rewards {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

body.tree-body .ac-promo-label {
  display: block;
  color: rgba(255, 255, 255, .45);
  font-family: var(--ac-mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.tree-body .ac-promo-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

body.tree-body .ac-promo-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-size: 9.5px;
  font-weight: 600;
}

body.tree-body .ac-promo-chips .icon {
  width: 11px;
  height: 11px;
  color: var(--tree-accent-2);
}

body.tree-body .ac-promo-foot {
  color: rgba(255, 255, 255, .28);
  font-family: var(--ac-mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Form card */

body.tree-body .ac-auth-card {
  min-width: 0;
  padding: 32px 32px 26px;
  border: 1px solid var(--tree-line);
  border-radius: 18px;
  background: var(--tree-surface);
  box-shadow: var(--tree-shadow);
}

body.tree-body .ac-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tree-accent);
  font-family: var(--ac-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

body.tree-body .ac-auth-eyebrow .icon {
  width: 13px;
  height: 13px;
}

body.tree-body .ac-auth-title {
  margin: 12px 0 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
}

body.tree-body .ac-auth-sub {
  margin: 8px 0 0;
  color: var(--tree-muted);
  font-size: 12px;
  line-height: 1.55;
}

body.tree-body .ac-auth-sub strong {
  color: var(--tree-ink);
  font-weight: 650;
}

body.tree-body .ac-form {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

body.tree-body .ac-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

body.tree-body .ac-field > label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.tree-body .ac-field > label .icon {
  width: 12px;
  height: 12px;
  color: var(--tree-accent);
}

body.tree-body .ac-input,
body.tree-body .ac-textarea,
body.tree-body .ac-select {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--tree-line);
  border-radius: 10px;
  background: var(--tree-surface-2);
  color: var(--tree-ink);
  font-family: var(--tree-sans);
  font-size: 12.5px;
  line-height: 1.4;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

body.tree-body .ac-input {
  height: 42px;
  padding: 0 13px;
}

body.tree-body .ac-textarea {
  min-height: 108px;
  padding: 11px 13px;
  resize: vertical;
}

body.tree-body .ac-input::placeholder,
body.tree-body .ac-textarea::placeholder {
  color: var(--tree-muted);
  opacity: .7;
}

body.tree-body .ac-input:focus,
body.tree-body .ac-textarea:focus,
body.tree-body .ac-select:focus {
  border-color: var(--tree-accent);
  background: var(--tree-surface);
  box-shadow: 0 0 0 3px var(--tree-accent-soft);
  outline: 0;
}

body.tree-body .ac-help {
  margin: 0;
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1.4;
}

body.tree-body .ac-submit {
  margin-top: 4px;
}

body.tree-body .ac-auth-alt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -4px;
  font-size: 10.5px;
  font-weight: 600;
}

body.tree-body .ac-auth-alt a {
  color: var(--tree-accent);
}

body.tree-body .ac-auth-alt a:hover {
  color: var(--tree-accent-2);
}

body.tree-body .ac-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1;
  text-transform: lowercase;
}

body.tree-body .ac-divider::before,
body.tree-body .ac-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--tree-line);
}

body.tree-body .ac-auth-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--tree-line);
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1.5;
}

body.tree-body .ac-auth-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--tree-accent);
}

body.tree-body .ac-devlink {
  position: relative;
  margin: 18px 0 0;
  padding: 13px 15px 13px 17px;
  overflow: hidden;
  border: 1px solid rgba(217, 131, 0, .3);
  border-radius: 11px;
  background: rgba(217, 131, 0, .07);
  color: var(--tree-ink);
  font-size: 10.5px;
  line-height: 1.5;
}

body.tree-body .ac-devlink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d98300;
}

body.tree-body .ac-devlink a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--tree-accent);
  font-weight: 650;
}

body.tree-body .ac-devlink a:hover {
  color: var(--tree-accent-2);
}

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

body.tree-body .ac-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 30px 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(255, 85, 0, .16) 0%, rgba(255, 85, 0, 0) 54%),
    #101316;
  color: #ffffff;
}

body.tree-body .ac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(120% 130% at 100% 0%, #000000 0%, transparent 70%);
  mask-image: radial-gradient(120% 130% at 100% 0%, #000000 0%, transparent 70%);
  pointer-events: none;
}

body.tree-body .ac-hero > * {
  position: relative;
  z-index: 1;
}

body.tree-body .ac-hero-main {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

body.tree-body .ac-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: var(--tree-accent-soft);
  color: var(--tree-accent);
  font-family: var(--tree-brand);
  font-weight: 700;
  line-height: 1;
}

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

body.tree-body .ac-avatar-xl {
  width: 108px;
  height: 108px;
  border: 2px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: 40px;
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .9);
}

body.tree-body .ac-avatar-lg {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

body.tree-body .ac-hero-info {
  min-width: 0;
  flex: 1 1 320px;
}

body.tree-body .ac-hero-info .ac-kicker {
  color: rgba(255, 255, 255, .6);
}

body.tree-body .ac-hero-info .ac-dot {
  box-shadow: 0 0 0 3px rgba(255, 85, 0, .24);
}

body.tree-body .ac-hero-name {
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.02;
}

body.tree-body .ac-hero-meta {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, .5);
  font-family: var(--ac-mono);
  font-size: 10px;
  letter-spacing: .03em;
  line-height: 1.4;
}

body.tree-body .ac-hero-meta strong {
  color: rgba(255, 255, 255, .82);
  font-weight: 600;
}

body.tree-body .ac-hero .ac-chips {
  margin-top: 13px;
}

body.tree-body .ac-hero .ac-chip {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .76);
}

body.tree-body .ac-hero .ac-chip.is-verified {
  border-color: rgba(70, 200, 130, .34);
  background: rgba(70, 200, 130, .12);
  color: #7de0aa;
}

body.tree-body .ac-hero .ac-chip.is-pending {
  border-color: rgba(255, 178, 64, .34);
  background: rgba(255, 178, 64, .1);
  color: #ffc46e;
}

body.tree-body .ac-hero .ac-chip.is-status {
  border-color: rgba(255, 85, 0, .4);
  background: rgba(255, 85, 0, .14);
  color: var(--tree-accent-2);
}

body.tree-body .ac-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

body.tree-body .ac-hero .ac-btn.is-ghost {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .86);
}

body.tree-body .ac-hero .ac-btn.is-ghost:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
}

/* Stats */

body.tree-body .ac-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

body.tree-body .ac-stat {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: #ffffff;
  transition: border-color .18s ease, background .18s ease;
}

body.tree-body a.ac-stat:hover {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
}

body.tree-body .ac-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(255, 85, 0, .14);
  color: var(--tree-accent-2);
}

body.tree-body .ac-stat-ico.is-green {
  background: rgba(70, 200, 130, .12);
  color: #7de0aa;
}

body.tree-body .ac-stat-ico.is-blue {
  background: rgba(80, 150, 255, .12);
  color: #9cc4ff;
}

body.tree-body .ac-stat-ico .icon {
  width: 16px;
  height: 16px;
}

body.tree-body .ac-stat-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.tree-body .ac-stat-body > span {
  color: rgba(255, 255, 255, .48);
  font-family: var(--ac-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.tree-body .ac-stat-body strong {
  margin-top: 2px;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

body.tree-body .ac-stat-body small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, .38);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

body.tree-body .ac-cabinet {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.tree-body .ac-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

body.tree-body .ac-card-body {
  padding: 16px 22px 20px;
}

/* Ticket card */

body.tree-body .ac-next {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 22px 20px;
}

body.tree-body .ac-next-poster {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--tree-line);
  border-radius: 11px;
  background: var(--tree-surface-2);
  object-fit: cover;
}

body.tree-body .ac-next-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2px 0;
}

body.tree-body .ac-next-body > .ac-chip {
  align-self: flex-start;
}

body.tree-body .ac-next-title {
  margin: 9px 0 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}

body.tree-body .ac-next-date {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 8px 0 0;
  color: var(--tree-muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
}

body.tree-body .ac-next-date .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--tree-accent);
}

body.tree-body .ac-next-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
}

body.tree-body .ac-next-actions form {
  margin: 0;
}

body.tree-body .ac-ticket-list {
  border-top: 1px solid var(--tree-line);
}

body.tree-body .ac-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--tree-line);
}

body.tree-body .ac-ticket-row:last-child {
  border-bottom: 0;
}

body.tree-body .ac-ticket-row-body {
  min-width: 0;
}

body.tree-body .ac-ticket-row strong {
  display: block;
  overflow: hidden;
  color: var(--tree-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tree-body .ac-ticket-row span {
  display: block;
  margin-top: 2px;
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1.35;
}

/* Empty state */

body.tree-body .ac-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 16px 22px 20px;
  padding: 38px 20px;
  border: 1px dashed var(--tree-line-strong);
  border-radius: 13px;
  background: var(--tree-surface-2);
  text-align: center;
}

body.tree-body .ac-empty-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--tree-accent-soft);
  color: var(--tree-accent);
}

body.tree-body .ac-empty-ico .icon {
  width: 19px;
  height: 19px;
}

body.tree-body .ac-empty h3 {
  margin: 2px 0 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
}

body.tree-body .ac-empty p {
  max-width: 340px;
  margin: 0 0 5px;
  color: var(--tree-muted);
  font-size: 11px;
  line-height: 1.5;
}

/* Points */

body.tree-body .ac-points-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 22px 0;
  padding: 15px 16px;
  border: 1px solid var(--tree-line);
  border-radius: 12px;
  background:
    radial-gradient(90% 140% at 100% 0%, var(--tree-accent-soft) 0%, transparent 60%),
    var(--tree-surface-2);
}

body.tree-body .ac-points-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--tree-accent);
  color: #ffffff;
}

body.tree-body .ac-points-ico .icon {
  width: 18px;
  height: 18px;
}

body.tree-body .ac-points-value {
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}

body.tree-body .ac-points-value span {
  margin-left: 4px;
  color: var(--tree-muted);
  font-family: var(--tree-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

body.tree-body .ac-points-hint {
  margin: 4px 0 0;
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1.4;
}

body.tree-body .ac-points-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

body.tree-body .ac-points-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  border-top: 1px solid var(--tree-line);
}

body.tree-body .ac-points-reason {
  color: var(--tree-ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

body.tree-body .ac-points-date {
  margin-top: 2px;
  color: var(--tree-muted);
  font-size: 9px;
  line-height: 1.35;
}

body.tree-body .ac-points-amount {
  flex: 0 0 auto;
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 12px;
  font-weight: 700;
}

body.tree-body .ac-points-amount.is-plus {
  color: #2e9e63;
}

body.tree-body .ac-points-amount.is-minus {
  color: #d93a3a;
}

body.tree-body .ac-points-empty {
  margin: 12px 0 0;
  padding: 0 22px 18px;
  color: var(--tree-muted);
  font-size: 10.5px;
  line-height: 1.5;
}

/* History */

body.tree-body .ac-history {
  padding: 0;
}

body.tree-body .ac-history-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  padding: 11px 22px;
  border-top: 1px solid var(--tree-line);
}

body.tree-body .ac-history-poster {
  display: block;
  width: 48px;
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--tree-surface-2);
  object-fit: cover;
}

body.tree-body .ac-history-body {
  min-width: 0;
}

body.tree-body .ac-history-body strong {
  display: block;
  overflow: hidden;
  color: var(--tree-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tree-body .ac-history-body span {
  display: block;
  margin-top: 3px;
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1.35;
}

body.tree-body .ac-history-status {
  display: flex;
  align-items: center;
}

/* ------------------------------------------------------------------
   Profile form / details
   ------------------------------------------------------------------ */

body.tree-body .ac-profile-details {
  padding: 0;
}

body.tree-body .ac-details-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

body.tree-body .ac-details-summary::-webkit-details-marker {
  display: none;
}

body.tree-body .ac-details-summary:hover .ac-card-action {
  border-color: var(--tree-line-strong);
  color: var(--tree-accent);
}

body.tree-body .ac-profile-details[open] .ac-details-summary {
  border-bottom: 1px solid var(--tree-line);
}

body.tree-body .ac-details-summary .ac-card-title-wrap {
  flex: 1 1 auto;
}

body.tree-body .ac-link-box {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 18px 22px 0;
  padding: 11px 14px;
  border: 1px solid var(--tree-line);
  border-radius: 10px;
  background: var(--tree-surface-2);
  color: var(--tree-muted);
  font-size: 10.5px;
  line-height: 1.45;
}

body.tree-body .ac-link-box .icon {
  width: 13px;
  height: 13px;
  color: var(--tree-accent);
}

body.tree-body .ac-link-box a {
  color: var(--tree-ink);
  font-weight: 600;
  word-break: break-all;
}

body.tree-body .ac-link-box a:hover {
  color: var(--tree-accent);
}

body.tree-body .ac-form-profile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px 22px;
}

body.tree-body .ac-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

body.tree-body .ac-form-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.tree-body .ac-file {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1px dashed var(--tree-line-strong);
  border-radius: 10px;
  background: var(--tree-surface-2);
  color: var(--tree-muted);
  font-family: var(--tree-sans);
  font-size: 10.5px;
  line-height: 1.4;
  cursor: pointer;
}

body.tree-body .ac-file::file-selector-button {
  margin-right: 10px;
  padding: 6px 11px;
  border: 0;
  border-radius: 7px;
  background: var(--tree-accent);
  color: #ffffff;
  font-family: var(--tree-sans);
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}

body.tree-body .ac-form-profile .ac-submit {
  align-self: flex-start;
}

/* ------------------------------------------------------------------
   Public profile
   ------------------------------------------------------------------ */

body.tree-body .ac-profile-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.tree-body .ac-crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: var(--tree-muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
}

body.tree-body .ac-crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tree-muted);
  transition: color .18s ease;
}

body.tree-body .ac-crumbs a:hover {
  color: var(--tree-ink);
}

body.tree-body .ac-profile-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

body.tree-body .ac-profile-main {
  min-width: 0;
  flex: 1 1 340px;
}

body.tree-body .ac-profile-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.02;
}

body.tree-body .ac-mini-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2e9e63;
  color: #ffffff;
}

body.tree-body .ac-mini-verify svg {
  width: 12px;
  height: 12px;
}

body.tree-body .ac-profile-patronymic {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  line-height: 1.4;
}

body.tree-body .ac-verified-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: #7de0aa;
  font-family: var(--ac-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.tree-body .ac-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

body.tree-body .ac-about-card {
  padding: 22px;
}

body.tree-body .ac-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

body.tree-body .ac-section-kicker .icon {
  width: 12px;
  height: 12px;
  color: var(--tree-accent);
}

body.tree-body .ac-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.tree-body .ac-info-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--tree-line);
  border-radius: 11px;
  background: var(--tree-surface-2);
}

body.tree-body .ac-info-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--tree-surface);
  color: var(--tree-accent);
}

body.tree-body .ac-info-ico .icon {
  width: 15px;
  height: 15px;
}

body.tree-body .ac-info-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

body.tree-body .ac-info-label {
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.tree-body .ac-info-value {
  margin-top: 3px;
  overflow: hidden;
  color: var(--tree-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
}

body.tree-body .ac-about-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--tree-line);
}

body.tree-body .ac-about-block.is-clean {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

body.tree-body .ac-about-text {
  margin: 10px 0 0;
  overflow-wrap: anywhere;
  color: var(--tree-ink);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-line;
}

body.tree-body .ac-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

body.tree-body .ac-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--tree-line);
  border-radius: 999px;
  background: var(--tree-surface);
  color: var(--tree-ink);
  font-size: 10.5px;
  font-weight: 600;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body.tree-body .ac-social .icon {
  width: 14px;
  height: 14px;
}

body.tree-body .ac-social:hover {
  border-color: var(--tree-line-strong);
  background: var(--tree-surface-2);
  color: var(--tree-accent);
}

body.tree-body .ac-side-card {
  padding: 20px 22px;
}

body.tree-body .ac-side-list {
  margin: 14px 0 0;
  border-top: 1px solid var(--tree-line);
}

body.tree-body .ac-side-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tree-line);
}

body.tree-body .ac-side-row span {
  color: var(--tree-muted);
  font-size: 10px;
  line-height: 1.4;
}

body.tree-body .ac-side-row strong {
  color: var(--tree-ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-align: right;
}

body.tree-body .ac-side-cta {
  margin-top: 16px;
}

body.tree-body .ac-side-cta .ac-btn {
  width: 100%;
}

body.tree-body .ac-empty-note {
  margin: 0;
  padding: 18px 0 0;
  color: var(--tree-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ------------------------------------------------------------------
   People
   ------------------------------------------------------------------ */

body.tree-body .ac-people-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.tree-body .ac-people-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

body.tree-body .ac-people-hero-copy {
  min-width: 0;
  flex: 1 1 320px;
}

body.tree-body .ac-people-title {
  margin: 10px 0 0;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}

body.tree-body .ac-people-sub {
  max-width: 540px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .56);
  font-size: 12.5px;
  line-height: 1.55;
}

body.tree-body .ac-people-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

body.tree-body .ac-people-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-family: var(--ac-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.tree-body .ac-people-count .icon {
  width: 12px;
  height: 12px;
  color: var(--tree-accent-2);
}

body.tree-body .ac-people-stack {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

body.tree-body .ac-stack-avatar {
  width: 66px;
  height: 66px;
  margin-left: -14px;
  overflow: hidden;
  border: 2px solid #101316;
  border-radius: 50%;
  background: #202326;
  color: rgba(255, 255, 255, .7);
  font-family: var(--tree-brand);
  font-size: 22px;
  font-weight: 700;
}

body.tree-body .ac-stack-avatar:first-child {
  margin-left: 0;
}

body.tree-body .ac-stack-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tree-body .ac-stack-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body.tree-body .ac-stack-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-left: -14px;
  border: 2px solid #101316;
  border-radius: 50%;
  background: rgba(255, 85, 0, .16);
  color: var(--tree-accent-2);
  font-family: var(--ac-mono);
  font-size: 11px;
  font-weight: 700;
}

body.tree-body .ac-people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

body.tree-body .ac-person {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--tree-line);
  border-radius: 14px;
  background: var(--tree-surface);
  color: var(--tree-ink);
  transition: border-color .2s ease, transform .2s ease;
}

body.tree-body .ac-person:hover {
  border-color: var(--tree-line-strong);
  transform: translateY(-2px);
}

body.tree-body .ac-person-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.tree-body .ac-person-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  font-size: 19px;
}

body.tree-body .ac-person-body {
  min-width: 0;
}

body.tree-body .ac-person-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}

body.tree-body .ac-person-name > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tree-body .ac-person-meta {
  margin-top: 3px;
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 8.5px;
  letter-spacing: .02em;
  line-height: 1.4;
}

body.tree-body .ac-person-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

body.tree-body .ac-person-badges .ac-chip {
  height: 21px;
  padding: 0 7px;
  font-size: 7.5px;
}

body.tree-body .ac-person-experience {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--tree-muted);
  font-size: 9.5px;
  line-height: 1.4;
}

body.tree-body .ac-person-experience .icon {
  width: 11px;
  height: 11px;
  color: var(--tree-accent);
}

body.tree-body .ac-person-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--tree-line);
  color: var(--tree-muted);
  font-family: var(--ac-mono);
  font-size: 8.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.tree-body .ac-person-arrow {
  color: var(--tree-ink);
  font-size: 12px;
  line-height: 1;
  transition: color .18s ease, transform .18s ease;
}

body.tree-body .ac-person:hover .ac-person-arrow {
  color: var(--tree-accent);
  transform: translateX(1px);
}

body.tree-body .ac-people-empty {
  padding: 52px 20px;
  border: 1px dashed var(--tree-line-strong);
  border-radius: 14px;
  background: var(--tree-surface-2);
  color: var(--tree-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1280px) {
  body.tree-body .ac-dash-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  body.tree-body .ac-auth {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
  }

  body.tree-body .ac-auth-card {
    order: 1;
    width: 100%;
  }

  body.tree-body .ac-auth-promo {
    order: 2;
    width: 100%;
    min-height: 0;
  }

  body.tree-body .ac-dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tree-body .ac-form-grid.is-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.tree-body .ac-people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.tree-body .ac-profile-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tree-body .ac-hero-main {
    align-items: flex-start;
  }

  body.tree-body .ac-hero-actions {
    width: 100%;
    margin-left: 0;
  }

  body.tree-body .ac-hero-actions .ac-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 720px) {
  body.tree-body .account-tree-main {
    padding-top: 12px;
  }

  body.tree-body .flashes {
    width: 100%;
    margin: 0 0 16px;
  }

  body.tree-body .ac-hero {
    padding: 22px 20px 20px;
    border-radius: 14px;
  }

  body.tree-body .ac-hero-name {
    font-size: 32px;
  }

  body.tree-body .ac-avatar-xl {
    width: 84px;
    height: 84px;
    font-size: 30px;
  }

  body.tree-body .ac-stats {
    gap: 7px;
    margin-top: 20px;
    padding-top: 16px;
  }

  body.tree-body .ac-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 10px;
  }

  body.tree-body .ac-stat-ico {
    width: 30px;
    height: 30px;
  }

  body.tree-body .ac-stat-body strong {
    font-size: 22px;
  }

  body.tree-body .ac-stat-body small {
    display: none;
  }

  body.tree-body .ac-next {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 13px;
    padding: 14px 18px 18px;
  }

  body.tree-body .ac-next-title {
    font-size: 18px;
  }

  body.tree-body .ac-card-head {
    padding: 16px 18px 0;
  }

  body.tree-body .ac-card-title {
    font-size: 20px;
  }

  body.tree-body .ac-card-body {
    padding: 14px 18px 18px;
  }

  body.tree-body .ac-empty {
    margin: 14px 18px 18px;
    padding: 30px 16px;
  }

  body.tree-body .ac-points-balance {
    margin: 14px 18px 0;
  }

  body.tree-body .ac-points-item {
    padding: 9px 18px;
  }

  body.tree-body .ac-points-empty {
    padding: 0 18px 16px;
  }

  body.tree-body .ac-ticket-row {
    padding: 11px 18px;
  }

  body.tree-body .ac-history-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 18px;
  }

  body.tree-body .ac-history-poster {
    width: 44px;
    height: 62px;
  }

  body.tree-body .ac-history-status {
    display: none;
  }

  body.tree-body .ac-details-summary {
    padding: 15px 18px;
  }

  body.tree-body .ac-link-box {
    margin: 15px 18px 0;
  }

  body.tree-body .ac-form-profile {
    padding: 15px 18px 18px;
  }

  body.tree-body .ac-profile-hero {
    gap: 16px;
  }

  body.tree-body .ac-profile-hero .ac-avatar-xl {
    width: 78px;
    height: 78px;
    font-size: 28px;
  }

  body.tree-body .ac-profile-name {
    font-size: 30px;
  }

  body.tree-body .ac-about-card,
  body.tree-body .ac-side-card {
    padding: 18px;
  }

  body.tree-body .ac-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tree-body .ac-about-text {
    font-size: 13px;
  }

  body.tree-body .ac-people-hero {
    gap: 18px;
  }

  body.tree-body .ac-people-title {
    font-size: 34px;
  }

  body.tree-body .ac-people-stack {
    padding-right: 0;
  }

  body.tree-body .ac-stack-avatar,
  body.tree-body .ac-stack-more {
    width: 54px;
    height: 54px;
    margin-left: -12px;
    font-size: 18px;
  }

  body.tree-body .ac-people-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.tree-body .ac-auth-card {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }

  body.tree-body .ac-auth-promo {
    padding: 24px 20px 20px;
    border-radius: 14px;
  }

  body.tree-body .ac-promo-title {
    font-size: 29px;
  }

  body.tree-body .ac-promo-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.tree-body .ac-auth {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  body.tree-body .ac-form-grid,
  body.tree-body .ac-form-grid.is-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tree-body .ac-hero-main {
    gap: 15px;
  }

  body.tree-body .ac-hero-actions {
    flex-direction: column;
  }

  body.tree-body .ac-hero-actions .ac-btn {
    width: 100%;
  }

  body.tree-body .ac-next {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  body.tree-body .ac-next-title {
    font-size: 16.5px;
  }

  body.tree-body .ac-next-actions {
    padding-top: 11px;
  }

  body.tree-body .ac-next-actions .ac-btn,
  body.tree-body .ac-next-actions form {
    flex: 1 1 auto;
  }

  body.tree-body .ac-next-actions .ac-btn {
    width: 100%;
  }

  body.tree-body .ac-stat-body > span {
    font-size: 7.5px;
    letter-spacing: .04em;
  }

  body.tree-body .ac-stat-body strong {
    font-size: 20px;
  }

  body.tree-body .ac-points-value {
    font-size: 28px;
  }

  body.tree-body .ac-card-title {
    font-size: 19px;
  }

  body.tree-body .ac-card-action {
    height: 27px;
    padding: 0 9px;
    font-size: 9px;
  }

  body.tree-body .ac-profile-name {
    font-size: 27px;
  }

  body.tree-body .ac-people-title {
    font-size: 31px;
  }

  body.tree-body .ac-people-sub {
    font-size: 11.5px;
  }

  body.tree-body .ac-auth-title {
    font-size: 27px;
  }
}

@media (max-width: 390px) {
  body.tree-body .ac-hero {
    padding: 19px 16px 17px;
  }

  body.tree-body .ac-avatar-xl {
    width: 74px;
    height: 74px;
    font-size: 26px;
  }

  body.tree-body .ac-hero-name {
    font-size: 28px;
  }

  body.tree-body .ac-stat {
    padding: 9px 8px;
  }

  body.tree-body .ac-stat-ico {
    width: 27px;
    height: 27px;
  }

  body.tree-body .ac-stat-body strong {
    font-size: 18px;
  }

  body.tree-body .ac-next {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 15px 16px;
  }

  body.tree-body .ac-card-head {
    padding: 14px 15px 0;
  }

  body.tree-body .ac-card-body {
    padding: 13px 15px 16px;
  }

  body.tree-body .ac-ticket-row {
    padding: 10px 15px;
  }

  body.tree-body .ac-history-row {
    padding: 9px 15px;
  }

  body.tree-body .ac-points-balance {
    margin: 13px 15px 0;
    padding: 12px;
  }

  body.tree-body .ac-points-item {
    padding: 8px 15px;
  }

  body.tree-body .ac-details-summary {
    padding: 13px 15px;
  }

  body.tree-body .ac-form-profile {
    padding: 13px 15px 16px;
  }

  body.tree-body .ac-about-card,
  body.tree-body .ac-side-card {
    padding: 15px;
  }

  body.tree-body .ac-auth-card {
    padding: 20px 16px 18px;
  }

  body.tree-body .ac-auth-promo {
    padding: 20px 16px 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tree-body .ac-page *,
  body.tree-body .ac-page *::before,
  body.tree-body .ac-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
