/* ==========================================================================
   XiaomiHero – fő stílusok
   A natív XiaomiHero app kinézete alapján (színek a telefonos képernyőképekből
   mintavételezve): sötét alap, indigó kiemelés, pill alakú chipek, nagy
   lekerekített kártyák, lebegő alsó navigáció.
   ========================================================================== */

/* ---------- Design tokenek – SÖTÉT (alapértelmezett, mint az app) ---------- */
:root {
	--xh-bg: #111113;
	--xh-surface: #232327;
	--xh-surface-2: #2e2e33;
	--xh-nav: #2c2c2e;
	--xh-text: #ffffff;
	--xh-text-2: #d1d1d6;
	--xh-muted: #9c9ca4;
	--xh-border: rgba(255, 255, 255, .07);
	/* Kiemelőszín: a logó narancsa (korábban az app indigója) */
	/* Kitöltés (gombok, címkék): élénk logó-narancs; a fehér szöveg vastag + árnyékos (lásd lent). */
	--xh-accent: #ff7b28;
	--xh-accent-2: #ff9621;
	--xh-accent-text: #ff9a4d;
	--xh-accent-soft: rgba(255, 126, 39, .16);
	--xh-orange: #fa6a06;
	/* A logó narancsa (a kabala képéből mintavételezve) */
	--xh-logo: #ff7e27;
	--xh-logo-l: #ff9621;
	--xh-logo-grad: linear-gradient(135deg, #ff9621 0%, #ff7b28 100%);
	--xh-grad: linear-gradient(135deg, #ffa63d 0%, #ff7b28 55%, #f05a0a 100%);
	--xh-grad-h: linear-gradient(90deg, #ffb15c 0%, #ff7b28 100%);
	--xh-shadow: 0 8px 28px rgba(0, 0, 0, .35);
	--xh-glass: rgba(30, 30, 34, .55);
	--xh-header-bg: rgba(17, 17, 19, .82);

	/* régi nevek (article.css és pluginok felé) */
	--xh-link: var(--xh-accent-text);
	--xh-orange-soft: var(--xh-accent-soft);
	--xh-shadow-hover: var(--xh-shadow);

	--xh-radius-sm: 14px;
	--xh-radius: 22px;
	--xh-radius-lg: 28px;
	--xh-pill: 999px;

	--xh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--xh-font-display: var(--xh-font);
	--xh-container: 1320px;
	--xh-gutter: 16px;
	--xh-header-h: 76px;
	--xh-bottomnav-h: 0px; /* az alsó lebegő menü ki van kapcsolva */

	color-scheme: dark;
}

/* ---------- VILÁGOS (kézi váltás, vagy app módban a rendszer szerint) ---------- */
:root[data-theme="light"] {
	--xh-bg: #f2f2f6;
	--xh-surface: #ffffff;
	--xh-surface-2: #e9e9ef;
	--xh-nav: rgba(255, 255, 255, .92);
	--xh-text: #111113;
	--xh-text-2: #3a3a40;
	--xh-muted: #6e6e76;
	--xh-border: rgba(0, 0, 0, .07);
	--xh-accent: #ff7b28;
	--xh-accent-2: #ff9621;
	--xh-accent-text: #e65c00;
	--xh-accent-soft: rgba(255, 126, 39, .12);
	--xh-shadow: 0 6px 24px rgba(17, 17, 19, .08);
	--xh-glass: rgba(255, 255, 255, .7);
	--xh-header-bg: rgba(242, 242, 246, .85);
	color-scheme: light;
}
@media (prefers-color-scheme: light) {
	:root[data-theme="auto"] {
		--xh-bg: #f2f2f6;
		--xh-surface: #ffffff;
		--xh-surface-2: #e9e9ef;
		--xh-nav: rgba(255, 255, 255, .92);
		--xh-text: #111113;
		--xh-text-2: #3a3a40;
		--xh-muted: #6e6e76;
		--xh-border: rgba(0, 0, 0, .07);
		--xh-accent: #ff7b28;
		--xh-accent-2: #ff9621;
		--xh-accent-text: #e65c00;
		--xh-accent-soft: rgba(255, 126, 39, .12);
		--xh-shadow: 0 6px 24px rgba(17, 17, 19, .08);
		--xh-glass: rgba(255, 255, 255, .7);
		--xh-header-bg: rgba(242, 242, 246, .85);
		color-scheme: light;
	}
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--xh-bg);
	color: var(--xh-text);
	font: 400 16px/1.6 var(--xh-font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}
img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--xh-accent-text); text-decoration: none; }
a:hover { color: var(--xh-accent-2); }
:focus-visible { outline: 2px solid var(--xh-accent-2); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--xh-text); font-weight: 600; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.xht-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--xh-accent); color: #fff; padding: 8px 14px; border-radius: var(--xh-pill); }
.xht-skip:focus { left: 8px; color: #fff; }

.xht-container { width: 100%; max-width: var(--xh-container); margin: 0 auto; padding: 0 var(--xh-gutter); }
.xht-main { display: block; min-height: 60vh; padding-bottom: 32px; outline: none; }
.xht-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Gombok, pillek ---------- */
.xht-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--xh-pill);
	font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none;
	transition: transform .15s ease, background-color .15s ease;
}
.xht-btn:active { transform: scale(.97); }
.xht-btn--primary { background: var(--xh-accent); color: #fff; }
.xht-btn--primary:hover { background: var(--xh-accent-2); color: #fff; }
.xht-btn--ghost { background: var(--xh-surface-2); color: var(--xh-text); }
.xht-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.xht-btn .xht-icon { width: 20px; height: 20px; }

/* Kerek ikongomb (mint az app fejlécében) */
.xht-roundbtn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
	border: 0; border-radius: 50%; background: var(--xh-nav); color: var(--xh-text); cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}
.xht-roundbtn:hover { background: var(--xh-surface-2); }
.xht-roundbtn:active { transform: scale(.94); }
.xht-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--xh-text); cursor: pointer; }
.xht-iconbtn--sm { width: 32px; height: 32px; }
.xht-iconbtn--sm .xht-icon { width: 18px; height: 18px; }

