/* ==========================================================================
   GrabModApk — modern design layer for the 5Play theme
   Loaded last in <head>. Overrides the legacy theme styles with one
   consistent token system for light and dark mode.

   Contents
   01. Tokens (light / dark) + legacy variable mapping
   02. Base & typography
   03. Header, navigation, search, mobile drawer
   04. Page heads (home hero, category, search, 404)
   05. Sections, section titles, "view all" buttons
   06. App cards (latest / related / category grids)
   07. Popular apps strip
   08. Home categories
   09. News cards (home strip, news archive)
   10. App page: hero, specs, actions, telegram
   11. App page: content tabs, article typography, TOC
   12. Download block
   13. Comments + forms
   14. Static pages, alerts, pagination
   15. Footer
   16. Modals, misc plugins, ads
   17. Utilities: focus, motion, print
   ========================================================================== */

/* 01. TOKENS ============================================================== */
:root {
	--gma-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--gma-bg: #f4f6f9;
	--gma-surface: #ffffff;
	--gma-surface-2: #f1f4f8;
	--gma-surface-3: #e8edf3;
	--gma-border: #e3e8ef;
	--gma-border-strong: #d2d9e2;

	--gma-text: #0f1a2a;
	--gma-text-2: #3b4859;
	--gma-muted: #687586;

	--gma-brand: #0e9f5b;
	--gma-brand-hover: #0b8a4e;
	--gma-brand-ink: #ffffff;
	--gma-brand-soft: #e5f6ed;
	--gma-brand-text: #0a7d47;

	--gma-telegram: #1d8fd1;
	--gma-telegram-soft: #e7f3fb;
	--gma-new: #e5484d;
	--gma-star: #f5a524;

	--gma-tint-green-bg: #e5f6ed;   --gma-tint-green-fg: #0e9f5b;
	--gma-tint-yellow-bg: #fff3d6;  --gma-tint-yellow-fg: #b7791f;
	--gma-tint-blue-bg: #e6f0ff;    --gma-tint-blue-fg: #2563eb;
	--gma-tint-purple-bg: #f0e9ff;  --gma-tint-purple-fg: #7c3aed;
	--gma-tint-red-bg: #ffe9e7;     --gma-tint-red-fg: #dc3b2f;

	--gma-radius-sm: 8px;
	--gma-radius: 12px;
	--gma-radius-lg: 16px;
	--gma-radius-xl: 20px;
	--gma-icon-radius: 22%;

	--gma-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
	--gma-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px -4px rgba(16, 24, 40, .08);
	--gma-shadow-lg: 0 18px 40px -12px rgba(16, 24, 40, .22);
	--gma-icon-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 4px 10px -2px rgba(16, 24, 40, .12);

	--gma-header-h: 64px;
	--gma-header-bg: rgba(255, 255, 255, .88);
	--gma-focus: 0 0 0 3px rgba(14, 159, 91, .35);
	--gma-container: 80rem;
	--gma-reading: 60rem;

	/* legacy theme variables, remapped so untouched templates follow the system */
	--font: var(--gma-font);
	--fonts: var(--gma-font);
	--tcolor: var(--gma-text);
	--bgcolor: var(--gma-bg);
	--lcolor: var(--gma-brand-text);
	--color_link: var(--gma-muted);
	--lhcolor: var(--gma-brand-text);
	--color_link_hover: var(--gma-brand-text);
	--color_link_menu: var(--gma-text-2);
	--color_link_menu_dark: var(--gma-text-2);
	--color_svg: var(--gma-brand);
	--colorsvg: var(--gma-brand);
	--main-heading: var(--gma-brand);
	--color_button: var(--gma-brand);
	--color_button_hover: var(--gma-brand-hover);
	--rgbacolorbackground: var(--gma-brand-soft);
	--header-bg: var(--gma-surface);
	--footer-bg: var(--gma-surface);
	--entry-bg: var(--gma-surface);
	--entry-info: var(--gma-muted);
	--entry-info-sep: var(--gma-border);
	--entry-label: var(--gma-surface);
	--block-bg: var(--gma-surface);
	--block-dark-bg: var(--gma-surface);
	--modal-bg: var(--gma-surface);
	--dark-section-bg: transparent;
	--dark-section-grad: none;
	--form-control-bg: var(--gma-surface);
	--form-control-brd: var(--gma-border-strong);
	--form-control-brd-f: var(--gma-brand);
	--placeholder: var(--gma-muted);
	--line: var(--gma-border);
	--spoiler: var(--gma-surface-2);
	--spoiler-h: var(--gma-brand-soft);
	--searchsug: var(--gma-surface);
	--searchsug-item: var(--gma-surface-2);
	--coms-meta: var(--gma-muted);
	--coms-meta-h: var(--gma-text-2);
	--cat-menu: var(--gma-surface-2);
	--cat-menu-h: var(--gma-brand-soft);
	--scrollbar: var(--gma-surface-2);
	--scrollbar-thumb: var(--gma-border-strong);
	--scrollbar-track: var(--gma-surface-2);
	--s_green: var(--gma-brand);
	--color_news: var(--gma-new);
	--color_mods: var(--gma-brand-text);
	--opacity: 1;
	--putih: var(--gma-surface);
	--homes_titles_colors: var(--gma-text);
	--homes_titles_colors_dark: var(--gma-text);

	color-scheme: light;
}

html.darktheme {
	--gma-bg: #0b1016;
	--gma-surface: #121922;
	--gma-surface-2: #18212c;
	--gma-surface-3: #202b38;
	--gma-border: #232f3d;
	--gma-border-strong: #2f3d4f;

	--gma-text: #e8edf3;
	--gma-text-2: #b7c2cf;
	--gma-muted: #8b98a8;

	--gma-brand: #22c07a;
	--gma-brand-hover: #3dd68f;
	--gma-brand-ink: #03140b;
	--gma-brand-soft: rgba(34, 192, 122, .13);
	--gma-brand-text: #4cdb98;

	--gma-telegram: #4fb3ea;
	--gma-telegram-soft: rgba(79, 179, 234, .12);
	--gma-new: #ff6b6f;

	--gma-tint-green-bg: rgba(34, 192, 122, .14);   --gma-tint-green-fg: #4cdb98;
	--gma-tint-yellow-bg: rgba(245, 165, 36, .14);  --gma-tint-yellow-fg: #f6c35b;
	--gma-tint-blue-bg: rgba(96, 150, 255, .14);    --gma-tint-blue-fg: #86aeff;
	--gma-tint-purple-bg: rgba(167, 128, 255, .15); --gma-tint-purple-fg: #b9a0ff;
	--gma-tint-red-bg: rgba(255, 107, 95, .14);     --gma-tint-red-fg: #ff8d84;

	--gma-shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
	--gma-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 20px -6px rgba(0, 0, 0, .45);
	--gma-shadow-lg: 0 20px 44px -12px rgba(0, 0, 0, .6);
	--gma-icon-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 12px -2px rgba(0, 0, 0, .4);

	--gma-header-bg: rgba(18, 25, 34, .86);
	--gma-focus: 0 0 0 3px rgba(34, 192, 122, .4);

	--tcolor: var(--gma-text);
	--bgcolor: var(--gma-bg);
	--bgcolor_dark: var(--gma-bg);
	--header-bg: var(--gma-surface);
	--footer-bg: var(--gma-surface);
	--entry-bg: var(--gma-surface);
	--entry-info: var(--gma-muted);
	--entry-info-sep: var(--gma-border);
	--entry-label: var(--gma-surface);
	--entry-pattern: none;
	--block-bg: var(--gma-surface);
	--block-dark-bg: var(--gma-surface);
	--modal-bg: var(--gma-surface);
	--dark-section-bg: transparent;
	--dark-section-grad: none;
	--form-control-bg: var(--gma-surface-2);
	--form-control-brd: var(--gma-border-strong);
	--form-control-brd-f: var(--gma-brand);
	--placeholder: var(--gma-muted);
	--line: var(--gma-border);
	--spoiler: var(--gma-surface-2);
	--spoiler-h: var(--gma-brand-soft);
	--searchsug: var(--gma-surface);
	--searchsug-item: var(--gma-surface-2);
	--coms-meta: var(--gma-muted);
	--coms-meta-h: var(--gma-text-2);
	--cat-menu: var(--gma-surface-2);
	--cat-menu-h: var(--gma-brand-soft);
	--scrollbar: var(--gma-surface);
	--scrollbar-thumb: var(--gma-border-strong);
	--scrollbar-track: var(--gma-surface);
	--loading-bg: rgba(11, 16, 22, .9);
	--color_link_menu_dark: var(--gma-text-2);
	--homes_titles_colors_dark: var(--gma-text);

	color-scheme: dark;
}

/* 01b. ACCENT COLOURS (header colour picker, html[data-accent]) ============ */
:root { --gma-grad-a: #1BC47D; --gma-grad-b: #0A8749; }
html.darktheme { --gma-grad-a: #3DDC97; --gma-grad-b: #1BC47D; }

html[data-accent="blue"] {
	--gma-brand: #2563eb; --gma-brand-hover: #1d4ed8; --gma-brand-ink: #ffffff;
	--gma-brand-soft: #e8f0fe; --gma-brand-text: #1d4ed8;
	--gma-grad-a: #4f8bff; --gma-grad-b: #1d4ed8;
	--gma-focus: 0 0 0 3px rgba(37, 99, 235, .35);
}
html.darktheme[data-accent="blue"] {
	--gma-brand: #4f8cff; --gma-brand-hover: #74a5ff; --gma-brand-ink: #04122e;
	--gma-brand-soft: rgba(79, 140, 255, .14); --gma-brand-text: #8db8ff;
	--gma-grad-a: #8db8ff; --gma-grad-b: #4f8cff;
	--gma-focus: 0 0 0 3px rgba(79, 140, 255, .4);
}
html[data-accent="orange"] {
	--gma-brand: #ea580c; --gma-brand-hover: #c2410c; --gma-brand-ink: #ffffff;
	--gma-brand-soft: #fff0e6; --gma-brand-text: #c2410c;
	--gma-grad-a: #fb923c; --gma-grad-b: #dc4a06;
	--gma-focus: 0 0 0 3px rgba(234, 88, 12, .35);
}
html.darktheme[data-accent="orange"] {
	--gma-brand: #fb8a3c; --gma-brand-hover: #ffa366; --gma-brand-ink: #1f0d02;
	--gma-brand-soft: rgba(251, 138, 60, .14); --gma-brand-text: #ffad75;
	--gma-grad-a: #ffb27a; --gma-grad-b: #fb8a3c;
	--gma-focus: 0 0 0 3px rgba(251, 138, 60, .4);
}
html[data-accent="purple"] {
	--gma-brand: #7c3aed; --gma-brand-hover: #6d28d9; --gma-brand-ink: #ffffff;
	--gma-brand-soft: #f1eafe; --gma-brand-text: #6d28d9;
	--gma-grad-a: #a37bff; --gma-grad-b: #6d28d9;
	--gma-focus: 0 0 0 3px rgba(124, 58, 237, .35);
}
html.darktheme[data-accent="purple"] {
	--gma-brand: #a37bff; --gma-brand-hover: #b996ff; --gma-brand-ink: #14072e;
	--gma-brand-soft: rgba(163, 123, 255, .15); --gma-brand-text: #c4a8ff;
	--gma-grad-a: #c4a8ff; --gma-grad-b: #a37bff;
	--gma-focus: 0 0 0 3px rgba(163, 123, 255, .4);
}
html[data-accent="rose"] {
	--gma-brand: #e11d48; --gma-brand-hover: #be123c; --gma-brand-ink: #ffffff;
	--gma-brand-soft: #ffe8ee; --gma-brand-text: #be123c;
	--gma-grad-a: #fb7185; --gma-grad-b: #d4123e;
	--gma-focus: 0 0 0 3px rgba(225, 29, 72, .32);
}
html.darktheme[data-accent="rose"] {
	--gma-brand: #ff5c80; --gma-brand-hover: #ff7d99; --gma-brand-ink: #2a0610;
	--gma-brand-soft: rgba(255, 92, 128, .14); --gma-brand-text: #ff94ab;
	--gma-grad-a: #ff94ab; --gma-grad-b: #ff5c80;
	--gma-focus: 0 0 0 3px rgba(255, 92, 128, .4);
}
/* amber: dark text on the yellow buttons, darker gold for text on white */
html[data-accent="amber"] {
	--gma-brand: #e0aa0c; --gma-brand-hover: #c99608; --gma-brand-ink: #1f1600;
	--gma-brand-soft: #fff6d6; --gma-brand-text: #8a6500;
	--gma-grad-a: #f7c53a; --gma-grad-b: #c48a00;
	--gma-focus: 0 0 0 3px rgba(224, 170, 12, .4);
}
html.darktheme[data-accent="amber"] {
	--gma-brand: #f5c542; --gma-brand-hover: #ffd666; --gma-brand-ink: #1f1600;
	--gma-brand-soft: rgba(245, 197, 66, .14); --gma-brand-text: #ffd666;
	--gma-grad-a: #ffe08a; --gma-grad-b: #f5c542;
	--gma-focus: 0 0 0 3px rgba(245, 197, 66, .4);
}
html[data-accent="amber"] body .gma-logo-text b { color: var(--gma-brand-text); }
html.darktheme[data-accent="amber"] body .gma-logo-text b { color: var(--gma-brand); }

/* green-tinted icons (section titles etc.) follow the accent too */
html[data-accent] { --gma-tint-green-bg: var(--gma-brand-soft); --gma-tint-green-fg: var(--gma-brand); }

/* logo mark follows the accent */
html body .gma-logo-mark stop:first-child { stop-color: var(--gma-grad-a); }
html body .gma-logo-mark stop:last-child { stop-color: var(--gma-grad-b); }
html body .gma-logo-mark path[stroke="#0E9F5B"] { stroke: var(--gma-grad-b); }
html.darktheme body .gma-logo-mark stop:first-child { stop-color: color-mix(in srgb, var(--gma-grad-b) 85%, #fff); }
html.darktheme body .gma-logo-mark stop:last-child { stop-color: color-mix(in srgb, var(--gma-grad-b) 70%, #000); }
html.darktheme body .gma-logo-mark path[stroke="#0E9F5B"] { stroke: color-mix(in srgb, var(--gma-grad-b) 70%, #000); }

/* 02. BASE & TYPOGRAPHY ==================================================== */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--gma-header-h) + 16px);
	background-color: var(--gma-bg);
}

/* light and dark share every size; the dark selector below only repeats the colours,
   because it is more specific and would otherwise beat the @media font-size rules */
html.darktheme body {
	background-color: var(--gma-bg) !important;
	color: var(--gma-text) !important;
}
html body {
	font-family: var(--gma-font) !important;
	background-color: var(--gma-bg) !important;
	color: var(--gma-text) !important;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
	html body { font-size: 16px; }
}

html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 {
	font-family: var(--gma-font);
	color: inherit;
	letter-spacing: -.01em;
}

html body a { color: var(--gma-brand-text); }
html body a:hover { color: var(--gma-brand-hover); }

html body ::selection { background: var(--gma-brand-soft); color: var(--gma-text); }

html body img { max-width: 100%; height: auto; }

/* decorative blobs / clouds / illustrations of the old theme */
html body .background,
html body .dark-head .background,
html body .dark-foot .background,
html body .view-app-head .background,
html body .bg-img-blur,
html body .bg-clouds,
html body .bg-circle-green,
html body .bg-circle-purple,
html body .bg-circle-yellow,
html body .recom-post-bg,
html body .page-head-main > img {
	display: none !important;
}

html body .wrp { max-width: var(--gma-container); }
@media (min-width: 640px) {
	html body .wrp,
	html body .wrp-min { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	html body .wrp,
	html body .wrp-min { padding-left: 2rem; padding-right: 2rem; }
}
html body .wrp-min { max-width: var(--gma-reading); }

html body hr { border: 0; border-top: 1px solid var(--gma-border); margin: 1.5rem 0; }

html body .c-muted,
html.darktheme body .c-muted,
html body .q-search-label { color: var(--gma-muted) !important; }
html body .c-green { color: var(--gma-brand) !important; }

/* scrollbars */
html body ::-webkit-scrollbar { width: 10px; height: 10px; }
html body ::-webkit-scrollbar-track { background: transparent; }
html body ::-webkit-scrollbar-thumb { background: var(--gma-border-strong); border-radius: 10px; border: 2px solid var(--gma-bg); }

/* 03. HEADER ============================================================== */
html body .header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--gma-header-h);
	pointer-events: auto;
	background: transparent;
	border-bottom: 1px solid var(--gma-border);
}
/* the blur sits on a pseudo element: a backdrop-filter on .header itself would
   trap the fixed mobile drawer inside the 64px header */
html body .header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gma-header-bg);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
}

html body .header .wrp-min {
	max-width: var(--gma-container);
	height: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
}
@media (min-width: 640px) {
	html body .header .wrp-min { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	html body .header .wrp-min { padding-left: 2rem; padding-right: 2rem; }
}

html body .header-panel {
	height: var(--gma-header-h);
	padding: 0;
	gap: .75rem;
	background: transparent;
	border-radius: 0 !important;
	box-shadow: none;
}

html body .logotype {
	display: inline-flex;
	align-items: center;
	padding: 0;
	flex: 0 0 auto;
}
html body .logotype img {
	display: block;
	height: 34px;
	width: auto;
	max-width: 132px;
	object-fit: contain;
}

/* brand logo: inline SVG mark + text wordmark (works in light and dark mode) */
html body .gma-logo {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	line-height: 1;
	white-space: nowrap;
}
html body .gma-logo-mark {
	display: block;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 8px;
}
html body .gma-logo-text {
	font-family: var(--gma-font);
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 32px;
	letter-spacing: -.03em;
	color: var(--gma-text);
}
html body .gma-logo-text b { font-weight: 800; color: var(--gma-brand); }
html body .logotype:hover .gma-logo-text { color: var(--gma-text); }
@media (max-width: 359px) {
	html body .gma-logo-mark { width: 32px; height: 32px; }
	html body .gma-logo-text { font-size: 1.125rem; }
}
html body .footer-panel .logo-icon,
html body .footer-panel .logo-icon .gma-logo-mark { width: 32px; height: 32px; max-width: 32px; overflow: visible; }
html body .page-cdn-head .gma-logo-mark { width: 40px; height: 40px; }
html body .page-cdn-head .gma-logo-text { font-size: 1.5rem; }

/* header right-side buttons */
html body .head-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .375rem;
	min-width: 0;
	margin-left: auto;
}
html body .head-right > * { float: none; margin: 0; }
@media (max-width: 400px) {
	html body .head-right { gap: .125rem; }
	html body .head-right .gma-icon-btn { width: 36px !important; min-width: 36px; height: 36px !important; }
	html body .gma-logo { gap: .3rem; }
	html body .gma-logo-mark { width: 28px; height: 28px; }
	html body .gma-logo-text { font-size: 1.1875rem; line-height: 28px; }
}

html body .gma-icon-btn,
html body .q-search-call,
html body .log-in,
html body .head-right .dropdown-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	max-width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--gma-radius);
	background: transparent !important;
	color: var(--gma-text-2) !important;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
	box-shadow: none;
}
html body .gma-icon-btn:hover,
html body .q-search-call:hover,
html body .log-in:hover,
html body .head-right .dropdown-btn:hover {
	background: var(--gma-surface-2) !important;
	color: var(--gma-text) !important;
}
html body .gma-icon-btn svg,
html body .q-search-call svg,
html body .log-in svg { width: 22px; height: 22px; display: block; }

/* theme toggle icons */
html body .gma-theme-toggle .i__sun { display: none !important; }
html body .gma-theme-toggle .i__moon { display: block !important; }
html.darktheme body .gma-theme-toggle .i__sun { display: block !important; }
html.darktheme body .gma-theme-toggle .i__moon { display: none !important; }

/* old floating dark-mode button (kept hidden in case a cached header prints it) */
html body .toolbar { display: none !important; }

/* desktop navigation */
@media (min-width: 992px) {
	html body .head-tools {
		flex: 1 1 auto;
		display: flex !important;
		align-items: center;
		min-width: 0;
	}
	html body .head-tools-panel {
		max-width: none;
		margin: 0 0 0 1.5rem;
		width: 100%;
		display: flex;
		align-items: center;
		position: relative;
	}
	html body .hmenu {
		display: flex;
		align-items: center;
		gap: .25rem;
		padding: 0;
	}
	html body .hmenu > a {
		width: auto;
		max-width: none;
		flex: 0 0 auto;
		padding: 0;
		font-size: .9375rem;
		font-weight: 600;
		line-height: 1;
		color: var(--gma-text-2) !important;
	}
	html body .hmenu > a > span {
		display: flex;
		align-items: center;
		gap: .5rem;
		padding: .625rem .875rem;
		border-radius: var(--gma-radius);
		transition: background-color .15s ease, color .15s ease;
	}
	html body .hmenu > a:hover > span { background: var(--gma-surface-2); color: var(--gma-text); }
	html body .hmenu > a.active > span,
	html body .hmenu > a[aria-current="page"] > span { background: var(--gma-brand-soft); color: var(--gma-brand-text); }
	html body .hmenu > a .c-icon {
		min-width: 0;
		max-width: none;
		width: 20px;
		height: 20px;
		margin: 0;
		padding: 0;
		background: none !important;
		box-shadow: none !important;
		transform: none !important;
	}
	html body .hmenu > a .c-icon,
	html body .hmenu > a .c-icon[class*="s-"] { color: var(--gma-muted); }
	html body .hmenu > a .c-icon > svg { width: 18px; height: 18px; color: currentColor; }
	html body .hmenu > a:hover .c-icon[class*="s-"] { color: var(--gma-text-2); }
	html body .hmenu > a.active .c-icon[class*="s-"] { color: var(--gma-brand); }
	html body .hmenu > a.active > span { font-weight: 700; }

	/* desktop inline search (opens over the menu) */
	html body .q-search {
		position: absolute;
		inset: 0;
		display: none;
		align-items: center;
		background: transparent;
		z-index: 2;
	}
	html body .q-search.open { display: flex !important; }
	html body .header.qs .hmenu { visibility: hidden; }
	html body .q-search-box { width: 100%; max-width: 36rem; position: relative; }
	html body .q-search-label { display: none; }

	html body .gma-m-search,
	html body .menu-butter,
	html body .menu-close { display: none !important; }
	html body .q-search-call .qs-2 { display: none; }
	html body .header.qs .q-search-call .qs-1 { display: none; }
	html body .header.qs .q-search-call .qs-2 { display: block; }
}

/* shared search field (header + drawer) */
html body .q-search-box {
	position: relative;
	display: flex;
	align-items: center;
}
html body .q-search-text {
	width: 100%;
	height: 44px;
	padding: 0 3rem 0 1rem;
	font: inherit;
	font-size: .9375rem;
	color: var(--gma-text);
	background: var(--gma-surface-2);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	outline: none;
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
html body .q-search-text::placeholder { color: var(--gma-muted); }
html body .q-search-text { border-radius: var(--gma-radius) !important; }
html body .q-search-text:focus {
	background: var(--gma-surface);
	border-color: var(--gma-brand);
	box-shadow: var(--gma-focus);
}
html body .q-search-btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 9px;
	background: var(--gma-brand);
	color: var(--gma-brand-ink);
	cursor: pointer;
}
html body .q-search-btn:hover { background: var(--gma-brand-hover); }
html body .q-search-btn,
html body .q-search-btn:hover { color: var(--gma-brand-ink) !important; }
html body .q-search-btn svg { width: 20px; height: 20px; color: currentColor !important; }

/* mobile header + drawer */
@media (max-width: 991px) {
	html body .header-panel { justify-content: space-between; }
	html body .header-panel .logotype { margin: 0 auto 0 .25rem; }
	html body .menu-butter {
		order: -1;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border-radius: var(--gma-radius);
		color: var(--gma-text) !important;
	}
	html body .menu-butter:hover { background: var(--gma-surface-2); }
	html body .butterbrod { width: 20px; height: 14px; }
	html body .butterbrod > i { border-top-width: 2px; border-radius: 2px; }
	html body .q-search-call { display: none !important; }
	html body .gma-m-search { display: inline-flex !important; }

	html body .head-tools {
		background-color: rgba(8, 12, 18, .5);
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}
	html body .head-tools-panel {
		width: min(86vw, 22rem);
		min-height: 100%;
		padding: 1.25rem 1rem 2rem;
		background: var(--gma-surface);
		border-radius: 0;
		box-shadow: var(--gma-shadow-lg);
		transform: translateX(-100%);
		transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	}
	html.mm body .head-tools.open .head-tools-panel { transform: translateX(0); }
	html body .head-tools-panel::before { height: 2.75rem; }
	html body .menu-close {
		top: .75rem;
		right: .75rem;
		left: auto;
		margin: 0;
		width: 40px;
		height: 40px;
		border-radius: var(--gma-radius);
		background: var(--gma-surface-2) !important;
		color: var(--gma-text) !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		border: 0;
	}
	html body .q-search { margin-bottom: 1.25rem; padding-top: 0; }
	html body .q-search .q-search-box { flex-wrap: wrap; }
	html body .q-search .q-search-btn { top: auto; bottom: 4px; transform: none; }
	html body .q-search-label {
		position: static;
		display: block;
		flex: 0 0 100%;
		text-align: left;
		margin-bottom: .5rem;
		font-size: .75rem;
		font-weight: 700;
		letter-spacing: .06em;
		opacity: 1;
	}
	html body .hmenu { display: flex; flex-direction: column; gap: .25rem; margin: 0; }
	html body .hmenu > a {
		max-width: none;
		flex: 0 0 auto;
		width: 100%;
		padding: 0;
		color: var(--gma-text) !important;
		font-weight: 600;
		font-size: 1rem;
	}
	html body .hmenu > a > span,
	html body .hmenu > a span[itemprop="name"] {
		display: flex !important;
		align-items: center;
		gap: .875rem;
		padding: .625rem .75rem;
		text-align: left;
		border-radius: var(--gma-radius);
		background: transparent !important;
	}
	html body .hmenu > a:hover > span,
	html body .hmenu > a.active > span { background: var(--gma-surface-2) !important; }
	html body .hmenu > a .c-icon {
		display: inline-flex;
		margin: 0;
		min-width: 36px;
		max-width: 36px;
		height: 36px;
		padding: 0;
		align-items: center;
		justify-content: center;
	}
	html body .hmenu > a .c-icon > svg { width: 20px; height: 20px; }
	html body .hmenu > a .c-icon[class*="s-"] { background-color: var(--gma-surface-2) !important; color: var(--gma-text-2); }
	html body .hmenu > a.active .c-icon[class*="s-"] { background-color: var(--gma-brand-soft) !important; color: var(--gma-brand); }
	html body .hmenu > a.active > span { color: var(--gma-brand-text); }
}

/* colored icon tiles (section titles, menu) */
html body .c-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	max-width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 10px;
	box-shadow: none !important;
	background-image: none !important;
	vertical-align: middle;
}
html body .c-icon > svg { width: 18px; height: 18px; color: currentColor; }
html body .c-icon.s-green  { background-color: var(--gma-tint-green-bg) !important;  color: var(--gma-tint-green-fg); }
html body .c-icon.s-yellow { background-color: var(--gma-tint-yellow-bg) !important; color: var(--gma-tint-yellow-fg); }
html body .c-icon.s-blue   { background-color: var(--gma-tint-blue-bg) !important;   color: var(--gma-tint-blue-fg); }
html body .c-icon.s-purple { background-color: var(--gma-tint-purple-bg) !important; color: var(--gma-tint-purple-fg); }
html body .c-icon.s-red    { background-color: var(--gma-tint-red-bg) !important;    color: var(--gma-tint-red-fg); }

/* 04. PAGE HEADS ========================================================== */
html body .page-head-main,
html body .dark-head,
html body .page-head-cat {
	margin-top: 0 !important;
}

/* home hero */
html body .page-head-main {
	position: relative;
	overflow: visible;
	pointer-events: auto;
	text-align: center;
	padding: 2.5rem 1rem 1rem;
	margin-bottom: 1.5rem;
}
html.darktheme body div.page-head-main h1.title { color: var(--gma-text) !important; }
html body div.page-head-main h1.title {
	max-width: 40rem;
	margin: 0 auto;
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -.025em;
	color: var(--gma-text) !important;
	text-transform: none !important;
	text-wrap: balance;
}
html body .gma-hero-sub {
	max-width: 34rem;
	margin: .75rem auto 0;
	font-size: 1rem;
	color: var(--gma-muted);
}
html body .gma-hero-search {
	max-width: 36rem;
	margin: 1.5rem auto 0;
}
html body .gma-hero-search .q-search-text {
	height: 52px;
	padding-left: 1.125rem;
	font-size: 1rem;
	background: var(--gma-surface);
	border-color: var(--gma-border-strong);
	box-shadow: var(--gma-shadow);
}
html body .gma-hero-search .q-search-btn { width: 44px; height: 44px; right: 4px; border-radius: 10px; }
@media (min-width: 768px) {
	html body .page-head-main { padding: 3.5rem 1rem 1.5rem; }
	html body div.page-head-main h1.title { font-size: 2.5rem; }
	html body .gma-hero-sub { font-size: 1.0625rem; }
}
html body .page-head-main + .section { margin-top: 0; }

/* hero: soft brand glow + dot grid behind the heading */
html body .page-head-main {
	isolation: isolate;
	padding-top: 2.75rem;
}
html body .page-head-main::before {
	content: "";
	position: absolute;
	inset: -1rem 0 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(42rem 18rem at 50% 0%, color-mix(in srgb, var(--gma-brand) 14%, transparent), transparent 70%),
		radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--gma-text) 9%, transparent) 1px, transparent 0) 0 0 / 22px 22px;
	-webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
	mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
}
html body .gma-hero-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	border-radius: 16px;
	background: linear-gradient(145deg, var(--gma-grad-a) 0%, var(--gma-grad-b) 100%);
	color: #fff;
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--gma-brand) 65%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
html[data-accent="amber"] body .gma-hero-badge { color: #1f1600; }
html body .gma-hero-accent {
	color: var(--gma-brand-text);
	background: linear-gradient(90deg, var(--gma-grad-a), var(--gma-grad-b));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}


/* trending chips under the search box */
html body .gma-hero-trending {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	max-width: 40rem;
	margin: 1.125rem auto 0;
}
html body .gma-hero-trending-label {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	margin-right: .125rem;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--gma-muted);
}
html body .gma-hero-trending-label svg { color: var(--gma-brand); }
html body .gma-hero-trending .gma-chip { height: 32px; padding: 0 .875rem; font-size: .8125rem; }
@media (max-width: 559px) {
	html body .gma-hero-trending { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem; }
	html body .gma-hero-trending::-webkit-scrollbar { display: none; }
	html body .gma-hero-trending > * { flex: 0 0 auto; }
}

/* real numbers */
html body .gma-hero-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .25rem 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--gma-muted);
}
html body .gma-hero-stats li { display: inline-flex; align-items: center; gap: .3rem; list-style: none; }
html body .gma-hero-stats li + li::before {
	content: "";
	width: 4px;
	height: 4px;
	margin-right: 1rem;
	border-radius: 50%;
	background: var(--gma-border-strong);
}
html body .gma-hero-stats b { font-weight: 800; color: var(--gma-text); }
@media (max-width: 559px) {
	html body .gma-hero-stats { gap: .25rem .875rem; }
	html body .gma-hero-stats li + li::before { display: none; }
}

/* category / search / 404 heads */
html.darktheme body .page-head-cat { background: none !important; color: var(--gma-text); }
html body .page-head-cat {
	background: none !important;
	color: var(--gma-text);
	padding: 1.5rem 0 1.25rem;
}
html body .page-head-cat .wrp-min { padding-top: 0; max-width: var(--gma-container); }
html body .head-cat-title { display: flex; align-items: center; gap: 1rem; }
html body .head-cat-title .title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--gma-text);
}
@media (min-width: 768px) {
	html body .head-cat-title .title { font-size: 2rem; }
}
html body .head-cat-tools { margin-left: auto; }
html body .cat-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--gma-radius);
	border: 1px solid var(--gma-border);
	background: var(--gma-surface);
	color: var(--gma-text-2);
}
html body .cat-menu-list ul { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 0 0; margin: 0; }
html body .cat-menu-list li { list-style: none; margin: 0; padding: 0; width: auto; max-width: none; flex: 0 0 auto; }
html body .cat-menu-list a {
	display: inline-flex;
	padding: .5rem .875rem;
	border-radius: 999px;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	color: var(--gma-text-2);
	font-size: .875rem;
	font-weight: 600;
}
html body .cat-menu-list a:hover { border-color: var(--gma-brand); color: var(--gma-brand-text); }

html body .page-cat-bg { background: none; }
html body .page-cat-cont { margin-top: 0 !important; margin-bottom: 2.5rem; }

/* 04b. ARCHIVE HEAD (category / tag / developer: template/archive-head.php) == */
html body .gma-arch-head {
	width: 100%;
	max-width: var(--gma-container);
	margin: 0 auto;
	padding: 1rem 1rem 1.25rem;
}
@media (min-width: 640px) {
	html body .gma-arch-head { padding: 1.25rem 1.5rem 1.5rem; }
}
@media (min-width: 1024px) {
	html body .gma-arch-head { padding: 1.5rem 2rem 1.75rem; }
}
html body .gma-arch-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .875rem; }
html body .gma-arch-title h1 {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.025em;
	color: var(--gma-text);
}
@media (min-width: 768px) {
	html body .gma-arch-title h1 { font-size: 2.25rem; }
}
html body .gma-arch-count {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 .625rem;
	border-radius: 999px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text);
	font-size: .8125rem;
	font-weight: 700;
	white-space: nowrap;
}
html body .gma-arch-desc { max-width: 48rem; margin-top: .5rem; color: var(--gma-muted); font-size: .9375rem; line-height: 1.6; }
html body .gma-arch-desc p { margin: 0 0 .5em; }

/* category header card: icon + title + count + description */
html body .gma-arch-hero {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem;
	overflow: hidden;
	background:
		radial-gradient(28rem 10rem at 0% 0%, color-mix(in srgb, var(--gma-brand) 12%, transparent), transparent 70%),
		var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
	box-shadow: var(--gma-shadow-sm);
}
@media (min-width: 640px) {
	html body .gma-arch-hero { gap: 1.25rem; padding: 1.5rem 1.75rem; }
}
html body .gma-arch-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 15px;
	background: linear-gradient(145deg, var(--gma-grad-a), var(--gma-grad-b));
	color: #fff;
	box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--gma-brand) 70%, transparent);
}
html[data-accent="amber"] body .gma-arch-icon { color: #1f1600; }
html body .gma-arch-icon svg { width: 26px; height: 26px; }
@media (min-width: 640px) {
	html body .gma-arch-icon { width: 64px; height: 64px; border-radius: 18px; }
	html body .gma-arch-icon svg { width: 30px; height: 30px; }
}
html body .gma-arch-hero-text { min-width: 0; }
html body .gma-arch-hero .gma-arch-title h1 { font-size: 1.5rem; }
@media (min-width: 768px) {
	html body .gma-arch-hero .gma-arch-title h1 { font-size: 2rem; }
}
html body .gma-arch-hero .gma-arch-desc { margin-top: .25rem; font-size: .875rem; }
html body .gma-arch-hero .gma-arch-desc p:last-child { margin-bottom: 0; }

/* chips: one swipeable row with a soft fade at the edge */
html body .gma-arch-head .gma-arch-chips {
	flex-wrap: nowrap;
	overflow-x: auto;
	margin: 1rem -1rem 0;
	padding: .125rem 1rem .375rem;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
}
@media (min-width: 640px) {
	html body .gma-arch-head .gma-arch-chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 2.5rem; }
}
html body .gma-arch-head .gma-chip { height: 36px; padding: 0 .9rem; font-size: .8125rem; }

