:root {
	/* Brand palette */
	--primary: #000000;
	--secondary: #FFFFFF;
	--tertiary: #1f1f1e;
	--accent: #EED200;
	--accent-dark: #eed20096;
	--brPC: 10%;
	--brPX: 8px;

	/* Roles, derived from the palette */
	--bg: var(--tertiary);
	/* The page's gradient runs from --bg at the top of the window to this at the bottom. */
	--bg-deep: rgb(17 17 17);
	/* Cards and controls sit slightly above the page. */
	--surface: rgb(255 255 255 / 0.05);
	--text: var(--secondary);
	--muted: rgb(255 255 255 / 0.62);
	--border: rgb(255 255 255 / 0.14);
	--link: var(--accent);
	--error: #ff7a6b;
	--success: #7ee2a0;
	--kev-bg: var(--accent);
	--kev-text: var(--primary);
	--sev-critical: #ff6b6b;
	--sev-high: #ff9f43;
	--sev-medium: #f5d76e;
	--sev-low: #8bd17c;
	--sev-none: rgb(255 255 255 / 0.62);
	/* Pill fills: the same colours, darker, so white text on them reads. */
	--pill-critical: #c0392b;
	--pill-high: #b85c12;
	--pill-medium: #977a00;
	--pill-low: #3a8a34;
	--pill-kev: #9c8a00;
	--pill-neutral: rgb(255 255 255 / 0.14);
	--radius: var(--brPX);
	color-scheme: dark;
}

* { box-sizing: border-box; }

[x-cloak], .js .needs-js { display: none !important; }

/* Surfaces: glass, glare, iridescence and tints. The glass is luxnota.ca's: a pale
   diagonal wash over a blurred, saturated backdrop, lifted by a soft shadow.
   Glass is the frosted base for floating cards and every button; it uses ::before
   for its face, so anything wearing it must leave that free. Defined early so a
   component's own border-radius, padding and so on still win. The face lives on
   ::before, so tints and iridescence (background-image on the element) sit under
   it: a panel keeps its glass and gains a colour. */
:root {
	--glass-bg: linear-gradient(135deg, rgb(238 240 244 / 0.09), rgb(238 240 244 / 0.025));
	--glass-filter: blur(5px) saturate(160%);
	/* A thin, solid dark outline so the panel's edge reads against anything behind it, then the lift. */
	--glass-outline: rgb(0 0 0 / 0.55);
	--glass-shadow: 0 0 0 1px var(--glass-outline), 0 12px 48px rgb(0 0 0 / 0.2);
	/* The rim: a one-pixel ring, bright white across the top and fading out down the sides. */
	--glass-rim: linear-gradient(180deg, rgb(255 255 255 / 0.38) 0%, rgb(255 255 255 / 0.10) 35%, rgb(255 255 255 / 0.03) 100%);
	/* Where backdrop-filter is missing: an opaque panel instead of a see-through one. */
	--glass-fallback: rgb(44 44 42 / 0.92);
	/* The band that crosses a .glare panel on hover: one sweep, left to right. */
	--glare-band: linear-gradient(105deg, transparent 0%, var(--glare-edge) 42%, var(--glare-peak) 50%, var(--glare-edge) 58%, transparent 100%);
	--glare-duration: 0.85s;
	--glare-width: 42%;
	--glare-peak: rgb(255 255 255 / 0.22);
	--glare-edge: rgb(255 255 255 / 0.10);
	--iridescent: linear-gradient(
		135deg,
		rgb(255 200 255 / 0.03),
		rgb(180 220 255 / 0.03),
		rgb(200 255 240 / 0.03),
		rgb(255 220 180 / 0.03)
	);
	/* The accent as a wash, the way the portfolio's tint-yellow washes in yellow. */
	--tint-accent: linear-gradient(260deg, rgba(238, 210, 0, 0.568), rgba(238, 210, 0, 0.384));
	/* The same wash in green, for success, and red, for anything destructive or failed. */
	--tint-success: linear-gradient(260deg, rgba(46, 204, 113, 0.42), rgba(46, 204, 113, 0.26));
	--tint-danger: linear-gradient(260deg, rgba(235, 64, 52, 0.5), rgba(235, 64, 52, 0.32));
}

/* Frosted panel. Buttons wear it too. */
.glass,
button {
	position: relative;
	isolation: isolate;
	border-radius: inherit;
	background-color: transparent;
	backdrop-filter: var(--glass-filter);
	-webkit-backdrop-filter: var(--glass-filter);
	box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.glass,
	button { background-color: var(--glass-fallback); }
}

/* The face: the wash itself. */
.glass::before,
button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	pointer-events: none;
	overflow: hidden;
	background-image: var(--glass-bg);
}

/* The rim. */
.glass::after,
button::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	padding: 1px;
	pointer-events: none;
	background: var(--glass-rim);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
}

