/* ==========================================================================
   Остров Сокровищ — основной стиль. Небо + море + золото, как в оригинале.
   ========================================================================== */
:root {
  --sky: #9fd3f5;
  --sea: #1f6fc4;
  --sea-deep: #0b3a7e;
  --navy: #072553;
  --panel: rgba(7, 33, 84, .88);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .14);
  --text: #eef4ff;
  --muted: #a9c3ea;
  --gold: #ffd84a;
  --gold-2: #f2a900;
  --red: #a3140a;
  --red-2: #d43b1f;
  --green: #3ccf7a;
  --link: #ffe066;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 18, 60, .35);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; min-height: 100vh;
  font: 17px/1.65 var(--sans); color: var(--text);
  background: var(--sea-deep) url(/assets/img/sea.webp) center 200px / 1920px auto no-repeat;
  background-color: #1d5bb0;
  background-image: url(/assets/img/sea.webp), linear-gradient(180deg, #2a86d6 0, #1d5bb0 900px, #163f8a 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: center 200px, 0 0;
}
img, picture, svg { max-width: 100%; height: auto; }
img { display: inline-block; vertical-align: middle; border-radius: 6px; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ico { vertical-align: -3px; flex: none; }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px;
  font: 700 16px/1.2 var(--sans); cursor: pointer; text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { color: #5a1500; background: linear-gradient(180deg, #fff3a6 0, var(--gold) 45%, var(--gold-2) 100%); box-shadow: 0 4px 0 #b77800, 0 8px 18px rgba(0,0,0,.25); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { box-shadow: 0 4px 0 #b77800, 0 10px 24px rgba(255, 200, 0, .35); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- Шапка: небо, логотип, меню ---------- */
.site-head { position: relative; z-index: 20; }
.sky { background: #8ccaf1 url(/assets/img/sky.webp) center top / cover no-repeat; padding: 10px 0 0; }
.head-row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 180px; }
.logo { grid-column: 2; display: block; line-height: 0; filter: drop-shadow(0 6px 10px rgba(0, 40, 90, .35)); }
.logo img { width: 300px; border-radius: 0; }
.head-cta--reg { justify-self: end; }
.head-cta--login { justify-self: start; grid-column: 3; }
.head-cta--login.btn-ghost { color: #0b3a7e; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 2px #fff, 0 6px 14px rgba(0,40,90,.2); }
.head-tools { position: absolute; top: 0; right: 16px; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); color: var(--sea-deep); cursor: pointer; }
.icon-btn:hover { background: #fff; }
.js-menu { display: none; }
.lang { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.75); color: var(--sea-deep); font-weight: 800; font-size: 14px; }
.lang:hover { background: #fff; text-decoration: none; }
.badge-18 { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: 50%; border: 2px solid var(--red-2); background: #fff; color: var(--red); font: 800 13px/1 var(--sans); }
.badge-18--lg { min-width: 48px; height: 48px; font-size: 16px; border-width: 3px; }
.search-bar { display: flex; gap: 8px; padding-bottom: 12px; }
.search-bar input, .search-form input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 2px solid #fff; border-radius: 999px; font: 16px var(--sans); background: rgba(255,255,255,.95); color: #102a55; }

.nav { background: linear-gradient(180deg, rgba(255,255,255,.0), rgba(4, 35, 92, .25)); padding: 6px 0 14px; margin-top: -2px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.nav-main { gap: 10px; }
.nav-main a {
  display: block; padding: 11px 22px; border-radius: 12px;
  font: 700 19px/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: #7d1206;
  background: linear-gradient(180deg, #ffffff 0, #e6f4ff 48%, #b9defb 52%, #d9efff 100%);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #8fc2ea, 0 6px 14px rgba(0, 40, 100, .35);
  text-shadow: 0 1px 0 #fff;
  transition: transform .15s, box-shadow .15s;
}
.nav-main a:hover, .nav-main a[aria-current] { text-decoration: none; transform: translateY(-2px); box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--gold), 0 10px 20px rgba(0, 40, 100, .4); }
.nav-sub { gap: 4px 18px; margin-top: 12px !important; }
.nav-sub a { color: #fff; font-weight: 600; font-size: 15px; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.nav-sub a[aria-current] { color: var(--gold); }

/* ---------- Каркас страницы ---------- */
.page-wrap { padding-top: 18px; padding-bottom: 40px; }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: #dbe9ff; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; opacity: .7; }
.crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.crumbs [aria-current] { color: #dbe9ff; }
.grid { display: grid; gap: 24px; }
.grid.has-aside { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.main { min-width: 0; background: var(--panel); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line); }
.aside { display: grid; gap: 18px; position: sticky; top: 16px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.box-title { margin: 0 0 10px; font: 700 19px/1.3 var(--serif); color: var(--gold); }
.box-cta { background: linear-gradient(160deg, rgba(13, 70, 150, .95), rgba(7, 33, 84, .95)); }
.box-cta p { font-size: 15px; margin: 0 0 12px; }
.fine { font-size: 13px !important; color: var(--muted); margin: 10px 0 0 !important; text-align: center; }

/* ---------- Типографика контента ---------- */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.25; color: #fff; margin: 1.4em 0 .55em; }
h1 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 0; }
h1 small { font-size: .55em; color: var(--muted); font-weight: 400; }
h2 { font-size: clamp(22px, 2.6vw, 28px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-decoration-color: rgba(255, 224, 102, .45); }
.prose a:hover { text-decoration-color: var(--link); }
.prose strong, .prose b { color: #fff; }
.prose img, .prose picture { margin: 6px 0; }
.prose .fl, .prose picture.fl { float: left; margin: 4px 20px 12px 0; max-width: 45%; }
.prose .fr, .prose picture.fr { float: right; margin: 4px 0 12px 20px; max-width: 45%; }
.prose .c { text-align: center; }
.prose h2, .prose h3 { clear: both; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--gold); background: var(--panel-2); border-radius: 0 10px 10px 0; }
.prose::after { content: ""; display: block; clear: both; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 10px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: rgba(255,255,255,.08); color: var(--gold); font-weight: 700; }
.prose tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.lead { font-size: 18px; color: #dbe9ff; }

/* ---------- Статья ---------- */
.post-head { margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 216, 74, .14); color: var(--gold); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.chip span { opacity: .75; font-weight: 400; }
.chip:hover { background: rgba(255, 216, 74, .25); text-decoration: none; }
.chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; color: var(--muted); }
.post-meta a { color: #fff; }
.m-upd { color: var(--green); }
.toc { margin: 0 0 24px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.toc summary { cursor: pointer; padding: 12px 18px; font: 700 17px var(--serif); color: var(--gold); }
.toc ol { margin: 0; padding: 0 18px 14px 40px; font-size: 15px; }
.toc .toc-l3 { margin-left: 18px; list-style: circle; }
.toc a { color: #dbe9ff; }
.game-cta { float: left; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 212px; margin: 4px 22px 12px 0; padding: 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.game-cta .btn-play { display: inline-flex; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; text-align: center; color: #5a1500 !important; text-decoration: none !important; background: linear-gradient(180deg, #fff3a6, var(--gold) 45%, var(--gold-2)); box-shadow: 0 3px 0 #b77800; }
.post--game .prose .game-cta { display: none; }
.game-hero { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin: 0 0 26px; padding: 20px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line); }
.game-hero-img img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.game-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.facts div { background: rgba(255,255,255,.06); border-radius: 10px; padding: 8px 12px; }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 0; font-weight: 700; }
.review-hero { margin: 0 0 24px; display: grid; gap: 14px; }
.verdict { padding: 16px 20px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,216,74,.18), rgba(255,216,74,.05)); border: 1px solid rgba(255,216,74,.35); }
.verdict-title, .pc-title { margin: 0 0 6px; font: 700 18px var(--serif); color: var(--gold); }
.verdict p:last-child { margin: 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pros, .cons { padding: 14px 18px; border-radius: 12px; background: var(--panel-2); }
.pros ul, .cons ul { margin: 0; padding-left: 1.2em; }
.pros li::marker { content: "✓  "; color: var(--green); }
.cons li::marker { content: "✕  "; color: #ff7a6b; }
.pay-logo { margin: -6px 0 18px; }
.pay-logo img { background: #fff; padding: 6px; border-radius: 10px; }

/* Рейтинг */
.stars { --pct: 0%; position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; vertical-align: -1px; }
.stars::before { content: "★★★★★"; color: rgba(255,255,255,.22); }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: var(--gold); white-space: nowrap; }
.rate { padding: 12px 16px; border-radius: 12px; background: rgba(0,0,0,.18); display: inline-block; }
.rate-title { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate-stars button { background: none; border: 0; padding: 2px 3px; font-size: 30px; line-height: 1; cursor: pointer; color: rgba(255,255,255,.25); transition: transform .1s, color .1s; }
.rate-stars button:hover, .rate-stars button:hover ~ button, .rate-stars button[aria-checked="true"], .rate-stars button[aria-checked="true"] ~ button { color: var(--gold); }
.rate-stars button:hover { transform: scale(1.15); }
.rate-sum { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.rate-sum b { color: #fff; }

/* Голосование «полезно» */
.post-foot { margin-top: 30px; display: grid; gap: 18px; }
.vote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 18px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.vote-title { margin: 0; font-weight: 700; }
.vote-btns { display: flex; gap: 10px; }
.vote-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: 600 15px var(--sans); cursor: pointer; }
.vote-btn:hover { border-color: #fff; }
.vote-btn[aria-pressed="true"][data-v="1"] { background: rgba(60, 207, 122, .2); border-color: var(--green); }
.vote-btn[aria-pressed="true"][data-v="-1"] { background: rgba(255, 122, 107, .2); border-color: #ff7a6b; }
.vote-thanks { flex-basis: 100%; margin: 0; color: var(--green); font-size: 14px; }

/* Ответственная игра */
.rg { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0; padding: 14px 16px; border-radius: 12px; background: rgba(163, 20, 10, .18); border: 1px solid rgba(255, 120, 100, .35); font-size: 14px; line-height: 1.5; }
.rg p { margin: 0; }
.rg .badge-18 { flex: none; }

/* Автор */
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.author-ava { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.12); color: var(--muted); }
.author-ava img { border-radius: 50%; }
.author-ava--lg { width: 120px; height: 120px; }
.author-name { margin: 0 0 4px; font-weight: 700; }
.author-name span { color: var(--muted); font-weight: 400; }
.author-bio, .author-rev, .author-policy { margin: 0 0 4px; font-size: 14px; color: #dbe9ff; }
.authors { list-style: none; padding: 0; display: grid; gap: 14px; }
.author-head { margin-bottom: 20px; }
.author-head h1 { margin: 0 0 4px; }
.author-role { margin: 0; color: var(--muted); }
.author-links { list-style: none; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.author-rev span { color: var(--muted); }
.verify-line { margin: 6px 0; }
.verify-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #0b3b16; background: linear-gradient(180deg, #d9ffd9, #8fe39a); border: 1px solid #4fb862; }
.verify-badge:hover { text-decoration: none; filter: brightness(1.05); }
/* Блоки обновлённых текстов */
.prose .note-upd { padding: 12px 16px; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(255, 216, 74, .1); }
.prose .facts-table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.prose .facts-table th, .prose .facts-table td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose .facts-table th { width: 38%; background: rgba(255,255,255,.06); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; }

.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prevnext a { display: block; padding: 12px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); color: #fff; font-weight: 600; font-size: 15px; }
.prevnext a:hover { border-color: var(--gold); text-decoration: none; }
.prevnext small { display: block; color: var(--muted); font-weight: 400; }
.pn-next { text-align: right; grid-column: 2; }

/* FAQ */
.faq { margin-top: 28px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: var(--panel-2); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 24px; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 4px; color: #dbe9ff; }

/* ---------- Карточки и списки ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cards--games { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.07); border: 1px solid var(--line); transition: transform .15s, border-color .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); border-color: rgba(255, 216, 74, .55); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.card-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: #0d3c80; }
.card-img img, .card-img picture { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.card--game .card-img { aspect-ratio: 1/1; background: linear-gradient(180deg, #2a86d6, #0b3a7e); }
.card--game .card-img img { object-fit: contain; padding: 8px; }
.card-img--ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #2f8be0, #0b3a7e 70%); }
.card-img--ph span { font: 700 48px var(--serif); color: rgba(255, 216, 74, .85); text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.card-title { margin: 0; font: 700 17px/1.35 var(--serif); }
.card-title a { color: #fff; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card-text { margin: 0; font-size: 14px; color: #c9daf5; line-height: 1.5; }
.card-meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.card--game .card-title { font-size: 16px; text-align: center; }
.card--game .card-meta { justify-content: center; }
.list-block { margin: 26px 0; }
.list-block > h2:first-child { margin-top: 0; }
.cat-head { margin-bottom: 8px; }
.cat-text { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.empty { color: var(--muted); }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.4; }
.mini-list a { color: #fff; }
.mini-list a:hover { color: var(--link); }
.mini-list time, .mini-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mini-list--rank { counter-reset: r; }
.mini-list--rank li { counter-increment: r; padding-left: 34px; position: relative; }
.mini-list--rank li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #5a1500; font-weight: 800; font-size: 13px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 14px; }
.tags a span { color: var(--muted); font-size: 12px; }
.tags a:hover { background: rgba(255, 216, 74, .25); text-decoration: none; }
.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.link-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); color: #fff; font-weight: 600; }
.link-grid a:hover { border-color: var(--gold); text-decoration: none; }
.hub-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.hub-grid a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, #ffffff 0, #e6f4ff 48%, #c3e3fb 52%, #e2f2ff 100%); box-shadow: inset 0 0 0 2px #fff, 0 6px 16px rgba(0, 30, 80, .3); color: #7d1206; transition: transform .15s; }
.hub-grid a:hover { transform: translateY(-3px); text-decoration: none; }
.hub-name { font: 700 18px/1.25 var(--serif); text-transform: uppercase; letter-spacing: .03em; }
.hub-desc, .hub-cnt { font-size: 13px; color: #34507a; line-height: 1.4; }
.pay-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pay-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); color: #fff; font-size: 14px; font-weight: 600; text-align: center; height: 100%; }
.pay-grid a:hover { border-color: var(--gold); text-decoration: none; }
.pay-grid img { background: #fff; border-radius: 8px; padding: 4px; max-height: 60px; width: auto; }
.pay-others { margin-top: 30px; }
.related { margin-top: 24px; background: var(--panel); border-radius: var(--radius); padding: 22px 26px; border: 1px solid var(--line); }
.related h2 { margin-top: 0; }

/* Пагинация */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 6px; }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); color: #fff; font-weight: 700; }
.pager a:hover { border-color: var(--gold); text-decoration: none; }
.pager [aria-current] { background: var(--gold); color: #5a1500; border-color: var(--gold); }
.pager .pager-gap { background: none; border: 0; }

/* ---------- Главная ---------- */
.is-home .main { background: transparent; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: center; padding: 30px 34px; border-radius: 20px; background: linear-gradient(120deg, rgba(7, 33, 84, .92), rgba(16, 76, 160, .82)); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-lead p { margin: 0 0 14px; font-size: 17px; color: #dbe9ff; }
.hero-lead img { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 12px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }
.hero-wheel img { width: 200px; border-radius: 50%; animation: spin 40s linear infinite; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
@keyframes spin { to { transform: rotate(360deg); } }
.home-sec { margin-top: 24px; background: var(--panel); border-radius: var(--radius); padding: 22px 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.home-sec > h2:first-child { margin-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.home-news { position: sticky; top: 16px; }

/* Поиск, 404, карта сайта */
.search-form { display: flex; gap: 8px; margin: 14px 0; max-width: 640px; }
.search-form input { border-color: rgba(255,255,255,.4); }
.e404 { text-align: center; padding: 20px 0; }
.e404-code { margin: 0; font: 700 110px/1 var(--serif); color: var(--gold); text-shadow: 0 6px 20px rgba(0,0,0,.4); }
.e404 .search-form { margin: 18px auto; }
.smap ul { list-style: none; padding-left: 18px; }
.smap .smap-l0 { padding-left: 0; columns: 2 320px; column-gap: 30px; }
.smap .smap-l0 > li { break-inside: avoid; margin-bottom: 10px; }
.smap .smap-l0 > li > a { font-weight: 700; }
.smap .smap-l1 { font-size: 15px; }

/* ---------- Подвал ---------- */
.site-foot { background: linear-gradient(180deg, rgba(4, 22, 58, .9), #031130); padding: 36px 0 24px; font-size: 15px; border-top: 1px solid var(--line); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.foot-title { margin: 0 0 10px; font: 700 17px var(--serif); color: var(--gold); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: #dbe9ff; }
.foot-rg { display: flex; gap: 16px; align-items: center; margin: 28px 0 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-rg p { margin: 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.foot-bottom p { margin: 0; }
.social { display: flex !important; gap: 10px !important; grid-auto-flow: column; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.social a:hover { background: var(--gold); color: #5a1500; }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: #5a1500; font-size: 22px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.35); }

/* Возрастное окно */
.age-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(3, 17, 48, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.age-box { max-width: 420px; width: 100%; text-align: center; padding: 28px 24px; border-radius: 18px; background: linear-gradient(160deg, #0f4a9a, #072553); border: 1px solid var(--line); box-shadow: var(--shadow); }
.age-title { font: 700 24px var(--serif); margin: 12px 0 6px; }
.age-box p { margin: 0 0 14px; color: #dbe9ff; }
.age-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1100px) {
  .grid.has-aside { grid-template-columns: minmax(0, 1fr) 260px; }
  .home-cols { grid-template-columns: 1fr; }
  .home-news { position: static; }
}
@media (max-width: 900px) {
  body { font-size: 16px; background-position: center 120px, 0 0; }
  .grid.has-aside { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .head-row { grid-template-columns: 1fr; min-height: 120px; justify-items: center; padding-top: 50px; padding-bottom: 6px; }
  .logo { grid-column: 1; }
  .logo img { width: 210px; }
  .head-cta { display: none; }
  .head-tools { right: 12px; top: 0; }
  .js-menu { display: inline-grid; }
  .nav { display: none; padding: 10px 0 16px; background: rgba(4, 25, 66, .97); }
  .nav.is-open { display: block; }
  .nav-main { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nav-main a { text-align: center; font-size: 16px; padding: 12px 8px; }
  .nav-sub { justify-content: flex-start !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; margin-top: 10px !important; }
  .nav-sub a { display: block; padding: 10px 6px; border-bottom: 1px solid var(--line); }
  .main { padding: 20px 18px; }
  .hero { grid-template-columns: 1fr; padding: 22px 20px; }
  .hero-wheel { display: none; }
  .home-sec, .related { padding: 18px 16px; }
  .game-hero { grid-template-columns: 1fr; }
  .game-hero-img { max-width: 240px; }
  .proscons { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .author-head { flex-direction: column; align-items: center; text-align: center; }
  .author-head .author-links { justify-content: center; }
  .author-ava--lg { width: 96px; height: 96px; }
  .page-wrap { padding-left: 10px; padding-right: 10px; }
  .main { padding: 18px 14px; border-radius: 12px; }
  .prose .fl, .prose .fr, .prose picture.fl, .prose picture.fr { float: none; display: block; max-width: 100%; margin: 8px auto 14px; }
  .game-cta { float: none; margin: 0 auto 16px; }
  .cards { grid-template-columns: 1fr; }
  .cards--games { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prevnext { grid-template-columns: 1fr; }
  .pn-next { grid-column: 1; }
  .vote { flex-direction: column; align-items: flex-start; }
  .foot-rg { flex-direction: column; align-items: flex-start; }
  .pager-prev, .pager-next { display: none !important; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .hub-name { font-size: 15px; }
  .hub-desc { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-head, .aside, .site-foot, .vote, .rate, .to-top, .related, .age-gate { display: none !important; }
  body { background: #fff; color: #000; }
  .main { background: none; box-shadow: none; color: #000; }
}

/* Плашка «казино закрыто, сайт информационный» */
.brand-notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 216, 74, .12); border: 1px solid rgba(255, 216, 74, .45); color: #fff3c4; font-size: 14px; line-height: 1.5; }
.brand-notice p { margin: 0; }
.brand-notice .ico { flex: none; margin-top: 2px; color: var(--gold); }
