/*
 * ToolCuts front-end styles.
 * Light, content-first list in the Product Hunt pattern: day groups, one row per tool,
 * a number box where Product Hunt has the upvote, the catch in amber.
 * System fonts only, no external requests.
 */

:root {
	--bg: #fff;
	--soft: #f6f6f7;
	--line: #e6e6ea;
	--line2: #d9d9df;
	--text: #1c1c21;
	--muted: #5d606b;
	--dim: #6b6e78; /* 5.1:1 on white, 4.7:1 on --soft (WCAG AA for small text) */
	--acc: #ec4e16;
	--acc-hover: #d8430e;
	--acc-fill: #cf4410; /* filled buttons: white text at 4.7:1 */
	--acc-fill-hover: #b93a0b;
	--acc-ink: #c43c0c;
	--acc-tint: #fff5f0;
	--acc-line: #ffd2bf;
	--catch: #a85a00;
	--catch-tint: #fff8ec;
	--catch-line: #f6dfb5;
	--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--hd: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
/* Keyboard focus and anchors stay clear of the sticky header (and the admin bar). */
html:has(> body.admin-bar) { scroll-padding-top: calc(var(--hd) + 44px); }
@media (max-width: 782px) { html:has(> body.admin-bar) { scroll-padding-top: calc(var(--hd) + 58px); } }
@media (max-width: 600px) { html:has(> body.admin-bar) { scroll-padding-top: calc(var(--hd) + 12px); } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 15px/1.5 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; }
svg { display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 10px 14px; border-radius: 10px;
	background: var(--text); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------------ header */

.hd {
	position: sticky; top: 0; z-index: 20;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hd { top: 0; } }

.hd-in { display: flex; align-items: center; gap: 28px; height: var(--hd); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; flex: none; }
.logo-mark, .logo-img { width: 30px; height: 30px; }
.logo-img { object-fit: contain; }

.nav { display: none; font-size: 14.5px; color: var(--muted); min-width: 0; }
.nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.nav a:hover, .nav .current-menu-item > a, .nav [aria-current] { color: var(--text); }
.nav .current-menu-item > a, .nav [aria-current] { font-weight: 600; }
@media (min-width: 860px) { .nav { display: block; } }
/* Russian labels are longer: tighter gaps until the sidebar width kicks in. */
@media (min-width: 860px) and (max-width: 1023px) { .hd-in { gap: 20px; } .nav ul { gap: 16px; } }
@media (max-width: 440px) {
	.hd-in { gap: 10px; }
	.logo { gap: 7px; font-size: 16px; }
	.logo-mark, .logo-img { width: 28px; height: 28px; }
	.hd-r { gap: 6px; }
	.lang a, .lang span { padding: 6px 5px; }
	.hd .btn-sm { padding: 0 12px; }
	.hd .btn-sm .ic { display: none; }
}
@media (max-width: 380px) { .lang-ru .hd .btn-sm { padding: 0 10px; } .lang-ru .hd-r { gap: 4px; } }
/* Narrowest phones: the name is hidden visually but stays the link's accessible name. */
@media (max-width: 350px) { .logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

.hd-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; font-size: 12.5px; font-weight: 600; }
.lang a, .lang span { padding: 6px 7px; border-radius: 6px; color: var(--dim); }
.lang a:hover { color: var(--text); }
.lang .on { color: var(--text); background: var(--soft); }
.lang .miss { text-decoration: underline dotted; text-underline-offset: 3px; }

/* ----------------------------------------------------------------- buttons */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 0; border-radius: 10px;
	font-weight: 600; white-space: nowrap; cursor: pointer;
	transition: background .15s, box-shadow .15s;
}
.btn .ic { width: 17px; height: 17px; flex: none; }
.btn-acc { background: var(--acc-fill); color: #fff; }
.btn-acc:hover { background: var(--acc-fill-hover); }
.btn-line { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--text); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 15.5px; }
.btn-w { width: 100%; }

/* ------------------------------------------------------------------ layout */

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 28px; padding-bottom: 56px; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 36px; } }
.col { min-width: 0; }