/* "Most popular in …" (page 1 of a category) */
html body .gma-arch-top { margin: 0 0 1.75rem; }
html body .gma-arch-top-title {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 .875rem !important;
	font-size: 1.0625rem !important;
	font-weight: 800 !important;
	color: var(--gma-text) !important;
}
html body .gma-arch-top-title svg { color: #f97316; }
html body .gma-arch-top-list { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 860px) {
	html body .gma-arch-top-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
html body .gma-arch-top-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: .875rem;
	padding: .875rem 1rem .875rem .875rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-sm);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
@media (hover: hover) {
	html body .gma-arch-top-card:hover { border-color: var(--gma-brand); box-shadow: var(--gma-shadow); transform: translateY(-2px); }
}
html body .gma-arch-top-card img { flex: 0 0 auto; width: 60px; height: 60px; border-radius: var(--gma-icon-radius); object-fit: cover; box-shadow: var(--gma-icon-shadow); }
html body .gma-arch-top-rank {
	position: absolute;
	top: -8px;
	left: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 .375rem;
	border-radius: 999px;
	background: var(--gma-brand);
	color: var(--gma-brand-ink);
	font-size: .75rem;
	font-weight: 800;
	box-shadow: 0 0 0 3px var(--gma-bg);
}
html body .gma-arch-top-text { display: flex; flex-direction: column; gap: .25rem; min-width: 0; flex: 1 1 auto; }
html body .gma-arch-top-text h3 { margin: 0 !important; font-size: .9375rem !important; font-weight: 700 !important; line-height: 1.35 !important; }
html body .gma-arch-top-text h3 a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--gma-text) !important;
	text-decoration: none !important;
}
html body .gma-arch-top-text h3 a::after { content: ""; position: absolute; inset: 0; }
html body .gma-arch-top-text span { font-size: .75rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-arch-top-go {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text);
	transition: background-color .15s ease, color .15s ease;
}
html body .gma-arch-top-card:hover .gma-arch-top-go { background: var(--gma-brand); color: var(--gma-brand-ink); }

html body .gma-arch-chips {
	display: flex;
	gap: .5rem;
	margin: 1.125rem -1rem 0;
	padding: .125rem 1rem .375rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
html body .gma-arch-chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
	html body .gma-arch-chips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}
html body .gma-chip {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	height: 38px;
	padding: 0 1rem;
	border: 1px solid var(--gma-border);
	border-radius: 999px;
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-size: .875rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
html body .gma-chip:hover { border-color: var(--gma-brand); color: var(--gma-brand-text) !important; }
html body .gma-chip.is-active {
	border-color: var(--gma-brand);
	background: var(--gma-brand);
	color: var(--gma-brand-ink) !important;
}

html body .gma-arch-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: 1.125rem;
	padding-top: 1rem;
	border-top: 1px solid var(--gma-border);
}
html body .gma-arch-page { font-size: .875rem; font-weight: 600; color: var(--gma-muted); }
@media (max-width: 479px) {
	html body .gma-arch-page { font-size: .75rem; white-space: nowrap; }
	html body .gma-arch-toolbar .gma-sort-item { padding: 0 .625rem; font-size: .8125rem; }
}
html body .gma-sort {
	display: inline-flex;
	gap: .25rem;
	margin-left: auto;
	padding: .25rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface-2);
}
html body .gma-sort-item {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 .875rem;
	border-radius: 9px;
	color: var(--gma-muted) !important;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: color .15s ease, background-color .15s ease;
}
html body .gma-sort-item:hover { color: var(--gma-text) !important; }
html body .gma-sort-item.is-active {
	background: var(--gma-surface);
	color: var(--gma-text) !important;
	box-shadow: var(--gma-shadow-sm);
}

html body .gma-arch-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .5rem;
	max-width: 32rem;
	margin: 1rem auto 2rem;
	padding: 2.5rem 1.5rem;
	text-align: center;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
}
html body .gma-arch-empty strong { font-size: 1.125rem; font-weight: 800; color: var(--gma-text); }
html body .gma-arch-empty span { font-size: .9375rem; color: var(--gma-muted); }
html body .gma-arch-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-top: .75rem; }
html body .gma-arch-empty-actions .btn { display: inline-flex; align-items: center; height: 42px; padding: 0 1.125rem; }

/* 04c. SEARCH PAGE (search.php) ============================================ */
html body .gma-search-head { padding-top: 1.5rem; }
html body .gma-search-big {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 44rem;
	margin: 0 0 1.25rem;
}
html body .gma-search-big-icon { position: absolute; left: 1rem; color: var(--gma-muted); pointer-events: none; }
html body .gma-search-big input {
	width: 100%;
	height: 56px;
	padding: 0 7.5rem 0 3rem;
	border: 1px solid var(--gma-border-strong) !important;
	border-radius: 14px !important;
	background: var(--gma-surface) !important;
	box-shadow: var(--gma-shadow-sm);
	color: var(--gma-text);
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 500;
	-webkit-appearance: none;
	appearance: none;
}
html body .gma-search-big input:focus { border-color: var(--gma-brand) !important; box-shadow: var(--gma-focus); outline: none; }
html body .gma-search-big input::-webkit-search-cancel-button { cursor: pointer; }
html body .gma-search-big-btn {
	position: absolute;
	right: 6px;
	height: 44px;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 10px;
	background: var(--gma-brand);
	color: var(--gma-brand-ink);
	font: inherit;
	font-size: .9375rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color .15s ease;
}
html body .gma-search-big-btn:hover { background: var(--gma-brand-hover); }
@media (max-width: 479px) {
	html body .gma-search-big input { padding-right: 5.75rem; font-size: 1rem; }
	html body .gma-search-big-btn { padding: 0 .875rem; }
}
html body .gma-search-head .gma-arch-title h1 { font-size: 1.5rem; overflow-wrap: anywhere; }
@media (min-width: 768px) {
	html body .gma-search-head .gma-arch-title h1 { font-size: 1.875rem; }
}
html body .gma-chip-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	margin: 0 -.375rem 0 .5rem;
	padding: 0 .375rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-muted);
	font-size: .6875rem;
	font-weight: 800;
}
html body .gma-chip.is-active .gma-chip-count { background: rgba(255, 255, 255, .22); color: inherit; }
html.darktheme body .gma-chip.is-active .gma-chip-count { background: rgba(0, 0, 0, .18); }

html body .gma-search-empty {
	max-width: 40rem;
	margin: .5rem 0 2rem;
	padding: 1.75rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
}
html body .gma-search-empty strong { display: block; margin-bottom: .5rem; font-size: 1.125rem; font-weight: 800; color: var(--gma-text); overflow-wrap: anywhere; }
html body .gma-search-empty > span { display: block; color: var(--gma-muted); }
html body .gma-search-empty ul { margin: .25rem 0 0; padding: 0 0 0 1.25rem; list-style: disc; color: var(--gma-text-2); font-size: .9375rem; line-height: 1.7; }
html body .gma-search-empty li { list-style: disc; margin: 0 0 .25rem; padding: 0; }
html body .gma-search-empty li::marker { color: var(--gma-brand); }
html body .gma-search-empty-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--gma-border); }
html body .gma-search-popular { margin-top: .5rem; }
html body .page-search-bg .entry-listpage { display: flex; flex-wrap: wrap; }

/* breadcrumbs */
html body .wrp-min.speedbar {
	max-width: var(--gma-container);
	padding: 1rem 1rem 0 !important;
}
@media (min-width: 640px) {
	html body .wrp-min.speedbar { padding: 1.25rem 1.5rem 0 !important; }
}
@media (min-width: 1024px) {
	html body .wrp-min.speedbar { padding: 1.25rem 2rem 0 !important; }
}
html body .view-app ~ * .speedbar,
html body .speedbar + #dle-content .speedbar { display: none; }
html body .speedbar-panel {
	display: block;
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0;
	color: var(--gma-muted) !important;
	font-size: .8125rem;
	font-weight: 500;
	line-height: 1.5;
	text-transform: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
html body .speedbar-panel a,
html body .breadcrumbs__link { color: var(--gma-text-2) !important; }
html body .speedbar-panel a:hover { color: var(--gma-brand-text) !important; }
html body .breadcrumbs__separator { padding: 0 .375rem; opacity: .6; }
html body .breadcrumbs__current { color: var(--gma-muted); }

/* 05. SECTIONS ============================================================ */
html body .section { margin-bottom: 2.5rem; }
@media (min-width: 1040px) {
	html body .section { margin-bottom: 3rem; }
}
html body .section-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
html body .section-title,
html body .b-head .section-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 1rem;
	font-size: 1.125rem;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -.015em;
	color: var(--gma-text);
}
html body .section-head .section-title { margin: 0 auto 0 0; }
html body .section-title > .c-icon { margin: 0; }
@media (min-width: 640px) {
	html body .section-title { font-size: 1.25rem; }
}
@media (min-width: 992px) {
	html body .section-title { font-size: 1.375rem; }
}

/* "View all" links */
html body .btn-all,
html body a.btn.btn-all {
	display: inline-flex !important;
	align-items: center;
	gap: .25rem;
	width: auto !important;
	height: 36px !important;
	padding: 0 .875rem !important;
	border-radius: 999px;
	background: var(--gma-surface) !important;
	background-image: none !important;
	border: 1px solid var(--gma-border);
	box-shadow: none !important;
	color: var(--gma-text-2) !important;
	font-size: .8125rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	transition: border-color .15s ease, color .15s ease;
}
html body .btn-all:hover,
html body a.btn.btn-all:hover { border-color: var(--gma-brand) !important; color: var(--gma-brand-text) !important; background: var(--gma-surface) !important; }
html body .btn-all > span { display: inline !important; }
html body .btn-all > svg { display: block !important; width: 16px; height: 16px; }
@media (max-width: 479px) {
	html body .btn-all > span { display: none !important; }
	html body .btn-all { padding: 0 !important; width: 36px !important; justify-content: center; }
}

/* generic buttons */
html body .btn {
	font-family: inherit;
	font-weight: 700;
	border-radius: var(--gma-radius);
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none !important;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
html body .btn.s-green,
html body .btn.s-button,
html body .btn.s-blue,
html body .btn.s-yellow:not(.btn-all) {
	background: var(--gma-brand) !important;
	background-image: none !important;
	color: var(--gma-brand-ink) !important;
	border: 1px solid transparent;
}
html body .btn.s-green:hover,
html body .btn.s-button:hover,
html body .btn.s-blue:hover { background: var(--gma-brand-hover) !important; }
html body .btn.s-yellow:not(.btn-all) {
	background: var(--gma-surface-2) !important;
	color: var(--gma-text) !important;
	border: 1px solid var(--gma-border);
}
html body .btn-border {
	background: transparent !important;
	border: 1px solid var(--gma-border-strong) !important;
	color: var(--gma-text) !important;
}
html body .btn-border:hover { border-color: var(--gma-text-2) !important; background: var(--gma-surface-2) !important; }

/* 06. APP CARDS ============================================================ */
html body .entry-list,
html body .entry-listpage { margin: -.375rem; }
html body .entry-list .entry,
html body .entry-listpage .entry { padding: .375rem; }
@media (min-width: 640px) {
	html body .entry-list,
	html body .entry-listpage { margin: -.5rem; }
	html body .entry-list .entry,
	html body .entry-listpage .entry { padding: .5rem; }
}

html body .entry-app > .item {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-sm);
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
html body .entry-app > .item::before,
html body .entry-app > .item::after { display: none !important; content: none !important; }
@media (hover: hover) {
	html body .entry-app > .item:hover {
		border-color: var(--gma-border-strong);
		box-shadow: var(--gma-shadow);
		transform: translateY(-2px);
	}
	html body .entry-app > .item:hover .img > img { transform: none; }
}

html body .entry-app .img {
	width: 72px;
	height: 72px;
	margin: 1.25rem auto .875rem;
	border-radius: var(--gma-icon-radius);
}
@media (min-width: 640px) {
	html body .entry-app .img { width: 84px; height: 84px; margin-top: 1.5rem; }
}
html body .entry-app .img > img,
html body .recom-post .img img,
html body .view-app-img .img img,
html body .b-nobugs-icon .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--gma-icon-radius);
	box-shadow: var(--gma-icon-shadow) !important;
	background: var(--gma-surface-2);
}

html body .entry-app .title {
	margin: 0 0 .25rem;
	padding: 0 .875rem;
	font-size: .875rem;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -.005em;
	color: var(--gma-text);
}
html body .entry-app .title > a,
html body .entry-app .title > a > span { color: inherit !important; }
html body .entry-app .title > a > span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: 2.7em;
	line-height: 1.35em;
}
html body .entry-app .item-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
@media (min-width: 640px) {
	html body .entry-app .title { font-size: .9375rem; }
}

html body .entry-app .genre,
html body span.genre.truncate {
	margin: 0 .875rem auto;
	font-size: .75rem;
	font-weight: 600;
	color: var(--gma-muted) !important;
}

html body .entry-app-info {
	display: flex;
	margin: .875rem 0 0;
	padding: 0;
	border-top: 1px solid var(--gma-border);
	color: var(--gma-muted);
	font-size: .6875rem;
	font-weight: 600;
}
html body .entry-app-info::before { display: none; }
html body .entry-app-info > li {
	list-style: none;
	flex: 1 1 50%;
	max-width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .25rem;
	padding: .625rem .375rem;
	min-width: 0;
}
html body .entry-app-info > li + li { border-left: 1px solid var(--gma-border); }
html body .entry-app-info > li svg {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0;
	flex: 0 0 auto;
	color: var(--gma-brand);
}
html body .entry-app-info > li .truncate {
	color: var(--gma-text-2) !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
html body .entry-app-info > li .truncate:empty::after { content: "—"; color: var(--gma-muted); }

/* labels: new / today / mod */
html body .entry-app .label,
html body .label {
	position: absolute;
	top: .625rem;
	left: .625rem;
	margin: 0;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	height: 20px;
	padding: 0 .5rem;
	font-size: .625rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1;
	text-transform: uppercase;
	border-radius: 999px;
	background: var(--gma-surface-2) !important;
	color: var(--gma-text-2) !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
html body .label::before {
	width: 6px;
	height: 6px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: currentColor;
	box-shadow: none !important;
}
html body .label-new { color: var(--gma-new) !important; background: color-mix(in srgb, var(--gma-new) 10%, transparent) !important; }
html body .label-updates,
html body .label-up { color: var(--gma-tint-blue-fg) !important; background: var(--gma-tint-blue-bg) !important; }

html body .img .post__modpaid {
	top: auto;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: auto;
	height: 18px;
	padding: 0 .4rem;
	border-radius: 999px;
	line-height: 18px;
	font-size: .5625rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
	box-shadow: 0 0 0 2px var(--gma-surface);
}

/* app card v2: one clean meta line (Android + version chip) */
html body .entry-app > .item { padding-bottom: .875rem; }
html body .entry-app .img { width: 76px; height: 76px; margin: 2.125rem auto 1rem; }
@media (min-width: 640px) {
	html body .entry-app .img { width: 88px; height: 88px; margin-top: 2.125rem; }
}
html body .entry-app .title { padding: 0 .875rem; }
html body .entry-app .genre,
html body .entry-app span.genre.truncate {
	display: block;
	margin: .125rem .875rem 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
html body .gma-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin: auto .875rem 0;
	padding-top: .875rem;
	font-size: .75rem;
	font-weight: 600;
	color: var(--gma-muted);
}
html body .gma-card-req { display: inline-flex; align-items: center; gap: .25rem; min-width: 0; white-space: nowrap; }
html body .gma-card-req svg { flex: 0 0 auto; color: var(--gma-brand); }
html body .gma-card-ver {
	min-width: 0;
	max-width: 62%;
	padding: .2rem .5rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
@media (hover: hover) {
	html body .entry-app > .item:hover .gma-card-ver { background: var(--gma-brand); color: var(--gma-brand-ink); }
	html body .entry-app > .item:hover .title { color: var(--gma-brand-text); }
}
/* status pill sits in the corner, away from the icon */
html body .entry-app .label { top: .625rem; left: .625rem; height: 19px; font-size: .5625rem; }
html body .entry-app .img .post__modpaid { bottom: -9px; }

/* grid columns */
html body .list-c6 .entry { max-width: 50%; flex: 0 0 50%; }
@media (min-width: 560px) {
	html body .list-c6 .entry { max-width: 33.3333%; flex: 0 0 33.3333%; }
}
@media (min-width: 860px) {
	html body .list-c6 .entry { max-width: 25%; flex: 0 0 25%; }
}
@media (min-width: 1100px) {
	html body .list-c6 .entry { max-width: 20%; flex: 0 0 20%; }
}
@media (min-width: 1280px) {
	html body .list-c6 .entry { max-width: 16.6666%; flex: 0 0 16.6666%; }
}
/* on the narrow app page (related / version lists) keep 4 per row max */
@media (min-width: 860px) {
	html body .view-app .list-c6 .entry,
	html body .section-related .list-c6 .entry { max-width: 25%; flex: 0 0 25%; }
}
@media (min-width: 860px) and (max-width: 1299px) {
	html body .section-related .list-c6 .entry { display: block; }
}

/* 07. POPULAR APPS STRIP =================================================== */
html body .recom-post {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	padding: 1.25rem 1rem 1rem;
	text-align: center;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-sm);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
html body .recom-post::before { display: none !important; }
@media (hover: hover) {
	html body .recom-post:hover { border-color: var(--gma-border-strong); box-shadow: var(--gma-shadow); transform: translateY(-2px); }
	html body .recom-post:hover .img img { transform: none; }
}
html body .recom-post .img { width: 88px; height: 88px; margin: 0; }
@media (min-width: 1140px) {
	html body .recom-post .img { width: 96px; height: 96px; }
}
html body .recom-post .title {
	margin: .875rem 0 0;
	padding: 0;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.35;
	max-width: 100%;
}
html body .recom-post .title a { color: var(--gma-text) !important; }
html body .recom-post .title .truncate {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal;
	overflow: hidden;
}
html body .recom-post .item-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
html body .recom-post-vers {
	position: absolute;
	top: .75rem;
	right: .75rem;
	left: auto;
	margin: 0;
	width: auto;
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: .25rem .5rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
	font-size: .75rem;
	font-weight: 700;
}
html body .recom-post-vers > svg { display: none; }
html body .recom-post-vers::before {
	content: "";
	width: 12px;
	height: 12px;
	background: var(--gma-star);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%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 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html body .recom-post-vers .truncate { color: var(--gma-text-2) !important; }
@media (min-width: 992px) {
	html body .recom-list { margin-top: -.5rem; }
}
@media (max-width: 991px) {
	html body .scroll-entry-list { margin: 0 -1rem; padding: 0; }
	html body .scroll-entry-list .entry-list {
		margin: 0;
		padding: .25rem 1rem .75rem;
		gap: .75rem;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 1rem;
		scrollbar-width: none;
	}
	html body .scroll-entry-list .entry-list::-webkit-scrollbar { display: none; }
	html body .scroll-entry-list .entry-list::before,
	html body .scroll-entry-list .entry-list::after { display: none !important; }
	html body .scroll-entry-list .entry { min-width: 10.5rem; padding: 0; scroll-snap-align: start; }
	html body .scroll-entry-list .entry-list { padding-top: .625rem; }
	html body .scroll-entry-list .recom-post::after { left: 0 !important; top: -5px !important; }
}
@media (min-width: 640px) and (max-width: 991px) {
	html body .scroll-entry-list { margin: 0 -1.5rem; }
	html body .scroll-entry-list .entry-list { padding-left: 1.5rem; padding-right: 1.5rem; scroll-padding: 0 1.5rem; }
}

/* Telegram call-to-action widget on the home page (inline-styled in the widget) */
html body .custom-html-widget > a[href*="t.me"] {
	display: inline-flex !important;
	align-items: center;
	gap: .625rem !important;
	padding: .75rem 1.125rem !important;
	border-radius: var(--gma-radius) !important;
	background: var(--gma-telegram-soft) !important;
	color: var(--gma-telegram) !important;
	border: 1px solid color-mix(in srgb, var(--gma-telegram) 25%, transparent);
	box-shadow: none !important;
	font-weight: 700 !important;
	font-size: .9375rem;
}
html body .custom-html-widget > a[href*="t.me"]:hover { background: color-mix(in srgb, var(--gma-telegram) 16%, transparent) !important; }

/* 08. HOME CATEGORIES ====================================================== */
html body .home-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .625rem;
}
@media (min-width: 560px) {
	html body .home-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
	html body .home-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	html body .home-categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
html body .home-categories > a {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: .75rem;
	min-height: 64px;
	margin: 0 !important;
	padding: .75rem .875rem !important;
	background: var(--gma-surface) !important;
	color: var(--gma-text) !important;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg) !important;
	text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
html body .home-categories > a:hover {
	border-color: var(--gma-brand) !important;
	box-shadow: var(--gma-shadow);
	transform: translateY(-1px);
}
html body .home-categories .gma-cat-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text);
	font-style: normal;
	transition: background-color .15s ease, color .15s ease;
}
html body .home-categories > a:hover .gma-cat-icon { background: var(--gma-brand); color: var(--gma-brand-ink); }
html body .home-categories .gma-cat-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
html body .home-categories .gma-cat-text > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .9375rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}
html body .home-categories .gma-cat-count {
	font-size: .75rem;
	font-weight: 600;
	color: var(--gma-muted);
}

/* home: latest news uses the article cards */
html body .section-news .gma-home-news { margin-top: .25rem; }

/* 09. NEWS CARDS =========================================================== */
html.darktheme body .dark-foot { background: var(--gma-surface) !important; border-radius: 0 !important; color: var(--gma-text); }
html body .dark-foot {
	padding-top: 2.5rem;
	margin-top: 1rem;
	background: var(--gma-surface) !important;
	border-top: 1px solid var(--gma-border);
	border-radius: 0 !important;
	color: var(--gma-text);
}
html body .dark-section { color: var(--gma-text); background-color: transparent; }
/* pages where the footer area holds only the footer (no "latest news" widget) */
html body .dark-foot:has(> .footer:first-child),
html.darktheme body .dark-foot:has(> .footer:first-child) {
	padding-top: 0;
	margin-top: 0;
	border-top: 0;
	background: transparent !important;
}

html body .entry-news > .item,
html body .dark-foot .entry-news > .item {
	background: var(--gma-surface) !important;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}
html body .dark-foot .entry-news > .item { background: var(--gma-bg) !important; }
html body .entry-news > .item:hover { border-color: var(--gma-border-strong); box-shadow: var(--gma-shadow); }
html body .entry-news .pic,
html body .dark-foot .entry-news .pic { background: var(--gma-surface-2) !important; }
html body .entry-news .pic::after,
html body .entry-news .fit-cover::after { display: none !important; }
html body .entry-news .title { font-size: 1.0625rem; font-weight: 800; line-height: 1.35; margin-bottom: .5rem; }
html body .entry-news .title a,
html body .entry-news .title a span { color: var(--gma-text) !important; }
html body .entry-news .item-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
html body .entry-news .description { color: var(--gma-muted); opacity: 1; font-size: .875rem; }
html body .meta { color: var(--gma-muted); font-size: .75rem; }
html body .meta-date,
html body .dark-foot .entry-news .meta-date {
	padding: .2rem .5rem;
	border-radius: 999px;
	background: var(--gma-surface-2) !important;
	color: var(--gma-text-2) !important;
	font-weight: 700;
}
html body .meta-view { display: inline-flex; align-items: center; gap: .25rem; }
html body .meta-view svg { width: 14px; height: 14px; }

/* news archive (archive-news.php) */
html body .news-archive-wrap { background: transparent !important; padding: 1.5rem 0 3rem; }
html body .news-archive-inner { max-width: var(--gma-container); padding: 0 1rem; }
@media (min-width: 640px) {
	html body .news-archive-inner { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
	html body .news-archive-inner { padding: 0 2rem; }
}

html body .news-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1rem;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--gma-muted);
}
html body .news-breadcrumb a { color: var(--gma-text-2); display: inline-flex; }
html body .news-breadcrumb svg { width: 16px; height: 16px; fill: currentColor; }
html body .news-breadcrumb .sep { color: var(--gma-muted); }
html body .news-section-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--gma-text);
}
@media (min-width: 768px) {
	html body .news-section-title { font-size: 2rem; }
}
html body .news-section-title .title-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--gma-tint-yellow-bg);
	color: var(--gma-tint-yellow-fg);
	font-size: 1.125rem;
}
html body .news-card-grid { gap: 1rem; }
@media (min-width: 640px) {
	html body .news-card-grid { gap: 1.25rem; }
}
html body .news-card {
	position: relative;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-sm);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
html body .news-card:hover { border-color: var(--gma-border-strong); box-shadow: var(--gma-shadow); transform: translateY(-2px); }
html body .news-card:hover .news-card-img img { transform: none; }
html body .news-card-img { background: var(--gma-surface-2); }
html body .news-card-badge {
	background: var(--gma-surface);
	color: var(--gma-text-2);
	font-weight: 700;
	font-size: .625rem;
	letter-spacing: .06em;
	box-shadow: var(--gma-shadow-sm);
}
html body .news-card-body { padding: 1rem 1.125rem 1.25rem; }
html body .news-card-date {
	color: var(--gma-muted);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}
html body .news-card-title { font-size: 1.0625rem; font-weight: 800; line-height: 1.35; color: var(--gma-text); }
html body .news-card-title a { color: var(--gma-text); }
html body .news-card-title a::after { content: ""; position: absolute; inset: 0; }
html body .news-card-title a:hover { color: var(--gma-brand-text); }
html body .news-card-excerpt { color: var(--gma-muted); font-size: .875rem; }
html body .news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .75rem;
	border-radius: var(--gma-radius);
	border: 1px solid var(--gma-border);
	background: var(--gma-surface);
	color: var(--gma-text-2);
	box-shadow: none;
	font-weight: 700;
}
html body .news-pagination .page-numbers:hover { border-color: var(--gma-brand); color: var(--gma-brand-text); }
html body .news-pagination .page-numbers.current { background: var(--gma-brand); border-color: var(--gma-brand); color: var(--gma-brand-ink); }

/* 09b. NEWS / BLOG (template/news-*.php) ================================== */
html body #ez-toc-container,
html body .ez-toc-widget-container { display: none !important; }

html body .gma-news-wrap { padding-bottom: 2.5rem; }
html body .gma-news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 640px) {
	html body .gma-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
	html body .gma-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

html body .gma-news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-sm);
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
@media (hover: hover) {
	html body .gma-news-card:hover { border-color: var(--gma-border-strong); box-shadow: var(--gma-shadow); transform: translateY(-2px); }
}
html body .gma-news-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--gma-surface-2);
}
html body .gma-news-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .gma-news-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--gma-brand);
	background:
		radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--gma-brand) 16%, transparent) 0%, transparent 60%),
		radial-gradient(90% 90% at 100% 100%, color-mix(in srgb, var(--gma-tint-blue-fg) 12%, transparent) 0%, transparent 60%),
		var(--gma-surface-2);
}
html body .gma-news-ph svg { opacity: .55; }
html body .gma-news-body { display: flex; flex-direction: column; gap: .5rem; flex: 1 1 auto; padding: 1rem 1.125rem 1.125rem; }
html body .gma-news-top { display: flex; align-items: center; gap: .625rem; font-size: .75rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-news-cat {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 .5rem;
	border-radius: 999px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text) !important;
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none !important;
}
html body .gma-news-title { margin: 0; font-size: 1.0625rem; font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
html body .gma-news-title a { color: var(--gma-text) !important; text-decoration: none !important; }
html body .gma-news-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
html body .gma-news-card:hover .gma-news-title a { color: var(--gma-brand-text) !important; }
html body .gma-news-excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .875rem;
	line-height: 1.55;
	color: var(--gma-muted);
}
html body .gma-news-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .25rem; font-size: .75rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-news-more { display: inline-flex; align-items: center; gap: .25rem; color: var(--gma-brand-text); font-weight: 800; font-size: .875rem; }

/* phones: compact rows (thumbnail left) for everything except the featured card */
@media (max-width: 639px) {
	html body .gma-news-grid { gap: .75rem; }
	html body .gma-news-card:not(.is-featured) { flex-direction: row; align-items: flex-start; }
	html body .gma-news-card:not(.is-featured) .gma-news-media {
		flex: 0 0 96px;
		width: 96px;
		aspect-ratio: 1;
		margin: .875rem 0 .875rem .875rem;
		border-radius: var(--gma-radius);
	}
	html body .gma-news-card:not(.is-featured) .gma-news-ph svg { width: 28px; height: 28px; }
	html body .gma-news-card:not(.is-featured) .gma-news-body { gap: .375rem; padding: .875rem; min-width: 0; }
	html body .gma-news-card:not(.is-featured) .gma-news-title {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: .9375rem;
	}
	html body .gma-news-card:not(.is-featured) .gma-news-excerpt { display: none; }
	html body .gma-news-card:not(.is-featured) .gma-news-top { gap: .5rem; flex-wrap: wrap; }
}

/* featured (newest) article */
html body .gma-news-card.is-featured { margin-bottom: 1.25rem; }
html body .gma-news-card.is-featured .gma-news-title { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.02em; }
html body .gma-news-card.is-featured .gma-news-excerpt { -webkit-line-clamp: 3; font-size: .9375rem; }
@media (max-width: 767px) {
	html body .gma-news-card.is-featured .gma-news-media.is-ph { aspect-ratio: 21 / 9; }
}
@media (min-width: 768px) {
	html body .gma-news-card.is-featured { flex-direction: row; }
	html body .gma-news-card.is-featured .gma-news-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
	html body .gma-news-card.is-featured .gma-news-body { justify-content: center; padding: 2rem; gap: .75rem; }
	html body .gma-news-card.is-featured .gma-news-title { font-size: 1.75rem; }
	html body .gma-news-card.is-featured .gma-news-meta { margin-top: .5rem; }
}

/* pagination (paginate_links) */
html body .gma-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; margin-top: 2rem; }
html body .gma-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .75rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-weight: 700;
	text-decoration: none !important;
}
html body .gma-pagination a.page-numbers:hover { border-color: var(--gma-brand); color: var(--gma-brand-text) !important; }
html body .gma-pagination .page-numbers.current { background: var(--gma-brand); border-color: var(--gma-brand); color: var(--gma-brand-ink) !important; }
html body .gma-pagination .page-numbers.dots { border: 0; background: none; }

/* generated cover for articles without a featured image (accent colours) */
html body .gma-news-media.is-ph { background: var(--gma-brand); }
html body .gma-news-cover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .625rem;
	padding: 1.125rem 1.25rem;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b));
}
html[data-accent="amber"] body .gma-news-cover { color: #1f1600; }
html body .gma-news-cover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .9;
}
html body .gma-news-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(0, 0, 0, .18), transparent 60%);
}
html body .gma-cover-v0::before { background: radial-gradient(rgba(255, 255, 255, .22) 1.5px, transparent 1.7px) 0 0 / 18px 18px; -webkit-mask-image: linear-gradient(120deg, transparent 20%, #000); mask-image: linear-gradient(120deg, transparent 20%, #000); }
html body .gma-cover-v1::before { background: repeating-radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .14) 0 2px, transparent 2px 26px); }
html body .gma-cover-v2::before { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .09) 0 14px, transparent 14px 28px); }
html body .gma-cover-v3 { background: linear-gradient(200deg, var(--gma-grad-a), var(--gma-grad-b)); }
html body .gma-cover-v3::before { background: radial-gradient(circle at 85% 30%, rgba(255, 255, 255, .25) 0 14%, transparent 14.5%), radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .12) 0 22%, transparent 22.5%); }
html body .gma-cover-art {
	position: absolute;
	right: -6%;
	bottom: -14%;
	z-index: -1;
	width: 58%;
	max-width: 240px;
	aspect-ratio: 1;
	opacity: .2;
	transform: rotate(-12deg);
	transition: transform .6s var(--gma-ease-out, ease);
}
html body .gma-cover-art svg { display: block; width: 100%; height: 100%; }
@media (hover: hover) {
	html body .gma-news-card:hover .gma-cover-art { transform: rotate(-4deg) scale(1.06); }
}
html body .gma-cover-tag {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	height: 26px;
	padding: 0 .625rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .2);
	border: 1px solid rgba(255, 255, 255, .3);
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
}
html[data-accent="amber"] body .gma-cover-tag { background: rgba(0, 0, 0, .08); border-color: rgba(0, 0, 0, .15); }
html body .gma-cover-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 85%;
	margin-top: auto;
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.015em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
html body .gma-cover-brand { font-size: .75rem; font-weight: 800; letter-spacing: .02em; opacity: .85; }
html body .gma-news-card.is-featured .gma-news-cover { padding: 1.5rem 1.75rem; gap: .875rem; }
html body .gma-news-card.is-featured .gma-cover-title { font-size: 1.5rem; }
@media (min-width: 768px) {
	html body .gma-news-card.is-featured .gma-cover-title { font-size: 2rem; max-width: 80%; }
	html body .gma-news-card.is-featured .gma-news-media.is-ph { min-height: 320px; }
}
@media (max-width: 767px) {
	html body .gma-news-card.is-featured .gma-news-media.is-ph { aspect-ratio: 16 / 9; }
	html body .gma-news-card.is-featured .gma-cover-title { display: none; }
	html body .gma-news-card.is-featured .gma-cover-brand { margin-top: auto; }
	html body .gma-news-card.is-featured .gma-cover-art { width: 46%; right: 4%; bottom: -10%; opacity: .28; }
}
/* phone list rows: small square thumbnail shows just the icon */
@media (max-width: 639px) {
	html body .gma-news-card:not(.is-featured) .gma-news-cover { align-items: center; justify-content: center; padding: 0; }
	html body .gma-news-card:not(.is-featured) .gma-cover-tag,
	html body .gma-news-card:not(.is-featured) .gma-cover-title,
	html body .gma-news-card:not(.is-featured) .gma-cover-brand { display: none; }
	html body .gma-news-card:not(.is-featured) .gma-cover-art { position: static; width: 44%; opacity: .95; transform: none; z-index: 0; }
}

