/* Only the People drawer: now-playing state is supplied by the privacy-filtered presence RPC. */
body.komi-media-hub #komiFriendsDrawer { color: #fafafa; }
body.komi-media-hub #komiFriendsDrawer :is(.komi-friend-rooms-section,.komi-friends-person) { background: #0d0d0d !important; }
body.komi-media-hub #komiFriendsDrawer .komi-friends-person:hover { background: #161616 !important; }
#komiFriendsDrawer .komi-drawer-avatar { position: relative; flex: 0 0 auto; align-self: center; line-height: 0; }
#komiFriendsDrawer .komi-drawer-online {
  position: absolute; inset: auto -1px -1px auto; width: 12px; height: 12px;
  border: 2px solid #0d0d0d; border-radius: 50%; background: #fafafa; box-shadow: none;
}
body #komiFriendsDrawer .komi-drawer-online[hidden] { display: none !important; }
body #komiFriendsDrawer .komi-drawer-online:not([hidden])::after {
  content: ''; pointer-events: none; position: absolute; inset: -2px;
  border: 1px solid currentColor; border-radius: 50%; color: #fafafa;
  animation: komi-drawer-obsidian-pulse 1.85s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes komi-drawer-obsidian-pulse {
  from { transform: scale(.74); opacity: .76; }
  to { transform: scale(1.85); opacity: 0; }
}
body #komiFriendsDrawer .komi-friend-room-live {
  flex-shrink: 0;
  background: #fafafa !important;
  color: #fafafa;
  box-shadow: none !important;
}
body #komiFriendsDrawer .komi-friends-person:has(.komi-drawer-live) { flex-wrap: wrap; }
body #komiFriendsDrawer .komi-drawer-live {
  box-sizing: border-box; flex: 1 0 100%; min-width: 0; margin-block-start: 3px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; padding: 4px 5px 4px 9px; border: 1px solid rgb(255 255 255 / .14);
  border-radius: 9px; background: rgb(255 255 255 / .045); color: #fafafa;
}
#komiFriendsDrawer .komi-drawer-live-copy {
  display: grid; gap: 2px; min-width: 0;
  font-family: ui-monospace, Consolas, 'Liberation Mono', monospace;
}
#komiFriendsDrawer .komi-drawer-live-label {
  position: relative; padding-inline-start: 11px; color: #b9b9b9;
  font-size: 10px; line-height: 1.15; letter-spacing: .09em; text-transform: uppercase;
}
#komiFriendsDrawer .komi-drawer-live-label::before {
  content: ''; position: absolute; inset: .31em auto auto 0;
  width: 5px; height: 5px; border-radius: 50%; background: #fafafa;
}
body #komiFriendsDrawer .komi-drawer-live-title {
  padding-inline-start: 0;
  color: #fafafa;
  font-size: 12px;
  line-height: 1.35;
}
body #komiFriendsDrawer .komi-drawer-live-title::before,
body #komiFriendsDrawer .komi-drawer-live-title::after { content: none; }
body.komi-media-hub #komiFriendsDrawer .komi-friend-room-description small,
body.komi-media-hub #komiFriendsDrawer .komi-friend-rooms-muted { color: #b9b9b9; }
body #komiFriendsDrawer .komi-drawer-live .komi-friend-room-join {
  flex: 0 0 auto; min-height: 34px; min-width: 48px; margin: 0; padding: 4px 8px;
  border-color: rgb(255 255 255 / .25) !important; background: #1b1b1b !important; color: #fafafa !important;
  transition: opacity .18s,transform .18s cubic-bezier(.22,1,.36,1);
}
/* Default to a visible control for touch, keyboard, and hybrid input devices. */
@media (hover:hover) and (pointer:fine) {
  body #komiFriendsDrawer .komi-drawer-live .komi-friend-room-join { opacity: 0; transform: translateX(4px); pointer-events: none; }
  body #komiFriendsDrawer .komi-friends-person:is(:hover,:focus-within) .komi-friend-room-join {
    opacity: 1; transform: none; pointer-events: auto;
  }
}
@media (hover:none), (pointer:coarse), (any-pointer:coarse) {
  body #komiFriendsDrawer .komi-drawer-live .komi-friend-room-join {
    min-height: 44px; opacity: 1; transform: none; pointer-events: auto;
  }
}
body #komiFriendsDrawer .komi-drawer-live .komi-friend-room-join:is(:hover,:focus-visible) {
  border-color: rgb(255 255 255 / .8) !important; background: #fafafa !important; color: #050505 !important;
}
body #komiFriendsDrawer .komi-friend-room-join:focus-visible {
  outline: 2px solid #fafafa; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  body #komiFriendsDrawer .komi-drawer-online:not([hidden])::after,
  body #komiFriendsDrawer .komi-friend-room-live::after { animation: none !important; }
  body #komiFriendsDrawer .komi-drawer-live .komi-friend-room-join { transition: none !important; }
}
