/* Lehke omlazeni nonsteam.cz (28. 10. 2026) – puvodni vzhled zustava, jen:
   vetsi pismo, sirsi stranka na velkem monitoru, citelnejsi tabulka serveru
   a mobilni verze. Nacita se jako posledni; zatim jen v nahledu (html.n2026). */

/* ---------- vsechny sirky ---------- */
html.n2026 { font-size: 10px !important; }
.n2026 body { font-size: 1.4em; line-height: 1.4; }
.n2026 #content { font-size: 1.4rem; }
.n2026 h1 { font-size: 1.7rem; letter-spacing: .02em; }
.n2026 #leftColumn .submenu a,
.n2026 #leftColumn .partneri a { font-size: 1.35rem; padding-top: 2px; padding-bottom: 2px; }
.n2026 #leftColumn .submenu a span { font-size: 1.1rem; }
.n2026 .articles .date { font-size: 1.1rem; }

/* tabulka serveru: vic vzduchu, zvyrazneny radek pod mysi */
.n2026 #serverTable { width: 100%; }
.n2026 #serverTable td { padding: 2px 2px; line-height: 1.35; }
.n2026 #serverTable th { padding: 3px 2px; font-size: 1.2rem; }
.n2026 #serverTable tbody tr:hover td { background: #333; }
.n2026 #serverTable td:nth-child(4) { white-space: nowrap; min-width: 40px; }
.n2026 #serverTable td:nth-child(4) .button { float: none; display: inline-block; vertical-align: middle; }
.n2026 #serverTable td:nth-child(2) { font-family: Consolas, "DejaVu Sans Mono", monospace; font-size: 1.25rem; color: #ccc; }
.n2026 .tag--detail { padding: 1px 6px; border-radius: 2px; }
.n2026 .tag { border-radius: 2px; }
.n2026 .tag--vip { background-color: #ffd42a; color: #000; font-weight: 700; }
.n2026 .tag--detail:hover { background: #ff6a00; }

/* tlacitka a pole bez ostrych hran */
.n2026 #searchForm a#formSubmit, .n2026 .button-wide, .n2026 a#LoginSubmit { border-radius: 2px; }
.n2026 #searchForm input[type=text] { box-sizing: border-box; width: 100%; padding: 6px; }
.n2026 .sticky { border-radius: 4px; }

/* ---------- velky monitor: sirsi stranka (980 -> 1180 px) ---------- */
@media (min-width: 1240px) {
  .n2026 #shadow { width: 1200px; background-size: 100% auto; }
  .n2026 #container { width: 1180px; }
  .n2026 #content { width: 780px; }
  .n2026 #leftColumn { margin-left: -980px; }
  .n2026 #header { background-size: cover; background-position: center; }
  .n2026 #header .menu ul li:first-child a { width: auto; min-width: 140px; }
  .n2026 #main { background: linear-gradient(to right, #191919 0 180px, #2a2a2a 180px 980px, #191919 980px); }
  .n2026 #main > div[style*="970px"], .n2026 div[style*="width: 970px"] { width: 970px !important; }
}

/* ---------- mobil a tablet ---------- */
@media (max-width: 1000px) {
  .n2026 body { font-size: 1.6em; background: #191919; }
  .n2026 #shadow, .n2026 #container { width: auto; background: none; border: 0; }
  .n2026 img { max-width: 100%; height: auto; }

  /* hlavicka: logo, prihlaseni a menu pod sebou */
  .n2026 #header { height: auto; background-size: cover; background-position: right center; display: flex; flex-direction: column; }
  .n2026 #header .headerTop { display: none; }
  .n2026 #header .headerTop img { max-height: 60px; width: auto; }
  .n2026 #header .logo { height: auto; padding: 12px; order: 1; text-align: left; }
  .n2026 #header .logo img { max-height: 44px; width: auto; }
  .n2026 #header .header-login { order: 0; float: none; margin: 0; border: 0; text-align: right; }
  .n2026 #header .header-login a { min-width: 0; padding: 10px 14px; font-size: 1.4rem; }
  /* menu jako vodorovny pruh, ktery se da posouvat prstem (stranka se neposouva) */
  .n2026 #header .menu { order: 3; height: auto; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 1.5rem; scrollbar-width: none; }
  .n2026 #header .menu::-webkit-scrollbar { display: none; }
  .n2026 #header .menu ul { display: flex; flex-wrap: nowrap; width: max-content; }
  .n2026 #header .menu ul li { float: none; }
  .n2026 #header .menu ul li a, .n2026 #header .menu ul li:first-child a { float: none; width: auto; height: auto; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; padding: 0 14px; white-space: nowrap; }

  /* reklamni prouzek 970x90 se vejde na sirku */
  .n2026 div[style*="width: 970px"] { width: auto !important; max-width: 100%; height: auto !important; padding: 8px 0 !important; overflow: hidden; }

  /* obsah prvni, pak kategorie a pravy sloupec */
  .n2026 #main { display: flex; flex-direction: column; background: #191919; }
  .n2026 #content { order: 1; float: none; width: auto; margin: 0; padding: 10px; font-size: 1.6rem; }
  .n2026 #leftColumn { order: 2; float: none; width: auto; margin: 0; padding: 10px 0; }
  .n2026 #rightColumn { order: 3; float: none; width: auto !important; padding: 10px; }
  .n2026 #rightColumn > div[style*="min-height"] { min-height: 0 !important; }
  .n2026 #rightColumn .fb-page, .n2026 #rightColumn div[style*="height: 130px"] { display: none; }
  .n2026 .clear { display: none; }
  .n2026 h1 { font-size: 1.8rem; }
  .n2026 #content div.text, .n2026 #content p { font-size: 1.6rem; }

  /* filtr: dva vybery pod sebou, velke na prst */
  .n2026 .serverfilter { font-size: 1.6rem; padding: 10px; }
  .n2026 .serverfilter label { display: block; margin-bottom: 6px; }
  .n2026 .serverfilter select { display: block; width: 100%; min-height: 44px; margin: 0 0 8px; font-size: 1.6rem; }

  /* tabulka serveru: na mobilu jen nazev, hraci a detail
     (pripojeni pres Steam/HLSW na telefonu nejde, IP je v detailu) */
  .n2026 #serverTable { width: 100%; table-layout: auto; }
  .n2026 #serverTable td { white-space: normal; padding: 8px 2px; font-size: 1.5rem; }
  .n2026 #serverTable th:nth-child(2), .n2026 #serverTable td:nth-child(2),
  .n2026 #serverTable th:nth-child(4), .n2026 #serverTable td:nth-child(4) { display: none; }
  .n2026 #serverTable td:first-child { word-break: break-word; }
  .n2026 #serverTable td:nth-child(3) { white-space: nowrap; text-align: center; }
  .n2026 #serverTable td:last-child { text-align: right; }
  .n2026 #serverTable .tag--detail { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; font-size: 1.3rem; }
  .n2026 .pager a, .n2026 .pager strong { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0 4px 6px 0; box-sizing: border-box; }

  /* kategorie ve dvou sloupcich, velke na prst */
  .n2026 #leftColumn .submenu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 10px 14px; }
  .n2026 #leftColumn .submenu a { margin: 0; min-height: 44px; display: flex; align-items: center; padding: 0 10px; background: #2a2a2a; font-size: 1.5rem; }
  .n2026 #leftColumn .submenu a span { margin-left: 4px; font-size: 1.2rem; }
  .n2026 .submenu__title, .n2026 .partneri__title { font-size: 1.6rem; padding-top: 4px; padding-bottom: 4px; }
  .n2026 #rightColumn h2 { font-size: 1.6rem; padding: 4px 6px; }
  .n2026 #rightColumn a { display: inline-block; padding: 6px 0; }
  .n2026 .articles p { font-size: 1.5rem; padding: 0 10px; }

  /* detail serveru a dalsi tabulky: vejdou se, jinak posun jen uvnitr */
  .n2026 #content table { max-width: 100%; }
  .n2026 .mainInfo, .n2026 .mainInfo2, .n2026 .mainInfo3, .n2026 .maiInfo1 { display: block; overflow-x: auto; }
  .n2026 th.mapImg { display: none; }
  .n2026 .mainInfo { background: none; }
  .n2026 #content td:last-child:not(:first-child) { white-space: nowrap; }
  .n2026 .CustomBlogTable, .n2026 .CustomBlogTable tbody, .n2026 .CustomBlogTable tr, .n2026 .CustomBlogTable td { display: block; width: auto !important; max-width: 100%; box-sizing: border-box; }
  .n2026 .CustomBlogLink, .n2026 .CustomBlogLink a { white-space: normal; word-break: break-word; }
  .n2026 .CustomBlogTable .CustomBlogLink { width: auto; }
  .n2026 .submenu__title, .n2026 .partneri__title { background-position: 3px center; }
  .n2026 .CustomBlogTable.CustomBlogTableMain { width: 100% !important; }
  .n2026 iframe, .n2026 ins.adsbygoogle, .n2026 video { max-width: 100% !important; }
  .n2026 #addServer label { float: none; width: auto; padding: 0 0 4px; }
  .n2026 #addServer input[type=text], .n2026 #addServer select { float: none; width: 100%; min-height: 44px; box-sizing: border-box; font-size: 1.6rem; }
  .n2026 #addServer .help { padding: 4px 0 12px; }
  .n2026 a#addServerSubmit { width: 100%; margin: 1em 0 0; min-height: 44px; }
  .n2026 .LoginBox { width: auto; }
  .n2026 pre, .n2026 code { white-space: pre-wrap; word-break: break-word; max-width: 100%; }
  .n2026 textarea, .n2026 input, .n2026 select { max-width: 100%; box-sizing: border-box; }

  .n2026 #footer .copyright { padding: 10px 16px; font-size: 1.4rem; }
}