/* .glare: a highlight that crosses the panel once on hover. Must follow .glass::before. */
.glare::before,
button::before {
	background-image: var(--glare-band), var(--glass-bg);
	background-size: var(--glare-width) 100%, auto;
	background-repeat: no-repeat, no-repeat;
	background-position: -80% 0, 0 0;
}
.glare:hover::before,
.glare:focus-visible::before,
button:hover::before,
button:focus-visible::before {
	background-position: 200% 0, 0 0;
	transition: background-position var(--glare-duration) ease-out;
}
@media (prefers-reduced-motion: reduce) {
	.glare:hover::before,
	.glare:focus-visible::before,
	button:hover::before,
	button:focus-visible::before {
		transition: none;
	}
}

.iridescent { background-image: var(--iridescent); }
.tint-accent { background-image: var(--tint-accent); }
.tint-success { background-image: var(--tint-success); }
.tint-danger { background-image: var(--tint-danger); }

/* Glass buttons turn iridescent on hover; a tinted one keeps its tint underneath. */
.button.glass:hover,
button:hover { background-image: var(--iridescent); }
.button.glass.tint-accent:hover,
button.tint-accent:hover { background-image: var(--iridescent), var(--tint-accent); }
button.tint-success:hover { background-image: var(--iridescent), var(--tint-success); }
button.tint-danger:hover { background-image: var(--iridescent), var(--tint-danger); }

/* The bounce area past either end of the page shows the root's own colour, so give it one. */
html { -webkit-text-size-adjust: 100%; background-color: var(--bg-deep); }

/* The gradient is pinned to the window, not stretched over the page, so it stays the same as
   you scroll. A fixed layer rather than background-attachment: fixed, which iOS ignores. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(0deg, var(--bg-deep), var(--bg));
}

body {
	margin: 0;
	color: var(--text);
	font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: 1.75rem; line-height: 1.25; margin: 1.5rem 0 0.75rem; overflow-wrap: anywhere; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }

/* Everything under the nav bar: content at most 1000px wide, plus the gutters. */
.wrap { width: 100%; max-width: calc(1000px + 32px); margin: 0 auto; padding: 0 16px; }
/* Except the home page's hero, which runs the window's width, lined up with the nav bar's logo;
   the rest of the home page keeps to the 1000px column. */
main.wrap.home { max-width: none; }
main.home > section > :not(.hero) { max-width: 1000px; margin-left: auto; margin-right: auto; }
main.home .hero { padding-left: calc(12px + clamp(1.5rem, 3vw, 2.5rem) - 16px); padding-right: calc(12px + clamp(1.5rem, 3vw, 2.5rem) - 16px); }
@media (max-width: 760px) { main.home .hero { padding-left: 0; padding-right: 0; } }

main { flex: 1; padding-bottom: 3rem; }

/* Header and footer */

/* A floating glass bar the window's width, inset from its edges and stuck a little below the top
   as the page scrolls. */
.site-header { position: sticky; top: 12px; z-index: 10; width: calc(100% - 24px); margin: 12px auto 0; border-radius: 28px; }
.header-glass { position: absolute; inset: 0; z-index: -1; border-radius: inherit; }
.header-inner { max-width: none; width: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1rem 1rem 1rem clamp(1.5rem, 3vw, 2.5rem); border-radius: inherit; }
/* The bar's height plus its gap from the top of the window; the home hero takes the rest of the screen. */
:root { --nav-space: calc(12px + 2rem + 56px); }
@media (max-width: 760px) { :root { --nav-space: calc(8px + 1.2rem + 44px); } }
.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand-logo { display: block; height: 56px; width: auto; }
.site-nav, .nav-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; }
.site-nav a { color: var(--muted); padding: 0.35rem 0.75rem; border-radius: var(--radius); transition: background-color 0.2s ease, color 0.2s ease; }
.site-nav a:hover { color: var(--text); text-decoration: none; background-color: var(--surface); }
/* The current section: a soft accent wash behind the link. */
.site-nav a.active { color: var(--text); background-color: rgb(238 210 0 / 0.16); }
.nav-toggle, .nav-backdrop { display: none; }

/* Narrow screens: the links fold away behind a burger, and the glass bar grows downward to show
   them. The burger turns into a close button. Keep the width in step with DRAWER_QUERY in app.js. */
