/* ==========================================================================
   NK Tube — custom design system. Mobile-first, pure CSS, no framework.
   All colors are variables: change the palette in one place below.
   ========================================================================== */

:root {
	/* Palette */
	--bg: #0e0e10;
	--surface: #17171b;
	--surface-2: #202027;
	--surface-3: #2a2a32;
	--line: #26262e;
	--text: #f2f2f4;
	--muted: #9c9ca6;
	--accent: #ff3d68;
	--accent-2: #ff6b8a;

	/* Scale */
	--radius: 12px;
	--radius-sm: 8px;
	--wrap: 1320px;
	--gap: 16px;
	--header-h: 60px;

	--shadow: 0 6px 24px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nk-drawer-open { overflow: hidden; }

a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.nk-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; width: 100%; }

.nk-skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 0 0 8px 0; }
.nk-skip:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ==========================================================================
   Header (3 rows: top bar, main, nav bar)
   ========================================================================== */
.nk-header { background: var(--surface); border-bottom: 1px solid var(--line); }

/* Row 1: top bar */
.nk-topbar { background: #000; border-bottom: 1px solid var(--line); font-size: 13px; }
.nk-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.nk-follow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.nk-social { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.nk-social svg { width: 15px; height: 15px; }
.nk-social:hover { background: var(--accent); color: #fff; }

/* Row 2: main (logo, search, ad) */
.nk-header-main { padding: 16px 0; }
.nk-header-main-inner { display: flex; align-items: center; gap: 24px; }
.nk-logo { flex: 0 0 auto; }
.nk-logo-link { display: inline-flex; align-items: center; gap: 10px; }
.nk-logo-mark { display: inline-flex; flex: 0 0 auto; }
.nk-logo-mark svg { width: 36px; height: 36px; display: block; }
.nk-logo-mark .nk-mark-bg { fill: var(--accent); }
.nk-logo-text { font-size: 27px; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; line-height: 1; }
.nk-logo-name { color: var(--text); }
.nk-logo-tld { color: var(--accent); }
.nk-logo-link:hover .nk-logo-name { color: var(--accent); }
.nk-logo .custom-logo-link { display: inline-flex; }
.nk-logo .custom-logo { max-height: 56px; width: auto; }
.nk-tagline { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 5px; }

/* Search (main row) */
.nk-search { flex: 1 1 auto; max-width: 620px; display: flex; align-items: stretch; margin: 0; }
.nk-search input[type=search] {
	flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
	padding: 12px 18px; border-radius: var(--radius-sm) 0 0 var(--radius-sm); outline: none; font-size: 15px;
}
.nk-search input[type=search]:focus { border-color: var(--accent); }
.nk-search > button {
	background: var(--accent); border: 0; color: #fff; padding: 0 20px; cursor: pointer;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0; display: inline-flex; align-items: center; justify-content: center;
}
.nk-search > button .nk-ico { width: 20px; height: 20px; }
.nk-search > button:hover { background: var(--accent-2); }

/* Header ad (right of main row) */
.nk-header-ad { flex: 0 0 auto; margin-left: auto; }
.nk-header-ad .nk-ad { width: 468px; max-width: 100%; min-height: 60px; }

/* Row 3: nav bar */
.nk-navbar { background: var(--surface-2); border-top: 1px solid var(--line); }
.nk-navbar .nk-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.nk-navbar .nk-menu a { display: block; padding: 13px 20px; color: var(--text); font-weight: 700; font-size: 14px; border-right: 1px solid var(--line); }
.nk-navbar .nk-menu > li:first-child a { border-left: 1px solid var(--line); }
.nk-navbar .nk-menu a:hover { background: var(--accent); color: #fff; }
.nk-navbar .nk-menu .current-menu-item > a { color: var(--accent); }

/* Hamburger (mobile) */
.nk-menu-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; line-height: 1; }
.nk-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.nk-drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 90; }
.nk-drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px; z-index: 100;
	background: var(--surface); border-right: 1px solid var(--line);
	transform: translateX(-100%); transition: transform .25s ease;
	overflow-y: auto; padding: 16px;
	-webkit-overflow-scrolling: touch;
}
.nk-drawer.is-open { transform: translateX(0); }
.nk-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.nk-drawer-title { font-weight: 800; font-size: 18px; }
.nk-drawer-close { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.nk-drawer-subtitle { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 6px; }
.nk-drawer-menu { list-style: none; margin: 0; padding: 0; }
.nk-drawer-menu li { border-bottom: 1px solid var(--line); }
.nk-drawer-menu a { display: block; padding: 12px 4px; font-weight: 600; color: var(--text); }
.nk-drawer-menu a:hover { color: var(--accent); }

/* ==========================================================================
   Main / headings
   ========================================================================== */
.nk-main { padding: 18px 16px 60px; min-height: 60vh; }
.nk-page-title { font-size: clamp(19px, 4vw, 24px); margin: 4px 0 16px; font-weight: 800; letter-spacing: -.3px; }
.nk-page-title span { color: var(--accent); }
.nk-section-title { font-size: 18px; margin: 36px 0 14px; font-weight: 800; padding-left: 12px; border-left: 4px solid var(--accent); border-radius: 0; line-height: 1.1; }
.nk-archive-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.nk-archive-header .nk-page-title { margin: 0; }
.nk-archive-desc { color: var(--muted); margin-bottom: 8px; }

/* Sort / filter dropdown */
.nk-sort { position: relative; }
.nk-sort-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); padding: 9px 16px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; cursor: pointer; }
.nk-sort-toggle:hover { background: var(--surface-3); }
.nk-sort-caret { width: 10px; height: 6px; fill: var(--accent); transition: transform .15s; }
.nk-sort.is-open .nk-sort-caret { transform: rotate(180deg); }
.nk-sort-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); z-index: 45; display: none; }
.nk-sort.is-open .nk-sort-menu { display: block; }
.nk-sort-menu a { display: block; padding: 9px 14px; border-radius: 6px; color: var(--text); font-weight: 600; }
.nk-sort-menu a:hover { background: var(--surface-2); color: var(--text); }
.nk-sort-menu a.is-active { color: var(--accent); }

