/* AI Candy Shorts, identita "Neon Tide": blu notte e verde acqua, vetro sfocato, titoli larghi,
   sidebar a destra. Mobile first (320-430px), poi si allarga. Classi con prefisso tx-. */

/* ------------------------------------------------------------------ Font (self-hosted, latin, variabili) */
@font-face {
	font-family: "Unbounded";
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url("../fonts/unbounded-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/onest-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ Token
   Contrasti (WCAG): ink/bg 17,3:1 · ink/panel 14,9 · ink-2/bg 11,3 · muted/bg 6,9 (5,9 sul panel)
   · accent-ink su accent 9,3 · accent-text/bg 12,9 (11,2 sul panel). */
:root {
	--bg: #071019;
	--panel: #0D1823;
	--panel-2: #12202E;
	--line: #1D2F40;
	--line-2: #2D4559;
	--ink: #E8F6F6;
	--ink-2: #B4CBD1;
	--muted: #83A0A9;
	--accent: #2DE1C2;
	--accent-ink: #022A23;
	--accent-text: #5EEAD4;
	--glow: rgba(45, 225, 194, .55);
	--up: #86F7B6;
	--down: #FFB0A8;
	--f-head: "Unbounded", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-btn: 999px;
	--r-card: 18px;
	--r-lg: 20px;
	--r-xl: 28px;
	--dock-w: 280px;
	--top-h: 64px;
	--gut: 16px;
	color-scheme: dark;
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
	margin: 0;
	color: var(--ink);
	font: 400 16px/1.55 var(--f-body);
	/* Un trattino tra due cifre resta un trattino: niente alternative contestuali. */
	font-variant-ligatures: no-contextual;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	background:
		radial-gradient(1100px 560px at 80% -10%, rgba(45, 225, 194, .11), transparent 60%),
		radial-gradient(900px 520px at -10% 35%, rgba(64, 120, 255, .10), transparent 60%),
		var(--bg);
	background-attachment: fixed;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tx-skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.tx-skip:focus { left: 8px; }
.tx-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* WordPress mette margin-block-start tra i figli dei gruppi: la spaziatura la decidiamo noi. */
.wp-site-blocks > *, .tx-main > *, .tx-article > *, .tx-intro > * { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > .tx-foot { margin-top: auto; }

/* ------------------------------------------------------------------ Logo */
.tx-logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.tx-logo__mark { width: 32px; height: 32px; flex: none; }
.tx-logo__mark .m-bg { fill: var(--accent); }
.tx-logo__mark .m-fg { fill: var(--accent-ink); }
.tx-logo__mark .m-st { fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; }
.tx-logo__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tx-logo__name { font: 700 clamp(.78rem, 3.4vw, .98rem)/1 var(--f-head); letter-spacing: -.03em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.tx-logo__name b { color: var(--accent-text); font-weight: inherit; }
.tx-logo__tag { font: 700 .56rem/1 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ Barra in alto (sticky sul template part) */
.tx-top {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--bg) 84%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.tx-top__row { display: flex; align-items: center; gap: 10px; height: var(--top-h); padding: 0 12px; }
.tx-top__row > .tx-logo { margin-right: auto; }
.tx-top__date { display: none; }
.tx-top__cta { flex: none; }
.tx-burger { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); flex: none; }

/* ------------------------------------------------------------------ Bottoni a pillola */
.tx-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--r-btn);
	font: 800 .97rem/1.1 var(--f-body);
	letter-spacing: .01em;
	text-align: center;
	white-space: nowrap;
	transition: transform .15s, box-shadow .15s, border-color .15s, background .15s;
}
.tx-pill .tx-ico { width: 16px; height: 16px; stroke-width: 2.2; }
.tx-pill--go { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px var(--glow); }
.tx-pill--go .tx-ico { fill: currentColor; stroke: none; }
.tx-pill--go:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px var(--glow); }
.tx-pill--line { border: 1.5px solid var(--line-2); color: var(--ink); }
.tx-pill--line:hover { border-color: var(--accent-text); }
.tx-pill--sm { min-height: 40px; padding: 0 14px; font-size: .86rem; }
.tx-pill--block { width: 100%; }
.tx-lbl-long { display: none; }
@media (min-width: 400px) { .tx-lbl-long { display: inline; } .tx-lbl-short { display: none; } }
.tx-disclose { display: block; margin-top: 8px; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }

/* ------------------------------------------------------------------ Sidebar a destra: cassetto sotto 1024px */
.tx-dock {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 60;
	width: min(86vw, 300px);
	display: flex;
	flex-direction: column;
	background: color-mix(in srgb, var(--panel) 90%, transparent);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-left: 1px solid var(--line);
	transform: translateX(104%);
	transition: transform .28s ease;
	overflow-y: auto;
	overscroll-behavior: contain;
}
.tx-docked .tx-dock { transform: none; }
.tx-dock__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 6px; }
.tx-dock__close { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); flex: none; }
.tx-dock__nav { padding: 4px 10px 10px; }
.tx-dock__head { margin: 16px 10px 6px; font: 800 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tx-dock__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tx-dock__link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: .94rem; white-space: nowrap; }
.tx-dock__link:hover { background: var(--panel-2); color: var(--ink); }
.tx-dock__link.is-on { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent); color: var(--ink); }
.tx-dock__link.is-on .tx-ico { color: var(--accent-text); }
.tx-dock__text { overflow: hidden; text-overflow: ellipsis; }
.tx-dock__count { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--panel-2); color: var(--ink-2); }
.tx-dock__list--rated .tx-dock__link { padding-left: 14px; }
.tx-dock__cta { margin: 18px 12px 10px; padding: 16px; border-radius: var(--r-lg); background: var(--panel-2); border: 1px solid var(--line); }
.tx-dock__cta p { margin: 0 0 12px; font-size: .86rem; color: var(--ink-2); }
.tx-dock__cta .tx-disclose { text-align: center; }
.tx-dock__legal { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 22px 22px; font-size: .78rem; }
.tx-dock__legal a { color: var(--muted); }
.tx-dock__legal a:hover { color: var(--ink); }
.tx-veil { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .62); opacity: 0; pointer-events: none; transition: opacity .28s; }
.tx-docked .tx-veil { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------------ Contenitore */
.tx-main { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut) 56px; }
.tx-main--read .tx-article { max-width: 820px; }
.tx-article--wide { max-width: none; }

