/* GamesSphere – restored. Palette from the original style.css: #247b99 petrol, #ec971f amber, #d3e5eb mist, #303030 ink */
:root {
	--sea: #247b99;
	--sea-deep: #17566c;
	--sea-dark: #0f3a49;
	--sea-tint: #e3f0f5;
	--amber: #ec971f;
	--amber-deep: #c97a0c;
	--mist: #e8f1f4;
	--paper: #fff;
	--ink: #1f2a2f;
	--muted: #5a6a72;
	--line: #d3e2e8;
	--go: #2c7d4c;
	--low: #9a5a12;
	--radius: 6px;
	--shadow: 0 1px 2px rgba(15, 58, 73, .08), 0 4px 14px rgba(15, 58, 73, .06);
	--cond: "Roboto Condensed", "Arial Narrow", sans-serif;
	--sans: "Open Sans", "Segoe UI", Arial, sans-serif;
	--w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-deep); text-underline-offset: 2px; }
a:hover { color: var(--sea-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--sea-dark); }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: .01em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
/* side padding only: .wrap shares elements with the header bar, main and footer, whose own top/bottom padding must survive */
.wrap { max-width: var(--w); margin: 0 auto; padding-inline: 20px; }
.main { padding-top: 24px; padding-bottom: 48px; min-height: 60vh; }

