/* Stubli theme — tokens and components per DESIGN.md. */

:root,
[data-mode="light"] {
	--st-bg: #fbfaf8;
	--st-surface: #efede9;
	--st-field: #e6e1d8;
	--st-tab-off: #e6e1d8;
	--st-ink: #22201d;
	--st-muted: #625d57;
	--st-accent: #4f6a4a;
	--st-accent-ink: #fff;
	--st-green: #4f6a4a;
	--st-green-off: #dfe7d9;
	--st-green-on: #e9efe4;
	--st-off-track: #8a847c;
	--st-sans: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--st-serif: Literata, Georgia, "Times New Roman", serif;
	--st-read: var(--st-sans);
	color-scheme: light;
}
[data-mode="paper"] {
	--st-bg: #f5efe6;
	--st-surface: #ece3d6;
	--st-field: #e2d2bb;
	--st-tab-off: #e6dccd;
	--st-ink: #2e2620;
	--st-muted: #6a5d52;
	--st-read: var(--st-serif);
	color-scheme: light;
}
[data-mode="dark"] {
	--st-bg: #1c1916;
	--st-surface: #28231e;
	--st-field: #3a2f26;
	--st-tab-off: #211d19;
	--st-ink: #ece4d8;
	--st-muted: #aa9e90;
	--st-accent: #a8bf98;
	--st-accent-ink: #1c1916;
	--st-green: #a8bf98;
	--st-green-off: #1f2820;
	--st-green-on: #253027;
	color-scheme: dark;
}