/* ------------------------------------------------------------------ Testata della home */
.tx-lead { padding: 20px 0 2px; }
.tx-lead h1 { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.3rem, 1rem + 1.9vw, 2.2rem); line-height: 1.12; }
.tx-lead .tx-gist { margin-top: 8px; color: var(--ink-2); max-width: 66ch; font-size: .98rem; border: 0; padding: 0; background: none; }

/* ------------------------------------------------------------------ Hero della home: serie della settimana */
.tx-spot { position: relative; margin: 16px 0 6px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: color-mix(in srgb, var(--panel) 65%, transparent); border: 1px solid var(--line); }
.tx-spot__bg { position: absolute; inset: -60px; background: var(--art) center / cover no-repeat; filter: blur(40px) saturate(1.25); opacity: .5; z-index: -2; }
.tx-spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--panel) 60%, transparent) 42%, var(--panel) 100%); }
.tx-spot__in { display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px 16px 20px; }
.tx-spot__copy { display: contents; }
.tx-spot__art { grid-column: 1; grid-row: 1 / span 2; width: 100px; border-radius: calc(var(--r-card) * .7); overflow: hidden; box-shadow: 0 0 0 1px rgba(94, 234, 212, .4), 0 30px 80px -24px rgba(45, 225, 194, .45); }
.tx-spot__art img { width: 100%; }
.tx-kicker { display: inline-flex; align-items: center; gap: 8px; font: 800 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.tx-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.tx-spot .tx-kicker { grid-column: 2; grid-row: 1; margin: 2px 0 8px; }
.tx-spot__title { grid-column: 2; grid-row: 2; align-self: start; font-weight: 700; letter-spacing: -.04em; font-size: clamp(1.1rem, .9rem + 1.6vw, 1.6rem); line-height: 1.08; }
.tx-spot__title a:hover { color: var(--accent-text); }
.tx-spot__lede { grid-column: 1 / -1; grid-row: 3; margin: 14px 0; color: var(--ink-2); font-size: 1rem; max-width: 54ch; }
.tx-spot__btns { grid-column: 1 / -1; grid-row: 4; display: flex; flex-direction: column; gap: 10px; }
.tx-spot .tx-chips { grid-column: 1 / -1; grid-row: 5; margin: 14px 0 0; }
.tx-spot__note { grid-column: 1 / -1; grid-row: 6; }
.tx-spot__note .tx-disclose { margin-top: 10px; }
@media (min-width: 600px) {
	.tx-spot__in { grid-template-columns: 132px minmax(0, 1fr); }
	.tx-spot__art { width: 132px; }
	.tx-spot__btns { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
	.tx-spot__in { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 44px; padding: 44px 48px; }
	.tx-spot__copy { display: block; flex: 1; max-width: 640px; padding: 28px 30px; border-radius: 24px; background: rgba(7, 16, 25, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .07); }
	.tx-spot__art { width: 270px; flex: none; border-radius: var(--r-card); }
	.tx-spot .tx-kicker { margin: 0 0 10px; }
	.tx-spot__title { font-size: clamp(1.5rem, 1.1rem + 2.3vw, 2.7rem); }
	.tx-spot__lede { margin: 12px 0 18px; font-size: 1.03rem; }
	.tx-spot .tx-chips { margin: 18px 0 0; }
}

/* ------------------------------------------------------------------ Chip */
.tx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tx-chips li { padding: 6px 11px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); border: 1px solid var(--line); font-size: .79rem; font-weight: 700; color: var(--ink-2); }
.tx-chips li.is-hot { color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }

/* ------------------------------------------------------------------ Righe */
.tx-strip { margin-top: 42px; }
.tx-strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 18px; margin-bottom: 14px; }
.tx-strip__head h2 { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.15rem, .95rem + 1.1vw, 1.65rem); line-height: 1.15; }
.tx-strip__head h2 span { color: var(--accent-text); }
.tx-strip__note { font-size: .83rem; color: var(--muted); max-width: 56ch; }
.tx-strip__note a { color: var(--accent-text); font-weight: 800; }
.tx-reel { --tile-w: 132px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--tile-w); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 12px; margin: 0 calc(var(--gut) * -1); scroll-padding: 0 var(--gut); list-style: none; scrollbar-width: thin; }
.tx-reel > li { scroll-snap-align: start; min-width: 0; }