/* ---------- header ---------- */
.site-head { background: var(--paper); box-shadow: 0 2px 0 rgba(15, 58, 73, .06); position: relative; z-index: 20; }
.head-bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { width: 46px; height: 46px; }
.logo-word { font: 700 1.95rem/1 var(--cond); color: var(--sea); letter-spacing: .02em; text-transform: uppercase; }
.logo-word span { color: var(--sea-dark); }
.logo-sm .logo-word { font-size: 1.5rem; color: #fff; }
.logo-sm .logo-word span { color: #9fd3e6; }
.search { position: relative; display: flex; flex: 1; max-width: 520px; margin-left: auto; }
.search input { flex: 1; min-width: 0; height: 44px; border: 2px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); padding: 0 14px; font: inherit; font-size: .95rem; background: #f7fbfc; }
.search input:focus { outline: none; border-color: var(--sea); background: #fff; }
.search button { height: 44px; padding: 0 16px; border: 0; border-radius: 0 var(--radius) var(--radius) 0; background: var(--sea); color: #fff; cursor: pointer; font: 700 1rem var(--cond); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.search button:hover { background: var(--sea-deep); }
.search button svg { width: 20px; height: 20px; }
.live { position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(15, 58, 73, .2); max-height: 420px; overflow: auto; z-index: 40; }
.live a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.live a:hover, .live a.on { background: var(--sea-tint); }
.live img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; flex: none; }
.live b { display: block; font-weight: 600; }
.live small { color: var(--muted); }
.menu-btn { display: none; align-items: center; gap: 6px; background: none; border: 2px solid var(--line); border-radius: var(--radius); padding: 6px 10px; font: 700 .95rem var(--cond); color: var(--sea-dark); text-transform: uppercase; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

.nav { background: var(--sea); border-bottom: 4px solid var(--sea-deep); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; }
.nav-list > li { position: relative; display: flex; }
.nav-list > li > a { display: block; padding: 13px 18px; color: #fff; text-decoration: none; font: 700 1.05rem/1.2 var(--cond); text-transform: uppercase; letter-spacing: .05em; }
.nav-list > li > a:hover, .nav-list > li:hover > a { background: var(--sea-deep); }
.nav-list > li > a[aria-current] { background: var(--sea-dark); box-shadow: inset 0 -4px 0 var(--amber); }
.mega-toggle { display: none; }
.mega { position: absolute; top: 100%; left: 0; display: none; padding-top: 4px; z-index: 30; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { display: block; }
.mega-in { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 8px 28px; background: #fff; padding: 18px 22px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 40px rgba(15, 58, 73, .22); width: max-content; max-width: min(760px, 92vw); }
.mega-h { margin: 0 0 6px; font: 700 .85rem var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink); text-decoration: none; }
.mega a:hover { color: var(--sea); }
.mega a span { color: var(--muted); font-size: .85rem; }
.mega-guides { left: auto; right: 0; }
.mega-guides .mega-in { grid-template-columns: 1fr; }
.mega-guides ul { columns: 2; column-gap: 28px; }
.mega-guides li { break-inside: avoid; }
.mega-guides a[aria-current] { color: var(--sea); font-weight: 600; }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; font-size: .875rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin: 0 8px; color: #9db3bc; }
.crumbs a { color: var(--sea-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- shared bits ---------- */
.block { margin-top: 34px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--sea); margin-bottom: 16px; }
.block-head h2, .sec-title { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; margin: 0 0 6px; }
.block-head h2 small { font-size: .95rem; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.sec-title { border-bottom: 3px solid var(--sea); padding-bottom: 6px; margin-bottom: 16px; }
.more { font-weight: 600; font-size: .9rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); color: #fff; font: 700 .85rem var(--cond); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.chip:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.chip-soft { background: var(--paper); border-color: var(--line); color: var(--sea-deep); }
.chip-soft:hover { background: var(--sea-tint); color: var(--sea-dark); }
.chips-lg .chip { padding: 7px 14px; font-size: .95rem; background: var(--sea); border-color: var(--sea); }
.chips-lg .chip span { opacity: .75; font-weight: 600; margin-left: 4px; }
.chips-lg .chip:hover { background: var(--sea-deep); }
.btn-play { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--amber); color: #2b1a02; padding: 11px 20px; border-radius: var(--radius); font: 700 1.05rem var(--cond); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; box-shadow: inset 0 -3px 0 var(--amber-deep); }
.btn-play:hover { background: #f4a83a; color: #2b1a02; }
.btn-play svg { width: 16px; height: 16px; }
.btn-wide { display: flex; width: 100%; margin-top: 14px; }
.btn-ghost { display: inline-block; padding: 9px 16px; border: 2px solid var(--sea); border-radius: var(--radius); color: var(--sea-deep); font: 700 .95rem var(--cond); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.btn-ghost:hover { background: var(--sea); color: #fff; }
.empty { color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose img { border-radius: var(--radius); margin: 12px 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--sea); color: var(--muted); }

/* score sphere – the GS ball */
.sphere { --c: var(--sea); position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff;
	background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), transparent 42%), radial-gradient(circle at 50% 50%, var(--c), color-mix(in srgb, var(--c) 55%, #000));
	box-shadow: 0 6px 18px rgba(15, 58, 73, .35); }
.sphere::after { content: ""; position: absolute; inset: 38% -9%; border: 2px solid var(--amber); border-radius: 50%; transform: rotate(-18deg); pointer-events: none; }
.sphere-hi { --c: #2f8a55; }
.sphere-lo { --c: #b06a1a; }
.sphere-none { --c: #7d939c; }
.sphere-n { font: 700 2.3rem/1 var(--cond); }
.sphere-of { font: 700 .8rem/1 var(--cond); opacity: .85; }
.sphere-sm { width: 58px; height: 58px; }
.sphere-sm .sphere-n { font-size: 1.35rem; }

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cards-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.card { position: relative; }
.card-link { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15, 58, 73, .1), 0 10px 24px rgba(15, 58, 73, .14); color: var(--ink); }
.card-img { aspect-ratio: 61 / 32; background: var(--sea-tint); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-noimg { display: grid; place-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sea-tint), #cfe4ec); }
.card-noimg img { width: 64px; height: 64px; opacity: .5; }
.img-contain { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sea-tint), #cfe4ec); }
.card-img .img-contain img, .news-thumb .img-contain img, .side-game-img .img-contain img { width: auto; height: 78%; max-width: 90%; object-fit: contain; border-radius: 6px; box-shadow: 0 2px 8px rgba(15,58,73,.18); }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.card-title { font: 700 1.08rem/1.2 var(--cond); color: var(--sea-dark); }
.card-meta { font-size: .8rem; color: var(--muted); }
.card .score { position: absolute; top: 8px; right: 8px; min-width: 38px; padding: 3px 7px; border-radius: 99px; background: rgba(15, 58, 73, .86); color: #fff; font: 700 .95rem var(--cond); text-align: center; }
.card[hidden] { display: none; }

/* ---------- news lists ---------- */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-row a { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.news-row a:hover .news-title { color: var(--sea); text-decoration: underline; }
.news-thumb { aspect-ratio: 61 / 32; border-radius: 4px; overflow: hidden; background: var(--sea-tint); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.news-game { font: 700 .78rem var(--cond); text-transform: uppercase; letter-spacing: .07em; color: var(--amber-deep); }
.news-title { font-weight: 700; line-height: 1.35; color: var(--sea-dark); }
.news-row time { font-size: .8rem; color: var(--muted); }
.news-big .news-row a { grid-template-columns: 200px 1fr; padding: 12px; }
.news-big .news-title { font-size: 1.05rem; }
.news-compact .news-row a { grid-template-columns: 84px 1fr; padding: 8px; box-shadow: none; border: 1px solid var(--line); }
.news-compact .news-title { font-size: .9rem; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; background: linear-gradient(135deg, var(--sea-dark), var(--sea) 70%); color: #fff; border-radius: 10px; padding: 34px; box-shadow: var(--shadow); }
.hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); text-transform: uppercase; }
.hero-text p { color: #d7ebf2; font-size: 1.05rem; }
.search-big { max-width: none; margin: 18px 0; }
.search-big input { height: 52px; font-size: 1.05rem; border-color: transparent; }
.search-big button { height: 52px; padding: 0 22px; background: var(--amber); color: #2b1a02; }
.search-big button:hover { background: #f4a83a; }
.spotlight { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.spot-img { aspect-ratio: 16 / 7; overflow: hidden; background: var(--sea-tint); }
.spot-img img { width: 100%; height: 100%; object-fit: cover; }
.spot-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.spot-kicker { font: 700 .8rem var(--cond); text-transform: uppercase; letter-spacing: .1em; color: var(--amber-deep); }
.spot-title { font: 700 1.6rem/1.1 var(--cond); color: var(--sea-dark); }
.spot-text { color: var(--muted); font-size: .92rem; }
.spotlight .sphere { position: absolute; top: 12px; right: 12px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
.side-box { background: var(--paper); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); margin-top: 34px; }
.side-box h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 3px solid var(--sea); padding-bottom: 6px; }
.side .side-box:first-child { margin-top: 34px; }
.rank { list-style: none; margin: 0 0 10px; padding: 0; counter-reset: r; }
.rank li { counter-increment: r; }
.rank a { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.rank a::before { content: counter(r); font: 700 1.1rem var(--cond); color: var(--sea); }
.rank b { font: 700 1rem var(--cond); color: #fff; background: var(--go); border-radius: 99px; padding: 1px 8px; }
.rank a:hover span { color: var(--sea); text-decoration: underline; }
.mini-games { list-style: none; margin: 0 0 10px; padding: 0; }
.mini-games a { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mini-games img { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; }
.mini-games b { display: block; font-weight: 700; color: var(--sea-dark); }
.mini-games small { color: var(--muted); }
.term-tiles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.term-tiles a { display: flex; flex-direction: column; padding: 14px 16px; background: var(--paper); border-radius: var(--radius); border-left: 5px solid var(--sea); box-shadow: var(--shadow); text-decoration: none; }
.term-tiles a:hover { border-left-color: var(--amber); }
.term-tiles b { font: 700 1.15rem var(--cond); color: var(--sea-dark); text-transform: uppercase; letter-spacing: .03em; }
.term-tiles span { font-size: .85rem; color: var(--muted); }

/* ---------- game page ---------- */
.game-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px; background: var(--sea-dark); border-radius: 10px 10px 0 0; overflow: hidden; color: #fff; min-height: 250px; }
.game-banner { grid-column: 1 / -1; grid-row: 1; position: relative; }
.game-banner img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.game-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 58, 73, 0) 30%, rgba(15, 58, 73, .92) 100%), linear-gradient(90deg, rgba(15, 58, 73, .25), transparent 60%); }
.no-banner .game-banner { min-height: 180px; background: radial-gradient(circle at 80% 20%, var(--sea), var(--sea-dark)); }
.game-id { grid-column: 1; grid-row: 1; align-self: end; position: relative; display: flex; align-items: flex-end; gap: 16px; padding: 22px 26px; }
.game-logo { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); flex: none; }
.game-id h1 { color: #fff; text-transform: uppercase; margin: 0 0 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.h1-tab { font-size: .55em; color: #bfe3ef; letter-spacing: .06em; }
.game-score { grid-column: 2; grid-row: 1; align-self: end; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 18px 22px; }
.votes { margin: 0; font-size: .82rem; color: #d7ebf2; }
.tabs { background: var(--paper); border-bottom: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: var(--shadow); }
.tabs ul { list-style: none; margin: 0; padding: 0 12px; display: flex; overflow-x: auto; }
.tabs a { display: block; padding: 14px 16px 11px; font: 700 1rem var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-decoration: none; border-bottom: 4px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--sea-dark); }
.tabs a[aria-current] { color: var(--sea-dark); border-bottom-color: var(--amber); }
.tab-n { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--sea-tint); color: var(--sea-deep); font-size: .8rem; text-align: center; }
.game-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 26px; align-items: start; }
.game-desc { background: var(--paper); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); max-width: none; }
.game-desc h2 { text-transform: uppercase; letter-spacing: .03em; font-size: 1.25rem; border-bottom: 3px solid var(--sea); padding-bottom: 6px; }
.facts { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; position: sticky; top: 12px; }
.facts h2 { text-transform: uppercase; letter-spacing: .04em; font-size: 1.2rem; border-bottom: 3px solid var(--sea); padding-bottom: 6px; }
.facts dl, .mini-facts { margin: 0; }
.facts dl > div, .mini-facts > div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts dt, .mini-facts dt { font: 700 .82rem/1.5 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); overflow-wrap: anywhere; hyphens: auto; min-width: 0; }
.facts dd, .mini-facts dd { margin: 0; overflow-wrap: anywhere; }
.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.shots-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.shots a { display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--sea-tint); box-shadow: var(--shadow); }
.shots a[aria-current] { outline: 3px solid var(--amber); }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.shots a:hover img { transform: scale(1.04); }
.viewer { margin-top: 22px; background: var(--sea-dark); border-radius: var(--radius); padding: 14px; }
.viewer figure { margin: 0; }
.viewer img { margin: 0 auto; max-height: 72vh; width: auto; border-radius: 4px; }
.viewer figcaption { color: #cfe6ee; text-align: center; font-size: .85rem; margin-top: 8px; }
.viewer-nav { display: flex; justify-content: space-between; margin-top: 10px; }
.viewer .btn-ghost { border-color: #9fd3e6; color: #fff; }
.opinions { margin-top: 24px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; }
.lead-in { font-size: 1.05rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 12px 0; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 2px solid var(--line); border-radius: var(--radius); padding: 8px 10px; font: inherit; }
.comment-form .submit { background: var(--sea); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 18px; font: 700 1rem var(--cond); text-transform: uppercase; cursor: pointer; }
.form-note { font-size: .85rem; color: var(--muted); }

/* ---------- article ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.article { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 32px 30px; }
.article h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--sea-tint); color: var(--sea-dark); font: 700 .9rem var(--cond); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.pill img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pill:not(:has(img)) { padding-left: 12px; }
.byline { color: var(--muted); font-size: .88rem; }
.lead { font-size: 1.12rem; font-weight: 600; line-height: 1.55; color: var(--sea-dark); max-width: 72ch; }
.article-img { margin: 0 0 18px; }
.article-cta { margin-top: 22px; }
.side-game { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.side-game-img { display: block; aspect-ratio: 61 / 32; background: var(--sea-tint); }
.side-game-img img { width: 100%; height: 100%; object-fit: cover; }
.side-game h2 { font-size: 1.3rem; text-transform: uppercase; margin: 12px 18px 6px; }
.side-game h2 a { text-decoration: none; color: var(--sea-dark); }
.side-game .mini-facts { padding: 0 18px; }
.side-game .btn-wide { width: auto; margin: 14px 18px 18px; }
.side-game-row { display: grid; grid-template-columns: 260px 1fr; margin-top: 22px; }
.side-game-row > div { padding: 4px 18px 18px; }
.side-game-row h2 { margin-left: 0; }

/* ---------- video ---------- */
.video-page h1 { margin-bottom: 14px; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; max-width: 960px; }
.yt iframe, .yt button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt button { padding: 0; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.yt-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 12px; background: rgba(15, 58, 73, .88); }
.yt-icon::after { content: ""; position: absolute; left: 29px; top: 15px; border-left: 18px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.yt button:hover .yt-icon { background: var(--amber); }
.yt-link { font-size: .9rem; margin-top: 8px; }
.video-text { max-width: 960px; margin-top: 18px; }
.video-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vcard a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.vcard-img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--sea-dark); box-shadow: var(--shadow); }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; }
.vcard-img .yt-icon { transform: scale(.7); }
.vcard-t { font-weight: 700; line-height: 1.3; color: var(--sea-dark); }
.vcard-g { font-size: .8rem; color: var(--muted); }
.vcard a:hover .vcard-t { color: var(--sea); text-decoration: underline; }

/* ---------- lists ---------- */
.list-head { margin-bottom: 12px; }
.list-head h1 { text-transform: uppercase; }
.list-head h1 small { font-size: .5em; color: var(--muted); }
.list-intro { color: var(--muted); max-width: 72ch; }
.list-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--paper); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); margin-bottom: 18px; }
.list-tools input { flex: 1 1 240px; height: 42px; border: 2px solid var(--line); border-radius: var(--radius); padding: 0 12px; font: inherit; }
.list-tools input:focus { outline: none; border-color: var(--sea); }
.sorts { display: flex; border: 2px solid var(--sea); border-radius: var(--radius); overflow: hidden; }
.sorts button { border: 0; background: #fff; color: var(--sea-deep); padding: 8px 12px; font: 700 .9rem var(--cond); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.sorts button + button { border-left: 2px solid var(--sea); }
.sorts button[aria-pressed="true"] { background: var(--sea); color: #fff; }
.count { color: var(--muted); font-size: .9rem; margin-left: auto; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.nav-links a, .nav-links span { padding: 7px 12px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; }
.nav-links .current { background: var(--sea); color: #fff; }
.page-body { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 32px; }
.notfound { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; max-width: 760px; }
.notfound .search-big input { border: 2px solid var(--line); border-right: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--sea-dark); color: #cfe3ea; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 34px; padding-bottom: 26px; }
.site-foot h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 3px 0; }
.site-foot a { color: #e7f3f7; text-decoration: none; }
.site-foot a:hover { color: var(--amber); }
.foot-brand p { margin-top: 10px; font-size: .9rem; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); font-size: .82rem; color: #9fbcc6; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 28, 36, .94); display: grid; place-items: center; padding: 20px; }
.lb img { max-width: 94vw; max-height: 84vh; width: auto; border-radius: 4px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb button:hover { background: var(--amber); color: #2b1a02; }
.lb .lb-x { top: 16px; right: 16px; }
.lb .lb-p { left: 16px; top: 50%; }
.lb .lb-n { right: 16px; top: 50%; }
.lb p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cfe6ee; margin: 0; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.cards-6, .shots-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.home-grid, .article-grid { grid-template-columns: 1fr; }
	.side { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 20px; }
}
@media (max-width: 860px) {
	.head-bar { flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; padding-bottom: 12px; }
	.search { order: 3; flex-basis: 100%; max-width: none; }
	.menu-btn { display: inline-flex; margin-left: auto; }
	.nav { display: none; }
	.nav.open { display: block; }
	.nav-list { flex-direction: column; padding: 6px 0; }
	.nav-list > li { flex-wrap: wrap; }
	.nav-list > li > a { flex: 1; padding: 12px 4px; }
	.mega-toggle { display: inline-grid; place-content: center; width: 48px; background: none; border: 0; color: #fff; cursor: pointer; }
	.mega-toggle svg { width: 14px; height: 14px; }
	.has-mega:hover .mega { display: none; }
	.has-mega.open .mega { display: block; }
	.mega { position: static; flex-basis: 100%; padding: 0 0 10px; }
	.mega-in { grid-template-columns: 1fr 1fr; width: auto; border-radius: var(--radius); }
	.mega-guides .mega-in { grid-template-columns: 1fr; }
	.mega-guides ul { columns: 1; }
	.hero { grid-template-columns: minmax(0, 1fr); padding: 24px 18px; }
	.hero > * { min-width: 0; }
	.game-grid { grid-template-columns: 1fr; }
	.facts { position: static; }
	.news-2 { grid-template-columns: 1fr; }
	.news-big .news-row a { grid-template-columns: 132px 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.side-game-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.wrap { padding-inline: 16px; }
	.main { padding-top: 16px; padding-bottom: 40px; }
	.foot-grid { padding-top: 30px; gap: 22px; }
	.game-hero:not(:has(.game-score)) .game-id { padding-bottom: 18px; }
	.logo-word { font-size: 1.55rem; }
	.logo-mark { width: 38px; height: 38px; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cards-6, .shots-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-title { font-size: 1rem; }
	.game-hero { grid-template-columns: 1fr; min-height: 0; }
	.game-banner img { max-height: 190px; min-height: 150px; }
	.game-id { grid-row: 2; background: var(--sea-dark); padding: 14px 16px; }
	.game-logo { width: 64px; height: 64px; margin-top: -40px; }
	.game-score { grid-column: 1; grid-row: 3; flex-direction: row; justify-content: space-between; align-items: center; background: var(--sea-dark); padding: 4px 16px 16px; }
	.game-score .sphere { width: 72px; height: 72px; }
	.game-score .sphere-n { font-size: 1.6rem; }
	.game-banner::after { background: linear-gradient(180deg, transparent 50%, rgba(15, 58, 73, .7)); }
	.game-desc, .article, .opinions, .page-body { padding: 18px 16px; }
	.news-row a, .news-big .news-row a { grid-template-columns: 96px 1fr; gap: 10px; }
	.news-big .news-title { font-size: .98rem; }
	.foot-grid { grid-template-columns: 1fr; }
	.list-tools .count { margin-left: 0; }
	.mega-in { grid-template-columns: 1fr; }
	.hero { padding: 20px 14px; border-radius: 8px; }
	.search-big button { padding: 0 14px; }
	.search-big input { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
