/* Native, transparent emblems. Their own shape and coloured relief carry the brand. */
:root .project-logo {
  background: transparent; border: 0; border-radius: 0;
  box-shadow: none; overflow: visible;
}
:root .project-logo > img {
  max-width: none; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 3px 3px #1724411a);
  transition: transform .2s ease;
}
:root .project-avatar, :root .project-avatar.is-wordmark {
  position: absolute; left: 0; top: 0; width: 72px; height: 64px;
}
:root .project-link-row {
  position: relative; display: flex; align-items: flex-start;
  padding-left: 86px; min-height: 24px; gap: 0;
}
:root .project-name { font-size: 15px; line-height: 1.35; }
:root .row-about, :root .project-row:has(.is-wordmark) .row-about {
  margin: 3px 0 0 86px; max-width: 44ch;
}
:root .row-description {
  font-size: 13px; line-height: 1.5; margin: 0 0 3px;
  overflow-wrap: anywhere; color: var(--muted);
}
:root .project-table td { padding-block: 17px; }
:root .project-website {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 28px; max-width: 100%; padding-block: 3px;
  font-size: 12px; font-weight: 500; line-height: 1.45;
  color: var(--accent-text); overflow-wrap: anywhere;
}
:root .project-website > img {
  width: 14px; height: 14px; flex: none; opacity: .85;
  filter: var(--active-icon-filter);
}
:root .project-website-missing { display: block; padding-block: 5px; line-height: 1.45; }
:root .project-icon { width: 96px; height: 88px; }
:root .project-icon.is-wordmark { width: 132px; height: 88px; }
:root .selected-about { margin: -4px 0 20px 109px; max-width: 66ch; }
:root .analytics-heading:has(.is-wordmark) + .selected-about { margin-left: 145px; }
:root .selected-about > p { font-size: 14px; line-height: 1.55; margin-bottom: 4px; }
:root[data-theme="dark"] .project-logo > img { filter: drop-shadow(0 2px 3px #00000030); }
:root[data-theme="dark"] .project-logo[data-logo-id="rage:majesticrp"] > img {
  filter: brightness(1.45) drop-shadow(0 2px 3px #00000030);
}
:root[data-theme="dark"] .project-logo:is([data-logo-id="mobile:matreshkarp"], [data-logo-id="samp:gambitrp"], [data-logo-id="rage:arizonav"], [data-logo-id="samp:grandrp"], [data-logo-id="samp:samprp"]) > img {
  filter: brightness(1.75) drop-shadow(0 2px 3px #00000030);
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  :root .project-link-row:hover .project-logo > img { transform: translateY(-2px); }
}
@media (max-width:700px) {
  :root .project-avatar, :root .project-avatar.is-wordmark { width: 60px; height: 52px; }
  :root .project-link-row { padding-left: 70px; min-height: 52px; align-items: center; }
  :root .project-name { font-size: 14px; }
  :root .row-about, :root .project-row:has(.is-wordmark) .row-about { margin: 7px 0 0; }
  :root .row-description { font-size: 12px; }
  :root .project-table td { padding-block: 14px; }
  :root .project-icon { width: 80px; height: 72px; }
  :root .project-icon.is-wordmark { width: 110px; height: 72px; }
  :root .selected-about, :root .analytics-heading:has(.is-wordmark) + .selected-about { margin: 0 0 16px; }
  :root .selected-about > p { font-size: 13px; }
}
@media (max-width:360px) {
  :root .project-avatar, :root .project-avatar.is-wordmark { width: 48px; height: 48px; }
  :root .project-link-row { padding-left: 56px; min-height: 48px; }
  :root .project-name { font-size: 13px; }
}
@media (prefers-reduced-motion:reduce) {
  :root .project-logo > img { transition: none; }
}
:root[data-motion="off"] .project-logo > img,
:root[data-motion="off"] .project-link-row:hover .project-logo > img {
  transition: none; transform: none;
}

/* Compact Majestic mark already has a vivid pink face. */
:root[data-theme="dark"] .project-logo[data-logo-id="rage:majesticrp"] > img[src*="majestic-symbol"] { filter: drop-shadow(0 2px 3px #00000030); }