/* ------------------------------------------------------------------ Card poster */
.tx-tile { display: block; position: relative; }
.tx-art { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--panel-2); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .95); }
.tx-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tx-tile:hover .tx-art img { transform: scale(1.05); }
.tx-art.is-spicy img { filter: blur(9px) saturate(1.1) brightness(.75); transform: scale(1.12); }
.tx-tile:hover .tx-art.is-spicy img { transform: scale(1.16); }
.tx-noart { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, var(--panel-2), var(--line)); }
.tx-flag { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 800 .6rem/1 var(--f-body); letter-spacing: .07em; text-transform: uppercase; }
.tx-gauge--tile { position: absolute; left: 7px; bottom: 7px; z-index: 3; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgba(0, 0, 0, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 800 .62rem/1 var(--f-body); color: #fff; }
.tx-gauge--tile.is-right { left: auto; right: 7px; }
.tx-gauge__dots { display: flex; gap: 3px; }
.tx-gauge__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.tx-gauge__dots i.on { background: var(--accent); }
.tx-move { position: absolute; top: 7px; right: 7px; z-index: 3; padding: 4px 6px; border-radius: 6px; background: rgba(0, 0, 0, .66); font: 800 .62rem/1 var(--f-body); color: #fff; }
.tx-move.is-up { color: var(--up); }
.tx-move.is-down { color: var(--down); }
.tx-move.is-new { background: var(--accent); color: var(--accent-ink); letter-spacing: .06em; text-transform: uppercase; }
.tx-lock { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5)); }
.tx-lock .tx-ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; stroke-width: 2; }
.tx-lock em { font-style: normal; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 800 .62rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.tx-tile__name { display: block; margin-top: 9px; font-weight: 700; font-size: .9rem; line-height: 1.25; }
.tx-tile:hover .tx-tile__name { color: var(--accent-text); }
.tx-tile__meta { display: block; margin-top: 3px; font-size: .76rem; color: var(--muted); }

/* ------------------------------------------------------------------ Top 10: numeri giganti sull'angolo del poster */
.tx-chart { --tile-w: 132px; --n: 92px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--tile-w); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gut) 12px; margin: 0 calc(var(--gut) * -1); scroll-padding: 0 var(--gut); list-style: none; scrollbar-width: thin; }
.tx-chart > li { scroll-snap-align: start; min-width: 0; }
.tx-chart__item .tx-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(0deg, rgba(7, 16, 25, .85), transparent); pointer-events: none; z-index: 1; }
.tx-chart__num {
	position: absolute;
	z-index: 2;
	left: 4px;
	top: calc(var(--tile-w) * 1.5 - var(--n) * .84);
	font: 800 var(--n)/.9 var(--f-head);
	letter-spacing: -.09em;
	background: linear-gradient(180deg, #fff 15%, var(--accent) 95%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7));
	user-select: none;
	pointer-events: none;
}
.tx-chart > li:nth-child(10) .tx-chart__num { letter-spacing: -.14em; }

/* ------------------------------------------------------------------ Mood (tag ufficiali) */
.tx-vibes ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tx-vibe { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-weight: 700; transition: border-color .2s, background .2s; }
.tx-vibe:hover, .tx-vibe.is-on { border-color: var(--accent-text); }
.tx-vibe.is-on { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.tx-vibe em { font-style: normal; font-size: .74rem; color: var(--ink-2); }

/* ------------------------------------------------------------------ Domande-guida */
.tx-asks { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .tx-asks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .tx-asks { grid-template-columns: repeat(3, 1fr); } }
.tx-ask { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.tx-ask:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.tx-ask > .tx-ico { color: var(--accent-text); width: 22px; height: 22px; }
.tx-ask__q { font: 600 .98rem/1.3 var(--f-head); letter-spacing: -.025em; }
.tx-ask__a { color: var(--ink-2); font-size: .92rem; }
.tx-ask__go { margin-top: auto; padding-top: 4px; color: var(--accent-text); font-weight: 800; font-size: .85rem; }

/* ------------------------------------------------------------------ Creator (tondi) */
.tx-faces { display: grid; grid-auto-flow: column; grid-auto-columns: 108px; gap: 14px; overflow-x: auto; padding: 4px var(--gut) 10px; margin: 0 calc(var(--gut) * -1); list-style: none; scrollbar-width: thin; }
.tx-face { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.tx-face img, .tx-face .tx-noart { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); transition: border-color .2s, transform .2s; }
.tx-face:hover img { border-color: var(--accent); transform: scale(1.04); }
.tx-face__name { font-weight: 800; font-size: .9rem; line-height: 1.2; }
.tx-face__meta { font-size: .74rem; color: var(--muted); margin-top: -5px; }

/* ------------------------------------------------------------------ Testata delle pagine interne */
.tx-crumbs { padding-top: 18px; }
.tx-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; font: 700 .72rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tx-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.tx-crumbs a:hover { color: var(--accent-text); }
.tx-title { margin-top: 10px; font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.3rem, 1rem + 1.9vw, 2.15rem); line-height: 1.12; }
.tx-stamp { margin-top: 8px; font-size: .8rem; color: var(--muted); }
.tx-gist { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-left: 3px solid var(--accent); font-size: 1.02rem; line-height: 1.6; color: var(--ink); }

/* ------------------------------------------------------------------ Scheda della serie */
.tx-sheet { margin-top: 18px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px 16px; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.tx-sheet__art { margin: 0; grid-row: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(94, 234, 212, .35), 0 20px 50px -24px rgba(45, 225, 194, .45); align-self: start; }
.tx-sheet__art img { width: 100%; }
.tx-sheet__head { grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tx-sheet__cta, .tx-sheet__more, .tx-sheet .tx-chips, .tx-sheet__checked { grid-column: 1 / -1; }
.tx-sheet__cta .tx-pill { width: 100%; }
.tx-sheet__cta .tx-disclose { text-align: center; }
.tx-sheet__checked { font-size: .76rem; color: var(--muted); }
.tx-facts { margin: 0; display: grid; gap: 8px; }
.tx-facts div { min-width: 0; }
.tx-facts dt { font: 800 .66rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tx-facts dd { margin: 2px 0 0; font-weight: 700; font-size: .9rem; color: var(--ink); }
.tx-sheet__more { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 12px; border-top: 1px solid var(--line); }
.tx-sheet__more .is-wide { grid-column: 1 / -1; }
.tx-gauge:not(.tx-gauge--tile) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tx-gauge__label { font: 800 .66rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 100%; }
.tx-gauge:not(.tx-gauge--tile) .tx-gauge__dots { gap: 5px; }
.tx-gauge:not(.tx-gauge--tile) .tx-gauge__dots i { width: 12px; height: 12px; background: var(--line-2); }
.tx-gauge:not(.tx-gauge--tile) .tx-gauge__dots i.on { background: var(--accent); box-shadow: 0 0 10px -2px var(--glow); }
.tx-gauge__value { font-size: .9rem; color: var(--ink-2); }
.tx-gauge__value strong { font: 800 1.05rem/1 var(--f-head); color: var(--ink); }
.tx-gauge__value span { margin-left: 4px; color: var(--accent-text); font-weight: 800; }
@media (min-width: 600px) {
	.tx-sheet { grid-template-columns: 200px minmax(0, 1fr); padding: 20px; gap: 16px 22px; }
	.tx-sheet__art { grid-row: 1 / span 4; }
	.tx-sheet__head, .tx-sheet__cta, .tx-sheet__more, .tx-sheet .tx-chips, .tx-sheet__checked { grid-column: 2; }
	.tx-sheet__cta .tx-pill { width: auto; }
	.tx-sheet__cta .tx-disclose { text-align: left; }
	.tx-sheet__head .tx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Recensioni su mobile: riquadro con poster e bottone subito sotto il titolo, poi la risposta breve
   (stessa scelta di Ale sul sito precedente: la CTA resta nella prima schermata). */
@media (max-width: 899px) {
	.tx-main--show .tx-article { display: flex; flex-direction: column; }
	.tx-main--show .tx-article > * { order: 10; }
	.tx-main--show .tx-article > .tx-crumbs { order: 1; }
	.tx-main--show .tx-article > .tx-title { order: 2; }
	.tx-main--show .tx-article > .tx-stamp { order: 3; }
	.tx-main--show .tx-article > .tx-sheet { order: 4; margin-top: 14px; }
	.tx-main--show .tx-article > .tx-gist { order: 5; }
	.tx-main--show .tx-article > .tx-eps { order: 6; }
	.tx-sheet__head { gap: 10px; }
	.tx-sheet__head .tx-facts { gap: 6px; }
}

/* ------------------------------------------------------------------ Episodi con fotogramma */
.tx-eps { margin-top: 34px; }
.tx-eps .tx-strip__head h2 { font-size: clamp(1.1rem, .95rem + .9vw, 1.45rem); }
.tx-reel--eps { --tile-w: 112px; gap: 10px; }
.tx-ep figure { margin: 0; }
.tx-ep__art { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.tx-ep__art img { width: 100%; height: 100%; object-fit: cover; }
.tx-ep__locked { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 16%, var(--panel-2)), var(--panel)); }
.tx-ep__locked .tx-ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: var(--accent-text); }
.tx-ep__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 16, 25, .7), transparent 30%, transparent 62%, rgba(7, 16, 25, .85)); pointer-events: none; }
.tx-ep__n { position: absolute; z-index: 1; left: 8px; top: 7px; font: 800 .78rem/1 var(--f-head); letter-spacing: -.02em; color: #fff; }
.tx-ep__cost { position: absolute; z-index: 1; left: 7px; bottom: 7px; padding: 4px 7px; border-radius: 999px; background: rgba(0, 0, 0, .66); font: 800 .62rem/1 var(--f-body); color: #fff; }
.tx-ep__cost.is-free { background: var(--accent); color: var(--accent-ink); text-transform: uppercase; letter-spacing: .06em; }
.tx-ep figcaption { margin-top: 6px; font-size: .76rem; line-height: 1.3; color: var(--ink-2); }

/* ------------------------------------------------------------------ Testo lungo */
.tx-prose { margin-top: 30px; }
.tx-prose .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.tx-prose .wp-block-post-content > * + * { margin-block-start: 1.05em; }
.tx-prose .wp-block-post-content { font-size: 1.04rem; line-height: 1.72; color: var(--ink-2); max-width: 70ch; }
.tx-prose strong { color: var(--ink); }
.tx-prose a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tx-prose a:hover { text-decoration-thickness: 2px; }
.tx-prose h2 { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.12rem, .98rem + .85vw, 1.5rem); line-height: 1.22; color: var(--ink); }
.tx-prose .wp-block-post-content > h2 { margin-block-start: 2em; }
.tx-prose h3 { font-weight: 600; letter-spacing: -.025em; font-size: 1.04rem; line-height: 1.3; color: var(--ink); }
.tx-prose .wp-block-post-content > h3 { margin-block-start: 1.6em; }
.tx-prose ul, .tx-prose ol { padding-left: 1.3em; }
.tx-prose li + li { margin-top: .45em; }
.tx-prose li::marker { color: var(--accent-text); }
.tx-prose .wp-block-table { margin-inline: 0; overflow-x: auto; }
.tx-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.tx-prose th, .tx-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tx-prose th { font: 800 .7rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tx-prose td { color: var(--ink-2); }
.tx-prose .tx-cta { margin-block: 1.6em; }

/* ------------------------------------------------------------------ CTA */
.tx-cta { margin-top: 30px; display: flex; flex-direction: column; align-items: stretch; }
.tx-cta .tx-pill { width: 100%; }
.tx-cta .tx-disclose { text-align: center; }
@media (min-width: 600px) {
	.tx-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
	.tx-cta .tx-pill { width: auto; }
	.tx-cta .tx-disclose { margin: 0; }
}
.tx-cta--end { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--panel)), var(--panel)); border: 1px solid var(--line-2); }

