.skd-downloads{
	--skd-accent:#D8BC2C;
	--skd-border:#666;
	--skd-muted:#b8b8b8;
	--skd-panel:#090909;
	--skd-panel-2:#111;
	width:100%;
}

.skd-game-title{
	margin:34px 0 10px;
	padding:0 0 8px;
	border-bottom:1px solid var(--skd-accent);
	color:#b8b8b8;
	font-size:1.15rem;
	text-transform:uppercase;
	letter-spacing:.04em;
}

.skd-game-title:first-of-type{margin-top:20px}

.skd-table-wrap{
	width:100%;
	overflow-x:auto;
}

.skd-table{
	width:100%;
	border-collapse:collapse;
	border-spacing:0;
	background:transparent;
	font-family:Arial,sans-serif;
	font-size:inherit;
}

.skd-table th,
.skd-table td{
	height:40px;
	padding:10px 12px;
	border:0;
	border-bottom:1px dotted var(--skd-border);
	text-align:left;
	vertical-align:middle;
}

.skd-table thead th{
	border-top:1px solid #808080;
	border-bottom:1px dotted #808080;
	color:#ccc;
	font-weight:700;
}

.skd-table thead th:nth-child(1){width:32%}
.skd-table thead th:nth-child(2){width:14%;white-space:nowrap}
.skd-table thead th:nth-child(3){width:54%}

.skd-table .skd-category-row th{
	height:auto;
	padding:18px 12px 8px;
	border-bottom:1px dotted #808080;
	color:#b8b8b8;
	font-size:.95rem;
	font-weight:700;
	letter-spacing:.02em;
}

.skd-download-link{
	color:#fff!important;
	font-weight:400;
	text-decoration:none!important;
}

.skd-download-link:hover,
.skd-download-link:focus{
	text-decoration:underline!important;
}

.skd-description p{margin:0}
.skd-description p + p{margin-top:.45em}
.skd-description a{
	color:#fff!important;
	font-weight:400!important;
	text-decoration:underline;
}
.skd-description a:hover,
.skd-description a:focus{
	color:#fff!important;
	text-decoration:none;
}

.skd-filters{
	display:grid;
	grid-template-columns:minmax(150px,.8fr) minmax(160px,.8fr) minmax(220px,1.4fr) auto;
	gap:12px;
	align-items:end;
	margin:0 0 28px;
	padding:16px;
	border:1px solid #333;
	border-left:4px solid var(--skd-accent);
	background:var(--skd-panel);
}

.skd-filter-field label{
	display:block;
	margin:0 0 6px;
	color:#ccc;
	font-size:.82rem;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.04em;
}

.skd-filter-field select,
.skd-filter-field input{
	box-sizing:border-box;
	width:100%;
	min-height:40px;
	margin:0;
	padding:7px 10px;
	border:1px solid #4b4b4b;
	border-radius:0;
	background:#111;
	color:#eee;
	box-shadow:none;
}

.skd-filter-field select:focus,
.skd-filter-field input:focus{
	border-color:var(--skd-accent);
	outline:1px solid var(--skd-accent);
	outline-offset:0;
}

.skd-filter-actions{
	display:flex;
	gap:10px;
	align-items:center;
	min-height:40px;
}

.skd-filter-actions button{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	box-sizing:border-box;
	height:40px;
	min-height:40px;
	margin:0;
	padding:0 15px;
	border:1px solid var(--skd-accent);
	border-radius:0;
	background:var(--skd-accent);
	color:#080808;
	font-weight:700;
	line-height:1!important;
	vertical-align:middle;
	cursor:pointer;
}

.skd-filter-actions a{
	color:#fff!important;
	font-size:.9rem;
	font-weight:400;
	text-decoration:none!important;
}

.skd-filter-actions a:hover{text-decoration:underline!important}

.skd-empty{
	padding:18px;
	border-left:4px solid var(--skd-accent);
	background:#111;
}

/* Ověřovací brána */
.skd-gate-shell{
	box-sizing:border-box;
	width:100%;
	max-width:920px;
	margin:45px auto;
	padding:0 20px;
}

.skd-gate{
	padding:28px;
	border:1px solid #3a3a3a;
	border-left:5px solid #D8BC2C;
	background:#090909;
	color:#ddd;
}

.skd-gate-kicker{
	margin:0 0 8px;
	color:#D8BC2C;
	font-size:.78rem;
	font-weight:700;
	letter-spacing:.12em;
}

