/*
Theme Name: SlotCat
Theme URI: https://example.com
Author: RichTeam
Description: Тема каталога онлайн-слотов: слоты, провайдеры, казино, бонусы. Требует плагин SlotCatalog Core.
Version: 1.2.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: slotcat
*/

:root {
	--bg: #0e1320;
	--bg-alt: #121a2b;
	--card: #182338;
	--card-hover: #1e2b45;
	--border: #263450;
	--text: #e6ebf5;
	--muted: #8d9bb8;
	--accent: #f5b82e;
	--accent-text: #14171f;
	--green: #34d399;
	--red: #f87171;
	--radius: 12px;
	--shadow: 0 8px 24px rgba(0, 0, 0, .35);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.menu { list-style: none; padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; }
.container { width: min(1200px, 100% - 32px); margin: 0 auto; }
.container-narrow { width: min(820px, 100% - 32px); }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .55em 1.1em; border-radius: 8px; border: 1px solid transparent; font-weight: 600; cursor: pointer; white-space: nowrap; transition: .15s; text-decoration: none !important; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: .8em 1.6em; font-size: 1.05rem; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 19, 32, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 800; font-size: 1.25rem; text-decoration: none !important; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-text); font-weight: 900; }
.logo img { max-height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.site-nav .menu { display: flex; gap: 4px; }
.site-nav .menu a { display: block; padding: .5em .8em; border-radius: 8px; color: var(--text); font-weight: 600; }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { background: var(--card); color: var(--accent); text-decoration: none; }
.site-nav .menu .sub-menu { display: none; position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 6px; min-width: 180px; box-shadow: var(--shadow); }
.site-nav .menu li { position: relative; }
.site-nav .menu li:hover > .sub-menu { display: block; }
.header-search { margin-left: auto; display: flex; background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.header-search input { background: transparent; border: 0; color: var(--text); padding: .5em .8em; width: 260px; outline: none; }
.header-search button { background: transparent; border: 0; color: var(--muted); padding: 0 .8em; cursor: pointer; font-size: 1.2rem; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--card); border-radius: 8px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); display: block; }

