/* Prikola.net brand layer.
   Keep product identity separate from shared layout and components. */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/RobotoVariable-Cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/RobotoVariable-Cyrillic-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-main: var(--font-sans);
  --font-display: var(--font-sans);

  --brand-prikola: #f85338;
  --brand-prikola-hover: #df3f28;
  --brand-prikola-soft: #fff0ec;

  --accent-main: var(--brand-prikola);
  --accent-main-hover: var(--brand-prikola-hover);
  --accent-main-soft: var(--brand-prikola-soft);
  --accent-fire: #ff9f1c;
  --accent-fire-hover: #e88b08;
  --accent-fire-soft: #fff3df;
}

.theme-dark {
  --accent-main-soft: rgba(248, 83, 56, 0.17);
  --accent-fire-soft: rgba(255, 159, 28, 0.15);
}

.site-header__logo-image {
  width: auto;
  max-width: 180px;
  height: 40px;
  object-fit: contain;
}

.top-authors-card {
  display: grid;
  gap: 4px;
}

.top-author {
  min-width: 0;
  min-height: 56px;
  display: grid;
  grid-template-columns: 24px 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.top-author:hover {
  background: var(--surface-2);
  color: var(--text);
}

.top-author:active {
  transform: scale(.99);
}

.top-author__position {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-main-soft);
  color: var(--accent-main);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.top-author__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-3);
}

.top-author__body {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.top-author__name {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-author__count {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-author__arrow {
  width: 16px;
  height: 16px;
  color: var(--text-fade);
}

.top-authors__empty {
  margin: 0;
  padding: 10px 4px 4px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
}