/* ------------------------------------------------------------------ FAQ, note */
.tx-qa { margin-top: 40px; }
.tx-qa > h2 { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.15rem, .95rem + 1.1vw, 1.65rem); margin-bottom: 14px; }
.tx-qa__item { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: var(--r-lg); margin-bottom: 10px; }
.tx-qa__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.tx-qa__item summary::-webkit-details-marker { display: none; }
.tx-qa__item summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(45deg); margin-top: 5px; flex: none; transition: transform .2s; }
.tx-qa__item[open] summary::after { transform: rotate(225deg); }
.tx-qa__q { font: 600 .98rem/1.35 var(--f-head); letter-spacing: -.025em; }
.tx-qa__a p { padding: 0 18px 16px; color: var(--ink-2); line-height: 1.65; }
.tx-qa__a a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.tx-fine { margin-top: 22px; font-size: .8rem; line-height: 1.55; color: var(--muted); }

/* ------------------------------------------------------------------ Correlati */
.tx-more { max-width: none; }

/* ------------------------------------------------------------------ Hub delle serie: filtro e griglia */
.tx-filter { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tx-filter .tx-vibe { min-height: 40px; padding: 0 13px; font-size: .88rem; border-radius: 999px; }
.tx-grid { margin: 18px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.tx-grid > li[hidden] { display: none; }
@media (min-width: 700px) { .tx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; } }
@media (min-width: 1180px) { .tx-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tx-grid__empty { margin-top: 16px; color: var(--muted); }
.tx-prose .tx-grid--inline { margin-block: 1.4em; padding: 0; }
.tx-prose .tx-grid--inline li + li { margin-top: 0; }
.tx-prose .tx-grid--inline a { text-decoration: none; color: var(--ink); }
.tx-grid .tx-tile__name { font-size: .95rem; }
.tx-key { margin-top: 40px; padding: 20px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.tx-key h2 { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.1rem, .95rem + .9vw, 1.45rem); }
.tx-key__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.tx-key__list li { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.tx-key__list li:first-child { border-top: 0; padding-top: 0; }
.tx-key__list p { color: var(--ink-2); font-size: .92rem; }
@media (min-width: 768px) { .tx-key__list li { grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 18px; } }

/* ------------------------------------------------------------------ Creator: profilo e griglia */
.tx-intro { margin-top: 18px; display: grid; gap: 14px; }
.tx-intro .tx-gist { margin-top: 0; }
.tx-portrait { margin: 0; max-width: 320px; }
.tx-portrait img, .tx-portrait video { width: 100%; border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(94, 234, 212, .35), 0 30px 70px -28px rgba(45, 225, 194, .45); }
.tx-portrait figcaption { margin-top: 8px; font-size: .76rem; color: var(--muted); }
.tx-own__cta .tx-pill { width: 100%; }
.tx-own__cta .tx-disclose { text-align: center; }
.tx-own__cta.is-section { display: none; }
@media (min-width: 700px) {
	.tx-intro { grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 22px; }
	.tx-intro .tx-portrait { grid-row: 1 / span 2; }
	.tx-own__cta.is-intro { display: none; }
	.tx-own__cta.is-section { display: block; margin-bottom: 16px; }
	.tx-own__cta .tx-pill { width: auto; }
	.tx-own__cta .tx-disclose { text-align: left; }
}
.tx-grid--own { margin-top: 0; }
.tx-people { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
@media (min-width: 768px) { .tx-people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .tx-people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tx-person { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.tx-person__art { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--panel-2); }
.tx-person__art img, .tx-person__art video { width: 100%; height: 100%; object-fit: cover; }
.tx-person__name { display: block; margin-top: 10px; font: 700 1rem/1.2 var(--f-head); letter-spacing: -.03em; }
.tx-person__link:hover .tx-person__name { color: var(--accent-text); }
.tx-person__text { font-size: .86rem; color: var(--ink-2); }
.tx-person__count { font-size: .76rem; color: var(--muted); }
.tx-person__cta { margin-top: auto; }
.tx-person__cta .tx-pill { width: 100%; }

/* ------------------------------------------------------------------ Hero delle guide: pannello di vetro sull'immagine */
.tx-banner { position: relative; margin-top: 16px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: var(--panel); border: 1px solid var(--line); }
.tx-banner__media { position: absolute; inset: 0; z-index: -2; }
.tx-banner__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; opacity: .55; }
.tx-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 16, 25, .35), rgba(7, 16, 25, .88) 70%); }
.tx-banner__glass { padding: 18px 16px 20px; }
.tx-banner .tx-crumbs { padding-top: 0; }
.tx-banner__title { margin-top: 10px; font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.3rem, 1rem + 1.9vw, 2.15rem); line-height: 1.12; }
.tx-banner .tx-gist { background: rgba(7, 16, 25, .55); }
.tx-banner__btns { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.tx-banner .tx-disclose { text-align: center; }
@media (min-width: 600px) { .tx-banner__btns { flex-direction: row; flex-wrap: wrap; } .tx-banner .tx-disclose { text-align: left; } }
@media (min-width: 900px) {
	.tx-banner { min-height: 380px; display: flex; align-items: flex-end; }
	.tx-banner__glass { margin: 36px; max-width: 680px; padding: 26px 28px; border-radius: 24px; background: rgba(7, 16, 25, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .07); }
}
.tx-banner.is-plain .tx-banner__glass { margin: 0; max-width: none; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ------------------------------------------------------------------ Riquadro laterale delle recensioni (schermi larghi) */
.tx-side { display: none; }
@media (min-width: 1360px) {
	.tx-main--show { display: grid; grid-template-columns: minmax(0, 820px) 260px; column-gap: 44px; align-items: start; }
	.tx-main--show > .tx-article { grid-column: 1; }
	.tx-main--show > .tx-side { display: block; grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--top-h) + 24px); margin-top: 54px; }
	.tx-main--show > .tx-more { grid-column: 1 / -1; }
	.admin-bar .tx-main--show > .tx-side { top: calc(var(--top-h) + 56px); }
}
.tx-side__card { padding: 16px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--panel) 80%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); display: grid; gap: 12px; }
.tx-side__art { display: block; width: 120px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(94, 234, 212, .35); }
.tx-side__title { font: 700 1rem/1.2 var(--f-head); letter-spacing: -.03em; }
.tx-side__free { font-size: .84rem; color: var(--ink-2); }
.tx-side .tx-disclose { margin-top: 0; text-align: center; }