/* SEO text block — sits below the videos on the homepage and archives */
.nk-seo-intro { color: var(--muted); line-height: 1.7; font-size: 14px; max-width: 900px; margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.nk-seo-intro p { margin: 0 0 .7em; }
.nk-seo-intro p:last-child { margin-bottom: 0; }
.nk-seo-intro a { color: var(--accent); }

/* Homepage hero H1 */
.nk-home-hero { margin: 4px 0 6px; }
.nk-home-h1 { font-size: clamp(20px, 4vw, 26px); font-weight: 800; margin: 0; letter-spacing: -.3px; }
.nk-home-sub { color: var(--muted); font-size: 14px; margin: 6px 0 0; max-width: 820px; }

/* Breadcrumbs */
.nk-breadcrumbs { font-size: 13px; color: var(--muted); margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nk-breadcrumbs a { color: var(--muted); font-weight: 600; }
.nk-breadcrumbs a:hover { color: var(--accent); }
.nk-breadcrumbs .nk-bc-sep { color: var(--line); }
.nk-breadcrumbs [aria-current] { color: var(--text); }

/* ==========================================================================
   Video grid + cards
   ========================================================================== */
.nk-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gap);
}
@media (max-width: 960px) { .nk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nk-card { display: flex; flex-direction: column; }
.nk-card-thumb {
	position: relative; display: block; aspect-ratio: 16 / 9;
	background: #000; overflow: hidden; border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.nk-card-thumb img,
.nk-card-thumb video {
	width: 100%; height: 100%; object-fit: contain; display: block;
	transition: transform .4s ease;
}
.nk-card-thumb::after {
	content: ""; position: absolute; inset: 0; border-radius: var(--radius);
	box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .15s ease;
}
.nk-card:hover .nk-card-thumb img { transform: scale(1.06); }
.nk-card:hover .nk-card-thumb::after { box-shadow: inset 0 0 0 2px var(--accent); }
.nk-noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #23232b, #131318); }

.nk-duration {
	position: absolute; right: 7px; bottom: 7px;
	background: rgba(0, 0, 0, .85); color: #fff; font-size: 12px; font-weight: 700;
	padding: 2px 7px; border-radius: 5px; line-height: 1.3; letter-spacing: .02em;
}
.nk-card-title { font-size: 14px; margin: 8px 2px 10px; font-weight: 600; line-height: 1.35; }
.nk-card-title a {
	color: var(--text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nk-card-title a:hover { color: var(--accent); }

/* Inline icons */
.nk-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex: 0 0 auto; }

/* Stat overlays on the thumbnail */
.nk-stat {
	position: absolute; bottom: 6px; display: inline-flex; align-items: center; gap: 4px;
	background: rgba(0, 0, 0, .82); color: #fff; font-size: 11px; font-weight: 700;
	padding: 3px 7px; border-radius: 5px; line-height: 1.2;
}
.nk-stat .nk-ico { width: 13px; height: 13px; }
.nk-stat-views { left: 6px; }
.nk-stat-time { right: 6px; }

/* Rating bar under the thumbnail */
.nk-card-rate {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700;
	padding: 4px; margin-top: 2px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.nk-card-rate .nk-ico { color: var(--accent); width: 13px; height: 13px; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.nk-pagination { margin: 34px 0 0; display: flex; justify-content: center; }
.nk-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.nk-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
	padding: 0 12px; border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
	font-weight: 700; border: 1px solid var(--line);
}
.nk-pagination .current { background: var(--accent); color: #fff; border-color: transparent; }
.nk-pagination a.page-numbers:hover { background: var(--surface-2); }

/* ==========================================================================
   Single video / player
   ========================================================================== */
.nk-single { max-width: 1000px; margin: 0 auto; }
.nk-player-wrap {
	background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
	display: flex; justify-content: center;
}
/* The stage sizes to the video's own aspect ratio (set inline / by JS),
   but never taller than the viewport, so vertical clips stay usable. */
.nk-player {
	position: relative; background: #000;
	aspect-ratio: 16 / 9;   /* fallback; overridden inline per-video */
	max-height: 82vh; max-width: 100%; margin-inline: auto;
}
.nk-video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }

.nk-big-play {
	position: absolute; inset: 0; margin: auto; width: 76px; height: 54px;
	background: none; border: 0; cursor: pointer; padding: 0;
	display: flex; align-items: center; justify-content: center;
}
.nk-big-play svg { width: 76px; height: 54px; }
.nk-big-play svg .nk-bg { fill: #000; opacity: .55; transition: .2s; }
.nk-big-play:hover svg .nk-bg { fill: var(--accent); opacity: .95; }
.nk-player.is-playing .nk-big-play { display: none; }

.nk-controls {
	position: absolute; left: 0; right: 0; bottom: 0;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .8));
	font-size: 13px; color: #fff;
}
.nk-controls button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 16px; padding: 2px 4px; line-height: 1; }
.nk-controls button:hover { color: var(--accent-2); }
.nk-controls .nk-seek { flex: 1; cursor: pointer; accent-color: var(--accent); height: 4px; }
.nk-controls .nk-volume { width: 74px; accent-color: var(--accent); }
.nk-time { white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .9; }

.nk-embed { position: relative; aspect-ratio: 16 / 9; }
.nk-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nk-novideo { padding: 40px; text-align: center; color: var(--muted); }

.nk-single-title { font-size: clamp(19px, 4.5vw, 24px); margin: 18px 0 12px; font-weight: 800; line-height: 1.3; }
.nk-meta { color: var(--muted); display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.nk-meta-row strong { color: var(--text); font-weight: 700; margin-right: 4px; }
.nk-meta a:hover { color: var(--accent); }
.nk-meta .nk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nk-meta .nk-tags a {
	display: inline-block; background: var(--surface-2); padding: 4px 11px;
	border-radius: 999px; font-size: 12px; color: var(--muted); border: 1px solid var(--line);
}
.nk-meta .nk-tags a:hover { color: var(--text); background: var(--surface-3); }
.nk-description { color: var(--text); line-height: 1.7; margin-bottom: 10px; }
.nk-description :is(p) { margin: 0 0 1em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nk-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 48px; padding: 34px 0 24px; }
.nk-footer-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 26px; }
.nk-footer-brand .nk-logo-mark svg { width: 32px; height: 32px; }
.nk-footer-brand .nk-logo-text { font-size: 22px; }
.nk-footer-about { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 14px 0 0; max-width: 380px; }
.nk-footer-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin: 0 0 14px; font-weight: 700; }
.nk-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nk-footer-menu a { color: var(--muted); font-weight: 600; }
.nk-footer-menu a:hover { color: var(--accent); }
.nk-footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; }
.nk-legal { color: var(--muted); text-align: center; font-size: 13px; margin: 0; line-height: 1.6; }