/* a lone card in the last row is laid out like a wide row */
@media (min-width: 768px) {
	html body .gma-news-grid > .gma-news-card:only-child { grid-column: 1 / -1; flex-direction: row; }
	html body .gma-news-grid > .gma-news-card:only-child .gma-news-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
	html body .gma-news-grid > .gma-news-card:only-child .gma-news-body { justify-content: center; padding: 1.5rem 1.75rem; }
	html body .gma-news-grid > .gma-news-card:only-child .gma-news-title { font-size: 1.375rem; }
}

/* blog header + "explore apps" call to action */
html body .gma-blog-hero {
	background:
		radial-gradient(30rem 12rem at 100% 0%, color-mix(in srgb, var(--gma-grad-b) 14%, transparent), transparent 70%),
		radial-gradient(28rem 10rem at 0% 0%, color-mix(in srgb, var(--gma-brand) 12%, transparent), transparent 70%),
		var(--gma-surface);
}
html body .gma-news-head { margin-bottom: 1.5rem; }
html body .gma-blog-cta {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.125rem 1.25rem;
	border-radius: var(--gma-radius-xl);
	background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b));
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 16px 32px -18px color-mix(in srgb, var(--gma-brand) 70%, transparent);
	transition: transform .25s var(--gma-ease-out, ease), box-shadow .25s ease;
}
html[data-accent="amber"] body .gma-blog-cta { color: #1f1600 !important; }
@media (hover: hover) {
	html body .gma-blog-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px color-mix(in srgb, var(--gma-brand) 80%, transparent); }
}
html body .gma-blog-cta-ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .2);
}
html body .gma-blog-cta-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1 1 auto; }
html body .gma-blog-cta-text strong { font-size: 1.0625rem; font-weight: 800; }
html body .gma-blog-cta-text span { font-size: .875rem; opacity: .9; }
html body .gma-blog-cta-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	height: 42px;
	padding: 0 1.125rem;
	border-radius: 999px;
	background: #fff;
	color: color-mix(in srgb, var(--gma-brand) 65%, #000);
	font-size: .875rem;
	font-weight: 800;
}
@media (max-width: 639px) {
	html body .gma-blog-cta { flex-wrap: wrap; }
	html body .gma-blog-cta-btn { width: 100%; justify-content: center; }
}

/* single article */
html body .gma-article { width: 100%; max-width: 48rem; margin: 0 auto; padding: 0 1rem 1rem; }
@media (min-width: 640px) {
	html body .gma-article { padding: 0 1.5rem 1rem; }
}
html body .wrp-min.speedbar:has(+ .gma-article) { max-width: 48rem; }
html body .gma-article-head { padding: 1.25rem 0 1.25rem; }
html body .gma-article-title {
	margin: .75rem 0 0;
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.025em;
	color: var(--gma-text);
}
@media (min-width: 768px) {
	html body .gma-article-title { font-size: 2.5rem; }
}
html body .gma-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .375rem .875rem;
	margin-top: 1rem;
	font-size: .875rem;
	font-weight: 500;
	color: var(--gma-muted);
}
html body .gma-article-meta > * + *::before { content: "·"; margin-right: .875rem; color: var(--gma-border-strong); }
html body .gma-article-author { display: inline-flex; align-items: center; gap: .5rem; color: var(--gma-text); font-weight: 700; }
html body .gma-article-author::before { display: none; }
@media (max-width: 639px) {
	html body .gma-article-author { flex-basis: 100%; }
	html body .gma-article-author + *::before { display: none; }
}
html body .gma-article-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--gma-surface-2); }
html body .gma-article-cover { margin: 0 0 1.25rem; overflow: hidden; border-radius: var(--gma-radius-xl); background: var(--gma-surface-2); }
html body .gma-article-cover img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
html body .gma-article-ad { margin-bottom: 1rem; text-align: center; overflow: hidden; }
html body .gma-article-card {
	padding: 1.25rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
	box-shadow: var(--gma-shadow-sm);
}
@media (min-width: 640px) {
	html body .gma-article-card { padding: 2rem 2.25rem; }
}
html body .gma-article-body { display: block !important; }
html body .gma-article-edit { margin: 1rem 0 0; font-size: .8125rem; }

/* share */
html body .gma-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1rem;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--gma-border);
}
html body .gma-share-label { font-size: .9375rem; font-weight: 800; color: var(--gma-text); }
html body .gma-share-list { display: flex; flex-wrap: wrap; gap: .5rem; }
html body .gma-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	min-width: 40px;
	height: 40px;
	padding: 0 .625rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none !important;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
html body .gma-share-whatsapp:hover { border-color: #25D366; color: #1da851 !important; background: rgba(37, 211, 102, .08); }
html body .gma-share-telegram:hover { border-color: #229ED9; color: #1c8cc2 !important; background: rgba(34, 158, 217, .08); }
html body .gma-share-x:hover { border-color: var(--gma-text); color: var(--gma-text) !important; }
html body .gma-share-facebook:hover { border-color: #1877F2; color: #1877F2 !important; background: rgba(24, 119, 242, .08); }
html body .gma-share-copy:hover,
html body .gma-share-copy.is-copied { border-color: var(--gma-brand); color: var(--gma-brand-text) !important; background: var(--gma-brand-soft); }

/* previous / next */
html body .gma-article-nav { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 1rem; }
@media (min-width: 640px) {
	html body .gma-article-nav { grid-template-columns: 1fr 1fr; }
}
html body .gma-article-nav-item {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: 1rem 1.125rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	text-decoration: none !important;
	transition: border-color .15s ease;
}
html body .gma-article-nav-item:hover { border-color: var(--gma-brand); }
html body .gma-article-nav-item.is-next { text-align: right; }
html body .gma-article-nav-item span { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gma-muted); }
html body .gma-article-nav-item b { font-size: .9375rem; font-weight: 700; line-height: 1.4; color: var(--gma-text); }
html body .gma-article-comments { margin-top: 1rem; }
html body .gma-article-comments .block { margin-top: 1rem; }
html body .gma-article-related { margin-top: 1rem; }

/* 10. APP PAGE (single.php, template/app-*.php) ============================ */

/* layout: one column; from 1100px the "App info" card becomes a sticky sidebar */
html body .gma-app-layout {
	width: calc(100% - 1.5rem);
	max-width: calc(var(--gma-reading) - 4rem);
	margin: .25rem auto 2rem;
}
@media (min-width: 640px) {
	html body .gma-app-layout { width: calc(100% - 3rem); }
}
@media (min-width: 1100px) {
	html body .gma-app-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		grid-template-rows: repeat(16, auto);
		column-gap: 1.75rem;
		row-gap: 0;
		align-items: start;
		width: calc(100% - 4rem);
		max-width: 76rem;
	}
	html body .gma-app-layout > * { grid-column: 1; min-width: 0; }
	html body .gma-app-layout > .gma-app-aside {
		grid-column: 2;
		grid-row: 1 / -1;
		position: sticky;
		top: calc(var(--gma-header-h) + 1rem);
		margin-top: 1rem;
	}
}
/* breadcrumbs line up with the layout */
html body .wrp-min.speedbar.gma-app-speedbar { max-width: calc(var(--gma-reading) - 4rem); width: calc(100% - 1.5rem); padding-left: 0 !important; padding-right: 0 !important; }
@media (min-width: 640px) {
	html body .wrp-min.speedbar.gma-app-speedbar { width: calc(100% - 3rem); }
}
@media (min-width: 1100px) {
	html body .wrp-min.speedbar.gma-app-speedbar { width: calc(100% - 4rem); max-width: 76rem; }
}

/* hero card */
html body .gma-app-hero {
	margin-top: 1rem;
	padding: 1.25rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
	box-shadow: var(--gma-shadow-sm);
	color: var(--gma-text);
}
@media (min-width: 640px) {
	html body .gma-app-hero { padding: 1.75rem 2rem 2rem; }
}
html body .gma-app-id { display: flex; align-items: flex-start; gap: 1rem; }
@media (min-width: 640px) {
	html body .gma-app-id { gap: 1.5rem; align-items: center; }
}
html body .gma-app-icon {
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border-radius: var(--gma-icon-radius);
	object-fit: cover;
	background: var(--gma-surface-2);
	box-shadow: var(--gma-icon-shadow);
}
@media (min-width: 640px) {
	html body .gma-app-icon { width: 112px; height: 112px; }
}
html body .gma-app-headline { min-width: 0; flex: 1 1 auto; }
html body .gma-app-title {
	margin: 0;
	padding: 0;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.02em;
	color: var(--gma-text) !important;
	overflow-wrap: anywhere;
}
@media (min-width: 640px) {
	html body .gma-app-title { font-size: 1.75rem; }
}
html body .gma-app-by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .125rem .5rem;
	margin: .5rem 0 0;
	font-size: .875rem;
	font-weight: 600;
	color: var(--gma-muted);
}
html body .gma-app-by > * + *::before { content: "·"; margin-right: .5rem; color: var(--gma-border-strong); }
@media (max-width: 639px) {
	html body .gma-app-by { flex-direction: column; align-items: flex-start; }
	html body .gma-app-by > * + *::before { display: none; }
}
html body .gma-app-dev { color: var(--gma-brand-text) !important; font-weight: 700; text-decoration: none !important; }
html body .gma-app-cat { color: var(--gma-text-2) !important; text-decoration: none !important; }
html body .gma-app-dev:hover,
html body .gma-app-cat:hover { text-decoration: underline !important; }
html body .gma-app-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin: .625rem 0 0; }
html body .gma-app-tag {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	height: 24px;
	padding: 0 .5rem;
	border-radius: 999px;
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
}
html body .gma-app-tag.is-mod { background: var(--gma-brand-soft); color: var(--gma-brand-text); }

/* key facts: one row with dividers, swipes sideways on small phones */
html body .gma-app-stats {
	display: flex;
	margin: 1.25rem -1.25rem 0;
	padding: .25rem 1.25rem;
	overflow-x: auto;
	scrollbar-width: none;
	border-top: 1px solid var(--gma-border);
	border-bottom: 1px solid var(--gma-border);
}
html body .gma-app-stats::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
	html body .gma-app-stats {
		margin: 1.5rem 0 0;
		padding: .75rem 0;
		border: 1px solid var(--gma-border);
		border-radius: var(--gma-radius-lg);
		background: var(--gma-surface-2);
	}
}
html body .gma-app-stat {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: flex-end;
	gap: .125rem;
	flex: 1 0 auto;
	min-width: 5.5rem;
	padding: .5rem .875rem;
	text-align: center;
}
html body .gma-app-stat + .gma-app-stat { border-left: 1px solid var(--gma-border); }
html body .gma-app-stat dt {
	margin: 0;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-app-stat dd {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	font-size: .9375rem;
	font-weight: 800;
	color: var(--gma-text);
	white-space: nowrap;
}
html body .gma-app-stat.is-rating dd svg { color: var(--gma-star); }

/* actions */
html body .gma-app-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.25rem; }
html body .gma-app-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	height: 52px;
	padding: 0 1.5rem;
	border: 0;
	border-radius: var(--gma-radius);
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
	font-size: 1rem;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gma-brand) 70%, transparent);
	transition: background-color .15s ease, transform .15s ease;
}
html body .gma-app-cta:hover { background: var(--gma-brand-hover) !important; transform: translateY(-1px); }
html body .gma-app-cta small {
	padding: .2rem .5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .2);
	font-size: .75rem;
	font-weight: 700;
}
html.darktheme body .gma-app-cta small { background: rgba(0, 0, 0, .16); }
html body .gma-app-hero .gma-app-cta { flex: 1 1 100%; }
@media (min-width: 640px) {
	html body .gma-app-hero .gma-app-cta { flex: 0 0 auto; min-width: 15rem; }
}
html body .gma-app-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	height: 48px;
	margin: 0 !important;
	padding: 0 1.125rem;
	border: 1px solid var(--gma-border-strong) !important;
	border-radius: var(--gma-radius);
	background: var(--gma-surface) !important;
	color: var(--gma-text) !important;
	font: inherit;
	font-size: .9375rem;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
html body .gma-app-btn:hover { background: var(--gma-surface-2) !important; }
html body .gma-app-hero .gma-app-btn { flex: 1 1 auto; }
html body .gma-app-btn--icon { flex: 0 0 48px !important; width: 48px; padding: 0; }
@media (min-width: 640px) {
	html body .gma-app-hero .gma-app-cta,
	html body .gma-app-hero .gma-app-btn { height: 52px; }
	html body .gma-app-hero .gma-app-btn { flex: 0 0 auto; }
	html body .gma-app-btn--icon { flex-basis: 52px !important; width: 52px; }
}

/* app page: Share button + share card */
html body .gma-share-pop { position: relative; display: flex; }
html body .gma-app-hero .gma-share-pop { flex: 1 1 auto; }
@media (min-width: 640px) {
	html body .gma-app-hero .gma-share-pop { flex: 0 0 auto; }
}
html body .gma-app-btn.gma-app-share {
	width: 100%;
	gap: .5rem;
	border-color: transparent !important;
	background: var(--gma-brand-soft) !important;
	color: var(--gma-brand-text) !important;
}
html body .gma-app-btn.gma-app-share:hover,
html body .gma-share-pop.is-open .gma-app-share { background: var(--gma-brand) !important; color: var(--gma-brand-ink) !important; }
html body .gma-share-card {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 60;
	width: min(320px, calc(100vw - 2rem));
	padding: 1rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px) scale(.98);
	transform-origin: top right;
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
html body .gma-share-pop.is-open .gma-share-card {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .15s ease, transform .15s ease, visibility 0s;
}
html body .gma-share-card-title {
	margin: 0 0 .875rem !important;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-share-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
html body .gma-share-net {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .375rem;
	padding: .375rem 0;
	border-radius: var(--gma-radius);
	color: var(--gma-text-2) !important;
	font-size: .75rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color .15s ease;
}
html body .gma-share-net:hover { background: var(--gma-surface-2); }
html body .gma-share-net-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	background: #6b7280;
	transition: transform .15s ease;
}
html body .gma-share-net:hover .gma-share-net-ico { transform: translateY(-2px); }
html body .gma-share-net--whatsapp .gma-share-net-ico { background: #25d366; }
html body .gma-share-net--telegram .gma-share-net-ico { background: #229ed9; }
html body .gma-share-net--x .gma-share-net-ico { background: #0f1419; }
html.darktheme body .gma-share-net--x .gma-share-net-ico { background: #e7e9ea; color: #0f1419; }
html body .gma-share-net--facebook .gma-share-net-ico { background: #1877f2; }
html body .gma-share-copyrow {
	display: flex;
	align-items: center;
	gap: .5rem;
	width: 100%;
	margin-top: .875rem;
	padding: .375rem .375rem .375rem .75rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface-2);
	font: inherit;
	cursor: pointer;
	text-align: left;
}
html body .gma-share-copyrow-url {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .8125rem;
	color: var(--gma-muted);
}
html body .gma-share-copyrow-btn {
	flex: 0 0 auto;
	padding: .4rem .75rem;
	border-radius: 8px;
	background: var(--gma-brand);
	color: var(--gma-brand-ink);
	font-size: .8125rem;
	font-weight: 700;
}
html body .gma-share-copyrow.is-copied .gma-share-copyrow-btn { background: var(--gma-text); color: var(--gma-surface); }

/* telegram link under the actions */
html body .gma-app-hero > br { display: none; }
html body .tele-join { margin: 1rem 0 0; }
html body .tele-join a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
	margin: 0 !important;
	padding: .75rem 1rem !important;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--gma-telegram) !important;
	background: var(--gma-telegram-soft) !important;
	border: 1px solid color-mix(in srgb, var(--gma-telegram) 22%, transparent);
	border-radius: var(--gma-radius) !important;
	white-space: normal;
}
html body .tele-join a:hover { background: color-mix(in srgb, var(--gma-telegram) 16%, transparent) !important; }
html body .tele-join a svg { width: 18px !important; height: 18px !important; top: 0 !important; fill: currentColor !important; }

html body .gma-app-ad { margin-top: 1rem; text-align: center; overflow: hidden; }

/* screenshots (Google Play extractor): one swipeable row */
html body .b-screens .b-cont { padding-top: 0; }
html body .b-screens .screenshots {
	display: flex !important;
	gap: .625rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: .25rem;
}
html body .b-screens .screenshots a { flex: 0 0 auto; scroll-snap-align: start; }
html body .b-screens .screenshots img {
	display: block;
	height: 220px;
	width: auto;
	max-width: none !important;
	border-radius: var(--gma-radius);
	border: 1px solid var(--gma-border);
}

/* "App info" card */
html body .gma-app-aside { margin-top: 1rem; }
html body .gma-app-side {
	padding: 1.25rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
	box-shadow: var(--gma-shadow-sm);
}
@media (min-width: 640px) and (max-width: 1099px) {
	html body .gma-app-side { padding: 1.75rem 2rem; }
}
html body .gma-app-side-head,
html body .gma-app-side-cta { display: none !important; }
@media (min-width: 1100px) {
	html body .gma-app-side { box-shadow: var(--gma-shadow); }
	html body .gma-app-side-head { display: flex !important; align-items: center; gap: .75rem; }
	html body .gma-app-side-head img { flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--gma-icon-radius); object-fit: cover; }
	html body .gma-app-side-head div { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
	html body .gma-app-side-head strong {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: .9375rem;
		font-weight: 800;
		line-height: 1.3;
		color: var(--gma-text);
	}
	html body .gma-app-side-head span { font-size: .8125rem; font-weight: 600; color: var(--gma-muted); }
	html body .gma-app-side-cta { display: flex !important; width: 100%; height: 48px; margin: 1rem 0 1.25rem; }
}
html body .gma-app-info-title {
	margin: 0 0 .5rem !important;
	padding: 0 !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	color: var(--gma-text) !important;
}
html body .gma-app-info { margin: 0; }
html body .gma-app-info > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: .625rem 0;
	border-top: 1px solid var(--gma-border);
	font-size: .875rem;
}
html body .gma-app-info > div:first-child { border-top: 0; }
html body .gma-app-info dt { flex: 0 0 auto; margin: 0; font-weight: 600; color: var(--gma-muted); }
html body .gma-app-info dd { margin: 0; min-width: 0; text-align: right; font-weight: 700; color: var(--gma-text); overflow-wrap: anywhere; }
html body .gma-app-info dd a { color: var(--gma-brand-text) !important; text-decoration: none !important; }
html body .gma-app-info dd a:hover { text-decoration: underline !important; }
html body .gma-app-info dd a svg { vertical-align: -2px; }
html body .gma-app-info code {
	padding: .125rem .375rem;
	border-radius: 6px;
	background: var(--gma-surface-2);
	font-size: .75rem;
	font-weight: 600;
	color: var(--gma-text-2);
}

/* phones: sticky download bar */
html body .gma-app-bar {
	position: fixed;
	left: .75rem;
	right: .75rem;
	bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .5rem .5rem .5rem .625rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(calc(100% + 1rem));
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s linear .25s;
}
html body .gma-app-bar.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, visibility 0s;
}
html body .gma-app-bar img { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--gma-icon-radius); object-fit: cover; }
html body .gma-app-bar-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
html body .gma-app-bar-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; font-weight: 800; color: var(--gma-text); }
html body .gma-app-bar-text span { font-size: .75rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-app-bar .gma-app-cta { flex: 0 0 auto; height: 44px; padding: 0 1.125rem; font-size: .9375rem; box-shadow: none; }
@media (min-width: 640px) {
	html body .gma-app-bar { width: min(32rem, calc(100% - 3rem)); margin: 0 auto; }
}
@media (min-width: 1100px) {
	html body .gma-app-bar { display: none; }
}
@media (max-width: 1099px) {
	html body:has(.gma-app-bar) .gma-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
	html body.gma-app-bar-on .upper.scrollup { bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important; }
}

/* toast (share / copy feedback) */
html body .gma-toast {
	position: fixed;
	left: 50%;
	bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
	z-index: 1000;
	max-width: calc(100% - 2rem);
	padding: .625rem 1rem;
	border-radius: 999px;
	background: var(--gma-text);
	color: var(--gma-bg);
	font-size: .875rem;
	font-weight: 700;
	box-shadow: var(--gma-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, .5rem);
	transition: opacity .2s ease, transform .2s ease;
}
html body .gma-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
html body.gma-app-bar-on .gma-toast { bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }

/* the description card and everything below it use the layout width */
html body .gma-app-layout > .block { margin-top: 1rem; }

/* 11. CONTENT BLOCKS / ARTICLE ============================================= */
html.darktheme body .block { background: var(--gma-surface) !important; color: var(--gma-text); }
html body .block,
html body .dark-section .block {
	background: var(--gma-surface) !important;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
	box-shadow: var(--gma-shadow-sm);
	margin-top: 1rem;
	color: var(--gma-text);
}
html body .b-cont,
html body .b-head,
html body .b-icon-title { padding: 1.25rem; }
@media (min-width: 640px) {
	html body .b-cont,
	html body .b-head,
	html body .b-icon-title { padding: 1.75rem 2rem; }
}

/* tabs */
html body .b-tabs {
	display: flex;
	gap: .25rem;
	padding: 0 1.25rem;
	border-bottom: 1px solid var(--gma-border);
	overflow-x: auto;
	scrollbar-width: none;
}
@media (min-width: 640px) {
	html body .b-tabs { padding: 0 2rem; }
}
html body .b-tabs::-webkit-scrollbar { display: none; }
html body .b-tabs .tab-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 52px;
	line-height: 1;
	padding: 0 .75rem;
	margin: 0;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--gma-muted) !important;
	background: none !important;
	border: 0;
	white-space: nowrap;
	opacity: 1;
}
html body .b-tabs .tab-item::before { display: none !important; }
html body .b-tabs .tab-item::after,
html body .b-tabs .tab-item.active::after {
	content: "";
	position: absolute;
	top: auto;
	left: .75rem;
	right: .75rem;
	bottom: -1px;
	width: auto;
	height: 2px;
	margin: 0;
	border: 0 !important;
	border-radius: 2px;
	background: var(--gma-brand);
	box-shadow: none;
	opacity: 0;
	transform: none;
}
html body .b-tabs .tab-item:hover { color: var(--gma-text) !important; }
html body .b-tabs .tab-item.active { color: var(--gma-text) !important; }
html body .b-tabs .tab-item.active::after { opacity: 1; }

/* article typography (.text is used by app pages, news and static pages) */
html body .text,
html body .tab-pane.text {
	font-size: 1rem !important;
	line-height: 1.75 !important;
	color: var(--gma-text-2) !important;
	padding: 0 !important;
	overflow-wrap: anywhere;
}
@media (min-width: 768px) {
	html body .text { font-size: 1.0625rem !important; }
}
html body .text > :first-child { margin-top: 0 !important; }
html body .text p {
	margin: 0 0 1.1em !important;
	color: var(--gma-text-2) !important;
	line-height: 1.75 !important;
	background: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}
html body .text h1,
html body .text h2,
html body .text h3,
html body .text h4,
html body .text h5 {
	display: block !important;
	margin: 2em 0 .6em !important;
	padding: 0 !important;
	color: var(--gma-text) !important;
	background: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: -.015em;
	scroll-margin-top: calc(var(--gma-header-h) + 16px);
}
html body .text h2::before,
html body .text h3::before { content: none !important; display: none !important; }
html body .text h1 { font-size: 1.75em !important; }
html body .text h2 { font-size: 1.45em !important; }
html body .text h3 { font-size: 1.22em !important; }
html body .text h4 { font-size: 1.06em !important; font-weight: 700 !important; }
html body .text h5 { font-size: 1em !important; font-weight: 700 !important; }
html body .text h2:last-of-type { background: none !important; box-shadow: none !important; }

html body .text strong,
html body .text b { color: var(--gma-text) !important; font-weight: 700; }
html body .text p strong { color: var(--gma-text) !important; }
html body .text em { color: inherit !important; }
html body .text a {
	color: var(--gma-brand-text) !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, var(--gma-brand-text) 40%, transparent);
}
html body .text a:hover { text-decoration-color: currentColor; }

/* lists: real bullets instead of boxed rows */
html body .text ul,
html body .text ol {
	margin: 0 0 1.25em !important;
	padding: 0 0 0 1.4em !important;
	list-style: none !important;
}
html body .text ol { list-style: decimal !important; }
html body .text ol > li::marker { color: var(--gma-brand-text); font-weight: 700; }
html body .text ul > li,
html body .text ol > li {
	position: relative;
	margin: 0 0 .5em !important;
	padding: 0 0 0 .2em !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: var(--gma-text-2) !important;
	font-size: inherit !important;
	box-shadow: none !important;
}
html body .text ul > li::before {
	content: "";
	position: absolute;
	left: -1.05em;
	top: .72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gma-brand);
}
html body .text li > p { margin: 0 !important; }

/* tables */
html body .text table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	margin: 1.25em 0 1.5em;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	font-size: .9375em;
	line-height: 1.5;
	-webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) {
	html body .text table { display: table; }
}
html body .text th,
html body .text td {
	padding: .75em 1em;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--gma-border);
	color: var(--gma-text-2);
	min-width: 8rem;
}
html body .text tr:last-child > td { border-bottom: 0; }
html body .text thead td,
html body .text thead th,
html body .text th {
	background: var(--gma-surface-2);
	color: var(--gma-text);
	font-weight: 700;
}
html body .text tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--gma-surface-2) 55%, transparent); }

html body .text blockquote {
	margin: 1.5em 0;
	padding: 1em 1.25em;
	border-left: 3px solid var(--gma-brand);
	background: var(--gma-surface-2);
	border-radius: 0 var(--gma-radius) var(--gma-radius) 0;
	color: var(--gma-text);
}
html body .text code {
	padding: .15em .4em;
	border-radius: 6px;
	background: var(--gma-surface-2) !important;
	color: var(--gma-text) !important;
	font-size: .875em !important;
}
html body .text img { border-radius: var(--gma-radius); }
html body .text iframe { max-width: 100%; border-radius: var(--gma-radius); }
html body .text hr { margin: 2em 0; }

/* table of contents (built by template/loop/content.php) */
html body .gma-toc {
	margin: 0 0 2rem;
	padding: 0;
	background: var(--gma-surface-2);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: none;
	overflow: hidden;
}
html body .gma-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: .875rem 1.125rem;
	background: none;
	border: 0;
	font: inherit;
	color: var(--gma-text);
	cursor: pointer;
	text-align: left;
}
html body .gma-toc-header-left { display: flex; align-items: center; gap: .625rem; font-weight: 800; font-size: .9375rem; color: var(--gma-text); }
html body .gma-toc-header-left svg { width: 18px; height: 18px; fill: var(--gma-brand); }
html body .gma-toc-toggle {
	font-size: .8125rem;
	font-weight: 700;
	color: var(--gma-brand-text);
	background: none;
	padding: 0;
}
html body .gma-toc-body { padding: 0 .625rem .75rem; }
html body .gma-toc-list {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	counter-reset: none;
}
html body .gma-toc-list li {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}
html body .gma-toc-list li::before { display: none !important; }
html body .gma-toc-list li a {
	display: flex;
	align-items: baseline;
	gap: .625rem;
	padding: .45rem .5rem;
	border: 0;
	border-radius: var(--gma-radius-sm);
	background: none !important;
	color: var(--gma-text-2) !important;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none !important;
}
html body .gma-toc-list li a:hover { background: var(--gma-surface) !important; color: var(--gma-brand-text) !important; }
html body .gma-toc-list li.gma-toc-sub a { padding-left: 2.125rem; font-weight: 500; }
html body .gma-toc-num {
	flex: 0 0 auto;
	min-width: 1.25rem;
	height: auto;
	padding: 0;
	background: none !important;
	color: var(--gma-muted);
	font-size: .8125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	display: inline;
}
html body .gma-toc-sub .gma-toc-num { display: none; }

/* table of contents v2: spaced from the tabs, icon chip, section count, chevron */
html body .gma-toc {
	margin: 1.5rem 0 2rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	transition: border-color .2s ease, box-shadow .2s ease;
}
html body .gma-toc:hover,
html body .gma-toc.is-open { border-color: color-mix(in srgb, var(--gma-brand) 35%, var(--gma-border)); }
html body .gma-toc.is-open { box-shadow: var(--gma-shadow-sm); }
html body .gma-toc-header { gap: .875rem; padding: .875rem 1rem; }
html body .gma-toc-ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--gma-brand-soft);
}
html body .gma-toc-ico svg { width: 20px; height: 20px; fill: var(--gma-brand); }
html body .gma-toc-header-left { flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: .0625rem; min-width: 0; }
html body .gma-toc-header-left b { font-size: .9375rem; font-weight: 800; color: var(--gma-text); }
html body .gma-toc-header-left small { font-size: .75rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-toc-toggle {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	height: 32px;
	padding: 0 .5rem 0 .75rem !important;
	border-radius: 999px;
	background: var(--gma-surface-2) !important;
	color: var(--gma-brand-text);
	font-size: .8125rem;
	font-weight: 800;
}
html body .gma-toc-toggle svg { width: 18px; height: 18px; fill: currentColor; transition: transform .25s var(--gma-ease-out, ease); }
html body .gma-toc.is-open .gma-toc-toggle svg { transform: rotate(180deg); }
html body .gma-toc-body { padding: .25rem .75rem .875rem; border-top: 1px solid var(--gma-border); }
html body .gma-toc.is-open .gma-toc-body { animation: gma-toc-in .3s var(--gma-ease-out, ease); }
@keyframes gma-toc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html body .gma-toc-list { padding-top: .5rem !important; }
html body .gma-toc-list li a { align-items: center; padding: .5rem .5rem; }
html body .gma-toc-list li a:hover { background: var(--gma-surface-2) !important; }
html body .gma-toc-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	border-radius: 7px;
	background: var(--gma-surface-2) !important;
	color: var(--gma-brand-text);
	font-size: .75rem;
	font-weight: 800;
}
html body .gma-toc-list li a:hover .gma-toc-num { background: var(--gma-brand) !important; color: var(--gma-brand-ink); }
html body .gma-toc-list li.gma-toc-sub a { padding-left: 2.75rem; font-size: .875rem; }

/* "read more" spoilers / accordions */
html body details.ac summary { cursor: pointer; }
html body .showH { color: var(--gma-text-2); }

/* 12. DOWNLOAD BLOCK (template/loop/download.php) ========================== */
html body .gma-dlb { padding: 1.25rem; scroll-margin-top: calc(var(--gma-header-h) + 16px); }
@media (min-width: 640px) {
	html body .gma-dlb { padding: 1.75rem 2rem 2rem; }
}
html body .gma-dlb-head { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; }
html body .gma-dlb-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: var(--gma-icon-radius); object-fit: cover; background: var(--gma-surface-2); }
html body .gma-dlb-head-text { min-width: 0; }
html body .gma-dlb-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1.0625rem !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	color: var(--gma-text) !important;
	overflow-wrap: anywhere;
}
@media (min-width: 640px) {
	html body .gma-dlb-title { font-size: 1.1875rem !important; }
}
html body .gma-dlb-meta { margin: .25rem 0 0 !important; font-size: .8125rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-dlb-ad { margin: 0 0 1rem; text-align: center; overflow: hidden; }

html body .gma-dlb-mod {
	margin: 0 0 1rem;
	padding: .875rem 1rem;
	border-radius: var(--gma-radius);
	background: var(--gma-brand-soft);
	color: var(--gma-text-2);
	font-size: .9375rem;
	line-height: 1.6;
}
html body .gma-dlb-mod-title {
	display: flex;
	align-items: center;
	gap: .375rem;
	margin-bottom: .25rem;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--gma-brand-text);
}
html body .gma-dlb-mod-body > :last-child { margin-bottom: 0 !important; }
html body .gma-dlb-mod-body p { margin: 0 0 .5em; }
html body .gma-dlb-mod-body ul,
html body .gma-dlb-mod-body ol { margin: .25rem 0 0; padding-left: 1.25rem; }
html body .gma-dlb-mod-body ul li { list-style: disc; }
html body .gma-dlb-mod-body ol li { list-style: decimal; }

html body .gma-dlb-more { margin: .5rem 0 0; }
html body .gma-dlb > .gma-dlb-more { margin: 0 0 1rem; }
html body .gma-dlb-more summary {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-size: .875rem;
	font-weight: 700;
	color: var(--gma-brand-text);
	cursor: pointer;
	list-style: none;
}
html body .gma-dlb-more summary::-webkit-details-marker { display: none; }
html body .gma-dlb-more summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .15s ease;
}
html body .gma-dlb-more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
html body .gma-dlb-more > div { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--gma-text-2); }
html body .gma-dlb-note { margin: -.25rem 0 .25rem .25rem; }

/* options reuse the download page list (.gma-dl-option); on the app page the label reads "Download" */
html body .gma-dlb-options .gma-dl-option { text-decoration: none !important; }
html body .gma-dlb-options .gma-dl-option-text b {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	white-space: normal;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
html body .gma-dlb-options .gma-dl-option-go {
	flex: 0 0 auto;
	padding: .3rem .75rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-text);
	font-size: .8125rem;
	font-weight: 800;
}
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go { background: rgba(255, 255, 255, .2); color: inherit; opacity: 1; }
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go { background: rgba(0, 0, 0, .16); }
@media (max-width: 380px) {
	html body .gma-dlb-options .gma-dl-option-go { display: none; }
}

html body .gma-dlb-empty {
	display: flex;
	flex-direction: column;
	gap: .25rem;
	padding: 1rem;
	border: 1px dashed var(--gma-border-strong);
	border-radius: var(--gma-radius);
	text-align: center;
	font-size: .875rem;
	color: var(--gma-muted);
}
html body .gma-dlb-empty strong { font-size: .9375rem; color: var(--gma-text); }

html body .gma-dlb-safe { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gma-border); }
html body .gma-dlb-safe summary {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .875rem;
	font-weight: 700;
	color: var(--gma-text-2);
	cursor: pointer;
	list-style: none;
}
html body .gma-dlb-safe summary::-webkit-details-marker { display: none; }
html body .gma-dlb-safe summary svg { color: var(--gma-brand); }
html body .gma-dlb-safe summary:hover { color: var(--gma-text); }
html body .gma-dlb-safe-body { margin-top: .625rem; font-size: .875rem; line-height: 1.65; color: var(--gma-muted); }
html body .gma-dlb-safe-body p { margin: 0; }

/* download block v2: chips, quiet mod card, gradient main button */
html body .gma-dlb-head { align-items: flex-start; }
html body .gma-dlb-icon { width: 60px; height: 60px; box-shadow: 0 6px 16px -10px rgba(16, 24, 40, .45); }
html body .gma-dlb-chips { display: flex; flex-wrap: wrap; gap: .375rem; margin: .5rem 0 0 !important; padding: 0 !important; list-style: none; }
html body .gma-dlb-chips li {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	height: 26px;
	margin: 0 !important;
	padding: 0 .625rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
	font-size: .75rem;
	font-weight: 700;
	list-style: none !important;
}
html body .gma-dlb-chips li::before { display: none !important; }
html body .gma-dlb-chips svg { color: var(--gma-muted); }