/* Хлебные крошки и заголовки */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 18px 0 10px; }
.breadcrumbs .sep { margin: 0 .5em; opacity: .5; }
.breadcrumbs a { color: var(--muted); }
.page-head { margin: 0 0 20px; }
.page-count { color: var(--muted); margin: 0; }
.page-intro { color: var(--muted); max-width: 800px; }
.section { padding: 40px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.more { color: var(--muted); font-weight: 600; }
.more:hover { color: var(--accent); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* Hero на главной */
.hero { padding: 56px 0 40px; background: radial-gradient(900px 400px at 20% -10%, rgba(245, 184, 46, .18), transparent 60%), radial-gradient(700px 400px at 90% 0%, rgba(52, 211, 153, .12), transparent 60%), var(--bg-alt); border-bottom: 1px solid var(--border); text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .3em; }
.hero-text { color: var(--muted); max-width: 640px; margin: 0 auto 24px; font-size: 1.05rem; }
.hero-search { display: flex; max-width: 620px; margin: 0 auto 28px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 6px; gap: 6px; }
.hero-search input { flex: 1; background: transparent; border: 0; color: var(--text); padding: .6em .9em; outline: none; min-width: 0; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats b { font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9rem; }

/* Сетки и карточки */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; }
.card:hover { background: var(--card-hover); border-color: #34456a; transform: translateY(-3px); box-shadow: var(--shadow); }
.card-thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0f19; }
.card-thumb img, .thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.card-thumb-wide { aspect-ratio: 5 / 3; }
.thumb-placeholder { display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--border); background: linear-gradient(135deg, #1a2540, #0f1526); }
.card-rating { position: absolute; top: 8px; left: 8px; }
.card-demo { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; font-weight: 700; padding: .25em .55em; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { margin: 0; font-size: 1rem; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.card-provider { font-size: .82rem; color: var(--muted); }
.card-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); margin-top: auto; }
.card-stats b { color: var(--text); font-weight: 600; }
.card-excerpt { font-size: .88rem; color: var(--muted); margin: 0; }
.card-meta { font-size: .8rem; color: var(--muted); margin: 0; }
.card-bonus { color: var(--green); font-weight: 600; margin: 0; }
.card-tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0; }
.card-actions { display: flex; gap: 8px; margin-top: 8px; }
.card-actions .btn { flex: 1; }
.bonus-amount { font-size: 1.4rem; font-weight: 800; color: var(--accent); line-height: 1.2; }
.bonus-amount small { display: block; font-size: .85rem; color: var(--green); font-weight: 600; }
.bonus-amount.big { font-size: 2rem; }

/* Рейтинг и волатильность */
.rating { display: inline-flex; align-items: center; gap: .25em; background: rgba(0,0,0,.55); color: #fff; font-weight: 700; font-size: .8rem; padding: .25em .55em; border-radius: 6px; backdrop-filter: blur(4px); }
.rating-high { color: var(--green); }
.rating-mid { color: var(--accent); }
.rating-low { color: var(--red); }
.rating.big { font-size: 1.1rem; padding: .35em .8em; background: var(--card); border: 1px solid var(--border); }
.vol { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; vertical-align: middle; }
.vol i { width: 4px; background: var(--border); border-radius: 1px; }
.vol i:nth-child(1) { height: 4px; } .vol i:nth-child(2) { height: 7px; } .vol i:nth-child(3) { height: 10px; } .vol i:nth-child(4) { height: 12px; }
.vol i.on { background: var(--accent); }
.vol-low i.on { background: var(--green); }
.vol-very_high i.on { background: var(--red); }
.badge { display: inline-flex; align-items: center; gap: .4em; background: var(--card); border: 1px solid var(--border); padding: .35em .8em; border-radius: 6px; font-size: .9rem; font-weight: 600; }

/* Фильтры */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 24px; }
.filter { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); flex: 1 1 150px; }
.filter select { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: .5em .7em; width: 100%; }
.filter-actions { display: flex; gap: 8px; }
.filters-inline .filter { flex: 0 1 220px; }

/* Страница слота */
.slot-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin: 10px 0 40px; }
.slot-hero-media { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border); }
.slot-hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.slot-hero-media .thumb-placeholder { aspect-ratio: 16 / 9; }
.demo-wrap { position: relative; }
.demo-wrap .btn-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.1rem; box-shadow: var(--shadow); }
.demo-wrap.playing { aspect-ratio: 16 / 9; }
.demo-frame { width: 100%; height: 100%; border: 0; aspect-ratio: 16 / 9; }
.demo-fullscreen { position: absolute; right: 8px; bottom: 8px; font-size: .8rem; padding: .35em .7em; background: rgba(0,0,0,.6); }
.slot-hero-info h1 { margin-bottom: .2em; }
.slot-provider { color: var(--muted); margin-bottom: 12px; }
.slot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.slot-verdict { font-size: 1.05rem; border-left: 3px solid var(--accent); padding-left: 14px; color: var(--text); }
.slot-cta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin: 18px 0; }
.slot-cta small { color: var(--green); font-weight: 600; }
.slot-terms { font-size: .9rem; color: var(--muted); }
.slot-terms p { margin: 0 0 .3em; }
.specs { margin-bottom: 36px; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0; }
.specs-grid > div { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.specs-grid dt { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.specs-grid dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.specs-compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.specs-compact > div { padding: 8px 12px; }
.specs-compact dd { font-size: .95rem; }
.terms { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.gallery { margin-bottom: 36px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gallery-grid img { border-radius: 8px; border: 1px solid var(--border); }
.content { margin-bottom: 36px; }
.entry-content { max-width: 820px; }
.entry-content img { border-radius: 8px; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: .5em .8em; text-align: left; }
.entry-content blockquote { border-left: 3px solid var(--accent); margin: 1em 0; padding-left: 1em; color: var(--muted); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.pros, .cons { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.pros h3 { color: var(--green); } .cons h3 { color: var(--red); }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li, .cons li { padding: .3em 0 .3em 1.5em; position: relative; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.cons li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.where-to-play, .similar, .provider-slots, .casino-bonuses, .casino-slots, .casino-providers { margin-bottom: 36px; }
.casino-list { display: flex; flex-direction: column; gap: 10px; }
.casino-row { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.casino-row-logo img, .casino-row-logo .thumb-placeholder { width: 90px; height: 60px; object-fit: cover; border-radius: 8px; font-size: 1.5rem; }
.casino-row-info { flex: 1; }
.casino-row-info p { margin: 4px 0 0; color: var(--green); font-size: .9rem; }
.casino-row-title { font-weight: 700; color: var(--text); margin-right: 8px; }

/* Провайдер / казино */
.entity-hero { display: flex; gap: 28px; align-items: flex-start; margin: 10px 0 36px; }
.entity-logo { flex: 0 0 260px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.entity-info { flex: 1; }
.casino-welcome { font-size: 1.25rem; font-weight: 700; color: var(--green); }
.provider-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.provider-chip { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 14px 8px 8px; color: var(--text); font-weight: 600; transition: .15s; }
.provider-chip:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.provider-chip img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.provider-chip small { color: var(--muted); font-weight: 400; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; gap: .4em; align-items: baseline; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .35em .9em; color: var(--text); font-size: .9rem; }
.tag:hover { border-color: var(--accent); text-decoration: none; }
.tag small { color: var(--muted); }
.tag.slot_feature { border-style: dashed; }
.promo { border: 1px dashed var(--accent); border-radius: 6px; padding: .1em .5em; }
.promo.copied::after { content: " ✓ скопировано"; color: var(--green); }
.promo-big { font-size: 1rem; padding: .4em .9em; }

/* Блог */
.post-head { margin: 10px 0 20px; }
.post-meta { color: var(--muted); }
.post-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.post-tags a { display: inline-block; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .2em .8em; font-size: .85rem; margin: 0 4px 4px 0; }

/* Комментарии */
.comments { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; max-width: 820px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.comment-list .children { list-style: none; padding-left: 24px; margin-top: 12px; }
.comment-author img { display: inline-block; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.comment-metadata { font-size: .8rem; color: var(--muted); }
.comment-form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: .6em .8em; }
.comment-form .submit { background: var(--accent); color: var(--accent-text); border: 0; border-radius: 8px; padding: .6em 1.3em; font-weight: 600; cursor: pointer; }

/* Пагинация */
.pagination { margin: 30px 0; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.page-numbers.current { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.page-numbers:hover { text-decoration: none; border-color: var(--accent); }

/* 404, поиск */
.not-found { text-align: center; padding: 60px 0; }
.code-404 { font-size: 6rem; font-weight: 900; color: var(--border); line-height: 1; margin: 0; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 20px; }
.search-form input { flex: 1; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: .6em .9em; }

/* Подвал */
.site-footer { margin-top: 60px; background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0 20px; color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.footer-about p { max-width: 420px; }
.widget-title { color: var(--text); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.site-footer .menu li { margin-bottom: 6px; }
.site-footer .menu a { color: var(--muted); }
.site-footer .menu a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }
.disclaimer { max-width: 760px; margin: 0; }
.age { display: inline-block; border: 2px solid var(--red); color: var(--red); border-radius: 50%; padding: .1em .35em; font-weight: 800; font-size: .75rem; margin-right: 6px; }
.copy { margin: 0; }

/* WordPress классы */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }
.sticky {}
.bypostauthor {}
.gallery-caption {}

/* Адаптив */
@media (max-width: 960px) {
	.slot-hero { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.entity-logo { flex-basis: 200px; }
}
@media (max-width: 768px) {
	.nav-toggle { display: flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg-alt); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 12px 16px 16px; gap: 12px; }
	.site-nav.open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding-left: 12px; background: transparent; }
	.header-search { margin-left: 0; }
	.header-search input { width: 100%; }
	.hero { padding: 36px 0 28px; }
	.hero-search { flex-direction: column; }
	.stats { gap: 20px; }
	.grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.grid-3 { grid-template-columns: 1fr; }
	.pros-cons { grid-template-columns: 1fr; }
	.entity-hero { flex-direction: column; }
	.entity-logo { flex-basis: auto; width: 100%; max-width: 320px; }
	.casino-row { flex-wrap: wrap; }
	.footer-grid { grid-template-columns: 1fr; }
	.filter-actions { width: 100%; }
	.filter-actions .btn { flex: 1; }
	h1 { font-size: 1.6rem; }
}
@media (max-width: 420px) {
	.grid { gap: 10px; }
	.card-body { padding: 10px; }
	.card-title { font-size: .92rem; }
}

/* Переключатель языка */
.lang-switcher { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 2px; margin-left: 12px; }
.lang-switcher a { padding: .3em .55em; border-radius: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.lang-switcher a.active { background: var(--accent); color: var(--accent-text); }
.lang-switcher a:hover { text-decoration: none; color: var(--text); }
.lang-switcher a.active:hover { color: var(--accent-text); }
/* FAQ */
.faq { margin-bottom: 36px; max-width: 820px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0 16px; margin-bottom: 8px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 10px; color: var(--accent); font-size: 1.3rem; font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 14px; color: var(--muted); }
@media (max-width: 768px) { .lang-switcher { margin-left: 0; align-self: flex-start; } }

/* Подсказки поиска */
.header-search { position: relative; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); z-index: 60; overflow: hidden; }
.suggest-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; color: var(--text); }
.suggest-item:hover { background: var(--card-hover); text-decoration: none; }
.suggest-item img, .suggest-ph { width: 44px; height: 30px; object-fit: cover; border-radius: 6px; background: var(--bg); flex: 0 0 auto; }
.suggest-body { display: flex; flex-direction: column; min-width: 0; }
.suggest-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-meta { font-size: .78rem; color: var(--muted); }
.suggest-empty { padding: 10px 12px; color: var(--muted); font-size: .9rem; }
/* Оценка игроков */
.user-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.ur-label { font-size: .85rem; color: var(--muted); }
.ur-stars { display: inline-flex; gap: 2px; }
.ur-star { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--border); cursor: pointer; padding: 0 1px; transition: .1s; }
.ur-star.on { color: var(--accent); }
.ur-star:hover { transform: scale(1.15); }
.ur-value { font-weight: 700; }
.ur-value small, .ur-note { color: var(--muted); font-weight: 400; }
/* Сравнение */
.cmp-btn { display: inline-flex; align-items: center; gap: .35em; cursor: pointer; }
.cmp-mini { background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 6px; padding: .15em .5em; font-size: .78rem; margin-left: auto; }
.cmp-mini:hover, .cmp-btn.active { border-color: var(--accent); color: var(--accent); }
.cmp-btn.active .cmp-ico { color: var(--green); }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg-alt); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,.4); z-index: 70; padding: 10px 0; }
.compare-bar-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.compare-items { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.compare-chip { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .25em .5em .25em .8em; font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }
.compare-chip button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; }
.compare-go.disabled { opacity: .5; pointer-events: none; }
.compare-wrap { overflow-x: auto; margin-bottom: 40px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.compare-table th, .compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table thead th { position: relative; vertical-align: bottom; }
.compare-table tbody th { color: var(--muted); font-weight: 500; font-size: .85rem; white-space: nowrap; width: 160px; }
.compare-table tbody tr:nth-child(odd) td { background: rgba(255,255,255,.02); }
.compare-head { display: block; color: var(--text); font-weight: 700; }
.compare-head img { border-radius: 8px; margin-bottom: 6px; max-width: 220px; }
.compare-head:hover { color: var(--accent); text-decoration: none; }
.cmp-remove { position: absolute; top: 4px; right: 4px; background: var(--card); border: 1px solid var(--border); color: var(--muted); border-radius: 50%; width: 26px; height: 26px; cursor: pointer; }
.compare-empty { text-align: center; padding: 40px 0; }
@media (max-width: 768px) { .compare-bar-inner { gap: 8px; } .compare-items { order: 3; width: 100%; } }
body.has-compare { padding-bottom: 76px; }
