.osg-roster-name { display: inline-flex; align-items: center; gap: var(--app-space-sm); color: var(--app-color-fg); text-decoration: none; font-weight: 600; }
.osg-roster-name:hover .osg-roster-name-text { text-decoration: underline; }
.osg-roster-portrait {
  flex: none; width: 44px; height: 44px; border-radius: var(--app-radius, 0.5rem);
  background-color: color-mix(in srgb, var(--app-color-accent) 8%, var(--app-color-bg));
  background-repeat: no-repeat;
  /* Silhouette default. A CSS background fails silently -- no broken-image
     glyph -- so a character with no portrait, or a portrait_path that 404s,
     both degrade to the silhouette with no JavaScript. A portrait, when
     present, is stacked on top as the first layer: if it loads it covers the
     silhouette, and if it fails to load the silhouette shows through. */
  --osg-silhouette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238b9096'%3E%3Ccircle cx='12' cy='8.5' r='4.2'/%3E%3Cpath d='M3.6 21a8.4 8.4 0 0 1 16.8 0z'/%3E%3C/svg%3E");
  background-image: var(--osg-silhouette);
  background-size: 62%;
  background-position: center 38%;
}
.osg-roster-portrait.has-portrait {
  background-size: cover, 62%;
  background-position: center top, center 38%;
}
.osg-roster-bio { margin: 0.25rem 0 0; color: var(--app-color-fg-muted); font-size: 0.875rem; max-width: 36rem; }
.osg-roster-downtime { margin: 0.3rem 0 0; color: var(--app-color-fg-muted); font-size: 0.8rem; line-height: 1.3; }