html body .gma-dlb-mod {
	display: flex;
	gap: .75rem;
	padding: .875rem 1rem;
	border: 1px solid var(--gma-border);
	border-left: 3px solid var(--gma-brand);
	border-radius: var(--gma-radius);
	background: var(--gma-surface-2);
	color: var(--gma-text);
}
html body .gma-dlb-mod-ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand);
}
html body .gma-dlb-mod-main { min-width: 0; flex: 1 1 auto; }
html body .gma-dlb-mod-title { margin: 0 0 .125rem; color: var(--gma-muted); font-size: .6875rem; letter-spacing: .08em; }
html body .gma-dlb-mod-body { font-size: .9375rem; font-weight: 700; line-height: 1.5; color: var(--gma-text); }

html body .gma-dlb-options { gap: .625rem; }
html body .gma-dlb-options .gma-dl-option {
	position: relative;
	gap: .875rem;
	min-height: 72px;
	padding: .875rem 1rem .875rem .875rem;
	border-radius: 16px;
	overflow: hidden;
}
html body .gma-dlb-options .gma-dl-option-icon {
	position: relative;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 13px;
}
html body .gma-dlb-options .gma-dl-option-icon b {
	position: absolute;
	left: 50%;
	bottom: -5px;
	transform: translateX(-50%);
	padding: 1px 5px;
	border-radius: 5px;
	background: var(--gma-surface);
	color: var(--gma-brand-text);
	font-size: .5625rem;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1.3;
	box-shadow: 0 1px 3px rgba(16, 24, 40, .18);
}
html body .gma-dlb-options .gma-dl-option-text { gap: .3rem; }
html body .gma-dlb-options .gma-dl-option-text b { font-size: 1rem; font-weight: 800; -webkit-line-clamp: 2; }
html body .gma-dl-option-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
html body .gma-dl-option-meta i {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	height: 20px;
	padding: 0 .5rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	font-size: .6875rem;
	font-style: normal;
	font-weight: 700;
	color: var(--gma-text-2);
}
html body .gma-dlb-options .gma-dl-option-go,
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	border-radius: 50%;
	background: var(--gma-surface-2);
	color: var(--gma-brand-text);
	opacity: 1;
	transition: transform .25s var(--gma-ease-out, ease), background-color .2s ease;
}
@media (hover: hover) {
	html body .gma-dlb-options .gma-dl-option:hover .gma-dl-option-go { transform: translateY(2px); }
}
/* secondary mirrors: quiet outlined rows */
html body .gma-dlb-options .gma-dl-option:not(.is-primary):hover { border-color: color-mix(in srgb, var(--gma-brand) 45%, var(--gma-border)); background: var(--gma-surface); box-shadow: var(--gma-shadow-sm); }
/* main mirror: accent gradient with a soft sheen */
html body .gma-dlb-options .gma-dl-option.is-primary {
	background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b));
	color: #fff !important;
	box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--gma-brand) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
html[data-accent="amber"] body .gma-dlb-options .gma-dl-option.is-primary { color: #1f1600 !important; }
html body .gma-dlb-options .gma-dl-option.is-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%);
	pointer-events: none;
}
html body .gma-dlb-options .gma-dl-option.is-primary:hover { background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b)); filter: saturate(1.08) brightness(1.03); }
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-icon,
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-icon { background: rgba(255, 255, 255, .22); color: inherit; }
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i { background: rgba(255, 255, 255, .2); color: inherit; }
html[data-accent="amber"] body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i { background: rgba(0, 0, 0, .1); }
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go { background: #fff; color: color-mix(in srgb, var(--gma-brand) 75%, #000); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .3); }

html body .gma-dlb-safe { padding-top: .875rem; }
html body .gma-dlb-safe summary { display: flex; width: 100%; padding: .625rem .75rem; margin: 0 -.75rem; width: calc(100% + 1.5rem); border-radius: var(--gma-radius); transition: background-color .15s ease; }
html body .gma-dlb-safe summary:hover { background: var(--gma-surface-2); }
html body .gma-dlb-safe summary > span { flex: 1 1 auto; }
html body .gma-dlb-safe summary svg { flex: 0 0 auto; color: #16a34a; }
html body .gma-dlb-safe summary::after {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin-right: .25rem;
	border-right: 2px solid var(--gma-muted);
	border-bottom: 2px solid var(--gma-muted);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
html body .gma-dlb-safe[open] summary::after { transform: rotate(-135deg); }

/* stand-alone download pages (template/file.php, template/download.php) */
html body .page-cdn-back > a { gap: .75rem; font-weight: 700; color: var(--gma-text-2); }
html body .page-cdn-back .c-icon {
	margin: 0 !important;
	width: 40px;
	min-width: 40px;
	height: 40px;
	border-radius: var(--gma-radius);
	background: var(--gma-surface) !important;
	border: 1px solid var(--gma-border);
	color: var(--gma-text) !important;
}
html body .page-cdn-back .c-icon svg { width: 20px; height: 20px; }
html body .page-cdn .cdn-img .img img { border-radius: var(--gma-icon-radius); box-shadow: var(--gma-shadow); }
html body .page-cdn .title { color: var(--gma-text); font-weight: 800; letter-spacing: -.015em; }
html body .page-cdn .cdn-meta { color: var(--gma-muted); font-weight: 700; }
html body .page-cdn .download-btn-group { justify-content: center; width: 100%; }
html body .page-cdn .download-btn { width: 100%; max-width: 22rem; justify-content: center; }
html body .page-cdn .download-btn > a { display: block; width: 100%; }
html body .page-cdn .download-btn .btn,
html body .page-cdn .download-btn input[type="button"] {
	width: 100%;
	height: 54px;
	padding: 0 2rem;
	border: 0;
	border-radius: 14px;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 800;
	cursor: pointer;
}
html body .page-cdn .md5 { color: var(--gma-muted); }

/* 12b. DOWNLOAD PAGE (template/file.php) =================================== */
html body.gma-dl-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
html body .gma-dl-top {
	display: flex;
	align-items: center;
	gap: .75rem;
	width: 100%;
	max-width: 42rem;
	margin: 0 auto;
	padding: 1rem 1rem .5rem;
}
html body .gma-dl-back {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	height: 40px;
	padding: 0 .875rem 0 .625rem;
	border: 1px solid var(--gma-border);
	border-radius: 999px;
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease;
}
html body .gma-dl-back:hover { border-color: var(--gma-border-strong); color: var(--gma-text) !important; }
html body .gma-dl-logo { display: inline-flex; margin: 0 auto; text-decoration: none !important; }
html body .gma-dl-logo .gma-logo-mark { width: 32px; height: 32px; }
html body .gma-dl-logo .gma-logo-text { font-size: 1.125rem; }
html body .gma-dl-top .gma-theme-toggle { display: inline-flex !important; }
@media (max-width: 479px) {
	html body .gma-dl-back span { display: none; }
	html body .gma-dl-back { width: 40px; padding: 0; justify-content: center; }
}

html body .gma-dl {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	max-width: 42rem;
	margin: 0 auto;
	padding: .5rem 1rem 2rem;
	flex: 1 0 auto;
}
html body .gma-dl-card,
html body .gma-dl-steps {
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-xl);
	box-shadow: var(--gma-shadow-sm);
	padding: 1.25rem;
}
@media (min-width: 640px) {
	html body .gma-dl-card,
	html body .gma-dl-steps { padding: 1.75rem; }
}

html body .gma-dl-app { display: flex; align-items: center; gap: 1rem; }
html body .gma-dl-icon {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: var(--gma-icon-radius);
	object-fit: cover;
	background: var(--gma-surface-2);
	box-shadow: var(--gma-icon-shadow);
}
@media (min-width: 640px) {
	html body .gma-dl-icon { width: 88px; height: 88px; }
}
html body .gma-dl-app-text { min-width: 0; }
html body .gma-dl-title {
	margin: 0;
	font-size: 1.1875rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -.015em;
	color: var(--gma-text);
}
@media (min-width: 640px) {
	html body .gma-dl-title { font-size: 1.375rem; }
}
html body .gma-dl-file {
	margin: .25rem 0 0;
	font-size: .875rem;
	font-weight: 500;
	color: var(--gma-muted);
	overflow-wrap: anywhere;
}

html body .gma-dl-chips {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .5rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 559px) {
	html body .gma-dl-chips li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 560px) {
	html body .gma-dl-chips { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
}
html body .gma-dl-chips li {
	display: flex;
	flex-direction: column;
	gap: .125rem;
	min-width: 0;
	margin: 0;
	padding: .625rem .75rem;
	border-radius: var(--gma-radius);
	background: var(--gma-surface-2);
}
html body .gma-dl-chips span {
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-dl-chips b {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--gma-text);
}
html body .gma-dl-mod {
	margin: .75rem 0 0;
	padding: .75rem 1rem;
	border-radius: var(--gma-radius);
	background: var(--gma-brand-soft);
	color: var(--gma-text-2);
	font-size: .875rem;
	line-height: 1.5;
}
html body .gma-dl-mod b { color: var(--gma-brand-text); font-weight: 800; margin-right: .25rem; }

/* countdown */
html body .gma-dl-wait {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1.25rem;
	padding: 1.25rem;
	border-radius: var(--gma-radius-lg);
	background: var(--gma-surface-2);
}
html body .gma-dl-wait[hidden],
html body .gma-dl-ready[hidden] { display: none; }
html body .gma-dl-ring { position: relative; flex: 0 0 auto; width: 76px; height: 76px; }
html body .gma-dl-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
html body .gma-dl-ring circle { fill: none; stroke-width: 9; }
html body .gma-dl-ring-track { stroke: var(--gma-border); }
html body .gma-dl-ring-bar { stroke: var(--gma-brand); stroke-linecap: round; }
html body .gma-dl-count {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--gma-text);
}
html body .gma-dl-wait-text { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
html body .gma-dl-wait-text strong { font-size: 1rem; font-weight: 800; color: var(--gma-text); }
html body .gma-dl-wait-text span { font-size: .875rem; color: var(--gma-muted); }

/* ready */
html body .gma-dl-ready { margin-top: 1.25rem; }
html body .gma-dl-ready.is-in .gma-dl-btn { animation: gma-dl-pop .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes gma-dl-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
html body .gma-dl-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .625rem;
	width: 100%;
	min-height: 56px;
	padding: .75rem 1.25rem;
	border: 0;
	border-radius: 14px;
	background: var(--gma-brand);
	color: var(--gma-brand-ink) !important;
	font-size: 1.0625rem;
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gma-brand) 60%, transparent);
	transition: background-color .15s ease, transform .15s ease;
}
html body .gma-dl-btn:hover { background: var(--gma-brand-hover); transform: translateY(-1px); }
html body .gma-dl-btn svg { flex: 0 0 auto; }
html body .gma-dl-btn small {
	margin-left: .375rem;
	padding: .2rem .5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .2);
	font-size: .75rem;
	font-weight: 700;
	vertical-align: 1px;
}
html.darktheme body .gma-dl-btn small { background: rgba(0, 0, 0, .18); }
html body .gma-dl-btn--ghost {
	min-height: 46px;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border-strong);
	color: var(--gma-text) !important;
	box-shadow: none;
	font-size: .9375rem;
}
html body .gma-dl-btn--ghost:hover { background: var(--gma-surface-2); }
html body .gma-dl-note { margin: .625rem 0 0; text-align: center; font-size: .8125rem; color: var(--gma-muted); }
html body .gma-dl-error {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	margin-top: 1.25rem;
	padding: 1.25rem;
	border-radius: var(--gma-radius-lg);
	background: var(--gma-tint-red-bg);
	text-align: center;
}
html body .gma-dl-error strong { font-size: 1rem; color: var(--gma-text); }
html body .gma-dl-error span { font-size: .875rem; color: var(--gma-text-2); margin-bottom: .25rem; }

/* download options list (template/download.php) */
html body .gma-dl-options { display: flex; flex-direction: column; gap: .625rem; }
html body .gma-dl-option {
	display: flex;
	align-items: center;
	gap: .875rem;
	min-height: 64px;
	padding: .75rem .875rem .75rem .75rem;
	border: 1px solid var(--gma-border);
	border-radius: 14px;
	background: var(--gma-surface);
	color: var(--gma-text) !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}
html body .gma-dl-option:hover { border-color: var(--gma-brand); background: var(--gma-surface-2); }
html body .gma-dl-option-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand);
}
html body .gma-dl-option-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1 1 auto; }
html body .gma-dl-option-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; font-weight: 700; }
html body .gma-dl-option-text span { font-size: .8125rem; font-weight: 500; color: var(--gma-muted); }
html body .gma-dl-option-go { display: flex; color: var(--gma-muted); }
html body .gma-dl-option.is-primary {
	border-color: transparent;
	background: var(--gma-brand);
	color: var(--gma-brand-ink) !important;
	box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gma-brand) 60%, transparent);
}
html body .gma-dl-option.is-primary:hover { background: var(--gma-brand-hover); transform: translateY(-1px); }
html body .gma-dl-option.is-primary .gma-dl-option-icon { background: rgba(255, 255, 255, .2); color: inherit; }
html.darktheme body .gma-dl-option.is-primary .gma-dl-option-icon { background: rgba(0, 0, 0, .15); }
html body .gma-dl-option.is-primary .gma-dl-option-text span,
html body .gma-dl-option.is-primary .gma-dl-option-go { color: inherit; opacity: .85; }
html body .gma-dl-ready.is-in .gma-dl-option { animation: gma-dl-pop .28s cubic-bezier(.2, .8, .2, 1) both; }
html body .gma-dl-ready.is-in .gma-dl-option:nth-of-type(2) { animation-delay: .04s; }
html body .gma-dl-ready.is-in .gma-dl-option:nth-of-type(3) { animation-delay: .08s; }
html body .gma-dl-ready.is-in .gma-dl-option:nth-of-type(n+4) { animation-delay: .12s; }
html body .gma-dl-option-note {
	margin: .25rem 0 -.125rem;
	font-size: .8125rem;
	line-height: 1.5;
	color: var(--gma-text-2);
}
html body .gma-dl-option-note p { margin: 0; }

/* install steps */
html body .gma-dl-steps h2 { margin: 0 0 1rem; font-size: 1.0625rem; font-weight: 800; color: var(--gma-text); }
html body .gma-dl-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: gma-step; display: grid; gap: .875rem; }
html body .gma-dl-steps li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .125rem;
	margin: 0;
	padding-left: 2.75rem;
	min-height: 32px;
	counter-increment: gma-step;
}
html body .gma-dl-steps li::before {
	content: counter(gma-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text);
	font-size: .875rem;
	font-weight: 800;
}
html body .gma-dl-steps li b { font-size: .9375rem; font-weight: 700; color: var(--gma-text); }
html body .gma-dl-steps li span { font-size: .875rem; line-height: 1.5; color: var(--gma-muted); }
html body .gma-dl-help { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--gma-border); font-size: .875rem; color: var(--gma-muted); }
html body .gma-dl-help a { font-weight: 700; color: var(--gma-brand-text) !important; }

html body .gma-dl-ad { text-align: center; overflow: hidden; }
html body .gma-dl .tele-join { margin: 0; }
html body .gma-dl-foot { padding: 1.25rem 1rem 1.75rem; text-align: center; }
html body .gma-dl-foot .copyright,
html body .gma-dl-foot .copyright p { margin: 0; padding: 0; font-size: .8125rem; font-weight: 500; color: var(--gma-muted) !important; }

/* "safe to download" popup */
html body .details-safe,
html body .fancybox-content {
	background: var(--gma-surface) !important;
	color: var(--gma-text-2);
	border-radius: var(--gma-radius-lg) !important;
	font-size: .9375rem;
	line-height: 1.6;
}
html body .details-safe .title { color: var(--gma-text); font-weight: 800; }
html body .details-safe .closed {
	width: auto;
	padding: 0 1.25rem;
	height: 40px;
	line-height: 40px;
	border-radius: var(--gma-radius);
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink);
	font-weight: 700;
}

/* version history */
html body .version_history .big_title,
html body .version_history { color: var(--gma-text); }

/* 13. COMMENTS & FORMS ===================================================== */
html body .b-comments .b-head {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 0;
}
html body .b-comments .b-head .section-title { margin: 0 auto 0 0; }
html body .comments-tree-list { margin: 0; padding: 0; }
html body .comments-tree-item { list-style: none; margin: 0; padding: 0; }
html body .comment {
	margin: 0 !important;
	padding: 1rem 0 !important;
	background: none !important;
	border: 0 !important;
	border-bottom: 1px solid var(--gma-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
html body .comments-tree-list > .comments-tree-item:last-child .comment { border-bottom: 0 !important; }
html body .comment-head {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: .75rem;
	row-gap: .125rem;
	align-items: center;
	min-height: 0;
	padding: 0 !important;
	margin: 0 0 .5rem !important;
	border: 0 !important;
	background: none !important;
	text-align: left;
}
html body .comment-head::after { display: none !important; }
html body .comment-head .avatar-status {
	position: static;
	grid-row: 1 / span 2;
	width: 36px;
	height: 36px;
	margin: 0;
}
html body .avatar-status::after { display: none; }
html body .comment-head .avatar { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; overflow: hidden; background: var(--gma-surface-2); }
html body .comment-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
html body .comment-head .name { grid-column: 2; margin: 0; line-height: 1.3; }
html body .comment-head .name,
html body .comment-head .name a { color: var(--gma-text) !important; font-weight: 700; font-size: .9375rem; }
html body .comment-head .comment-meta { grid-column: 2; }
html body .comment-meta { display: flex; align-items: center; gap: .5rem; margin: 0; }
html body .comment-meta .date,
html body .comment-meta time { color: var(--gma-muted) !important; font-size: .75rem; }
html body .group-label {
	padding: .1rem .45rem;
	border-radius: 999px;
	background: var(--gma-surface-2) !important;
	color: var(--gma-muted) !important;
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .03em;
}
html body .comment-text {
	padding: 0 0 0 calc(36px + .75rem) !important;
	color: var(--gma-text-2);
	font-size: .9375rem;
	line-height: 1.6;
}
html body .comment-text p { margin: 0 0 .5rem; }
html body .comment-foot { padding: 0 0 0 calc(36px + .75rem) !important; border: 0 !important; margin: 0; }
html body .comment-tools { margin: 0; padding: 0; }
html body .comment-reply-link {
	font-size: .8125rem;
	font-weight: 700;
	color: var(--gma-muted) !important;
}
html body .comment-reply-link:hover { color: var(--gma-brand-text) !important; }
html body .comments-tree-list .children,
html body .comments-tree-list ol { padding-left: 1.5rem; border-left: 2px solid var(--gma-border); margin-left: 1rem; }

/* form controls */
html body .form-control,
html body input[type="text"],
html body input[type="email"],
html body input[type="url"],
html body input[type="password"],
html body input[type="search"],
html body textarea,
html body select {
	font: inherit;
	font-size: .9375rem;
	color: var(--gma-text);
	background-color: var(--form-control-bg);
	border: 1px solid var(--gma-border-strong);
	border-radius: var(--gma-radius);
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
html body .form-control:focus,
html body input:focus,
html body textarea:focus,
html body select:focus {
	outline: none;
	border-color: var(--gma-brand);
	box-shadow: var(--gma-focus);
}
html body ::placeholder { color: var(--gma-muted); opacity: 1; }
html body #dle-comments-form,
html body .comment-respond { margin: 0; }
html body .comment-notes,
html body .logged-in-as,
html body .addcomment-post,
html body .b-comments .c-muted,
html body #addcom-block .section-title + p,
html body #addcom-block small {
	text-transform: none !important;
	letter-spacing: 0 !important;
	color: var(--gma-muted) !important;
	font-size: .8125rem !important;
}
html body .b-add-comments label.c-muted,
html body .comment-form label.c-muted {
	display: flex;
	align-items: center;
	gap: .5rem;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: .8125rem !important;
	font-weight: 500;
	color: var(--gma-muted) !important;
}
html body .b-add-comments textarea,
html body .b-add-comments .form-control,
html body .comment-form textarea,
html body .comment-form .form-control {
	width: 100%;
	min-height: 46px;
	padding: .75rem 1rem;
	border-radius: var(--gma-radius) !important;
	border: 1px solid var(--gma-border-strong) !important;
	background: var(--form-control-bg) !important;
}
html body .b-add-comments textarea { min-height: 120px; resize: vertical; }
html body .b-add-comments input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gma-brand); }
html body .form-submit .btn,
html body .form-submit input[type="submit"],
html body #submit {
	height: 46px;
	padding: 0 1.5rem;
	border: 0;
	border-radius: var(--gma-radius);
	background: var(--gma-brand) !important;
	background-image: none !important;
	color: var(--gma-brand-ink) !important;
	font-weight: 800;
	cursor: pointer;
	box-shadow: none !important;
}
html body .form-submit .btn:hover,
html body #submit:hover { background: var(--gma-brand-hover) !important; }

/* 14. STATIC PAGES, ALERTS, SEARCH, PAGINATION ============================== */
html body .page-sys { padding-top: 1.5rem; }
html body .static-page .title {
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: -.02em;
	margin-bottom: 1.25rem;
	color: var(--gma-text);
}

html body .alert {
	max-width: 40rem;
	margin: 0 auto 2rem;
}
html body .alert_in {
	padding: 1.5rem;
	background: var(--gma-surface) !important;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	color: var(--gma-text-2);
	box-shadow: var(--gma-shadow-sm);
}
html body .alert-title { display: flex; align-items: center; gap: .625rem; font-weight: 800; font-size: 1.125rem; color: var(--gma-text); margin-bottom: .5rem; }
html body .alert-title i { color: var(--gma-brand); display: flex; }
html body .gma-404-search { margin: 1rem 0 .75rem; }
html body .gma-404-search .q-search-text { background: var(--gma-surface); }
html body .gma-404-home { display: inline-flex; align-items: center; height: 42px; padding: 0 1.125rem; }

/* search page */
html body .search-box,
html body .search-box.s-green {
	padding: 0 !important;
	margin: 0 0 1.5rem;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0;
}
html body .search-box-field { position: relative; display: flex; align-items: center; }
html body .search-box-field input {
	width: 100%;
	height: 52px;
	padding: 0 3.5rem 0 1.125rem;
	background: var(--gma-surface) !important;
	border: 1px solid var(--gma-border-strong) !important;
	border-radius: var(--gma-radius) !important;
	color: var(--gma-text) !important;
	font-size: 1rem;
	box-shadow: var(--gma-shadow-sm);
}
html body .search-box-btn {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 10px;
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
	cursor: pointer;
}
html body .search-box-btn svg { width: 22px !important; height: 22px !important; color: currentColor !important; fill: currentColor; }
html body #fullsearch .wrp-min { max-width: none; padding: 0 .375rem !important; }
@media (min-width: 640px) {
	html body #fullsearch .wrp-min { padding: 0 .5rem !important; }
}
html body .search_result_num { margin-top: .75rem; color: var(--gma-muted) !important; font-size: .875rem; }
html body .page-search-bg #dle-content > form,
html body #fullsearch { width: 100%; flex: 0 0 100%; }

/* pagination */
html body .navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin: 2rem 0 0;
	padding: 0;
}
html body .pages-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .375rem;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
html body .pages-list a,
html body .pages-list span,
html body .page_prev > a,
html body .page_next > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 .75rem;
	margin: 0 !important;
	border-radius: var(--gma-radius) !important;
	border: 1px solid var(--gma-border);
	background: var(--gma-surface) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--gma-text-2) !important;
	font-size: .9375rem;
	font-weight: 700;
	transition: border-color .15s ease, color .15s ease;
}
html body .pages-list a:hover,
html body .page_prev > a:hover,
html body .page_next > a:hover {
	border-color: var(--gma-brand) !important;
	color: var(--gma-brand-text) !important;
	background: var(--gma-surface) !important;
}
html body .pages-list span:not(.nav_ext) {
	background: var(--gma-brand) !important;
	border-color: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
}
html body .pages-list .nav_ext { border: 0; background: none !important; }
html body .page_prev > a svg,
html body .page_next > a svg { width: 20px; height: 20px; }
html body .pages {
	flex: 0 1 auto;
	overflow: visible;
	background: none !important;
	border-radius: 0;
}
html body .pages::before,
html body .pages::after,
html body .pages-list::before,
html body .pages-list::after { display: none !important; }
html body .pages-list { margin: 0 !important; overflow: visible; }
html body .page_prev,
html body .page_next { margin: 0; }
html body .page_prev > span,
html body .page_next > span { display: none; }

/* 15. FOOTER ============================================================== */
html body .footer {
	background: var(--gma-surface) !important;
	border-top: 1px solid var(--gma-border);
	color: var(--gma-muted);
	margin-top: 2rem;
}
html body .dark-foot .footer { margin-top: 2.5rem; }
html body .footer .wrp-min { max-width: var(--gma-container); padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) {
	html body .footer .wrp-min { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
	html body .footer .wrp-min { padding-left: 2rem; padding-right: 2rem; }
}
html body .footer-panel {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: auto !important;
	min-height: 72px;
	padding: 1.25rem 0 !important;
	background: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
@media (max-width: 767px) {
	html body .footer-panel { flex-direction: column; justify-content: center; text-align: center; padding-bottom: 1.5rem !important; }
}
html body .footer-panel .logotype {
	position: static;
	display: inline-flex !important;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}
html body .footer-panel .logo-icon { max-width: 32px; }
html body .footer-panel .logo-icon img { width: 32px; height: 32px; object-fit: contain; }
html body .footer-cont {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.5rem;
	flex: 1 1 auto;
	height: auto !important;
	font-size: .875rem;
	color: var(--gma-muted);
}
@media (max-width: 767px) {
	html body .footer-cont { flex-direction: column; justify-content: center; }
}
html body .footer-cont .copyright,
html body .footer-cont .copyright p { margin: 0; color: var(--gma-muted) !important; font-size: .875rem; }
html body .footer-cont .copyright a,
html body .copyright a { color: var(--gma-text-2) !important; font-weight: 600; }
html body .footer-cont > a[href*="t.me"],
html body .footer-cont > a[aria-label] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--gma-surface-2);
	--color_sosmed_icon: var(--gma-text-2);
}
html body .footer-cont > a[aria-label]:hover { background: var(--gma-brand-soft); --color_sosmed_icon: var(--gma-brand); }
html body .footer-cont > a[aria-label] svg { width: 30px; height: 30px; display: block; transform: translate(8px, 8px); }
html body .footer-submenu-links {
	margin-left: auto;
	padding: 0 !important;
	gap: .5rem 1.25rem !important;
}
@media (max-width: 767px) {
	html body .footer-submenu-links { margin: 0 auto; }
}
html body .footer-submenu-links a { color: var(--gma-text-2) !important; font-weight: 600; font-size: .875rem; }
html body .footer-submenu-links a:hover { color: var(--gma-brand-text) !important; }

html body .upper.scrollup {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 50;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 50%;
	background: var(--gma-surface) !important;
	border: 1px solid var(--gma-border);
	box-shadow: var(--gma-shadow);
	color: var(--gma-text-2) !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
html body.gma-scrolled .upper.scrollup {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .2s ease, transform .2s ease;
}
html body .upper.scrollup:hover { color: var(--gma-brand) !important; }
html body .upper.scrollup svg { width: 20px; height: 20px; }

/* 15b. FOOTER (template/footer-bar.php) ===================================== */
html body .gma-footer {
	margin-top: 2.5rem;
	background: var(--gma-surface) !important;
	border-top: 1px solid var(--gma-border);
	color: var(--gma-muted);
}
html body .dark-foot .gma-footer { margin-top: 2.5rem; }
html body .gma-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2.5rem;
	padding: 2rem 0 1.5rem;
}
html body .gma-foot-brand { display: flex; flex-direction: column; gap: .5rem; max-width: 22rem; margin-right: auto; }
html body .gma-foot-logo { display: inline-flex; text-decoration: none !important; }
html body .gma-foot-logo .gma-logo-mark { width: 32px; height: 32px; }
html body .gma-foot-logo .gma-logo-text { font-size: 1.1875rem; }
html body .gma-foot-tagline { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--gma-muted); }
html body .gma-foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
html body .gma-foot-links a {
	color: var(--gma-text-2) !important;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none !important;
}
html body .gma-foot-links a:hover { color: var(--gma-brand-text) !important; }
html body .gma-foot-social { display: flex; gap: .5rem; }
html body .gma-foot-social:empty { display: none; }
html body .gma-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
html body .gma-social:hover { border-color: var(--gma-brand); color: var(--gma-brand) !important; background: var(--gma-brand-soft); }
html body .gma-social svg { display: block; width: 18px; height: 18px; }
html body .gma-foot-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	padding: 1rem 0 1.25rem;
	border-top: 1px solid var(--gma-border);
}
html body .gma-foot-bottom .copyright,
html body .gma-foot-bottom .copyright p {
	margin: 0;
	padding: 0;
	max-width: none;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--gma-muted) !important;
	text-align: left;
}
html body .gma-foot-bottom .copyright a { color: var(--gma-text-2) !important; font-weight: 600; }
@media (max-width: 767px) {
	html body .gma-foot { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.75rem 0 1.25rem; }
	html body .gma-foot-links { gap: .625rem 1.25rem; }
	html body .gma-foot-bottom { padding-bottom: 5rem; }
}

/* 16. MODALS, PLUGINS, ADS ================================================= */
html body .modal-content,
html body .dropdown-menu,
html body .remodal {
	background: var(--gma-surface) !important;
	color: var(--gma-text);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg) !important;
	box-shadow: var(--gma-shadow-lg) !important;
}
html body .modal-title,
html body #report-post-modal-title { color: var(--gma-text) !important; font-weight: 800; }
html body .modal-backdrop { background: rgba(8, 12, 18, .6); }
html body .remodal-cancel,
html body .remodal-confirm {
	border-radius: var(--gma-radius) !important;
	font-weight: 700;
	min-width: 7rem;
}
html body .remodal-cancel { background: var(--gma-surface-2) !important; color: var(--gma-text) !important; }
html body .remodal-confirm { background: var(--gma-brand) !important; color: var(--gma-brand-ink) !important; }
html body .remodal-overlay { background: rgba(8, 12, 18, .6) !important; }
html body .dropdown-menu a { color: var(--gma-text-2) !important; }
html body .dropdown-menu a:hover { background: var(--gma-surface-2); color: var(--gma-text) !important; }

/* star ratings plugin */
html body .kk-star-ratings .kksr-legend { opacity: 1 !important; color: var(--gma-muted); }

/* ads: never overflow on phones */
html body ins.adsbygoogle { max-width: 100%; overflow: hidden; }
html body .ads-here,
html body .adv,
html body .ads { max-width: 100%; overflow: hidden; }

/* legacy custom rule that faded whole cards */
html body time.meta-date,
html body div.meta.muted,
html body div.entry-list.list-c3,
html body div.entry.entry-news,
html body .entry-coms .description,
html body time.date.muted,
html body span.fw-b.truncate,
html body div.entry.entry-coms div.item,
html body div.item h2.title a.item-link span.truncate { opacity: 1 !important; }

/* 16b. SEARCH TRIGGER + SEARCH PALETTE ===================================== */
html body .gma-search-trigger {
	display: none;
	align-items: center;
	gap: .5rem;
	width: 260px;
	height: 40px;
	padding: 0 .5rem 0 .75rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface-2);
	color: var(--gma-muted);
	font: inherit;
	font-size: .875rem;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
html body .gma-search-trigger:hover { border-color: var(--gma-border-strong); background: var(--gma-surface); color: var(--gma-text-2); }
html body .gma-search-trigger svg { flex: 0 0 auto; color: currentColor; }
html body .gma-search-trigger-text { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .gma-kbd,
html body .gma-sp kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 .375rem;
	border: 1px solid var(--gma-border);
	border-bottom-width: 2px;
	border-radius: 6px;
	background: var(--gma-surface);
	color: var(--gma-muted);
	font: inherit;
	font-size: .6875rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
@media (min-width: 992px) {
	html body .gma-search-trigger { display: inline-flex; }
	html body .head-tools .q-search { display: none !important; }
}
@media (min-width: 992px) and (max-width: 1140px) {
	html body .gma-search-trigger { width: 190px; }
	html body .gma-search-trigger .gma-kbd { display: none; }
}

html.gma-sp-open,
html.gma-sp-open body { overflow: hidden; }
html body .gma-sp {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 1rem 1rem;
}
html body .gma-sp[hidden] { display: none; }
html body .gma-sp-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 12, 18, .55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .18s ease;
}
html body .gma-sp-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 640px;
	max-height: min(560px, 76vh);
	overflow: hidden;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-lg);
	opacity: 0;
	transform: translateY(-8px) scale(.985);
	transition: opacity .18s ease, transform .18s ease;
}
html body .gma-sp.is-open .gma-sp-backdrop { opacity: 1; }
html body .gma-sp.is-open .gma-sp-panel { opacity: 1; transform: none; }

html body .gma-sp-bar {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex: 0 0 auto;
	height: 60px;
	padding: 0 .75rem 0 1rem;
	margin: 0;
	border-bottom: 1px solid var(--gma-border);
}
html body .gma-sp-bar-icon { display: flex; color: var(--gma-brand); }
html body input.gma-sp-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0 .25rem;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--gma-text);
	font-size: 1.0625rem;
	font-weight: 500;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
html body input.gma-sp-input::-webkit-search-cancel-button { display: none; }
html body .gma-sp-clear,
html body .gma-sp-cancel,
html body .gma-sp-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: none;
	color: var(--gma-muted);
	cursor: pointer;
	font: inherit;
}
html body .gma-sp-clear { width: 32px; height: 32px; border-radius: 8px; }
html body .gma-sp-clear[hidden] { display: none; }
html body .gma-sp-clear:hover,
html body .gma-sp-remove:hover { background: var(--gma-surface-2); color: var(--gma-text); }
html body .gma-sp-cancel { display: none; padding: 0 .25rem; font-size: .9375rem; font-weight: 700; color: var(--gma-brand-text); }