/* ── Base ── */
[hidden] { display: none !important; }
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--st-bg);
	color: var(--st-ink);
	font: 400 15px/1.5 var(--st-sans);
	-webkit-font-smoothing: antialiased;
}
.wp-site-blocks { padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 .75em; }
:focus-visible { outline: 2px solid var(--st-ink); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.st-muted { color: var(--st-muted); }
.st-small { font-size: 13px; }
.st-normal { font-weight: 400; text-transform: none; letter-spacing: 0; }
.st-icon { flex: none; }

.st-app {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 12px calc(24px + env(safe-area-inset-bottom));
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
.st-main { flex: 1; }
.st-narrow { max-width: 640px; width: 100%; margin: 0 auto; padding: 0 8px; }

.st-h1 { font-size: 24px; line-height: 1.25; font-weight: 650; margin: 12px 0 10px; letter-spacing: -.01em; }
.st-h2 { font-size: 19px; line-height: 1.3; font-weight: 650; margin: 10px 0 6px; }
.st-h3 { font-size: 15px; font-weight: 650; margin: 20px 0 8px; }
.st-lead { color: var(--st-muted); }

/* ── Top bar ── */
.st-top {
	display: flex; align-items: center; gap: 8px;
	min-height: 56px; padding: 0 8px;
}
.st-top-host, .st-top-back {
	display: inline-flex; align-items: center; gap: 4px;
	min-height: 44px; font-weight: 600; text-decoration: none;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-top-back { margin-left: -6px; }
.st-top-pages {
	display: flex; gap: 2px; margin-left: auto;
	overflow-x: auto; scrollbar-width: none;
}
.st-top-pages::-webkit-scrollbar { display: none; }
.st-top-pages a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
	font-size: 14px; color: var(--st-muted); text-decoration: none; white-space: nowrap;
}
.st-top-pages a[aria-current] { color: var(--st-ink); font-weight: 600; }
.st-mode {
	margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
	min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px;
	background: transparent; color: var(--st-muted); font: 500 13px var(--st-sans); cursor: pointer;
}
.st-top-pages + .st-mode { margin-left: 0; }
.st-mode-aa { font-weight: 700; color: var(--st-ink); }
.st-mode:hover { background: var(--st-surface); }

/* ── Pills and buttons ── */
.st-pill {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; text-decoration: none; flex: none;
}
.st-pill span {
	display: inline-flex; align-items: center; height: 32px; padding: 0 16px;
	border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .1s;
}
.st-pill-primary span { background: var(--st-accent); color: var(--st-accent-ink); }
.st-pill-quiet span { background: var(--st-surface); color: var(--st-ink); }
.st-pill:active span, .st-button:active { transform: scale(.97); }
.st-button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
	background: var(--st-accent); color: var(--st-accent-ink);
	font: 600 15px var(--st-sans); cursor: pointer;
}

/* ── Profile and Latest cards ── */
.st-cards { display: grid; gap: 10px; margin: 4px 0 18px; }
.st-card {
	border: 1px solid var(--st-field); border-radius: 16px; padding: 14px;
	background: transparent;
}
.st-profile-head { display: flex; align-items: center; gap: 12px; }
.st-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.st-profile-name { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.st-profile-name h1 { font-size: 18px; font-weight: 650; margin: 0; }
.st-profile-name .st-muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pronouns { font-size: 13px; font-weight: 400; color: var(--st-muted); }
.st-bio { margin: 10px 0 0; max-width: 34em; white-space: pre-line; }
.st-break { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--st-surface); font-size: 14px; }

.st-latest {
	display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
	text-decoration: none; min-height: 64px;
}
.st-latest-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.st-latest-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.st-latest-text > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-latest .st-muted { font-size: 13px; }
.st-latest:hover, .st-site-row:hover, .st-link-row:hover { background: var(--st-surface); }

/* ── Folder tabs ── */
.st-tabs { display: flex; align-items: flex-end; gap: 8px; }
.st-tabs-left { display: flex; align-items: flex-end; gap: 4px; min-width: 0; flex: 1; }
.st-tabs-scroll {
	display: flex; align-items: flex-end; gap: 4px; min-width: 0;
	overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.st-tabs-scroll::-webkit-scrollbar { display: none; }
.st-tabs-right { display: flex; align-items: flex-end; gap: 4px; flex: none; }

.st-tab {
	position: relative; display: inline-flex; align-items: flex-end; flex: none;
	height: 44px; text-decoration: none; scroll-snap-align: start;
	font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	white-space: nowrap; color: var(--tab-fg);
	--tab-bg: var(--st-tab-off); --tab-fg: var(--st-muted);
}
.st-tab-green { --tab-bg: var(--st-green-off); --tab-fg: var(--st-green); }
.st-tab-plain.is-active { --tab-bg: var(--st-surface); --tab-fg: var(--st-ink); }
.st-tab-green.is-active { --tab-bg: var(--st-green-on); }
.st-tab-face {
	display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
	border-radius: 12px 12px 0 0; background: var(--tab-bg);
}
.st-tab.is-active .st-tab-face { height: 38px; margin-bottom: -1px; padding-bottom: 1px; box-sizing: content-box; }
.st-tab.st-tab-icon .st-tab-face { width: 44px; padding: 0; justify-content: center; }
.st-tab.st-tab-icon .st-tab-label { display: none; }
.st-tab.is-active .st-icon { margin-left: -2px; }
.st-tab:hover:not(.is-active) .st-tab-face { filter: brightness(.97); }
[data-mode="dark"] .st-tab:hover:not(.is-active) .st-tab-face { filter: brightness(1.2); }
.st-tab:focus-visible { outline: none; }
.st-tab:focus-visible .st-tab-face { outline: 2px solid var(--st-ink); outline-offset: -2px; }
@media (hover: hover) {
	.st-tab[data-tip]:hover::after {
		content: attr(data-tip); position: absolute; bottom: calc(100% + 2px); left: 50%;
		transform: translateX(-50%); padding: 4px 8px; border-radius: 8px;
		background: var(--st-ink); color: var(--st-bg); font-size: 12px; letter-spacing: 0;
		text-transform: none; font-weight: 500; pointer-events: none; z-index: 2;
	}
}
.st-tabs-scroll { padding-top: 0; }

/* ── Panel ── */
.st-panel {
	background: var(--st-surface); border-radius: 14px; padding: 18px 12px 20px;
	min-height: 200px;
}
.st-panel.is-first { border-top-left-radius: 0; }
.st-panel-green { background: var(--st-green-on); }
.st-panel-green.is-last { border-top-right-radius: 0; }
.st-wall-label {
	font-size: 14px; line-height: 1.5; color: var(--st-muted); max-width: 34em;
	border-left: 2px solid var(--st-field); padding-left: 12px; margin: 0 0 16px 2px;
}
[data-mode="light"] .st-wall-label, [data-mode="paper"] .st-wall-label { border-left-color: #cfc8bc; }
.st-empty { color: var(--st-muted); text-align: center; padding: 40px 12px; margin: 0; }

/* ── Grid ── */
.st-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 18px;
}
.st-tile { display: block; text-decoration: none; }
.st-tile-photo {
	position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 8px;
	overflow: hidden; background: var(--st-field);
}
.st-tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.st-tile-photo.has-note img { filter: blur(22px) saturate(.7); transform: scale(1.15); }
.st-tile-note {
	position: absolute; inset: auto 8px 8px; padding: 6px 10px; border-radius: 10px;
	background: rgba(28, 25, 22, .72); color: #fff; font-size: 12px; line-height: 1.35;
}
.st-badge {
	position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 3px;
	padding: 3px 7px; border-radius: 999px; background: rgba(28, 25, 22, .62); color: #fff;
	font-size: 12px; font-weight: 600;
}
.st-tile-caption {
	display: block; margin-top: 6px; font-size: 14px; line-height: 1.35;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-tile:hover .st-tile-photo img { opacity: .94; }
.st-more { text-align: center; margin: 20px 0 0; }
.st-more a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 600; }

/* ── Single post ── */
.st-post-grid { display: grid; gap: 16px; }
.st-carousel { position: relative; margin: 0 -12px; }
.st-carousel-track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	border-radius: 0;
}
.st-carousel-track::-webkit-scrollbar { display: none; }
.st-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; background: var(--st-surface); }
.st-slide img { width: 100%; max-height: 82vh; object-fit: contain; }
.st-carousel-count {
	position: absolute; top: 12px; right: 12px; padding: 3px 9px; border-radius: 999px;
	background: rgba(28, 25, 22, .62); color: #fff; font-size: 12px; font-weight: 600;
}
.st-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.st-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--st-field); transition: background .2s; }
.st-dots span.is-on { background: var(--st-ink); }
.st-carousel.has-note .st-slide img { filter: blur(28px) saturate(.7); }
.st-carousel.is-revealed .st-slide img { filter: none; }
.st-note-reveal {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; border: 0; background: transparent; color: #fff; font: 500 15px var(--st-sans); cursor: pointer;
	text-align: center; padding: 24px;
}
.st-note-reveal > span { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 14px; background: rgba(28, 25, 22, .72); }
.st-note-reveal > span > span { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.st-carousel.is-revealed .st-note-reveal { display: none; }
.st-post-side { min-width: 0; }
.st-post-meta { font-size: 14px; margin: 0 0 6px; }
.st-post-meta a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.st-caption { font-size: 15px; }
.st-caption a, .st-prose a, .st-entry-text a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.st-card-tone { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--st-surface); text-decoration: none; }
.st-next { margin-top: 20px; min-height: 64px; }
.st-next img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.st-next > span { flex: 1; display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }

