/* ==========================================================================
   ThermometerGuru — polish.css
   Today on the X dashboard, premium card depth, mobile rhythm.
   ========================================================================== */

/* ---------- TODAY ON THE THERMOMETER ---------- */
.tmg-today { padding: 56px 0 80px; background: var(--tmg-surface-2); }
.tmg-today-marquee {
	background: var(--tmg-surface);
	border: 1px solid var(--tmg-line); border-radius: 999px;
	padding: 8px 0; overflow: hidden;
	margin: 0 0 28px;
}
.tmg-today-marquee-track {
	display: inline-flex; gap: 32px;
	animation: tmg-marquee 28s linear infinite;
	white-space: nowrap;
	padding: 0 16px;
}
.tmg-today-marquee-item { font-size: .85rem; color: var(--tmg-muted); }
.tmg-today-marquee-item strong { color: var(--tmg-cta); }

.tmg-today-grid {
	display: grid; gap: 16px;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-areas:
		"feature alerts trending"
		"feature region favs";
}
.tmg-today-feature { grid-area: feature; min-height: 360px; position: relative; overflow: hidden; }
.tmg-today-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tmg-today-feature-body { position: relative; z-index: 2; padding: 32px; color: #eef2f7; }
.tmg-today-feature-body .tmg-eyebrow { color: #5cd1c9; }
.tmg-today-feature-name { font-size: 2rem; margin: 8px 0 6px; color: #fff; }
.tmg-today-feature-tag { color: #c5d2e6; max-width: 460px; margin: 0 0 18px; }
.tmg-today-feature-stats {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
	max-width: 460px; margin: 0 0 16px;
}
.tmg-today-feature-stats > div { background: rgba(255,255,255,.08); padding: 10px 12px; border-radius: 12px; }
.tmg-today-feature-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #93a3bb; }
.tmg-today-feature-stats dd { margin: 4px 0 0; color: #fff; font-weight: 600; }
.tmg-today-feature-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.tmg-today-alerts { grid-area: alerts; padding: 20px; }
.tmg-today-alerts header h3 { margin: 4px 0 12px; font-size: 1.1rem; }
.tmg-today-alert-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.tmg-today-alert-list li {
	display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center;
	background: var(--tmg-surface-2); padding: 8px 12px; border-radius: 10px;
}
.tmg-today-alert-name { color: var(--tmg-text); font-weight: 600; }
.tmg-today-alert-tag { color: var(--tmg-muted); font-size: .78rem; }
.tmg-today-alert-delta.is-up   { color: var(--tmg-cta); }
.tmg-today-alert-delta.is-down { color: var(--tmg-primary); }

.tmg-today-trending { grid-area: trending; padding: 20px; }
.tmg-today-trending header h3 { margin: 4px 0 12px; font-size: 1.1rem; }
.tmg-today-rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tmg-today-rank-list li {
	display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; align-items: center;
	font-size: .9rem;
}
.tmg-today-rank {
	display: inline-grid; place-items: center;
	width: 28px; height: 28px; border-radius: 8px;
	background: linear-gradient(135deg, var(--tmg-primary), var(--tmg-accent));
	color: #fff; font-weight: 700;
}
.tmg-today-rank-1 { background: linear-gradient(135deg, var(--tmg-cta), #fb923c); }
.tmg-today-rank-2 { background: linear-gradient(135deg, #14b8a6, #0e7490); }
.tmg-today-rank-3 { background: linear-gradient(135deg, #7c3aed, #0ea5e9); }

.tmg-today-region { grid-area: region; padding: 20px; }
.tmg-today-region header h3 { margin: 4px 0 12px; font-size: 1.1rem; }
.tmg-today-region-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.tmg-today-region-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; background: var(--tmg-surface-2); border-radius: 8px; }

.tmg-today-favs { grid-area: favs; padding: 20px; }
.tmg-today-favs header h3 { margin: 4px 0 12px; font-size: 1.1rem; }
.tmg-today-fav-stack { display: flex; gap: 0; margin-bottom: 12px; }
.tmg-today-avatar {
	display: inline-grid; place-items: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--tmg-primary); color: #fff; font-weight: 700;
	margin-left: -10px; border: 2px solid var(--tmg-surface);
}
.tmg-today-avatar:first-child { margin-left: 0; }
.tmg-today-fav-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.tmg-today-fav-list li { display: flex; justify-content: space-between; gap: 8px; }
.tmg-today-fav-list span { color: var(--tmg-cta); font-weight: 600; }

@media (max-width: 1100px) {
	.tmg-today-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"feature feature"
			"alerts trending"
			"region favs";
	}
}

/* Slim newsletter strip below the Today grid — non-modal, contextual. */
.tmg-today-news {
	margin-top: 20px;
	padding: 24px 28px;
	border-radius: var(--tmg-radius);
	background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(15,23,42,.95));
	color: #fff;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 24px;
	align-items: center;
	box-shadow: var(--tmg-shadow-2);
}
.tmg-today-news-copy h3 { color: #fff; margin: 4px 0 6px; font-size: 1.25rem; }
.tmg-today-news-copy p { color: #cfdce8; margin: 0; font-size: .9rem; }
.tmg-today-news .tmg-eyebrow { color: #5cd1c9; }
.tmg-today-news .tmg-newsletter {
	background: rgba(255,255,255,.1); padding: 6px; border-radius: 999px;
	display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.tmg-today-news .tmg-newsletter input {
	flex: 1; min-width: 160px; padding: 10px 16px;
	border: 0; background: transparent; color: #fff; font: inherit; outline: none;
}
.tmg-today-news .tmg-newsletter input::placeholder { color: rgba(255,255,255,.6); }
.tmg-today-news .tmg-newsletter-status         { color: #cfdce8; }
.tmg-today-news .tmg-newsletter-status.is-ok   { color: #86efac; }
.tmg-today-news .tmg-newsletter-status.is-err  { color: #fca5a5; }
@media (max-width: 720px) {
	.tmg-today-news { grid-template-columns: 1fr; padding: 20px; }
}
@media (max-width: 700px) {
	.tmg-today-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"feature"
			"alerts"
			"trending"
			"region"
			"favs";
	}
	.tmg-today-feature-body { padding: 20px; }
}

/* ---------- FAQ ---------- */
.tmg-faq-container { max-width: 860px; }
.tmg-faq-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tmg-faq-item {
	background: var(--tmg-surface);
	border: 1px solid var(--tmg-line);
	border-radius: var(--tmg-radius);
	overflow: hidden;
}
.tmg-faq-q {
	width: 100%; padding: 16px 20px;
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	background: transparent; border: 0; text-align: left;
	font-weight: 600; color: var(--tmg-text); font-size: 1rem;
}
.tmg-faq-q:hover { color: var(--tmg-cta); }
.tmg-faq-glyph { color: var(--tmg-primary); font-size: 1.2rem; transition: transform .2s ease; }
.tmg-faq-q[aria-expanded="true"] .tmg-faq-glyph { transform: rotate(45deg); }
.tmg-faq-a { padding: 0 20px 18px; color: var(--tmg-muted); font-size: .95rem; }

/* ---------- EEAT ---------- */
.tmg-eeat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tmg-eeat-card { padding: 24px; }
.tmg-eeat-glyph {
	display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 12px;
	background: linear-gradient(135deg, var(--tmg-primary), var(--tmg-accent));
	color: #fff; margin-bottom: 12px;
}
.tmg-eeat-title { margin: 0 0 8px; font-size: 1.1rem; }
.tmg-eeat-body { color: var(--tmg-muted); font-size: .92rem; margin: 0; }
.tmg-eeat-footer { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* ---------- NEWSLETTER ---------- */
.tmg-newsletter-section { background: var(--tmg-surface-2); }
.tmg-newsletter-card {
	display: grid; gap: 32px; grid-template-columns: 1.2fr 1fr;
	padding: 40px;
	background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(15,23,42,.95));
	color: #fff !important;
	border: 0;
}
.tmg-newsletter-title { color: #fff; margin: 8px 0 12px; }
.tmg-newsletter-sub { color: #cfdce8; margin: 0 0 16px; }
.tmg-newsletter-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: #cfdce8; font-size: .92rem; }
.tmg-newsletter-points svg { color: #fff; }
.tmg-newsletter {
	display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
	background: rgba(255,255,255,.1); padding: 6px; border-radius: 999px;
}
.tmg-newsletter input {
	flex: 1; min-width: 180px; padding: 10px 16px;
	border: 0; background: transparent; color: #fff; font-size: 1rem; outline: none;
}
.tmg-newsletter input::placeholder { color: rgba(255,255,255,.6); }
.tmg-newsletter-status { display: block; padding-left: 8px; color: #cfdce8; font-size: .85rem; min-height: 18px; margin-top: 8px; }
.tmg-newsletter-status.is-ok { color: #22c55e; }
.tmg-newsletter-status.is-err { color: #fca5a5; }
.tmg-newsletter-fine { color: rgba(255,255,255,.7); font-size: .82rem; margin-top: 8px; display: block; }

@media (max-width: 760px) {
	.tmg-newsletter-card { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- FEATURED ENVIRONMENTS ---------- */
.tmg-featured-grid {
	display: grid; gap: 20px;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}
.tmg-featured-card.is-feature {
	grid-column: span 2;
	grid-row: span 2;
}
.tmg-featured-link { color: var(--tmg-text); display: block; height: 100%; }
.tmg-featured-art { position: relative; aspect-ratio: 5/3; overflow: hidden; }
.tmg-featured-card.is-feature .tmg-featured-art { aspect-ratio: 16/12; }
.tmg-featured-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tmg-featured-tag { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.tmg-featured-body { padding: 18px; }
.tmg-featured-body header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tmg-featured-name { font-size: 1.2rem; margin: 0; }
.tmg-featured-country { color: var(--tmg-muted); font-size: .8rem; }
.tmg-featured-tag-line { color: var(--tmg-muted); font-size: .92rem; margin: 6px 0 12px; }
.tmg-featured-pills { list-style: none; padding: 0; margin: 0 0 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tmg-featured-score { display: grid; gap: 4px; margin-bottom: 12px; }
.tmg-score-bar { height: 6px; background: var(--tmg-surface-2); border-radius: 999px; overflow: hidden; }
.tmg-score-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--tmg-primary), var(--tmg-cta)); border-radius: 999px; transition: width .8s ease; }
.tmg-featured-cta { color: var(--tmg-cta); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 1100px) {
	.tmg-featured-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}
	.tmg-featured-card.is-feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 720px) {
	.tmg-featured-grid { grid-template-columns: 1fr; }
	.tmg-featured-card.is-feature { grid-column: span 1; }
}

/* ---------- MOBILE RHYTHM ---------- */
@media (max-width: 720px) {
	.tmg-section-pad { padding: 48px 0; }
	.tmg-hero { min-height: auto; padding: 80px 0 80px; }
	.tmg-hero-grid { grid-template-columns: 1fr; }
	.tmg-hero-card { margin: 0; }
	.tmg-env-stats { grid-template-columns: repeat(2, 1fr); }
	.tmg-section-head { margin-bottom: 32px; }
	.tmg-quick-card { padding: 16px; }
}

/* ==========================================================================
   USE-CASES (homepage entry section)
   ========================================================================== */
.tmg-usecases-grid {
	display: grid; gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.tmg-usecase-card {
	display: flex; flex-direction: column;
	color: var(--tmg-text);
	text-decoration: none;
	transition: transform .2s ease, box-shadow .25s ease;
}
.tmg-usecase-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--tmg-shadow-3);
	color: var(--tmg-text);
}
.tmg-usecase-art { position: relative; aspect-ratio: 16/6; overflow: hidden; }
.tmg-usecase-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tmg-usecase-glyph {
	position: absolute; left: 16px; bottom: -22px;
	display: inline-grid; place-items: center;
	width: 48px; height: 48px;
	background: var(--tmg-surface);
	color: var(--tmg-primary);
	border: 1px solid var(--tmg-line);
	border-radius: 12px;
	box-shadow: var(--tmg-shadow-2);
}
.tmg-usecase-body { padding: 32px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tmg-usecase-name { margin: 0; font-size: 1.2rem; }
.tmg-usecase-tag  { color: var(--tmg-muted); font-size: .92rem; margin: 0; flex: 1; }
.tmg-usecase-pills {
	list-style: none; padding: 0; margin: 4px 0 0;
	display: flex; flex-wrap: wrap; gap: 6px;
}
.tmg-usecase-pills .tmg-pill { font-size: .72rem; }
.tmg-usecase-cta {
	color: var(--tmg-cta); font-weight: 600; font-size: .92rem;
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 4px;
}

/* ==========================================================================
   USE-CASE HUB (page template — destination)
   ========================================================================== */
.tmg-uchub-jump {
	display: flex; flex-wrap: wrap; gap: 8px;
	margin: 16px 0 0;
}
.tmg-uchub-jump a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; border-radius: 999px;
	background: var(--tmg-surface-2);
	color: var(--tmg-text); font-size: .85rem; font-weight: 500;
	border: 1px solid var(--tmg-line);
}
.tmg-uchub-jump a:hover { background: var(--tmg-primary); color: #fff; border-color: transparent; }

.tmg-uchub-stack { display: grid; gap: 64px; padding: 48px 24px 80px; }
.tmg-uchub-section { scroll-margin-top: 96px; }
.tmg-uchub-head {
	position: relative; overflow: hidden;
	border-radius: var(--tmg-radius);
	margin-bottom: 24px;
	min-height: 220px;
	display: grid; align-items: end;
}
.tmg-uchub-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.tmg-uchub-head-body {
	position: relative; z-index: 2;
	padding: 24px 28px;
	color: #fff;
}
.tmg-uchub-head-body .tmg-eyebrow { color: #5cd1c9; }
.tmg-uchub-head-body h2 {
	color: #fff; margin: 6px 0 6px;
	font-size: 1.8rem;
	display: inline-flex; align-items: center; gap: 10px;
}
.tmg-uchub-head-body p { color: #cfdce8; margin: 0; max-width: 640px; }

.tmg-uchub-grid {
	display: grid; gap: 20px;
	grid-template-columns: 1fr 1fr 2fr;
	align-items: start;
}
.tmg-uchub-env, .tmg-uchub-kit { padding: 18px; }
.tmg-uchub-env header,
.tmg-uchub-kit header,
.tmg-uchub-picks-head { margin-bottom: 12px; }
.tmg-uchub-env ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tmg-uchub-env li {
	display: grid; gap: 4px;
	padding: 10px 12px;
	background: var(--tmg-surface-2);
	border-radius: 10px;
}
.tmg-uchub-env li a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--tmg-text); }
.tmg-uchub-env li a strong { font-size: 1rem; }
.tmg-uchub-env li a span { color: var(--tmg-muted); font-size: .8rem; }
.tmg-uchub-env li small { color: var(--tmg-muted); font-size: .82rem; }

.tmg-uchub-picks { display: grid; gap: 12px; }
.tmg-uchub-picks-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.tmg-uchub-picks-all { color: var(--tmg-cta); font-weight: 600; font-size: .9rem; }

@media (max-width: 1080px) {
	.tmg-uchub-grid { grid-template-columns: 1fr 1fr; }
	.tmg-uchub-picks { grid-column: span 2; }
}
@media (max-width: 720px) {
	.tmg-uchub-grid { grid-template-columns: 1fr; }
	.tmg-uchub-picks { grid-column: auto; }
}

/* ==========================================================================
   JOURNEY STEPPER (decision-system spine)
   ========================================================================== */
.tmg-journey {
	margin: 12px 0 16px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.tmg-journey-list {
	display: flex; gap: 4px; align-items: center;
	list-style: none; padding: 0; margin: 0;
	min-width: max-content;
}
.tmg-journey-step a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 999px;
	background: var(--tmg-surface-2);
	color: var(--tmg-muted);
	border: 1px solid var(--tmg-line);
	font-size: .82rem; font-weight: 500;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tmg-journey-step a:hover { color: var(--tmg-text); }
.tmg-journey-step.is-current a {
	background: linear-gradient(135deg, var(--tmg-primary), var(--tmg-accent));
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 14px -6px rgba(14,165,233,.5);
}
.tmg-journey-step.is-done a {
	background: rgba(34,197,94,.1);
	color: #16a34a;
	border-color: rgba(34,197,94,.25);
}
.tmg-journey-step.is-done a:hover { color: #15803d; }
.tmg-journey-num {
	display: inline-grid; place-items: center;
	width: 18px; height: 18px;
	font-size: .7rem; font-weight: 700;
	background: rgba(255,255,255,.18); border-radius: 50%;
}
.tmg-journey-step.is-pending .tmg-journey-num {
	background: var(--tmg-line); color: var(--tmg-muted);
}
.tmg-journey-step.is-current .tmg-journey-num { background: rgba(255,255,255,.25); color: #fff; }
.tmg-journey-step.is-done    .tmg-journey-num { background: rgba(34,197,94,.2);   color: #16a34a; }
.tmg-journey-step + .tmg-journey-step::before {
	content: ""; display: block;
	width: 12px; height: 1px;
	background: var(--tmg-line);
	margin: 0 -2px;
}
.tmg-section-cinematic .tmg-journey-step a,
.tmg-env .tmg-journey-step a {
	background: rgba(255,255,255,.06);
	color: #cfd8e7;
	border-color: rgba(255,255,255,.12);
}
.tmg-section-cinematic .tmg-journey-step.is-current a,
.tmg-env .tmg-journey-step.is-current a {
	color: #fff;
}
.tmg-section-cinematic .tmg-journey-step.is-done a,
.tmg-env .tmg-journey-step.is-done a {
	background: rgba(34,197,94,.18);
	color: #86efac;
}
.tmg-section-cinematic .tmg-journey-step + .tmg-journey-step::before,
.tmg-env .tmg-journey-step + .tmg-journey-step::before {
	background: rgba(255,255,255,.12);
}
@media (max-width: 720px) {
	.tmg-journey-label { display: none; }
	.tmg-journey-step a { padding: 8px 12px; }
}

/* ==========================================================================
   PRODUCT → ENVIRONMENT cross-link (shown on every product box)
   ========================================================================== */
.tmg-env-links {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 6px;
	margin: 6px 0 8px;
}
.tmg-env-links-label {
	font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
	color: var(--tmg-muted); font-weight: 600;
	margin-right: 2px;
}
.tmg-env-link {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 9px; border-radius: 999px;
	font-size: .76rem; font-weight: 500;
	background: rgba(249,115,22,.08);
	color: var(--tmg-cta);
	border: 1px solid rgba(249,115,22,.22);
	transition: background .15s ease;
}
.tmg-env-link:hover { background: rgba(249,115,22,.18); color: var(--tmg-cta); }
.tmg-section-cinematic .tmg-env-link {
	background: rgba(252,211,77,.1);
	color: #fbbf24;
	border-color: rgba(252,211,77,.25);
}

/* ==========================================================================
   READING PROGRESS BAR (single posts) — slim premium signal at very top
   ========================================================================== */
.tmg-read-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: transparent;
	z-index: 70;
	pointer-events: none;
}
.tmg-read-progress span {
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--tmg-primary), var(--tmg-cta));
	transition: width .12s linear;
	box-shadow: 0 0 12px rgba(14,165,233,.35);
}
@media print { .tmg-read-progress { display: none; } }

/* ==========================================================================
   USE-CASE CONTEXT CHIP (article hero — connects single posts to the system)
   ========================================================================== */
.tmg-uc-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(14,165,233,.1), rgba(20,184,166,.06));
	color: var(--tmg-primary);
	border: 1px solid rgba(14,165,233,.22);
	font-size: .82rem; font-weight: 600;
	transition: background .15s ease, transform .15s ease;
	margin: 4px 0 8px;
}
.tmg-uc-chip:hover {
	background: linear-gradient(135deg, rgba(14,165,233,.18), rgba(20,184,166,.1));
	color: var(--tmg-primary);
	transform: translateX(2px);
}
.tmg-uc-chip svg { color: var(--tmg-primary); }

/* ==========================================================================
   EDITOR'S VERDICT (auto-injected end-of-article decision moment)
   ========================================================================== */
.tmg-verdict {
	position: relative;
	margin: 36px 0 28px;
	padding: 24px 26px 22px;
	background: var(--tmg-surface);
	border: 1px solid var(--tmg-line);
	border-radius: var(--tmg-radius);
	box-shadow: var(--tmg-shadow-3);
	overflow: hidden;
}
.tmg-verdict-strip {
	position: absolute; top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--tmg-primary), var(--tmg-accent), var(--tmg-cta));
}
.tmg-verdict-head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-bottom: 8px;
}
.tmg-verdict-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--tmg-muted); }
.tmg-verdict-rating strong { color: var(--tmg-text); }
.tmg-verdict-name {
	margin: 0 0 16px;
	font-size: 1.5rem;
	font-family: var(--tmg-h-font);
}
.tmg-verdict-rows {
	display: grid; gap: 10px;
	margin: 0 0 18px;
}
.tmg-verdict-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 14px;
	padding: 12px 14px;
	background: var(--tmg-surface-2);
	border-radius: 10px;
	border-left: 3px solid var(--tmg-line);
}
.tmg-verdict-row dt {
	font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
	color: var(--tmg-muted); font-weight: 700;
	align-self: center;
}
.tmg-verdict-row dd { margin: 0; font-size: .95rem; color: var(--tmg-text); }
.tmg-verdict-row-good { border-left-color: #22c55e; }
.tmg-verdict-row-good dt { color: #16a34a; }
.tmg-verdict-row-bad { border-left-color: #f97316; }
.tmg-verdict-row-bad dt { color: #c2410c; }
.tmg-verdict-row-line { border-left-color: var(--tmg-primary); }
.tmg-verdict-row-line dt { color: var(--tmg-primary); }
.tmg-verdict .tmg-btn-cta { width: 100%; justify-content: center; }
.tmg-verdict-uc {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 14px;
	font-size: .82rem; font-weight: 600;
	color: var(--tmg-muted);
}
.tmg-verdict-uc:hover { color: var(--tmg-primary); }
.tmg-verdict-uc svg { color: var(--tmg-primary); }

@media (max-width: 600px) {
	.tmg-verdict { padding: 18px 18px 16px; }
	.tmg-verdict-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   "NEXT IN [USE CASE]" — journey continuity at end of article
   ========================================================================== */
.tmg-next-uc {
	margin: 32px 0;
	padding: 22px 24px;
	background: linear-gradient(135deg, rgba(15,23,42,.95), rgba(14,165,233,.92));
	color: #fff;
	border-radius: var(--tmg-radius);
	box-shadow: var(--tmg-shadow-2);
}
.tmg-next-uc .tmg-eyebrow { color: #5cd1c9; }
.tmg-next-uc-link { display: block; color: #fff; }
.tmg-next-uc-link:hover { color: #fff; }
.tmg-next-uc-link h3 {
	color: #fff; margin: 6px 0 6px;
	font-size: 1.4rem;
	transition: transform .2s ease;
}
.tmg-next-uc-link:hover h3 { transform: translateX(4px); }
.tmg-next-uc-link p { color: #cfdce8; margin: 0; font-size: .95rem; }

/* ---------- KEEP-READING (compact override) ---------- */
@media (max-width: 720px) {
	.tmg-keepreading { padding: 12px 14px; }
}

/* ---------- INLINE CTA (auto-injected after second H2) ---------- */
.tmg-inline-cta {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	gap: 14px;
	align-items: center;
	margin: 28px 0;
	padding: 16px 18px;
	background: linear-gradient(135deg, rgba(14,165,233,.06), rgba(20,184,166,.04));
	border: 1px solid var(--tmg-line);
	border-left: 3px solid var(--tmg-cta);
	border-radius: 14px;
}
.tmg-inline-cta-glyph {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; border-radius: 12px;
	background: linear-gradient(135deg, var(--tmg-primary), var(--tmg-accent));
	color: #fff;
}
.tmg-inline-cta-eyebrow {
	font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
	color: var(--tmg-cta); display: block; margin-bottom: 2px;
}
.tmg-inline-cta-line { margin: 0; font-size: .95rem; color: var(--tmg-text); }
.tmg-inline-cta-line em { color: var(--tmg-text); font-style: normal; font-weight: 600; }
@media (max-width: 600px) {
	.tmg-inline-cta { grid-template-columns: 1fr; }
	.tmg-inline-cta-glyph { display: none; }
	.tmg-inline-cta .tmg-btn { justify-self: stretch; justify-content: center; }
}

/* ---------- INLINE NEWSLETTER (end of article) ---------- */
.tmg-inline-newsletter {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px;
	margin: 32px 0;
	padding: 28px;
	background: linear-gradient(135deg, rgba(14,165,233,.95), rgba(15,23,42,.95));
	color: #fff;
	border-radius: var(--tmg-radius);
}
.tmg-inline-newsletter h3 { color: #fff; margin: 4px 0 6px; font-size: 1.4rem; }
.tmg-inline-newsletter p { color: #cfdce8; margin: 0; font-size: .92rem; }
.tmg-inline-newsletter .tmg-eyebrow { color: #5cd1c9; }
.tmg-inline-newsletter .tmg-newsletter {
	background: rgba(255,255,255,.1); padding: 6px; border-radius: 999px;
	display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
	align-self: center;
}
.tmg-inline-newsletter .tmg-newsletter input {
	flex: 1; min-width: 160px; padding: 10px 16px;
	border: 0; background: transparent; color: #fff; font: inherit; outline: none;
}
.tmg-inline-newsletter .tmg-newsletter input::placeholder { color: rgba(255,255,255,.6); }
.tmg-inline-newsletter .tmg-newsletter-status { color: #cfdce8; }
.tmg-inline-newsletter .tmg-newsletter-status.is-ok  { color: #86efac; }
.tmg-inline-newsletter .tmg-newsletter-status.is-err { color: #fca5a5; }
@media (max-width: 720px) {
	.tmg-inline-newsletter { grid-template-columns: 1fr; padding: 22px; }
}