html body .gma-sp-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: .375rem .5rem .5rem; }
html body .gma-sp-group + .gma-sp-group,
html body .gma-sp-group + .gma-sp-option,
html body .gma-sp-empty + .gma-sp-option { margin-top: .25rem; }
html body .gma-sp-group-title {
	padding: .75rem .75rem .375rem;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-sp-option {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 48px;
	padding: .5rem .75rem;
	border-radius: 10px;
	color: var(--gma-text) !important;
	text-decoration: none !important;
	scroll-margin: .5rem;
}
html body .gma-sp-option.is-active { background: var(--gma-surface-2); }
html body .gma-sp-thumb {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--gma-surface-2);
	box-shadow: inset 0 0 0 1px var(--gma-border);
}
html body .gma-sp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
html body .gma-sp-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1 1 auto; }
html body .gma-sp-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.35;
}
html body .gma-sp-title mark { background: none; color: var(--gma-brand-text); font-weight: 800; padding: 0; }
html body .gma-sp-meta { font-size: .75rem; font-weight: 500; color: var(--gma-muted); }
html body .gma-sp-go { display: flex; color: var(--gma-muted); opacity: 0; transition: opacity .12s ease; }
html body .gma-sp-option.is-active .gma-sp-go { opacity: 1; }
html body .gma-sp-lead {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--gma-surface-2);
	color: var(--gma-muted);
}
html body .gma-sp-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9375rem; font-weight: 500; }
html body .gma-sp-all .gma-sp-lead { background: var(--gma-brand-soft); color: var(--gma-brand); }
html body .gma-sp-all .gma-sp-label strong { font-weight: 700; color: var(--gma-text); }
html body .gma-sp-row { position: relative; }
html body .gma-sp-row .gma-sp-option { padding-right: 3rem; }
html body .gma-sp-remove {
	position: absolute;
	top: 50%;
	right: .5rem;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border-radius: 8px;
}
html body .gma-sp-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: .25rem .75rem .75rem; }
html body .gma-sp-chip {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 .875rem;
	border: 1px solid var(--gma-border);
	border-radius: 999px;
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-size: .8125rem;
	font-weight: 600;
	text-decoration: none !important;
}
html body .gma-sp-chip:hover { border-color: var(--gma-brand); color: var(--gma-brand-text) !important; }
html body .gma-sp-hint { font-size: .8125rem; color: var(--gma-muted); padding: .25rem 0; }
html body .gma-sp-empty { display: flex; flex-direction: column; gap: .25rem; padding: 1.5rem .75rem 1rem; text-align: center; }
html body .gma-sp-empty strong { font-size: .9375rem; color: var(--gma-text); }
html body .gma-sp-empty span { font-size: .8125rem; color: var(--gma-muted); }
html body .gma-sp-skel { display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem; }
html body .gma-sp-skel > span:first-child { flex: 0 0 40px; height: 40px; border-radius: 10px; }
html body .gma-sp-skel > span:last-child { display: flex; flex-direction: column; gap: .375rem; flex: 1 1 auto; }
html body .gma-sp-skel i { display: block; height: 10px; border-radius: 6px; width: 70%; }
html body .gma-sp-skel i + i { width: 35%; }
html body .gma-sp-skel > span:first-child,
html body .gma-sp-skel i {
	background: linear-gradient(90deg, var(--gma-surface-2) 0%, var(--gma-surface-3) 50%, var(--gma-surface-2) 100%);
	background-size: 200% 100%;
	animation: gma-shimmer 1.1s linear infinite;
}
@keyframes gma-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
html body .gma-sp-foot {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 0 0 auto;
	padding: .625rem 1rem;
	border-top: 1px solid var(--gma-border);
	background: var(--gma-surface);
	color: var(--gma-muted);
	font-size: .75rem;
}
html body .gma-sp-foot > span { display: inline-flex; align-items: center; gap: .25rem; }
html body .gma-sp-foot kbd { min-width: 20px; height: 20px; padding: 0 .25rem; }
html body .gma-sp-foot kbd svg { width: 12px; height: 12px; }
html body .gma-sp-status { margin-left: auto; }

@media (max-width: 639px) {
	html body .gma-sp { padding: 0; }
	html body .gma-sp-panel {
		max-width: none;
		max-height: none;
		height: 100%;
		border: 0;
		border-radius: 0;
		transform: translateY(12px);
	}
	html body .gma-sp-bar { height: 64px; padding: 0 .75rem; }
	html body .gma-sp-cancel { display: inline-flex; }
	html body .gma-sp-foot { display: none; }
	html body .gma-sp-option { min-height: 56px; }
}

/* search palette: start screen (trending + category tiles) */
html body .gma-sp-panel { max-width: 680px; border-radius: var(--gma-radius-xl); }
html body .gma-sp-bar { height: 64px; padding: 0 .875rem 0 1.125rem; }
html body .gma-sp-bar-icon svg { width: 22px; height: 22px; }
html body input.gma-sp-input { font-size: 1.125rem; }
html body .gma-sp-esc {
	display: none;
	align-items: center;
	height: 26px;
	padding: 0 .5rem;
	border: 1px solid var(--gma-border-strong);
	border-radius: 7px;
	background: var(--gma-surface-2);
	color: var(--gma-muted);
	font: inherit;
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}
html body .gma-sp-esc:hover { color: var(--gma-text); border-color: var(--gma-muted); }
@media (min-width: 640px) {
	html body .gma-sp-esc { display: inline-flex; }
}
html body .gma-sp-trending .gma-sp-option { gap: .875rem; }
html body .gma-sp-trending .gma-sp-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
html body .gma-sp-rank {
	flex: 0 0 auto;
	margin-left: auto;
	padding: .2rem .5rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-muted);
	font-size: .75rem;
	font-weight: 800;
}
html body .gma-sp-option.is-active .gma-sp-rank { background: var(--gma-brand-soft); color: var(--gma-brand-text); }
html body .gma-sp-cats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .5rem;
	padding: .25rem .75rem .875rem;
}
@media (min-width: 560px) {
	html body .gma-sp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
html body .gma-sp-cat {
	display: flex;
	align-items: center;
	gap: .625rem;
	min-width: 0;
	padding: .625rem .75rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface);
	color: var(--gma-text) !important;
	text-decoration: none !important;
	transition: border-color .15s ease, background-color .15s ease;
}
html body .gma-sp-cat:hover,
html body .gma-sp-cat:focus-visible { border-color: var(--gma-brand); background: var(--gma-surface-2); outline: 0; }
html body .gma-sp-cat-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text);
}
html body .gma-sp-cat-icon svg { width: 18px; height: 18px; }
html body .gma-sp-cat-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
html body .gma-sp-cat-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8125rem; font-weight: 700; }
html body .gma-sp-cat-text small { font-size: .6875rem; font-weight: 600; color: var(--gma-muted); }

/* 16c. TELEGRAM BANNER (home widget) ======================================= */
html body .gma-tg {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1rem 1rem 1.125rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-sm);
	transition: opacity .2s ease, transform .2s ease;
}
html body .gma-tg-leaving { opacity: 0; transform: translateY(-4px) scale(.99); }
html body .gma-tg-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #229ED9;
	color: #fff;
}
html body .gma-tg-icon svg { transform: translateX(-1px); }
html body .gma-tg-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1 1 auto; }
html body .gma-tg-text strong { font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; color: var(--gma-text); }
html body .gma-tg-text span { font-size: .875rem; color: var(--gma-muted); }
html body .gma-tg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	height: 46px;
	padding: 0 1.5rem;
	border-radius: var(--gma-radius);
	background: #229ED9;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 800;
	box-shadow: 0 8px 18px -10px rgba(34, 158, 217, .9);
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .15s ease;
}
html body .gma-tg-btn:hover { background: #1c8cc2; }
html body .gma-tg-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin-left: -.25rem;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--gma-muted);
	cursor: pointer;
}
html body .gma-tg-close:hover { background: var(--gma-surface-2); color: var(--gma-text); }
@media (max-width: 639px) {
	/* phones: one compact row (icon, title, Join, close) */
	html body .gma-tg { flex-wrap: nowrap; gap: .5rem; padding: .625rem .375rem .625rem .625rem; border-radius: var(--gma-radius); }
	html body .gma-tg-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; }
	html body .gma-tg-icon svg { width: 18px; height: 18px; }
	html body .gma-tg-text { padding: 0; }
	html body .gma-tg-text strong {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 1rem;
		line-height: 1.3;
	}
	html body .gma-tg-text span { display: none; }
	html body .gma-tg-btn { flex: 0 0 auto; height: 40px; padding: 0 1.25rem; border-radius: 10px; font-size: .9375rem; font-weight: 800; }
	html body .gma-tg-btn-more { display: none; }
	html body .gma-tg-text strong { -webkit-line-clamp: 1; white-space: nowrap; text-overflow: ellipsis; display: block; }
	html body .gma-tg-close { position: static; flex: 0 0 28px; width: 28px; height: 28px; margin: 0; border-radius: 8px; }
	html body .gma-tg-close svg { width: 16px; height: 16px; }
	html body section:has(.gma-tg) { margin-top: 0; margin-bottom: 1.5rem; }
	html body .section:has(+ section .gma-tg) { margin-bottom: 1rem; }
}
html.gma-tg-off section:has(.gma-tg),
html.gma-tg-off .gma-tg { display: none !important; }

/* 16d. ACCENT PICKER (header) ============================================== */
html body .gma-accent { position: relative; display: flex; align-items: center; }
html body .gma-accent-toggle { position: relative; }
/* small dot on the palette icon shows the current colour */
html body .gma-accent-now {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gma-brand);
	box-shadow: 0 0 0 2px var(--gma-surface);
	transition: background-color .2s ease;
}
html body .gma-accent-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: -3rem;
	z-index: 120;
	width: 232px;
	padding: .875rem .875rem 1rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: var(--gma-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px) scale(.98);
	transform-origin: top right;
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
@media (min-width: 768px) {
	html body .gma-accent-panel { right: 0; }
}
html body .gma-accent.is-open .gma-accent-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .15s ease, transform .15s ease, visibility 0s;
}
html body .gma-accent-title {
	margin: 0 0 .75rem !important;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-accent-list {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: .5rem;
}
html body .gma-accent-dot {
	position: relative;
	width: 28px;
	height: 28px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dot);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
html body .gma-accent-dot:hover { transform: scale(1.1); }
html body .gma-accent-dot[aria-checked="true"] { box-shadow: 0 0 0 2px var(--gma-surface), 0 0 0 4px var(--dot); }
/* tick on the selected colour */
html body .gma-accent-dot[aria-checked="true"]::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.55 17.6 4.6 12.65l1.4-1.4 3.55 3.55 8.45-8.45 1.4 1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.55 17.6 4.6 12.65l1.4-1.4 3.55 3.55 8.45-8.45 1.4 1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
html body .gma-accent-dot[data-accent="amber"][aria-checked="true"]::after { background: #1f1600; }
html body .gma-accent-dot:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--gma-surface), 0 0 0 4px var(--gma-text); }

/* menu icons (outline set from gma_nav_icons) */
html body .hmenu .gma-nav-ico { background: none !important; box-shadow: none !important; color: inherit !important; }
html body .hmenu .gma-nav-ico svg { width: 20px; height: 20px; fill: none !important; stroke: currentColor; }

/* phones/tablets: hamburger sits close to the logo */
@media (max-width: 991px) {
	html body .header-panel > .menu-butter { margin-left: -10px !important; margin-right: -2px !important; }
	html body .header-panel > .logotype { margin-left: 0 !important; }
}

/* 03b. MOBILE DRAWER (header.php #mobilemenu) =============================== */
html body .gma-drawer-head,
html body .gma-drawer-extra { display: none; }
@media (max-width: 991px) {
	html body .head-tools-panel {
		display: flex !important;
		flex-direction: column;
		padding: .875rem 1rem 1.5rem;
		overflow-y: auto;
		overscroll-behavior: contain;
	}
	html body .head-tools-panel::before { display: none; }
	html body .gma-drawer-head {
		order: -2;
		display: flex;
		align-items: center;
		height: 44px;
		margin: 0 3rem 1rem 0;
	}
	html body .head-tools-panel .q-search { order: -1; margin-bottom: 1rem; }
	html body .head-tools-panel .q-search-label { display: none !important; }
	html body .head-tools-panel .q-search .q-search-btn { top: 50%; bottom: auto; transform: translateY(-50%); }
	html body .head-tools-panel .q-search-text { height: 48px; border-radius: var(--gma-radius) !important; background: var(--gma-surface-2) !important; border-color: transparent !important; }
	html body .head-tools-panel .q-search-text:focus { background: var(--gma-surface) !important; border-color: var(--gma-brand) !important; }
	html body .menu-close { top: .875rem !important; }

	/* menu items with icon tiles */
	html body .head-tools .hmenu > a > span { padding: .5rem .625rem; font-weight: 700; }
	html body .head-tools .hmenu > a .gma-nav-ico {
		min-width: 38px;
		max-width: 38px;
		height: 38px;
		border-radius: 11px;
		background: var(--gma-surface-2) !important;
		color: var(--gma-text-2) !important;
	}
	html body .head-tools .hmenu > a.active .gma-nav-ico,
	html body .head-tools .hmenu > a[aria-current="page"] .gma-nav-ico { background: var(--gma-brand) !important; color: var(--gma-brand-ink) !important; }
	html body .head-tools .hmenu > a.active > span { background: var(--gma-brand-soft) !important; }
	html body .head-tools .hmenu > a > span::after {
		content: "";
		width: 16px;
		height: 16px;
		margin-left: auto;
		background: var(--gma-border-strong);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.59a1 1 0 0 0 0-1.41L10.7 6.7a1 1 0 0 0-1.41.01z'/%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='M9.29 6.71a1 1 0 0 0 0 1.41L13.17 12l-3.88 3.88a1 1 0 1 0 1.41 1.41l4.59-4.59a1 1 0 0 0 0-1.41L10.7 6.7a1 1 0 0 0-1.41.01z'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	html body .head-tools .hmenu > a.active > span::after { background: var(--gma-brand); }

	/* appearance, telegram, links */
	html body .gma-drawer-extra { display: block; margin-top: 1.25rem; }
	html body .gma-drawer-title {
		margin: 0 0 .5rem .25rem !important;
		font-size: .6875rem;
		font-weight: 800;
		letter-spacing: .07em;
		text-transform: uppercase;
		color: var(--gma-muted);
	}
	html body .gma-drawer-card {
		border: 1px solid var(--gma-border);
		border-radius: var(--gma-radius-lg);
		background: var(--gma-surface);
		overflow: hidden;
	}
	html body .gma-drawer-row {
		display: flex;
		align-items: center;
		gap: .75rem;
		width: 100%;
		min-height: 52px;
		margin: 0;
		padding: .5rem .75rem;
		border: 0;
		background: none;
		color: var(--gma-text);
		font: inherit;
		font-size: .9375rem;
		font-weight: 600;
		text-align: left;
		cursor: pointer;
	}
	html body button.gma-drawer-row { border-bottom: 1px solid var(--gma-border); }
	html body .gma-drawer-row-ico {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border-radius: 9px;
		background: var(--gma-surface-2);
		color: var(--gma-text-2);
	}
	html body .gma-drawer-row-text { flex: 1 1 auto; }
	html body .gma-switch {
		position: relative;
		flex: 0 0 auto;
		width: 42px;
		height: 24px;
		border-radius: 999px;
		background: var(--gma-border-strong);
		transition: background-color .2s ease;
	}
	html body .gma-switch i {
		position: absolute;
		top: 3px;
		left: 3px;
		width: 18px;
		height: 18px;
		border-radius: 50%;
		background: #fff;
		box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
		transition: transform .2s ease;
	}
	html.darktheme body .gma-switch { background: var(--gma-brand); }
	html.darktheme body .gma-switch i { transform: translateX(18px); }
	html body .gma-drawer-colors { min-height: 0; padding-bottom: .25rem; cursor: default; }
	html body .gma-drawer-dots { display: flex; gap: .625rem; padding: .375rem .75rem .875rem calc(.75rem + 32px + .75rem); }
	html body .gma-drawer-dots .gma-accent-dot { width: 26px; height: 26px; margin: 0; }
	html body .gma-drawer-tg {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .5rem;
		height: 48px;
		margin-top: .875rem;
		border-radius: var(--gma-radius);
		background: var(--gma-telegram-soft);
		color: var(--gma-telegram) !important;
		font-weight: 700;
		text-decoration: none !important;
	}
	html body .gma-drawer-links {
		display: flex;
		flex-wrap: wrap;
		gap: .375rem 1rem;
		margin-top: 1.125rem;
		padding: 0 .25rem;
	}
	html body .gma-drawer-links a { font-size: .8125rem; font-weight: 600; color: var(--gma-muted) !important; text-decoration: none !important; }
	html body .gma-drawer-links a:hover { color: var(--gma-text) !important; }
}

/* search palette on phones: always full width, nothing pushed off-screen */
@media (max-width: 639px) {
	html body .gma-sp-panel { width: 100% !important; max-width: 100vw !important; border-radius: 0 !important; overflow-x: hidden; }
	html body .gma-sp-bar { padding: 0 .75rem !important; gap: .5rem; }
	html body .gma-sp-bar > * { min-width: 0; }
	html body .gma-sp-cancel { flex: 0 0 auto; }
	html body .gma-sp-body { overflow-x: hidden; padding-left: .375rem; padding-right: .375rem; }
	html body .gma-sp-trending .gma-sp-option { gap: .75rem; }
	html body .gma-sp-rank { padding: .15rem .4rem; font-size: .6875rem; }
	html body .gma-sp-cats { padding-left: .5rem; padding-right: .5rem; }
}
@media (max-width: 359px) {
	html body .gma-sp-rank { display: none; }
}

/* 18. MOTION, SKELETONS, COMMENTS v2, DESCRIPTION v2 ======================= */
:root {
	--gma-ease: cubic-bezier(.2, .8, .2, 1);
	--gma-ease-out: cubic-bezier(.16, 1, .3, 1);
	--gma-spring: cubic-bezier(.34, 1.4, .64, 1);
}
html { scroll-behavior: smooth; }
html body { -webkit-tap-highlight-color: transparent; }
html body .gma-dlb,
html body #addcom-block,
html body #download-block,
html body .b-comments { scroll-margin-top: calc(var(--gma-header-h) + 16px); }

/* smooth cross-fade between pages (Chrome, Edge, Safari 18+; others ignore it) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: gma-vt-out .18s ease both; }
::view-transition-new(root) { animation: gma-vt-in .32s var(--gma-ease-out) both; }
@keyframes gma-vt-out { to { opacity: 0; } }
@keyframes gma-vt-in { from { opacity: 0; } }
/* colour mode switch: circular reveal driven by gma-ui.js */
html.gma-vt-theme::view-transition-old(root),
html.gma-vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.gma-vt-theme::view-transition-new(root) { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
}

/* page loading line in the visitor's accent colour (see gma-ui.js): a full-width
   bar slid in with translateX (cheap), with a glowing head at its front */
html body .gma-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	height: 3px;
	pointer-events: none;
	background: linear-gradient(90deg, var(--gma-grad-a), var(--gma-grad-b), var(--gma-grad-a), var(--gma-grad-b)) 0 0 / 300% 100%;
	box-shadow: 0 1px 8px color-mix(in srgb, var(--gma-grad-b) 55%, transparent);
	transform: translateX(-100%);
	opacity: 0;
}
html body .gma-topbar::before {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 140px;
	height: 100%;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gma-grad-b) 60%, #fff));
	box-shadow: 0 0 12px 1px color-mix(in srgb, var(--gma-grad-b) 80%, transparent);
}
html body .gma-topbar::after {
	content: "";
	position: absolute;
	right: -3px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -3.5px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--gma-grad-b) 35%, #fff);
	box-shadow: 0 0 6px 2px var(--gma-grad-b), 0 0 16px 4px color-mix(in srgb, var(--gma-grad-b) 60%, transparent);
}
html body .gma-topbar.is-on {
	opacity: 1;
	animation: gma-bar-load 12s cubic-bezier(.08, .7, .2, 1) forwards, gma-bar-flow 2s linear infinite;
}
html body .gma-topbar.is-done {
	opacity: 1;
	animation: gma-bar-done .45s cubic-bezier(.3, .8, .3, 1) forwards, gma-bar-flow 2s linear infinite;
}
@keyframes gma-bar-load {
	0% { transform: translateX(-100%); }
	4% { transform: translateX(-70%); }
	15% { transform: translateX(-42%); }
	40% { transform: translateX(-22%); }
	100% { transform: translateX(-6%); }
}
html body .gma-topbar.is-on.is-tail { animation: gma-bar-tail 6s cubic-bezier(.1, .7, .2, 1) forwards, gma-bar-flow 2s linear infinite; }
html.gma-lite body .gma-topbar.is-on.is-tail { animation: gma-bar-tail 6s cubic-bezier(.1, .7, .2, 1) forwards; }
@keyframes gma-bar-tail { from { transform: translateX(-24%); } to { transform: translateX(-6%); } }
@keyframes gma-bar-done {
	55% { transform: translateX(0); opacity: 1; }
	100% { transform: translateX(0); opacity: 0; }
}
@keyframes gma-bar-flow { to { background-position: -150% 0; } }

/* (no entrance animation on the first screen: on slow phones it only made the
   app icon, title and download card show up late) */

/* reveal on scroll (added by gma-ui.js only to items below the fold) */
html.gma-motion body .gma-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .6s var(--gma-ease-out), transform .7s var(--gma-ease-out);
	transition-delay: var(--gma-d, 0ms);
}
html.gma-motion body .gma-reveal.is-in { opacity: 1; transform: none; }

/* press feedback on everything tappable */
html body .btn,
html body .gma-app-cta,
html body .gma-app-btn,
html body .gma-chip,
html body .gma-icon-btn,
html body .gma-dl-option,
html body .gma-sp-option,
html body .gma-sp-cat,
html body .gma-share-net,
html body .gma-accent-dot,
html body .gma-arch-top-card,
html body .home-categories > a,
html body .gma-search-trigger { transition-timing-function: var(--gma-ease); }
html body .btn:active,
html body .gma-app-cta:active,
html body .gma-app-btn:active,
html body .gma-chip:active,
html body .gma-icon-btn:active,
html body .gma-dl-option:active,
html body .gma-sp-cat:active,
html body .gma-share-net:active,
html body .gma-arch-top-card:active,
html body .home-categories > a:active,
html body .entry-app > .item:active { transform: scale(.975) !important; transition-duration: .08s !important; }

/* cards: gentle lift, image zoom, brand-tinted border on hover */
html body .entry-app > .item,
html body .gma-news-card,
html body .gma-arch-top-card { transition: border-color .3s var(--gma-ease-out), box-shadow .3s var(--gma-ease-out), transform .3s var(--gma-ease-out); }
html body .entry-app .img > img { transition: transform .5s var(--gma-ease-out); }
@media (hover: hover) {
	html body .entry-app > .item:hover,
	html body .gma-arch-top-card:hover {
		transform: translateY(-3px);
		border-color: color-mix(in srgb, var(--gma-brand) 35%, var(--gma-border)) !important;
		box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--gma-brand) 35%, rgba(16, 24, 40, .35));
	}
	html body .entry-app > .item:hover .img > img { transform: scale(1.05); }
	html body .gma-news-card:hover .gma-news-media img { transform: scale(1.04); }
	html body .home-categories > a:hover .gma-cat-icon { transform: translateY(-2px) scale(1.06); }
}
html body .home-categories .gma-cat-icon { transition: transform .35s var(--gma-spring), background-color .2s ease, color .2s ease; }
html body .gma-news-media img { transition: transform .6s var(--gma-ease-out); }

/* main download button: one soft shine after load, again on hover */
html body .gma-app-cta { position: relative; overflow: hidden; isolation: isolate; }
html body .gma-app-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%);
	transform: translateX(-120%);
}
html body .gma-app-hero .gma-app-cta::after { animation: gma-shine 1.1s var(--gma-ease-out) 1s 1; }
@media (hover: hover) {
	html body .gma-app-cta:hover::after { transform: translateX(120%); transition: transform .9s var(--gma-ease-out); }
}
@keyframes gma-shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* header: shadow after scrolling; no live blur on phones (cheap scrolling) */
html body .header { transition: box-shadow .3s ease, border-color .3s ease; }
html body .header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .3); }
html.darktheme body .header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .7); }
@media (max-width: 767px) {
	html body .header::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--gma-surface); }
}

html.gma-theme-fade body,
html.gma-theme-fade body *,
html.gma-theme-fade body *::before,
html.gma-theme-fade body *::after { transition: background-color .4s ease, color .4s ease, border-color .4s ease, fill .4s ease, box-shadow .4s ease !important; }

/* colour mode icon spins in */
@keyframes gma-flip { from { opacity: 0; transform: rotate(-120deg) scale(.5); } to { opacity: 1; transform: none; } }
html body .gma-theme-toggle.is-flipping svg { animation: gma-flip .5s var(--gma-spring); }

/* popovers open with a little spring */
html body .gma-share-card,
html body .gma-accent-panel {
	transform: translateY(-6px) scale(.96);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
html body .gma-share-pop.is-open .gma-share-card,
html body .gma-accent.is-open .gma-accent-panel {
	transform: none;
	transition: opacity .18s ease, transform .32s var(--gma-spring), visibility 0s;
}
html body .gma-share-pop.is-open .gma-share-net,
html body .gma-share-sheet.is-open .gma-share-net,
html body .gma-accent.is-open .gma-accent-dot { animation: gma-pop-in .36s var(--gma-spring) both; }
html body .gma-share-pop.is-open .gma-share-net:nth-child(2),
html body .gma-accent.is-open .gma-accent-dot:nth-child(2) { animation-delay: 30ms; }
html body .gma-share-pop.is-open .gma-share-net:nth-child(3),
html body .gma-accent.is-open .gma-accent-dot:nth-child(3) { animation-delay: 60ms; }
html body .gma-share-pop.is-open .gma-share-net:nth-child(4),
html body .gma-accent.is-open .gma-accent-dot:nth-child(4) { animation-delay: 90ms; }
html body .gma-share-pop.is-open .gma-share-net:nth-child(5),
html body .gma-accent.is-open .gma-accent-dot:nth-child(5) { animation-delay: 120ms; }
html body .gma-share-pop.is-open .gma-share-net:nth-child(n+6),
html body .gma-accent.is-open .gma-accent-dot:nth-child(n+6) { animation-delay: 150ms; }
@keyframes gma-pop-in { from { opacity: 0; transform: translateY(6px) scale(.8); } to { opacity: 1; transform: none; } }

/* mobile drawer: links slide in one after another */
@media (max-width: 991px) {
	html.mm body .head-tools.open .hmenu > a,
	html.mm body .head-tools.open .gma-drawer-extra > * { animation: gma-drawer-in .45s var(--gma-ease-out) both; }
	html.mm body .head-tools.open .hmenu > a:nth-child(1) { animation-delay: 60ms; }
	html.mm body .head-tools.open .hmenu > a:nth-child(2) { animation-delay: 90ms; }
	html.mm body .head-tools.open .hmenu > a:nth-child(3) { animation-delay: 120ms; }
	html.mm body .head-tools.open .hmenu > a:nth-child(4) { animation-delay: 150ms; }
	html.mm body .head-tools.open .hmenu > a:nth-child(5) { animation-delay: 180ms; }
	html.mm body .head-tools.open .hmenu > a:nth-child(n+6) { animation-delay: 210ms; }
	html.mm body .head-tools.open .gma-drawer-extra > * { animation-delay: 240ms; }
}
@keyframes gma-drawer-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* back to top: progress ring around the button */
html body .upper.scrollup { overflow: visible; }
html body .upper.scrollup .gma-ring {
	position: absolute;
	inset: -1px;
	width: calc(100% + 2px) !important;
	height: calc(100% + 2px) !important;
	transform: rotate(-90deg);
	pointer-events: none;
}
html body .upper.scrollup .gma-ring circle {
	fill: none;
	stroke: var(--gma-brand);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
}
html body .upper.scrollup:hover { transform: translateY(-2px) !important; }

/* long comment lists are only rendered when scrolled near */
html body .b-comments { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* image skeletons */
@keyframes gma-skel { from { background-position: 150% 0; } to { background-position: -50% 0; } }
html body .gma-skel {
	background: linear-gradient(100deg, var(--gma-surface-2) 30%, var(--gma-surface-3) 50%, var(--gma-surface-2) 70%) !important;
	background-size: 220% 100% !important;
	animation: gma-skel 1.2s linear infinite;
}
html body img.gma-skel-img { opacity: 0; }
html body img.gma-skel-self { border-radius: var(--gma-radius); color: transparent; }
@keyframes gma-img-in { from { opacity: .2; transform: scale(.96); } to { opacity: 1; transform: none; } }
html body img.gma-img-in { animation: gma-img-in .45s var(--gma-ease-out); }
html body img.gma-img-err { background: var(--gma-surface-2); color: transparent; }
html body .entry-app .img > img,
html body .recom-post .img img,
html body .gma-news-media img,
html body .gma-app-icon,
html body .gma-arch-top-card img,
html body .gma-sp-thumb img,
html body .gma-dlb-icon,
html body .b-screens img { transition: opacity .35s ease, transform .35s var(--gma-ease); }

/* comments v2: bubbles, initials avatars, clean actions */
html body .b-comments .b-head { padding-bottom: .25rem; }
html body .b-comments a.btn.btn-all {
	display: inline-flex !important;
	align-items: center;
	gap: .25rem;
	width: auto !important;
	height: 36px;
	padding: 0 .875rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--gma-brand-soft) !important;
	color: var(--gma-brand-text) !important;
	font-size: .8125rem;
	font-weight: 700;
}
html body .b-comments a.btn.btn-all span { display: inline !important; }
html body .b-comments a.btn.btn-all svg { width: 16px; height: 16px; transform: rotate(90deg); }
html body .comments-tree-list { display: flex; flex-direction: column; gap: .25rem; }
html body .comment { padding: .75rem 0 !important; border-bottom: 0 !important; }
html body .comment-head { grid-template-columns: 40px minmax(0, 1fr); margin-bottom: .375rem !important; }
html body .comment-head .avatar-status,
html body .comment-head .avatar { width: 40px; height: 40px; min-width: 40px; }
html body .comment-head .avatar.gma-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	font-style: normal;
	text-transform: uppercase;
}
html body .comment-head .comment-meta { gap: .375rem; flex-wrap: wrap; }
html body .comment-head .comment-meta .date::before { content: "·"; margin-right: .375rem; color: var(--gma-border-strong); }
html body .comment-text,
html body .comment-foot { padding-left: calc(40px + .75rem) !important; }
html body .comment-text > div {
	display: inline-block;
	max-width: 100%;
	padding: .625rem .875rem;
	border-radius: 4px 16px 16px 16px;
	background: var(--gma-surface-2);
	color: var(--gma-text);
	overflow-wrap: anywhere;
}
html body .comment-text > div > p:last-child { margin-bottom: 0; }
html body .comment-foot { margin-top: .25rem; }
html body .comment-reply-link {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .25rem .5rem;
	margin-left: -.5rem;
	border-radius: 8px;
	transition: background-color .15s ease, color .15s ease;
}
html body .comment-reply-link::before {
	content: "";
	width: 14px;
	height: 14px;
	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='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z'/%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='M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body .comment-reply-link:hover { background: var(--gma-surface-2); }
html body .comments-tree-list .comments-tree-list { margin: .25rem 0 0 1.25rem; padding-left: .875rem; border-left: 2px solid var(--gma-border); }
html body .gma-c-hidden { display: none !important; }
html body .gma-c-more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	margin-top: .75rem;
	border: 1px dashed var(--gma-border-strong);
	border-radius: var(--gma-radius);
	background: none;
	color: var(--gma-brand-text);
	font: inherit;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
}
html body .gma-c-more:hover { background: var(--gma-surface-2); border-style: solid; }
html body .b-add-comments .form-combo { display: grid; grid-template-columns: 1fr; gap: .625rem; }
@media (min-width: 560px) {
	html body .b-add-comments .form-combo { grid-template-columns: 1fr 1fr; }
}
html body .b-add-comments .form-combo .form-group { margin: 0; }
html body .b-add-comments .form-group { margin-bottom: .75rem; }
html body .b-add-comments textarea:focus { background: var(--gma-surface) !important; }
@media (max-width: 639px) {
	html body .b-comments .b-cont,
	html body .b-add-comments .b-cont { padding-left: 1rem; padding-right: 1rem; }
	html body .form-submit .btn,
	html body #submit { width: 100%; }
}

/* description v2 */
html body .gma-app #app_description > h2,
html body .view-app #app_description > h2 { position: relative; padding-left: .875rem !important; }
html body .gma-app #app_description > h2::before,
html body .view-app #app_description > h2::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 0;
	top: .2em;
	bottom: .2em;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(var(--gma-grad-a), var(--gma-grad-b));
}
html body .gma-app #app_description > p:first-of-type { font-size: 1.0625em; color: var(--gma-text) !important; }
html body .gma-app #app_description ul { padding-left: 1.9em !important; }
html body .gma-app #app_description ul > li::before {
	content: "";
	position: absolute;
	left: -1.75em;
	top: .28em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--gma-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230e9f5b' d='M9.55 17.6 4.6 12.65l1.4-1.4 3.55 3.55 8.45-8.45 1.4 1.4z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
html body .gma-app #app_description img { border-radius: var(--gma-radius); }
html body .gma-app #app_description blockquote {
	margin: 1.25em 0;
	padding: .875rem 1.125rem;
	border-left: 4px solid var(--gma-brand);
	border-radius: 0 var(--gma-radius) var(--gma-radius) 0;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
}
html body #app_description.gma-desc { position: relative; transition: max-height .5s var(--gma-ease); }
html body #app_description.gma-desc.is-collapsed {
	max-height: 760px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
	mask-image: linear-gradient(#000 70%, transparent);
}
html body .gma-desc-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	width: 100%;
	height: 46px;
	margin: .5rem 0 0;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface-2);
	color: var(--gma-text);
	font: inherit;
	font-size: .9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
html body .gma-desc-more:hover { border-color: var(--gma-brand); }
html body .gma-desc-more svg { transition: transform .25s var(--gma-ease); }
html body .gma-desc-more[aria-expanded="true"] svg { transform: rotate(180deg); }

/* drawer + search palette feel springier */
html body .head-tools-panel { transition: transform .38s var(--gma-ease-out) !important; }
html body .head-tools { transition: opacity .3s ease !important; }
html body .gma-sp-panel { transition: opacity .2s ease, transform .28s var(--gma-ease) !important; }


/* 19. ANDROID PERFORMANCE, SHARE SHEET ===================================== */
/* No live blur on phones: blurring the whole page while the drawer or the
   search slides in is the biggest cause of stutter on low-end Android. */