/* ── Comments ── */
.st-comments { margin-top: 20px; }
.st-comments h2 { font-size: 15px; font-weight: 650; margin: 0 0 10px; }
.st-comment { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--st-surface); margin-bottom: 8px; }
.st-comment.is-reply { margin-left: 24px; }
.st-comment-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.st-comment-meta { font-size: 13px; margin: 0 0 2px; }
.st-comment-meta a { text-decoration: none; }
.st-comment-text { margin: 0; font-family: var(--st-read); }

/* ── Journal ── */
.st-journal { padding: 22px 16px; }
.st-entry { max-width: 640px; margin: 0 auto 28px; }
.st-entry + .st-entry { padding-top: 22px; box-shadow: 0 -1px 0 0 transparent; }
.st-entry-date { font: 600 12px/1.4 var(--st-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--st-muted); margin: 0 0 8px; }
.st-entry-text { font: 400 17px/1.65 var(--st-serif); }
.st-entry.is-long .st-entry-text { max-height: 18em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.st-entry.is-full { margin-top: 12px; }
.st-entry.is-full .st-entry-date { font-size: 13px; }
.st-reading { max-width: 640px; margin: 0 auto; width: 100%; padding: 0 8px; }
.st-read-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; }
.st-video {
	position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--st-field); margin: 8px 0 4px; overflow: hidden;
}
.st-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-video-play {
	position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border: 0; border-radius: 50%;
	background: var(--st-ink); color: var(--st-bg); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.st-video-note { display: block; font: 400 13px var(--st-sans); color: var(--st-muted); margin-bottom: 12px; }

/* ── Guest book ── */
.st-panel-green .st-pill { margin: 4px 0 12px; }
.st-guest-intro { max-width: 34em; }
.st-guest-list { display: grid; gap: 10px; margin-top: 8px; }
.st-guest { padding: 12px 14px; border-radius: 12px; background: var(--st-bg); }
.st-guest-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.st-guest-head img { width: 32px; height: 32px; border-radius: 50%; }
.st-guest-head > div { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; flex: 1; min-width: 0; }
.st-guest-head a { text-decoration: none; }
.st-guest-head .st-muted { font-size: 13px; }
.st-guest p { margin: 0; font-family: var(--st-read); }
.st-pinned { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }

/* ── Links ── */
.st-panel-green .st-h3:first-child { margin-top: 0; }
.st-link-list { display: grid; gap: 4px; }
.st-link-row, .st-site-row {
	display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px;
	border-radius: 12px; text-decoration: none;
}
.st-link-row > span { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.st-link-row .st-muted { font-size: 13px; }
.st-link-row .st-icon { color: var(--st-green); }
.st-site-row img, .st-avatar-blank { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--st-field); }
.st-site-row > span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; min-width: 0; }
.st-link-row:hover, .st-site-row:hover { background: var(--st-bg); }