/* ------------------------------------------------------------------- intro */

.intro h1 { margin: 0 0 6px; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.18; letter-spacing: -.025em; font-weight: 700; }
.intro > p, .term-desc { margin: 0 0 20px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.term-desc p { margin: 0 0 10px; }
.intro .count { margin: -10px 0 0; font-size: 13.5px; color: var(--dim); }

.search-row { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .search-row { flex-direction: row; } }
/* Wide screens: the sidebar card is the Telegram button, the search gets the whole row. */
@media (min-width: 960px) { .search-row.has-join > .btn-acc { display: none; } }
.intro h1 + .search-row { margin-top: 16px; }
.search-field { position: relative; flex: 1; }
.search-field .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.search-field input {
	width: 100%; height: 48px; padding: 0 14px 0 42px;
	border: 1px solid var(--line); border-radius: 10px; background: var(--soft);
	font-size: 16px; outline: none;
	-webkit-appearance: none; appearance: none;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.search-field input::placeholder { color: var(--dim); }
.search-field input:focus { background: #fff; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(236, 78, 22, .14); }
.search-field input::-webkit-search-cancel-button { display: none; }

/* ---------------------------------------------------- mobile category chips */

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 22px -20px 0; padding: 0 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 13px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
	font-size: 13.5px; font-weight: 500; color: var(--muted);
}
.chip[aria-current] { background: var(--text); border-color: var(--text); color: #fff; }
@media (min-width: 960px) { .chips { display: none; } }

/* -------------------------------------------------------------------- list */

.day { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; margin: 30px 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.day span { font-size: 14px; font-weight: 500; color: var(--dim); letter-spacing: 0; white-space: nowrap; }
.grp:first-child .day, .list > .day:first-child { margin-top: 26px; }

.item {
	position: relative;
	display: grid; grid-template-columns: 54px minmax(0, 1fr) 56px; gap: 16px; align-items: center;
	margin: 0 -12px; padding: 12px; border-radius: 12px;
	transition: background .12s;
}
.item:hover { background: var(--soft); }
.item p, .item h3 { margin: 0; }

.thumb {
	position: relative; display: grid; place-items: center;
	width: 54px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden;
	background: var(--c, #ffe8de);
	background: linear-gradient(170deg, var(--c) 40%, color-mix(in srgb, var(--c), var(--ci) 22%));
	color: var(--ci); font-size: 24px; font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb b { margin-top: -14px; font-weight: 700; }
.dur {
	position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%);
	display: flex; align-items: center; gap: 3px; padding: 2px 4px; border-radius: 4px;
	background: rgba(20, 20, 24, .74); color: #fff;
	font-size: 9.5px; font-weight: 600; line-height: 1.1; white-space: nowrap;
}
.dur::before { content: ""; border-style: solid; border-width: 3px 0 3px 5px; border-color: transparent transparent transparent #fff; }

.body { min-width: 0; }
.name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 16px; font-weight: 600; line-height: 1.3; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.spons {
	display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px;
	background: var(--soft); color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.tagline { color: var(--muted); font-size: 15px; line-height: 1.4; margin-top: 1px !important; }
.meta { margin-top: 5px !important; font-size: 13px; color: var(--dim); }
/* Hashtags sit on top of the row link: a 25px-tall target without moving the layout. */
.meta a { position: relative; z-index: 1; display: inline-block; padding: 4px 0; margin: -4px 0; }
.meta a:hover { color: var(--acc-ink); }
.meta i { font-style: normal; margin: 0 6px; color: var(--line2); }
.catch { margin-top: 3px !important; font-size: 13px; color: var(--muted); }
.catch b { color: var(--catch); font-weight: 600; }

.nr {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 56px; height: 60px; border: 1px solid var(--line2); border-radius: 10px; background: #fff;
	transition: border-color .12s, background .12s;
}
.nr small { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); line-height: 1.2; }
.nr b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.item:hover .nr { border-color: var(--acc); }
.item:hover .nr b { color: var(--acc-ink); }
.item.hit { background: var(--acc-tint); box-shadow: inset 0 0 0 1px var(--acc-line); }
.item.hit .nr { background: var(--acc-fill); border-color: var(--acc-fill); }
.item.hit .nr b, .item.hit .nr small { color: #fff; }

@media (max-width: 520px) {
	.item { grid-template-columns: 46px minmax(0, 1fr) 48px; gap: 12px; }
	.thumb { width: 46px; font-size: 20px; border-radius: 9px; }
	.nr { width: 48px; height: 54px; }
	.tagline { font-size: 14.5px; }
}

.empty { margin: 24px 0; color: var(--muted); }
.empty a { color: var(--acc-ink); font-weight: 600; white-space: nowrap; }
.more {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 18px;
	border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; color: var(--muted);
}
.more:hover { border-color: var(--line2); color: var(--text); }
.results .day { margin-top: 26px; }
.results.loading { opacity: .55; transition: opacity .15s; }
.latest { margin-top: 8px; }
.col > .chips { margin-top: 8px; }

/* --------------------------------------------------------------- paginator */

.pager { margin-top: 26px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--muted);
}
.pager a.page-numbers:hover { border-color: var(--line2); color: var(--text); }
.pager .current { background: var(--text); border-color: var(--text); color: #fff; }
.pager .dots { border: 0; min-width: 0; }

/* ---------------------------------------------------------------- crumbs */

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line2); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--muted); }
/* A long last crumb stays on one line with an ellipsis (the H1 shows the full name). */
/* Its own size first: a short name wraps to the next line whole; only one longer than a line shrinks. */
.crumbs li:last-child { display: flex; min-width: 0; flex: 0 1 auto; }
.crumbs li:last-child::before { flex: none; }
.crumbs li:last-child [aria-current] { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --------------------------------------------------------------- sidebar */

.side { display: grid; gap: 16px; align-content: start; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.tg-card > p:first-of-type { margin-bottom: 14px; }
.tg-card .note { margin: 10px 0 0; font-size: 12.5px; color: var(--dim); }
.cats { list-style: none; margin: 0 -8px; padding: 0; }
.cats a { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 8px; font-size: 14.5px; }
.cats a:hover { background: var(--soft); }
.cats a span { color: var(--dim); font-variant-numeric: tabular-nums; }
.cats a[aria-current] { background: var(--acc-tint); color: var(--acc-ink); font-weight: 600; }
@media (max-width: 959px) { .cats-card { display: none; } }
/* Tablets: the cards side by side instead of three full-width slabs. */
@media (min-width: 640px) and (max-width: 959px) {
	.side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.side .tg-card { grid-column: 1 / -1; }
	.side .tg-card .btn-w { width: auto; }
}
.how { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 9px; }
.how li { counter-increment: h; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14px; color: var(--muted); }
.how li::before {
	content: counter(h); display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
	border-radius: 50%; background: var(--soft); font-size: 11.5px; font-weight: 700; color: var(--text);
}
.card .fine { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.price { margin: 14px 0 !important; }
.price b { font-size: 22px; color: var(--text); letter-spacing: -.02em; margin-left: 2px; }
.fast { margin: -4px 0 14px !important; font-size: 13.5px; }

/* -------------------------------------------------------------- tool page */

.tool-hd { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tool-nr { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.tool-nr > span:first-child {
	display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px;
	background: var(--acc-tint); color: var(--acc-ink); box-shadow: inset 0 0 0 1px var(--acc-line);
	font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.tool-hd h1 { margin: 0; font-size: clamp(28px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere; }
.tool-tagline { margin: 6px 0 0; font-size: 18px; line-height: 1.4; color: var(--muted); max-width: 52ch; }
.tool-hd .meta { margin-top: 10px !important; font-size: 13.5px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
/* Long tool names wrap inside the button instead of pushing the page sideways. */
.tool-actions .btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; text-align: center; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 520px) { .tool-actions .btn { flex: 1 1 100%; } }

/* Phones: the catch, then the player, then the facts (DOM order). Wider: the player on the left. */
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 22px; }
@media (min-width: 700px) {
	.tool-grid { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 0; padding-top: 26px; }
	.tool-grid > .player { grid-column: 1; grid-row: 1 / span 2; }
	.tool-grid > .catchbox { grid-column: 2; grid-row: 1; margin-bottom: 22px; }
	.tool-grid > .tool-main { grid-column: 2; grid-row: 2; }
}

.player { margin: 0; width: 100%; max-width: 260px; justify-self: center; }
@media (min-width: 700px) { .player { max-width: none; justify-self: stretch; } }
.player video, .player-link {
	position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden;
	background: #111;
}
.player video { object-fit: cover; }
.player-link {
	background: var(--c, #ffe8de);
	background: linear-gradient(170deg, var(--c) 40%, color-mix(in srgb, var(--c), var(--ci) 22%));
	color: var(--ci); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.player-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-link b { font-size: 72px; margin-top: -40px; }
.play {
	position: absolute; left: 12px; right: 12px; bottom: 12px;
	display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px;
	background: rgba(20, 20, 24, .78); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.25;
}
.play-ic { flex: none; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
a.player-link:hover .play { background: var(--acc-fill); }
/* No video and no frame: a small tile on phones, not a full-height block. */
@media (max-width: 699px) {
	.player-tile { max-width: 200px; }
	.player-tile .player-link { aspect-ratio: 16 / 10; }
	.player-tile .player-link b { font-size: 48px; margin-top: 0; }
	/* With the "Watch on Telegram" bar: letter and bar stacked, the bar never covers the letter. */
	.player-tile a.player-link { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 18px 10px 10px; }
	.player-tile a.player-link b { align-self: center; line-height: 1; }
	.player-tile a.player-link .play { position: static; }
}
.player figcaption { margin-top: 8px; font-size: 12.5px; color: var(--dim); text-align: center; }

.tool-main { min-width: 0; }
.catchbox { margin: 0; padding: 16px 18px; border-radius: 12px; background: var(--catch-tint); box-shadow: inset 0 0 0 1px var(--catch-line); }
.catchbox h2 { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--catch); }
.catchbox p { margin: 0; font-size: 16px; line-height: 1.5; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 24px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.facts div { padding: 12px 14px; background: #fff; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal; color: var(--acc-ink); }
.facts dd a:hover { text-decoration: underline; }

.prose { font-size: 16px; line-height: 1.65; }
.prose h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.prose h3 { margin: 24px 0 8px; font-size: 16px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--acc-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: 10px; }
.prose figure { margin: 0 0 16px; }
.prose blockquote { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 3px solid var(--line2); color: var(--muted); }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--soft); font-size: .92em; }
.disclose { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.neighbours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.neighbours a { display: grid; align-content: start; gap: 2px; overflow-wrap: anywhere; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.neighbours a:hover { border-color: var(--line2); background: var(--soft); }
.neighbours small { font-size: 12px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.neighbours .next { grid-column: 2; text-align: right; }
.more-tools { margin-top: 18px; }

/* ------------------------------------------------------------- blog/pages */

.post-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-row h2 { margin: 0; font-size: 18px; }
.post-row p { margin: 4px 0 0; color: var(--muted); }
.page .prose, .post .prose { max-width: 68ch; }

/* ------------------------------------------------------------------ footer */

.ft { border-top: 1px solid var(--line); padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--dim); }
.ft .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.ft nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.ft-menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ft a:hover { color: var(--text); }
@media (max-width: 639px) { .ft nav { margin-left: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.hd, .side, .ft, .chips, .search-row, .tool-actions { display: none !important; }
}