@media (max-width: 991px) {
	html body .head-tools {
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
		background-color: rgba(8, 12, 18, .55) !important;
	}
	html body .gma-sp-backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8, 12, 18, .62); }
}
html body .bg-img-blur::before,
html body .b-nobugs-icon .c-green,
html body .sel-dark-toggle { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* parts far down the page are laid out only when scrolled near */
html body .gma-footer,
html body .section-related { content-visibility: auto; contain-intrinsic-size: auto 640px; }

/* lite mode (phones with <= 4 GB RAM or <= 4 cores, set in <head>):
   keep the quick transitions, drop the always-running and heavy extras */
html.gma-lite body .gma-skel { animation: none; background: var(--gma-surface-2) !important; }
html.gma-lite body .gma-topbar.is-on { animation: gma-bar-load 12s cubic-bezier(.08, .7, .2, 1) forwards; }
html.gma-lite body .gma-topbar.is-done { animation: gma-bar-done .45s cubic-bezier(.3, .8, .3, 1) forwards; }
html.gma-lite body .gma-topbar { box-shadow: none; }
html.gma-lite body .gma-app-cta::after { display: none; }
html.gma-lite body img.gma-img-in { animation: none; }
html.gma-lite body .head-tools .hmenu > a,
html.gma-lite body .head-tools .gma-drawer-extra > * { animation: none !important; }
html.gma-lite body .gma-share-net,
html.gma-lite body .gma-accent-dot { animation: none !important; }

/* share: bottom sheet on phones (gma-ui.js moves the card to <body>) */
html body .gma-share-card-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
html body .gma-share-net { border: 0; background: none; font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; }
html body .gma-share-net--more .gma-share-net-ico { background: var(--gma-surface-3); color: var(--gma-text); }
html body .gma-share-shade {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(8, 12, 18, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility 0s linear .25s;
}
html body .gma-share-shade.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
html body .gma-share-card.gma-share-sheet {
	position: fixed;
	top: auto;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	width: 100%;
	max-width: none;
	padding: .625rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
	border-width: 1px 0 0;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -12px 32px -12px rgba(0, 0, 0, .35);
	opacity: 1;
	visibility: hidden;
	transform: translateY(105%);
	transition: transform .3s var(--gma-ease-out), visibility 0s linear .3s;
}
html body .gma-share-card.gma-share-sheet.is-open {
	visibility: visible;
	transform: none;
	transition: transform .38s var(--gma-ease-out), visibility 0s;
}
html body .gma-share-card.gma-share-sheet::before {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	margin: 0 auto .875rem;
	border-radius: 4px;
	background: var(--gma-border-strong);
}
html body .gma-share-sheet .gma-share-card-title { text-align: center; }
html body .gma-share-sheet .gma-share-net { padding: .5rem 0; }
html body .gma-share-sheet .gma-share-net-ico { width: 50px; height: 50px; }
html body .gma-share-sheet .gma-share-copyrow { height: 52px; }

/* report dialog: quicker, no page blur behind it */
html body .remodal-overlay { background: rgba(8, 12, 18, .6) !important; }
html body .remodal-is-opening,
html body .remodal-is-closing { animation-duration: .2s !important; }
html body .remodal-bg.remodal-is-opening,
html body .remodal-bg.remodal-is-opened { filter: none !important; }

/* report / request-update dialog (wp-report-post + remodal) */
html body .remodal[data-remodal-id="report-post"] {
	max-width: 32rem;
	padding: 1.5rem 1.5rem 1.25rem;
	border-radius: 20px !important;
	text-align: left;
}
@media (max-width: 559px) {
	html body .remodal[data-remodal-id="report-post"] { padding: 1.25rem 1.125rem 1rem; }
}
html body [data-remodal-id="report-post"] .remodal-close {
	top: .875rem;
	right: .875rem;
	left: auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
	transition: background-color .15s ease, color .15s ease;
}
html body [data-remodal-id="report-post"] .remodal-close::before { width: 36px; font-size: 22px; line-height: 36px; }
html body [data-remodal-id="report-post"] .remodal-close:hover { background: var(--gma-surface-3); color: var(--gma-text); }
html body #report-post-modal-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 2.75rem .875rem 0 !important;
	font-size: 1.25rem !important;
	line-height: 1.3;
	letter-spacing: -.01em;
	text-align: left;
}
html body #report-post-modal-title::before {
	content: "";
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #fee4e2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d92d20' d='M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
html.darktheme body #report-post-modal-title::before { background-color: rgba(217, 45, 32, .18); }
html body #report-post-modal-desc {
	margin: 0 0 1rem !important;
	font-size: 0 !important;
	text-align: left;
}
html body #report-post-modal-desc b {
	display: inline-flex;
	max-width: 100%;
	padding: .375rem .75rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-text-2);
	font-size: .8125rem;
	font-weight: 700;
	line-height: 1.4;
}
html body #report-post-modal-desc b span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #report-post-modal-msg { margin: 0 0 .75rem !important; font-size: .875rem; text-align: left; }
html body #report-post-modal-msg.report-post-success,
html body #report-post-modal-msg.report-post-error { padding: .75rem .875rem; border-radius: 12px; font-weight: 600; }
html body #report-post-modal-msg.report-post-success { background: #dcfae6; color: #067647 !important; }
html body #report-post-modal-msg.report-post-error { background: #fee4e2; color: #b42318 !important; }
html.darktheme body #report-post-modal-msg.report-post-success { background: rgba(6, 118, 71, .2); color: #75e0a7 !important; }
html.darktheme body #report-post-modal-msg.report-post-error { background: rgba(217, 45, 32, .2); color: #fda29b !important; }
html body .report-post-form { display: grid; grid-template-columns: 1fr; gap: .875rem; margin: 0; }
@media (min-width: 560px) {
	html body .report-post-form { grid-template-columns: 1fr 1fr; }
	html body .report-post-form > div:not([class]) { grid-column: 1 / -1; }
}
html body .report-post-form > div[style*="clear"],
html body .report-post-form > .report-post-half-left:empty,
html body .report-post-form > .report-post-half-right:empty { display: none; }
html body .report-post-half-left,
html body .report-post-half-right { float: none !important; width: auto !important; margin: 0 !important; }
html body .report-post-form p {
	margin: 0 0 .375rem !important;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--gma-text-2);
	text-align: left;
}
html body .report-post-form .report-post-control {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 0 .875rem;
	border: 1px solid var(--gma-border) !important;
	border-radius: 12px !important;
	background: var(--gma-surface-2) !important;
	color: var(--gma-text) !important;
	font: inherit;
	font-size: .9375rem;
	box-shadow: none !important;
	transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
html body .report-post-form textarea.report-post-control { height: auto; min-height: 110px; padding: .75rem .875rem; resize: vertical; }
html body .report-post-form .report-post-control:focus {
	outline: 0;
	border-color: var(--gma-brand) !important;
	background: var(--gma-surface) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gma-brand) 18%, transparent) !important;
}
html body .report-post-form .report-post-control.report-post-control-error { border-color: #f04438 !important; box-shadow: 0 0 0 4px rgba(240, 68, 56, .15) !important; }
html body .report-post-form .report-post-control::placeholder { color: var(--gma-muted); opacity: .8; }
html body .gma-report-reasons { display: flex; flex-wrap: wrap; gap: .375rem; margin: 0 0 .625rem; }
html body .gma-report-reasons button {
	height: 32px;
	padding: 0 .75rem;
	border: 1px solid var(--gma-border);
	border-radius: 999px;
	background: var(--gma-surface);
	color: var(--gma-text-2);
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
html body .gma-report-reasons button:hover { border-color: var(--gma-brand); color: var(--gma-brand-text); }
html body .gma-report-reasons button[aria-pressed="true"] { border-color: var(--gma-brand); background: var(--gma-brand-soft); color: var(--gma-brand-text); }
html body #report-post-buttons { display: flex; justify-content: flex-end; gap: .625rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--gma-border); }
html body #report-post-buttons br { display: none; }
html body #report-post-buttons .remodal-cancel,
html body #report-post-buttons .remodal-confirm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	height: 46px;
	min-width: 7.5rem;
	margin: 0 !important;
	padding: 0 1.25rem;
	border-radius: 12px !important;
	font-size: .9375rem;
	font-weight: 800;
	cursor: pointer;
	transition: filter .15s ease, background-color .15s ease, transform .15s ease;
}
html body #report-post-buttons .remodal-cancel { background: transparent !important; border: 1px solid var(--gma-border) !important; color: var(--gma-text-2) !important; }
html body #report-post-buttons .remodal-cancel:hover { background: var(--gma-surface-2) !important; }
html body #report-post-buttons .remodal-confirm { background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b)) !important; color: #fff !important; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--gma-brand) 80%, transparent); }
html[data-accent="amber"] body #report-post-buttons .remodal-confirm { color: #1f1600 !important; }
html body #report-post-buttons .remodal-confirm:hover { filter: brightness(1.05); }
@media (max-width: 559px) {
	html body #report-post-buttons > a { flex: 1 1 0; min-width: 0; }
}

/* table of contents: section being read */
html body .gma-toc-list li a.is-active { background: var(--gma-brand-soft) !important; color: var(--gma-brand-text) !important; }
html body .gma-toc-list li a.is-active .gma-toc-num { background: var(--gma-brand) !important; color: var(--gma-brand-ink); }

/* compact comment form inside the comments card (moved there by gma-ui.js) */
html body #dle-comments-form.gma-cform { margin: .25rem 0 1.5rem; }
html body #allcomments:has(.gma-cform) .b-head .btn-all { display: none !important; }
html body .gma-cform .b-add-comments {
	margin: 0 !important;
	padding: 1rem !important;
	border: 1px solid var(--gma-border) !important;
	border-radius: 16px !important;
	background: var(--gma-surface-2) !important;
	box-shadow: none !important;
}
@media (min-width: 640px) {
	html body .gma-cform .b-add-comments { padding: 1.125rem 1.25rem 1.25rem !important; }
}
html body .gma-cform .b-head { margin: 0 0 .75rem !important; padding: 0 !important; }
html body .gma-cform .section-title { gap: .625rem; margin: 0 !important; font-size: 1rem !important; }
html body .gma-cform .section-title .c-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 10px; }
html body .gma-cform .section-title .c-icon svg { width: 18px; height: 18px; }
html body .gma-cform .b-cont { padding: 0 !important; }
html body .gma-cform #respond { display: flex; flex-direction: column; gap: .625rem; }
html body .gma-cform #respond > * { margin: 0 !important; }
html body .gma-cform .form-group { margin: 0 !important; }
/* the "required fields" note sits under the fields, small */
html body .gma-cform #respond > p.form-submit:empty { display: none; }
html body .gma-cform #reply-title { font-size: .875rem; }
html body .gma-cform #reply-title:has(#cancel-comment-reply-link[style*="none"]) { display: none; }
html body .gma-cform .comment-notes,
html body .gma-cform #respond > .form-group:not(:has(textarea)):not(:has(input)) { order: 3; }
html body .gma-cform .comment-form-comment,
html body .gma-cform #respond > .form-group#comment-editor:has(textarea) { order: 1; }
html body .gma-cform .form-combo { order: 2; display: grid; grid-template-columns: 1fr; gap: .625rem; margin: 0 !important; }
@media (min-width: 420px) {
	html body .gma-cform .form-combo { grid-template-columns: 1fr 1fr; }
}
html body .gma-cform .form-combo .form-group { width: auto !important; max-width: none !important; }
html body .gma-cform .comment-form-cookies-consent,
html body .gma-cform #respond > .form-group:has(#wp-comment-cookies-consent) { order: 4; }
html body .gma-cform .form-submit { order: 5; display: flex; justify-content: flex-end; }
html body .gma-cform textarea,
html body .gma-cform .form-control {
	width: 100% !important;
	min-height: 44px;
	padding: .625rem .875rem !important;
	border: 1px solid var(--gma-border) !important;
	border-radius: 12px !important;
	background: var(--gma-surface) !important;
	font-size: .9375rem !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
html body .gma-cform textarea { min-height: 88px !important; height: 88px; resize: vertical; }
html body .gma-cform textarea:focus,
html body .gma-cform .form-control:focus {
	outline: 0;
	border-color: var(--gma-brand) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gma-brand) 16%, transparent) !important;
}
html body .gma-cform label.c-muted { font-size: .75rem !important; line-height: 1.4; }
html body .gma-cform #submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: auto;
	height: 42px;
	padding: 0 1.125rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b)) !important;
	color: #fff !important;
	font-size: .9375rem;
	box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--gma-brand) 80%, transparent) !important;
}
html[data-accent="amber"] body .gma-cform #submit { color: #1f1600 !important; }
@media (max-width: 419px) {
	html body .gma-cform .form-submit { justify-content: stretch; }
	html body .gma-cform #submit { width: 100% !important; }
}

/* header icons (Lucide, see gma_icon()): one size, one stroke */
html body .gma-icon-btn { border-radius: 12px; }
html body .gma-icon-btn svg.gma-ico,
html body .gma-search-trigger svg.gma-ico { width: 20px; height: 20px; stroke-width: 2; }
html body .gma-icon-btn:hover svg.gma-ico { color: var(--gma-text); }
html body .gma-icon-btn:active svg.gma-ico { transform: scale(.92); }
html body .gma-search-trigger svg.gma-ico { width: 18px; height: 18px; color: var(--gma-muted); }
html body .gma-accent-now {
	right: 7px;
	bottom: 7px;
	width: 9px;
	height: 9px;
	box-shadow: 0 0 0 2px var(--gma-header-solid, var(--gma-surface));
}
html body .gma-theme-toggle .i__sun { color: #f59e0b; }

/* 20. PHONES: search, popular and latest on the first screen ================ */
@media (max-width: 639px) {
	/* hero: just the title and the search box */
	html body .page-head-main { padding: .875rem .75rem .25rem !important; margin-bottom: .75rem; }
	html body .page-head-main::before { inset: -1rem 0 0; }
	html body .gma-hero-badge,
	html body .gma-hero-sub { display: none !important; }
	html body div.page-head-main h1.title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
	html body .gma-hero-search { margin-top: .75rem; }
	html body .gma-hero-search .q-search-text { height: 46px; font-size: .9375rem; border-radius: 14px !important; }
	html body .gma-hero-search .q-search-btn { width: 38px; height: 38px; }

	/* section headings tighter */
	html body .section { margin-bottom: 1rem !important; }
	html body .section-head,
	html body .section > .section-title { margin-bottom: .5rem !important; }
	html body .section-title { font-size: 1.0625rem !important; }
	html body .section-title .c-icon { width: 28px !important; height: 28px !important; min-width: 28px !important; }

	/* popular apps: one thin swipe row */
	html body .scroll-entry-list .entry { min-width: 6.25rem; max-width: 6.25rem; }
	html body .scroll-entry-list .entry-list { gap: .5rem; padding-top: 0; padding-bottom: .375rem; }
	html body .recom-post { padding: .625rem .375rem .5rem; border-radius: 14px; }
	html body .recom-post .img { width: 52px; height: 52px; }
	html body .recom-post .title { margin-top: .4rem; font-size: .75rem; line-height: 1.3; }
	html body .recom-post-vers { display: none !important; }

	/* latest: three compact cards per row */
	html body .list-c6 { margin-left: -.25rem; margin-right: -.25rem; }
	html body .list-c6 .entry { max-width: 33.3333%; flex: 0 0 33.3333%; padding: .25rem; }
	html body .list-c6 .entry-app > .item { padding: .5rem .25rem .5rem; border-radius: 14px; }
	html body .list-c6 .entry-app .img { width: 56px; height: 56px; margin: .875rem auto .5rem; border-radius: 14px; }
	html body .list-c6 .entry-app .title { padding: 0 .25rem; font-size: .75rem !important; line-height: 1.3 !important; }
	html body .list-c6 .entry-app .title span {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	html body .list-c6 .entry-app .genre,
	html body .list-c6 .gma-card-req { display: none !important; }
	html body .list-c6 .gma-card-meta { justify-content: center; margin: auto .25rem 0; padding-top: .375rem; }
	html body .list-c6 .gma-card-ver { max-width: 100%; padding: .125rem .4rem; font-size: .625rem; }
	html body .list-c6 .entry-app .label { top: .3rem; left: .3rem; height: 15px; padding: 0 .3rem; font-size: .5rem; gap: .2rem; }
	html body .list-c6 .entry-app .label::before { width: 4px; height: 4px; }
	html body .list-c6 .entry-app .img .post__modpaid { bottom: -7px; height: 15px; line-height: 15px; font-size: .5rem; }

	/* telegram banner waits below "Latest" (moved by gma-ui.js) */
	html body.home section:has(.gma-tg):not(.gma-tg-moved),
	html body.preview section:has(.gma-tg):not(.gma-tg-moved) { display: none; }
}

/* dark mode: accent gradients are light there, so text and icons on them go dark */
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary,
html.darktheme body #report-post-buttons .remodal-confirm,
html.darktheme body .gma-cform #submit,
html.darktheme body .gma-blog-cta,
html.darktheme body .gma-news-cover,
html.darktheme body .gma-arch-icon,
html.darktheme body .gma-hero-badge { color: var(--gma-brand-ink) !important; }
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary { box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--gma-brand) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); }
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-icon,
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i { background: rgba(0, 0, 0, .14); }
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-text span { opacity: 1; }
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go {
	background: var(--gma-brand-ink);
	color: var(--gma-brand);
	box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .45);
}
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-icon b { background: var(--gma-brand-ink); color: var(--gma-brand); box-shadow: none; }
html.darktheme body .gma-cover-tag { background: rgba(0, 0, 0, .1); border-color: rgba(0, 0, 0, .16); }
html.darktheme body .gma-cover-title { text-shadow: none; }
html.darktheme body .gma-blog-cta-ico { background: rgba(0, 0, 0, .12); }
html.darktheme body .gma-blog-cta-btn { background: var(--gma-brand-ink); color: var(--gma-brand); }

/* app hero v2: gradient download button, icons on the side buttons */
html body .gma-app-cta {
	background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b)) !important;
	color: var(--gma-brand-ink) !important;
	box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--gma-brand) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
html body .gma-app-cta:hover { background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b)) !important; filter: brightness(1.05) saturate(1.05); }
html body .gma-app-cta small { background: rgba(0, 0, 0, .14); }
html body .gma-app-btn svg { flex: 0 0 auto; }
html body .gma-app-btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 639px) {
	/* stats: a tidy 3-column card instead of a strip that runs off the screen */
	html body .gma-app-stats {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 1rem 0 0;
		padding: 0;
		overflow: hidden;
		border: 1px solid var(--gma-border);
		border-radius: 16px;
		background: var(--gma-surface-2);
	}
	html body .gma-app-stat { min-width: 0; padding: .625rem .375rem; }
	html body .gma-app-stat + .gma-app-stat { border-left: 0; }
	html body .gma-app-stat:not(:nth-child(3n+1)) { border-left: 1px solid var(--gma-border); }
	html body .gma-app-stat:nth-child(n+4) { border-top: 1px solid var(--gma-border); }
	html body .gma-app-stat:last-child:nth-child(3n+2) { grid-column: span 2; }
	html body .gma-app-stat:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
	html body .gma-app-stat dt { font-size: .625rem; }
	html body .gma-app-stat dd { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: .875rem; }
	html body .gma-app-stat.is-rating dd { display: inline-flex; }

	/* actions: download on its own row, request + share side by side */
	html body .gma-app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
	html body .gma-app-actions > .gma-app-cta { grid-column: 1 / -1; height: 52px; }
	html body .gma-app-actions > .gma-share-pop,
	html body .gma-app-actions > .gma-share-pop > .gma-app-btn { width: 100%; }
	html body .gma-app-btn { height: 46px; padding: 0 .625rem; font-size: .875rem; }
}

/* 21. PHONES: home hero + popular apps v2 =================================== */
@media (max-width: 639px) {
	/* hero: small pill line, bigger title, pill search */
	html body .page-head-main { display: flex; flex-direction: column; align-items: center; padding-top: 1rem !important; }
	html body .gma-hero-sub {
		display: inline-flex !important;
		order: -1;
		align-items: center;
		max-width: 100%;
		margin: 0 0 .5rem;
		padding: .3rem .75rem;
		border-radius: 999px;
		background: var(--gma-brand-soft);
		color: var(--gma-brand-text);
		font-size: .6875rem;
		font-weight: 800;
		letter-spacing: .03em;
		text-transform: uppercase;
	}
	html body div.page-head-main h1.title { font-size: 1.4375rem; line-height: 1.2; }
	html body .gma-hero-search { width: 100%; margin-top: .875rem; }
	html body .gma-hero-search .q-search-text {
		height: 50px;
		padding-left: 1.125rem;
		padding-right: 3.25rem;
		border-radius: 999px !important;
		border-color: transparent !important;
		background: var(--gma-surface) !important;
		box-shadow: 0 0 0 1px var(--gma-border), 0 12px 26px -16px color-mix(in srgb, var(--gma-brand) 55%, rgba(16, 24, 40, .5)) !important;
	}
	html body .gma-hero-search .q-search-text:focus { box-shadow: 0 0 0 2px var(--gma-brand), 0 12px 26px -16px color-mix(in srgb, var(--gma-brand) 55%, rgba(16, 24, 40, .5)) !important; }
	html body .gma-hero-search .q-search-btn {
		top: 50% !important;
		right: 5px !important;
		width: 40px !important;
		height: 40px !important;
		transform: translateY(-50%);
		border-radius: 50% !important;
		background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b)) !important;
		color: var(--gma-brand-ink) !important;
	}
	html body .gma-hero-search .q-search-btn svg { width: 20px; height: 20px; }

	/* popular apps: big app-store icons with a rank badge, no card box */
	html body .scroll-entry-list .entry-list { counter-reset: gma-rank; gap: .875rem; padding-top: .5rem; }
	html body .scroll-entry-list .entry { counter-increment: gma-rank; min-width: 4.75rem; max-width: 4.75rem; }
	html body .scroll-entry-list .recom-post {
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		border-radius: 0;
	}
	html body .scroll-entry-list .recom-post .img {
		width: 72px;
		height: 72px;
		border-radius: 20px;
		box-shadow: 0 10px 20px -12px rgba(16, 24, 40, .55), 0 0 0 1px var(--gma-border);
	}
	html body .scroll-entry-list .recom-post .img img { border-radius: 20px; }
	html body .scroll-entry-list .recom-post::after {
		content: counter(gma-rank);
		position: absolute;
		top: -6px;
		left: -4px;
		z-index: 3;
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 22px;
		height: 22px;
		padding: 0 .3rem;
		border-radius: 999px;
		background: linear-gradient(135deg, var(--gma-grad-a), var(--gma-grad-b));
		color: var(--gma-brand-ink);
		font-size: .6875rem;
		font-weight: 800;
		box-shadow: 0 0 0 2px var(--gma-bg);
	}
	html body .scroll-entry-list .recom-post .title { margin-top: .5rem; font-size: .75rem; font-weight: 700; line-height: 1.25; }
	html body .scroll-entry-list .recom-post:active .img { transform: scale(.94); }
	html body .scroll-entry-list .recom-post .img { transition: transform .2s var(--gma-ease-out, ease); }
}

/* 22. SCREENSHOTS: swipe gallery + full-screen viewer (gma-ui.js) ========== */
html body .gma-shots {
	display: flex;
	gap: .75rem;
	margin: 1.25em 0 1.5em;
	padding: .25rem .125rem .875rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
html body .gma-shots::-webkit-scrollbar { display: none; }
html body .gma-shot,
html body .b-screens .screenshots a {
	position: relative;
	flex: 0 0 auto;
	padding: 0;
	border: 1px solid var(--gma-border);
	border-radius: 16px;
	background: var(--gma-surface-2);
	overflow: hidden;
	cursor: zoom-in;
	scroll-snap-align: start;
	box-shadow: 0 10px 22px -16px rgba(16, 24, 40, .55);
	transition: transform .25s var(--gma-ease-out, ease), box-shadow .25s ease;
}
@media (hover: hover) {
	html body .gma-shot:hover,
	html body .b-screens .screenshots a:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -16px rgba(16, 24, 40, .6); }
}
html body .gma-shot:active { transform: scale(.97); }
html body .gma-shot img,
html body .b-screens .screenshots img {
	display: block;
	width: auto !important;
	height: 300px !important;
	max-width: none !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	object-fit: cover;
}
@media (max-width: 639px) {
	html body .gma-shot img,
	html body .b-screens .screenshots img { height: 230px !important; }
	html body .gma-shots { gap: .625rem; }
}
html body .b-screens .screenshots { gap: .75rem; padding: .25rem .125rem .875rem; scrollbar-width: none; }
html body .b-screens .screenshots::-webkit-scrollbar { display: none; }

/* a single image in the description: framed and centred */
html body #app_description .gma-desc-figure { margin: 1.25em 0; text-align: center; }
html body #app_description .gma-desc-figure img {
	display: inline-block;
	max-width: min(100%, 320px);
	height: auto;
	border: 1px solid var(--gma-border);
	border-radius: 20px;
	box-shadow: 0 14px 30px -18px rgba(16, 24, 40, .5);
	cursor: zoom-in;
}

/* viewer */
html.gma-viewer-open,
html.gma-viewer-open body { overflow: hidden; }
html body .gma-viewer {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3.5rem .75rem 3rem;
	background: rgba(5, 8, 12, .94);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility 0s linear .2s;
}
html body .gma-viewer.is-open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
html body .gma-viewer img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
	user-select: none;
}
html body .gma-viewer img.is-in { animation: gma-view-in .28s var(--gma-ease-out, ease); }
@keyframes gma-view-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
html body .gma-viewer-close,
html body .gma-viewer-nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease;
}
html body .gma-viewer-close:hover,
html body .gma-viewer-nav:hover { background: rgba(255, 255, 255, .22); }
html body .gma-viewer-close { top: .75rem; right: .75rem; }
html body .gma-viewer-nav { top: 50%; transform: translateY(-50%); }
html body .gma-viewer-nav.is-prev { left: .75rem; }
html body .gma-viewer-nav.is-next { right: .75rem; }
html body .gma-viewer.is-single .gma-viewer-nav { display: none; }
html body .gma-viewer-count {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	padding: .25rem .75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: .8125rem;
	font-weight: 700;
}
html body .gma-viewer-count:empty { display: none; }
@media (max-width: 639px) {
	html body .gma-viewer-nav { top: auto; bottom: .625rem; transform: none; }
	html body .gma-viewer-nav.is-prev { left: 1rem; }
	html body .gma-viewer-nav.is-next { right: 1rem; }
}