/* ── Remote form ── */
.st-remote { display: grid; gap: 6px; margin: 18px 0 24px; }
.st-remote label { font-weight: 600; font-size: 14px; }
.st-remote input {
	min-height: 48px; padding: 0 14px; border: 1px solid var(--st-field); border-radius: 12px;
	background: var(--st-bg); color: var(--st-ink); font: 400 16px var(--st-sans);
}
.st-remote input:focus { outline: 2px solid var(--st-ink); outline-offset: 1px; }
.st-remote .st-button { justify-self: start; margin-top: 10px; }
.st-error { color: var(--st-ink); background: var(--st-field); padding: 8px 12px; border-radius: 10px; font-size: 14px; margin: 4px 0 0; }
.st-no-stubli { display: block; }
.st-no-stubli h2 { margin-top: 0; }
.st-no-stubli a { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ── Pages and not found ── */
.st-prose { font-size: 16px; line-height: 1.6; }
.st-prose h2 { font-size: 19px; margin: 1.6em 0 .4em; }
.st-prose h3 { font-size: 16px; margin: 1.4em 0 .3em; }
.st-prose img { border-radius: 10px; }
.st-prose ul, .st-prose ol { padding-left: 1.3em; }
.st-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--st-accent); color: var(--st-accent-ink); text-decoration: none; font-weight: 600; }
.st-notfound { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 24px; padding: 20px; }
.st-notfound .st-app-icon { color: var(--st-green); margin-bottom: 6px; }
.st-notfound p { margin: 0; }

