/*
Theme Name: HotSwipe
Theme URI: https://hotswipe.eu
Description: Short-video swipe platform. Videos via Bunny Stream, likes, saves, sharing, categories, search, ready for pre-roll ads and Premium.
Version: 1.1.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hotswipe
*/

/* ========== Základ ========== */
:root {
	--bg: #0b0b10;
	--bg-2: #13131b;
	--surface: rgba(255, 255, 255, .06);
	--surface-2: rgba(255, 255, 255, .1);
	--line: rgba(255, 255, 255, .1);
	--text: #f5f5fa;
	--muted: #a3a3b8;
	--hot: #ff2d6f;
	--hot-2: #ff7a3d;
	--grad: linear-gradient(135deg, var(--hot) 0%, var(--hot-2) 100%);
	--gold: #ffc44d;
	--radius: 18px;
	--side: 260px;
	--bottom: 0px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--display: 'Sora', var(--font);
	color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
	background: var(--bg);
	color: var(--text);
	font: 15px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
.hs-icon { width: 1.25em; height: 1.25em; flex: none; }
.hs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.hs-age-lock, .hs-age-lock body, body.hs-is-feed { overflow: hidden; }
.hs-age-ok .hs-age { display: none !important; }

/* ========== Tlačidlá a čipy ========== */
.hs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
	font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .12s, opacity .12s, background .15s;
}
.hs-btn:active { transform: scale(.97); }
.hs-btn:disabled { opacity: .5; cursor: not-allowed; }
.hs-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 45, 111, .6); }
.hs-btn-ghost { background: var(--surface-2); color: var(--text); }
.hs-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.hs-btn-block { width: 100%; }
.hs-btn-lg { height: 54px; padding: 0 32px; font-size: 17px; }

.hs-chip {
	display: inline-flex; align-items: center; gap: 5px; margin: 0 6px 8px 0;
	padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
	background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hs-chip .hs-icon { width: 14px; height: 14px; }
.hs-chip-premium { background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #2b1700; }
.hs-chip-lg { font-size: 15px; padding: 8px 16px; }

/* ========== Rozloženie ========== */
.hs-app { display: flex; min-height: 100%; }
.hs-main { flex: 1; min-width: 0; position: relative; }

/* Bočný panel (počítač) */
.hs-side {
	position: sticky; top: 0; height: 100vh; height: 100dvh; width: var(--side); flex: none;
	display: flex; flex-direction: column; gap: 18px; padding: 22px 16px;
	border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none;
}
.hs-side::-webkit-scrollbar { display: none; }
.hs-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; padding: 0 6px; }
.hs-logo-mark {
	width: 34px; height: 34px; border-radius: 11px; background: var(--grad); position: relative; flex: none;
	box-shadow: 0 6px 18px -6px rgba(255, 45, 111, .7);
}
.hs-logo-mark::after {
	content: ''; position: absolute; inset: 9px 8px 9px 12px;
	background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hs-logo-mark-lg { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: block; }
.hs-logo-mark-lg::after { inset: 18px 16px 18px 24px; }
.hs-logo-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hs-search {
	display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px;
	border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted);
	transition: border-color .15s, background .15s;
}
.hs-search:focus-within { border-color: rgba(255, 45, 111, .6); background: var(--surface-2); }
.hs-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: 0; color: var(--text); font: inherit; }
.hs-search input::-webkit-search-cancel-button { filter: invert(1); }
.hs-search-lg { height: 54px; padding: 0 6px 0 18px; font-size: 16px; margin-bottom: 26px; }
.hs-search-lg .hs-btn { height: 42px; }

