/* Авторы месяца (engine/modules/modmaker/authors_top.php): строка в шапке раздела файлов и страница
   {раздел}/authors/. Подключается прямым тегом с ревизией (AT_CSS_REV), не бандлом. Цвета — только
   переменные темы; аватарка с рамкой LC Pro — классы style-lcpro-cosm.css (lcf_on, lcf). */

/* строка: подпись-ссылка, лента чипов (листается вбок) и «Все →» вне ленты — всегда видна */
.at_strip { display: flex; align-items: center; gap: var(--spad); margin-top: var(--inner-pad); min-width: 0; }
.at_lbl { flex: 0 0 auto; font-size: 14px; font-weight: 500; color: var(--grey); white-space: nowrap; text-decoration: none; }
.at_lbl .fa { color: var(--money-clr); margin-right: 6px; }
@media (hover: hover) { .at_lbl:hover { color: var(--bold-clr); } }
/* на телефоне от подписи остаётся кубок: место нужнее авторам */
.mobile .at_lbl_t { display: none; }
.mobile .at_lbl .fa { margin-right: 0; font-size: 16px; }
.at_list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.at_list::-webkit-scrollbar { display: none; }
.at_u { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 4px 10px 4px 4px; border-radius: 30px;
  background: var(--hov-gg); color: var(--bold-clr); font-size: 14px; white-space: nowrap; text-decoration: none; }
@media (hover: hover) { .at_u:hover { background: var(--superlight-grey); } }
.at_u b { font-weight: 500; color: var(--grey); }
.at_all { flex: 0 0 auto; font-size: 14px; white-space: nowrap; }

/* аватарка: круг; с рамкой LC Pro — отступ под рамку, как у «Загрузил» в карточке файла */
.at_ava { position: relative; display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; }
.at_ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.at_ava.lcf_on { padding: 2px; box-sizing: border-box; }
.at_ava.lcf_on .lcf { inset: 2px; }
.at_nm { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; min-width: 0; }

/* движение за неделю */
.at_mv { font-style: normal; font-size: 12px; font-weight: 500; margin-left: 2px; }
.at_up { color: var(--btn-green); }
.at_down { color: var(--grey); }

/* страница {раздел}/authors/: карточки-строки, как строки списков сайта */
.at_page h1 { margin-bottom: 0; }
.at_note { color: var(--grey); margin: var(--spad) 0 0; line-height: 1.5; }
.at_rows { display: flex; flex-direction: column; gap: 6px; margin-top: var(--inner-pad); }
.at_row { display: flex; align-items: center; gap: var(--inner-pad); padding: 10px var(--sm-bl-pad); border-radius: var(--hint-br); background: var(--hov-gg); min-width: 0; }
.at_pl { flex: 0 0 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  font-weight: 500; color: var(--grey); background: var(--superlight-grey); font-size: 15px; }
/* медали первой тройки: золото — цвет «денег» темы, серебро и бронза — свои */
.at_page { --at-silver: #c9d3de; --at-bronze: #d9925a; }
.at_pl_top { font-size: 16px; }
.at_pl_1 { color: var(--money-clr); box-shadow: inset 0 0 0 2px var(--money-clr); }
.at_pl_2 { color: var(--at-silver); box-shadow: inset 0 0 0 2px var(--at-silver); }
.at_pl_3 { color: var(--at-bronze); box-shadow: inset 0 0 0 2px var(--at-bronze); }
.at_main { flex: 1; min-width: 0; }
.at_line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.at_who { display: inline-flex; align-items: center; gap: 10px; color: var(--bold-clr); text-decoration: none; min-width: 0; font-size: 16px; }
.at_who .at_ava { width: 36px; height: 36px; }
.at_title { font-size: 16px; font-weight: 500; }
.at_title .l_ks { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at_mods { margin-top: 4px; font-size: 14px; color: var(--grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.at_mods .l_ks { color: var(--grey); }
@media (hover: hover) { .at_mods .l_ks:hover { color: var(--bold-clr); } }
.at_dot { font-style: normal; margin: 0 8px; color: var(--light-grey); }
.at_mods_l { margin-right: 6px; }
.at_mdu { font-weight: 500; color: var(--bold-clr); }
.at_who_s { font-size: 14px; gap: 6px; }
.at_who_s .at_ava { width: 20px; height: 20px; }
.at_n { flex: 0 0 auto; text-align: right; line-height: 1.2; }
.at_n b { display: block; font-size: 17px; font-weight: 500; color: var(--bold-clr); }
.at_n small { font-size: 12px; color: var(--grey); }
.at_img { flex: 0 0 96px; height: 54px; border-radius: 6px; overflow: hidden; background: var(--superlight-grey); }
.at_img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 700px) {
  .at_row { gap: var(--spad); }
  .at_img { flex-basis: 72px; height: 40px; }
  .at_who .at_ava { width: 28px; height: 28px; }
  .at_n small { display: none; }
}
.mobile .at_row { gap: var(--spad); }
.mobile .at_img { flex-basis: 72px; height: 40px; }
.mobile .at_n small { display: none; }
:root[data-theme="light"] .at_page { --at-silver: #8693a1; --at-bronze: #b0672c; }

/* кабинет: «Моё место среди авторов» */
.mp_cat { font-weight: 500; font-size: 16px; }
.mp_of { font-size: 14px; color: var(--grey); }
.mp_up { color: var(--bold-clr); }

/* /modmakers/: где вы относительно статуса */
.at_me { margin: 0 0 var(--inner-pad); }
.at_me_line { margin: 0; line-height: 1.6; font-weight: 500; color: var(--bold-clr); }
.at_me_line + .at_me_line { margin-top: 4px; }
.at_me_line .fa { margin-right: 8px; }
.at_me_ok .fa { color: var(--btn-green); }
.at_me_warn .fa { color: var(--money-clr); }
.at_me_prog .fa { color: var(--money-clr); }
.at_bar { height: 6px; border-radius: 3px; background: var(--superlight-grey); margin-top: 8px; overflow: hidden; }
.at_bar i { display: block; height: 100%; background: var(--money-clr); border-radius: 3px; }

/* /modmakers/: «Авторы месяца» по играм — карточка на игру, тройка лидеров */
.at_games { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--spad); margin: var(--inner-pad) 0; padding: 0 var(--inner-pad); }
.at_game { background: var(--hov-gg); border-radius: var(--hint-br); padding: 10px var(--sm-bl-pad); min-width: 0; }
.at_gh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 500; color: var(--bold-clr); text-decoration: none; margin-bottom: 6px; }
.at_gh span { font-size: 14px; font-weight: 400; color: var(--grey); white-space: nowrap; }
@media (hover: hover) { .at_gh:hover span { color: var(--bold-clr); } }
.at_gr { display: flex; align-items: center; gap: 10px; padding: 5px 0; min-width: 0; }
.at_gr .at_pl { flex-basis: 26px; height: 26px; font-size: 13px; }
.at_gr .at_who { font-size: 15px; flex: 1; min-width: 0; }
.at_gr .at_who .at_ava { width: 26px; height: 26px; }
.at_gn { font-weight: 500; color: var(--grey); font-size: 14px; }