@media (max-width: 760px) {
	/* The header keeps the closed bar's height in the page; the bar itself lies over the page, so
	   when it grows it floats over the content instead of pushing it down. */
	.site-header { top: 8px; width: calc(100% - 16px); margin-top: 8px; height: calc(1.2rem + 2.75rem); }
	.header-inner { position: absolute; top: 0; left: 0; right: 0; padding: 0.6rem 0.6rem 0.6rem 1.25rem; row-gap: 0; }
	.brand-logo { height: 40px; }

	.nav-toggle {
		display: inline-grid;
		place-items: center;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		flex: none;
	}
	.bars { position: relative; width: 1.25rem; height: 0.9rem; }
	.bars span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: var(--text);
		transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, top 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	}
	.bars span:nth-child(1) { top: 0; }
	.bars span:nth-child(2) { top: calc(50% - 1px); }
	.bars span:nth-child(3) { top: calc(100% - 2px); }
	.nav-toggle.open .bars span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
	.nav-toggle.open .bars span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
	.nav-toggle.open .bars span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

	/* A full-width row under the logo and burger, its height animated from nothing to its content. */
	.site-nav {
		flex-basis: 100%;
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.4s cubic-bezier(0.65, 0, 0.35, 1);
	}
	.site-nav.open { grid-template-rows: 1fr; }
	.nav-group {
		min-height: 0;
		overflow: hidden;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0.25rem;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, visibility 0s linear 0.4s;
	}
	.site-nav.open .nav-group { opacity: 1; visibility: visible; transition: opacity 0.3s ease 0.1s, visibility 0s; }
	/* Room above and below the links, inside the part that folds away. */
	.nav-group a:first-child { margin-top: 0.6rem; }
	.nav-group a:last-child { margin-bottom: 0.4rem; }
	/* Out to the bar's right-hand inset on the left too, so each link's highlight sits evenly in the glass. */
	.site-nav { margin-left: -0.65rem; }
	/* Open, the glass frosts harder so the page behind doesn't read through the links. */
	.header-inner:has(.site-nav.open) .header-glass { --glass-filter: blur(20px) saturate(160%); }
	.site-nav a { font-size: 1.1rem; padding: 0.6rem 0.75rem; }

	/* Dims the page behind the open menu; a tap on it closes the menu. Behind the glass. */
	.nav-backdrop {
		display: block;
		position: fixed;
		z-index: -2;
		inset: 0;
		background: rgb(0 0 0 / 0.45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}
	.nav-backdrop.open { opacity: 1; pointer-events: auto; }
	.nav-open, .nav-open body { overflow: hidden; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
	.site-nav, .nav-group, .site-nav.open .nav-group, .nav-backdrop, .bars span { transition: none !important; }
}

.site-footer { color: var(--muted); font-size: 0.875rem; padding: 3rem 0; margin-top: 30px; }
/* Footer: details on the left, site map on the right; stacked on narrow screens. */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; }
.footer-info p { margin: 0 0 0.75rem; max-width: 36rem; }
.footer-sitemap { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; }
.footer-sitemap h2 { margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.footer-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-sitemap a { color: var(--muted); }
.footer-sitemap a:hover { color: var(--text); }
@media (max-width: 640px) {
	.footer-grid { grid-template-columns: 1fr; }
}

/* Text */

.lede { font-size: 1.05rem; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.capitalise { text-transform: capitalize; }
.crumbs { margin: 1.5rem 0 -0.75rem; font-size: 0.9rem; }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.description { white-space: pre-line; overflow-wrap: anywhere; }

/* Long-form pages: App, Privacy policy. */
.prose { max-width: 46rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.4rem 0; }
.prose .notice { margin-top: 0; }
.prose h3 { font-size: 1rem; margin: 1.25rem 0 0.25rem; }
.prose h3 + p { margin-top: 0; }
.notice { border-radius: var(--radius); padding: 1rem; margin-top: 1.5rem; }


.status { color: var(--muted); }
.error { color: var(--error); }

/* Home */

/* The header: copy and actions on the left, the latest exploited CVEs fanned out on the right,
   over a soft accent glow. Stacks into one column on phones. */
.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center;
	align-content: center;
	gap: 2.5rem;
	padding: 2rem 0;
	/* At least the screen's height, less the space the floating bar takes above it. */
	min-height: calc(100vh - var(--nav-space));
	min-height: calc(100svh - var(--nav-space));
}
.hero-backdrop {
	position: absolute;
	inset: -2rem 0 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(36rem 22rem at 78% 42%, rgb(238 210 0 / 0.16), transparent 70%),
		radial-gradient(28rem 18rem at 12% 8%, rgb(255 255 255 / 0.06), transparent 70%);
	/* The glow fades out before any edge, so the backdrop has no visible box. */
	mask-image: radial-gradient(ellipse 70% 75% at 55% 45%, #000 35%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse 70% 75% at 55% 45%, #000 35%, transparent 80%);
}
.hero-copy { display: grid; justify-items: start; gap: 1.25rem; min-width: 0; }
.hero-title {
	font-size: clamp(2.3rem, 5.6vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 800;
	margin: 0;
}
/* One word per line, at every width. */
.hero-title > span { display: block; }
.hero-accent {
	background: linear-gradient(100deg, var(--accent) 0%, #fff3a6 45%, var(--accent) 90%) 0 0 / 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero .lede { max-width: 36rem; margin: 0; font-size: 1.1rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions .button { padding: 0.75rem 1.25rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; width: 100%; max-width: 32rem; }
.stat { display: grid; gap: 0.1rem; padding: 0.8rem 1rem; border-radius: var(--radius); color: var(--muted); font-size: 0.85rem; }
.stat:hover { text-decoration: none; color: var(--text); }
.stat strong { color: var(--text); font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* The fanned cards: each sits a little offset and turned, the stack reading as a live feed. */
.hero-visual { position: relative; padding: 0.5rem 0; min-width: 0; }
.hero-cards { display: grid; max-width: 38rem; }
.hero-visual-label { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero-card {
	display: grid;
	gap: 0.4rem;
	padding: 1rem 1.15rem;
	border-radius: calc(var(--radius) * 1.5);
	color: var(--text);
	box-shadow: 0 18px 40px rgb(0 0 0 / 0.35);
	transition: translate 0.3s ease, rotate 0.3s ease, scale 0.3s ease;
}
.hero-card:hover { text-decoration: none; scale: 1.03; rotate: 0deg; z-index: 4; }
.hero-card-0 { rotate: -2deg; translate: 0 0; z-index: 3; }
.hero-card-1 { rotate: 1.5deg; translate: 2.25rem -0.6rem; z-index: 2; }
.hero-card-2 { rotate: -1deg; translate: 0.75rem -1.2rem; z-index: 1; }
.hero-card-top { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.hero-card-id { font: 600 0.95rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin-right: auto; }
.hero-card-title { color: var(--muted); font-size: 0.92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card-meta { color: var(--muted); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card.skeleton { height: 6.5rem; }

@media (prefers-reduced-motion: no-preference) {
	.hero-copy > *, .hero-visual { animation: hero-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero-copy > :nth-child(2) { animation-delay: 0.06s; }
	.hero-copy > :nth-child(3) { animation-delay: 0.12s; }
	.hero-copy > :nth-child(4) { animation-delay: 0.18s; }
	.hero-copy > :nth-child(5) { animation-delay: 0.24s; }
	.hero-visual { animation-delay: 0.2s; }
	.hero-accent { animation: hero-shimmer 6s ease-in-out infinite; }
	.hero-card-0 { animation: hero-float 7s ease-in-out infinite; }
	.hero-card-1 { animation: hero-float 7s ease-in-out -2.3s infinite; }
	.hero-card-2 { animation: hero-float 7s ease-in-out -4.6s infinite; }
	.hero-card.skeleton { animation: hero-pulse 1.4s ease-in-out infinite; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hero-shimmer { 50% { background-position: 100% 0; } }
@keyframes hero-float { 50% { transform: translateY(-6px); } }
@keyframes hero-pulse { 50% { opacity: 0.5; } }

@media (max-width: 860px) {
	.hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
	.hero-card-0, .hero-card-1, .hero-card-2 { rotate: 0deg; translate: 0 0; }
	/* Through the page's side gutters to the screen edges, so the glow isn't cut short. */
	.hero-backdrop { inset: -2rem -16px 0; }
	/* A row to swipe through, rather than a stack pushing the page down. It runs to the screen
	   edges, with room above and below, so cards (and their shadows, float and hover) aren't
	   cut off at the content's edge. */
	.hero-cards {
		grid-auto-flow: column;
		grid-auto-columns: min(82%, 22rem);
		gap: 0.75rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin: 0 -16px;
		padding: 0.75rem 16px 1.75rem;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
	}
	.hero-cards::-webkit-scrollbar { display: none; }
	.hero-card { scroll-snap-align: start; box-shadow: 0 10px 24px rgb(0 0 0 / 0.3); }
}
@media (max-width: 480px) {
	.hero .lede { font-size: 1rem; }
	.hero-actions { display: grid; width: 100%; }
	.hero-actions .button { justify-content: center; }
	.stat { padding: 0.65rem 0.75rem; }
	.stat strong { font-size: 1.15rem; }
}

.button {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 1.1rem;
	border-radius: var(--radius);
	color: var(--text);
	font-weight: 600;
}
.button:hover { text-decoration: none; }

/* iOS App card, between the header and the latest vulnerabilities. */
.app-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 2rem 0 0.5rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius);
	color: var(--text);
	transition: ease 0.2s;
}
.app-card:hover { text-decoration: none; scale: 1.02;}
.app-card-icon { width: 5rem; height: 5rem; flex: none; border-radius: 22.37%; } /* iOS's icon corner */
.app-card-body { display: grid; gap: 0.15rem; flex: 1; min-width: 0; }
.app-card-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.app-card-body strong { font-size: 1.1rem; }
.app-card-text { color: var(--muted); }

/* Latest-update banner: the newest data change, refreshed every minute. */
.update-banner {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.6rem;
	margin: 0;
	padding: 0.4rem 0.9rem;
	border-radius: 1.25rem;
	font-size: 0.82rem;
	max-width: 100%;
}
.update-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dark); flex: none; }
.update-label { font-weight: 700; color: var(--text); }
.update-text { min-width: 0; color: var(--muted); }
.update-ago { color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
	.update-dot { animation: update-pulse 2s ease-in-out infinite; }
}
@keyframes update-pulse { 50% { box-shadow: 0 0 0 6px transparent; } }


.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; }

/* Form controls */

input, select, button { font: inherit; color: var(--text); }
input[type="search"], select {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.45rem 0.6rem;
	min-width: 0;
	width: 100%;
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

button {
	border: 0;
	border-radius: var(--radius);
	padding: 0.45rem 0.9rem;
	cursor: pointer;
}
button.more { display: block; margin: 1rem auto 0; }
button:disabled { opacity: 0.55; cursor: default; }
button.link { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; color: var(--link); }
button.link::before, button.link::after { content: none; }
button.link:hover { background-image: none; text-decoration: underline; }

/* Lists */

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; padding: 0.65rem 0.9rem; border-radius: var(--radius); background-color: var(--surface); }
.row > a:first-child { font-weight: 600; }

.row-date { text-align: right; color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Product rows: the name never truncates; the vendor does if it must. */
.product-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 9rem 14rem;
	align-items: center;
	gap: 0.25rem 1rem;
}
.product-row.no-vendor { grid-template-columns: minmax(0, 1fr) 9rem; }
.product-name { overflow-wrap: anywhere; }
.product-vendor { color: var(--muted); font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pills: solid, rounded, white text, in the colour each already used. */
.badge {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.45;
	padding: 0.1rem 0.6rem;
	border-radius: 999px;
	color: #fff;
	background-color: rgb(255 255 255 / 0.14);
	white-space: nowrap;
	text-align: center;
}
.badge.kev { background-color: var(--pill-kev); }
.badge.kind { background-color: var(--pill-neutral); }
.badge.epss { background-color: var(--pill-neutral); }

/* Fixed-width pills in tables, so every row lines up whatever the value. */
.badge.score { width: 3.25rem; }
.badge.kev:not(.pill-wide) { min-width: 3rem; }
.badge.kind { min-width: 7rem; }

.badge.sev-critical { background-color: var(--pill-critical); }
.badge.sev-high { background-color: var(--pill-high); }
.badge.sev-medium { background-color: var(--pill-medium); }
.badge.sev-low { background-color: var(--pill-low); }
.badge.sev-none, .badge.sev-unknown { background-color: var(--pill-neutral); }

/* CVE detail */

.cve-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.cve-head h1 { margin-right: 0.25rem; }
.head-links { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); padding: 0.3rem 0.65rem; border-radius: 999px; background-color: var(--surface); }
.chip:hover { color: var(--text); text-decoration: none; }
.chip .icon { width: 0.9em; height: 0.9em; }
/* News: top stories (a lead with the next three beside it), then the latest in a grid. Every
   picture slot shows the source's logo beneath, so a missing or broken picture still fills it. */
.news-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 1rem; }
.news-filters select { width: auto; max-width: 100%; }
.news-filter { margin: 0; }
.news-section { margin: 0 0 2rem; }
.news-section > h2 { margin: 0 0 0.9rem; }
.home-news { margin-top: 2.5rem; }

.news-pic { position: relative; display: block; overflow: hidden; border-radius: calc(var(--radius) - 2px); background-color: var(--surface); aspect-ratio: 16 / 9; }
.news-pic-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.news-pic-placeholder .logo { width: 2.5rem; height: 2.5rem; border-radius: 6px; opacity: 0.85; }
.news-pic-placeholder .logo-initial { font-size: 1.2rem; }
.news-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Source · time, always on one line: a long source name is cut short, the time never is. */
.news-meta { margin: 0; display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; min-width: 0; }
.news-meta .with-logo { min-width: 0; }
.news-meta .with-logo span { overflow: hidden; text-overflow: ellipsis; }
.news-meta time { flex: none; }
.news-meta a { color: inherit; }
.news-meta a:hover { color: var(--text); }
.news-meta .with-logo { gap: 0.35rem; vertical-align: bottom; }
.news-meta .logo { width: 1rem; height: 1rem; border-radius: 3px; }
.news-title { font-weight: 600; color: var(--text); overflow-wrap: anywhere; line-height: 1.3; }
.news-title:hover { color: var(--link); text-decoration: none; }
.news-summary { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.news-badges, .news-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; }
.news-badges .badge { font-size: 0.75rem; padding: 0.15rem 0.6rem; }
.news-chips .chip { font-size: 0.78rem; padding: 0.2rem 0.6rem; }
.news-chips .chip .logo { width: 0.95rem; height: 0.95rem; }
.news-chips .more-chip { background: none; }

/* Titles and summaries stop at a set number of lines. */
.news-title, .news-summary { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
/* Badges then chips, flowing as one row at the foot of a card. */
.news-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; padding-top: 0.15rem; }
.news-foot > p { display: contents; }

/* Top stories: the lead on the left, the next three as compact stories beside it. No surfaces:
   pictures, type and space carry it, like a newspaper. */
.headlines { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: repeat(3, auto); gap: 1.25rem 1.75rem; align-items: start; }
.headline-lead { grid-row: 1 / span 3; display: grid; gap: 0.85rem; min-width: 0; }
.headline-lead .news-title { font-size: 1.55rem; line-height: 1.25; -webkit-line-clamp: 3; line-clamp: 3; }
.headline-lead .news-summary { font-size: 1rem; -webkit-line-clamp: 3; line-clamp: 3; }
.headline-body { display: grid; gap: 0.45rem; align-content: start; min-width: 0; }
.headline-side { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.85rem; align-items: start; min-width: 0; }
.headline-side .news-pic { aspect-ratio: 4 / 3; }
.headline-side .news-title { font-size: 1rem; -webkit-line-clamp: 3; line-clamp: 3; }

/* Latest: three columns, a feature across the whole row every seventh story (cardVariant), so
   the rows always fill. Cards in a row share a height; their foot sits at the bottom. */
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.news-card { display: flex; flex-direction: column; gap: 0.75rem; min-width: 0; }
.news-card-body { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; min-width: 0; }
.news-card .news-title { font-size: 1.05rem; -webkit-line-clamp: 3; line-clamp: 3; }
.news-card .news-summary { font-size: 0.9rem; -webkit-line-clamp: 2; line-clamp: 2; }
/* Feature: the whole row, the picture beside the words. */
.news-card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.75rem; align-items: center; }
.news-card-feature .news-title { font-size: 1.5rem; line-height: 1.25; }
.news-card-feature .news-summary { font-size: 1rem; -webkit-line-clamp: 4; line-clamp: 4; }
.news-card-feature .news-foot { margin-top: 0.35rem; }
/* Text: no picture, so the words carry it: the source's logo larger and a longer summary. */
.news-card-text .news-pic { display: none; }
.news-card-text .news-meta .logo { width: 1.4rem; height: 1.4rem; }
.news-card-text .news-title { font-size: 1.2rem; }
.news-card-text .news-summary { -webkit-line-clamp: 5; line-clamp: 5; }
.news-card-feature.news-card-text { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 960px) {
	.headlines { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	.headline-lead { grid-row: auto; margin-bottom: 0.5rem; }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.headline-lead .news-title { font-size: 1.3rem; }
	.headline-side { grid-template-columns: 6rem minmax(0, 1fr); }
	.news-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	/* A feature stacks: picture, then words. */
	.news-card-feature { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
	.news-card-feature .news-title { font-size: 1.3rem; }
	/* The rest are compact rows, like the stories beside the lead: a small picture, then source,
	   title and badges. */
	.news-card:not(.news-card-feature):not(.news-card-text) { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 0.85rem; align-items: start; }
	.news-card:not(.news-card-feature):not(.news-card-text) .news-pic { aspect-ratio: 4 / 3; }
	.news-card:not(.news-card-feature):not(.news-card-text) .news-title { font-size: 1rem; }
	.news-card:not(.news-card-feature):not(.news-card-text) .news-summary,
	.news-card:not(.news-card-feature):not(.news-card-text) .news-chips { display: none; }
}
.pill-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1rem 0 0.4rem; }
.pill-line .badge { font-size: 0.85rem; padding: 0.2rem 0.75rem; }
.pill-line .badge:first-child { text-transform: capitalize; }
.dates { margin: 0 0 1.25rem; }
.vector-details { margin: 0.75rem 0 0; color: var(--muted); }
.vector-details summary { cursor: pointer; }
.vector { display: block; font-size: 0.78rem; color: var(--muted); overflow-wrap: anywhere; margin-top: 0.35rem; }

/* Release lines (product pages) and affected versions (CVE pages). */

.release-row { display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(0, 1fr) auto 6.5rem; align-items: center; }
.release-name { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.release-latest { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.release-support { white-space: nowrap; }
.badge.kind.lts { min-width: 0; }
.badge.supported { background-color: var(--pill-low); }
.badge.eol { background-color: var(--pill-neutral); }
.releases .more-toggle { margin-top: 0.5rem; }

.versions-row { display: grid; gap: 0.45rem; }
.version-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.version-list li { font-size: 0.85rem; padding: 0.15rem 0.65rem; border-radius: 999px; background-color: var(--surface); font-variant-numeric: tabular-nums; }
.fixed-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }

@media (max-width: 560px) {
	h1 { font-size: 1.45rem; }
	.release-row { grid-template-columns: minmax(0, 1fr) auto; }
	.release-support { grid-column: 1 / -1; }
	.product-row { grid-template-columns: minmax(0, 1fr) 9rem; }
	.product-vendor { grid-column: 1 / -1; }
}

/* Data tables: DataTables, restyled to the theme. Content columns take their content's width
   and the title (or name) takes the rest; below 640px every row becomes a card. */

.dt-container { margin-top: 1rem; color: var(--text); }
.dt-container .dt-layout-row { gap: 0.75rem; }
.dt-container .dt-layout-cell:has(> .dt-search) { flex: 1; }
.dt-container .dt-search { display: flex; align-items: center; gap: 0.5rem; position: relative; width: 100%; }
.dt-container .dt-search label { position: absolute; left: 0.75rem; top: 50%; translate: 0 -50%; display: flex; color: var(--muted); pointer-events: none; }
.dt-container .dt-length { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.dt-container .dt-layout-cell:has(> .dt-info) { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.dt-container .dt-info { color: var(--muted); font-size: 0.9rem; }
/* No outlines: a soft fill instead. */
/* "div." to outrank DataTables' own rules for these. */
div.dt-container .dt-search input,
div.dt-container .dt-length select { border: 0; background-color: var(--surface); border-radius: var(--radius); margin: 0; }
div.dt-container .dt-search input { width: 100%; max-width: none; padding: 0.6rem 0.75rem 0.6rem 2.4rem; }
div.dt-container .dt-length select { width: auto; padding: 0.35rem 0.5rem; }

table.dataTable.data-table { width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0 0.3rem; margin: 0.25rem 0; }
table.dataTable.data-table,
table.dataTable.data-table > thead > tr > th,
table.dataTable.data-table > tbody > tr > td,
div.dt-container.dt-empty-footer table.data-table > tbody > tr:last-child > * { border: 0; }
table.dataTable.data-table > thead > tr > th { color: var(--muted); font-size: 0.85rem; font-weight: 600; text-align: left; padding: 0.6rem 0.5rem; white-space: nowrap; }
table.dataTable.data-table > tbody > tr > td { padding: 0.6rem 0.5rem; vertical-align: middle; background: none; box-shadow: none; }
/* No ruled lines: each row is shaded, a little apart from the next, and clipped to a rounded
   shape, so the corners are right however many columns there are. */
table.dataTable.data-table > tbody > tr,
table.dataTable.data-table > tbody > tr:nth-child(odd) { background-color: var(--surface); clip-path: inset(0 round var(--radius)); }
table.dataTable.data-table.hover > tbody > tr:hover { background-color: rgb(255 255 255 / 0.08); }
table.dataTable.data-table th.dt-type-numeric,
table.dataTable.data-table td.dt-type-numeric { text-align: left; }

/* A sort arrow only on the column being sorted, and on any header under the pointer. */
table.dataTable.data-table thead th:not(.dt-ordering-asc):not(.dt-ordering-desc) .dt-column-order { opacity: 0; transition: opacity 0.15s; }
table.dataTable.data-table thead th:hover .dt-column-order { opacity: 0.7; }

/* Content-width columns; the title, name and vendor share what's left, cut short with an ellipsis. */
table.data-table .col-cve,
table.data-table .col-score,
table.data-table .col-kev,
table.data-table .col-date,
table.data-table .col-kind { width: 1%; white-space: nowrap; }
table.data-table td.col-title,
table.data-table td.col-vendor { max-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.data-table .cve-id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.95rem; font-weight: 600; }
table.data-table .product-name { font-weight: 600; }
table.data-table .row-date { text-align: left; }

/* Phones: each row a card. CVEs: ID and pills, then the title, then the date. Products: name
   and kind, then the vendor. The header becomes a row of sort chips. */
@media (max-width: 640px) {
	.dt-container .dt-length { display: none; }
	table.dataTable.data-table,
	table.dataTable.data-table > thead,
	table.dataTable.data-table > tbody { display: block; width: 100%; }
	table.dataTable.data-table > thead > tr { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
	table.dataTable.data-table > thead > tr > th { padding: 0.3rem 0.7rem; border-radius: 999px; background-color: var(--surface); font-size: 0.8rem; width: auto !important; }
	table.dataTable.data-table > thead > tr > th.dt-orderable-none { display: none; }
	table.dataTable.data-table > thead > tr > th.dt-ordering-asc,
	table.dataTable.data-table > thead > tr > th.dt-ordering-desc { color: var(--text); background-color: rgb(238 210 0 / 0.16); }
	table.dataTable.data-table > tbody { display: grid; gap: 0.4rem; }
	table.dataTable.data-table > tbody > tr,
	table.dataTable.data-table > tbody > tr:nth-child(odd) {
		display: grid;
		align-items: center;
		gap: 0.3rem 0.6rem;
		padding: 0.7rem 0.85rem;
		border-radius: var(--radius);
		clip-path: none;
		background-color: var(--surface);
	}
	table.dataTable.data-table > tbody > tr > td { display: block; padding: 0; width: auto; max-width: none; }
	table.dataTable.data-table > tbody > tr > td.dt-empty { text-align: left; color: var(--muted); }

	table.dataTable.data-table > tbody > tr:has(> td.col-cve) {
		grid-template-columns: minmax(0, 1fr) auto auto;
		grid-template-areas: "cve score kev" "title title title" "date date date";
	}
	td.col-cve { grid-area: cve; }
	td.col-score { grid-area: score; }
	td.col-kev { grid-area: kev; }
	td.col-kev:empty { display: none; }
	table.dataTable.data-table > tbody > tr > td.col-title { grid-area: title; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
	td.col-date { grid-area: date; color: var(--muted); font-size: 0.8rem; }

	table.dataTable.data-table > tbody > tr:has(> td.col-name) {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "name kind" "vendor vendor";
	}
	td.col-name { grid-area: name; min-width: 0; }
	td.col-kind { grid-area: kind; }
	table.dataTable.data-table > tbody > tr > td.col-vendor { grid-area: vendor; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Paging */
/* Paging buttons are <button>s, so they wear the glass; DataTables' own fills are cleared. */
/* DataTables colours its paging text through these, in rules more specific than ours. */
.dt-container {
	--dt-paging-button_color: var(--text);
	--dt-paging-button_color-hover: var(--text);
	--dt-paging-button_color-current: var(--text);
	--dt-paging-button_color-current-hover: var(--text);
	--dt-paging-button_color-disabled: var(--muted);
}
/* Paging buttons are <button>s; they don't wear the glass here: flat fills only. */
div.dt-container .dt-paging .dt-paging-button {
	color: var(--text) !important;
	background: rgb(255 255 255 / 0.05) !important;
	border: 0 !important;
	border-radius: var(--radius);
	box-shadow: none !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	padding: 0.3rem 0.7rem;
	margin: 0 0.15rem;
	min-width: 2.25rem;
}
div.dt-container .dt-paging .dt-paging-button::before,
div.dt-container .dt-paging .dt-paging-button::after { content: none; }
div.dt-container .dt-paging .dt-paging-button:hover { background: rgb(255 255 255 / 0.12) !important; }
div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover { background: rgb(238 210 0 / 0.28) !important; font-weight: 700; }
div.dt-container .dt-paging .dt-paging-button.disabled,
div.dt-container .dt-paging .dt-paging-button.disabled:hover { color: var(--muted) !important; background: rgb(255 255 255 / 0.03) !important; opacity: 0.5; }
@media (max-width: 640px) {
	div.dt-container .dt-paging nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
	div.dt-container .dt-paging .dt-paging-button { margin: 0; min-width: 2.1rem; padding: 0.25rem 0.55rem; font-size: 0.85rem; }
}

/* Loading indicator */
div.dt-container div.dt-processing { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 4px 20px rgb(0 0 0 / 0.4); }
div.dt-container div.dt-processing > div:last-child > div { background: var(--accent); }


/* Logos: from the API's logo route. Simple Icons are square marks; Commons logos are often
   full wordmarks, so width is capped rather than fixed. */
.with-logo { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; max-width: 100%; }
.with-logo > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* List icons are square, in a fixed slot whether or not there is one, so names line up. */
.logo { display: inline-block; width: 1.1rem; height: 1.1rem; object-fit: contain; flex: none; }
/* The logo on its own row, the name beneath it: a wordmark logo beside the same name
   in text read twice. */
.entity-head { display: flex; align-items: center; gap: 0.5rem 0.75rem; flex-wrap: wrap; margin: 20px 0; }
.entity-head h1 { margin: 0; }
.entity-logo-row { flex-basis: 100%; margin-bottom: 0.25rem; }
img.entity-logo { display: block; width: auto; height: 3.75rem; max-width: min(18rem, 100%); }

/* Logos sit on nothing, shown as they are. */
/* A product or vendor without a logo gets its initial, in the same slot. */
.logo-initial {
	display: inline-grid;
	place-items: center;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	color: var(--muted);
	border-radius: 4px;
	background-color: var(--surface);
}

/* Profile ("About") on vendor and product pages. */
.profile { max-width: 46rem; }
.profile-summary { margin: 0; }
/* Three lines until "More". */
.profile-summary.clamped { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-toggle { font-size: 0.9rem; margin: 0.25rem 0 0; }
.facts-line { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1rem 0 0.5rem; padding: 0; color: var(--muted); }
.facts-line li { display: inline-flex; align-items: center; gap: 0.4rem; min-width: 0; overflow-wrap: anywhere; }
.profile-source { display: flex; align-items: flex-start; gap: 0.4rem; margin: 0.5rem 0 0; }
.profile-source .icon { margin-top: 0.15em; }

/* Icons (Lucide, from the sprite). They take the text colour. */
.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	vertical-align: -0.2em;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.9s linear infinite; }
.status.loading { display: flex; justify-content: center; padding: 1.5rem 0; font-size: 1.4rem; }

/* Icon-only buttons: glass, square, a finger-sized target. */
.icon-button { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; vertical-align: middle; }
.icon-button.ghost { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--muted); }
.icon-button.ghost::before, .icon-button.ghost::after { content: none; }
.icon-button.ghost:hover { color: var(--text); background-color: var(--surface); background-image: none; }
button.more.icon-button { display: grid; margin: 1rem auto 0; }

/* Back links. */
.crumbs a { display: inline-flex; align-items: center; gap: 0.2rem; }
