/* Hry-zdarma.org – vzhled „Včelka“ podle starého webu (2008): šedé proužkované pozadí, oranžové rámy s bílým okrajem,
   žluté proužkované boxy, černé lišty s bílým písmem a žlutočerný panáček. Rozložení vlevo kategorie, uprostřed hry,
   vpravo nejhranější; responzivní (pod 1480 px jde pravý sloupec pod hry, pod 1000 px kategorie do lišty). */

:root {
	--page: #f1f1f1;
	--frame: #fff;
	--frame-line: #d9d9d9;
	--orange: #ff8000;
	--orange-dark: #e06f00;
	--yellow: #ffce2b;
	--yellow-2: #ffbc00;
	--hl: #ffa318;
	--black: #000;
	--ink: #111;
	--white: #fff;
	--green: #2e9e3e;
	--red: #d8301e;
	--font: Arial, Helvetica, sans-serif;
	--display: "Arial Black", "Arial Bold", Gadget, Arial, sans-serif;
	--stripes-yellow: repeating-linear-gradient(-45deg, var(--yellow-2) 0 1.4px, var(--yellow) 1.4px 5px);
	--stripes-black: repeating-linear-gradient(-45deg, #232323 0 1.2px, #000 1.2px 5px);
	--s: 1; /* měřítko hlavičky (obrázky z původní hlava.gif) */
	--radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font: 14px/1.45 var(--font); color: var(--ink);
	background: repeating-linear-gradient(-45deg, #ececec 0 1px, var(--page) 1px 5px) var(--page);
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
.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: var(--black); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 16px; }

.site { max-width: 1500px; margin: 0 auto; padding: 14px 12px 24px; }

/* rám jako na starém webu: bílý okraj, šedá linka, uvnitř oranžová */
.frame, .head, .box, .col--main, .pata {
	background: var(--orange); border: 4px solid var(--frame); border-radius: var(--radius);
	box-shadow: 0 0 0 1px var(--frame-line), 0 2px 6px rgba(0, 0, 0, .08);
}

/* ---------------------------------------------------------- hlavička */
.head { position: relative; margin-bottom: 12px; background: var(--frame); overflow: hidden; }
.head__line { display: flex; justify-content: space-between; gap: 10px; padding: 1px 6px 3px; font-size: 11px; font-weight: 700; background: var(--frame); }
.head__art {
	position: relative; height: calc(139px * var(--s));
	background:
		url("../img/hlava-pozadi.png") 0 0 / calc(40px * var(--s)) calc(101px * var(--s)) repeat-x,
		linear-gradient(#fdfdfe 0 calc(5px * var(--s)), #000 calc(5px * var(--s))) 0 calc(101px * var(--s)) / 100% calc(38px * var(--s)) no-repeat;
	image-rendering: auto;
}
.head__logo { position: absolute; left: 0; bottom: 0; z-index: 2; display: block; line-height: 0; }
.head__logo img { width: calc(410px * var(--s)); height: auto; display: block; }
.head__www { position: absolute; right: 12px; top: calc(4px * var(--s)); width: calc(257px * var(--s)); height: auto; }

.search { position: absolute; z-index: 3; right: 14px; top: calc(22px + 40px * var(--s)); display: flex; gap: 6px; }
.search input {
	width: 260px; height: 32px; padding: 0 10px; font: 700 14px var(--font); color: var(--ink);
	background: #fffbe6; border: 2px solid var(--black); border-radius: 6px;
}
.search input:focus { outline: 3px solid #fff; }
.search button {
	height: 32px; padding: 0 14px; border: 2px solid var(--black); border-radius: 6px; cursor: pointer;
	font: 800 13px var(--font); text-transform: uppercase; color: #fff; background: var(--stripes-black);
}
.search button:hover { color: var(--yellow); }

/* černá lišta: na širokých obrazovkách v liště obrázku vedle panáčka, na mobilu pod ní */
.nav { position: relative; z-index: 3; margin-top: calc(-33px * var(--s)); padding-left: calc(232px * var(--s)); height: calc(33px * var(--s)); background: transparent; }
.nav__list { list-style: none; margin: 0; padding: 0; height: 100%; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__item { flex: none; display: flex; align-items: center; }
.nav__item + .nav__item::before { content: ""; width: 2px; height: 18px; background: #fff; margin: 0 2px; }
.nav__item a { display: block; padding: 4px 12px; color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; }
.nav__item a:hover { color: var(--yellow); text-decoration: none; }
.nav__item.active a { color: var(--yellow); }
.nav__item--end { margin-left: auto; }
.nav__item--end::before { display: none; }

/* všechny kategorie pod hlavičkou – jen když chybí levý sloupec (užší obrazovky a stránka hry) */
.cats { display: none; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--orange); border-top: 1px solid #fff; }
.cats__item { padding: 3px 10px; font-weight: 700; font-size: 13px; color: var(--black); background: var(--stripes-yellow); border: 1px solid #fff; white-space: nowrap; }
.cats__item--hl { background: repeating-linear-gradient(-45deg, #ffb33a 0 1.4px, var(--hl) 1.4px 5px); text-transform: uppercase; font-size: 12px; }
.cats__item:hover { background: #fff3b8; text-decoration: none; }
.cats__item.active { background: var(--stripes-black); color: var(--yellow); }
.page-game .cats { display: flex; }

/* ---------------------------------------------------------- sloupce */
.cols { display: grid; grid-template-columns: 190px minmax(0, 1fr) 300px; grid-template-areas: "left main right"; gap: 12px; align-items: start; }
.cols--game { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.col--left { grid-area: left; display: grid; gap: 12px; }
.col--main { grid-area: main; padding: 10px; min-width: 0; }
.col--right { grid-area: right; display: grid; gap: 12px; min-width: 0; }

.box { padding: 6px; }
.box__title {
	display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 6px; padding: 3px 4px 3px 8px;
	font: italic 900 15px/21px var(--display); letter-spacing: .5px; text-transform: uppercase; color: #fff;
	background: var(--stripes-black); border: 1px solid #fff;
}
.box__title::after { content: ""; flex: none; width: 26px; height: 21px; background: url("../img/vcelka-ikona.png") center / contain no-repeat; }

.menu { list-style: none; margin: 0 0 6px; padding: 0; }
.menu:last-child { margin-bottom: 0; }
.menu a {
	display: flex; justify-content: space-between; gap: 6px; padding: 2px 8px 2px 12px; margin-top: -1px;
	font-weight: 700; font-size: 13px; line-height: 19px; color: var(--black);
	background: var(--stripes-yellow); border-top: 1px solid #fff; border-bottom: 1px solid #fff;
}
.menu a::before { content: "›"; margin-right: -2px; font-weight: 900; }
.menu a { justify-content: flex-start; }
.menu small { margin-left: auto; font-size: 11px; font-weight: 700; opacity: .65; }
.menu--hl a { background: repeating-linear-gradient(-45deg, #ffb33a 0 1.4px, var(--hl) 1.4px 5px); text-transform: uppercase; font-size: 12px; }
.menu a:hover { text-decoration: none; background: #fff3b8; }
.menu .active a { background: var(--stripes-black); color: var(--yellow); }

/* nadpis v černém pruhu (h4.gif) */
.bar, .col--main > h1 {
	display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding: 4px 10px;
	font: italic 900 17px/1.3 var(--display); letter-spacing: .3px; color: #fff;
	background: var(--stripes-black); border: 1px solid #fff;
}
.bar small { margin-left: auto; font: 700 12px var(--font); font-style: normal; color: var(--yellow); white-space: nowrap; }
h2.bar { font-size: 15px; text-transform: uppercase; margin-top: 16px; }
.col--main > h2.bar:first-child { margin-top: 0; }
.bar--game { font-size: clamp(18px, 2.4vw, 26px); padding: 8px 14px; }

/* žlutý informační box (info-box s raketou) */
.info { position: relative; display: flex; gap: 14px; align-items: center; margin: 0 0 10px; padding: 10px 14px; background: var(--stripes-yellow); border: 1px solid #fff; color: var(--black); }
.info p { margin: 0; }
.info__img { flex: none; width: 60px; height: auto; }
.info--slim { display: block; font-weight: 700; }
.info--text { display: block; margin-top: 16px; }
.info--text h2 { font: italic 900 16px var(--display); margin: 0 0 4px; }

.flash { background: #fffbe6; border: 2px solid var(--black); padding: 8px 12px; margin-bottom: 10px; font-weight: 700; }
.flash--error { background: #ffe1dc; }

/* ---------------------------------------------------------- karty her (box-hra-home) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 10px; }
.cards--top { margin-bottom: 4px; }
.card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--stripes-yellow); border: 1px solid #fff; transition: transform .12s, box-shadow .12s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--black), 0 6px 14px rgba(0, 0, 0, .25); }
.card__name { order: -1; padding: 3px 8px; font-size: 14px; line-height: 20px; color: #fff; background: var(--stripes-black); border-bottom: 1px solid #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__name a { color: var(--yellow); text-decoration: none; }
.card__link { display: block; flex: 1 1 auto; min-height: 0; padding: 6px 6px 0; }
.card__img { display: block; height: 100%; border: 1px solid #fff; outline: 1px solid rgba(0, 0, 0, .35); background: #000; overflow: hidden; }
.card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb-none img { object-fit: cover; }
.card__text { margin: 6px 8px 0; font-size: 12.5px; line-height: 1.35; color: var(--black); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.7em; flex: none; }
.card .tags { flex: none; margin: 6px 8px 7px; flex-wrap: nowrap; overflow: hidden; }
.card .tags li:nth-child(n+2) { display: none; }
.card .tags a { position: relative; z-index: 2; }
.badge { position: absolute; z-index: 2; right: 12px; top: 34px; padding: 1px 7px; font: 800 12px var(--font); color: var(--black); background: var(--yellow); border: 1px solid var(--black); border-radius: 4px; }
.badge small { font-size: 10px; }
.badge:not(.badge--new) { display: none; }
.badge--new { background: var(--black); color: var(--yellow); border-color: var(--yellow); text-transform: uppercase; font-size: 10px; letter-spacing: .5px; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.tags a { display: inline-block; white-space: nowrap; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--yellow); background: var(--black); border-radius: 3px; padding: 1px 7px; }
.tags a:hover { color: #fff; text-decoration: none; }

/* tip dne (jako běžná karta) + vedle malý seznam nejlépe hodnocených, stejná výška jako karta */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 4px; }
.picks__tip { min-width: 0; }
.picks__tip .card { height: 250px; }
.picks__best { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; }
.bar--small { font-size: 13px; text-transform: uppercase; margin: 0 0 6px; padding: 2px 8px; }
.picks .bar--small { margin-top: 0; }
.best { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; counter-reset: best; }
.best li { counter-increment: best; min-width: 0; }
.best a { height: 100%; display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-content: center; padding: 5px; color: var(--black); background: var(--stripes-yellow); border: 1px solid #fff; }
.best a:hover { background: #fff3b8; text-decoration: none; }
.best img { grid-row: 1 / span 2; width: 80px; height: 60px; object-fit: cover; border: 1px solid #fff; background: #000; }
.best__name { font-weight: 800; font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-self: end; }
.best__name::before { content: counter(best) ". "; }
.best__meta { font-size: 11px; font-weight: 700; opacity: .75; align-self: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* stránkování */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 14px 0 0; font-weight: 800; }
.pager a, .pager span { min-width: 36px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--black); background: var(--stripes-yellow); border: 1px solid #fff; }
.pager a:hover { background: #fff3b8; text-decoration: none; }
.pager__current { background: var(--stripes-black) !important; color: var(--yellow) !important; }
.pager__gap { background: none !important; border: 0 !important; color: #fff !important; }

/* ---------------------------------------------------------- reklamy (bez popisku) */
.ad { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; max-width: 100%; overflow: hidden; }
.ad ins { display: block; }
.ad__empty { display: flex; align-items: center; justify-content: center; text-align: center; max-width: 100%; border: 2px dashed rgba(0, 0, 0, .35); color: rgba(0, 0, 0, .55); font-size: 12px; background: rgba(255, 255, 255, .25); }
.ad--mobile { display: none; }
.cards__ad { align-self: center; }
.ad--band { margin: 14px auto; }
.ad--top { margin: 0 auto 10px; }
.ad--feed_top, .ad--leaderboard, .ad--feed_bottom, .ad--game_top, .ad--game_bottom { width: 100%; }
.ad--feed_top.ad--desktop .ad__empty, .ad--leaderboard.ad--desktop .ad__empty, .ad--feed_bottom.ad--desktop .ad__empty,
.ad--game_top.ad--desktop .ad__empty, .ad--game_bottom.ad--desktop .ad__empty { width: 100% !important; min-height: 90px; }
.ad > ins { max-width: 100%; }
.ad--above { margin: 0 auto 12px; }
.ad--under { margin: 16px auto 0; }
.ad--sticky { position: sticky; top: 12px; }
.col--left .ad { margin-top: 0; }

/* ---------------------------------------------------------- pravý sloupec: nejhranější */
.top { list-style: none; margin: 0; padding: 0; counter-reset: top; }
.top li { counter-increment: top; }
.top a {
	display: grid; grid-template-columns: 22px 80px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center;
	padding: 4px 6px; margin-top: -1px; color: var(--black); background: var(--stripes-yellow); border-top: 1px solid #fff; border-bottom: 1px solid #fff;
}
.top a::before { content: counter(top) "."; grid-row: 1 / span 2; font: italic 900 15px var(--display); }
.top img { grid-row: 1 / span 2; width: 80px; height: 60px; object-fit: cover; border: 1px solid #fff; background: #000; }
.top__name { font-weight: 800; font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-self: end; }
.top__count { font-size: 11px; opacity: .7; align-self: start; }
.top a:hover { background: #fff3b8; text-decoration: none; }

/* ---------------------------------------------------------- stránka hry (stará „Hrajete online hru“ přes celou šířku) */
.crumbs { font-size: 12px; font-weight: 700; color: var(--black); margin: 0 0 6px; }
.crumbs a:hover { color: #fff; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.detail--wide { grid-template-columns: minmax(0, 1fr); }
.detail__col { min-width: 0; }
.detail__main { padding: 12px; background: var(--stripes-yellow); border: 1px solid #fff; }
.player { position: relative; background: #000; margin: 0 auto; max-width: 100%; border: 3px solid #000; box-shadow: 0 0 0 1px #fff; }
.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: 0; }
.player:fullscreen iframe { width: 100%; height: 100%; transform: none; }
.player-bar { display: flex; align-items: center; gap: 10px 14px; margin: 12px 0 4px; flex-wrap: wrap; }
.player-bar .btn--go { margin-left: auto; }
.votes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vote { width: 44px; height: 38px; border: 2px solid var(--black); border-radius: 6px; background: #fffbe6; color: var(--black); cursor: pointer; display: grid; place-items: center; }
.vote svg { width: 20px; height: 20px; }
.vote--down svg { transform: scaleY(-1); }
.vote:hover { background: #fff; }
.vote--up[aria-pressed="true"] { background: var(--green); color: #fff; }
.vote--down[aria-pressed="true"] { background: var(--red); color: #fff; }
.votes__rating { font: italic 900 16px var(--display); font-variant-numeric: tabular-nums; }
.votes__hint { font-size: 12px; font-weight: 700; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; border: 2px solid var(--black); border-radius: 6px; padding: 0 14px; font: 800 13px var(--font); text-transform: uppercase; cursor: pointer; color: var(--black); background: #fffbe6; }
.btn:hover { background: #fff; }
.btn--go { background: var(--stripes-black); color: var(--yellow); }
.btn--go:hover { background: #222; color: #fff; }
.share { position: relative; }
.share__menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; min-width: 190px; padding: 6px; background: #fff; border: 2px solid var(--black); border-radius: 6px; display: flex; flex-direction: column; }
.share__menu[hidden] { display: none; }
.share__menu a, .share__menu button { text-align: left; padding: 7px 10px; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.share__menu a:hover, .share__menu button:hover { background: var(--yellow); text-decoration: none; }
.detail__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 6px; }
.meta { font-size: 12px; font-weight: 700; }
.meta a { text-decoration: underline; }
.note { font-size: 12px; margin: 0 0 6px; }
.about { display: flex; gap: 16px; align-items: flex-start; margin-top: 10px; padding-top: 10px; border-top: 1px solid #fff; }
.about__body { flex: 1; min-width: 0; }
.about__text { margin: 0; white-space: pre-line; max-width: 80ch; font-size: 15px; }
.about__img { width: 200px; flex: none; border: 1px solid #fff; }
.controls, .gallery, .videos { margin-top: 16px; }
.about__body .controls:first-child { margin-top: 0; }
.controls h2, .gallery h2, .videos h2 { font: italic 900 15px var(--display); text-transform: uppercase; margin: 0 0 8px; }
.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; }
.controls kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; padding: 0 7px; background: #fff; border: 2px solid var(--black); border-bottom-width: 4px; border-radius: 6px; font: 700 12px/1 var(--font); color: var(--black); text-transform: uppercase; }
.controls kbd.k-wide { padding: 0 10px; text-transform: none; }
.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; }
.controls__text { margin: 0; }
.gallery__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.gallery__item img { display: block; width: 100%; border: 1px solid #fff; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 10px; }
.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(0, 0, 0, .85); }
.lightbox img { display: block; max-width: 95vw; max-height: 90vh; border: 3px solid #fff; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #000; background: var(--yellow); font-size: 22px; line-height: 1; cursor: pointer; }

.side { min-width: 0; display: grid; gap: 8px; align-content: start; }
.side > h2 { font: italic 900 15px/1.3 var(--display); text-transform: uppercase; color: #fff; padding: 4px 10px; background: var(--stripes-black); border: 1px solid #fff; }
.side-list { display: grid; gap: 6px; }
.side-game { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px; color: var(--black); background: var(--stripes-yellow); border: 1px solid #fff; }
.side-game:hover { background: #fff3b8; text-decoration: none; }
.side-game__img { display: block; width: 120px; aspect-ratio: 4 / 3; overflow: hidden; background: #000; border: 1px solid #fff; }
.side-game__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-game__name { font-weight: 800; font-size: 14px; line-height: 1.2; }
.detail--wide .side-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.detail--wide .ad--side { display: none; }

/* statické stránky a chybové stránky */
.static-page { padding: 14px 18px; background: var(--stripes-yellow); border: 1px solid #fff; }
.static-page h1 { font: italic 900 22px var(--display); margin: 0 0 10px; }
.static-page__content { line-height: 1.6; max-width: 80ch; }
.static-page__content a { text-decoration: underline; }
.col--main > p { margin: 0 0 8px; font-weight: 700; }
.col--main > p a { text-decoration: underline; }

/* ---------------------------------------------------------- patička */
.pata { margin-top: 12px; padding: 10px 14px; text-align: center; color: var(--black); font-size: 12px; }
.pata__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-bottom: 4px; font-weight: 800; }
.pata__links a:hover { color: #fff; }
.pata p { margin: 0; }

/* ---------------------------------------------------------- menší obrazovky */
@media (max-width: 1499px) {
	/* pravý sloupec pod hry (nejhranější jako mřížka), 300×600 vedle her jen na širokých obrazovkách */
	.cols { grid-template-columns: 190px minmax(0, 1fr); grid-template-areas: "left main" "left right"; }
	.cols--game { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
	.ad--feed_side { display: none; }
	.top { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 6px; }
}
@media (max-width: 1200px) {
	.detail { grid-template-columns: minmax(0, 1fr); }
	.side-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
	.ad--side { display: none; }
}
@media (max-width: 1099px) {
	/* kategorie z levého sloupce do černé lišty (posuvná) */
	.cols { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "right"; }
	.col--left { display: none; }
	.cats { display: flex; }
	.nav__item--end { display: none; } /* kontakt je i v patičce, lišta by přetekla */
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards__ad { grid-column: 1 / -1; }
	.picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.picks__best { grid-column: auto; }
	.best { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
}
@media (max-width: 760px) {
	:root { --s: .75; }
	.site { padding: 8px 6px 16px; }
	.head__line span:last-child { display: none; }
	.head__www { display: none; }
	.search { position: static; padding: 6px; background: #000; border-top: 1px solid #333; }
	.search input { flex: 1; width: auto; min-width: 0; }
	.nav { display: none; } /* na mobilu jen řádek všech kategorií, domů vede logo */
	.cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.cats::-webkit-scrollbar { display: none; }
	.ad--desktop { display: none; }
	.ad--mobile { display: flex; }
	.col--main { padding: 6px; }
	.about { flex-direction: column; }
	.about__img { width: 100%; max-width: 320px; }
	.player-bar .btn--go { margin-left: 0; }
	.info__img { display: none; }
	.picks { grid-template-columns: minmax(0, 1fr); }
	.picks__best { grid-column: auto; }
	.best { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
}
@media (max-width: 520px) {
	:root { --s: .62; }
	.cards { gap: 6px; }
	.card__name { font-size: 12.5px; padding: 2px 6px; }
	.card__link { padding: 4px 4px 0; }
	.card__text { display: none; }
	.cards { grid-auto-rows: auto; }
	.picks__tip .card { height: auto; }
	.card__img { height: auto; aspect-ratio: 2 / 1; }
	.card .tags { margin: 4px 4px 5px; }
	.badge { top: 28px; right: 8px; }
	.bar, .col--main > h1 { font-size: 15px; }
	.top { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.card { transition: none; }
}