.xht-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--xh-pill);
	font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; white-space: nowrap;
}
.xht-pill--accent { background: var(--xh-accent); color: #fff; text-transform: uppercase; }
a.xht-pill--accent:hover { background: var(--xh-accent-2); color: #fff; }
.xht-pill--glass { background: rgba(17, 17, 19, .55); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.xht-pill--outline { border: 1.5px solid var(--xh-accent); color: var(--xh-accent-text); background: transparent; }

/* ---------- Fejléc (app: avatar + köszönés + név, kerek gombok) ---------- */
.xht-header { position: relative; z-index: 52; background: var(--xh-bg); }
/* ---------- Kategória sor (vékony, ragadós sáv a logó narancsával) ---------- */
.xht-catbar {
	position: sticky; top: 0; z-index: 50;
	background: linear-gradient(90deg, #ff9621 0%, #ff7b28 100%);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.admin-bar .xht-catbar { top: 46px; }
@media (min-width: 783px) { .admin-bar .xht-catbar { top: 32px; } }
.xht-catbar__inner {
	display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none;
	max-width: var(--xh-container); margin: 0 auto; padding: 6px var(--xh-gutter);
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
.xht-catbar__inner::-webkit-scrollbar { display: none; }
.xht-catbar__link {
	flex: none; padding: 6px 14px; border-radius: var(--xh-pill);
	color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.5; white-space: nowrap;
	text-shadow: 0 1px 2px rgba(110, 35, 0, .45);
	transition: background-color .15s ease, color .15s ease;
}
.xht-catbar__link:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.xht-catbar__link.is-active { background: #fff; color: #e65c00; text-shadow: none; }
.xht-catbar__inner > :last-child { margin-right: 20px; }
@media (min-width: 1100px) {
	.xht-catbar__inner { max-width: none; justify-content: safe center; }
	.xht-catbar__inner > :last-child { margin-right: 0; }
}

/* ---------- Mozgó címke sáv ---------- */
.xht-tagbar { background: var(--xh-surface); border-bottom: 1px solid var(--xh-border); }
.xht-tagbar__track {
	display: flex; overflow-x: auto; scrollbar-width: none; padding: 9px 0;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.xht-tagbar__track::-webkit-scrollbar { display: none; }
.xht-tagbar__group { display: flex; flex: none; gap: 8px; padding-right: 8px; }
.xht-tagbar__group:first-child { padding-left: var(--xh-gutter); }
.xht-tagbar__link {
	flex: none; padding: 6px 14px; border-radius: var(--xh-pill);
	background: var(--xh-surface-2); color: var(--xh-text-2);
	font-size: 13.5px; font-weight: 600; white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.xht-tagbar__link:hover, .xht-tagbar__link.is-active { background: var(--xh-orange); color: #fff; }
/* Három oszlop: dátum-pill | logó középen | gombok – mint a jelenlegi oldalon. */
.xht-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
	height: var(--xh-header-h);
}
.xht-header__left { display: flex; align-items: center; min-width: 0; }
.xht-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.xht-brand { display: flex; align-items: center; justify-content: center; color: var(--xh-text); }
.xht-brand:hover { color: var(--xh-text); }
.xht-brand__logo { display: block; height: 62px; width: auto; max-width: 160px; object-fit: contain; border: 0; border-radius: 0; background: none; }
@media (min-width: 900px) { .xht-header__bar { height: 96px; } .xht-brand__logo { height: 74px; } }

.xht-datepill {
	display: inline-flex; flex-direction: column; min-width: 0; padding: 6px 14px;
	border-radius: var(--xh-pill); background: var(--xh-nav); line-height: 1.2;
}
.xht-datepill > span:first-child { font-size: 11.5px; color: var(--xh-muted); }
.xht-datepill__date { font-size: 13px; color: var(--xh-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xht-datepill__date::first-letter { text-transform: uppercase; }
@media (max-width: 380px) { .xht-datepill__date { display: none; } }

.xht-nav__list { list-style: none; margin: 0; padding: 0; }
.xht-nav--desktop { display: none; }
@media (min-width: 1100px) {
	.xht-header__menu { display: none; }
	.xht-nav--desktop {
		display: block; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
		mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
	}
	.xht-nav--desktop::-webkit-scrollbar { display: none; }
	.xht-nav--desktop .xht-nav__list { display: flex; gap: 4px; white-space: nowrap; padding-right: 40px; }
	.xht-nav--desktop a { display: block; padding: 9px 14px; border-radius: var(--xh-pill); color: var(--xh-text-2); font-size: 15px; }
	.xht-nav--desktop a:hover { background: var(--xh-surface-2); color: var(--xh-text); }
	.xht-nav--desktop .current-menu-item > a { background: var(--xh-accent); color: #fff; }
}

/* Téma váltó ikon: sötétben nap (→ világos), világosban hold (→ sötét). */
.xht-theme-toggle .xht-icon--moon { display: none; }
:root[data-theme="light"] .xht-theme-toggle .xht-icon--moon { display: block; }
:root[data-theme="light"] .xht-theme-toggle .xht-icon--sun { display: none; }

/* Kereső */
/* Kereső panel – kicsi, középen felugró ablak a logó narancsával */
.xht-searchmodal {
	position: fixed; inset: 0; z-index: 130; display: grid;
	grid-template-columns: minmax(0, 400px); justify-content: center; align-items: start;
	padding: 18vh 16px 16px;
}
.xht-searchmodal[hidden] { display: none; }
/* Nyitott panel / menü alatt a xh-profil lebegő „Belépés” gombja ne lógjon rá. */
body.xht-no-scroll .xhlw-fixed { display: none !important; }
.xht-searchmodal__backdrop { position: absolute; inset: 0; background: rgba(10, 8, 6, .62); animation: xht-fade .2s ease; }
.xht-searchmodal__panel {
	--xh-sm-bg: #1b1714;
	--xh-sm-field: #29221d;
	--xh-sm-chip: rgba(255, 126, 39, .14);
	position: relative; width: 100%; padding: 14px;
	background: var(--xh-sm-bg); border: 1.5px solid rgba(255, 126, 39, .55); border-radius: 22px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .55); animation: xht-pop .2s cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme="light"] .xht-searchmodal__panel { --xh-sm-bg: #ffffff; --xh-sm-field: #fff4ec; --xh-sm-chip: #fff1e6; }
@media (prefers-color-scheme: light) { :root[data-theme="auto"] .xht-searchmodal__panel { --xh-sm-bg: #ffffff; --xh-sm-field: #fff4ec; --xh-sm-chip: #fff1e6; } }

.xht-searchmodal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.xht-searchmodal__title { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 16px; font-weight: 700; }
.xht-searchmodal__title .xht-icon { width: 18px; height: 18px; color: var(--xh-logo); }
.xht-searchmodal .xht-roundbtn { width: 32px; height: 32px; background: transparent; }
.xht-searchmodal .xht-roundbtn .xht-icon { width: 18px; height: 18px; }
.xht-searchmodal .xht-roundbtn:hover { background: var(--xh-logo); color: #fff; }

.xht-searchmodal .xht-searchform { gap: 8px; padding: 4px 4px 4px 12px; background: var(--xh-sm-field); border: 1.5px solid transparent; transition: border-color .15s ease; }
.xht-searchmodal .xht-searchform:focus-within { border-color: var(--xh-logo); }
.xht-searchmodal .xht-searchform .xht-icon { width: 18px; height: 18px; color: var(--xh-logo); }
.xht-searchmodal .xht-searchform__input { font-size: 15px; padding: 7px 0; caret-color: var(--xh-logo); }
.xht-searchmodal .xht-searchform .xht-btn { min-height: 32px; padding: 0 12px; font-size: 13px; background: var(--xh-logo-grad); color: #fff; }
.xht-searchmodal .xht-searchform .xht-btn:hover { background: var(--xh-logo-l); }

.xht-searchmodal__label { margin: 12px 2px 6px; color: var(--xh-muted); font-size: 12px; }
.xht-searchmodal__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.xht-searchmodal__tags .xht-tagbar__link { padding: 4px 10px; font-size: 12.5px; background: var(--xh-sm-chip); color: var(--xh-accent-text); }
.xht-searchmodal__tags .xht-tagbar__link:hover { background: var(--xh-logo); color: #fff; }
@keyframes xht-pop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.xht-searchform {
	display: flex; align-items: center; gap: 10px;
	background: var(--xh-surface); border-radius: var(--xh-pill); padding: 6px 6px 6px 18px;
}
.xht-searchform .xht-icon { color: var(--xh-muted); }
.xht-searchform__input {
	flex: 1; min-width: 0; border: 0; background: transparent; color: var(--xh-text);
	font: inherit; font-size: 16px; padding: 10px 0; outline: none;
}
.xht-searchform__input::placeholder { color: var(--xh-muted); }
.xht-searchform__input::-webkit-search-cancel-button { display: none; }

/* ---------- Oldalsó menü ---------- */
.xht-drawer { position: fixed; inset: 0; z-index: 100; }
.xht-drawer[hidden] { display: none; }
.xht-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: xht-fade .2s ease; }
.xht-drawer__panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh;
	display: flex; flex-direction: column; gap: 16px; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
	background: var(--xh-bg); overflow-y: auto;
	border-radius: var(--xh-radius-lg) var(--xh-radius-lg) 0 0;
	animation: xht-up .28s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 900px) {
	.xht-drawer__panel { left: auto; top: 0; width: 380px; max-height: none; border-radius: var(--xh-radius-lg) 0 0 var(--xh-radius-lg); animation-name: xht-left; }
}
.xht-drawer__head { display: flex; align-items: center; justify-content: space-between; font-size: 22px; }
.xht-nav--drawer .xht-nav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xht-nav--drawer a {
	display: block; padding: 14px 16px; border-radius: var(--xh-radius-sm);
	background: var(--xh-surface); color: var(--xh-text); font-weight: 600;
}
.xht-nav--drawer a:hover, .xht-nav--drawer .current-menu-item > a { background: var(--xh-accent); color: #fff; }
.xht-nav--drawer .sub-menu { display: none; }
.xht-drawer__app { margin-top: auto; }
body.xht-no-scroll { overflow: hidden; }
@keyframes xht-fade { from { opacity: 0; } }
@keyframes xht-up { from { transform: translateY(100%); } }
@keyframes xht-left { from { transform: translateX(100%); } }


/* ---------- Kategória chipek (app: „Friss | Telefon | HyperOS …”) ---------- */
.xht-chips {
	display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
	margin: 8px calc(var(--xh-gutter) * -1) 0; padding: 4px 40px 4px var(--xh-gutter);
	scroll-snap-type: x proximity;
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}
.xht-chips::-webkit-scrollbar { display: none; }
.xht-chip {
	flex: none; display: inline-flex; align-items: center; gap: 8px; scroll-snap-align: start;
	padding: 12px 22px; border: 0; border-radius: var(--xh-pill);
	background: var(--xh-surface-2); color: var(--xh-text);
	font-size: 16px; font-weight: 400; white-space: nowrap; cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.xht-chip:hover { background: var(--xh-surface); color: var(--xh-text); }
.xht-chip.is-active { background: linear-gradient(135deg, var(--xh-accent-2), var(--xh-accent)); color: #fff; }
.xht-chip--sm { padding: 6px 14px; font-size: 14px; }
.xht-chip--icon { padding: 10px 18px; font-size: 15px; background: var(--xh-surface); }
.xht-chip--icon .xht-icon { color: var(--xh-accent-text); width: 20px; height: 20px; }

/* ---------- Szekciók ---------- */
.xht-section { margin-top: 32px; }
.xht-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.xht-section__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.xht-section__title .xht-icon { width: 28px; height: 28px; color: var(--xh-accent-2); }
.xht-section__more { display: inline-flex; align-items: center; gap: 2px; font-size: 16px; color: var(--xh-accent-text); white-space: nowrap; }
.xht-section__more .xht-icon { width: 18px; height: 18px; }

/* ---------- Kiemelt karusszel – egyszerre egy dia, automatikus lapozás ---------- */
.xht-carousel__viewport { position: relative; }
.xht-carousel__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; border-radius: var(--xh-radius-lg);
}
.xht-carousel__track::-webkit-scrollbar { display: none; }
.xht-carousel__track > .xht-feature { flex: 0 0 100%; min-width: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.xht-carousel__viewport { overflow: hidden; border-radius: var(--xh-radius-lg); }

.xht-carousel__arrow {
	position: absolute; top: 50%; z-index: 3; display: none; place-items: center;
	width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(17, 17, 19, .55); color: #fff;
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	transition: background-color .15s ease, opacity .2s ease;
}
.xht-carousel__arrow:hover { background: var(--xh-logo); }
.xht-carousel__arrow--prev { left: 16px; }
.xht-carousel__arrow--next { right: 16px; }
.xht-carousel__arrow--next .xht-icon { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 700px) {
	.xht-carousel__arrow { display: grid; opacity: 0; }
	.xht-carousel:hover .xht-carousel__arrow, .xht-carousel__arrow:focus-visible { opacity: 1; }
}

.xht-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.xht-carousel__dots button {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; cursor: pointer;
	background: var(--xh-surface-2); transition: width .25s ease, background-color .25s ease;
}
.xht-carousel__dots button.is-active { width: 34px; background: var(--xh-accent); }

/* A karusszel kilóg a tartalom keretéből: szélesebb, panorámás megjelenés. */
.xht-section--featured .xht-featrow,
.xht-section--featured .xht-section__head {
	--xh-feat-w: min(calc(100vw - 16px), 1560px);
	width: var(--xh-feat-w);
	margin-left: calc((100% - var(--xh-feat-w)) / 2);
}
@media (min-width: 700px) { .xht-section--featured .xht-featrow, .xht-section--featured .xht-section__head { --xh-feat-w: min(calc(100vw - 32px), 1560px); } }

/* Kiemelt kártya: kép, felirat a képen – keret nélkül */
.xht-feature { position: relative; border-radius: var(--xh-radius-lg); }
.xht-feature__inner { position: relative; overflow: hidden; border-radius: var(--xh-radius-lg); aspect-ratio: 3 / 4; background: var(--xh-surface); }
@media (min-width: 600px) { .xht-feature__inner { aspect-ratio: 16 / 10; } }
@media (min-width: 1000px) { .xht-feature__inner { aspect-ratio: 2 / 1; } .xht-section--featured .xht-feature__inner { aspect-ratio: 7 / 3; } .xht-feature__bottom { padding: 36px 40px; max-width: 72%; } .xht-feature__title { font-size: 40px; } }
@media (min-width: 1500px) { .xht-section--featured .xht-feature__inner { aspect-ratio: 5 / 2; } }
.xht-feature__media, .xht-feature__media img, .xht-feature__media .xht-thumb-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xht-feature__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .8) 100%);
}
.xht-feature__top { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.xht-feature__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.xht-feature__title { margin: 0; font-size: clamp(24px, 6.2vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.xht-feature__title a { color: #fff; }
.xht-feature__title a::after { content: ""; position: absolute; inset: 0; }
.xht-feature-single { margin-top: 18px; }
.xht-feature-single + .xht-list { margin-top: 16px; }

/* ---------- Vízszintes görgető (Pletykák, kategóriák) ---------- */
.xht-hscroll {
	display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
	margin: 0 calc(var(--xh-gutter) * -1); padding: 0 var(--xh-gutter) 4px;
}
.xht-hscroll::-webkit-scrollbar { display: none; }
.xht-hscroll > * { flex: 0 0 86%; scroll-snap-align: start; }
.xht-hscroll > .xht-card { flex-basis: 64%; }
@media (min-width: 700px) { .xht-hscroll > * { flex-basis: 46%; } .xht-hscroll > .xht-card { flex-basis: 31%; } }
@media (min-width: 1100px) { .xht-hscroll > * { flex-basis: calc(33.333% - 10px); } .xht-hscroll > .xht-card { flex-basis: calc(25% - 11px); } }

/* Pletyka kártya */
.xht-rumor { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--xh-radius-lg); background: var(--xh-surface); }
.xht-rumor__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--xh-surface-2); }
.xht-rumor__media img, .xht-rumor__media .xht-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.xht-rumor__tag { position: absolute; top: 16px; left: 16px; text-transform: uppercase; }
.xht-rumor__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 18px 20px 20px; flex: 1; }
.xht-rumor__title { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.xht-rumor__title a { color: var(--xh-text); }
.xht-rumor__title a::after { content: ""; position: absolute; inset: 0; }
.xht-rumor__excerpt { margin: 0; color: var(--xh-muted); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xht-rumor .xht-pill--outline { margin-top: auto; }

/* ---------- Lista-elem (app: „Friss hírek”) ---------- */
.xht-list { display: grid; gap: 14px; }
@media (min-width: 900px) { .xht-list { grid-template-columns: 1fr 1fr; } }
.xht-row {
	position: relative; display: flex; align-items: stretch; gap: 16px;
	padding: 14px; border-radius: var(--xh-radius-lg); background: var(--xh-surface);
	transition: transform .15s ease, background-color .15s ease;
}
.xht-row:hover { background: var(--xh-surface-2); }
.xht-row:active { transform: scale(.985); }
.xht-row__media { flex: none; width: 116px; height: 116px; border-radius: var(--xh-radius); overflow: hidden; background: var(--xh-surface-2); }
.xht-row__media img, .xht-row__media .xht-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.xht-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; padding: 2px 4px 0 0; }
.xht-row__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--xh-muted); font-size: 14px; }
.xht-row__cat { color: var(--xh-accent-text); text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.xht-row__title { margin: 0; font-size: 18px; font-weight: 400; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xht-row__title a { color: var(--xh-text); }
.xht-row__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--xh-radius-lg); }
.xht-row__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: var(--xh-muted); font-size: 14px; }
.xht-row__foot .xht-icon { width: 20px; height: 20px; color: var(--xh-muted); opacity: .55; }

/* ---------- Széles lista-kártya (archívumok: kategória, címke, keresés) ---------- */
.xht-wlist { display: grid; gap: 16px; }
.xht-feature-single + .xht-wlist { margin-top: 16px; }
.xht-wide {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	border-radius: var(--xh-radius-lg); background: var(--xh-surface);
	transition: background-color .15s ease, transform .15s ease;
}
.xht-wide:hover { background: var(--xh-surface-2); }
.xht-wide:active { transform: scale(.99); }
.xht-wide__media { display: block; aspect-ratio: 16 / 9; background: var(--xh-surface-2); overflow: hidden; }
.xht-wide__media img, .xht-wide__media .xht-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.xht-wide:hover .xht-wide__media img { transform: scale(1.03); }
.xht-wide__body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; padding: 16px 18px 18px; }
.xht-wide__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--xh-muted); }
.xht-wide__cat { position: relative; z-index: 2; color: var(--xh-accent-text); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.xht-wide__cat:hover { color: var(--xh-logo-l); }
.xht-wide__title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xht-wide__title a { color: var(--xh-text); }
.xht-wide__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.xht-wide:hover .xht-wide__title a { color: var(--xh-logo-l); }
.xht-wide__excerpt { margin: 0; color: var(--xh-muted); font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xht-wide__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--xh-muted); }
.xht-wide__foot .xht-icon { width: 20px; height: 20px; opacity: .55; }
@media (min-width: 640px) {
	.xht-wide { flex-direction: row; align-items: stretch; }
	.xht-wide__media { flex: 0 0 240px; aspect-ratio: auto; min-height: 170px; }
	.xht-wide__body { padding: 18px 22px; }
}
@media (min-width: 1000px) {
	.xht-wide__media { flex-basis: 300px; min-height: 190px; }
	.xht-wide__title { font-size: 23px; -webkit-line-clamp: 2; }
}

/* ---------- Kártya (kategória görgetők) ---------- */
.xht-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--xh-radius-lg); background: var(--xh-surface); }
.xht-card__media { display: block; aspect-ratio: 16 / 10; background: var(--xh-surface-2); overflow: hidden; }
.xht-card__media img, .xht-card__media .xht-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; }
.xht-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1; }
.xht-card__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xht-card__title a { color: var(--xh-text); }
.xht-card__title a::after { content: ""; position: absolute; inset: 0; }

.xht-thumb-placeholder { display: grid; place-items: center; background: var(--xh-grad); }
.xht-thumb-placeholder span { color: rgba(255, 255, 255, .9); font-size: 32px; font-weight: 700; }

/* ---------- Archívum fej, lapozó ---------- */
.xht-archive-head { margin: 24px 0 18px; }
.xht-archive-head__title { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.xht-archive-head__desc { color: var(--xh-muted); max-width: 70ch; }
.xht-archive-head__search { margin-top: 16px; max-width: 560px; }
.xht-breadcrumbs { display: none; }

/* ---------- Lapozás: „Továbbiak betöltése” + lekerekített lapozósáv ---------- */
.xht-pagination-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
.xht-loadmore {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-width: min(100%, 320px); height: 54px; padding: 0 28px; border: 0; border-radius: var(--xh-pill);
	background: var(--xh-logo-grad); color: #fff; cursor: pointer;
	font: 700 16px/1 var(--xh-font); text-shadow: 0 1px 2px rgba(110, 35, 0, .4);
	box-shadow: 0 8px 22px rgba(255, 126, 39, .3); transition: box-shadow .2s ease, filter .2s ease;
}
.xht-loadmore:hover { box-shadow: 0 10px 28px rgba(255, 126, 39, .45); filter: brightness(1.05); }
.xht-loadmore .xht-icon { width: 20px; height: 20px; }
.xht-loadmore.is-loading { pointer-events: none; filter: saturate(.7); }
.xht-loadmore.is-loading .xht-icon { display: none; }
@keyframes xht-spin { to { transform: rotate(360deg); } }

.xht-pagination { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; width: 100%; }
.xht-pagination__bar {
	display: flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px;
	border-radius: var(--xh-pill); background: var(--xh-surface); border: 1px solid var(--xh-border);
}
.xht-pagination__nums { display: flex; align-items: center; gap: 4px; }
.xht-pagination .page-numbers {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
	border-radius: var(--xh-pill); color: var(--xh-text); font-size: 15px; font-variant-numeric: tabular-nums;
	transition: background-color .15s ease, color .15s ease;
}
.xht-pagination a.page-numbers:hover { background: var(--xh-surface-2); color: var(--xh-text); }
.xht-pagination .page-numbers.current { background: var(--xh-accent); color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(110, 35, 0, .4); }
.xht-pagination .page-numbers.dots { min-width: 24px; padding: 0; color: var(--xh-muted); }
.xht-pagination__step {
	display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px;
	border-radius: var(--xh-pill); background: var(--xh-surface-2); color: var(--xh-text); font-size: 15px;
	transition: background-color .15s ease, color .15s ease;
}
.xht-pagination__step .xht-icon { width: 18px; height: 18px; }
.xht-pagination__step--next .xht-icon { transform: rotate(180deg); }
a.xht-pagination__step:hover { background: var(--xh-accent); color: #fff; }
.xht-pagination__step.is-disabled { opacity: .35; }
.xht-pagination__info { margin: 0; color: var(--xh-muted); font-size: 13px; }
@media (max-width: 600px) {
	.xht-pagination__step { width: 42px; padding: 0; justify-content: center; }
	.xht-pagination__step > span { display: none; }
	.xht-pagination .page-numbers { min-width: 36px; height: 38px; padding: 0 6px; font-size: 14px; }
	.xht-pagination__step { height: 38px; width: 38px; }
	.xht-pagination__bar { gap: 2px; padding: 4px; }
}
.xht-empty { padding: 48px 0; text-align: center; color: var(--xh-muted); }

/* ---------- 404 ---------- */
.xht-404 { max-width: 560px; text-align: center; padding-top: 48px; }
.xht-404__code { margin: 0; font-size: 120px; font-weight: 700; line-height: 1; background: var(--xh-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xht-404 .xht-searchform { margin: 24px 0; }

/* ---------- Widgetek ---------- */
.xht-widget { background: var(--xh-surface); border-radius: var(--xh-radius-lg); padding: 20px; margin-bottom: 16px; }
.xht-widget__title { font-size: 20px; font-weight: 700; }
.xht-widget ul { list-style: none; margin: 0; padding: 0; }
.xht-widget li { padding: 8px 0; border-bottom: 1px solid var(--xh-border); }
.xht-widget li:last-child { border-bottom: 0; }

/* ---------- Lábléc ---------- */
/* ---------- Lábléc ---------- */
.xht-footer {
	position: relative; margin-top: 56px; color: var(--xh-text-2);
	background: var(--xh-surface); border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, #ff9621, #ff7b28) 1;
}
.xht-footer__grid {
	display: grid; gap: 36px; padding: 44px 0 36px;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) { .xht-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .xht-footer__grid { grid-template-columns: 1.05fr 1.6fr .8fr .8fr; gap: 44px; } }

/* Márka oszlop */
.xht-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.xht-footer__logo img { display: block; width: auto; height: 120px; max-width: 220px; object-fit: contain; }
@media (max-width: 699px) { .xht-footer__logo img { height: 96px; } }
.xht-footer__tagline { margin: 0; max-width: 34ch; color: var(--xh-muted); font-size: 14.5px; line-height: 1.55; }
.xht-footer__social { display: flex; gap: 10px; }
.xht-footer__soc {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--xh-surface-2); color: var(--xh-text);
	transition: background-color .15s ease, color .15s ease;
}
.xht-footer__soc .xht-icon { width: 20px; height: 20px; }
.xht-footer__soc:hover { background: var(--xh-accent); color: #fff; }
.xht-footer__app {
	display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px;
	border-radius: 14px; background: var(--xh-text); color: var(--xh-bg);
	transition: transform .15s ease, box-shadow .15s ease;
}
.xht-footer__app:hover { color: var(--xh-bg); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.xht-footer__app .xht-icon { width: 22px; height: 22px; color: var(--xh-accent); }
.xht-footer__app span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 15px; }
.xht-footer__app small { font-weight: 400; font-size: 11px; opacity: .75; }

/* Link oszlopok */
.xht-footer__h {
	display: flex; align-items: center; gap: 10px; margin: 6px 0 16px;
	font-size: 17px; font-weight: 700; color: var(--xh-text);
}
.xht-footer__h::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--xh-logo-grad); }
.xht-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xht-footer__links a { color: var(--xh-text-2); font-size: 15px; transition: color .15s ease; }
.xht-footer__links a:hover { color: var(--xh-accent-text); }
.xht-footer__links a::first-letter { text-transform: uppercase; }

/* „Írj nekünk” űrlap (xh-kontakt plugin) a téma színeiben */
.xht-footer__contact .xhkont { max-width: none; margin: 0; font-family: inherit; }
.xht-footer__contact .xhkont-wrap { background: transparent !important; padding: 0 !important; }
.xht-footer__contact .xhkont-head { color: var(--xh-text); font-size: 20px; font-weight: 700; }
.xht-footer__contact .xhkont-intro { color: var(--xh-muted); }
.xht-footer__contact .xhkont input:not([type="hidden"]):not(.xhkont-hp input),
.xht-footer__contact .xhkont select,
.xht-footer__contact .xhkont textarea {
	width: 100%; padding: 12px 14px !important; border: 1px solid var(--xh-border) !important; border-radius: 12px !important;
	color: var(--xh-text) !important; font: inherit !important; font-size: 15px !important;
	box-shadow: none !important; transition: border-color .15s ease;
}
.xht-footer__contact .xhkont input:focus, .xht-footer__contact .xhkont select:focus, .xht-footer__contact .xhkont textarea:focus {
	outline: none; border-color: var(--xh-accent) !important;
}
.xht-footer__contact .xhkont ::placeholder { color: var(--xh-muted); }
.xht-footer__contact .xhkont-submit {
	height: 46px; padding: 0 26px !important; border-radius: var(--xh-pill) !important;
	background: var(--xh-logo-grad) !important; color: #fff !important; font-weight: 700 !important;
	text-shadow: 0 1px 2px rgba(110, 35, 0, .4); box-shadow: 0 6px 18px rgba(255, 126, 39, .3) !important;
}

/* Alsó sáv */
.xht-footer__bottom { background: var(--xh-bg); border-top: 1px solid var(--xh-border); padding-bottom: var(--xh-bottomnav-h); }
@media (min-width: 900px) { .xht-footer__bottom { padding-bottom: 0; } }
.xht-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-top: 12px; padding-bottom: 12px; }
.xht-footer__bottom p { margin: 0; color: var(--xh-muted); font-size: 13.5px; }
.xht-footer__note { display: block; font-size: 12px; opacity: .8; margin-top: 2px; }
@media (min-width: 700px) { .xht-footer__note { display: inline; margin: 0 0 0 10px; } .xht-footer__note::before { content: "· "; } }
.xht-totop {
	flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--xh-logo-grad); color: #fff; box-shadow: 0 6px 18px rgba(255, 126, 39, .35);
	transition: box-shadow .15s ease, filter .15s ease;
}
.xht-totop:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(255, 126, 39, .5); }
.xht-logo__text { font-size: 24px; font-weight: 700; color: var(--xh-text); }
.xht-logo__text b { color: var(--xh-accent-text); }
.xht-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--xh-text); }
.xht-logo__mi { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--xh-orange); color: #fff; font-weight: 700; }
.xht-logo__text { font-size: 22px; font-weight: 700; }
.xht-logo__text b { color: var(--xh-accent-text); }

/* ---------- Lebegő alsó navigáció (mobil – mint az app) ---------- */
.xht-bottomnav {
	position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
	display: flex; align-items: center; justify-content: space-between; gap: 4px;
	height: 68px; padding: 8px; border-radius: var(--xh-pill);
	background: var(--xh-nav); border: 1px solid var(--xh-border);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.xht-bottomnav__item {
	flex: 1 1 0; min-width: 0; height: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: var(--xh-pill); background: transparent; color: var(--xh-text); cursor: pointer;
	font-size: 16px; font-weight: 600; transition: flex-grow .25s ease, background-color .2s ease;
}
.xht-bottomnav__item .xht-icon { width: 26px; height: 26px; }
.xht-bottomnav__item span { display: none; white-space: nowrap; }
.xht-bottomnav__item.is-active { flex-grow: 2.4; background: var(--xh-accent); color: #fff; }
.xht-bottomnav__item.is-active span { display: inline; }
@media (min-width: 900px) { .xht-bottomnav { display: none; } }

/* ---------- Belépés / profil a fejlécben (xh-profil plugin) ---------- */
/* A lebegő bal alsó gomb weben nem kell – a fejlécben van. Az appban (ahol nincs
   webes fejléc) marad a lebegő változat. */
html:not(.is-app) .xhlw-fixed { display: none !important; }

.xht-login { display: inline-flex; align-items: center; }
.xht-header .xhlw-in {
	display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
	border: 0; border-radius: var(--xh-pill); cursor: pointer;
	background: var(--xh-logo-grad); color: #fff; font: 700 15px/1 var(--xh-font); text-shadow: 0 1px 2px rgba(110, 35, 0, .45);
	box-shadow: 0 4px 14px rgba(255, 126, 39, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.xht-header .xhlw-in::before {
	content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-3.33 0-10 1.67-10 5v3h20v-3c0-3.33-6.67-5-10-5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-3.33 0-10 1.67-10 5v3h20v-3c0-3.33-6.67-5-10-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.xht-header .xhlw-in:hover { transform: none; box-shadow: 0 8px 20px rgba(255, 126, 39, .45); filter: brightness(1.05); }
/* Belépve: a profilkép kerek gombként, a logó narancs keretével. */
.xht-header .xhlw-ava {
	width: 46px; height: 46px; border-width: 2px; border-color: var(--xh-logo); background: var(--xh-logo);
	box-shadow: none;
}
.xht-header .xhlw-ava:hover { transform: none; box-shadow: 0 0 0 3px rgba(255, 126, 39, .35); }
.xht-header .xhlw-mono { font-size: 18px; }

/* Mobilon csak az ikon (kerek gomb), hogy elférjen a logó mellett. */
@media (max-width: 599px) {
	.xht-header__actions { gap: 6px; }
	.xht-header .xht-roundbtn { width: 40px; height: 40px; }
	.xht-header .xhlw-in { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; }
	.xht-header .xhlw-ava { width: 40px; height: 40px; }
}

/* ---------- „Olvasd az appban” sáv ---------- */
.xht-appbar {
	position: fixed; left: 12px; right: 12px; z-index: 61;
	bottom: calc(var(--xh-bottomnav-h) + 18px + env(safe-area-inset-bottom));
	display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px;
	background: var(--xh-accent); color: #fff; border-radius: var(--xh-radius-lg);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: xht-up .3s cubic-bezier(.2, .8, .2, 1);
}
.xht-appbar[hidden] { display: none; }
.xht-appbar__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .22); font-weight: 700; }
.xht-appbar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.xht-appbar__text strong { font-size: 15px; }
.xht-appbar__text span { font-size: 13px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xht-appbar .xht-btn--primary { background: #fff; color: var(--xh-accent); }
.xht-appbar .xht-iconbtn { color: #fff; }
@media (min-width: 900px) { .xht-appbar { display: none !important; } }

/* ==========================================================================
   APP MÓD – a natív XiaomiHero appból megnyitott oldalak (html.is-app).
   Az app saját navigációt ad, ezért a webes keretet elrejtjük.
   ========================================================================== */
.is-app .xht-header,
.is-app .xht-catbar,
.is-app .xht-tagbar,
.is-app .xht-drawer,
.is-app .xht-footer,
.is-app .xht-bottomnav,
.is-app .xht-appbar,
.is-app .xht-app-cta,
.is-app .xht-comments,
.is-app #wpadminbar { display: none !important; }
.is-app .xht-main { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }

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

/* ==========================================================================
   Olvashatóság – régi sablon és pluginok (kód módosítása nélkül felülírva)
   ========================================================================== */
/* Eszközök oldal (eszkozok.php): mélyebb narancs és sötétebb szürke szöveg. */
body .xh { --accent: #f26a10; --accent2: #ff8a2b; --muted: #636369; }
body .xh .xh-fav { color: #75757a; }
body .xh .xh-age-fresh { color: #d14e00; }
body .xh .xh-age-new { color: #146c2e; }
body .xh .xh-age-mid { color: #0857b0; }


/* XH Tartalom-szinkron: „Mentés az appba” (lezárt) és a belépés-felhívás */
body .xhcs-save.locked, body .xhcs-save.locked .lbl { color: var(--xh-text-2) !important; }
body .xhcs-save-hint { color: var(--xh-text-2) !important; }
body .xhcs-save-hint a, body .xhcs-needlogin { color: var(--xh-accent-text) !important; }

/* A „Ugrás a tartalomra” link sötét háttérrel mindkét módban jól olvasható. */
.xht-skip { background: #111113; color: #fff; }
/* Adatvédelmi / impresszum / jogi / cookie oldalak (közös „xhpriv” stílus): a téma
   színeit követik, így sötét és világos módban is olvashatók. */
.xhpriv { color: var(--xh-text-2) !important; font-family: inherit !important; }
.xhpriv-hero { background: var(--xh-surface) !important; border-color: var(--xh-border) !important; }
.xhpriv-title, .xhpriv-h, .xhpriv-body h3, .xhpriv-body strong, .xhpriv-body b { color: var(--xh-text) !important; }
.xhpriv-body, .xhpriv-body p, .xhpriv-body li, .xhpriv-body em, .xhpriv-toc a { color: var(--xh-text-2) !important; }
.xhpriv-upd { color: var(--xh-muted) !important; }
.xhpriv-toc { background: var(--xh-surface) !important; border-color: var(--xh-border) !important; }
.xhpriv-h { border-bottom-color: var(--xh-border) !important; }
.xhpriv-num, .xhpriv-toc-h, .xhpriv-body a { color: var(--xh-accent-text) !important; }

/* Fehér szöveg az élénk narancs felületeken: finom sötétnarancs árnyék (mint a
   kategóriasávon). Vastagabb betű csak a tartós állapotokon – hoverre SOHA, mert
   a szélesebb betű elmozdítaná a szomszédos elemeket. */
.xht-pill--accent,
.xht-bottomnav__item.is-active,
.xht-chip.is-active,
.xht-btn--primary,
.xht-app-cta,
.xht-appbar,
body .xh .xh-pill.on {
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(110, 35, 0, .4);
}
.xht-nav--drawer a:hover,
.xht-nav--drawer .current-menu-item > a,
.xht-tagbar__link:hover,
.xht-tagbar__link.is-active,
.xht-footer__soc:hover {
	text-shadow: 0 1px 2px rgba(110, 35, 0, .4);
}
.xht-app-cta .xht-btn, .xht-appbar .xht-btn--primary { text-shadow: none; }

/* ---------- Kategória-oldal: nagy első cikk + 2 oszlopos rács ---------- */
.xht-feature__excerpt {
	margin: 0; max-width: 62ch; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
@media (max-width: 599px) { .xht-feature__excerpt { -webkit-line-clamp: 3; font-size: 15px; } }
.xht-feature-single .xht-feature__inner { aspect-ratio: 4 / 5; }
@media (min-width: 600px) { .xht-feature-single .xht-feature__inner { aspect-ratio: 16 / 9; } }
@media (min-width: 1000px) { .xht-feature-single .xht-feature__inner { aspect-ratio: 21 / 9; } }

.xht-wlist--grid { grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .xht-wlist--grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.xht-wlist--grid .xht-wide { flex-direction: column; }
.xht-wlist--grid .xht-wide__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
.xht-wlist--grid .xht-wide__body { padding: 16px 18px 18px; }
.xht-wlist--grid .xht-wide__title { font-size: 20px; -webkit-line-clamp: 2; }
.xht-wlist--grid .xht-wide__excerpt { -webkit-line-clamp: 2; }
/* Ha páratlan számú kártya marad, az utolsó a teljes szélességet kapja (vízszintes elrendezés). */
@media (min-width: 700px) {
	.xht-wlist--grid .xht-wide:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
	.xht-wlist--grid .xht-wide:last-child:nth-child(odd) .xht-wide__media { flex: 0 0 46%; aspect-ratio: 16 / 9; }
}

/* ---------- Címlap kategória-blokkok: 2 oszlop, nagy első cikk + 3 kisebb ---------- */
.xht-catblocks { display: grid; grid-template-columns: 1fr; gap: 0 24px; }
@media (min-width: 900px) { .xht-catblocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xht-catblock { display: flex; flex-direction: column; min-width: 0; }
.xht-catblock .xht-feature__inner { aspect-ratio: 16 / 10; }
.xht-catblock .xht-feature__top { top: 14px; left: 14px; right: 14px; }
.xht-catblock .xht-feature__bottom { padding: 18px 20px; max-width: none; gap: 8px; }
.xht-catblock .xht-feature__title { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.25; }
.xht-catblock__list { display: grid; gap: 10px; margin-top: 12px; }
.xht-catblock .xht-row { padding: 10px; gap: 14px; border-radius: var(--xh-radius); }
.xht-catblock .xht-row__media { width: 88px; height: 88px; border-radius: 16px; }
.xht-catblock .xht-row__title { font-size: 16px; }
.xht-catblock .xht-row__foot { display: none; }

/* ---------- Címlap „Friss hírek”: képes magazin-rács ---------- */
.xht-mgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .xht-mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .xht-mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.xht-mgrid .xht-card { border-radius: var(--xh-radius); transition: background-color .15s ease; }
.xht-mgrid .xht-card:hover { background: var(--xh-surface-2); }
.xht-mgrid .xht-card__media { aspect-ratio: 16 / 10; }
.xht-mgrid .xht-card__media img { transition: transform .4s ease; }
.xht-mgrid .xht-card:hover .xht-card__media img { transform: scale(1.04); }
.xht-mgrid .xht-card__body { gap: 6px; padding: 12px 14px 16px; }
.xht-mgrid .xht-row__meta { font-size: 12.5px; gap: 5px; }
.xht-mgrid .xht-card__title { font-size: 16px; font-weight: 600; line-height: 1.35; -webkit-line-clamp: 2; }
.xht-mgrid .xht-card:hover .xht-card__title a { color: var(--xh-accent-text); }
@media (max-width: 767px) {
	.xht-mgrid .xht-card__body { padding: 10px 11px 13px; }
	.xht-mgrid .xht-card__title { font-size: 14.5px; -webkit-line-clamp: 3; }
	.xht-mgrid .xht-row__meta { font-size: 11.5px; }
}

/* ---------- Szekció-lapozó nyilak (pl. Pletykák) ---------- */
.xht-section__tools { display: flex; align-items: center; gap: 14px; }
.xht-pager { display: flex; gap: 8px; }
.xht-pager__btn {
	display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: var(--xh-surface); color: var(--xh-text); cursor: pointer;
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.xht-pager__btn .xht-icon { width: 20px; height: 20px; }
.xht-pager__btn[data-dir="1"] .xht-icon { transform: rotate(180deg); }
.xht-pager__btn:hover:not(:disabled) { background: var(--xh-accent); color: #fff; }
.xht-pager__btn:disabled { opacity: .35; cursor: default; }
.xht-hscroll { scroll-behavior: smooth; scroll-padding-inline: var(--xh-gutter); }
@media (max-width: 599px) { .xht-pager { display: none; } }
/* Űrlap: a plugin fehér dobozát és háromoszlopos sorát a lábléchez igazítjuk. */
.xht-footer__contact .xhkont { background: transparent !important; padding: 0 !important; color: var(--xh-text-2) !important; }
.xht-footer__contact .xhkont-head { color: var(--xh-text) !important; }
.xht-footer__contact .xhkont-top { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
.xht-footer__contact .xhkont-top select { grid-column: 1 / -1; }
.xht-footer__contact .xhkont-bottom { align-items: stretch !important; gap: 10px !important; }
.xht-footer__contact .xhkont-form textarea { min-height: 46px; resize: vertical; }
.xht-footer__contact .xhkont input:not(.xhkont-hp),
.xht-footer__contact .xhkont select,
.xht-footer__contact .xhkont textarea { background-color: var(--xh-bg) !important; }
@media (max-width: 480px) { .xht-footer__contact .xhkont-top { grid-template-columns: 1fr !important; } .xht-footer__contact .xhkont-bottom { flex-direction: column; } }

/* Lebegő „vissza a tetejére” gomb: görgetés után jelenik meg a jobb alsó sarokban. */
.xht-totop {
	position: fixed; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 58;
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, box-shadow .15s ease, filter .15s ease;
}
.xht-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.xht-totop .xht-icon { width: 22px; height: 22px; }
@media (max-width: 899px) { .xht-totop { right: 14px; bottom: calc(var(--xh-bottomnav-h) + 20px + env(safe-area-inset-bottom)); width: 44px; height: 44px; } }
.is-app .xht-totop { bottom: calc(20px + env(safe-area-inset-bottom)); }
.xht-footer__bottom-inner { justify-content: center; text-align: center; }
@media (max-width: 899px) { body:has(.xht-appbar:not([hidden])) .xht-totop { bottom: calc(var(--xh-bottomnav-h) + 110px + env(safe-area-inset-bottom)); } }

/* ==========================================================================
   MOBIL FINOMHANGOLÁS (320–768 px) – a mobil-auditban talált hibák javításai
   ========================================================================== */

/* --- Koppintási felületek: legalább ~40 px magas találati terület, a kinézet változása nélkül --- */
.xht-section__more { min-height: 40px; padding: 0 2px; }
.xht-wide__cat, .xht-row__cat { padding: 9px 0; margin: -9px 0; }
.xht-authorbox__name { padding: 4px 0; }
.xht-authorbox__more { min-height: 40px; }
body .xhcs-needlogin { display: inline-block; padding: 10px 2px; margin: -10px 0; }
.xht-footer__links a { display: inline-block; padding: 4px 0; }
.xht-footer__app small { font-size: 12px; }
@media (max-width: 899px) {
	.xht-pill { min-height: 32px; }
	.xht-tagbar__link { padding-top: 8px; padding-bottom: 8px; }
	.xht-catbar__link { padding-top: 8px; padding-bottom: 8px; }
}

/* --- „Friss hírek” rács keskeny képernyőn: kategória és dátum külön sorban, egyforma kártyák --- */
@media (max-width: 479px) {
	.xht-mgrid .xht-row__meta { flex-direction: column; align-items: flex-start; gap: 1px; }
	.xht-mgrid .xht-row__meta > span[aria-hidden="true"] { display: none; }
	.xht-mgrid .xht-card__body { gap: 6px; }
}

/* --- Nagyon keskeny telefonok (≤ 360 px) --- */
@media (max-width: 360px) {
	:root { --xh-gutter: 12px; }
	.xht-header__bar { gap: 6px; }
	.xht-header .xht-roundbtn, .xht-header .xhlw-in, .xht-header .xhlw-ava { width: 38px; height: 38px; }
	.xht-brand__logo { height: 48px; }
	.xht-datepill { padding: 5px 10px; }
	.xht-section__title { font-size: 22px; }
	.xht-feature__title { font-size: 22px; }
	.xht-article__title { font-size: 26px; }
	.xht-bottomnav { left: 8px; right: 8px; padding: 6px; height: 62px; }
	.xht-bottomnav__item { font-size: 14px; gap: 6px; }
	.xht-bottomnav__item .xht-icon { width: 23px; height: 23px; }
	.xht-pagination .page-numbers { min-width: 32px; padding: 0 4px; }
	.xht-loadmore { width: 100%; }
}

/* --- Cikk mobilon --- */
@media (max-width: 699px) {
	.xht-article__facts > span { padding: 6px 12px; font-size: 13px; }
	.xht-article__sharebar { flex-direction: column; align-items: flex-start; }
	.xht-authorbox { flex-direction: column; gap: 12px; padding: 18px; }
	.xht-postnav__item--next { flex-direction: row; text-align: left; }
	.xht-summary { padding: 18px 18px 6px; }
	.xht-faq summary { padding: 14px 14px; font-size: 16px; }
	.xht-faq__a { padding: 0 14px 14px; }
	.entry-content { font-size: 17px; }
	.entry-content h2 { font-size: 23px; }
	.entry-content h3 { font-size: 19px; }
	/* Széles beágyazások (videó, tweet, táblázat) ne lógjanak ki. */
	.entry-content iframe, .entry-content embed, .entry-content video, .entry-content object,
	.entry-content .twitter-tweet, .entry-content blockquote.twitter-tweet, .entry-content .wp-block-embed { max-width: 100% !important; }
	.entry-content table { font-size: 14px; }
	.entry-content pre, .entry-content code { white-space: pre-wrap; word-break: break-word; }
	.entry-content a { overflow-wrap: anywhere; }
}

/* --- Tablet (700–999 px): kétoszlopos rácsok, kényelmesebb térközök --- */
@media (min-width: 700px) and (max-width: 999px) {
	:root { --xh-gutter: 24px; }
	.xht-article__main { max-width: 680px; }
	.xht-hscroll > * { flex-basis: 46%; }
}

/* --- Eszközök oldal (régi sablon) mobilon --- */
@media (max-width: 599px) {
	.xh .xh-bar { padding-left: 16px; padding-right: 16px; }
	.xh .xh-bar-top { flex-wrap: wrap; }
	.xh .xh-tabs { flex: 1 1 auto; }
	.xh .xh-aihelp-btn { flex: 1 1 100%; justify-content: center; }
	.xh .xh-subcats-row button, .xh .xh-pill { min-height: 40px; }
	.xh .xh-sidebar-close { width: 40px; height: 40px; }
	.xh .xh-catbox-lb { font-size: 12px; }
}
@media (max-width: 599px) {
	.xh .xh-tab { min-height: 40px; }
	.xh .xh-fav, .xh .xh-cmp-add { width: 38px; height: 38px; }
	.xh .xh-fsec { font-size: 12px; }
	.xh .xh-filter-label { font-size: 12.5px; }
}
@media (max-width: 899px) {
	.xh .xh-subcats-row button, .xh .xh-pill, .xh .xh-tab { min-height: 40px; }
	.xh .xh-sidebar-close { width: 40px; height: 40px; }
}
@media (max-width: 599px) {
	.xh .xh-card-chip { font-size: 12px; }
	.xh .xh-card-score, .xh .xh-age { font-size: 12px; }
	.xh .xh-trend { font-size: 11.5px; }
}

/* Alsó navigáció tableten: középre, nem teljes szélességben. */
@media (min-width: 600px) and (max-width: 899px) {
	.xht-bottomnav { left: 50%; right: auto; width: min(560px, calc(100% - 32px)); transform: translateX(-50%); }
}

/* ---------- Kiemelt sor: karusszel (3/4) + Népszerű hírek (1/4) ---------- */
.xht-featrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.xht-featrow .xht-carousel { min-width: 0; }
@media (min-width: 1000px) {
	.xht-featrow { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); align-items: stretch; }
	.xht-section--featured .xht-feature__inner { aspect-ratio: 16 / 9 !important; }
	.xht-section--featured .xht-feature__title { font-size: clamp(26px, 2.4vw, 36px); }
}
.xht-popular {
	display: flex; flex-direction: column; min-width: 0; padding: 18px 16px 10px;
	border-radius: var(--xh-radius-lg); background: var(--xh-surface);
}
.xht-popular__h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.xht-popular__h .xht-icon { width: 20px; height: 20px; color: var(--xh-accent); }
.xht-popular__list { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.xht-popular__item { counter-increment: pop; border-top: 1px solid var(--xh-border); }
.xht-popular__item:first-child { border-top: 0; }
.xht-popular__item a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--xh-text); }
.xht-popular__item a::before {
	content: counter(pop); flex: none; width: 26px; text-align: center;
	font-size: 26px; font-weight: 700; line-height: 1; color: var(--xh-accent);
}
.xht-popular__thumb { flex: none; width: 60px; height: 60px; border-radius: 14px; overflow: hidden; background: var(--xh-surface-2); }
.xht-popular__thumb img { width: 100%; height: 100%; object-fit: cover; }
.xht-popular__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.xht-popular__text small { color: var(--xh-accent-text); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.xht-popular__text strong { font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xht-popular__item a:hover strong { color: var(--xh-accent-text); }
@media (min-width: 1000px) and (max-width: 1279px) { .xht-popular__thumb { display: none; } }
@media (max-width: 999px) {
	.xht-popular { margin: 0 var(--xh-gutter); }
}
@media (max-width: 699px) {
	.xht-popular { margin: 0 8px; }
}

/* Népszerű hírek – 1. hír nagy képes kártya, 2–5. számozott szöveges lista */
.xht-popular { padding: 16px; gap: 4px; }
.xht-popular__lead { position: relative; display: block; overflow: hidden; border-radius: var(--xh-radius); aspect-ratio: 16 / 10; background: var(--xh-surface-2); color: #fff; flex: none; }
.xht-popular__lead-img, .xht-popular__lead-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.xht-popular__lead:hover .xht-popular__lead-img img { transform: scale(1.04); }
.xht-popular__lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.88) 100%); }
.xht-popular__lead-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; gap: 10px; padding: 14px; }
.xht-popular__lead-body strong { font-size: 16px; font-weight: 700; line-height: 1.3; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xht-popular__lead:hover strong { color: #fff; }
.xht-popular__num {
	flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
	background: var(--xh-logo-grad); color: #fff; font-size: 18px; font-weight: 700; text-shadow: 0 1px 2px rgba(110,35,0,.4);
}
.xht-popular__list { counter-reset: pop 1; margin-top: 4px; }
.xht-popular__item a { padding: 11px 0; align-items: flex-start; }
.xht-popular__item a::before { width: 30px; font-size: 22px; padding-top: 2px; }
.xht-popular__thumb { display: none; }
.xht-popular__text strong { -webkit-line-clamp: 2; }

/* ---------- „Továbbiak betöltése” töltés-animáció ---------- */
.xht-loadmore { position: relative; overflow: hidden; }
.xht-loadmore.is-loading::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
	animation: xht-sheen 1.1s ease-in-out infinite;
}
@keyframes xht-sheen { to { left: 110%; } }
.xht-dots { display: inline-flex; align-items: flex-end; gap: 4px; height: 14px; margin-left: 2px; }
.xht-dots i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: xht-bounce 1s ease-in-out infinite; }
.xht-dots i:nth-child(2) { animation-delay: .15s; }
.xht-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes xht-bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-7px); opacity: 1; } }

/* Helykitöltő kártyák a betöltés idejére */
.xht-skel {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
	padding-bottom: 16px; border-radius: var(--xh-radius); background: var(--xh-surface);
}
.xht-wlist .xht-skel { border-radius: var(--xh-radius-lg); }
.xht-skel__img { display: block; aspect-ratio: 16 / 10; background: var(--xh-surface-2); }
.xht-skel__line { display: block; height: 12px; margin: 0 14px; border-radius: 6px; background: var(--xh-surface-2); }
.xht-skel__img + .xht-skel__line { margin-top: 4px; width: 40%; }
.xht-skel__line--short { width: 75%; height: 14px; }
.xht-skel::after {
	content: ""; position: absolute; inset: 0; transform: translateX(-100%);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
	animation: xht-shimmer 1.2s ease-in-out infinite;
}
:root[data-theme="light"] .xht-skel::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); }
@keyframes xht-shimmer { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .xht-skel::after, .xht-loadmore.is-loading::after { display: none; } }

/* ---------- Logó hover: emelkedés + döntés + narancs fény + ruganyos „köszönés” ---------- */
.xht-brand { position: relative; -webkit-tap-highlight-color: transparent; }
.xht-brand__logo {
	transform-origin: 50% 85%;
	transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), filter .35s ease;
	will-change: transform;
}
.xht-brand::before {
	content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%;
	transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
	background: radial-gradient(circle, rgba(255, 150, 33, .45) 0%, rgba(255, 123, 40, 0) 70%);
	transition: opacity .35s ease, transform .45s ease;
}
.xht-brand:hover .xht-brand__logo,
.xht-brand:focus-visible .xht-brand__logo {
	transform: translateY(-3px) scale(1.08) rotate(-5deg);
	filter: drop-shadow(0 6px 14px rgba(255, 123, 40, .55)) drop-shadow(0 0 2px rgba(255, 150, 33, .8));
	animation: xht-logo-wave .9s cubic-bezier(.36, .07, .19, .97) .1s 1 both;
}
.xht-brand:hover::before, .xht-brand:focus-visible::before { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
.xht-brand:active .xht-brand__logo { transform: scale(.95); transition-duration: .12s; }
@keyframes xht-logo-wave {
	0%   { transform: translateY(-3px) scale(1.08) rotate(-5deg); }
	30%  { transform: translateY(-4px) scale(1.08) rotate(6deg); }
	55%  { transform: translateY(-3px) scale(1.08) rotate(-3deg); }
	80%  { transform: translateY(-3px) scale(1.08) rotate(2deg); }
	100% { transform: translateY(-3px) scale(1.08) rotate(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
	.xht-brand:hover .xht-brand__logo, .xht-brand:focus-visible .xht-brand__logo { transform: none; animation: none; }
}
/* A fény a logó MÖGÖTT legyen, és ne mossa el a rajzolatot. */
.xht-brand__logo { position: relative; z-index: 1; }
.xht-brand::before { z-index: 0; background: radial-gradient(circle, rgba(255, 150, 33, .28) 0%, rgba(255, 123, 40, 0) 68%); }
.xht-brand:hover .xht-brand__logo,
.xht-brand:focus-visible .xht-brand__logo { filter: drop-shadow(0 8px 16px rgba(255, 123, 40, .45)); }

/* ==========================================================================
   Logó hover v2 – folyamatos: egérkövető 3D döntés (JS simítja), lebegés,
   mögötte lassan forgó narancs fénygyűrű. Felülírja az előző (pattogó) változatot.
   ========================================================================== */
.xht-brand { --rx: 0deg; --ry: 0deg; --s: 1; --ty: 0px; perspective: 600px; }
.xht-brand .xht-brand__logo,
.xht-brand:hover .xht-brand__logo,
.xht-brand:focus-visible .xht-brand__logo,
.xht-brand:active .xht-brand__logo {
	animation: none;
	transform: translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s));
	transition: filter .6s ease;
	transform-style: preserve-3d;
}
.xht-brand.is-hover .xht-brand__logo { filter: drop-shadow(0 10px 18px rgba(255, 123, 40, .4)); }

/* Forgó fénygyűrű */
.xht-brand::before {
	width: 86%; transform: translate(-50%, -50%) scale(.7); opacity: 0;
	background: conic-gradient(from 0deg, rgba(255, 150, 33, 0), rgba(255, 150, 33, .55), rgba(255, 90, 20, 0) 45%, rgba(255, 180, 80, .45) 70%, rgba(255, 150, 33, 0));
	filter: blur(14px);
	-webkit-mask: radial-gradient(circle, transparent 38%, #000 40%, #000 64%, transparent 70%);
	mask: radial-gradient(circle, transparent 38%, #000 40%, #000 64%, transparent 70%);
	transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
	animation: xht-ring-spin 6s linear infinite paused;
}
.xht-brand:hover::before, .xht-brand:focus-visible::before, .xht-brand.is-hover::before {
	opacity: 1; transform: translate(-50%, -50%) scale(1.15); animation-play-state: running;
}
@keyframes xht-ring-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
	.xht-brand::before { animation: none; }
}
/* Gyűrű középre igazítása eltolás nélkül, hogy a saját közepe körül forogjon (ne keringjen). */
.xht-brand::before { inset: 0; left: 0; top: 0; margin: auto; width: 86%; height: auto; transform: scale(.7); }
.xht-brand:hover::before, .xht-brand:focus-visible::before, .xht-brand.is-hover::before { transform: scale(1.15); }
.xht-brand::before { width: 140%; margin: auto -20%; left: 0; right: 0; filter: blur(10px); }

/* ==========================================================================
   Logó v3: kisebb méret, háttérfény és árnyék NÉLKÜL, ingamozgás (JS: --rz, --s, --ty)
   ========================================================================== */
.xht-brand__logo { height: 52px !important; }
@media (min-width: 900px) { .xht-brand__logo { height: 60px !important; } }
@media (max-width: 360px) { .xht-brand__logo { height: 44px !important; } }
.xht-brand::before { display: none !important; content: none !important; }
.xht-brand { --rz: 0deg; --s: 1; --ty: 0px; perspective: none; }
.xht-brand .xht-brand__logo,
.xht-brand:hover .xht-brand__logo,
.xht-brand:focus-visible .xht-brand__logo,
.xht-brand.is-hover .xht-brand__logo,
.xht-brand:active .xht-brand__logo {
	transform-origin: 50% 92%; /* az áll körül billeg */
	transform: translateY(var(--ty)) rotate(var(--rz)) scale(var(--s));
	filter: none !important;
	animation: none !important;
	transition: none;
}

/* ==========================================================================
   Címlap „Készülékek”: Népszerű készülékek ([xh_nepszeru]) + Top készülékek
   ([xh_top_keszulekek]) – a pluginok kimenete a téma sötét/világos stílusában.
   ========================================================================== */
.xht-devices__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 900px) { .xht-devices__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; } }
.xht-devices__col {
	min-width: 0; padding: 18px 18px 14px; border-radius: var(--xh-radius-lg); background: var(--xh-surface);
}

/* --- Népszerű készülékek --- */
.xht-devices .xhpop { max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; font-family: var(--xh-font) !important; color: var(--xh-text) !important; }
.xht-devices .xhpop-head { margin-bottom: 12px !important; }
.xht-devices .xhpop-title { font-size: 19px !important; font-weight: 700 !important; color: var(--xh-text) !important; letter-spacing: -.01em; }
.xht-devices .xhpop-tabs { background: var(--xh-surface-2) !important; padding: 3px !important; border-radius: var(--xh-pill) !important; }
.xht-devices .xhpop-tab { min-height: 32px; padding: 0 12px !important; border-radius: var(--xh-pill) !important; font-size: 12.5px !important; font-weight: 600 !important; color: var(--xh-text-2) !important; font-family: var(--xh-font) !important; }
.xht-devices .xhpop-tab.on, .xht-devices .xhpop-tab.is-active, .xht-devices .xhpop-tab[aria-selected="true"] { background: var(--xh-accent) !important; color: #fff !important; }
.xht-devices .xhpop-spin-note { color: var(--xh-muted) !important; font-size: 12.5px !important; }
.xht-devices .xhpop-scard { width: 104px !important; padding: 10px 8px !important; border-radius: var(--xh-radius) !important; background: var(--xh-surface-2) !important; border: 0 !important; box-shadow: none !important; }
.xht-devices .xhpop-sthumb { width: 70px !important; height: 70px !important; border-radius: 14px !important; background: #fff !important; }
.xht-devices .xhpop-sname { font-size: 12px !important; font-weight: 600 !important; color: var(--xh-text) !important; }
.xht-devices .xhpop-list { gap: 4px !important; margin-top: 12px; }
.xht-devices .xhpop-row { padding: 8px 10px !important; border-radius: 14px !important; background: transparent !important; }
.xht-devices .xhpop-row:hover { background: var(--xh-surface-2) !important; }
.xht-devices .xhpop-rank { width: 22px !important; font-size: 16px !important; font-weight: 700 !important; color: var(--xh-accent) !important; }
.xht-devices .xhpop-thumb { width: 44px !important; height: 44px !important; border-radius: 12px !important; background: #fff !important; }
.xht-devices .xhpop-thumb img { width: 38px !important; height: 38px !important; }
.xht-devices .xhpop-name { font-size: 14.5px !important; font-weight: 600 !important; color: var(--xh-text) !important; }
.xht-devices .xhpop-count { font-size: 12px !important; color: var(--xh-muted) !important; }
.xht-devices .xhpop-empty { color: var(--xh-muted) !important; }

/* --- Top készülékek --- */
.xht-devices .xhtk { margin: 0 !important; font-family: var(--xh-font) !important; color: var(--xh-text) !important; }
.xht-devices .xhtk-title { margin: 0 0 12px !important; font-size: 19px !important; font-weight: 700 !important; color: var(--xh-text) !important; letter-spacing: -.01em; }
.xht-devices .xhtk-list { gap: 6px !important; }
.xht-devices .xhtk-row {
	padding: 10px 12px !important; border: 0 !important; border-radius: 16px !important;
	background: var(--xh-surface-2) !important; color: var(--xh-text) !important; box-shadow: none !important;
	transition: background-color .15s ease !important; transform: none !important;
}
.xht-devices .xhtk-row:hover { background: color-mix(in srgb, var(--xh-surface-2) 70%, var(--xh-accent)) !important; }
.xht-devices .xhtk-rank { color: var(--xh-muted) !important; font-weight: 700 !important; }
.xht-devices .xhtk-thumb { background: #fff !important; border-radius: 12px !important; }
.xht-devices .xhtk-name { font-size: 15px !important; font-weight: 700 !important; color: var(--xh-text) !important; }
.xht-devices .xhtk-meta { color: var(--xh-muted) !important; font-weight: 400 !important; }
.xht-devices .xhtk-stars .bg { color: var(--xh-surface) !important; }
.xht-devices .xhtk-avg { color: var(--xh-accent-text) !important; font-weight: 700 !important; }
.xht-devices .xhtk-label { color: var(--xh-muted) !important; }
.xht-devices .xhtk-arrow { color: var(--xh-muted) !important; }
.xht-devices .xhtk-empty { margin: 0 !important; background: var(--xh-surface-2) !important; color: var(--xh-muted) !important; }

/* ==========================================================================
   Címlap: hírek balra, készülék-oldalsáv jobbra (asztalon). Mobilon a
   „Készülékek” blokk a hírek között marad (a Pletykák után).
   ========================================================================== */
.xht-front__layout { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
@media (min-width: 1100px) {
	.xht-front__layout { grid-template-columns: minmax(0, 1fr) 340px; }
	.xht-front__layout > * { grid-column: 1; }
	.xht-front__layout > .xht-front__aside { grid-column: 2; grid-row: 1 / span 3; }
	.xht-front__aside .xht-devices__grid { grid-template-columns: minmax(0, 1fr) !important; }
	.xht-front__aside .xht-section__head { margin-bottom: 12px; }
	.xht-front__aside .xht-section__title { font-size: 22px; }
	.xht-front__aside .xht-section__title .xht-icon { width: 24px; height: 24px; }
	/* keskenyebb hírfolyam: 3 oszlopos „Friss hírek”, 1 oszlopos kategória-blokkok helyett 2 marad */
	.xht-front__layout .xht-mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* kompaktabb widgetek az oldalsávban */
	.xht-front__aside .xht-devices__col { padding: 16px 14px 12px; }
	.xht-front__aside .xhpop-title, .xht-front__aside .xhtk-title { font-size: 17px !important; }
	.xht-front__aside .xhpop-row { padding: 6px 8px !important; }
	.xht-front__aside .xhpop-thumb { width: 38px !important; height: 38px !important; }
	.xht-front__aside .xhpop-name { font-size: 13.5px !important; }
	.xht-front__aside .xhtk-row { padding: 8px 10px !important; gap: 10px !important; }
	.xht-front__aside .xhtk-thumb { flex-basis: 42px !important; height: 42px !important; }
	.xht-front__aside .xhtk-thumb img { width: 38px !important; height: 38px !important; }
	.xht-front__aside .xhtk-name { font-size: 14px !important; }
	.xht-front__aside .xhtk-label { display: none !important; }
	.xht-front__aside .xhtk-rank { flex-basis: 24px !important; font-size: 14px !important; }
}
/* Az oldalsáv csak a Friss hírek + Pletykák mellett áll; alatta a kategória-blokkok teljes szélességűek. */
@media (min-width: 1100px) {
	.xht-front__layout > .xht-front__aside { grid-row: 1 / span 2; align-self: start; }
	.xht-front__layout > .xht-catblocks { grid-column: 1 / -1; }
}
/* Az oldalsáv csak a Friss hírek mellett áll; a HyperOS, Pletykák és kategória-blokkok teljes szélességűek. */
@media (min-width: 1100px) {
	.xht-front__layout > .xht-front__aside { grid-row: 1; }
	.xht-front__layout > .xht-hyperos,
	.xht-front__layout > section.xht-section:not(.xht-front__aside):not(:first-child),
	.xht-front__layout > .xht-catblocks { grid-column: 1 / -1; }
}
.xht-hyperos__box { min-width: 0; }
.xht-hyperos__box > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ==========================================================================
   HyperOS frissítési hullámok ([hyperos_updates]) – asztali újratervezés
   ========================================================================== */
.xht-hyperos .hos-wrap {
	max-width: none !important; margin: 0 !important; border-radius: var(--xh-radius-lg) !important;
	font-family: var(--xh-font) !important; box-shadow: none !important; line-height: 1.4;
	border: 1px solid rgba(255, 255, 255, .06);
}
.xht-hyperos .hos-title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.xht-hyperos .hos-subtitle { font-size: 14px; color: rgba(255, 255, 255, .6); margin: 2px 0 18px; }
.xht-hyperos .hos-badge { font-size: 11px; padding: 5px 10px; border-radius: var(--xh-pill); top: 16px; left: 16px; letter-spacing: .5px; }
.xht-hyperos .hos-wave { border-radius: var(--xh-radius) !important; background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .07); padding: 16px 18px; }
.xht-hyperos .hos-wave-head { margin-bottom: 12px; gap: 8px; }
.xht-hyperos .hos-dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.xht-hyperos .hos-date { font-size: 15px; font-weight: 700; }
.xht-hyperos .hos-label { font-size: 14px; color: rgba(255, 255, 255, .65); }
.xht-hyperos .hos-live { font-size: 11px; padding: 3px 9px; border-radius: var(--xh-pill); }
.xht-hyperos .hos-grp { flex-direction: column; gap: 8px; padding: 12px 0; }
.xht-hyperos .hos-grp + .hos-grp { border-top: 1px solid rgba(255, 255, 255, .08); }
.xht-hyperos .hos-cat { flex: none; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.xht-hyperos .hos-models { flex-direction: row; flex-wrap: wrap; gap: 6px; }
.xht-hyperos .hos-model {
	display: inline-block; padding: 6px 11px; border-radius: var(--xh-pill);
	background: rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; color: #fff;
}

@media (min-width: 900px) {
	.xht-hyperos .hos-wrap { flex-direction: row !important; min-height: 340px; }
	.xht-hyperos .hos-header { flex: 0 0 300px !important; max-width: 300px !important; width: auto !important; height: auto !important; }
	.xht-hyperos .hos-header-fade { background: linear-gradient(90deg, transparent 0%, transparent 55%, var(--hos-bg, #08102A) 100%) !important; }
	.xht-hyperos .hos-num, .xht-hyperos .hos-num-glow { font-size: 150px !important; }
	.xht-hyperos .hos-body { padding: 26px 28px 28px; }
	.xht-hyperos .hos-waves {
		max-height: none !important; overflow: visible !important; padding: 0 !important;
		display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px !important; align-items: start;
	}
}
@media (max-width: 899px) {
	.xht-hyperos .hos-wrap { max-width: none !important; }
	.xht-hyperos .hos-waves { max-height: none !important; overflow: visible !important; }
	.xht-hyperos .hos-title { font-size: 20px; }
}
@media (min-width: 900px) {
	.xht-hyperos .hos-waves { grid-template-columns: minmax(0, 1fr) !important; }
	.xht-hyperos .hos-wave {
		display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 22px; row-gap: 4px;
	}
	.xht-hyperos .hos-wave-head { grid-column: 1 / -1; }
	.xht-hyperos .hos-grp { padding: 4px 0 10px !important; }
	.xht-hyperos .hos-grp + .hos-grp { border-top: 0; }
	.xht-hyperos .hos-header { flex-basis: 260px !important; max-width: 260px !important; }
}
@media (min-width: 900px) {
	/* kategóriák egymás mellett oszlopokban (4 csoport → 4 oszlop), a chipek kisebbek */
	.xht-hyperos .hos-wave { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); column-gap: 18px; align-items: start; }
	.xht-hyperos .hos-model { padding: 5px 10px; font-size: 12.5px; }
	.xht-hyperos .hos-models { gap: 5px; }
}
/* A widget mindig sötét hátterű, ezért a címe téma-módtól függetlenül fehér. */
.xht-hyperos .hos-title, .xht-front__layout .xht-hyperos .hos-title { color: #fff !important; }

/* ==========================================================================
   Címlap: bal oszlop (követős doboz) + jobb oszlop (készülékek + TikTok-feed)
   ========================================================================== */
.xht-front__left { display: none; }
.xht-follow { padding: 16px; border-radius: var(--xh-radius-lg); background: var(--xh-surface); display: grid; gap: 10px; }
.xht-follow__h { margin: 0 0 2px; font-size: 17px; font-weight: 700; color: var(--xh-text); }
.xht-follow__item {
	display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--xh-radius);
	color: #fff; transition: filter .15s ease;
}
.xht-follow__item:hover { color: #fff; filter: brightness(1.08); }
.xht-follow__item--facebook { background: #1877f2; }
.xht-follow__item--tiktok { background: #111; border: 1px solid rgba(255, 255, 255, .12); }
.xht-follow__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.xht-follow__icon .xht-icon { width: 22px; height: 22px; }
.xht-follow__item--tiktok .xht-icon { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.xht-follow__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.xht-follow__text strong { font-size: 15px; font-weight: 700; }
.xht-follow__text small { font-size: 12.5px; opacity: .85; }
.xht-follow__cta { flex: none; padding: 6px 12px; border-radius: var(--xh-pill); background: #fff; color: #111; font-size: 12.5px; font-weight: 700; }
.xht-follow__item--facebook .xht-follow__cta { color: #1877f2; }
.xht-follow--inaside { margin-bottom: 18px; }

/* TikTok-feed (WP Social Ninja) az oldalsávban */
.xht-social-feed { margin-top: 18px; }
.xht-social-feed__h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; font-weight: 700; color: var(--xh-text); }
.xht-social-feed__h .xht-icon { width: 20px; height: 20px; }
.xht-social-feed .wpsr-container, .xht-social-feed [class*="wpsr-"] { max-width: 100% !important; }
.xht-social-feed .wpsr-tiktok-feed-wrapper, .xht-social-feed .wpsr-row { margin: 0 !important; }
.xht-social-feed img { border-radius: 12px; }

@media (min-width: 1280px) {
	.xht-front__layout { grid-template-columns: 230px minmax(0, 1fr) 320px !important; }
	.xht-front__layout > * { grid-column: 2; }
	.xht-front__layout > .xht-front__left { display: block; grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: 70px; }
	.xht-front__layout > .xht-front__aside { grid-column: 3; grid-row: 1; }
	.xht-front__layout > .xht-hyperos,
	.xht-front__layout > section.xht-section:not(.xht-front__aside):not(:nth-child(2)),
	.xht-front__layout > .xht-catblocks { grid-column: 1 / -1; }
	.xht-follow--inaside { display: none; }
	.xht-front__left .xht-follow__cta { display: none; }
}
/* A Friss hírek mindig a középső (bal) oszlopban, az oldalsáv mellett. */
@media (min-width: 1100px) { .xht-front__layout > .xht-friss.xht-section { grid-column: 1; grid-row: 1; } }
@media (min-width: 1280px) { .xht-front__layout > .xht-friss.xht-section { grid-column: 2; grid-row: 1; } }
@media (min-width: 1100px) { .xht-front__layout > section.xht-section.xht-friss:not(.xht-front__aside):not(.xht-hyperos) { grid-column: 1; grid-row: 1; } }
@media (min-width: 1280px) { .xht-front__layout > section.xht-section.xht-friss:not(.xht-front__aside):not(.xht-hyperos) { grid-column: 2; grid-row: 1; } }
/* Be nem töltött TikTok-borítóknál ne lógjon ki a leírás-szöveg (alt), csak szürke háttér látsszon. */
.xht-social-feed img { font-size: 0 !important; color: transparent !important; background: var(--xh-surface-2); overflow: hidden; }
.xht-social-feed .wpsr-tt-post-media, .xht-social-feed .wpsr-tt-post-img { overflow: hidden; border-radius: 12px; background: var(--xh-surface-2); }
/* Keskeny oldalsáv: értékelés-szám ne törjön két sorba */
.xht-front__aside .xhtk-meta { flex-wrap: wrap; row-gap: 0; }
.xht-front__aside .xhtk-cnt { white-space: nowrap; }

/* Inter finomhangolás: címek kicsit szorosabbak, a kategóriasáv egy sorban maradjon. */
h1, h2, h3, .xht-section__title, .xht-feature__title, .xht-article__title, .xht-archive-head__title { letter-spacing: -.02em; }
.xht-catbar__link { letter-spacing: -.01em; }
@media (min-width: 1100px) { .xht-catbar__link { padding-left: 11px; padding-right: 11px; font-size: 14px; } }
.xht-feature__title, .xht-popular__lead-body strong { text-shadow: 0 2px 12px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .5); }

/* ==========================================================================
   Bal oszlop: Kövess minket + TikTok-feed nagy, álló videókártyákkal
   ========================================================================== */
.xht-front__left .xht-social-feed { margin-top: 18px; padding: 16px; border-radius: var(--xh-radius-lg); background: var(--xh-surface); }
.xht-front__left .wpsr-row { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 !important; }
.xht-front__left .wpsr-row > [class*="wpsr-col"] { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.xht-front__left .wpsr-tt-post-media, .xht-front__left .wpsr-tiktok-feed-image { aspect-ratio: 9 / 16; height: auto !important; border-radius: 16px; overflow: hidden; }
.xht-front__left .wpsr-tt-post-media img { width: 100% !important; height: 100% !important; object-fit: cover; }
.xht-front__left .wpsr-tiktok-feed-video-play-icon { transform: scale(1.4); }

@media (min-width: 1280px) {
	.xht-front__layout { grid-template-columns: 260px minmax(0, 1fr) 320px !important; }
	.xht-front__layout > .xht-front__left { position: static; grid-row: 1 / span 2; }
	.xht-front__layout > section.xht-section.xht-friss:not(.xht-front__aside):not(.xht-hyperos) { grid-row: 1 / span 2; }
	.xht-front__layout > .xht-front__aside { grid-row: 1 / span 2; }
}
/* 1280 px alatt a bal oszlop tartalma a Pletykák után jelenik meg, teljes szélességben. */
@media (max-width: 1279px) {
	.xht-front__layout > .xht-front__left { display: grid; grid-column: 1 / -1; order: 1; gap: 18px; margin-top: 32px; }
	.xht-front__layout > .xht-catblocks { order: 2; }
	.xht-front__left .xht-social-feed { margin-top: 0; }
	.xht-front__left .wpsr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 1279px) {
	.xht-front__left { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
}
@media (max-width: 480px) { .xht-front__left .wpsr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) {
	.xht-front__left .wpsr-row > [class*="wpsr-col"]:nth-child(n+4) { display: none !important; }
	.xht-front__layout > * { align-self: start; }
}
/* TikTok: 3 videó (asztalon a bal oszlopban egymás alatt, kisebb képernyőn egy sorban) */
.xht-front__left .wpsr-row > [class*="wpsr-col"]:nth-child(n+4) { display: none !important; }
@media (max-width: 1279px) { .xht-front__left .wpsr-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 700px) and (max-width: 1279px) { .xht-front__left .xht-social-feed { max-width: 760px; } }

/* Friss hírek levegősebben: keskenyebb oldalsávok, a rács oszlopszáma a szélességhez igazodik
   (1366 px-en 2 nagy oszlop, széles monitoron 3), nagy monitoron a címlap-sáv szélesebb. */
@media (min-width: 1280px) {
	.xht-front__layout { grid-template-columns: 240px minmax(0, 1fr) 300px !important; column-gap: 28px; }
	.xht-front__layout .xht-friss .xht-mgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 22px; }
	.xht-front__layout .xht-friss .xht-card__title { font-size: 17px; line-height: 1.35; }
	.xht-front__layout .xht-friss .xht-card__media { aspect-ratio: 16 / 9; }
}
@media (min-width: 1600px) {
	.xht-front__layout { margin-left: calc((100% - min(1560px, 100vw - 64px)) / 2); margin-right: calc((100% - min(1560px, 100vw - 64px)) / 2); }
}
@media (min-width: 1280px) {
	.xht-front__layout { margin-left: calc((100% - min(1560px, 100vw - 32px)) / 2) !important; margin-right: calc((100% - min(1560px, 100vw - 32px)) / 2) !important; }
}
@media (min-width: 1100px) and (max-width: 1279px) { .xht-front__layout .xht-friss .xht-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px; } .xht-front__layout .xht-friss .xht-card__title { font-size: 17px; } }
@media (min-width: 1280px) {
	.xht-front__aside .xht-section__head { gap: 8px; }
	.xht-front__aside .xht-section__more { font-size: 13px; white-space: nowrap; }
	.xht-front__aside .xhpop-head { flex-wrap: wrap !important; row-gap: 10px; }
	.xht-front__aside .xhpop-title { flex: 1 1 100%; display: flex; align-items: center; gap: 6px; }
}

/* „Továbbiak betöltése”: gomb helyett szolid, narancs szöveges link vonallal két oldalt */
.xht-loadmore {
	width: 100% !important; min-width: 0; height: auto; padding: 6px 0; gap: 14px;
	background: none !important; box-shadow: none !important; filter: none !important; text-shadow: none;
	color: var(--xh-accent-text); font: 600 15px/1.4 var(--xh-font); letter-spacing: .01em;
}
.xht-loadmore::before, .xht-loadmore > span:not(.xht-dots)::after { content: none; }
.xht-loadmore > span:not(.xht-dots) { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.xht-loadmore > span:not(.xht-dots)::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-top: -4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
	transition: transform .2s ease;
}
.xht-loadmore .xht-icon { display: none; }
.xht-loadmore:hover { color: var(--xh-accent-text); box-shadow: none !important; }
.xht-loadmore:hover > span:not(.xht-dots) { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.xht-loadmore:hover > span:not(.xht-dots)::after { transform: translateY(3px) rotate(45deg); }
.xht-loadmore:focus-visible { outline: 2px solid var(--xh-accent); outline-offset: 4px; border-radius: 8px; }
/* vékony elválasztó vonal két oldalt */
.xht-loadmore { display: flex !important; }
.xht-loadmore::before, .xht-loadmore::after {
	content: ""; flex: 1; height: 1px; background: var(--xh-border, rgba(255, 255, 255, .1));
	position: static; animation: none; width: auto;
}
.xht-loadmore.is-loading::after {
	content: ""; flex: 1; position: static; left: auto; width: auto; height: 1px; animation: none;
	background: var(--xh-border, rgba(255, 255, 255, .1));
}
.xht-loadmore.is-loading > span:not(.xht-dots)::after { display: none; }
.xht-loadmore .xht-dots i { background: var(--xh-accent); }

/* ==========================================================================
   Kompakt lábléc
   ========================================================================== */
.xht-footer { margin-top: 40px; }
.xht-footer__grid { padding: 28px 0 22px !important; gap: 24px !important; }
.xht-footer__brand { gap: 10px; }
.xht-footer__logo img { height: 72px !important; max-width: 160px; }
.xht-footer__tagline { font-size: 13.5px; line-height: 1.5; }
.xht-footer__soc { width: 36px !important; height: 36px !important; }
.xht-footer__soc .xht-icon { width: 18px; height: 18px; }
.xht-footer__h { margin-bottom: 10px !important; font-size: 15px !important; }
.xht-footer__links { gap: 2px !important; }
.xht-footer__links a { font-size: 14px !important; padding: 3px 0 !important; }
.xht-footer__contact .xhkont-head { font-size: 16px !important; }
.xht-footer__contact .xhkont-intro { font-size: 12.5px !important; margin-bottom: 10px !important; }
.xht-footer__contact .xhkont input:not(.xhkont-hp), .xht-footer__contact .xhkont select, .xht-footer__contact .xhkont textarea { min-height: 40px !important; padding-top: 8px !important; padding-bottom: 8px !important; font-size: 14px !important; }
.xht-footer__contact .xhkont-form { gap: 8px !important; }
.xht-footer__contact .xhkont-top { gap: 8px !important; }
.xht-footer__contact .xhkont-form textarea { min-height: 40px !important; height: 40px; }
.xht-footer__contact .xhkont-submit { min-height: 40px !important; box-shadow: none !important; }
.xht-footer__bottom-inner { min-height: 48px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
.xht-footer__bottom p { font-size: 12.5px; }

@media (min-width: 1100px) {
	.xht-footer__grid { grid-template-columns: .9fr 1.7fr .9fr 1fr !important; gap: 36px !important; align-items: start; }
	/* űrlap: név + e-mail + téma egy sorban */
	.xht-footer__contact .xhkont-top { grid-template-columns: 1fr 1fr 1fr !important; }
	.xht-footer__contact .xhkont-top select { grid-column: auto; }
	/* Felfedezés két oszlopban */
	.xht-footer__grid > :last-child .xht-footer__links { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
@media (max-width: 699px) {
	.xht-footer__grid { grid-template-columns: 1fr 1fr !important; gap: 20px 16px !important; }
	.xht-footer__brand, .xht-footer__contact { grid-column: 1 / -1; }
	.xht-footer__brand { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
	.xht-footer__logo img { height: 56px !important; }
	.xht-footer__tagline { flex: 1 1 160px; }
	.xht-footer__social { flex-basis: 100%; }
	.xht-footer__links a { font-size: 13.5px !important; }
}
.xht-footer__contact .xhkont input:not(.xhkont-hp), .xht-footer__contact .xhkont select { height: 40px !important; }
.xht-footer__contact .xhkont-submit { height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
@media (max-width: 480px) {
	.xht-footer__contact .xhkont-top { grid-template-columns: 1fr 1fr !important; }
	.xht-footer__contact .xhkont-top select { grid-column: 1 / -1; }
}

/* ==========================================================================
   Belépés (xh-profil): fejléc-ablak (.xhlw-modal) + /profil/ kártya (.xhp-login)
   a téma stílusában – sötét/világos mód, logó, narancs elemek.
   ========================================================================== */
.xhlw-mscrim { background: rgba(8, 6, 4, .62) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.xhlw-modal, .xhp-login-card {
	width: 400px !important; padding: 34px 30px 28px !important; overflow: hidden;
	background: var(--xh-surface) !important; color: var(--xh-text) !important;
	border: 1px solid var(--xh-border) !important; border-radius: 26px !important;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .45) !important; font-family: var(--xh-font) !important;
}
.xhp-login { max-width: 400px !important; margin: 40px auto !important; }
/* narancs fénycsík a kártya tetején */
.xhlw-modal::before, .xhp-login-card { position: relative; }
.xhlw-modal::before, .xhp-login-card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none;
	background: radial-gradient(120% 100% at 50% 0%, rgba(255, 123, 40, .22), transparent 70%);
}
.xhlw-modal > *, .xhp-login-card > * { position: relative; }
/* logó az emoji helyett */
.xhlw-mlogo, .xhp-login-logo {
	width: 76px; height: 76px; margin: 0 auto 12px !important; font-size: 0 !important; color: transparent;
	background: var(--xht-logo-url, none) center / contain no-repeat;
}
.xhlw-modal h3, .xhp-login-card h2 { color: var(--xh-text) !important; font-size: 23px !important; font-weight: 700 !important; letter-spacing: -.02em; margin-bottom: 6px !important; }
.xhlw-modal h3 { margin-bottom: 20px !important; }
.xhlw-modal h3::after { content: "Lépj be, és mentsd el kedvenc cikkeid, jelvényeid."; display: block; margin-top: 6px; font-size: 13.5px; font-weight: 400; letter-spacing: 0; color: var(--xh-muted); }
.xhp-login-card p { color: var(--xh-muted) !important; }
.xhlw-mclose { background: var(--xh-surface-2) !important; color: var(--xh-text) !important; transition: background-color .15s ease; z-index: 2; }
.xhlw-mclose:hover { background: var(--xh-accent) !important; color: #fff !important; }
.xhlw-field, .xhp-login-field {
	height: 48px; padding: 0 16px !important; margin-bottom: 12px !important; font-size: 15px !important; font-family: var(--xh-font) !important;
	background: var(--xh-bg) !important; color: var(--xh-text) !important;
	border: 1.5px solid var(--xh-border) !important; border-radius: 14px !important;
}
.xhlw-passwrap .xhlw-field, .xhp-pass-wrap .xhp-login-field { margin-bottom: 0 !important; padding-right: 46px !important; }
.xhlw-field::placeholder, .xhp-login-field::placeholder { color: var(--xh-muted); }
.xhlw-field:focus, .xhp-login-field:focus { border-color: var(--xh-accent) !important; box-shadow: 0 0 0 4px rgba(255, 123, 40, .16) !important; background: var(--xh-bg) !important; }
.xhlw-eye, .xhp-eye { filter: grayscale(1) brightness(1.6); }
.xhlw-forgot a, .xhp-forgot a { color: var(--xh-muted) !important; font-size: 13px !important; }
.xhlw-forgot a:hover, .xhp-forgot a:hover { color: var(--xh-accent-text) !important; }
.xhlw-forgot, .xhp-forgot { margin: 8px 0 16px !important; }
.xhlw-primary, .xhp-login-primary {
	height: 50px; padding: 0 !important; border-radius: 14px !important;
	background: var(--xh-logo-grad) !important; color: #fff !important; font: 700 16px/1 var(--xh-font) !important;
	text-shadow: 0 1px 2px rgba(110, 35, 0, .35); box-shadow: 0 10px 24px rgba(255, 123, 40, .28) !important;
	transform: none !important; transition: filter .15s ease, box-shadow .15s ease !important;
}
.xhlw-primary:hover, .xhp-login-primary:hover { filter: brightness(1.06); box-shadow: 0 12px 30px rgba(255, 123, 40, .4) !important; }
.xhlw-toggle, .xhp-login-toggle { color: var(--xh-muted) !important; font-size: 13.5px !important; }
.xhlw-toggle a, .xhp-login-toggle a { color: var(--xh-accent-text) !important; }
.xhlw-or, .xhp-login-or { color: var(--xh-muted) !important; }
.xhlw-or::before, .xhlw-or::after, .xhp-login-or::before, .xhp-login-or::after { background: var(--xh-border) !important; }
.xhlw-gbtn, .xhp-login-g {
	height: 48px; padding: 0 18px !important; border-radius: 14px !important; font: 600 15px/1 var(--xh-font) !important;
	background: var(--xh-surface-2) !important; color: var(--xh-text) !important; border: 1.5px solid var(--xh-border) !important;
}
.xhlw-gbtn:hover, .xhp-login-g:hover { border-color: var(--xh-muted) !important; }
.xhlw-merr, .xhp-login-err { color: #ff6b6b !important; }
@media (max-width: 480px) {
	.xhlw-modal, .xhp-login-card { width: calc(100vw - 24px) !important; padding: 28px 20px 22px !important; }
}
/* cím + alcím módtól függően */
.xhlw-modal h3 { font-size: 0 !important; }
.xhlw-modal h3::before { content: "Belépés"; display: block; font-size: 23px; }
.xhlw-modal[data-mode="register"] h3::before { content: "Regisztráció"; }
.xhlw-modal[data-mode="register"] h3::after { content: "Hozz létre fiókot – ugyanazzal belépsz az appba is."; }
.xhlw-modal h3::after { font-size: 13.5px !important; }
/* regisztrációnál (nincs „Elfelejtetted?”) se tapadjon a gomb a jelszómezőhöz */
.xhlw-primary { margin-top: 16px; }
.xhlw-forgot { margin: 8px 0 -4px !important; }

/* fejléc: „Eszközöm” gomb belépés után */
.xht-mydev-link {
	display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; margin-right: 4px;
	border-radius: var(--xh-pill); background: var(--xh-surface); color: var(--xh-text); font: 600 14px/1 var(--xh-font);
}
.xht-mydev-link .xht-icon { width: 19px; height: 19px; fill: var(--xh-accent); }
.xht-mydev-link:hover, .xht-mydev-link[aria-current="page"] { color: var(--xh-text); box-shadow: inset 0 0 0 1.5px var(--xh-accent); }
@media (max-width: 700px) {
	.xht-mydev-link { width: 44px; padding: 0; justify-content: center; margin-right: 0; }
	.xht-mydev-link span { display: none; }
}

/* Címlap HyperOS-blokk: „A te telefonod rajta van a listán” sáv + a saját készülék kiemelése */
.xht-hyperos .xht-hos-mine {
	display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none;
	transition: background-color .15s ease;
}
.xht-hyperos .xht-hos-mine:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.xht-hyperos .xht-hos-mine.is-on { background: rgba(48, 209, 88, .14); border-color: rgba(48, 209, 88, .4); }
.xht-hyperos .xht-hos-mine.is-on:hover { background: rgba(48, 209, 88, .22); }
.xht-hos-mine__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .14); font-weight: 700; }
.xht-hos-mine.is-on .xht-hos-mine__icon { background: #30d158; color: #062b12; }
.xht-hos-mine strong { display: block; font-size: 15px; font-weight: 600; }
.xht-hos-mine small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.xht-hos-mine__go { margin-left: auto; font-size: 22px; opacity: .7; }
.xht-hyperos .hos-model.is-mine {
	background: #30d158 !important; color: #062b12 !important; font-weight: 700;
	box-shadow: 0 0 0 3px rgba(48, 209, 88, .3);
}
.xht-hyperos .hos-model.is-mine::before { content: "★ "; }

/* ==========================================================================
   Szezonális kinézet (app admin › Szezonális naptár – inc/season.php)
   ========================================================================== */
/* Eseménysáv (mint az app SeasonalBanner-je) */
.xht-season-banner {
	display: flex; align-items: center; gap: 14px; margin: 22px 0 4px; padding: 14px 20px; border-radius: 24px;
	background: linear-gradient(90deg, #6a3de8, var(--xh-accent)); color: #fff; text-decoration: none;
	box-shadow: 0 10px 28px rgba(106, 61, 232, .22); transition: filter .15s ease;
}
.xht-season-banner:hover { color: #fff; filter: brightness(1.06); }
.xht-season-banner__emoji { font-size: 34px; line-height: 1; flex: none; }
.xht-season-banner__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.xht-season-banner__text strong { font-size: 17px; font-weight: 800; }
.xht-season-banner__text small { margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .88); }
.xht-season-banner__cta { flex: none; padding: 8px 14px; border-radius: var(--xh-pill); background: rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 700; }
@media (max-width: 560px) { .xht-season-banner { padding: 12px 14px; gap: 12px; } .xht-season-banner__cta { display: none; } .xht-season-banner__emoji { font-size: 28px; } }
.is-app .xht-season-banner { display: none; }

/* Hulló részecskék a fejlécben (a tartalom mögött) */
.xht-season-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.xht-header > :not(.xht-season-fx) { position: relative; z-index: 1; }
.xht-season-fx span { position: absolute; top: -24px; will-change: transform; animation-name: xs-fall; animation-timing-function: linear; animation-iteration-count: infinite; }
.xs-emoji { line-height: 1; opacity: .75; }
.xs-snow { border-radius: 50%; background: rgba(255, 255, 255, .8); }
:root[data-theme="light"] .xs-snow { background: #9cc7f0; }
.xs-confetti { height: 3px; border-radius: 1px; }
@keyframes xs-fall {
	0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
	8% { opacity: 1; }
	50% { transform: translate(var(--drift, 0px), 70px) rotate(var(--spin, 0deg)); }
	85% { opacity: .9; }
	100% { transform: translate(0, 140px) rotate(0deg); opacity: 0; }
}
.xht-season--confetti .xht-season-fx span { animation-name: xs-fall-spin; }
@keyframes xs-fall-spin { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--drift, 0px), 140px) rotate(720deg); opacity: 0; } }
.xs-spark { width: 12px; height: 12px; margin: -6px; animation: xs-twinkle 2.5s ease-in-out infinite !important; transform: scale(var(--s, 1)); }
.xs-spark::before, .xs-spark::after { content: ""; position: absolute; left: 50%; top: 50%; background: #ffc107; border-radius: 1px; }
.xs-spark::before { width: 100%; height: 1.6px; margin: -.8px 0 0 -50%; }
.xs-spark::after { width: 1.6px; height: 100%; margin: -50% 0 0 -.8px; }
@keyframes xs-twinkle { 0%, 100% { opacity: .2; transform: scale(calc(var(--s, 1) * .5)); } 50% { opacity: 1; transform: scale(var(--s, 1)); } }

/* Kiemelt kártya: témaszínű keret + sarokdísz (mint az app seasonGlow / SeasonCorner) */
.xht-season .xht-carousel__viewport { position: relative; box-shadow: 0 0 0 2px transparent; }
.xht-season .xht-carousel__viewport::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 2px;
	background: var(--xs-glow); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.xht-season .xht-carousel__viewport::after {
	content: var(--xs-corner); position: absolute; right: 18px; bottom: 14px; z-index: 3; pointer-events: none;
	font-size: 40px; line-height: 1; transform: rotate(-14deg); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}
.xht-season .xht-popular__lead { box-shadow: inset 0 0 0 2px transparent; }

/* Halvány háttérminta (mint az app seasonBackdrop-ja) + Halloweenkor pókhálók a sarkokban */
body.xht-season { background-image: var(--xs-tile); background-repeat: repeat; background-attachment: fixed; }
.xht-season--blackfriday { background-image: repeating-linear-gradient(-45deg, transparent 0 44px, rgba(255, 193, 7, .1) 44px 46px) !important; }
.xht-season--halloween::before, .xht-season--halloween::after {
	content: ""; position: fixed; z-index: -1; width: 170px; height: 170px; pointer-events: none;
	background: var(--xs-web) no-repeat;
}
.xht-season--halloween::before { top: 0; right: 0; transform: scaleX(-1); }
.xht-season--halloween::after { bottom: 0; left: 0; transform: scaleY(-1); }
.is-app body.xht-season, .is-app .xht-season { background-image: none !important; }
.is-app .xht-season::before, .is-app .xht-season::after, .is-app .xht-season-fx { display: none !important; }
@media (prefers-reduced-motion: reduce) { .xht-season-fx span { animation: none !important; } }

/* App-ikon (ic_launcher_glow) – mindenhol, ahol az app megjelenik */
.xht-app-icon { display: inline-block; flex: none; border-radius: 22%; background: #fff; object-fit: cover; vertical-align: middle; }
.xht-appbar__icon { background: #fff !important; overflow: hidden; padding: 0; }
.xht-appbar__icon .xht-app-icon { width: 100%; height: 100%; border-radius: 0; }
.xht-drawer__app .xht-app-icon { width: 28px; height: 28px; box-shadow: 0 2px 6px rgba(110, 35, 0, .25); }
.xht-season-banner__cta { display: inline-flex; align-items: center; gap: 6px; }
.xht-season-banner__cta .xht-app-icon { width: 22px; height: 22px; }
/* Mobilon a 3 videó vízszintesen lapozható (ne legyenek apróak) */
@media (max-width: 600px) {
	.xht-front__left .wpsr-row { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
	.xht-front__left .wpsr-row > [class*="wpsr-col"] { flex: 0 0 44% !important; scroll-snap-align: start; }
}

/* Szavazás-blokk (csak ha van nyitott szavazás) */
.xht-poll { margin: 0 0 18px; padding: 16px; border-radius: var(--xh-radius-lg); background: radial-gradient(110% 120% at 100% 0%, rgba(124, 77, 255, .18), transparent 60%), var(--xh-surface); box-shadow: 0 0 0 1.5px rgba(124, 77, 255, .3); }
.xht-poll__h { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 12px; border-radius: var(--xh-pill); background: linear-gradient(135deg, #7c4dff, #ff7b28); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.xht-poll [class*="xhsz"] { max-width: 100% !important; font-family: var(--xh-font) !important; }

/* ==========================================================================
   Skeleton (csillogó helykitöltő) betöltéskor: képek és a JS-sel töltődő widgetek
   ========================================================================== */
@keyframes xht-skel-sweep { 0% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
/* a pozíciót a JS adja, csak ha az elem statikus */
.xht-skel-wait::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
	background: linear-gradient(100deg, var(--xh-surface-2) 30%, color-mix(in srgb, var(--xh-surface-2) 60%, #fff 12%) 50%, var(--xh-surface-2) 70%);
	background-size: 200% 100%; animation: xht-skel-sweep 1.3s ease-in-out infinite;
	transition: opacity .35s ease;
}
.xht-skel-wait.is-loaded::after { opacity: 0; }
.xht-skel-wait img { opacity: 0; transition: opacity .35s ease; }
.xht-skel-wait.is-loaded img { opacity: 1; }
/* a régi lazyload-helykitöltő ne villanjon át */
.xht-skel-wait:not(.is-loaded) img[src^="data:"] { opacity: 0; }

/* Népszerű készülékek: a „Betöltés…” helyett skeleton-sorok */
.xhpop-list > .xhpop-empty:only-child { font-size: 0 !important; color: transparent !important; padding: 0 !important; display: grid; gap: 8px; }
.xhpop-list > .xhpop-empty:only-child::before, .xhpop-list > .xhpop-empty:only-child::after {
	content: ""; display: block; height: 52px; border-radius: 14px;
	background: linear-gradient(100deg, var(--xh-surface-2) 30%, color-mix(in srgb, var(--xh-surface-2) 60%, #fff 12%) 50%, var(--xh-surface-2) 70%);
	background-size: 200% 100%; animation: xht-skel-sweep 1.3s ease-in-out infinite;
}
.xhpop-list > .xhpop-empty:only-child { min-height: 230px; background: repeating-linear-gradient(to bottom, transparent 0 60px, transparent 60px 64px); }

@media (prefers-reduced-motion: reduce) {
	.xht-skel-wait::after, .xhpop-list > .xhpop-empty:only-child::before, .xhpop-list > .xhpop-empty:only-child::after { animation: none; }
}

/* Olvasottság (szem ikon + szám) */
.xht-views { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.xht-views[hidden] { display: none !important; }
.xht-views svg { flex: none; opacity: .85; }
.xht-views b { font-weight: inherit; }
.xht-feature__read.xht-views svg { width: 15px; height: 15px; }
.xht-row__foot .xht-views svg, .xht-wide__foot .xht-views svg, .xht-meta .xht-views svg { width: 15px; height: 15px; }

/* Mobilon a belépés-gomb ne tűnjön nagyobbnak/lejjebb lévőnek: a lefelé eltolt, nagy narancs fény helyett
   kicsi, középre igazított árnyék – így a három kerek gomb vizuálisan is egy vonalban van. */
@media (max-width: 599px) {
	.xht-header .xhlw-in, .xht-header .xhlw-in:hover { box-shadow: 0 1px 4px rgba(255, 126, 39, .28); filter: none; transform: none; }
	.xht-header .xhlw-in:active { transform: scale(.94); }
}

/* Mobil fejléc: rövid dátum (ne vágódjon le, ne tolja el a logót), egyforma, jól elkülönülő kerek gombok */
.xht-datepill__short { display: none; }
@media (max-width: 599px) {
	.xht-datepill__date { display: none; }
	.xht-datepill__short { display: block; font-size: 13px; color: var(--xh-text-2); white-space: nowrap; }
	.xht-header__actions { gap: 8px; }
	:root:not([data-theme="dark"]) .xht-header .xht-roundbtn { box-shadow: inset 0 0 0 1px var(--xh-border); }
}
@media (max-width: 380px) { .xht-datepill__short { display: none; } }

/* Mobilon a belépés-gomb csak ikon: a (rejtett) felirat előtti hézag ne tolja el a bábut a középről */
@media (max-width: 599px) {
	.xht-header .xhlw-in { gap: 0; }
	.xht-header .xhlw-in::before { width: 21px; height: 21px; margin: 0; }
}

/* Mobil fejléc letisztítva: nincs „Jó estét” buborék és nincs téma-kapcsoló (az oldalmenüben és a láblécben van) */
@media (max-width: 599px) {
	.xht-header .xht-datepill, .xht-header .xht-theme-toggle { display: none !important; }
}

/* Téma-váltó: oldalmenü + lábléc (nap ikon sötétben = „Világos mód”, hold ikon világosban = „Sötét mód”) */
.xa-menu__theme-ic, .xht-footer__theme-ic {
	width: 20px; height: 20px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
:root[data-theme="light"] .xa-menu__theme-ic, :root[data-theme="light"] .xht-footer__theme-ic {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 14.6A8.5 8.5 0 1 1 9.4 3.5a7 7 0 0 0 11.1 11.1z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 14.6A8.5 8.5 0 1 1 9.4 3.5a7 7 0 0 0 11.1 11.1z'/%3E%3C/svg%3E");
}
.xa-menu__theme {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; margin: 6px 0 10px; padding: 0 16px;
	border: 0; border-radius: 16px; background: var(--xh-surface); color: var(--xh-text); font: 600 15px var(--xh-font); cursor: pointer; text-align: left;
}
.xa-menu__theme .xa-menu__theme-ic { color: var(--xh-accent); }
.xa-menu__theme b { flex: 1; font-weight: 600; }
.xa-menu__theme i { width: 42px; height: 24px; border-radius: 999px; background: var(--xh-surface-2); position: relative; transition: background-color .2s ease; }
.xa-menu__theme i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s ease; }
:root[data-theme="light"] .xa-menu__theme i { background: var(--xh-accent); }
:root[data-theme="light"] .xa-menu__theme i::after { transform: translateX(18px); }
.xht-footer__theme {
	display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 16px;
	border: 1px solid var(--xh-border); border-radius: var(--xh-pill); background: var(--xh-surface); color: var(--xh-text);
	font: 600 14px var(--xh-font); cursor: pointer;
}
.xht-footer__theme:hover { border-color: var(--xh-accent); }
.xht-footer__theme .xht-footer__theme-ic { width: 18px; height: 18px; color: var(--xh-accent); }
@media (max-width: 899px) { .xht-footer__bottom-inner { flex-direction: column; } }

/* Megjelenés-választó: Automatikus (rendszer szerint) · Világos · Sötét */
.xht-themeseg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--xh-pill); background: var(--xh-surface-2); border: 1px solid var(--xh-border); }
.xht-themeseg button {
	height: 34px; padding: 0 14px; border: 0; border-radius: var(--xh-pill); background: transparent;
	color: var(--xh-text-2); font: 600 13.5px var(--xh-font); cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.xht-themeseg button:hover { color: var(--xh-text); }
.xht-themeseg button[aria-pressed="true"] { background: var(--xh-surface); color: var(--xh-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.xht-themeseg button[aria-pressed="true"][data-xh-theme-set="auto"] { color: var(--xh-accent-text); }
.xht-footer__themeseg { flex: none; }
.xa-menu__themerow { display: flex; align-items: center; gap: 10px; margin: 10px 4px 8px; color: var(--xh-text); font-size: 15px; }
.xa-menu__themerow b { font-weight: 600; }
.xa-menu__themerow .xa-menu__theme-ic { color: var(--xh-accent); }
.xa-menu__themeseg { display: flex; margin-bottom: 12px; }
.xa-menu__themeseg button { flex: 1; }

/* ==========================================================================
   Lebegő kereső-sáv alul (mobilon) – üveghatás, mint a cikk-akciósáv
   ========================================================================== */
.xht-fsearch, .xht-actionbar__btn--search, .xht-actionbar__sep--search { display: none; }
@media (max-width: 599px) {
	.xht-header .xht-roundbtn[data-xh-search-toggle] { display: none !important; }
	.xht-totop { display: none !important; }
	.xht-actionbar__btn--search, .xht-actionbar__sep--search { display: inline-flex; }
	.xht-actionbar__btn--search { width: 48px; padding: 0; justify-content: center; }
	.xht-fsearch {
		position: fixed; z-index: 58; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
		display: flex; align-items: center; gap: 6px; padding: 6px;
		border-radius: var(--xh-pill);
		background: linear-gradient(135deg, rgba(64, 64, 72, .5), rgba(22, 22, 26, .36));
		border: 1px solid rgba(255, 255, 255, .14);
		-webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
		box-shadow: 0 12px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .14);
		transition: opacity .2s ease, transform .2s ease;
	}
	.xht-fsearch__field {
		flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
		border: 0; border-radius: var(--xh-pill); background: rgba(255, 255, 255, .08); color: var(--xh-text-2);
		font: 500 15px var(--xh-font); text-align: left; cursor: pointer;
	}
	.xht-fsearch__field .xht-icon { width: 20px; height: 20px; flex: none; color: var(--xh-accent); }
	.xht-fsearch__field span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.xht-fsearch__top {
		flex: none; display: grid; place-items: center; width: 0; height: 44px; padding: 0; margin-left: -6px; overflow: hidden;
		border: 0; border-radius: 50%; color: #fff; cursor: pointer; opacity: 0;
		background: linear-gradient(145deg, rgba(255, 150, 60, .95), rgba(255, 106, 0, .92));
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
		transition: width .25s ease, margin .25s ease, opacity .2s ease;
	}
	.xht-fsearch__top .xht-icon { width: 22px; height: 22px; }
	.xht-fsearch.is-scrolled .xht-fsearch__top { width: 44px; margin-left: 0; opacity: 1; }
	/* világos téma: tejüveg */
	:root[data-theme="light"] .xht-fsearch {
		background: linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .16));
		border-color: rgba(255, 255, 255, .7);
		box-shadow: 0 12px 32px rgba(20, 20, 30, .16), inset 0 1px 0 rgba(255, 255, 255, .85);
	}
	:root[data-theme="light"] .xht-fsearch__field { background: rgba(255, 255, 255, .55); color: var(--xh-text-2); }
	/* cikkoldalon az akciósáv átveszi a helyét; app-sáv / keresés / menü nyitva: eltűnik */
	body:has(.xht-actionbar.is-visible) .xht-fsearch,
	body.xht-no-scroll .xht-fsearch,
	html.xa-menu-open .xht-fsearch { opacity: 0; transform: translateY(16px); pointer-events: none; }
	body:has(.xht-appbar:not([hidden])) .xht-fsearch { bottom: calc(110px + env(safe-area-inset-bottom)); }
	/* a lábléc alja ne takarodjon ki */
	.xht-footer__bottom { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
.is-app .xht-fsearch { display: none !important; }
