/*
 * Vasehry.cz – vzhled „Lištička“ podle podkladů (VaseHry2026/podklady design, schváleno 2026-11-19).
 * Barvy změřené ve vzoru: noční modř pozadí (dolů světlá do nebe patičky), pastelové karty (levandulová, šalvějová,
 * meruňková – barvu má kategorie, viz <style> v layoutu), zlaté hvězdičky, písmo Ubuntu (nadpisy) a Nunito (text).
 * Návrh a generátory obrázků hlavičky a patičky: VaseHry2026/design.
 */

@font-face { font-family: Nunito; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/nunito-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ubuntu-400-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ubuntu-400-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ubuntu-500-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ubuntu-500-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--night: #333e52;
	--bg-top: #344566;
	--bg-bottom: #7584af; /* = nebe nahoře v patičce */
	--band: rgba(20, 24, 44, .55);
	--pill: #1d2238;
	--pill-line: rgba(255, 255, 255, .14);
	--text: #e9eef7;
	--muted: #b7c0d6;
	--ink: #0d0b26;
	--lilac: #b3abdc; --sage: #a8c2ac; --peach: #e5a67b;
	--display: Ubuntu, "Segoe UI", system-ui, sans-serif;
	--body: Nunito, "Segoe UI", system-ui, sans-serif;
	--r: 14px;
}
* { box-sizing: border-box; }
html { background: var(--bg-bottom); }
body { margin: 0; color: var(--text); font: 600 15px/1.45 var(--body); min-height: 100vh; display: flex; flex-direction: column;
	/* průběh změřený ve vzoru, barva spodku je hotová nad patičkou (96 px) */
	background: linear-gradient(180deg, var(--bg-top) 0, #384869 300px, #4b5b7f 620px, var(--bg-bottom) calc(100% - 96px)); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid #fbc27b; outline-offset: 2px; }

/* ---------------------------------------------------------------- hlavička
   ilustrace ze vzoru (bez nápisu) uprostřed bez prolínání; vlevo a vpravo opakované dlaždice s kopci, domky a hvězdami,
   které na obou koncích přesně navazují na hranu ilustrace. Dlaždice = polovina šířky ilustrace. */
.head { --h: 180px; --half: calc(var(--h) * 3.5625); /* výška × 2736 / 384 / 2 */
	position: relative; flex: none; height: var(--h); overflow: hidden;
	background: var(--night) url(../img/okraj-vlevo.webp) calc(50% - var(--half) / 2) top / auto 100% repeat-x; }
.head::after { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; right: 0; background: url(../img/okraj-vpravo.webp) var(--half) top / auto 100% repeat-x; }
.head::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(50% - var(--half)); width: calc(var(--half) * 2); background: url(../img/hlavicka.webp) center top / 100% 100% no-repeat; }
.head__logo { position: absolute; z-index: 2; left: 50%; top: calc(var(--h) * .29); transform: translateX(-50%); margin: 0; white-space: nowrap;
	font: 400 calc(var(--h) * .275)/1 var(--display); letter-spacing: .005em; }
.head__logo a { color: #f2e5dd; text-shadow: 0 0 18px rgba(255, 228, 196, .2); }

/* ---------------------------------------------------------------- menu */
.band { flex: none; position: relative; z-index: 10; background: var(--band); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(0, 0, 0, .25); }
.band__in { display: flex; align-items: center; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.menu { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.menu a, .more summary { flex: none; font: 500 16px var(--display); padding: 7px 16px; border-radius: 999px; background: var(--pill); border: 1px solid var(--pill-line); color: #dfe5f2;
	transition: background .15s, border-color .15s; cursor: pointer; }
.menu a:hover, .more summary:hover { background: #2a3150; }
.menu a.on, .more[open] summary { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); color: #fff; }
.more { position: relative; flex: none; }
.more summary { list-style: none; user-select: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " ▾"; font-size: 12px; }
.more__short { display: none; }
.more__drop { position: absolute; z-index: 20; top: calc(100% + 10px); left: 0; width: 520px; background: #263150; border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; box-shadow: 0 18px 40px rgba(5, 8, 20, .45); }
.more__drop a, .cats a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font: 500 15px var(--display); color: #e7eef6; }
.more__drop a:hover, .more__drop a.on, .cats a:hover, .cats a.on { background: rgba(255, 255, 255, .08); }
.more__drop i, .cats i { margin-left: auto; font: 700 12px var(--body); font-style: normal; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--c, var(--lilac)); }
.search { margin-left: auto; flex: 0 1 230px; display: flex; align-items: center; background: rgba(255, 255, 255, .12); border: 1px solid var(--pill-line); border-radius: 999px; padding: 0 6px 0 16px; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 500 15px var(--display); padding: 8px 0; }
.search input::placeholder { color: #aab4cc; }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search button { border: 0; background: none; color: #c9d1e4; cursor: pointer; padding: 6px; display: grid; place-items: center; }

/* ---------------------------------------------------------------- obsah + pravý sloupec */
.layout { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; padding-top: 18px; padding-bottom: 30px; }
.main { min-width: 0; }
.flash { background: #fff6e4; color: var(--ink); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-weight: 700; }
.flash--error { background: #ffe1dc; }
.title { margin: 6px 0 16px; font-size: 30px; color: #e7eef6; }
.title small, .cat-head small { font-size: 16px; color: var(--muted); margin-left: 6px; }
.lead { color: var(--muted); }
.crumbs { margin: 2px 0 8px; font: 500 14px var(--display); color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 6px; opacity: .6; }

.sect { margin-bottom: 30px; }
.sect__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.sect__head h2 { margin: 0; font-size: 26px; color: #e7eef6; }
.sect__head h2 a { transition: color .15s; }
.sect__head h2 a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .4); }
.sect__all { margin-left: auto; font: 500 14px var(--display); color: var(--muted); white-space: nowrap; }
.sect__all:hover { color: #fff; }
.row, .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 18px; }
.about-site { margin: 10px 0 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.about-site h2 { margin: 0 0 6px; font-size: 19px; }
.about-site p { margin: 0; color: #d6ddec; }

.cat-head { margin: 6px 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.cat-head h1 { margin: 0; font-size: 32px; display: flex; align-items: center; gap: 12px; color: #e7eef6; }
.cat-head h1 .dot { width: 16px; height: 16px; align-self: center; }
.cat-head__count { font: 500 15px var(--display); color: var(--muted); }
.cat-head p { margin: 4px 0 0; flex-basis: 100%; max-width: 75ch; color: #d6ddec; }

/* ---------------------------------------------------------------- karta hry
   změřeno ze vzoru: jednobarevný pastel, tmavá linka těsně kolem, světlý lem uvnitř a kolem obrázku, měkký stín,
   téměř černý název, hvězdičky #fbc27b / #cad3f0, hodnocení téměř černě, ▶ 30 px v tónu karty */
.card { --c: var(--lilac); position: relative; border-radius: var(--r); padding: 9px 9px 11px; background: var(--c); color: var(--ink);
	display: flex; flex-direction: column; gap: 7px; min-width: 0;
	box-shadow: 0 0 0 1px rgba(44, 50, 100, .6), 0 9px 18px rgba(18, 24, 54, .34), inset 0 0 0 1px rgba(255, 255, 255, .28);
	transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(44, 50, 100, .6), 0 15px 26px rgba(18, 24, 54, .42), inset 0 0 0 1px rgba(255, 255, 255, .4); }
.card__pic { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; background: var(--night); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.card__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__pic img.card__none { object-position: 20% 30%; }
.badge { position: absolute; top: 7px; left: 7px; z-index: 1; font: 700 11px var(--body); background: rgba(255, 255, 255, .92); color: var(--ink); padding: 2px 8px; border-radius: 999px; }
.card__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t go" "m go"; align-items: center; column-gap: 8px; row-gap: 3px; padding: 0 2px 0 4px; }
.card__t { grid-area: t; font: 400 19px/1.15 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__m { grid-area: m; display: flex; align-items: center; gap: 8px; min-height: 16px; font: 400 14px var(--display); color: #27213f; }
.card__go { grid-area: go; align-self: end; margin-bottom: 1px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
	background: color-mix(in srgb, var(--c) 45%, #f4f0ff); box-shadow: 0 2px 5px rgba(40, 36, 90, .3); transition: transform .15s, background .15s; }
.card__go svg { width: 10px; height: 11px; margin-left: 2px; fill: #303d6a; }
.card:hover .card__go { background: color-mix(in srgb, var(--c) 25%, #fbf9ff); transform: scale(1.08); }

/* hvězdičky: 5 zaoblených hvězd (SVG), plné přes prázdné do šířky --p (hodnocení v %) */
.stars { --p: 90%; position: relative; display: inline-block; width: 86px; height: 15px; flex: none; background: url(../img/hvezdy-prazdne.svg) left center / 100% 100% no-repeat; }
.stars::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: url(../img/hvezdy-plne.svg) left center / 86px 15px no-repeat; }
.stars--small { width: 74px; height: 13px; }
.stars--small::before { background-size: 74px 13px; }

/* ---------------------------------------------------------------- pravý sloupec */
.side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.side h2 { margin: 0 0 14px; font-size: 24px; color: #e7eef6; }
.top { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.top a { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; }
.top__pic { display: block; aspect-ratio: 74 / 46; border-radius: 9px; overflow: hidden; border: 3px solid var(--c, var(--lilac)); background: var(--night); }
.top__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.top__t { min-width: 0; }
.top b { display: block; font: 400 16px/1.2 var(--display); color: #eef2fa; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top__m { font: 400 12px var(--display); color: var(--muted); display: flex; gap: 6px; align-items: center; }
.top a:hover b { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.cats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 2px; }

/* ---------------------------------------------------------------- reklamy */
.ad { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; max-width: 100%; overflow: hidden; }
.ad ins { display: block; max-width: 100%; }
.ad__empty { display: flex; align-items: center; justify-content: center; text-align: center; max-width: 100%; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 10px;
	color: var(--muted); font-size: 12px; background: rgba(255, 255, 255, .04); }
.ad--mobile, .ad--tablet { display: none; }
.top-ad .ad--top { margin: 18px auto 0; }
.ad--band { margin: -6px auto 30px; }
.ad--after { margin: 30px auto 0; } /* pod mřížkou her, nad stránkováním */
.ad--row { grid-column: 1 / -1; margin: 4px auto; }
.ad--sticky { position: sticky; top: 16px; margin: 0; }
.ad--side { margin: 0 0 26px; } /* u hry mezi nejlepšími hrami a kategoriemi */

/* ---------------------------------------------------------------- stránka hry */
.game { --c: var(--lilac); background: var(--c); border-radius: 20px; padding: 10px; color: var(--ink); margin-bottom: 10px;
	box-shadow: 0 0 0 1px rgba(44, 50, 100, .6), 0 10px 30px rgba(10, 14, 34, .35), inset 0 0 0 1px rgba(255, 255, 255, .28); }
.game__bar { display: flex; align-items: center; gap: 10px; padding: 2px 6px 10px; flex-wrap: wrap; }
.game__bar h1 { margin: 0 auto 0 0; font-size: 26px; line-height: 1.15; }
.game__rate { display: flex; align-items: center; gap: 8px; font: 400 14px var(--display); color: #27213f; }
.ibtn { border: 0; cursor: pointer; height: 34px; min-width: 34px; padding: 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 45%, #f4f0ff); color: #303d6a;
	font: 500 14px var(--display); display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 2px 5px rgba(40, 36, 90, .25); transition: background .15s; }
.ibtn:hover { background: #fbf9ff; }
.votes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vote { padding: 0; width: 38px; }
.vote svg { width: 17px; height: 17px; }
.vote--down svg { transform: scaleY(-1); }
.vote--up[aria-pressed="true"] { background: #6aa77a; color: #fff; }
.vote--down[aria-pressed="true"] { background: #d27b6a; color: #fff; }
.votes__hint { font-size: 12px; font-weight: 700; color: #27213f; }
.player { position: relative; background: #000; margin: 0 auto; max-width: 100%; border-radius: 12px; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.player--scaled iframe { width: var(--native-w); height: var(--native-h); transform: scale(var(--scale)); transform-origin: 0 0; }
.player:fullscreen { border-radius: 0; }
.player:fullscreen iframe { width: 100%; height: 100%; transform: none; }
.note { font-size: 12px; color: var(--muted); margin: 0 4px 14px; }
.info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; margin: 0 0 30px; }
.info:has(> .panel:only-child) { grid-template-columns: 1fr; }
.panel { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.panel h2, .gallery h2, .videos h2 { margin: 0 0 8px; font-size: 19px; color: #e7eef6; }
.panel__text { margin: 0; color: #d6ddec; white-space: pre-line; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tags a { font: 500 13px var(--display); padding: 4px 12px; border-radius: 999px; background: var(--c, var(--lilac)); color: var(--ink); }
.meta { display: flex; gap: 6px 16px; flex-wrap: wrap; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.meta a { text-decoration: underline; }
.controls__list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.control { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.control__inputs { display: flex; align-items: center; gap: 10px; min-height: 58px; }
.control__label { font-size: 12px; font-weight: 700; color: #d6ddec; }
.controls kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 7px; background: #e9eef7; color: var(--ink);
	border-radius: 7px; box-shadow: inset 0 -3px 0 #b7c0d6; font: 700 12px/1 var(--body); text-transform: uppercase; }
.controls kbd.k-wide { padding: 0 10px; text-transform: none; }
.controls kbd img { filter: brightness(0); }
.keys { display: inline-flex; gap: 3px; }
.keys--col { flex-direction: column; }
.keys--arrows { display: inline-grid; grid-template-columns: repeat(3, 28px); grid-template-rows: 28px 28px; gap: 4px; }
.keys--arrows .k-up { grid-column: 2; }
.keys--arrows kbd:nth-child(2) { grid-column: 1; grid-row: 2; }
.keys--arrows kbd:nth-child(3) { grid-column: 2; grid-row: 2; }
.keys--arrows kbd:nth-child(4) { grid-column: 3; grid-row: 2; }
.mouse { display: block; filter: invert(1) brightness(1.4); }
.controls__text { margin: 0; color: #d6ddec; }
.gallery, .videos { margin: 0 0 30px; }
.gallery__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery__item img { display: block; width: 100%; border-radius: 10px; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 10px; border-radius: 12px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 14, 34, .85); }
.lightbox img { display: block; max-width: 95vw; max-height: 90vh; border-radius: 12px; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------------------------------------------------------------- stránkování */
.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 30px 0 10px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; font: 500 15px var(--display); }
.pager a { background: var(--pill); border: 1px solid var(--pill-line); }
.pager a:hover { background: #2a3150; }
.pager__current { background: var(--lilac); color: var(--ink); }
.pager__gap { color: var(--muted); }

/* ---------------------------------------------------------------- statické stránky (Slug/page z jádra) */
.page-content, .page { max-width: 75ch; }
.main article h1 { font-size: 30px; margin: 6px 0 14px; color: #e7eef6; }
.main article p, .main article li { color: #d6ddec; }
.main article a { text-decoration: underline; }

/* ---------------------------------------------------------------- patička ze vzoru webu, do stran stejné opakované kopce */
.pata { --fhalf: 600px; flex: none; position: relative; height: 96px; overflow: hidden;
	background: url(../img/paticka-okraj-vlevo.webp) calc(50% - var(--fhalf) / 2) top / auto 100% repeat-x; }
.pata::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; right: 0; background: url(../img/paticka-okraj-vpravo.webp) var(--fhalf) top / auto 100% repeat-x; }
.pata::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(50% - var(--fhalf)); width: calc(var(--fhalf) * 2); background: url(../img/paticka.webp) center top / 100% 100% no-repeat; }
.pata__links { position: absolute; z-index: 2; right: max(16px, calc(50% - 604px)); bottom: 10px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; font: 500 14px var(--display); color: #d9e0ee; }
.pata__links a:hover { color: #fff; text-decoration: underline; }
.pata__copy { position: absolute; z-index: 2; left: max(16px, calc(50% - 604px)); bottom: 10px; margin: 0; font-size: 12px; color: rgba(217, 224, 238, .7); }

/* ---------------------------------------------------------------- menší obrazovky */
@media (max-width: 1180px) {
	.row, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.row > :nth-child(n+4) { display: none; }
	.row--news > :nth-child(-n+6) { display: flex; }
}
@media (max-width: 920px) {
	.layout { grid-template-columns: 1fr; }
	.ad--sticky, .side .ad--side { display: none; }
	.side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
	.info { grid-template-columns: 1fr; }
}
/* horní banner: 970×90 se vejde až od 1002 px (970 + okraje), užší obrazovky dostanou 728×90 (pozice „tablet“) */
@media (max-width: 1001px) and (min-width: 761px) {
	.ad--leaderboard.ad--desktop { display: none; }
	.ad--leaderboard.ad--tablet { display: flex; }
}
@media (max-width: 760px) {
	.ad--desktop, .ad--tablet { display: none; }
	.ad--mobile { display: flex; }
}
@media (max-width: 640px) {
	.head { --h: 132px; }
	.head::before { left: -34px; } /* na mobilu lištička na měsíci, nápis vpravo */
	.head__logo { top: 74px; left: auto; right: 14px; transform: none; font-size: 30px; }
	.band__in { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; }
	.band .search { grid-column: 1 / -1; grid-row: 1; margin: 0; flex: none; }
	.menu a:not(.on) { display: none; }
	.more__long { display: none; } .more__short { display: inline; }
	.more__drop { position: fixed; left: 12px; right: 12px; top: auto; width: auto; }
	.row, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
	.row > :nth-child(n+3) { display: none; }
	.row > :nth-child(-n+4) { display: flex; }
	.row--news > :nth-child(n+7) { display: none; }
	.card__t { font-size: 16px; }
	.card__m .score { display: none; }
	.side { grid-template-columns: 1fr; }
	.cat-head h1, .title { font-size: 26px; }
	.game__bar h1 { font-size: 21px; flex-basis: 100%; }
	.pata__copy { display: none; }
	.pata__links { left: 16px; justify-content: flex-end; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.card, .card__go { transition: none; }
	.card:hover { transform: none; }
}
