/* The public bot catalog — the SEO parts (modules/public_catalog.py, 2026-10-23 «seo-catalog»), loaded after
   catalog.next.css. New classes only (.cs-*), so the cards, the list and the key block of the bot page keep their look:
   - bot page: «О боте» (.cs-about, a .cb-sec of the main column), «Похожие боты» subline, «Ещё в тематике» (.cs-more —
     rows in one card with lines, two columns on a desktop), the collections (.cs-chips), «Это ваш бот?» (.cs-own);
   - list pages: the text from live numbers under the list (.cs-intro) with the collections;
   - /catalog/badge: the badge pictures and the code to copy (.cs-bdg*).
   Tokens of body.ct (landing.css): --c0..--c3 surfaces, --ink..--ink3 text, gold --accent. */

/* ---- «О боте» ---- */
.cs-about p{margin:0;max-width:760px;font-size:15px;line-height:1.7;color:var(--ink2)}
.cs-about p+p{margin-top:12px}
body.ct .cs-about a,body.ct .cs-intro .lp-lead a,body.ct .cs-own a,body.ct .cs-bdg .lp-lead a{color:var(--accent,#f2c94c);text-decoration:underline;text-decoration-color:rgba(242,201,76,.35);text-underline-offset:3px;transition:text-decoration-color .15s}
body.ct .cs-about a:hover,body.ct .cs-intro .lp-lead a:hover,body.ct .cs-own a:hover,body.ct .cs-bdg .lp-lead a:hover{text-decoration-color:var(--accent,#f2c94c)}

/* ---- similar bots, «Ещё в тематике», collections ---- */
.cs-similar .cs-sub{margin:6px 0 18px;font-size:13.5px;color:var(--ink3)}
.cs-more{margin-top:30px}
body.ct .cs-more h3{margin:0 0 12px;font-size:17.5px;line-height:1.3;letter-spacing:-.015em;color:var(--ink)}
.cs-more ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;margin:0;padding:4px 18px;border-radius:16px;background:var(--c1);list-style:none}
.cs-more li{min-width:0;border-top:1px solid rgba(255,255,255,.05)}
.cs-more li:nth-child(-n+2){border-top:0}
.cs-more li a{display:flex;align-items:baseline;gap:10px;min-width:0;padding:12px 0;color:var(--ink);text-decoration:none;transition:color .15s}
.cs-more li a span{overflow:hidden;font-size:14.5px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.cs-more li a small{flex:1 1 auto;overflow:hidden;min-width:0;font-size:12.5px;font-weight:600;color:var(--ink3);white-space:nowrap;text-overflow:ellipsis}
.cs-more li a b{flex:none;margin-left:auto;font-size:13.5px;font-weight:650;color:var(--ink2);font-variant-numeric:tabular-nums}
.cs-more li a:hover span{color:var(--accent,#f2c94c)}
.cs-more__all{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--ink2);font-size:14px;font-weight:600;text-decoration:none;transition:color .15s}
.cs-more__all:hover{color:var(--ink)}
.cs-more__all svg{width:16px;height:16px}

.cs-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px}
.cs-chips>b{margin-right:4px;font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--ink3)}
.cs-chips a{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;background:var(--c1);color:var(--ink2);font-size:13.5px;font-weight:600;text-decoration:none;transition:background-color .15s,color .15s}
.cs-chips a i{font-style:normal;color:var(--ink3);font-variant-numeric:tabular-nums}
.cs-chips a:hover{background:var(--c2);color:var(--ink)}

/* ---- list pages: the text under the list ---- */
.cs-intro .lp-lead{max-width:820px}
body.ct .cs-intro h2{margin:0 0 4px}

/* ---- «Это ваш бот?» ---- */
.cs-own{padding:4px 0 0}
.cs-own p{margin:0;font-size:14px;line-height:1.6;color:var(--ink3)}

/* ---- /catalog/badge ---- */
body.ct .cs-bdg h1{margin:0;font-size:var(--fs-h1,clamp(30px,4.2vw,44px));line-height:1.1;letter-spacing:-.03em;color:var(--ink)}
.cs-bdg .lp-lead{max-width:720px}
body.ct .cs-bdg .cs-bdg__find{max-width:560px;margin:24px 0 0}
.cs-bdg__pics{display:flex;flex-wrap:wrap;gap:16px;margin:26px 0 6px}
.cs-bdg__pic{display:grid;justify-items:start;gap:12px;margin:0;padding:22px 24px 16px;border-radius:16px;background:var(--c1)}
.cs-bdg__pic--light{background:#e9e9ec}
.cs-bdg__pic img{display:block;width:200px;height:56px}
.cs-bdg__pic figcaption{font-size:13px;font-weight:600;color:var(--ink3)}
.cs-bdg__pic--light figcaption{color:#5d5d63}
.cs-bdg__pic figcaption a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.cs-bdg__code{max-width:860px;margin-top:18px}
.cs-bdg__tip{margin:14px 0 0;font-size:13px;color:var(--ink3)}
.cs-bdg__h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.cs-bdg__h b{font-size:14.5px;font-weight:650;color:var(--ink)}
.cs-bdg__h .sb{height:36px;padding:0 14px;font-size:13px}
.cs-bdg__h .sb.is-done{color:#4fd07d}
.cs-bdg pre{margin:0;padding:14px 16px;border-radius:14px;background:var(--c1);color:var(--ink2);font:500 13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all;outline:0}
.cs-bdg pre:focus-visible{box-shadow:inset 0 0 0 1px rgba(242,201,76,.5)}

@media (max-width:720px){
  .cs-about{order:6}
  .cs-about p{font-size:14.5px}
  .cs-more ul{grid-template-columns:minmax(0,1fr);padding:2px 16px}
  .cs-more li:nth-child(2){border-top:1px solid rgba(255,255,255,.05)}
  .cs-chips{margin-top:20px}
  .cs-chips>b{flex:0 0 100%}
  .cs-bdg__pics{flex-direction:column;align-items:stretch}
  .cs-bdg__pic{justify-items:center}
}
/* ---- the bot against its topic; the last 7 days in figures ---- */
.cs-cmp{margin-top:22px}
body.ct .cs-cmp h3,body.ct .cs-week h3{margin:0 0 10px;font-size:16px;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.cs-cmp ul{margin:0;padding:2px 18px;border-radius:16px;background:var(--c1);list-style:none}
.cs-cmp li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;padding:11px 0}
.cs-cmp li+li{border-top:1px solid rgba(255,255,255,.05)}
.cs-cmp li span{font-size:14px;font-weight:600;color:var(--ink2)}
.cs-cmp li b{font-size:15px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}
.cs-cmp li small{grid-column:1/-1;margin-top:2px;font-size:12.5px;font-weight:600;color:var(--ink3)}
.cs-week{margin-top:18px}
.cs-week ol{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
.cs-week li{display:grid;justify-items:center;gap:2px;min-width:0;padding:9px 4px;border-radius:12px;background:var(--c1);text-align:center}
.cs-week time{font-size:11.5px;font-weight:600;color:var(--ink3);white-space:nowrap}
.cs-week b{font-size:14px;font-weight:700;color:var(--ink2);font-variant-numeric:tabular-nums;white-space:nowrap}
.cs-week b.is-up{color:#4fd07d}
.cs-week small{font-size:12px;font-weight:600;color:var(--ink3);font-variant-numeric:tabular-nums;white-space:nowrap}
.cs-week .cb-note{margin-top:8px}
.cs-more li a em{flex:none;font-style:normal;font-size:12.5px;font-weight:650;color:#4fd07d;font-variant-numeric:tabular-nums}

/* ---- «Открыть в Telegram» with its words on a desktop (phones keep the square icon button) ---- */
@media (min-width:721px){
  .cb-tg,.ctm__body .cb-tg{display:inline-flex;align-items:center;gap:10px;width:auto;padding:0 18px;font-size:14.5px;font-weight:650;white-space:nowrap}
  .cb-tg span{position:static;width:auto;height:auto;overflow:visible;clip:auto}
}

/* the steps «Как заказать рекламу» on phones: the landing pages' phone rule puts the number beside the text with a
   left padding that the catalog's own steps remove — the number sat on the title; here it stays above the title */
@media (max-width:640px){
  body.ct .lp-steps li:before{position:static}
}
@media (max-width:720px){
  .cs-cmp ul{padding:2px 16px}
  .cs-week ol{gap:4px}
  .cs-week li{padding:8px 2px}
  .cs-week time{font-size:10.5px}
  .cs-week b{font-size:12.5px}
  .cs-week small{font-size:11px}
}
/* ---- «Все боты от А до Я» (/catalog/vse-boty): letters, then compact rows in columns; the A–Z link under the lists ---- */
.cs-azl{margin:16px 0 0}
.cs-azl a{display:inline-flex;align-items:center;gap:6px;color:var(--ink2);font-size:14px;font-weight:600;text-decoration:none;transition:color .15s}
.cs-azl a:hover{color:var(--ink)}
.cs-azl svg{width:16px;height:16px}
body.ct .cs-az h1{margin:0;font-size:var(--fs-h1,clamp(30px,4.2vw,44px));line-height:1.1;letter-spacing:-.03em;color:var(--ink)}
body.ct .cs-az .lp-lead a{color:var(--accent,#f2c94c);text-decoration:underline;text-decoration-color:rgba(242,201,76,.35);text-underline-offset:3px}
.cs-az__nav{display:flex;flex-wrap:wrap;gap:6px;margin:22px 0 8px}
.cs-az__nav a{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border-radius:999px;background:var(--c1);color:var(--ink2);font-size:14px;font-weight:650;text-decoration:none;transition:background-color .15s,color .15s}
.cs-az__nav a:hover{background:var(--c2);color:var(--ink)}
.cs-az__nav i{flex:0 0 12px}
.cs-az__g{margin-top:28px;scroll-margin-top:84px}
body.ct .cs-az__g h2{margin:0 0 10px;font-size:22px;line-height:1.2;color:var(--accent,#f2c94c)}
.cs-az__g ul{columns:3 300px;column-gap:28px;margin:0;padding:6px 18px;border-radius:16px;background:var(--c1);list-style:none}
.cs-az__g li{break-inside:avoid;display:flex;align-items:baseline;gap:10px;min-width:0;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.cs-az__g li a{display:flex;align-items:baseline;gap:8px;min-width:0;flex:1 1 auto;color:var(--ink);text-decoration:none}
.cs-az__g li a b{overflow:hidden;font-size:14px;font-weight:600;white-space:nowrap;text-overflow:ellipsis}
.cs-az__g li a small{overflow:hidden;min-width:0;font-size:12px;font-weight:600;color:var(--ink3);white-space:nowrap;text-overflow:ellipsis}
.cs-az__g li a:hover b{color:var(--accent,#f2c94c)}
.cs-az__g li>span{flex:none;font-size:12px;font-weight:600;color:var(--ink3);white-space:nowrap}
@media (max-width:720px){
  .cs-az__g ul{columns:1;padding:2px 16px}
  .cs-az__g li{flex-wrap:wrap;row-gap:2px}
  .cs-az__g li a{flex:1 1 100%}
  .cs-az__nav a{min-width:36px;height:36px}
}
@media (prefers-reduced-motion:reduce){.cs-chips a,.cs-more li a,.cs-more__all{transition:none}}

/* ---- ratings (2026-10-24): /catalog/top-botov, /catalog/rastushchie-boty, /catalog/novye-boty — a numbered list of
   rows in one card: place (and in the top its move), avatar, bot, two figures; «Топ по тематикам» cards under the top ---- */
.cr-sec{padding:4px 0 8px}
.cr-top{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;margin:0 0 14px}
.cr-lead{margin:0;max-width:760px;font-size:14.5px;line-height:1.55;color:var(--ink2)}
.cr-share{display:inline-flex;flex:none;align-items:center;gap:8px;height:40px;padding:0 16px 0 12px;border-radius:999px;background:var(--c2);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;transition:background-color .15s}
.cr-share:hover{background:var(--c3)}
.cr-share svg{width:18px;height:18px}
.cr-h,.cr-r>a{display:grid;grid-template-columns:40px 48px minmax(0,1fr) 140px 120px;align-items:center;column-gap:14px}
.cr-h.has-mv,.cr.has-mv .cr-r>a{grid-template-columns:40px 40px 48px minmax(0,1fr) 140px 120px}
.cr-h{padding:0 20px 8px;font-size:12px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:var(--ink3)}
.cr-h>span:first-child{text-align:center}
.cr-h>span:nth-child(2){grid-column:span 2}
.cr-h.has-mv>span:nth-child(2){grid-column:span 3}
.cr-h>span:nth-child(n+3){text-align:right}
.cr{margin:0;padding:6px;border-radius:22px;background:var(--c1);list-style:none}
.cr-r{scroll-margin-top:90px}
.cr-r+.cr-r{border-top:1px solid rgba(255,255,255,.05)}
.cr-r>a{min-height:68px;padding:10px 14px;border-radius:16px;color:var(--ink);text-decoration:none;transition:background-color .15s}
.cr-r>a:hover{background:var(--c2)}
.cr-r:target>a{background:rgba(242,201,76,.08)}
.cr-n{font-size:17px;font-weight:700;color:var(--ink2);text-align:center;font-variant-numeric:tabular-nums}
.cr-r:nth-child(-n+3) .cr-n{color:var(--accent,#f2c94c)}
.cr-mv{font-size:12.5px;font-weight:700;line-height:1;color:var(--ink3);text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.cr-mv.is-up{color:#30d158}
.cr-mv.is-down{color:#ff6961}
.cr-mv.is-new{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent,#f2c94c)}
.cr-ava{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;overflow:hidden;background:var(--c2);color:var(--ink2)}
.cr-ava img{display:block;width:100%;height:100%;object-fit:cover}
.cr-ava b{font-size:18px;font-weight:700}
.cr-id{display:flex;flex-direction:column;gap:3px;min-width:0}
.cr-id>b{overflow:hidden;font-size:15.5px;font-weight:650;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
.cr-id small{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;font-size:13px;font-weight:500;line-height:1.3;color:var(--ink3);white-space:nowrap}
.cr-id small span{overflow:hidden;text-overflow:ellipsis}
.cr-id small span:first-child{flex:0 0 auto;max-width:72%}
.cr-id small span:last-child{flex:0 1 auto;min-width:0}
.cr-id small i{flex:none;width:3px;height:3px;border-radius:50%;background:var(--ink3)}
.cr-c{display:flex;flex-direction:column;align-items:flex-end;font-variant-numeric:tabular-nums;white-space:nowrap}
.cr-c b{font-size:16px;font-weight:700;color:var(--ink)}
.cr-c.is-up b{color:#30d158}
.cr-c small{display:none}
.cr-sec .cs-chips{margin-top:18px}
.cr-tops .cs-sub{margin:6px 0 18px;font-size:13.5px;color:var(--ink3)}
.cr-tps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cr-tp{min-width:0;padding:16px 18px 8px;border-radius:20px;background:var(--c1)}
body.ct .cr-tp h3{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 6px;font-size:16px;line-height:1.3;letter-spacing:-.01em}
.cr-tp h3 a{color:var(--ink);text-decoration:none;transition:color .15s}
.cr-tp h3 a:hover{color:var(--accent,#f2c94c)}
.cr-tp h3 small{flex:none;font-size:12.5px;font-weight:600;letter-spacing:0;color:var(--ink3)}
.cr-tp ol{margin:0;padding:0;list-style:none}
.cr-tp li a{display:flex;align-items:baseline;gap:10px;min-width:0;padding:9px 0;border-top:1px solid rgba(255,255,255,.05);text-decoration:none}
.cr-tp li a i{flex:none;width:14px;font-size:13px;font-style:normal;font-weight:700;color:var(--ink3);font-variant-numeric:tabular-nums}
.cr-tp li a span{flex:1 1 auto;min-width:0;overflow:hidden;font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;transition:color .15s}
.cr-tp li a b{flex:none;font-size:13px;font-weight:650;color:var(--ink2);font-variant-numeric:tabular-nums}
.cr-tp li a:hover span{color:var(--accent,#f2c94c)}
.ct-panel .cs-more__all{margin-top:12px}
@media (max-width:1060px){
  .cr-tps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .cr-top{align-items:flex-start}
  .cr-lead{font-size:14px}
  .cr-share{height:36px;padding:0 13px 0 10px;font-size:13px}
  .cr-h{display:none}
  .cr{padding:4px;border-radius:18px}
  .cr-r>a,.cr.has-mv .cr-r>a{grid-template-columns:28px 40px minmax(0,1fr) auto;grid-template-rows:auto auto;grid-template-areas:"n ava id c1" "mv ava id c2";column-gap:10px;row-gap:2px;min-height:62px;padding:9px 10px 9px 4px;border-radius:14px}
  .cr:not(.has-mv) .cr-r>a{grid-template-areas:"n ava id c1" "n ava id c2"}
  .cr-n{grid-area:n;align-self:end;font-size:15px}
  .cr:not(.has-mv) .cr-n{align-self:center}
  .cr-mv{grid-area:mv;align-self:start;font-size:11px}
  .cr-mv.is-new{font-size:9.5px}
  .cr-r>a>.cr-ava{grid-area:ava;width:40px;height:40px;border-radius:11px}
  .cr-id{grid-area:id}
  .cr-id>b{font-size:15px}
  .cr-id small{font-size:12.5px;gap:6px}
  .cr-c1{grid-area:c1;align-self:end}
  .cr-c2{grid-area:c2;align-self:start}
  .cr-c b{font-size:15px}
  .cr-c2 b{font-size:12.5px;font-weight:600;color:var(--ink3)}
  .cr-c2.is-up b{color:#30d158}
  .cr-tps{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.cr-r>a,.cr-share,.cr-tp li a span,.cr-tp h3 a{transition:none}}