/* ── Logo ── */
.st-wordmark {
	display: inline-flex; align-items: baseline; color: var(--st-green);
	font: 600 1em/1 var(--st-sans); letter-spacing: -.02em;
}
.st-wordmark-u { width: .56em; height: .75em; margin: 0 .01em; align-self: baseline; transform: translateY(.04em); }
.st-wink { transform-box: fill-box; transform-origin: center; animation: st-wink 3.2s ease-in-out .9s 1; }
@keyframes st-wink {
	0%, 4%, 100% { transform: scaleY(1); }
	2% { transform: scaleY(.12); }
}

/* ── Footer ── */
.st-footer {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
	padding: 32px 0 12px; font-size: 13px; color: var(--st-muted);
}
.st-footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; text-decoration: none; }
.st-footer .st-wordmark { font-size: 15px; }
.st-footer-brand .st-wordmark { font-size: 20px; }

/* ── Larger screens ── */
@media (min-width: 768px) {
	.st-app { padding-left: 32px; padding-right: 32px; }
	.st-top { padding: 0; }
	.st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; row-gap: 22px; }
	.st-panel { padding: 22px 20px 24px; }
	.st-cards { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: stretch; }
	.st-cards > .st-card:only-child { grid-column: 1 / -1; }
	.st-latest { align-self: stretch; }
	.st-carousel { margin: 0; }
	.st-carousel-track { border-radius: 10px; }
	.st-pill span { height: 36px; }
}
@media (min-width: 1024px) {
	.st-post-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 32px; align-items: start; }
	.st-post-side { position: sticky; top: 16px; }
	.st-dots { display: none; }
}
@media (min-width: 1280px) {
	.st-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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

/* ── Invite ── */
.st-invite-head { display: flex; align-items: center; gap: 14px; margin: 16px 0 4px; }
.st-invite-head .st-avatar { width: 56px; height: 56px; }
.st-invite-head .st-h1 { margin: 0; }
.screen-reader-text:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; margin: 0; padding: 10px 14px;
	clip: auto; overflow: visible; white-space: normal; background: var(--st-ink); color: var(--st-bg); border-radius: 10px; text-decoration: none;
}

/* ── Feedback form (stubli.app) ── */
.st-feedback { display: grid; gap: 8px; margin: 24px 0 8px; font-size: 15px; }
.st-feedback .st-h3 { margin: 0; }
.st-fb-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.st-fb-kind { position: relative; display: inline-flex; min-height: 44px; }
.st-fb-kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-fb-kind span { display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--st-surface); font-weight: 500; }
.st-fb-kind input:checked + span { box-shadow: inset 0 0 0 2px var(--st-ink); font-weight: 650; }
.st-fb-kind input:focus-visible + span { outline: 2px solid var(--st-ink); outline-offset: 2px; }
.st-fb-label { font-weight: 600; font-size: 14px; margin-top: 8px; }
.st-feedback textarea, .st-feedback input[type="text"] {
	width: 100%; border: 0; border-radius: 12px; background: var(--st-surface); color: var(--st-ink); padding: 12px 14px; font: 400 16px/1.5 var(--st-sans);
}
.st-feedback input[type="text"] { min-height: 48px; }
.st-feedback textarea:focus, .st-feedback input[type="text"]:focus { outline: 2px solid var(--st-ink); outline-offset: 0; }
.st-feedback .st-button { justify-self: start; margin-top: 8px; }
.st-fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-fb-done { display: block; margin-top: 24px; }

/* ── Photos inside journal entries ── */
.st-entry-text figure.og-journal-photo { margin: 18px 0; }
.st-entry-text figure.og-journal-photo img { width: 100%; height: auto; border-radius: 10px; background: var(--st-field); }
.st-entry-text figure.og-journal-photo figcaption { margin-top: 8px; font: 400 14px/1.5 var(--st-sans); color: var(--st-muted); }
.st-entry.is-long .st-entry-text figure.og-journal-photo img { max-height: 60vh; object-fit: cover; }
