.social-dock {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.social-dock-note {
  font-size: 8px;
  font-weight: 700;
  background: #f4df49;
  color: #4c378b;
  padding: 7px 10px;
  border-radius: 15px;
  box-shadow: 0 3px 12px #39255520;
}
.social-dock > a {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: #4c378b;
  box-shadow: 0 4px 16px #33204d30;
  color: white;
  transition: transform 0.2s;
}
.social-dock > a:nth-of-type(2) {
  background: #7c3a89;
}
.social-dock > a:nth-of-type(3) {
  background: #262038;
}
.social-dock > a:hover {
  transform: translateY(-3px);
}
.social-dock img {
  filter: invert(1);
  width: 22px;
  height: 22px;
}
.social-dock > a > span {
  position: absolute;
  right: 58px;
  white-space: nowrap;
  background: #4c378b;
  color: white;
  border-radius: 6px;
  font-size: 10px;
  padding: 7px 11px;
  opacity: 0;
  pointer-events: none;
}
.social-dock > a:hover > span,
.social-dock > a:focus-visible > span {
  opacity: 1;
}
@media (max-width: 760px) {
  .social-dock {
    flex-direction: row;
    right: 12px;
    bottom: 78px;
    gap: 8px;
  }
  .social-dock-note {
    display: none;
  }
  .social-dock > a {
    width: 42px;
    height: 42px;
  }
  .social-dock > a > span {
    right: 0;
    bottom: 52px;
    font-size: 8px;
  }
  .app-footer {
    padding-bottom: 110px;
  }
  body:has(input:focus) .social-dock,
  body:has(textarea:focus) .social-dock {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-dock > a {
    transition: none;
  }
}
@media (min-width: 761px) {
  .social-dock {
    right: 4px;
  }
}
.study-layout > aside,
.study-panel {
  min-width: 0;
}
@media (max-width: 760px) {
  body:has(.workspace) .social-dock,
  body:has(.account-main) .social-dock {
    flex-direction: column;
    right: 12px;
    bottom: 78px;
  }
  .workspace,
  .account-main {
    padding-right: 72px;
  }
  .workspace .word-card h3 {
    font-size: clamp(24px, 7vw, 30px);
  }
}