.skd-gate h1{
	margin:0 0 14px;
	color:#b8b8b8;
	font-size:1.55rem;
}

.skd-gate-text{
	max-width:720px;
	margin:0 0 22px;
	color:#bbb;
}

.skd-gate-error{
	margin:0 0 18px;
	padding:12px 14px;
	border-left:4px solid #d63638;
	background:#221011;
	color:#ffd7d7;
}

.skd-gate-form{
	display:grid;
	grid-template-columns:minmax(170px,auto) 110px auto;
	gap:10px 12px;
	align-items:center;
	max-width:650px;
}

.skd-gate-form label{
	margin:0;
	color:#eee;
	font-weight:600;
}

.skd-gate-form input[type="text"]{
	box-sizing:border-box;
	width:110px;
	min-height:42px;
	margin:0;
	padding:8px 10px;
	border:1px solid #666;
	border-radius:0;
	background:#111;
	color:#fff;
	font-size:1rem;
}

.skd-gate-form input[type="text"]:focus{
	border-color:#D8BC2C;
	outline:1px solid #D8BC2C;
}

.skd-gate-form button{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	box-sizing:border-box;
	height:42px;
	min-height:42px;
	margin:0;
	padding:0 16px;
	border:1px solid #D8BC2C;
	border-radius:0;
	background:#D8BC2C;
	color:#080808;
	font-weight:700;
	line-height:1!important;
	vertical-align:middle;
	cursor:pointer;
}

.skd-honeypot{
	position:absolute!important;
	left:-10000px!important;
	width:1px!important;
	height:1px!important;
	overflow:hidden!important;
}

.skd-gate-back{margin:22px 0 0}
.skd-gate-back a{color:#fff!important;font-weight:400;text-decoration:none!important}
.skd-gate-back a:hover{text-decoration:underline!important}

@media(max-width:900px){
	.skd-filters{
		grid-template-columns:1fr 1fr;
	}
	.skd-filter-search{grid-column:1/-1}
}

@media(max-width:640px){
	.skd-filters{grid-template-columns:1fr}
	.skd-filter-search{grid-column:auto}
	.skd-filter-actions{justify-content:flex-start}

	.skd-table,
	.skd-table tbody,
	.skd-table tr,
	.skd-table td,
	.skd-table th{
		display:block;
		width:100%;
		box-sizing:border-box;
	}

	.skd-table thead{display:none}

	.skd-table tr:not(.skd-category-row){
		padding:8px 0;
		border-bottom:1px solid #555;
	}

	.skd-table tr:not(.skd-category-row) td{
		display:grid;
		grid-template-columns:90px minmax(0,1fr);
		gap:10px;
		height:auto;
		padding:6px 10px;
		border:0;
	}

	.skd-table tr:not(.skd-category-row) td::before{
		content:attr(data-label);
		color:#aaa;
		font-size:.78rem;
		font-weight:700;
		text-transform:uppercase;
	}

	.skd-table .skd-category-row th{
		padding:18px 10px 8px;
	}

	.skd-gate{
		padding:20px;
	}

	.skd-gate-form{
		grid-template-columns:1fr;
	}

	.skd-gate-form input[type="text"]{
		width:100%;
	}

	.skd-gate-form button{
		width:100%;
	}
}

/* =========================================================
   SKYNET DOWNLOADY – FINÁLNÍ BAREVNÉ ÚPRAVY
   Globální pravidla; musí zůstat mimo @media bloky.
   ========================================================= */

/* Tmavší šedé nadpisy, stále dobře čitelné */
.skd-downloads .skd-game-title,
.skd-gate-shell .skd-gate h1 {
	color:#929292 !important;
}

.skd-downloads .skd-table thead th {
	color:#9a9a9a !important;
}

.skd-downloads .skd-table .skd-category-row th {
	color:#8f8f8f !important;
}

/* Odkazy vložené přímo do popisku */
.skd-downloads .skd-table .skd-description a,
.skd-downloads .skd-table .skd-description a:visited {
	color:#fff !important;
	font-weight:400 !important;
	text-decoration:none !important;
	border-bottom:1px dashed rgba(255,255,255,.38) !important;
	padding-bottom:1px;
}

.skd-downloads .skd-table .skd-description a:hover,
.skd-downloads .skd-table .skd-description a:focus {
	color:#fff !important;
	text-decoration:none !important;
	border-bottom-color:#D8BC2C !important;
}