.hs-side-nav { display: grid; gap: 2px; }
.hs-side-nav a, .hs-side-cats a {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
	font-weight: 600; color: var(--muted); transition: background .15s, color .15s;
}
.hs-side-nav a .hs-icon { width: 22px; height: 22px; }
.hs-side-nav a:hover, .hs-side-cats a:hover { background: var(--surface); color: var(--text); }
.hs-side-nav a.is-active { color: var(--text); background: var(--surface); }
.hs-side-nav a.is-active .hs-icon { color: var(--hot); }
.hs-side-upload { margin-top: 6px; background: var(--grad) !important; color: #fff !important; }
.hs-side-cta { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.hs-side-cta p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.hs-side-label { margin: 0 0 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hs-side-cats { display: grid; gap: 0; }
.hs-side-cats a { padding: 7px 12px; font-weight: 500; font-size: 14px; }
.hs-side-cats a.is-active { color: var(--hot); }
.hs-side-foot { margin-top: auto; font-size: 12px; color: var(--muted); padding: 0 8px; }
.hs-foot-menu { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hs-foot-menu a:hover { color: var(--text); }
.hs-side-foot p { margin: 0; }

/* Horná lišta s kategóriami */
.hs-top {
	position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
	padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); pointer-events: none;
}
.hs-top > * { pointer-events: auto; }
.hs-logo-sm { display: none; padding: 0; }
.hs-logo-sm .hs-logo-mark { width: 30px; height: 30px; border-radius: 10px; }
.hs-logo-sm .hs-logo-mark::after { inset: 8px 7px 8px 11px; }
.hs-chips {
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
	mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
	justify-content: safe center;
}
.hs-chips::-webkit-scrollbar { display: none; }
.hs-chip-link {
	flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
	color: rgba(255, 255, 255, .78); background: rgba(0, 0, 0, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	transition: background .15s, color .15s;
}
.hs-chip-link:hover { color: #fff; }
.hs-chip-link.is-active { background: #fff; color: #111; }
.hs-top-btn { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(0, 0, 0, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hs-top-btn .hs-icon { width: 22px; height: 22px; }
.hs-is-page .hs-top { position: sticky; background: rgba(11, 11, 16, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }

/* Spodné menu (mobil) */
.hs-bottom { display: none; }

/* Admin lišta WordPressu (vidí ju iba admin) */
.admin-bar { --adminbar: 32px; }
.admin-bar .hs-side { top: var(--adminbar); height: calc(100dvh - var(--adminbar)); }
.admin-bar .hs-feed, .admin-bar .hs-item, .admin-bar .hs-end { height: calc(100dvh - var(--adminbar) - var(--bottom)); }
@media (max-width: 782px) { .admin-bar { --adminbar: 46px; } }

/* ========== Feed ========== */
.hs-feed {
	height: 100vh; height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory;
	overscroll-behavior: contain; scrollbar-width: none;
}
.hs-feed::-webkit-scrollbar { display: none; }
.hs-item, .hs-end {
	height: 100vh; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always;
	position: relative; display: flex; align-items: center; justify-content: center; gap: 18px;
	padding: 18px 0;
}
.hs-stage {
	position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: calc(100% - 100px);
	border-radius: var(--radius); overflow: hidden; background: #000;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.hs-item.is-landscape .hs-stage { aspect-ratio: auto; width: min(100% - 110px, 1000px); height: auto; max-height: 100%; aspect-ratio: 16 / 9; }
.hs-media { position: absolute; inset: 0; }
.hs-media video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.hs-item.is-landscape .hs-media video { object-fit: contain; }
.hs-tap { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.hs-media::after {
	content: ''; position: absolute; inset: auto 0 0 0; height: 55%; z-index: 1; pointer-events: none;
	background: linear-gradient(transparent, rgba(0, 0, 0, .75));
}
.hs-paused {
	position: absolute; z-index: 3; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
	display: flex; align-items: center; justify-content: center; border-radius: 50%;
	background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	opacity: 0; transform: scale(1.3); transition: .18s; pointer-events: none;
}
.hs-paused .hs-icon { width: 38px; height: 38px; margin-left: 4px; }
.hs-item.is-paused .hs-paused { opacity: 1; transform: none; }
.hs-spinner {
	position: absolute; z-index: 3; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
	border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fff;
	opacity: 0; transition: opacity .2s; pointer-events: none; animation: hs-spin .8s linear infinite;
}
.hs-item.is-loading .hs-spinner { opacity: 1; transition-delay: .35s; }
@keyframes hs-spin { to { transform: rotate(360deg); } }
.hs-progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); pointer-events: none; }
.hs-progress span { display: block; height: 100%; width: 0; background: var(--grad); }

.hs-info {
	position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 18px 18px 22px;
	pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hs-info a { pointer-events: auto; }
.hs-title { margin: 0 0 4px; font-family: var(--display); font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.hs-desc { margin: 0 0 6px; font-size: 14px; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-tags { margin: 0; font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.hs-tags a:hover { text-decoration: underline; }

/* Akčné tlačidlá */
.hs-actions { display: flex; flex-direction: column; gap: 16px; align-self: flex-end; padding-bottom: 12px; z-index: 5; }
.hs-act { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font-size: 12px; font-weight: 600; }
.hs-act-ic {
	width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: var(--surface-2); transition: background .15s, transform .12s;
}
.hs-act:hover .hs-act-ic { background: rgba(255, 255, 255, .18); }
.hs-act:active .hs-act-ic { transform: scale(.9); }
.hs-act-ic .hs-icon { width: 26px; height: 26px; }
.hs-like.is-active .hs-act-ic { color: var(--hot); }
.hs-save.is-active .hs-act-ic { color: var(--gold); }
.hs-like.is-pop .hs-act-ic { animation: hs-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hs-pop { 40% { transform: scale(1.3); } }
.hs-mute .hs-icon-sound { display: none; }
.hs-unmuted .hs-mute .hs-icon-sound { display: block; }
.hs-unmuted .hs-mute .hs-icon-muted { display: none; }

/* Srdiečko pri dvojitom ťuknutí */
.hs-burst {
	position: absolute; z-index: 6; width: 110px; height: 110px; margin: -55px 0 0 -55px; color: var(--hot);
	pointer-events: none; filter: drop-shadow(0 6px 20px rgba(255, 45, 111, .6));
	animation: hs-burst .9s ease-out forwards;
}
@keyframes hs-burst {
	0% { transform: scale(.2) rotate(var(--rot)); opacity: 0; }
	15% { transform: scale(1.15) rotate(var(--rot)); opacity: 1; }
	30% { transform: scale(.95) rotate(var(--rot)); }
	100% { transform: scale(1.4) translateY(-60px) rotate(var(--rot)); opacity: 0; }
}

/* Premium zámok */
.hs-item.is-locked .hs-media { background: radial-gradient(120% 80% at 50% 20%, #3a1630, #0b0b10 70%); }
.hs-lock { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.hs-lock-icon { width: 70px; height: 70px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #2b1700; margin-bottom: 14px; }
.hs-lock-icon .hs-icon { width: 36px; height: 36px; }
.hs-lock-title { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; }
.hs-lock-text { margin: 6px 0 18px; color: var(--muted); }
.hs-item.is-locked .hs-info { padding-bottom: 22px; }
.hs-item.is-locked .hs-tap { display: none; }

/* Reklama */
.hs-ad { position: absolute; inset: 0; z-index: 7; background: #000; }
.hs-ad video { width: 100%; height: 100%; object-fit: contain; }
.hs-ad-label { position: absolute; top: 64px; left: 16px; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--gold); color: #2b1700; }
.hs-ad-cta { position: absolute; left: 16px; bottom: 20px; padding: 10px 16px; border-radius: 999px; background: #fff; color: #111; font-weight: 700; font-size: 14px; }
.hs-ad-skip { position: absolute; right: 0; bottom: 20px; padding: 10px 16px; border: 0; border-radius: 10px 0 0 10px; background: rgba(0, 0, 0, .7); font-weight: 600; font-size: 14px; border-left: 3px solid var(--hot); }
.hs-ad-skip:disabled { cursor: default; opacity: .85; }

/* Navigácia hore/dole (počítač) */
.hs-feed-nav { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 15; }
.hs-feed-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface-2); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.hs-feed-nav button:hover { background: rgba(255, 255, 255, .2); }

.hs-end { flex-direction: column; text-align: center; color: var(--muted); font-size: 18px; }
.hs-end p { margin: 0 0 14px; }

/* ========== Prázdny stav ========== */
.hs-empty { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 40px 20px; color: var(--muted); }
.hs-feed .hs-empty { height: 100%; min-height: 0; }
.hs-empty-icon { width: 72px; height: 72px; border-radius: 22px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--hot); }
.hs-empty-icon .hs-icon { width: 34px; height: 34px; }
.hs-empty p { margin: 0 0 8px; }
.hs-empty .hs-h1 { color: var(--text); }
.hs-empty-inline { min-height: 0; padding: 50px 20px; }

/* ========== Stránky (vyhľadávanie, profil, premium) ========== */
.hs-page { max-width: 1180px; margin: 0 auto; padding: 28px 28px 60px; }
.hs-h1 { font-family: var(--display); font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 18px; }
.hs-h2 { font-family: var(--display); font-size: 18px; margin: 30px 0 12px; }

.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.hs-grid.is-loading { opacity: .5; }
.hs-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--bg-2); aspect-ratio: 9 / 16; }
.hs-tile-media, .hs-tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.hs-tile-media img { color: transparent; }
.hs-tile:hover .hs-tile-media img { transform: scale(1.04); }
.hs-tile-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--gold); background: radial-gradient(circle at 50% 30%, #3a1630, var(--bg-2)); }
.hs-tile-lock .hs-icon { width: 40px; height: 40px; }
.hs-tile-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); display: grid; gap: 2px; }
.hs-tile-title { font-weight: 600; font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-tile-stats { display: flex; align-items: center; gap: 4px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.hs-tile-stats .hs-icon { width: 13px; height: 13px; }
.hs-tile-badge { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #2b1700; }
.hs-tile-badge .hs-icon { width: 16px; height: 16px; }

.hs-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.hs-cat-card {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 96px; padding: 16px;
	border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .15s, border-color .15s;
}
.hs-cat-card::before { content: ''; position: absolute; width: 120px; height: 120px; right: -40px; top: -50px; border-radius: 50%; background: var(--grad); opacity: .25; filter: blur(10px); }
.hs-cat-card:hover { transform: translateY(-2px); border-color: rgba(255, 45, 111, .5); }
.hs-cat-name { font-family: var(--display); font-weight: 700; font-size: 17px; position: relative; }
.hs-cat-count { font-size: 13px; color: var(--muted); position: relative; }
.hs-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hs-tag-cloud a { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: border-color .15s; }
.hs-tag-cloud a:hover { border-color: var(--hot); }
.hs-pager { display: flex; justify-content: center; margin-top: 26px; }
.hs-pager .nav-links { display: flex; gap: 6px; }
.hs-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface); font-weight: 600; }
.hs-pager .page-numbers.current { background: var(--grad); }

.hs-profile { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.hs-avatar { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 34px; font-weight: 800; background: var(--grad); flex: none; }
.hs-profile-info { flex: 1; min-width: 160px; }
.hs-profile-info .hs-h1 { margin-bottom: 6px; }
.hs-profile-info .hs-chip { margin: 0; }
.hs-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.hs-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 0; border-radius: 12px; background: var(--surface); color: var(--muted); font-weight: 600; }
.hs-tabs button.is-active { background: var(--surface-2); color: var(--text); }
.hs-tabs-line { border-bottom: 1px solid var(--line); gap: 0; }
.hs-tabs-line button { flex: none; padding: 0 22px; background: none; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hs-tabs-line button.is-active { background: none; border-color: var(--text); }

.hs-premium-hero { max-width: 560px; margin: 4vh auto 0; text-align: center; padding: 40px 28px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 0%, rgba(255, 159, 67, .22), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.hs-premium-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 26px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffd36e, #ff9f43); color: #2b1700; box-shadow: 0 16px 40px -12px rgba(255, 159, 67, .6); }
.hs-premium-icon .hs-icon { width: 44px; height: 44px; }
.hs-premium-lead { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.hs-premium-list { list-style: none; margin: 0 auto 26px; padding: 0; display: grid; gap: 10px; text-align: left; max-width: 320px; font-weight: 500; }
.hs-premium-price { font-family: var(--display); font-size: 30px; font-weight: 800; margin: 0 0 16px; }

/* Bežný obsah (Podmienky, Súkromie…) */
.hs-content { max-width: 760px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.hs-content a { color: var(--hot); text-decoration: underline; }
.hs-content h2, .hs-content h3 { font-family: var(--display); color: var(--text); }

/* ========== Okná ========== */
.hs-modal {
	position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: hs-fade .15s;
}
@keyframes hs-fade { from { opacity: 0; } }
.hs-modal-card {
	position: relative; width: 100%; max-width: 420px; max-height: calc(100dvh - 32px); overflow-y: auto;
	background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 24px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); animation: hs-rise .2s ease-out;
}
@keyframes hs-rise { from { transform: translateY(16px); opacity: 0; } }
.hs-modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.hs-modal-title { margin: 0 40px 18px 0; font-family: var(--display); font-size: 22px; }
.hs-form { display: grid; gap: 12px; }
.hs-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hs-form input:not([type=checkbox]), .hs-form select, .hs-form textarea {
	width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
	background: var(--surface); color: var(--text); font: inherit; outline: 0; transition: border-color .15s;
}
.hs-form textarea { resize: vertical; }
.hs-form select option { background: var(--bg-2); }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { border-color: var(--hot); }
.hs-form .hs-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.4; }
.hs-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--hot); flex: none; }
.hs-check a { color: var(--text); text-decoration: underline; }
.hs-hp { position: absolute !important; left: -9999px; }
.hs-form-err { margin: 0; min-height: 0; color: #ff6b8b; font-size: 14px; }
.hs-form-err:empty { display: none; }
.hs-form-link { text-align: center; font-size: 13px; color: var(--muted); }
.hs-form-link:hover { color: var(--text); }

.hs-share-row { display: flex; gap: 8px; }
.hs-share-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.hs-share-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin: 14px 0; }
.hs-share-apps a { padding: 11px 8px; text-align: center; border-radius: 12px; background: var(--surface); font-weight: 600; font-size: 14px; }
.hs-share-apps a:hover { background: var(--surface-2); }
.hs-report-open { display: flex; align-items: center; gap: 8px; margin: 4px auto 0; border: 0; background: none; color: var(--muted); font-size: 14px; }
.hs-report-open:hover { color: #ff6b8b; }

.hs-toast {
	position: fixed; z-index: 200; left: 50%; bottom: 30px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	padding: 12px 20px; border-radius: 999px; background: #fff; color: #111; font-weight: 600; font-size: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: .2s; max-width: calc(100% - 32px); text-align: center;
}
.hs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Overenie veku */
.hs-age {
	position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(6, 6, 10, .82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.hs-age-card { width: 100%; max-width: 440px; text-align: center; padding: 34px 26px 26px; border-radius: 28px; background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 10px; }
.hs-age-card h2 { margin: 0; font-family: var(--display); font-size: 26px; }
.hs-age-card p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }

/* ========== Mobil ========== */
@media (max-width: 1100px) {
	:root { --side: 84px; }
	.hs-side { padding: 20px 12px; align-items: center; }
	.hs-logo-text, .hs-side .hs-search, .hs-side-cta, .hs-side-cats, .hs-side-foot { display: none; }
	.hs-side-nav a { font-size: 0; padding: 12px; justify-content: center; }
	.hs-side-nav a .hs-icon { width: 26px; height: 26px; }
	.hs-top-btn { display: flex; }
}

@media (max-width: 760px) {
	:root { --bottom: calc(58px + env(safe-area-inset-bottom)); }
	.hs-side, .hs-feed-nav { display: none; }
	.hs-logo-sm { display: flex; }
	.hs-chips { justify-content: flex-start; }
	.hs-top { padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); }

	.hs-feed, .hs-item, .hs-end { height: calc(100vh - var(--bottom)); height: calc(100dvh - var(--bottom)); }
	.hs-item { padding: 0; display: block; }
	.hs-stage, .hs-item.is-landscape .hs-stage { position: absolute; inset: 0; width: auto; height: auto; max-width: none; max-height: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
	.hs-actions { position: absolute; right: 8px; bottom: 18px; gap: 14px; padding: 0; }
	.hs-act-ic { width: 46px; height: 46px; background: rgba(0, 0, 0, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
	.hs-act { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
	.hs-info { padding: 16px 74px 18px 14px; }
	.hs-title { font-size: 17px; }

	.hs-bottom {
		position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: var(--bottom); padding-bottom: env(safe-area-inset-bottom);
		display: flex; align-items: stretch; background: var(--bg); border-top: 1px solid var(--line);
	}
	.hs-bottom > a, .hs-bottom > button {
		flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
		border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600;
	}
	.hs-bottom .hs-icon { width: 24px; height: 24px; }
	.hs-bottom .is-active { color: var(--text); }
	.hs-bottom .hs-bottom-plus { flex: none; width: 54px; margin: 8px 6px; border-radius: 14px; background: var(--grad); color: #fff; }

	.hs-is-page .hs-main { padding-bottom: var(--bottom); }
	.hs-page { padding: 18px 14px 40px; }
	.hs-h1 { font-size: 24px; }
	.hs-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
	.hs-tile { border-radius: 6px; }
	.hs-tile-meta { padding: 20px 6px 6px; }
	.hs-tile-title { font-size: 12px; -webkit-line-clamp: 1; }
	.hs-cat-grid { grid-template-columns: repeat(2, 1fr); }
	.hs-search-lg { height: 50px; }
	.hs-modal { align-items: flex-end; padding: 0; }
	.hs-modal-card { max-width: none; border-radius: 24px 24px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
	.hs-toast { bottom: calc(var(--bottom) + 16px); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