/* footer: Telegram as a branded pill, brand colours on the other networks */
html body .gma-foot-social { flex-wrap: wrap; align-items: center; gap: .625rem; }
html body .gma-social--telegram {
	width: auto;
	max-width: none;
	gap: .5rem;
	height: 44px;
	padding: 0 1rem 0 .375rem;
	border: 0;
	border-radius: 999px;
	background: #229ed9;
	color: #fff !important;
	font-size: .875rem;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 10px 22px -14px rgba(34, 158, 217, .9);
	transition: background-color .15s ease, transform .2s var(--gma-ease-out, ease);
}
html body .gma-social--telegram:hover { background: #1c8cc2; border-color: transparent; color: #fff !important; transform: translateY(-1px); }
html body .gma-social--telegram .gma-social-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	color: #229ed9;
}
html body .gma-social--telegram .gma-social-ico svg { width: 22px; height: 22px; transform: translateX(-1px); }
html body .gma-social--youtube:hover { border-color: #ff0000; color: #ff0000 !important; background: rgba(255, 0, 0, .08); }
html body .gma-social--instagram:hover { border-color: #e1306c; color: #e1306c !important; background: rgba(225, 48, 108, .08); }
html body .gma-social--facebook:hover { border-color: #1877f2; color: #1877f2 !important; background: rgba(24, 119, 242, .08); }
html body .gma-social--twitter:hover { border-color: var(--gma-text); color: var(--gma-text) !important; background: var(--gma-surface-2); }

/* mobile drawer: no search box (the header search icon opens the search) */
html body .head-tools-panel .q-search { display: none !important; }

/* 23. STATIC PAGES v2 (page.php) + drawer links ============================ */
html body .gma-page { padding: 1rem 0 2rem; }
html body .gma-page > .wrp-min { max-width: 52rem; }
html body .gma-page-hero { margin-bottom: 1rem; }
html body .gma-page-title { margin: 0 !important; font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--gma-text); }
@media (min-width: 768px) {
	html body .gma-page-title { font-size: 2rem; }
}
html body .gma-page-meta { margin: .25rem 0 0 !important; font-size: .8125rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-page-body { margin: 0; }
html body .gma-page-body .b-cont { padding: 1.25rem 1.125rem 1.5rem; }
@media (min-width: 640px) {
	html body .gma-page-body .b-cont { padding: 1.75rem 2rem 2rem; }
}
html body .gma-page-body .text { font-size: 1rem; line-height: 1.75; color: var(--gma-text-2); }
html body .gma-page-body .text > p { margin: 0 0 1em; }
html body .gma-page-body .text > :first-child { margin-top: 0 !important; }
html body .gma-page-body .text > :last-child { margin-bottom: 0; }
html body .gma-page-body .gma-p-head,
html body .gma-page-body .text h2,
html body .gma-page-body .text h3 {
	position: relative;
	margin: 1.75em 0 .5em !important;
	padding-left: .875rem !important;
	font-size: 1.125rem !important;
	font-weight: 800 !important;
	line-height: 1.35;
	color: var(--gma-text) !important;
}
html body .gma-page-body .gma-p-head::before,
html body .gma-page-body .text h2::before,
html body .gma-page-body .text h3::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	left: 0;
	top: .2em;
	bottom: .2em;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(var(--gma-grad-a), var(--gma-grad-b));
}
html body .gma-page-body .gma-p-label { color: var(--gma-text); font-weight: 700; }
html body .gma-page-body .text a { color: var(--gma-brand-text) !important; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html body .gma-page-body .text ul,
html body .gma-page-body .text ol { margin: 0 0 1em; padding-left: 1.25rem; }
html body .gma-page-body .gma-tg-handle {
	display: inline-flex;
	align-items: center;
	padding: 0 .5rem;
	border-radius: 999px;
	background: var(--gma-telegram-soft);
	color: var(--gma-telegram) !important;
	text-decoration: none !important;
}
html body .gma-page-more { margin: 1.25rem 0 0; }
html body .gma-page-more-title {
	display: block;
	margin-bottom: .625rem;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-page-more-links { display: flex; flex-wrap: wrap; gap: .5rem; }
html body .gma-page-more-links a {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 .875rem;
	border: 1px solid var(--gma-border);
	border-radius: 999px;
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
html body .gma-page-more-links a:hover { border-color: var(--gma-brand); color: var(--gma-brand-text) !important; }
html body .gma-page-more-links a.is-current { border-color: transparent; background: var(--gma-brand-soft); color: var(--gma-brand-text) !important; }

/* mobile drawer: footer links as a tidy 2x2 grid with icons, never cut off */
@media (max-width: 991px) {
	html body .head-tools-panel { padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px)) !important; }
	html body .gma-drawer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; padding: 0; }
	html body .gma-drawer-links a {
		display: flex;
		align-items: center;
		gap: .5rem;
		min-height: 44px;
		padding: .5rem .75rem;
		border: 1px solid var(--gma-border);
		border-radius: 12px;
		background: var(--gma-surface);
		color: var(--gma-text-2) !important;
		font-size: .8125rem;
		font-weight: 700;
		line-height: 1.2;
	}
	html body .gma-drawer-links a:hover { border-color: var(--gma-brand); color: var(--gma-text) !important; }
	html body .gma-drawer-links a::before {
		content: "";
		flex: 0 0 16px;
		width: 16px;
		height: 16px;
		background: var(--gma-brand);
		-webkit-mask: var(--gma-dl-ico, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E")) center / contain no-repeat;
		mask: var(--gma-dl-ico, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'/%3E%3C/svg%3E")) center / contain no-repeat;
	}
	html body .gma-drawer-links a[href*="contact"],
	html body .gma-drawer-links a[href*="feedback"] { --gma-dl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2zm0 14H5.17L4 17.17V4h16v12z'/%3E%3C/svg%3E"); }
	html body .gma-drawer-links a[href*="dmca"] { --gma-dl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E"); }
	html body .gma-drawer-links a[href*="copy"] { --gma-dl-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-.1-11.6c1.4 0 2.3.7 2.6 1.9h2a4.5 4.5 0 0 0-4.6-3.8c-2.7 0-4.6 2-4.6 4.6s1.9 4.6 4.6 4.6a4.5 4.5 0 0 0 4.6-3.8h-2c-.3 1.2-1.2 1.9-2.6 1.9-1.6 0-2.6-1.2-2.6-2.7s1-2.7 2.6-2.7z'/%3E%3C/svg%3E"); }
}

/* hamburger: three rounded lines of different length, middle one in the accent */
@media (max-width: 991px) {
	html body .menu-butter .butterbrod {
		width: 22px;
		height: 16px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-start;
	}
	html body .menu-butter .butterbrod > i {
		display: block;
		height: 2.25px;
		border: 0 !important;
		border-radius: 99px;
		background: currentColor;
		transition: width .35s var(--gma-ease-out, ease), background-color .2s ease;
	}
	html body .menu-butter .butterbrod > i:nth-child(1) { width: 100%; }
	html body .menu-butter .butterbrod > i:nth-child(2) { width: 58%; background: var(--gma-brand); }
	html body .menu-butter .butterbrod > i:nth-child(3) { width: 80%; }
	html body .menu-butter:hover .butterbrod > i,
	html body .menu-butter:focus-visible .butterbrod > i,
	html body .menu-butter:active .butterbrod > i { width: 100%; }
}

/* 24. DRAWER CLOSE + LOGO ================================================== */
html body .gma-drawer-logo { display: inline-flex; align-items: center; text-decoration: none !important; border-radius: 10px; -webkit-tap-highlight-color: transparent; }
html body .gma-drawer-logo:focus-visible { outline: 2px solid var(--gma-brand); outline-offset: 3px; }
@media (max-width: 991px) {
	html body .head-tools-panel .menu-close {
		width: 40px !important;
		height: 40px !important;
		padding: 0 !important;
		border-radius: 999px !important;
		background: var(--gma-surface-2) !important;
		border: 1px solid var(--gma-border) !important;
		color: var(--gma-text) !important;
		box-shadow: none !important;
		-webkit-tap-highlight-color: transparent;
		transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
	}
	html body .head-tools-panel .menu-close .gma-ico { width: 20px; height: 20px; transition: transform .3s var(--gma-ease-out, ease); }
	html body .head-tools-panel .menu-close:hover,
	html body .head-tools-panel .menu-close:focus-visible {
		background: var(--gma-brand-soft, var(--gma-surface-2)) !important;
		border-color: transparent !important;
		color: var(--gma-brand) !important;
	}
	html body .head-tools-panel .menu-close:hover .gma-ico { transform: rotate(90deg); }
	html body .head-tools-panel .menu-close:active { transform: scale(.92); }
}

/* 25. APP TYPE BADGES + CARD POLISH ======================================== */
html body .gma-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .2rem;
	height: 18px;
	padding: 0 .45rem;
	border-radius: 999px;
	font-size: .5625rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	background: #334155;
	color: #fff;
}
html body .gma-badge svg { flex: 0 0 auto; width: 9px; height: 9px; }
html body .gma-badge--mod { background: linear-gradient(135deg, var(--gma-brand), color-mix(in srgb, var(--gma-brand) 72%, #000)); color: #fff; }
html body .gma-badge--apk { background: #334155; color: #fff; }
html body .gma-badge--premium,
html body .gma-badge--vip { background: linear-gradient(135deg, #fcd34d, #f59e0b); color: #451a03; }
html body .gma-badge--pro { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
html body .gma-badge--unlocked { background: linear-gradient(135deg, #14b8a6, #0f766e); color: #fff; }
html body .gma-badge--original { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
html body .gma-badge--xapk { background: linear-gradient(135deg, #6366f1, #4338ca); color: #fff; }
html.darktheme body .gma-badge--apk { background: #e2e8f0; color: #0f172a; }

/* on the card: sits on the icon's bottom edge with a ring */
html body .entry-app .img .gma-card-badge {
	position: absolute;
	left: 50%;
	bottom: -9px;
	z-index: 2;
	transform: translateX(-50%);
	box-shadow: 0 0 0 2.5px var(--gma-surface), 0 4px 10px -4px rgba(15, 23, 42, .45);
}
html body .list-c6 .entry-app .img .gma-card-badge { bottom: -7px; height: 15px; padding: 0 .35rem; font-size: .5rem; gap: .15rem; }
html body .list-c6 .entry-app .img .gma-card-badge svg { width: 7px; height: 7px; }

/* app page tag uses the same colours */
html body .gma-app-tag.gma-badge { height: 24px; padding: 0 .6rem; font-size: .6875rem; gap: .3rem; }
html body .gma-app-tag.gma-badge svg { width: 12px; height: 12px; }

/* card: version chip readable at rest, edit pencil small in the corner */
html body .gma-card-ver { background: var(--gma-brand-soft); color: var(--gma-brand-text); }
html body .entry-app .img .post__edit {
	top: -8px;
	right: -8px;
	z-index: 3;
}
html body .entry-app .img .post__edit a {
	display: grid !important;
	place-items: center;
	width: 26px !important;
	height: 26px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--gma-surface) !important;
	color: var(--gma-brand) !important;
	box-shadow: 0 0 0 1px var(--gma-border), 0 4px 10px -4px rgba(15, 23, 42, .35) !important;
}
html body .entry-app .img .post__edit .dashicons { width: 14px; height: 14px; font-size: 14px; line-height: 14px; }
@media (hover: hover) {
	html body .entry-app .img .post__edit { opacity: 0; transition: opacity .15s ease; }
	html body .entry-app > .item:hover .img .post__edit { opacity: 1; }
}

/* 26. APP PAGE: SCREENSHOTS BLOCK + TAB SPACING ============================ */
/* the old theme drew a grey disc behind each shot and a centred badge title */
html body .b-screens .b-icon-title {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0;
	padding: 1.25rem 1.25rem .875rem;
	text-align: left;
}
html body .b-screens .b-icon-title .c-icon {
	position: static;
	transform: none;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	margin: 0;
	border-radius: 11px;
	box-shadow: none;
}
html body .b-screens .b-icon-title .b-title {
	margin: 0 !important;
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: -.01em;
	text-transform: none;
}
html body .b-screens .gma-shots-count { margin-left: auto; color: var(--gma-muted); font-size: .8125rem; font-weight: 600; }
html body .b-screens .gma-shots-nav { display: none; gap: .375rem; }
@media (min-width: 640px) {
	html body .b-screens .b-icon-title { padding: 1.5rem 2rem 1rem; }
	html body .b-screens .gma-shots-nav { display: flex; }
	html body .b-screens .gma-shots-count { margin-right: .25rem; }
}
html body .gma-shots-nav button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--gma-border);
	border-radius: 50%;
	background: var(--gma-surface);
	color: var(--gma-text-2);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
html body .gma-shots-nav button:hover:not(:disabled) { background: var(--gma-brand-soft); color: var(--gma-brand-text); border-color: transparent; }
html body .gma-shots-nav button:disabled { opacity: .35; cursor: default; }
html body .b-screens .b-icon-title + .b-cont { padding: 0 0 1.25rem !important; }
html body .b-screens .screenshots {
	display: flex !important;
	gap: .75rem !important;
	margin: 0 !important;
	padding: .25rem 1.25rem 1rem !important;
	scroll-padding-inline: 1.25rem;
	text-align: left;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
}
@media (min-width: 640px) {
	html body .b-screens .b-icon-title + .b-cont { padding-bottom: 1.5rem !important; }
	html body .b-screens .screenshots { padding: .25rem 2rem 1rem !important; scroll-padding-inline: 2rem; gap: 1rem !important; }
}
html body .b-screens .screenshots > a {
	display: block !important;
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	padding: 0 !important;
	z-index: auto;
	border-radius: 18px;
	background: var(--gma-surface-2);
}
html body .b-screens .screenshots > a::before,
html body .b-screens .screenshots > a::after { content: none !important; display: none !important; }
html body .b-screens .screenshots > a img {
	position: static !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	height: 340px !important;
	width: auto !important;
	min-width: 150px;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	border-radius: 0 !important;
}
@media (max-width: 639px) {
	html body .b-screens .screenshots > a img { height: 260px !important; min-width: 120px; }
}
/* landscape shots (games) keep their shape */
html body .b-screens .screenshots > a.is-wide img { aspect-ratio: 16 / 9; }

/* description / what's new: space under the tab bar */
html body .b-tabs + .b-cont,
html body .b-tabs + .tab-content { padding-top: 1.25rem !important; }
@media (min-width: 640px) {
	html body .b-tabs + .b-cont,
	html body .b-tabs + .tab-content { padding-top: 1.5rem !important; }
}

/* size chips on the coloured download buttons: solid, readable in light and dark */
html body .gma-app-cta small,
html.darktheme body .gma-app-cta small,
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i,
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i {
	background: var(--gma-brand-ink) !important;
	color: var(--gma-brand-text) !important;
	font-weight: 800;
	letter-spacing: .01em;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
html.darktheme body .gma-app-cta small,
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i { color: var(--gma-brand) !important; }
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i svg { color: currentColor; }

/* content clean-up helpers (gma_clean_content_icons) */
html body li.gma-li-check,
html body li.gma-li-cross { list-style: none; position: relative; padding-left: 1.75em; }
html body li.gma-li-check::before,
html body li.gma-li-cross::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: var(--gma-brand-soft) no-repeat center / 70%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
html body li.gma-li-cross::before {
	background-color: var(--gma-tint-red-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc3b2f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
html body p.gma-note {
	padding: .875rem 1rem .875rem 2.75rem;
	position: relative;
	border-radius: 12px;
	background: var(--gma-tint-yellow-bg);
	color: var(--gma-text);
}
html body p.gma-note::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 1rem;
	width: 1.1em;
	height: 1.1em;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7791f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}
html body svg.gma-yn { display: inline-block; vertical-align: -3px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
html body svg.gma-yn--yes { stroke: var(--gma-tint-green-fg); }
html body svg.gma-yn--no { stroke: var(--gma-tint-red-fg); }

/* popular apps: MOD / APK badge sits on the icon's bottom edge (flex order) */
html body .recom-post > .gma-recom-badge {
	order: 1;
	position: relative;
	z-index: 3;
	margin-top: -9px;
	box-shadow: 0 0 0 2.5px var(--gma-surface), 0 4px 10px -4px rgba(15, 23, 42, .45);
}
html body .recom-post > .img { order: 0; }
html body .recom-post > .title { order: 2; }
html body .scroll-entry-list .recom-post > .gma-recom-badge { margin-top: -8px; height: 16px; padding: 0 .4rem; font-size: .5rem; }

/* download pages: logo exactly centred whatever the button widths */
html body .gma-dl-top { display: grid !important; grid-template-columns: 1fr auto 1fr; }
html body .gma-dl-top > .gma-dl-back { justify-self: start; }
html body .gma-dl-top > .gma-dl-logo { justify-self: center; margin: 0; }
html body .gma-dl-top > .gma-theme-toggle { justify-self: end; }

/* section headings: plain outline icon in the brand colour, no tinted tile */
html body .section-title > .c-icon,
html body .section-title > .c-icon[class*="s-"],
html body .b-icon-title > .c-icon[class*="s-"] {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: transparent !important;
	color: var(--gma-brand) !important;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gma-brand) 22%, transparent);
}
html body .section-title > .c-icon > svg,
html body .b-icon-title > .c-icon > svg { width: 18px; height: 18px; }

/* 27. ROBOT LOGO (gma_logo_mark) ========================================== */
html body .gma-logo { gap: .375rem; }
html body .gma-logo-mark.gma-bot { border-radius: 0; overflow: visible; }
html body .gma-bot * { transform-box: fill-box; transform-origin: center; }
html body .gma-bot .gma-bot-head { fill: var(--gma-brand); }
html body .gma-bot .gma-bot-ant { stroke: var(--gma-brand); }
html body .gma-bot .gma-bot-eye { fill: var(--gma-brand-ink); }
html body .gma-bot .gma-bot-mouth { stroke: var(--gma-brand-ink); }

/* life: gentle float, swaying antennas, eyes look around and blink, the smile talks */
html body .gma-bot .gma-bot-body { transform-origin: 50% 90%; animation: gma-bot-float 4s ease-in-out infinite; }
@keyframes gma-bot-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-1.2px) rotate(-1.5deg); } }
html body .gma-bot .gma-bot-ant--l { transform-origin: 100% 100%; animation: gma-bot-sway-l 2.6s ease-in-out infinite; }
html body .gma-bot .gma-bot-ant--r { transform-origin: 0% 100%; animation: gma-bot-sway-r 2.6s ease-in-out infinite .3s; }
@keyframes gma-bot-sway-l { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes gma-bot-sway-r { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
html body .gma-bot .gma-bot-eyes { animation: gma-bot-look 7s ease-in-out infinite; }
@keyframes gma-bot-look { 0%, 18%, 100% { transform: translateX(0); } 24%, 40% { transform: translateX(-2.2px); } 48%, 64% { transform: translateX(2.2px); } 72% { transform: translateX(0); } }
html body .gma-bot .gma-bot-eye { animation: gma-bot-blink 5s infinite; }
@keyframes gma-bot-blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.12); } 96% { transform: scaleY(1); } }
html body .gma-bot .gma-bot-mouth { transform-origin: 50% 0%; animation: gma-bot-talk 6s ease-in-out infinite; }
@keyframes gma-bot-talk {
	0%, 60%, 100% { transform: scale(1, 1); }
	64% { transform: scale(.85, 1.7); }
	68% { transform: scale(1, .7); }
	72% { transform: scale(.85, 1.6); }
	76% { transform: scale(1.05, .9); }
	80% { transform: scale(.9, 1.5); }
	84% { transform: scale(1, 1); }
}
/* hover: a happy wiggle with a big smile */
@media (hover: hover) {
	html body a:hover > .gma-logo .gma-bot .gma-bot-body,
	html body .gma-logo:hover .gma-bot .gma-bot-body { animation: gma-bot-wiggle .6s ease-in-out; }
	html body a:hover > .gma-logo .gma-bot .gma-bot-mouth,
	html body .gma-logo:hover .gma-bot .gma-bot-mouth { animation: none; transform: scale(1.25, 1.6); }
}
@keyframes gma-bot-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 60% { transform: rotate(7deg); } }
@media (prefers-reduced-motion: reduce) {
	html body .gma-bot *,
	html body .gma-bot .gma-bot-body { animation: none !important; }
}

/* 28. APP HERO v3 + TELEGRAM CARD ========================================= */
html body .gma-app-hero { position: relative; isolation: isolate; }
/* the glow is clipped by its own wrapper, so the Share card can still overflow the hero */
html body .gma-app-glow-clip { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
/* soft colour wash taken from the app icon, behind the top of the card */
html body .gma-app-glow {
	position: absolute;
	z-index: -1;
	left: -10%;
	right: -10%;
	top: -60px;
	height: 260px;
	background: center / cover no-repeat;
	filter: blur(56px) saturate(1.5);
	opacity: .2;
	transform: scale(1.2);
	-webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent);
	mask-image: linear-gradient(to bottom, #000 25%, transparent);
	pointer-events: none;
}
html.darktheme body .gma-app-glow { opacity: .28; }
html.gma-lite body .gma-app-glow { filter: blur(32px) saturate(1.3); }
html body .gma-app-hero .gma-app-icon {
	width: 88px;
	height: 88px;
	border-radius: 22px;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, .06), 0 14px 30px -14px rgba(15, 23, 42, .55);
}
@media (min-width: 640px) {
	html body .gma-app-hero .gma-app-icon { width: 120px; height: 120px; border-radius: 28px; }
}
/* stats: glassy strip with small icons above each label */
html body .gma-app-hero .gma-app-stats { background: color-mix(in srgb, var(--gma-surface-2) 82%, transparent); }
@media (max-width: 639px) {
	html body .gma-app-hero .gma-app-stats { margin-left: 0; margin-right: 0; padding: .375rem .25rem; border: 1px solid var(--gma-border); border-radius: var(--gma-radius-lg); }
}
html body .gma-app-stat dt { display: inline-flex; align-items: center; gap: .3rem; }
html body .gma-stat-ico { flex: 0 0 auto; color: var(--gma-brand); opacity: .85; }
html body .gma-app-stat.is-rating .gma-stat-ico { color: var(--gma-star); opacity: 1; }
html body .gma-app-stat dd { font-size: 1rem; }

/* Telegram card */
html body .tele-join.gma-tgc-wrap { margin: .75rem 0 0; }
html body .tele-join .gma-tgc {
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	gap: .75rem;
	width: 100%;
	padding: .625rem .625rem .625rem .75rem !important;
	border: 1px solid color-mix(in srgb, var(--gma-telegram) 24%, transparent) !important;
	border-radius: var(--gma-radius-lg) !important;
	background: linear-gradient(100deg, color-mix(in srgb, var(--gma-telegram) 12%, var(--gma-surface)), color-mix(in srgb, var(--gma-telegram) 4%, var(--gma-surface))) !important;
	color: var(--gma-text) !important;
	text-decoration: none !important;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
html body .tele-join .gma-tgc:hover { border-color: color-mix(in srgb, var(--gma-telegram) 45%, transparent) !important; box-shadow: 0 10px 24px -16px color-mix(in srgb, var(--gma-telegram) 80%, transparent); transform: translateY(-1px); }
html body .tele-join .gma-tgc-ico {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(145deg, #37aee2, #1e96c8);
	color: #fff;
	box-shadow: 0 6px 14px -6px rgba(30, 150, 200, .8);
}
html body .tele-join .gma-tgc-ico svg { width: 22px !important; height: 22px !important; transform: translateX(-1px); fill: currentColor !important; }
html body .tele-join .gma-tgc-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1 1 auto; }
html body .tele-join .gma-tgc-text b { font-size: .9375rem; font-weight: 800; line-height: 1.25; color: var(--gma-text); }
html body .tele-join .gma-tgc-text small { font-size: .8125rem; font-weight: 500; line-height: 1.3; color: var(--gma-muted); }
html body .tele-join .gma-tgc-btn {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	flex: 0 0 auto;
	height: 38px;
	padding: 0 .875rem 0 1rem;
	border-radius: 999px;
	background: var(--gma-telegram);
	color: #fff;
	font-size: .875rem;
	font-weight: 800;
	transition: gap .2s ease;
}
html.darktheme body .tele-join .gma-tgc-btn { color: #04131c; }
html body .tele-join .gma-tgc:hover .gma-tgc-btn { gap: .5rem; }
html body .tele-join .gma-tgc-btn svg { width: 16px !important; height: 16px !important; fill: none !important; }

/* 29. APP INFO CARD v2 ===================================================== */
@media (min-width: 1100px) {
	html body .gma-app-side { box-shadow: var(--gma-shadow-sm); }
	html body .gma-app-side-head img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .06); }
	html body .gma-app-side-cta {
		height: 46px !important;
		margin: 1rem 0 1.25rem !important;
		background: var(--gma-brand) !important;
		box-shadow: none !important;
		font-size: .9375rem !important;
	}
	html body .gma-app-side-cta:hover { background: var(--gma-brand-hover) !important; filter: none !important; }
}
html body .gma-app-info-title { font-size: .8125rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--gma-muted) !important; margin-bottom: .375rem !important; }
html body .gma-app-info {
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	background: var(--gma-surface-2);
	overflow: hidden;
}
html body .gma-app-info > div.gma-info-row {
	align-items: center;
	gap: .75rem;
	padding: .625rem .75rem;
	border-top: 1px solid var(--gma-border);
}
html body .gma-app-info > div.gma-info-row:first-child { border-top: 0; }
html body .gma-app-info .gma-info-row dt { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; color: var(--gma-muted); }
html body .gma-info-ico {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--gma-surface);
	color: var(--gma-text-2);
	box-shadow: inset 0 0 0 1px var(--gma-border);
}
html body .gma-app-info .gma-info-row dd {
	min-width: 0;
	font-size: .8125rem;
	font-weight: 700;
	color: var(--gma-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
}
html body .gma-app-info .gma-info-row dd a { color: var(--gma-text) !important; }
html body .gma-app-info .gma-info-row dd a:hover { color: var(--gma-brand-text) !important; }
html body .gma-app-info .gma-info-row--dev dd { max-width: 60%; }
html body .gma-info-badge { height: 20px; font-size: .5625rem; }
html body .gma-info-copy {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	max-width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font: inherit;
}
html body .gma-info-copy code {
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	padding: .125rem .375rem !important;
	background: var(--gma-surface) !important;
	box-shadow: inset 0 0 0 1px var(--gma-border);
}
html body .gma-info-copy span {
	flex: 0 0 auto;
	font-size: .6875rem;
	font-weight: 800;
	color: var(--gma-brand-text);
}
html body .gma-info-copy.is-copied span { color: var(--gma-tint-green-fg); }
html body .gma-info-play {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	height: 42px;
	margin-top: .75rem;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius);
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color .15s ease, border-color .15s ease;
}
html body .gma-info-play:hover { background: var(--gma-surface-2); border-color: var(--gma-border-strong); }
html body .gma-info-play svg:first-child { color: #34a853; }

/* 30. HOME HERO v3: robot mascot, plain backdrop, categories + facts ======== */
html body .page-head-main::before {
	background: radial-gradient(40rem 16rem at 50% 0%, color-mix(in srgb, var(--gma-brand) 8%, transparent), transparent 70%) !important;
}
html body .gma-hero-badge { display: none !important; }
html body .gma-hero-accent {
	background: none !important;
	-webkit-text-fill-color: currentColor !important;
	color: var(--gma-brand-text) !important;
}
html body .gma-hero-bot { display: block; width: 64px; height: 64px; margin: 0 auto .875rem; }
html body .gma-hero-bot .gma-logo-mark { width: 64px !important; height: 64px !important; }
html body .gma-hero-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	max-width: 44rem;
	margin: 1.25rem auto 0;
}
html body .gma-hero-cats a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	height: 36px;
	padding: 0 .875rem 0 .625rem;
	border: 1px solid var(--gma-border);
	border-radius: 999px;
	background: var(--gma-surface);
	color: var(--gma-text-2) !important;
	font-size: .8125rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
html body .gma-hero-cats a svg { width: 16px; height: 16px; color: var(--gma-brand); }
html body .gma-hero-cats a:hover { border-color: color-mix(in srgb, var(--gma-brand) 40%, transparent); background: var(--gma-brand-soft); color: var(--gma-brand-text) !important; }
html body .gma-hero-facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .25rem 0;
	margin: 1.125rem 0 0 !important;
	padding: 0 !important;
	list-style: none;
	font-size: .8125rem;
	font-weight: 500;
	color: var(--gma-muted);
}
html body .gma-hero-facts li { list-style: none; margin: 0; padding: 0 .875rem; }
html body .gma-hero-facts li + li { border-left: 1px solid var(--gma-border-strong); }
html body .gma-hero-facts li::before { display: none !important; }
html body .gma-hero-facts b { color: var(--gma-text); font-weight: 800; }
@media (max-width: 767px) {
	html body .gma-hero-bot,
	html body .gma-hero-cats,
	html body .gma-hero-facts { display: none !important; }
}

/* 31. HEADER NAV (desktop) + ARCHIVE HEADER POLISH ========================= */
@media (min-width: 992px) {
	html body .hmenu { gap: .125rem; }
	html body .hmenu > a > span { position: relative; padding: .625rem .875rem; font-weight: 600; }
	/* active page: brand text with a short underline instead of a filled pill */
	html body .hmenu > a.active > span,
	html body .hmenu > a[aria-current="page"] > span { background: transparent; color: var(--gma-text); font-weight: 700; }
	html body .hmenu > a.active > span::after,
	html body .hmenu > a[aria-current="page"] > span::after {
		content: "";
		position: absolute;
		left: .875rem;
		right: .875rem;
		bottom: .125rem;
		height: 2.5px;
		border-radius: 2px;
		background: var(--gma-brand);
	}
	html body .hmenu > a:hover > span { background: var(--gma-surface-2); }
	html body .hmenu > a.active:hover > span { background: transparent; }
	html body .hmenu > a .c-icon > svg { width: 17px; height: 17px; }
	/* search pill: calmer, keyboard hint as a proper key cap */
	html body .gma-search-trigger { background: var(--gma-surface-2) !important; border-color: transparent !important; }
	html body .gma-search-trigger:hover { background: var(--gma-surface) !important; border-color: var(--gma-border-strong) !important; }
	html body .gma-search-trigger .gma-kbd {
		height: 22px;
		padding: 0 .4rem;
		border: 1px solid var(--gma-border-strong);
		border-bottom-width: 2px;
		border-radius: 6px;
		background: var(--gma-surface);
		color: var(--gma-muted);
		font-size: .6875rem;
		font-weight: 700;
		line-height: 19px;
	}
}

/* category / tag pages: neutral icon tile instead of the green gradient badge */
html body .gma-arch-icon {
	background: var(--gma-surface-2) !important;
	color: var(--gma-brand) !important;
	box-shadow: inset 0 0 0 1px var(--gma-border) !important;
}
html body .gma-arch-icon svg { stroke-width: 1.9; }
html body .gma-arch-hero { background: var(--gma-surface); }

/* 32. DOWNLOAD BLOCK v3 + COMMENT FORM POLISH ============================== */
/* main mirror: a calm row with an accent outline, the button carries the colour */
html body .gma-dlb-options .gma-dl-option.is-primary {
	background: color-mix(in srgb, var(--gma-brand) 6%, var(--gma-surface)) !important;
	color: var(--gma-text) !important;
	border: 1.5px solid color-mix(in srgb, var(--gma-brand) 45%, transparent) !important;
	box-shadow: none !important;
	filter: none !important;
}
html body .gma-dlb-options .gma-dl-option.is-primary::before { display: none !important; }
html body .gma-dlb-options .gma-dl-option.is-primary:hover { border-color: var(--gma-brand) !important; background: color-mix(in srgb, var(--gma-brand) 9%, var(--gma-surface)) !important; }
html body .gma-dlb-options .gma-dl-option .gma-dl-option-icon,
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-icon {
	background: var(--gma-surface) !important;
	color: var(--gma-brand) !important;
	box-shadow: inset 0 0 0 1px var(--gma-border);
}
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i,
html.darktheme body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i {
	background: var(--gma-surface) !important;
	color: var(--gma-text-2) !important;
	box-shadow: inset 0 0 0 1px var(--gma-border) !important;
	font-weight: 700;
}
html body .gma-dlb-options .gma-dl-option-text b { color: var(--gma-text); }
/* the action: a solid pill "Download" (icon only on small phones) */
html body .gma-dlb-options .gma-dl-option-go,
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go {
	flex: 0 0 auto !important;
	width: auto !important;
	height: 40px !important;
	gap: .375rem;
	padding: 0 1rem 0 .875rem !important;
	border-radius: 999px !important;
	background: var(--gma-surface-2) !important;
	color: var(--gma-text) !important;
	box-shadow: inset 0 0 0 1px var(--gma-border) !important;
	font-size: .875rem;
	font-weight: 800;
}
html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go {
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
	box-shadow: none !important;
}
html body .gma-dl-go-text { order: -1; }
html body .gma-dlb-options .gma-dl-option-go svg { width: 18px; height: 18px; }
@media (max-width: 479px) {
	html body .gma-dl-go-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	html body .gma-dlb-options .gma-dl-option-go,
	html body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-go { width: 40px !important; padding: 0 !important; }
}
@media (hover: hover) {
	html body .gma-dlb-options .gma-dl-option:hover .gma-dl-option-go { transform: none; }
	html body .gma-dlb-options .gma-dl-option.is-primary:hover .gma-dl-option-go { background: var(--gma-brand-hover) !important; }
}

/* comment form: aligned fields, quiet card, solid button */
html body .gma-cform .b-add-comments { background: var(--gma-surface) !important; }
html body .gma-cform .form-combo > .form-group,
html body .gma-cform .form-combo .form-group { padding: 0 !important; margin: 0 !important; }
html body .gma-cform .form-combo .form-control { margin: 0 !important; }
html body .gma-cform textarea,
html body .gma-cform .form-control { background: var(--gma-surface-2) !important; border-color: transparent !important; }
html body .gma-cform textarea:focus,
html body .gma-cform .form-control:focus { background: var(--gma-surface) !important; }
html body .gma-cform label.c-muted { display: inline-flex !important; align-items: center; gap: .5rem; padding: 0 !important; cursor: pointer; }
html body .gma-cform label.c-muted input { width: 16px; height: 16px; margin: 0 !important; accent-color: var(--gma-brand); }
html body .gma-cform .comment-notes { font-size: .75rem !important; color: var(--gma-muted) !important; }
html body .gma-cform #submit {
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
	box-shadow: none !important;
	border-radius: 999px;
	padding: 0 1.25rem;
}
html body .gma-cform #submit:hover { background: var(--gma-brand-hover) !important; }

/* 33. SEARCH PALETTE v2 + POPULAR CARD BADGE ============================== */
html body .gma-sp-trending .gma-sp-option { position: relative; gap: .75rem; padding-left: .875rem; }
html body .gma-sp-rank {
	order: -1;
	width: 1.25rem;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: var(--gma-muted) !important;
	font-size: .9375rem !important;
	font-weight: 800;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
html body .gma-sp-option.is-active .gma-sp-rank { color: var(--gma-brand-text) !important; }
html body .gma-sp-option.is-active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--gma-brand);
}
html body .gma-sp-thumb img,
html body .gma-sp-thumb { border-radius: 11px; }
html body .gma-sp-thumb { box-shadow: 0 0 0 1px var(--gma-border); overflow: hidden; }
html body .gma-sp-title { font-weight: 650; }
html body .gma-sp-cat { border-color: transparent; background: var(--gma-surface-2); }
html body .gma-sp-cat:hover,
html body .gma-sp-cat:focus-visible { background: var(--gma-surface); border-color: color-mix(in srgb, var(--gma-brand) 40%, transparent); }
html body .gma-sp-cat-icon { background: var(--gma-surface); color: var(--gma-brand); box-shadow: inset 0 0 0 1px var(--gma-border); }

/* popular apps on wider screens: MOD / APK badge as a corner tag opposite the rating */
@media (min-width: 768px) {
	html body .recom-post > .gma-recom-badge {
		position: absolute;
		top: .75rem;
		left: .75rem;
		order: 0;
		margin: 0;
		height: 22px;
		padding: 0 .55rem;
		font-size: .625rem;
		box-shadow: none;
	}
	html body .recom-post > .gma-recom-badge svg { width: 10px; height: 10px; }
}

/* 34. ARTICLE PAGE v2 (template/news-article.php) ========================== */
html body .gma-article-dek {
	max-width: 40rem;
	margin: .875rem 0 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--gma-text-2);
}
@media (min-width: 640px) {
	html body .gma-article-dek { font-size: 1.1875rem; }
}
html body .gma-article-meta { margin-top: 1.125rem; }
html body .gma-author-bot {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--gma-brand-soft);
}
html body .gma-author-bot .gma-logo-mark { width: 18px !important; height: 18px !important; }

/* reading typography */
html body .gma-article-body { font-size: 1.0625rem; line-height: 1.75; color: var(--gma-text-2); }
html body .gma-article-body > p:first-child { font-size: 1.125rem; color: var(--gma-text); }
html body .gma-article-body h2 {
	margin: 2.25rem 0 .875rem !important;
	padding-top: 1.75rem !important;
	border-top: 1px solid var(--gma-border);
	font-size: 1.375rem !important;
	line-height: 1.3 !important;
	letter-spacing: -.015em;
	color: var(--gma-text) !important;
}
html body .gma-article-body h2:first-of-type { border-top: 0; padding-top: 0 !important; }
html body .gma-article-body h3 { margin: 1.5rem 0 .5rem !important; font-size: 1.125rem !important; color: var(--gma-text) !important; }
@media (min-width: 640px) {
	html body .gma-article-body h2 { font-size: 1.5rem !important; }
}
html body .gma-article-body strong { color: var(--gma-text); }
html body .gma-article-body a:not(.gma-chip):not([class*="ez-toc"]) {
	color: var(--gma-brand-text) !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1.5px !important;
	text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, var(--gma-brand) 40%, transparent) !important;
}
html body .gma-article-body a:not(.gma-chip):not([class*="ez-toc"]):hover { text-decoration-color: currentColor !important; }
html body .gma-article-body code {
	padding: .1em .4em;
	border-radius: 6px;
	background: var(--gma-surface-2);
	box-shadow: inset 0 0 0 1px var(--gma-border);
	font-size: .875em;
	color: var(--gma-text);
}
/* numbered steps: brand number bubbles */
html body .gma-article-body ol:not([class]) { counter-reset: gma-step; list-style: none !important; padding-left: 0 !important; margin: 1rem 0 1.25rem !important; }
html body .gma-article-body ol:not([class]) > li {
	counter-increment: gma-step;
	position: relative;
	margin: 0 0 .75rem !important;
	padding-left: 2.5rem !important;
	list-style: none !important;
}
html body .gma-article-body ol:not([class]) > li::before {
	content: counter(gma-step);
	position: absolute;
	left: 0;
	top: .1rem;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--gma-brand-soft);
	color: var(--gma-brand-text);
	font-size: .8125rem;
	font-weight: 800;
	line-height: 1;
}
html body .gma-article-body ol:not([class]) > li::marker { content: none; }
/* bullets */
html body .gma-article-body ul:not([class]) { list-style: none !important; padding-left: 0 !important; margin: 1rem 0 1.25rem !important; }
html body .gma-article-body ul:not([class]) > li:not(.gma-li-check):not(.gma-li-cross) {
	position: relative;
	margin: 0 0 .5rem !important;
	padding-left: 1.5rem !important;
	list-style: none !important;
}
html body .gma-article-body ul:not([class]) > li:not(.gma-li-check):not(.gma-li-cross)::before {
	content: "";
	position: absolute;
	left: .35rem;
	top: .7em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gma-brand);
}
/* tables */
html body .gma-article-body table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.25rem 0 1.5rem !important;
	overflow-x: auto;
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	font-size: .9375rem;
	line-height: 1.5;
}
html body .gma-article-body table thead th {
	background: var(--gma-surface-2);
	color: var(--gma-text);
	font-weight: 800;
	font-size: .8125rem;
	text-align: left;
	white-space: nowrap;
}
html body .gma-article-body table th,
html body .gma-article-body table td { padding: .7rem .9rem !important; border: 0 !important; border-top: 1px solid var(--gma-border) !important; vertical-align: top; }
html body .gma-article-body table thead th { border-top: 0 !important; }
html body .gma-article-body table td:first-child { font-weight: 700; color: var(--gma-text); }
/* note boxes inside articles */
html body .gma-article-body p.gma-note { margin: 1.25rem 0 !important; font-size: .9375rem; line-height: 1.6; }

/* author box at the end */
html body .gma-author-box {
	display: flex;
	align-items: flex-start;
	gap: .875rem;
	margin-top: 1.75rem;
	padding: 1rem 1.125rem;
	border-radius: var(--gma-radius-lg);
	background: var(--gma-surface-2);
}
html body .gma-author-box .gma-author-bot { width: 48px; height: 48px; }
html body .gma-author-box .gma-author-bot .gma-logo-mark { width: 28px !important; height: 28px !important; }
html body .gma-author-box > div { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
html body .gma-author-box-label { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gma-muted); }
html body .gma-author-box b { font-size: 1rem; font-weight: 800; color: var(--gma-text); }
html body .gma-author-box p { margin: .25rem 0 0 !important; font-size: .875rem; line-height: 1.55; color: var(--gma-text-2); }

/* 35. FIXES: note boxes inside .text, amber download chip =================== */
/* .text p resets padding and background with !important, which put the warning
   icon on top of the words; give note paragraphs their box back */
html body .text p.gma-note,
html body .gma-article-body p.gma-note {
	position: relative;
	padding: .875rem 1rem .875rem 2.75rem !important;
	border-radius: 12px !important;
	background: var(--gma-tint-yellow-bg) !important;
	color: var(--gma-text) !important;
}
html body .text p.gma-note::before { left: 1rem; top: 1.05rem; }
/* amber accent: the brand ink is dark, so the size chip needs light text */
html[data-accent="amber"] body .gma-app-cta small,
html[data-accent="amber"] body .gma-dlb-options .gma-dl-option.is-primary .gma-dl-option-meta i { color: var(--gma-brand) !important; }

/* 36. HERO: MOD / APK tag sits on the icon's bottom edge ===================== */
html body .gma-app-iconbox { position: relative; flex: 0 0 auto; display: block; }
html body .gma-app-iconbox .gma-hero-badge-tag {
	position: absolute;
	left: 50%;
	bottom: -10px;
	transform: translateX(-50%);
	height: 22px;
	padding: 0 .6rem;
	font-size: .625rem;
	box-shadow: 0 0 0 3px var(--gma-surface), 0 6px 14px -6px rgba(15, 23, 42, .45);
}
html body .gma-app-iconbox .gma-hero-badge-tag svg { width: 10px; height: 10px; }
@media (min-width: 640px) {
	html body .gma-app-iconbox .gma-hero-badge-tag { height: 24px; font-size: .6875rem; padding: 0 .7rem; }
}

/* 37. ARTICLE SHARE BAR v2 ================================================= */
html body .gma-article-card .gma-share {
	gap: 1rem 1.5rem;
	margin-top: 2.25rem;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--gma-border);
	border-radius: calc(var(--gma-radius) + 6px);
	background: var(--gma-surface-2);
}
html body .gma-share-head { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
html body .gma-share-label { font-size: 1rem; line-height: 1.3; }
html body .gma-share-sub { font-size: .8125rem; color: var(--gma-muted); }
html body .gma-share-list { align-items: center; gap: .5rem; }
html body .gma-article-card .gma-share-btn {
	--net: var(--gma-text-2);
	width: 42px;
	min-width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--net) 12%, var(--gma-surface));
	color: var(--net) !important;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--net) 18%, transparent);
	transition: background-color .15s ease, color .15s ease, transform .2s var(--gma-ease-out, ease), box-shadow .15s ease;
}
html body .gma-article-card .gma-share-btn svg { width: 19px; height: 19px; }
html body .gma-article-card .gma-share-whatsapp { --net: #1da851; }
html body .gma-article-card .gma-share-telegram { --net: #229ed9; }
html body .gma-article-card .gma-share-x { --net: var(--gma-text); }
html body .gma-article-card .gma-share-facebook { --net: #1877f2; }
html body .gma-article-card .gma-share-btn:hover {
	background: var(--net) !important;
	color: #fff !important;
	border-color: transparent;
	box-shadow: 0 8px 18px -10px var(--net);
	transform: translateY(-2px);
}
html body .gma-article-card .gma-share-x:hover { color: var(--gma-surface) !important; }
html body .gma-article-card .gma-share-copy {
	--net: var(--gma-brand);
	width: auto;
	gap: .4rem;
	padding: 0 1rem 0 .875rem;
	background: var(--gma-brand) !important;
	color: var(--gma-brand-ink) !important;
	box-shadow: none;
	font-size: .8125rem;
	font-weight: 800;
}
html body .gma-article-card .gma-share-copy svg { width: 17px; height: 17px; }
html body .gma-article-card .gma-share-copy:hover { color: var(--gma-brand-ink) !important; filter: brightness(1.05); }
html body .gma-article-card .gma-share-copy.is-copied { background: var(--gma-text) !important; color: var(--gma-surface) !important; }
@media (max-width: 639px) {
	html body .gma-article-card .gma-share { flex-direction: column; align-items: stretch; padding: 1rem; }
	html body .gma-share-list { flex-wrap: nowrap; }
	html body .gma-article-card .gma-share-copy { flex: 1 1 auto; justify-content: center; }
}

/* 38. FOOTER v2: brand + link columns ======================================= */
html body .gma-foot {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: start;
	gap: 2rem 3rem;
	padding: 2.5rem 0 2rem;
}
html body .gma-foot-brand { max-width: 24rem; margin: 0; gap: .75rem; }
html body .gma-foot-brand .gma-foot-social { margin-top: .25rem; }
html body .gma-foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
html body .gma-foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: .625rem; }
html body .gma-foot-h {
	margin: 0 0 .25rem;
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gma-muted);
}
html body .gma-foot-col a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	color: var(--gma-text-2) !important;
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: color .15s ease, transform .2s var(--gma-ease-out, ease);
}
html body .gma-foot-col a:hover { color: var(--gma-brand-text) !important; transform: translateX(2px); }
html body .gma-foot-links { flex-wrap: nowrap; }
html body .gma-foot-note { margin: 0; font-size: .75rem; color: var(--gma-muted); }
@media (max-width: 767px) {
	html body .gma-foot { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 2rem 0 1.5rem; }
	html body .gma-foot-cols { gap: 1.25rem 1.5rem; }
	html body .gma-foot-col { gap: .5rem; }
	html body .gma-foot-bottom { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

/* 39. TABLE OF CONTENTS v3: "In this article", numbered rail, show all ======= */
html body .gma-toc.gma-toc3 {
	margin: 1.5rem 0 2rem;
	padding: 1rem 1rem .5rem;
	background: var(--gma-surface);
	border: 1px solid var(--gma-border);
	border-radius: var(--gma-radius-lg);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	overflow: visible;
}
html body .gma-toc3:hover { border-color: var(--gma-border); }
html body .gma-toc3 .gma-toc-head { display: flex; align-items: center; gap: .75rem; padding: 0 .25rem .875rem; border-bottom: 1px solid var(--gma-border); }
html body .gma-toc3 .gma-toc-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--gma-brand-soft); color: var(--gma-brand); }
html body .gma-toc3 .gma-toc-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
html body .gma-toc3 .gma-toc-titles { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.2; }
html body .gma-toc3 .gma-toc-titles small { font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gma-muted); }
html body .gma-toc3 .gma-toc-titles b { margin-top: .125rem; font-size: 1rem; font-weight: 800; color: var(--gma-text); }
html body .gma-toc3 .gma-toc-count { flex: 0 0 auto; padding: .25rem .625rem; border-radius: 999px; background: var(--gma-surface-2); color: var(--gma-muted); font-size: .75rem; font-weight: 700; white-space: nowrap; }
html body .gma-toc3 .gma-toc-body { position: relative; padding: .5rem 0 .25rem; border: 0; animation: none; }
html body .gma-toc3 .gma-toc-list { position: relative; padding: 0 !important; }
/* the rail */
html body .gma-toc3 .gma-toc-list::before { content: ""; position: absolute; top: .875rem; bottom: .875rem; left: 1.375rem; width: 2px; border-radius: 2px; background: var(--gma-border); }
html body .gma-toc3 .gma-toc-list li a {
	position: relative;
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	align-items: center;
	gap: 0;
	padding: .5rem .625rem .5rem 0;
	border-radius: var(--gma-radius-sm);
	color: var(--gma-text-2) !important;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color .15s ease, color .15s ease;
}
html body .gma-toc3 .gma-toc-list li a:hover { background: var(--gma-surface-2) !important; color: var(--gma-text) !important; }
html body .gma-toc3 .gma-toc-num {
	position: relative;
	z-index: 1;
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	min-width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--gma-surface) !important;
	box-shadow: 0 0 0 2px var(--gma-border);
	color: var(--gma-muted);
	font-size: .6875rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