/* Guide su mobile: bottoni subito sotto titolo e data, poi la risposta breve (CTA nella prima schermata). */
@media (max-width: 899px) {
	.tx-banner__glass { display: flex; flex-direction: column; }
	.tx-banner__glass > .tx-crumbs { order: 1; }
	.tx-banner__glass > .tx-banner__title { order: 2; }
	.tx-banner__glass > .tx-stamp { order: 3; }
	.tx-banner__glass > .tx-banner__btns { order: 4; margin-top: 14px; }
	.tx-banner__glass > .tx-disclose { order: 5; }
	.tx-banner__glass > .tx-gist { order: 6; }
}
/* Profilo creator su mobile: ritratto intero ma piu compatto, cosi il bottone chat sale. */
@media (max-width: 699px) {
	.tx-intro .tx-portrait { max-width: 230px; margin-inline: auto; }
}

/* ------------------------------------------------------------------ Footer */
.tx-foot { border-top: 1px solid var(--line); padding: 28px var(--gut) 40px; color: var(--muted); font-size: .83rem; }
.tx-foot__in { max-width: 1280px; margin: 0 auto; display: grid; gap: 22px; }
.tx-foot__brand p { margin-top: 12px; max-width: 46ch; color: var(--ink-2); }
.tx-foot__head { font: 800 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tx-foot__nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tx-foot__nav a { color: var(--ink-2); font-weight: 600; }
.tx-foot__nav a:hover { color: var(--accent-text); }
.tx-foot__legal { display: grid; gap: 8px; max-width: 80ch; }
.tx-foot__email { user-select: none; }
@media (min-width: 900px) {
	.tx-foot__in { grid-template-columns: 1.3fr 1fr 1fr; }
	.tx-foot__nav ul { flex-direction: column; }
	.tx-foot__legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------------ Age gate */
.tx-gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(3, 8, 13, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tx-adult .tx-gate { display: none; }
.tx-gate__card { width: min(100%, 440px); padding: 26px 22px; border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(45, 225, 194, .35); }
.tx-gate__title { margin-top: 20px; font: 700 1.35rem/1.15 var(--f-head); letter-spacing: -.035em; }
.tx-gate__text { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.tx-gate__actions { margin-top: 20px; display: grid; gap: 10px; }

/* ------------------------------------------------------------------ Desktop */
@media (min-width: 768px) {
	.tx-reel { --tile-w: 164px; }
	.tx-chart { --tile-w: 176px; --n: 124px; }
	.tx-reel--eps { --tile-w: 150px; }
	.tx-faces { grid-auto-columns: 124px; }
	.tx-face img, .tx-face .tx-noart { width: 112px; height: 112px; }
}
@media (min-width: 1024px) {
	:root { --gut: 32px; }
	.wp-site-blocks { padding-right: var(--dock-w); }
	.tx-dock { width: var(--dock-w); transform: none; }
	.tx-veil, .tx-burger, .tx-dock__close { display: none; }
	.tx-top__row { padding: 0 32px; }
	.tx-top__row > .tx-logo { display: none; }
	.tx-top__date { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: var(--muted); font-size: .84rem; font-weight: 600; }
	.tx-top__date .tx-ico { width: 16px; height: 16px; color: var(--accent-text); }
	.tx-main { padding-bottom: 72px; }
	.tx-prose .wp-block-post-content { font-size: 1.06rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Telefoni: logo su due righe piu piccolo, CTA compatta senza icona. */
@media (max-width: 479px) {
	.tx-top .tx-logo__name { font-size: .66rem; }
	.tx-top .tx-logo__name b { font-size: 1.15em; }
	.tx-top .tx-logo__tag { font-size: .5rem; letter-spacing: .22em; }
	.tx-top__cta .tx-ico { display: none; }
	.tx-top__cta .tx-lbl-long { display: none; }
	.tx-top__cta .tx-lbl-short { display: inline; }
	.tx-top__cta { padding: 0 13px; }
}
@media (max-width: 359px) {
	.tx-top .tx-logo__mark { display: none; }
	.tx-top__row { gap: 8px; padding: 0 10px; }
	.tx-top .tx-logo__name { font-size: .62rem; letter-spacing: -.04em; }
	.tx-top__cta { padding: 0 11px; font-size: .8rem; }
	.tx-burger { width: 38px; height: 38px; }
}

/* Barra di amministrazione (utenti collegati): header e sidebar scendono. */
.admin-bar .tx-top { top: 32px; }
.admin-bar .tx-dock { top: 32px; }
@media (max-width: 782px) { .admin-bar .tx-top { top: 46px; } .admin-bar .tx-dock { top: 46px; } }
@media (max-width: 600px) { .admin-bar .tx-top { top: 0; } }
