/* 20261106: glass material for the fixed profile dock and its expanded panel. */
html body[data-app-view] #account-home-button {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(140% 170% at 8% -12%, rgba(150, 255, 205, 0.22), transparent 46%),
    radial-gradient(130% 160% at 104% 112%, rgba(118, 168, 255, 0.2), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(10, 18, 31, 0.56) 42%, rgba(8, 14, 26, 0.46) 74%, rgba(255, 255, 255, 0.07));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.44),
    0 0 28px rgba(103, 255, 155, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  transition: width 0.22s ease, height 0.22s ease, border-radius 0.22s ease, padding 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

html body[data-app-view] #account-home-button::before {
  position: absolute;
  inset: -45% -30%;
  z-index: 0;
  background: linear-gradient(108deg, transparent 40%, rgba(255, 255, 255, 0.15) 46%, rgba(160, 255, 210, 0.13) 50%, transparent 58%);
  content: "";
  pointer-events: none;
  transform: translateX(-62%);
  transition: transform 0.95s cubic-bezier(0.22, 0.75, 0.24, 1);
}

html body[data-app-view] #account-home-button:hover::before,
html body[data-app-view] #account-home-button:focus-visible::before,
html body[data-app-view] #account-home-button.is-active::before {
  transform: translateX(62%);
}

html body[data-app-view] #account-home-button #account-avatar,
html body[data-app-view] #account-home-button .profile-trigger-copy,
html body[data-app-view] #account-home-button .account-level-ring,
html body[data-app-view] #account-home-button .profile-trigger-arrow {
  position: relative;
  z-index: 1;
}

html body[data-app-view] #account-home-button:hover,
html body[data-app-view] #account-home-button:focus-visible,
html body[data-app-view] #account-home-button.is-active {
  border-color: rgba(198, 255, 224, 0.58);
  background:
    radial-gradient(140% 170% at 8% -12%, rgba(160, 255, 212, 0.28), transparent 48%),
    radial-gradient(130% 160% at 104% 112%, rgba(126, 176, 255, 0.26), transparent 54%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(12, 22, 38, 0.6) 42%, rgba(8, 14, 26, 0.5) 74%, rgba(255, 255, 255, 0.09));
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.5),
    0 0 38px rgba(103, 255, 155, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

html body[data-app-view] #account-home-button #account-avatar {
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 0 0 1px rgba(103, 255, 155, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(103, 255, 155, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

html body[data-app-view] #account-home-button #account-avatar::after {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 4.8h15a2.7 2.7 0 0 1 2.7 2.7v7.4a2.7 2.7 0 0 1-2.7 2.7h-7.3L6.4 21v-3.4h-1.9a2.7 2.7 0 0 1-2.7-2.7V7.5a2.7 2.7 0 0 1 2.7-2.7Z' fill='%2307160d'/%3E%3Ccircle cx='8' cy='11.2' r='1.35' fill='%238dffb1'/%3E%3Ccircle cx='12' cy='11.2' r='1.35' fill='%238dffb1'/%3E%3Ccircle cx='16' cy='11.2' r='1.35' fill='%238dffb1'/%3E%3C/svg%3E") center / 11px 11px no-repeat,
    linear-gradient(145deg, rgba(170, 255, 198, 0.96), rgba(86, 233, 135, 0.9));
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 14px rgba(103, 255, 155, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: transparent;
  font-size: 0;
}

html body[data-app-view] #account-home-button .account-level-ring {
  background-color: rgba(5, 12, 18, 0.34);
  box-shadow:
    0 0 24px rgba(103, 255, 155, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

html body[data-app-view] #account-home-button .account-level-ring::before {
  background:
    radial-gradient(circle at 34% 24%, rgba(125, 255, 178, 0.22), rgba(5, 14, 12, 0.72) 62%),
    rgba(4, 12, 10, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html body[data-app-view] #account-home-button #account-name {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

html body[data-app-view] #account-home-button .profile-trigger-balance {
  text-shadow: 0 0 14px rgba(103, 255, 155, 0.22);
}

html body[data-app-view] #account-home-button .profile-trigger-recharge {
  gap: 5px;
  border: 1px solid rgba(190, 255, 218, 0.46);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(103, 255, 155, 0.13) 55%, rgba(95, 180, 255, 0.1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 8px 18px rgba(0, 0, 0, 0.18),
    0 0 16px rgba(103, 255, 155, 0.1);
  color: #ecfff3;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

html body[data-app-view] #account-home-button .profile-trigger-recharge:hover {
  border-color: rgba(214, 255, 232, 0.72);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(103, 255, 155, 0.2) 55%, rgba(95, 180, 255, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(103, 255, 155, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

html body[data-app-view] #account-home-button .profile-recharge-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  filter: drop-shadow(0 0 5px rgba(120, 255, 190, 0.45));
  pointer-events: none;
}

html body[data-app-view] #account-home-button .profile-card-shortcuts i {
  gap: 7px;
  min-height: 38px;
  padding: 5px 9px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 48%, rgba(86, 150, 255, 0.1)),
    rgba(10, 20, 36, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.18);
  color: #dff5ff;
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

html body[data-app-view] #account-home-button .profile-card-shortcuts i:hover {
  border-color: rgba(176, 255, 210, 0.52);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06) 48%, rgba(103, 255, 155, 0.12)),
    rgba(12, 24, 40, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 18px rgba(103, 255, 155, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

html body[data-app-view] #account-home-button .profile-shortcut-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05) 55%, rgba(90, 160, 255, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 4px 10px rgba(0, 0, 0, 0.16);
}

html body[data-app-view] #account-home-button .profile-card-shortcuts i[data-profile-shortcut="business"] .profile-shortcut-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05) 55%, rgba(103, 255, 155, 0.14));
}

html body[data-app-view] #account-home-button .profile-icon {
  display: block;
  width: 15px;
  height: 15px;
  filter: drop-shadow(0 0 5px rgba(140, 225, 255, 0.3));
  pointer-events: none;
}

@media (max-width: 820px) {
  html body[data-app-view] #account-home-button {
    border-color: rgba(255, 255, 255, 0.34);
    background:
      radial-gradient(120% 150% at 10% -10%, rgba(150, 255, 205, 0.24), transparent 50%),
      radial-gradient(120% 150% at 105% 110%, rgba(118, 168, 255, 0.2), transparent 55%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(8, 14, 25, 0.58));
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.46),
      0 0 22px rgba(103, 255, 155, 0.13),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body[data-app-view] #account-home-button::before { transition: none; }
}