html body .gma-toc3 .gma-toc-list li a:hover .gma-toc-num { background: var(--gma-surface) !important; color: var(--gma-brand-text); box-shadow: 0 0 0 2px var(--gma-brand); }
html body .gma-toc3 .gma-toc-list li a.is-active { background: var(--gma-brand-soft) !important; color: var(--gma-brand-text) !important; }
html body .gma-toc3 .gma-toc-list li a.is-active .gma-toc-num { background: var(--gma-brand) !important; color: var(--gma-brand-ink); box-shadow: 0 0 0 2px var(--gma-brand); }
/* sub-sections: small dot on the rail, lighter text */
html body .gma-toc3 .gma-toc-list li.gma-toc-sub a { padding-left: 0; font-size: .875rem; font-weight: 500; color: var(--gma-muted) !important; }
html body .gma-toc3 .gma-toc-sub .gma-toc-num { display: inline-flex; width: 8px; min-width: 8px; height: 8px; box-shadow: 0 0 0 2px var(--gma-border); }
html body .gma-toc3 .gma-toc-list li.gma-toc-sub a:hover,
html body .gma-toc3 .gma-toc-list li.gma-toc-sub a.is-active { color: var(--gma-brand-text) !important; }
/* beat the article link style (underlined brand links) */
html body .gma-toc.gma-toc3 .gma-toc-list li a { color: var(--gma-text-2) !important; text-decoration: none !important; }
html body .gma-toc.gma-toc3 .gma-toc-list li a:hover { color: var(--gma-text) !important; }
html body .gma-toc.gma-toc3 .gma-toc-list li a.is-active { color: var(--gma-brand-text) !important; }
html body .gma-toc.gma-toc3 .gma-toc-list li.gma-toc-sub a { color: var(--gma-muted) !important; }
html body .gma-toc.gma-toc3 .gma-toc-list li.gma-toc-sub a:hover,
html body .gma-toc.gma-toc3 .gma-toc-list li.gma-toc-sub a.is-active { color: var(--gma-brand-text) !important; }
/* collapsed: first items with a fade, then "Show all" */
html body .gma-toc3.is-collapsed .gma-toc-list > li:nth-child(n+6) { display: none; }
html body .gma-toc3.is-collapsed .gma-toc-list { -webkit-mask-image: linear-gradient(#000 60%, rgba(0, 0, 0, .25)); mask-image: linear-gradient(#000 60%, rgba(0, 0, 0, .25)); }
html body .gma-toc3.is-open .gma-toc-list > li { animation: gma-toc-in .25s var(--gma-ease-out, ease) both; }
html body .gma-toc-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .375rem;
	width: 100%;
	height: 40px;
	margin: .25rem 0 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--gma-border);
	border-radius: 0;
	background: none;
	color: var(--gma-brand-text);
	font: inherit;
	font-size: .8125rem;
	font-weight: 800;
	cursor: pointer;
}
html body .gma-toc-more:hover { color: var(--gma-brand); }
html body .gma-toc-more svg { width: 16px; height: 16px; transition: transform .25s var(--gma-ease-out, ease); }
html body .gma-toc3.is-open .gma-toc-more svg { transform: rotate(180deg); }
@media (max-width: 559px) {
	html body .gma-toc.gma-toc3 { padding: .875rem .75rem .375rem; }
	html body .gma-toc3 .gma-toc-list li a { grid-template-columns: 2.5rem minmax(0, 1fr); font-size: .9063rem; }
	html body .gma-toc3 .gma-toc-list::before { left: 1.25rem; }
}

/* 40. BLOG LIST ON PHONES: real covers keep their 16:9 shape (no side crop) === */
@media (max-width: 639px) {
	html body .gma-news-card:not(.is-featured) .gma-news-media:not(.is-ph) {
		flex: 0 0 136px;
		width: 136px;
		aspect-ratio: 16 / 9;
		align-self: center;
		border-radius: 10px;
		box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
	}
	html body .gma-news-card:not(.is-featured) .gma-news-media:not(.is-ph) img { object-fit: cover; object-position: center; }
	html body .gma-news-card:not(.is-featured):has(.gma-news-media:not(.is-ph)) { align-items: center; }
	html body .gma-news-card:not(.is-featured) .gma-news-media:not(.is-ph) + .gma-news-body { gap: .3rem; padding: .75rem .875rem .75rem .75rem; justify-content: center; }
	html body .gma-news-card:not(.is-featured) .gma-news-media:not(.is-ph) + .gma-news-body .gma-news-meta { display: none; }
}
@media (max-width: 374px) {
	html body .gma-news-card:not(.is-featured) .gma-news-media:not(.is-ph) { flex-basis: 112px; width: 112px; }
}

/* 41. MOBILE DRAWER v2: clean rows, colour picker, Telegram card, text footer */
@media (max-width: 991px) {
	html body .gma-drawer-head { margin-bottom: .75rem; padding-bottom: .875rem; height: auto; border-bottom: 1px solid var(--gma-border); margin-right: 0; padding-right: 3rem; }
	html body .head-tools-panel .menu-close { top: .75rem !important; }
	/* menu rows */
	html body .head-tools .hmenu { gap: .125rem !important; }
	html body .head-tools .hmenu > a > span { min-height: 50px; padding: .4375rem .625rem; border-radius: 12px; font-size: 1rem; font-weight: 700; color: var(--gma-text) !important; transition: background-color .15s ease; }
	html body .head-tools .hmenu > a > span::after { display: none !important; }
	html body .head-tools .hmenu > a:hover > span,
	html body .head-tools .hmenu > a:active > span { background: var(--gma-surface-2) !important; }
	html body .head-tools .hmenu > a .gma-nav-ico { min-width: 36px; max-width: 36px; height: 36px; border-radius: 10px; background: var(--gma-surface-2) !important; color: var(--gma-text-2) !important; }
	html body .head-tools .hmenu > a.active > span,
	html body .head-tools .hmenu > a[aria-current="page"] > span { background: var(--gma-brand-soft) !important; color: var(--gma-brand-text) !important; }
	html body .head-tools .hmenu > a.active > span::before,
	html body .head-tools .hmenu > a[aria-current="page"] > span::before { content: ""; position: absolute; left: -1rem; top: 50%; width: 4px; height: 22px; margin-top: -11px; border-radius: 0 4px 4px 0; background: var(--gma-brand); }
	html body .head-tools .hmenu > a > span { position: relative; }

	/* appearance */
	html body .gma-drawer-extra { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gma-border); }
	html body .gma-drawer-title { margin: 0 0 .5rem .625rem !important; }
	html body .gma-drawer-card { border-radius: 14px; background: var(--gma-surface-2); border-color: transparent; }
	html body .gma-drawer-row { min-height: 50px; padding: .5rem .75rem; font-size: .9375rem; }
	html body button.gma-drawer-row { border-bottom: 1px solid var(--gma-border); }
	html body .gma-drawer-row-ico { width: 32px; height: 32px; background: var(--gma-surface); color: var(--gma-text-2); box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
	html body .gma-drawer-colors { min-height: 0; padding-bottom: .375rem; }
	html body .gma-drawer-dots { display: grid; grid-template-columns: repeat(6, 1fr); justify-items: center; gap: .25rem; padding: .25rem .75rem .875rem; }
	html body .gma-drawer-dots .gma-accent-dot { width: 30px; height: 30px; }

	/* Telegram card */
	html body .gma-drawer-tg {
		justify-content: flex-start;
		gap: .75rem;
		height: auto;
		min-height: 60px;
		margin-top: .75rem;
		padding: .625rem .75rem;
		border-radius: 14px;
		background: var(--gma-telegram-soft);
		color: var(--gma-text) !important;
		text-align: left;
	}
	html body .gma-drawer-tg-ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gma-telegram, #229ed9); color: #fff; box-shadow: 0 6px 14px -8px var(--gma-telegram, #229ed9); }
	html body .gma-drawer-tg-text { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
	html body .gma-drawer-tg-text b { font-size: .9375rem; font-weight: 800; color: var(--gma-text); }
	html body .gma-drawer-tg-text small { font-size: .75rem; font-weight: 600; color: var(--gma-muted); }
	html body .gma-drawer-tg-go { flex: 0 0 auto; color: var(--gma-telegram, #229ed9); transition: transform .2s ease; }
	html body .gma-drawer-tg:active .gma-drawer-tg-go { transform: translateX(3px); }

	/* footer links: plain text, two columns, then copyright */
	html body .gma-drawer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .125rem .75rem; margin-top: 1.25rem; padding: 0 .625rem; }
	html body .gma-drawer-links a {
		display: flex;
		align-items: center;
		min-height: 36px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		color: var(--gma-text-2) !important;
		font-size: .8438rem;
		font-weight: 600;
	}
	html body .gma-drawer-links a::before { display: none; }
	html body .gma-drawer-links a:hover { border: 0; color: var(--gma-brand-text) !important; }
	html body .gma-drawer-copy { margin: .75rem .625rem 0 !important; padding-top: .75rem; border-top: 1px solid var(--gma-border); font-size: .75rem; color: var(--gma-muted); }
}

/* 42. DRAWER: help & legal links as a list card (same look as Appearance) ==== */
@media (max-width: 991px) {
	html body .gma-drawer-title--links { margin-top: 1.25rem !important; }
	html body .gma-drawer-links {
		display: block;
		margin: 0;
		padding: 0;
		border-radius: 14px;
		background: var(--gma-surface-2);
		overflow: hidden;
	}
	html body .gma-drawer-links a {
		--gma-dl2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
		position: relative;
		display: flex;
		align-items: center;
		gap: .75rem;
		min-height: 50px;
		padding: .5rem 2.5rem .5rem .75rem;
		border: 0;
		border-radius: 0;
		background: none;
		color: var(--gma-text) !important;
		font-size: .9375rem;
		font-weight: 600;
		line-height: 1.25;
		transition: background-color .15s ease;
	}
	html body .gma-drawer-links a + a { box-shadow: inset 0 1px 0 var(--gma-border); }
	html body .gma-drawer-links a:hover,
	html body .gma-drawer-links a:active { background: color-mix(in srgb, var(--gma-text) 5%, transparent); color: var(--gma-text) !important; }
	html body .gma-drawer-links a::before {
		display: block;
		content: "";
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
		border-radius: 9px;
		background: var(--gma-surface) var(--gma-dl2) center / 17px no-repeat;
		box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
		-webkit-mask: none;
		mask: none;
	}
	html body .gma-drawer-links a::after {
		content: "";
		position: absolute;
		right: .875rem;
		top: 50%;
		width: 16px;
		height: 16px;
		margin-top: -8px;
		background: var(--gma-border-strong);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%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='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	html body .gma-drawer-links a[href*="contact"],
	html body .gma-drawer-links a[href*="feedback"] { --gma-dl2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
	html body .gma-drawer-links a[href*="dmca"] { --gma-dl2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
	html body .gma-drawer-links a[href*="copy"] { --gma-dl2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3Cpath d='M14.83 14.83a4 4 0 1 1 0-5.66'/%3E%3C/svg%3E"); }
	html body .gma-drawer-copy { margin-top: 1rem !important; padding-top: 0; border-top: 0; text-align: center; }
	/* the panel is exactly the screen height and scrolls inside, so the bottom is always reachable */
	html body .head-tools-panel { height: 100%; height: 100dvh; min-height: 0 !important; max-height: 100dvh; overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
	html body .head-tools .hmenu > a > span { min-height: 46px; }
	html body .gma-drawer-row, html body .gma-drawer-links a { min-height: 48px; }
}

/* 43. TABLE OF CONTENTS: minimized by default, header is the toggle ========= */
html body .gma-toc.gma-toc3 { padding: .75rem .875rem; }
html body .gma-toc3 .gma-toc-head {
	width: 100%;
	margin: 0;
	padding: 0 .125rem;
	border: 0;
	border-radius: 0;
	background: none !important;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
html body .gma-toc3:not(.is-min) .gma-toc-head { padding-bottom: .75rem; border-bottom: 1px solid var(--gma-border); }
html body .gma-toc3 .gma-toc-titles b { font-size: .9375rem; }
html body .gma-toc-pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	height: 32px;
	padding: 0 .625rem 0 .875rem;
	border-radius: 999px;
	background: var(--gma-surface-2);
	color: var(--gma-brand-text);
	font-size: .8125rem;
	font-weight: 800;
	transition: background-color .15s ease;
}
html body .gma-toc-pill svg { width: 16px; height: 16px; transition: transform .25s var(--gma-ease-out, ease); }
html body .gma-toc3:not(.is-min) .gma-toc-pill svg { transform: rotate(180deg); }
html body .gma-toc3 .gma-toc-head:hover .gma-toc-pill { background: var(--gma-brand-soft); }
html body .gma-toc3 .gma-toc-body[hidden] { display: none !important; }
html body .gma-toc3:not(.is-min) .gma-toc-list > li { animation: gma-toc-in .25s var(--gma-ease-out, ease) both; }
html body .gma-toc3 .gma-toc-count,
html body .gma-toc-more { display: none !important; }

/* 44. HOMEPAGE ON PHONES: chips under search, popular row that fits,
       latest as a list card with "show more", compact category chips ======== */
@media (max-width: 559px) {
	/* hero: category chips as one swipe row */
	html body.home .gma-hero-cats {
		display: flex !important;
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: .5rem;
		box-sizing: border-box;
		width: calc(100% + 2rem);
		max-width: calc(100% + 2rem);
		align-self: stretch;
		margin: .875rem -1rem 0;
		padding: 0 1rem .125rem;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
		mask-image: linear-gradient(90deg, #000 88%, transparent);
	}
	html body.home .gma-hero-cats::-webkit-scrollbar { display: none; }
	html body.home .gma-hero-cats a { flex: 0 0 auto; height: 34px; padding: 0 .75rem 0 .5625rem; font-size: .8125rem; }

	/* popular: all items fit on one row, no half-cut card */
	html body.home .section-recom .scroll-entry-list { margin: 0; overflow: visible; }
	html body.home .section-recom .scroll-entry-list .entry-list {
		display: grid !important;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: .5rem;
		margin: 0;
		padding: .625rem .25rem .25rem;
		overflow: visible;
	}
	html body.home .section-recom .scroll-entry-list .recom-post::after { top: -5px; left: 0; }
	html body.home .section-recom .scroll-entry-list .entry { min-width: 0; max-width: none; width: auto; }
	html body.home .section-recom .recom-post { padding: .625rem .25rem .5rem; }
	html body.home .section-recom .recom-post .img { width: 56px; height: 56px; }
	html body.home .section-recom .recom-post .title { font-size: .75rem; }

	/* latest: two compact cards per row (icon left, name + version right) */
	html body.home .list-c6 {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .5rem;
		margin: 0;
		padding: 0;
		background: none;
		border: 0;
		border-radius: 0;
	}
	html body.home .list-c6 .entry { max-width: none; flex: none; width: auto; min-width: 0; padding: 0; }
	html body.home .list-c6 .entry-app > .item {
		position: relative;
		display: grid;
		grid-template-columns: 44px minmax(0, 1fr);
		grid-template-rows: auto auto;
		column-gap: .5625rem;
		row-gap: .3rem;
		align-items: center;
		height: 100%;
		min-height: 0;
		padding: .625rem .625rem .625rem .5625rem;
		border: 1px solid var(--gma-border) !important;
		border-radius: 14px;
		background: var(--gma-surface) !important;
		box-shadow: none !important;
		text-align: left;
		transform: none !important;
	}
	html body.home .list-c6 .entry-app .img { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; margin: 0; border-radius: 11px; }
	html body.home .list-c6 .entry-app .img .gma-card-badge { bottom: -6px; height: 14px; padding: 0 .28rem; font-size: .4688rem; }
	html body.home .list-c6 .entry-app .title { grid-column: 2; grid-row: 1; align-self: end; margin: 0; padding: 0; font-size: .75rem !important; line-height: 1.3 !important; text-align: left; }
	html body.home .list-c6 .entry-app .title span { -webkit-line-clamp: 2; }
	html body.home .list-c6 .gma-card-meta { grid-column: 2; grid-row: 2; align-self: start; justify-content: flex-start; margin: 0; padding: 0; }
	html body.home .list-c6 .gma-card-req { display: none !important; }
	html body.home .list-c6 .gma-card-ver { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .0625rem .375rem; font-size: .625rem; }
	html body.home .list-c6 .entry-app .label { display: none !important; }
	html body.home .list-c6.is-capped > .entry:nth-child(n+11) { display: none; }
	html body.home .list-c6.is-capped > .navigation { display: none !important; }
	html body.home .list-c6 > .navigation { grid-column: 1 / -1; margin: .25rem 0 0; padding: .5rem 0 0; }
	html body.home .gma-more-apps {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .375rem;
		width: 100%;
		height: 44px;
		margin: .625rem 0 0;
		border: 1px solid var(--gma-border);
		border-radius: 12px;
		background: var(--gma-surface);
		color: var(--gma-brand-text);
		font: inherit;
		font-size: .875rem;
		font-weight: 800;
		cursor: pointer;
	}
	html body.home .gma-more-apps svg { width: 16px; height: 16px; }

	/* categories: tidy two-column grid, compact rows */
	html body.home .home-categories { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
	html body.home .home-categories > a { gap: .625rem; min-height: 0; height: 54px; padding: 0 .625rem 0 .5rem; border-radius: 14px; }
	html body.home .home-categories .gma-cat-icon { width: 34px; height: 34px; min-width: 34px; border-radius: 10px; }
	html body.home .home-categories .gma-cat-icon svg { width: 17px; height: 17px; }
	html body.home .home-categories .gma-cat-text { gap: 0; }
	html body.home .home-categories .gma-cat-text > span { font-size: .8438rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	html body.home .home-categories .gma-cat-count { font-size: .6875rem; }
}
@media (min-width: 560px) {
	html body .gma-more-apps { display: none; }
}

/* 45. FIXES: dark-mode category icon, share bar on phones, article reading font */
html.darktheme body .gma-arch-icon { color: var(--gma-brand) !important; }
@media (max-width: 639px) {
	html body .gma-article-card .gma-share-list { flex-wrap: wrap; justify-content: space-between; gap: .625rem 0; }
	html body .gma-article-card .gma-share-copy { flex: 1 1 100%; justify-content: center; height: 44px; }
}
/* articles: Inter for the running text (made for reading on screens), Manrope stays for headings */
html body .gma-article-body,
html body .gma-article-body p,
html body .gma-article-body li,
html body .gma-article-body td,
html body .gma-article-dek {
	font-family: "Inter", var(--gma-font);
	letter-spacing: -.006em;
}
html body .gma-article-body { font-size: 1.0625rem; line-height: 1.78; color: var(--gma-text-2); }
html body .gma-article-body p { margin: 0 0 1.15em; }
html body .gma-article-body > p:first-child { font-size: 1.125rem; line-height: 1.7; }
html body .gma-article-body strong { font-weight: 600; }
html body .gma-article-body h2,
html body .gma-article-body h3,
html body .gma-article-body h4 { font-family: var(--gma-font) !important; letter-spacing: -.02em; }
html body .gma-article-dek { font-size: 1.0625rem; line-height: 1.6; }
@media (max-width: 559px) {
	html body .gma-article-body { font-size: 1rem; line-height: 1.75; }
	html body .gma-article-body > p:first-child { font-size: 1.0625rem; }
}

/* 46. APP DESCRIPTION: same reading font as articles (Inter text, Manrope headings) */
html body .b-cont .tab-pane.text,
html body .b-cont .tab-pane.text p,
html body .b-cont .tab-pane.text li,
html body .b-cont .tab-pane.text td {
	font-family: "Inter", var(--gma-font);
	letter-spacing: -.006em;
}
html body .b-cont .tab-pane.text { font-size: 1.0625rem; line-height: 1.78; color: var(--gma-text-2); }
html body .b-cont .tab-pane.text p { margin: 0 0 1.15em; }
html body .b-cont .tab-pane.text strong { font-weight: 600; color: var(--gma-text); }
html body .b-cont .tab-pane.text h1,
html body .b-cont .tab-pane.text h2,
html body .b-cont .tab-pane.text h3,
html body .b-cont .tab-pane.text h4 { font-family: var(--gma-font) !important; letter-spacing: -.02em; }
@media (max-width: 559px) {
	html body .b-cont .tab-pane.text { font-size: 1rem; line-height: 1.75; }
}

/* 47. APP DESCRIPTION: the title heading at the top (was an H1) looks like a title, not a section */
html body .gma-app #app_description > h2:first-child,
html body .view-app #app_description > h2:first-child {
	margin-top: 0 !important;
	padding-left: 0 !important;
	font-size: 1.6em !important;
	line-height: 1.25 !important;
}
html body .gma-app #app_description > h2:first-child::before,
html body .view-app #app_description > h2:first-child::before { display: none !important; content: none !important; }

/* 48. COLOUR MODE TOGGLE (same system as filecamel.com) ======================
   gma-ui.js morphs the icon (sun -> moon with stars) and runs the reveal:
   dark grows out of the button as a circle, light shrinks back into it. */
html body .gma-theme-toggle .gma-tt { display: block; overflow: visible; }
html body .gma-theme-toggle .tt-still { display: none; }
html.darktheme body .gma-theme-toggle:not(.live) .tt-art { display: none; }
html.darktheme body .gma-theme-toggle:not(.live) .tt-still { display: inline; }
html.gma-vt-dark::view-transition-old(root),
html.gma-vt-dark::view-transition-new(root),
html.gma-vt-light::view-transition-old(root),
html.gma-vt-light::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.gma-vt-dark::view-transition-old(root) { z-index: 1; }
html.gma-vt-dark::view-transition-new(root) { z-index: 2; will-change: clip-path; clip-path: circle(0px at var(--gma-vt-x, 100%) var(--gma-vt-y, 0px)); }
html.gma-vt-light::view-transition-old(root) { z-index: 2; will-change: clip-path; }
html.gma-vt-light::view-transition-new(root) { z-index: 1; }
::view-transition-group(gma-theme-btn) { animation: none; z-index: 3; }
::view-transition-old(gma-theme-btn) { opacity: 0; animation: none; }
::view-transition-new(gma-theme-btn) { animation: none; }

/* 49. REPORT DIALOG v2: app card, reasons with icons, details, then contact;
       a bottom sheet on phones ================================================ */
html body .remodal[data-remodal-id="report-post"] { max-width: 30rem; padding: 1.375rem 1.375rem 1.125rem; }
html body #report-post-modal-title { margin: 0 2.75rem .25rem 0 !important; font-size: 1.1875rem !important; }
html body #report-post-modal-title::before { width: 38px; height: 38px; border-radius: 11px; }
html body .gma-rp-sub { margin: 0 0 1rem calc(38px + .75rem) !important; font-size: .8438rem; color: var(--gma-muted); text-align: left; }
html body #report-post-modal-desc.has-ico {
	display: flex !important;
	align-items: center;
	gap: .75rem;
	margin: 0 0 1.125rem !important;
	padding: .625rem .75rem;
	border: 1px solid var(--gma-border);
	border-radius: 14px;
	background: var(--gma-surface-2);
	font-size: 0;
	text-align: left;
}
html body #report-post-modal-desc.has-ico b {
	display: block;
	min-width: 0;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: .9063rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--gma-text);
}
html body #report-post-modal-desc.has-ico b span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
html body .gma-rp-app-ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--gma-border); }

/* reason first, then details, then name and email */
html body .report-post-form > div:not([class]) { order: 1; grid-column: 1 / -1; }
html body .report-post-form > .report-post-half-left,
html body .report-post-form > .report-post-half-right { order: 2; }
html body .report-post-form p small { margin-left: .25rem; font-weight: 500; color: var(--gma-muted); }
html body .report-post-form p.gma-rp-details { margin-top: .875rem !important; }
html body .gma-report-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; }
html body .gma-report-reasons button {
	position: relative;
	display: flex;
	align-items: center;
	gap: .5rem;
	height: auto;
	min-height: 46px;
	padding: .5rem .625rem;
	border: 1px solid var(--gma-border);
	border-radius: 12px;
	background: var(--gma-surface);
	color: var(--gma-text);
	font-size: .8438rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
}
html body .gma-report-reasons button:last-child:nth-child(odd) { grid-column: 1 / -1; }
html body .gma-rr-ico { flex: 0 0 28px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--gma-surface-2); color: var(--gma-text-2); transition: background-color .15s ease, color .15s ease; }
html body .gma-rr-ico svg { width: 16px; height: 16px; }
html body .gma-rr-text { flex: 1 1 auto; min-width: 0; }
html body .gma-rr-check { flex: 0 0 18px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gma-brand); color: var(--gma-brand-ink); opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--gma-spring, ease); }
html body .gma-rr-check svg { width: 12px; height: 12px; stroke-width: 3; }
html body .gma-report-reasons button:hover { border-color: color-mix(in srgb, var(--gma-brand) 45%, var(--gma-border)); color: var(--gma-text); }
html body .gma-report-reasons button[aria-pressed="true"] { border-color: var(--gma-brand); background: var(--gma-brand-soft); color: var(--gma-brand-text); box-shadow: 0 0 0 1px var(--gma-brand) inset; }
html body .gma-report-reasons button[aria-pressed="true"] .gma-rr-ico { background: var(--gma-brand); color: var(--gma-brand-ink); }
html body .gma-report-reasons button[aria-pressed="true"] .gma-rr-check { opacity: 1; transform: none; }
html body .report-post-form textarea.report-post-control { min-height: 84px; }
html body #report-post-buttons { margin-top: 1.125rem; }
html body #report-post-buttons .remodal-confirm svg { width: 16px; height: 16px; }

/* phones: slide-up sheet anchored to the bottom */
@media (max-width: 559px) {
	html body .remodal-wrapper:has(> [data-remodal-id="report-post"]) { padding: 0 !important; }
	html body .remodal[data-remodal-id="report-post"] {
		width: 100%;
		max-width: none;
		max-height: 92vh;
		margin: 0 !important;
		padding: .75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
		overflow-y: auto;
		vertical-align: bottom;
		border-radius: 22px 22px 0 0 !important;
	}
	html body .remodal[data-remodal-id="report-post"]::before {
		content: "";
		display: block;
		width: 40px;
		height: 4px;
		margin: 0 auto .875rem;
		border-radius: 4px;
		background: var(--gma-border-strong);
	}
	html body .remodal[data-remodal-id="report-post"].remodal-is-opening { animation: gma-sheet-up .32s var(--gma-ease-out, ease) both !important; }
	html body .remodal[data-remodal-id="report-post"].remodal-is-closing { animation: gma-sheet-down .22s ease both !important; }
	html body [data-remodal-id="report-post"] .remodal-close { top: 1.5rem; }
	html body #report-post-buttons { position: sticky; bottom: calc(-1rem - env(safe-area-inset-bottom, 0px)); margin: 1rem -1rem 0; padding: .75rem 1rem 0; background: var(--gma-surface); }
	html body #report-post-buttons .remodal-cancel,
	html body #report-post-buttons .remodal-confirm { flex: 1 1 0; min-width: 0; }
	html body .report-post-form { grid-template-columns: 1fr 1fr; gap: .75rem; }
	html body .report-post-half-right p small { display: none; }
}
@keyframes gma-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes gma-sheet-down { from { transform: none; } to { transform: translateY(100%); } }

/* 50. REPORT SHEET ON PHONES: compact (fits one screen) ====================== */
@media (max-width: 559px) {
	html body .remodal[data-remodal-id="report-post"] { padding: .5rem .875rem calc(.875rem + env(safe-area-inset-bottom, 0px)); }
	html body .remodal[data-remodal-id="report-post"]::before { margin-bottom: .625rem; width: 36px; }
	html body [data-remodal-id="report-post"] .remodal-close { top: 1.125rem; right: .75rem; width: 32px; height: 32px; }
	html body [data-remodal-id="report-post"] .remodal-close::before { width: 32px; line-height: 32px; font-size: 20px; }
	html body #report-post-modal-title { gap: .625rem; margin: 0 2.5rem .75rem 0 !important; font-size: 1.0625rem !important; }
	html body #report-post-modal-title::before { width: 32px; height: 32px; border-radius: 9px; background-size: 17px; }
	html body .gma-rp-sub { display: none; }
	html body #report-post-modal-desc.has-ico { gap: .625rem; margin: 0 0 .75rem !important; padding: .4375rem .625rem; border-radius: 12px; }
	html body #report-post-modal-desc.has-ico b { font-size: .8438rem; }
	html body #report-post-modal-desc.has-ico b span { -webkit-line-clamp: 1; }
	html body .gma-rp-app-ico { flex-basis: 28px; width: 28px; height: 28px; border-radius: 8px; }
	html body .report-post-form { gap: .625rem; }
	html body .report-post-form p { margin-bottom: .3125rem !important; font-size: .7813rem; }
	html body .report-post-form p.gma-rp-details { margin-top: .625rem !important; }
	html body .report-post-form p.gma-rp-details small { display: none; }
	/* reasons: chips sized to their text, two short rows */
	html body .gma-report-reasons { display: flex; flex-wrap: wrap; gap: .375rem; }
	html body .gma-report-reasons button,
	html body .gma-report-reasons button:last-child:nth-child(odd) { grid-column: auto; flex: 0 0 auto; gap: .375rem; min-height: 0; height: 34px; padding: 0 .625rem 0 .3125rem; border-radius: 999px; font-size: .7813rem; white-space: nowrap; }
	html body .gma-rr-ico { flex-basis: 24px; width: 24px; height: 24px; border-radius: 50%; }
	html body .gma-rr-ico svg { width: 14px; height: 14px; }
	html body .gma-rr-check { display: none; }
	html body .report-post-form textarea.report-post-control { min-height: 58px; height: 58px; padding: .5rem .75rem; font-size: .875rem; }
	html body .report-post-form .report-post-control { height: 40px; padding: 0 .75rem; border-radius: 10px !important; font-size: .875rem; }
	html body #report-post-buttons { margin-top: .75rem; padding-top: .625rem; }
	html body #report-post-buttons .remodal-cancel,
	html body #report-post-buttons .remodal-confirm { height: 42px; font-size: .875rem; border-radius: 11px !important; }
}

/* 17. UTILITIES ============================================================ */
html body a:focus-visible,
html body button:focus-visible,
html body [tabindex]:focus-visible,
html body .btn:focus-visible {
	outline: 2px solid var(--gma-brand);
	outline-offset: 2px;
	border-radius: var(--gma-radius-sm);
}

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

@media print {
	html body .header,
	html body .footer,
	html body .dark-foot,
	html body .b-comments,
	html body .upper.scrollup,
	html body ins.adsbygoogle { display: none !important; }
	html body .block { border: 0; box-shadow: none; }
}
