/* ============================================================
 * Focus Mode — paperback amber reader
 * Active only on single.post when html[data-mode="focus"]
 * Session-only (sessionStorage). Auto-exits on non-article pages.
 * ============================================================ */

html[data-mode="focus"] {
	background: #F4ECD8;
}

html[data-mode="focus"] body {
	background: #F4ECD8;
	color: #2A1F0F;
	cursor: auto;
}

/* Hide site chrome */
html[data-mode="focus"] .vg-header,
html[data-mode="focus"] .vg-fin-ticker,
html[data-mode="focus"] .vg-ticker,
html[data-mode="focus"] .vg-share-section,
html[data-mode="focus"] .vg-reactions,
html[data-mode="focus"] .vg-poll,
html[data-mode="focus"] .vg-support,
html[data-mode="focus"] .vg-card-widget,
html[data-mode="focus"] .vg-related,
html[data-mode="focus"] .vg-byline-card,
html[data-mode="focus"] .vg-ad-slot,
html[data-mode="focus"] .vg-ad-sticky,
html[data-mode="focus"] .vg-footer,
html[data-mode="focus"] .vg-front-sidebar,
html[data-mode="focus"] .vg-progress,
html[data-mode="focus"] .vg-widget-zone,
html[data-mode="focus"] .vg-article-widgets,
html[data-mode="focus"] .vg-wa-cta {
	display: none !important;
}

/* Floating exit button is rendered as a real <button> by vg-core.js */
.vg-focus-exit {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	background: #C0392B;
	color: #FFFFFF;
	font-family: var(--vg-font-body);
	font-size: 13px;
	font-weight: 600;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	letter-spacing: .4px;
	box-shadow: 0 4px 14px rgba(192, 57, 43, 0.45);
	transition: background .18s ease, transform .18s ease;
}
.vg-focus-exit:hover {
	background: #A93226;
	transform: translateY(-1px);
}
.vg-focus-exit svg { display: block; }
.vg-focus-exit span { line-height: 1; }

/* Hide the exit pill outside focus mode */
html:not([data-mode="focus"]) .vg-focus-exit { display: none; }

/* Article body — narrower column, larger type, generous leading */
html[data-mode="focus"] .vg-article-wrap {
	max-width: 680px;
	margin: 0 auto;
	padding: 60px 24px 100px;
}

html[data-mode="focus"] .vg-article-cat,
html[data-mode="focus"] .vg-article-label {
	color: #6B4520;
	background: transparent;
	padding-left: 0;
}

html[data-mode="focus"] .vg-article-title {
	font-family: var(--vg-font-head);
	font-size: 32px;
	line-height: 1.25;
	color: #2A1F0F;
	margin: 18px 0 12px;
}

@media (min-width: 700px) {
	html[data-mode="focus"] .vg-article-title { font-size: 40px; }
}

html[data-mode="focus"] .vg-article-excerpt {
	font-size: 18px;
	color: #5A4530;
	font-style: italic;
}

html[data-mode="focus"] .vg-byline {
	background: transparent;
	padding: 8px 0;
	border-top: 1px solid rgba(42, 31, 15, 0.18);
	border-bottom: 1px solid rgba(42, 31, 15, 0.18);
}
html[data-mode="focus"] .vg-byline-name,
html[data-mode="focus"] .vg-byline-meta { color: #6B4520; }

html[data-mode="focus"] .vg-listen-btn,
html[data-mode="focus"] .vg-tts-player { display: none; }

html[data-mode="focus"] .vg-featured-img { margin: 24px -24px; }
html[data-mode="focus"] .vg-featured-img img { border-radius: 0; }
html[data-mode="focus"] .vg-featured-caption { color: #6B4520; padding: 0 24px; }

html[data-mode="focus"] .vg-article-body {
	font-size: 19px;
	line-height: 1.85;
	color: #2A1F0F;
}
html[data-mode="focus"] .vg-article-body p { margin: 0 0 1.4em; }
html[data-mode="focus"] .vg-article-body h2,
html[data-mode="focus"] .vg-article-body h3 {
	font-family: var(--vg-font-head);
	color: #2A1F0F;
	margin-top: 1.6em;
}
html[data-mode="focus"] .vg-article-body a {
	color: #8C2C1F;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
html[data-mode="focus"] .vg-article-body blockquote {
	border-left: 3px solid #8C2C1F;
	background: rgba(140, 44, 31, 0.06);
	color: #2A1F0F;
	font-style: italic;
}

html[data-mode="focus"] .vg-correction {
	background: rgba(140, 44, 31, 0.1);
	color: #2A1F0F;
	border-left-color: #8C2C1F;
}

html[data-mode="focus"] .vg-source-block {
	background: transparent;
	border: 1px dashed rgba(42, 31, 15, 0.25);
	color: #6B4520;
}
html[data-mode="focus"] .vg-source-block a { color: #8C2C1F; }