@media (max-width: 780px) {
	.nk-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
	.nk-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.nk-footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   404 / search form
   ========================================================================== */
.nk-404 { max-width: 640px; margin: 20px 0 30px; }
.nk-404 p { color: var(--muted); }
.nk-404 .search-form { display: flex; gap: 8px; margin-top: 16px; }
.nk-404 .search-field { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); padding: 10px 14px; border-radius: 999px; flex: 1; max-width: 360px; }
.nk-404 .search-submit { background: var(--accent); color: #fff; border: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer; font-weight: 700; }

/* 404 category links */
.nk-cat-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.nk-cat-pill { display: inline-block; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nk-cat-pill:hover { background: var(--accent); color: #fff; border-color: transparent; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* Mobile/tablet: hide nav bar (use drawer), stack logo / search / ad. */
@media (max-width: 900px) {
	.nk-navbar { display: none; }
	.nk-menu-toggle { display: block; order: 2; margin-left: auto; }
	.nk-header-main-inner { flex-wrap: wrap; gap: 12px; }
	.nk-logo { order: 1; }
	.nk-search { order: 3; flex: 0 0 100%; max-width: none; }
	.nk-header-ad { order: 4; flex: 0 0 100%; margin-left: 0; }
	.nk-header-ad .nk-ad { width: 100%; }
}

@media (max-width: 600px) {
	.nk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.nk-card-thumb { border-radius: var(--radius-sm); }
	.nk-card-title { font-size: 13px; }
	.nk-main { padding: 12px 12px 48px; }
	.nk-wrap { padding: 0 12px; }
}

/* ==========================================================================
   Layout with right sidebar (site-wide)
   ========================================================================== */
.nk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 308px; gap: 28px; align-items: start; }
.nk-content { min-width: 0; }
.nk-sidebar { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 22px; }

.nk-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.nk-widget-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.nk-widget-list { list-style: none; margin: 0; padding: 0; }
.nk-widget-list a { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text); }
.nk-widget-list li:last-child a { border-bottom: 0; }
.nk-widget-list a:hover { color: var(--accent); }
.nk-count { color: var(--muted); font-size: 12px; font-weight: 700; background: var(--surface-2); padding: 1px 8px; border-radius: 999px; }

.nk-widget-videos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.nk-mini { display: flex; gap: 10px; }
.nk-mini-thumb { position: relative; flex: 0 0 116px; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.nk-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nk-mini-thumb .nk-duration { font-size: 10px; padding: 1px 4px; right: 4px; bottom: 4px; }
.nk-mini-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nk-mini-title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nk-mini-title:hover { color: var(--accent); }
.nk-mini-meta { font-size: 12px; color: var(--muted); }

.nk-tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.nk-tagcloud a { font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.nk-tagcloud a:hover { color: var(--text); background: var(--surface-3); }

/* ==========================================================================
   Homepage sections
   ========================================================================== */
.nk-section { margin: 0 0 34px; }
.nk-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 14px; }
.nk-section-head .nk-section-title { margin: 0; }
.nk-section-title a { color: var(--text); }
.nk-section-title a:hover { color: var(--accent); }
.nk-seeall { flex: 0 0 auto; color: var(--muted); font-weight: 700; font-size: 13px; }
.nk-seeall:hover { color: var(--accent); }

/* Views under each card */
.nk-card-meta { margin: 2px 2px 0; }
.nk-views { color: var(--muted); font-size: 12px; }
.nk-meta-stats { color: var(--muted); }

/* Like / dislike on the watch page */
.nk-vote { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; flex-wrap: wrap; }
.nk-vote-btn {
	display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2);
	border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 999px;
	cursor: pointer; font-weight: 700; font-size: 14px;
}
.nk-vote-btn .nk-ico { width: 16px; height: 16px; }
.nk-vote-btn:hover { background: var(--surface-3); }
.nk-vote-up.is-active { color: var(--accent); border-color: var(--accent); }
.nk-vote.is-voted .nk-vote-btn { cursor: default; }
.nk-vote-pct { color: var(--muted); font-size: 13px; font-weight: 600; }

/* Advert placeholder */
.nk-ad {
	background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius);
	min-height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.nk-ad img { max-width: 100%; height: auto; }
.nk-ad-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
/* Full-width top banner (leaderboard) — shorter than the sidebar box */
.nk-ad-leaderboard { min-height: 90px; margin: 0 0 22px; }
@media (max-width: 600px) { .nk-ad-leaderboard { min-height: 100px; margin-bottom: 16px; } }

/* Below-video and footer ad zones */
.nk-ad-below_video, .nk-ad-footer { min-height: 90px; margin: 18px 0; }
/* Between homepage category sections */
.nk-ad-home_between { min-height: 100px; margin: 6px 0 30px; }
.nk-footer-ad { margin-top: 26px; }

/* Video pre-roll overlay */
.nk-ad-overlay { position: absolute; right: 12px; bottom: 12px; z-index: 6; display: flex; align-items: center; gap: 8px; }
.nk-ad-tag { background: #f5a623; color: #1a1200; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }
.nk-ad-skip { background: rgba(0, 0, 0, .82); color: #fff; border: 0; padding: 7px 13px; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; }
.nk-ad-skip:disabled { opacity: .75; cursor: default; }
.nk-admode .nk-video { cursor: pointer; }
.nk-admode .nk-big-play { display: none; }

/* Blog posts list (home.php) */
.nk-postlist { display: flex; flex-direction: column; gap: 22px; }
.nk-post { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.nk-post-thumb { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.nk-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nk-post-title { font-size: 19px; margin: 0 0 6px; font-weight: 800; line-height: 1.3; }
.nk-post-title a { color: var(--text); }
.nk-post-title a:hover { color: var(--accent); }
.nk-post-meta { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.nk-post-meta a { color: var(--muted); }
.nk-post-meta a:hover { color: var(--accent); }
.nk-post-excerpt { color: var(--text); line-height: 1.65; margin-bottom: 10px; }
.nk-post-more { color: var(--accent); font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .nk-post { grid-template-columns: 1fr; gap: 12px; } }

/* Contact page + form */
.nk-contact { max-width: 720px; }
.nk-contact-email { color: var(--muted); margin: 0 0 20px; }
.nk-contact-email a { color: var(--accent); }
.nk-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.nk-contact-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.nk-contact-form input[type=text],
.nk-contact-form input[type=email],
.nk-contact-form textarea {
	width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
	border-radius: var(--radius-sm); padding: 11px 13px; font: inherit; outline: none;
}
.nk-contact-form textarea { min-height: 150px; resize: vertical; }
.nk-contact-form input:focus, .nk-contact-form textarea:focus { border-color: var(--accent); }
.nk-contact-form p { margin: 0 0 14px; }
.nk-btn { background: var(--accent); color: #fff; border: 0; padding: 12px 26px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; cursor: pointer; }
.nk-btn:hover { background: var(--accent-2); }
.nk-notice { border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 18px; font-weight: 600; }
.nk-notice-success { background: rgba(45,180,110,.15); border: 1px solid rgba(45,180,110,.5); color: #7fe0a8; }
.nk-notice-error { background: rgba(255,61,104,.12); border: 1px solid rgba(255,61,104,.5); color: var(--accent-2); }

/* Static page / post content */
.nk-entry { line-height: 1.75; color: var(--text); max-width: 820px; }
.nk-entry > *:first-child { margin-top: 0; }
.nk-entry p { margin: 0 0 1.1em; }
.nk-entry a { color: var(--accent); text-decoration: underline; }
.nk-entry h2 { font-size: 20px; margin: 1.5em 0 .5em; }
.nk-entry h3 { font-size: 17px; margin: 1.3em 0 .5em; }
.nk-entry ul, .nk-entry ol { margin: 0 0 1.1em 1.35em; }
.nk-entry li { margin: .3em 0; }
.nk-entry em { color: var(--muted); }
.nk-entry blockquote { border-left: 3px solid var(--line); margin: 1.2em 0; padding: .2em 0 .2em 16px; color: var(--muted); }
/* Content images: responsive + centered by default (WP alignment supported) */
.nk-entry img { max-width: 100%; height: auto; border-radius: var(--radius); }
.nk-entry img,
.nk-entry figure,
.nk-entry .wp-block-image { display: block; margin: 1.2em auto; }
.nk-entry figure img,
.nk-entry .wp-block-image img { display: block; margin: 0 auto; }
.nk-entry .aligncenter,
.nk-entry img.aligncenter,
.nk-entry figure.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.nk-entry .alignnone { margin: 1.2em auto; }
.nk-entry .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.nk-entry .alignright { float: right; margin: .3em 0 1em 1.4em; }
.nk-entry figcaption,
.nk-entry .wp-caption-text { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }
.nk-entry-thumb { margin: 0 0 20px; }
.nk-entry-thumb img { border-radius: var(--radius); }

/* Comments */
.nk-comments { max-width: 900px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.nk-comments-title { font-size: 18px; font-weight: 800; margin: 0 0 20px; }
.nk-commentlist { list-style: none; margin: 0 0 26px; padding: 0; }
.nk-commentlist ol.children { list-style: none; margin: 14px 0 0 32px; padding: 0; }
.nk-commentlist .comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.nk-commentlist .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.nk-commentlist .comment-author img { border-radius: 50%; }
.nk-commentlist .comment-author .fn { font-weight: 700; font-style: normal; color: var(--text); }
.nk-commentlist .comment-author .says { display: none; }
.nk-commentlist .comment-metadata { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.nk-commentlist .comment-metadata a { color: var(--muted); }
.nk-commentlist .comment-content { color: var(--text); line-height: 1.6; }
.nk-commentlist .comment-content p { margin: 0 0 .6em; }
.nk-commentlist .reply { margin-top: 4px; }
.nk-commentlist .reply a { color: var(--accent); font-weight: 700; font-size: 13px; }
.nk-comments .comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.nk-comments .comment-reply-title { font-size: 16px; font-weight: 800; margin: 0 0 14px; }
.nk-comments .comment-reply-title small { font-weight: 600; margin-left: 8px; }
.nk-comments .comment-notes, .nk-comments .logged-in-as { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.nk-comments .comment-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.nk-comments .comment-form input[type=text],
.nk-comments .comment-form input[type=email],
.nk-comments .comment-form input[type=url],
.nk-comments .comment-form textarea {
	width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
	border-radius: var(--radius-sm); padding: 10px 12px; font: inherit; margin-bottom: 12px; outline: none;
}
.nk-comments .comment-form textarea { min-height: 180px; resize: vertical; font-size: 15px; line-height: 1.5; }
.nk-comments .comment-form input:focus, .nk-comments .comment-form textarea:focus { border-color: var(--accent); }
.nk-comments .comment-form .submit { background: var(--accent); color: #fff; border: 0; padding: 11px 24px; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; font-size: 14px; }
.nk-comments .comment-form .submit:hover { background: var(--accent-2); }
.nk-comments .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.nk-comments .comment-form-cookies-consent input { width: auto; margin: 0; }
.nk-comments-closed { color: var(--muted); font-style: italic; }

/* ==========================================================================
   Term (category / model) tiles
   ========================================================================== */
.nk-term-card .nk-term-count {
	position: absolute; right: 7px; top: 7px; background: rgba(0,0,0,.8); color: #fff;
	font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
}
.nk-term-card .nk-card-title { text-align: center; }

/* ==========================================================================
   Age gate
   ========================================================================== */
html.nk-gated, html.nk-gated body { overflow: hidden; }
.nk-agegate {
	position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
	background: rgba(6, 6, 8, .96); padding: 20px;
}
html.nk-gated .nk-agegate { display: flex; }
.nk-agegate-box {
	background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
	max-width: 460px; width: 100%; padding: 30px 26px; text-align: center;
}
.nk-agegate-title { font-size: 26px; font-weight: 800; margin: 0 0 14px; color: var(--accent); }
.nk-agegate-text { color: var(--text); line-height: 1.6; margin: 0 0 22px; font-size: 14px; }
.nk-agegate-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.nk-agegate-enter {
	background: var(--accent); color: #fff; border: 0; padding: 14px; border-radius: 10px;
	font-weight: 700; font-size: 15px; cursor: pointer;
}
.nk-agegate-enter:hover { background: var(--accent-2); }
.nk-agegate-leave { display: block; padding: 12px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nk-agegate-leave:hover { color: var(--text); }
.nk-agegate-fine { color: var(--muted); font-size: 12px; margin: 0; }

/* ==========================================================================
   Sidebar responsive: stack under content
   ========================================================================== */
@media (max-width: 980px) {
	.nk-layout { grid-template-columns: 1fr; gap: 8px; }
	.nk-sidebar { position: static; margin-top: 24px; }
	.nk-widget-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 560px) {
	.nk-widget-videos { grid-template-columns: 1fr; }
	.nk-section-head { margin: 16px 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto; }
}
