/*
 * Chess-portal.net вЂ” Burgundy Ivory
 * Cleaned canonical style.css v3.0
 * Source of truth: chess-portal-design-master.md
 *
 * Canonical AI rules:
 * 1. Do not add append-only overrides; replace the owning block.
 * 2. Do not duplicate DLE output styling from dle.css here.
 * 3. style.css owns brand tokens, shell, navigation, page shells, editorial cards, auth/profile/search shells.
 * 4. dle.css owns DLE content output, BBCode/editor, engine forms/widgets, PM, push, tables/quotes/spoilers/code/media integration.
 * 5. Header, logo, nav, pager, feed-card, story-page, auth, search, profile each have one selector family only.
 * 6. No !important unless a future DLE integration makes it unavoidable.
 * 7. New CSS must be mobile-first and inserted into the existing canonical section order only.
 * 8. Before adding a selector, remove the obsolete/conflicting selector for the same responsibility.
 */

:root {
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --bg: #f5f1e8;
  --surface: #fbf8f2;
  --surface-2: #fffdf9;
  --surface-soft: #efe3e6;
  --line: #ddd3c4;
  --line-soft: #cdbfb0;
  --line-ad: #c8b6b8;

  --text: #1f1a17;
  --muted: #6f655d;
  --muted-2: #91867d;
  --inverse: #ffffff;

  --accent: #6e2132;
  --accent-hover: #5d1b2a;
  --accent-soft: #efe3e6;
  --success: #2f6b4f;
  --warning: #8a5a1f;
  --danger: #8b2f3c;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31, 26, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(31, 26, 23, 0.08);

  --container: 1200px;
  --content: 720px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  --fs-meta: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lead: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --fs-h1: clamp(2.2rem, 1.7rem + 3vw, 3.8rem);

  --lh-tight: 1.15;
  --lh-body: 1.72;
  --lh-loose: 1.8;
  --lh-meta: 1.4;

  --brand-tile-size: 40px;
  --brand-tile-size-mobile: 36px;
  --brand-gap: 12px;

  --header-min-height: 68px;
  --header-min-height-desktop: 76px;
  --header-offset: 100px;

  --motion-fast: 160ms ease;
  --motion-normal: 200ms ease;
}

/* 02 base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition:
    color var(--motion-normal),
    background-color var(--motion-normal),
    border-color var(--motion-normal),
    box-shadow var(--motion-normal),
    opacity var(--motion-normal),
    transform var(--motion-fast);
}

a:hover {
  color: var(--accent-hover);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--text);
}

h1,
h2 {
  font-family: var(--font-heading);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  line-height: 1.2;
  font-weight: 700;
}

p {
  margin: 0 0 var(--space-4);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
}

:focus-visible {
  outline: 2px solid rgba(110, 33, 50, 0.38);
  outline-offset: 3px;
}

::selection {
  background: rgba(110, 33, 50, 0.18);
  color: var(--text);
}

[hidden],
.hidden {
  display: none;
}

/* 03 utilities */
.page-shell {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-wrap {
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: -9999px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--inverse);
}

.skip-link:focus {
  left: var(--space-2);
}

.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;
}

.meta,
.date,
.small-text,
.quoteauthor,
.signature,
.muted {
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
}

.kicker {
  margin: 0 0 var(--space-3);
  color: var(--accent);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-chip,
.inline-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

/* 04 shell */
.site-main {
  padding: var(--space-4) 0 var(--space-12);
}

.layout-grid,
.layout-grid--home-single {
  display: block;
}

.layout-main,
.layout-main--single {
  min-width: 0;
}

.layout-grid--home-single .layout-main {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.layout-main--single {
  width: 100%;
  max-width: 50rem;
  margin-inline: auto;
}

.layout-main > .story,
.layout-main > .content,
.layout-main > .page-block,
.layout-main > .static-block,
.layout-main > article {
  min-width: 0;
}

.speedbar-wrap {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.speedbar-wrap a {
  color: var(--muted);
}

.speedbar-wrap a:hover {
  color: var(--accent);
}

/* 05 header / nav / brand */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

/* REASON: keep the expanded Menu anchored to the sticky header without layout shift. */
.site-header > .page-shell {
  position: relative;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(31, 26, 23, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-min-height);
}

.site-brand {
  min-width: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--brand-gap);
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--text);
}

.site-logo__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--brand-tile-size);
  height: var(--brand-tile-size);
  flex: 0 0 var(--brand-tile-size);
  border-radius: 50%;
  color: var(--accent);
  overflow: hidden;
}

.site-logo__mark svg,
.site-logo__mark img,
.brand-mark {
  display: block;
  width: 100%;
  height: 100%;
}

.burgundy-mark {
  background: var(--accent);
  color: var(--inverse);
}

.burgundy-mark::before {
  content: "C";
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: currentColor;
  transform: translateY(-0.02em);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-logo__title {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-logo__sub {
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.2;
  font-weight: 500;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.75rem;
	padding: 0 0.95rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--text);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
	background: var(--accent-soft);
	border-color: rgba(110, 33, 50, 0.24);
	color: var(--accent);
}

.nav-toggle__label {
	white-space: nowrap;
}

.nav-toggle__icon {
	display: inline-grid;
	gap: 4px;
}

.nav-toggle__icon > span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: var(--radius-pill);
}

.site-nav {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
  padding: var(--space-2) 0 var(--space-4);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(31, 26, 23, 0.08);
}

.mobile-nav__list {
  display: grid;
  gap: 6px;
  list-style: none;
}

.mobile-nav__list a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.mobile-nav__list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* 06 footer */
.site-footer {
  margin-top: var(--space-2);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--line);
  background: #f3eee5;
}

.site-footer__inner {
  display: grid;
  gap: var(--space-5);
}

.site-footer__inner--single {
  max-width: 50rem;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.site-footer__title {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.1;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  list-style: none;
}

.site-footer__nav a {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

/* 07 home */
.home-page {
	display: grid;
	gap: var(--space-5);
}

.home-grid {
	display: grid;
	gap: 1rem;
}

.home-grid > * {
	min-width: 0;
}

.home-grid > .pager {
  grid-column: 1 / -1;
  width: 100%;
}

.home-tile {
	display: grid;
	gap: 0.8rem;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
}

.home-tile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
}

.home-tile__dot {
	color: var(--muted-2);
}

.home-tile__category,
.home-tile__category a {
	color: var(--muted);
}

.home-tile__category a:hover {
	color: var(--accent);
}

.home-tile__title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem);
	line-height: 1.06;
	letter-spacing: -0.015em;
}

.home-tile__title a {
	color: var(--text);
}

.home-tile__title a:hover {
	color: var(--accent);
}

.home-tile__footer {
	margin-top: auto;
}

.home-tile__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--accent);
	font-size: var(--fs-sm);
	font-weight: 700;
	line-height: 1;
}

.home-tile__more::after {
  content: "\2192";
  transform: translateY(-1px);
}

.home-tile__more:hover {
	color: var(--accent-hover);
}

/* 07 feed card */
.feed-card {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(221, 211, 196, 0.78);
}

.feed-card + .feed-card {
  margin-top: 1.75rem;
}

.feed-card__flag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feed-card__header {
  display: grid;
  gap: 0.5rem;
}

.feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.feed-card__dot {
  color: var(--muted-2);
}

.feed-card__category,
.feed-card__category a {
  color: var(--muted);
}

.feed-card__category a:hover {
  color: var(--accent);
}

.feed-card__title {
	font-family: var(--font-heading);
	font-size: clamp(1.9rem, 1.55rem + 1vw, 2.55rem);
	line-height: 1.02;
	letter-spacing: -0.015em;
}

.feed-card__title a {
  color: var(--text);
}

.feed-card__title a:hover {
  color: var(--accent);
}

.feed-card__excerpt {
  max-width: 62ch;
  margin-top: 0.75rem;
  font-size: var(--fs-base);
  line-height: 1.72;
}

.feed-card__excerpt > :first-child {
  margin-top: 0;
}

.feed-card__excerpt > :last-child {
  margin-bottom: 0;
}

.feed-card__footer {
  margin-top: 0.85rem;
}

.feed-card__footer a,
.feed-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
}

.feed-card__footer a::after,
.feed-card__more::after {
  content: "\2192";
  transform: translateY(-1px);
}

.feed-card__footer a:hover,
.feed-card__more:hover {
  color: var(--accent-hover);
}

/* 08 article */
.story-page {
  width: 100%;
}

.story-page__inner {
  width: 100%;
}

.story-page__header,
.story-page__lead,
.story-page__body,
.story-page__pagination,
.story-page__footer,
.comment-form-block,
.comments {
  max-width: var(--content);
  margin-inline: auto;
}

.story-page__header {
  display: grid;
  gap: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.story-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
}

.story-page__dot {
  color: var(--muted-2);
}

/* CONTEXT: Full Article freshness is based on persisted editdate, independent of DLE view_edit.
REASON: app.js fills the visible actualization date from the DLE Last-Modified response timestamp; publication date remains available on hover/focus. */
.story-page__date-marker {
  display: none;
}

.story-page__date-marker ~ .story-page__date-published--default {
  display: none;
}

.story-page__date-wrap[hidden],
.story-page__date-published[hidden] {
  display: none;
}

.story-page__date-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: help;
}

.story-page__date-tooltip {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 5;
  width: max-content;
  min-width: 0;
  max-width: min(14rem, calc(100vw - 2rem));
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: var(--shadow-md);
  color: var(--text);
  font-size: var(--fs-meta);
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--motion-fast), transform var(--motion-fast), visibility var(--motion-fast);
  pointer-events: none;
}


.story-page__date-wrap:hover .story-page__date-tooltip,
.story-page__date-wrap:focus .story-page__date-tooltip,
.story-page__date-wrap:focus-visible .story-page__date-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.story-page__category,
.story-page__category a,
.story-page__meta a {
  color: inherit;
}

.story-page__category a:hover,
.story-page__meta a:hover {
  color: var(--accent);
}

.story-page__title {
	margin: 0;
	color: var(--text);
	font-size: var(--fs-h1);
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.story-page__admin,
.story-page__admin a,
.static-page-layout__admin,
.static-page-layout__admin a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  margin-top: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.story-page__admin:hover,
.story-page__admin a:hover,
.static-page-layout__admin:hover,
.static-page-layout__admin a:hover {
  color: var(--accent-hover);
}

.story-page__lead {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-lead);
  line-height: 1.75;
}

.story-page__lead > :first-child,
.story-page__body > :first-child,
.static-page-layout__body > :first-child,
.system-note__text > :first-child,
.offline-page__text > :first-child,
.profile-bio > :first-child,
.comment-card__body > :first-child,
.search-result-card__body > :first-child,
.search-comment-card__body > :first-child {
  margin-top: 0;
}

.story-page__lead > :last-child,
.story-page__body > :last-child,
.static-page-layout__body > :last-child,
.system-note__text > :last-child,
.offline-page__text > :last-child,
.profile-bio > :last-child,
.comment-card__body > :last-child,
.search-result-card__body > :last-child,
.search-comment-card__body > :last-child {
  margin-bottom: 0;
}

.story-page__body {
  max-width: var(--content);
}

.story-page__lead:empty,
.story-page__pagination:empty {
	display: none;
}

.story-page__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.story-page__pagination > a,
.story-page__pagination > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.55rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--surface);
	color: var(--text);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1;
}

.story-page__pagination > span,
.story-page__pagination > a:hover {
  background: var(--accent-soft);
  border-color: rgba(110, 33, 50, 0.24);
  color: var(--accent);
}

.story-page__footer {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.story-page__tags {
  display: grid;
  gap: 0.55rem;
}

.story-page__tags-label {
  color: var(--muted);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-page__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.story-page__tags a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
}

.story-page__tags a:hover {
  background: var(--accent-soft);
  border-color: rgba(110, 33, 50, 0.24);
  color: var(--accent);
}

/* 09 related */
.related-news {
  clear: both;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.related-news__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.related-news__grid {
  display: grid;
  gap: 1rem;
}

.related-card {
	padding: 0.95rem 1rem 1rem;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface-2);
}

.related-card__title {
	font-family: var(--font-heading);
	font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.55rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.related-card__meta {
  margin-bottom: 0.55rem;
}

.related-card__title a {
  color: var(--text);
}

.related-card__title a:hover {
  color: var(--accent);
}

.related-card__link {
	color: inherit;
	text-decoration: none;
}

/* 10 pager / crumbs */
.pager {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.pager__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
}

.pager__pages a,
.pager__pages span,
.pager__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.pager__pages span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--inverse);
}

.pager__pages a:hover,
.pager__control:hover {
  background: var(--accent-soft);
  border-color: rgba(110, 33, 50, 0.24);
  color: var(--accent);
}

.pager__control {
  gap: 0.45rem;
  min-width: auto;
  padding-inline: 1rem;
}

.pager__control--prev,
.pager__control--next {
  min-width: auto;
}

.pager__inner > a,
.pager__inner > a:visited {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.pager__inner > a:focus-visible {
  outline: none;
}

.pager__inner > a:focus-visible .pager__control,
.pager__pages a:focus-visible {
  background: var(--accent-soft);
  border-color: rgba(110, 33, 50, 0.24);
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 33, 50, 0.14);
}

@media (max-width: 767.98px) {
  .pager {
    margin-top: 1.75rem;
  }

  .pager__inner {
    gap: 0.6rem;
  }

  .pager__control {
    padding-inline: 0.9rem;
  }

  .pager__pages {
    gap: 0.35rem;
  }
}

.crumbs {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto var(--space-3);
}

.crumbs__inner {
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
}

#dle-speedbar,
#dle-speedbar > span,
#dle-speedbar > ul,
#dle-speedbar .speedbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#dle-speedbar {
  color: var(--muted);
}

#dle-speedbar li,
#dle-speedbar a,
#dle-speedbar span {
  display: inline-flex;
  align-items: center;
  font-size: inherit;
  line-height: inherit;
}

#dle-speedbar a {
  color: var(--muted);
}

#dle-speedbar a:hover {
  color: var(--accent);
}

#dle-speedbar .speedbar_sep {
  display: none;
}

#dle-speedbar li + li::before,
#dle-speedbar > span > * + *::before,
#dle-speedbar > ul > * + *::before,
#dle-speedbar .speedbar > * + *::before {
  content: "/";
  margin-inline: 0.5rem;
  color: var(--muted-2);
}

#dle-speedbar li:last-child,
#dle-speedbar li:last-child a,
#dle-speedbar > span > :last-child,
#dle-speedbar > ul > :last-child,
#dle-speedbar .speedbar > :last-child {
  color: var(--text);
}

/* 11 comments */
.comments,
.comment-form-block,
.comment-card {
  scroll-margin-top: var(--header-offset);
}

.comments-list,
.comments-tree-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-tree-list .comments-tree-list,
.comments-list .comments-tree-list,
.comments-tree-list .comments-list {
  margin-top: 1rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.comment-card + .comment-card {
  margin-top: 1rem;
}

.comment-card__inner {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}

.comment-card__header {
  margin-bottom: 0.85rem;
}

.comment-card__top {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.comment-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.comment-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-card__head {
  min-width: 0;
}

.comment-card__author,
.comment-card__author a {
  color: var(--text);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.3;
}

.comment-card__author a:hover {
  color: var(--accent);
}

.comment-card__meta,
.comment-card__details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
}

.comment-card__dot {
  color: var(--muted-2);
}

.comment-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.comment-card__status--online {
  border-color: rgba(110, 33, 50, 0.18);
  background: rgba(239, 227, 230, 0.7);
  color: var(--accent);
}

.comment-card__body {
  color: var(--text);
}

.comment-card__news-title {
  margin: 0 0 0.65rem;
  font-size: var(--fs-lead);
  line-height: 1.3;
  font-weight: 700;
}

.comment-card__details {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.6;
}

.comment-card__signature {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.65;
}

.comment-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.comment-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.comment-card__action,
.comment-card__mass {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

.comment-card__rating {
  width: 100%;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.comment-card__rating :where(ul, ol) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-card__rating :where(a, span, button) {
  color: inherit;
}

.comment-card__rating-value,
.comment-card__rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.comment-card__rating-inline strong {
  color: var(--text);
}

/* 12 comment form */
.comment-form-block {
  margin-top: 2.25rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.comment-form-block__head {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.comment-form-block__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.comment-form-block__text {
  max-width: 60ch;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.comment-form,
.comment-form--dle {
  display: grid;
  gap: 1rem;
}

.comment-form__row {
  display: grid;
  gap: 0.6rem;
}

.comment-form__field {
  min-width: 0;
}

.comment-form__row label {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
}

.comment-form__editor {
  overflow: hidden;
  border-radius: 14px;
}

.comment-form__security {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.comment-form__captcha,
.comment-form__recaptcha {
  margin-top: 0.35rem;
}

.comment-form__captcha .wide {
  max-width: 18rem;
}

.comment-form__actions {
  margin-top: 0.15rem;
}

.comment-form__submit,
.auth-form__submit,
.profile-edit__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--inverse);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.comment-form__submit:hover,
.auth-form__submit:hover,
.profile-edit__submit:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--inverse);
}

.comment-form__submit:active,
.auth-form__submit:active,
.profile-edit__submit:active {
  transform: translateY(1px);
}

/* 13 auth */
.auth-panel {
  max-width: 48rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.auth-panel--registration {
  max-width: 52rem;
}

.auth-panel--lostpassword {
  max-width: 36rem;
}

.auth-panel__head {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.auth-panel__title {
  max-width: 12ch;
  font-size: var(--fs-h1);
}

.auth-panel__text {
  max-width: 60ch;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form__row {
  display: grid;
  gap: 0.45rem;
}

.auth-form__row label {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
}

.auth-form__field {
  min-width: 0;
}

.auth-form__inline {
  display: grid;
  gap: 0.75rem;
}

.auth-form__security,
.auth-form__xfields,
.profile-edit__xfields {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.auth-form__captcha {
  margin-top: 0.25rem;
}

.auth-form__captcha .wide {
  max-width: 18rem;
}

.auth-form__actions,
.profile-edit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.auth-form__submit {
  min-width: 11rem;
}

.auth-form__check {
  justify-content: center;
  min-height: 2.875rem;
}

.auth-form__result {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.55;
}

.auth-form__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

.auth-form__link:hover {
  background: var(--accent-soft);
  border-color: rgba(110, 33, 50, 0.24);
  color: var(--accent);
}

/* 14 search */
.search-page {
  display: grid;
  gap: 1.25rem;
}

.search-page__head,
.search-results-page__head {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.search-page__title,
.search-results-page__title {
	margin: 0.35rem 0 0;
	font-size: var(--fs-h1);
}

.search-page__form,
.search-page__message,
.search-result-card,
.search-comment-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.search-page__table {
  width: 100%;
  overflow-x: auto;
}

.search-page__table > * {
  min-width: 0;
}

.search-page__message {
  color: var(--text);
  line-height: 1.7;
}

.search-page__message:empty,
.search-result-card__body:empty,
.system-note__text:empty {
	display: none;
}

.search-result-card,
.search-comment-card {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.search-result-card__head,
.search-comment-card__head {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.search-result-card__meta,
.search-comment-card__meta,
.search-comment-card__info,
.search-result-card__actions,
.search-comment-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.search-result-card__dot {
  color: var(--muted-2);
}

.search-result-card__title,
.search-comment-card__title {
  margin: 0.4rem 0 0;
  font-size: var(--fs-h3);
  line-height: 1.18;
  color: var(--text);
}

.search-result-card__title--sm,
.search-comment-card__title--sm {
  margin-top: 0;
  font-size: 1.1rem;
}

.search-result-card__title a,
.search-comment-card__title a {
  color: inherit;
}

.search-result-card__title a:hover,
.search-comment-card__title a:hover {
  color: var(--accent);
}

.search-result-card__body,
.search-comment-card__body {
  color: var(--text);
  line-height: 1.75;
}

.search-result-card__edit-note,
.search-result-card__stats,
.search-comment-card__info,
.search-comment-card__signature {
  color: var(--muted);
  font-size: var(--fs-meta);
  line-height: 1.6;
}

.search-result-card__footer,
.search-comment-card__footer {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.search-result-card__action,
.search-result-card__action a,
.search-comment-card__mass {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

.search-result-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.search-result-card__action:hover,
.search-result-card__action a:hover {
  background: var(--accent-soft);
  border-color: rgba(110, 33, 50, 0.24);
  color: var(--accent);
}

.search-comment-card__signature {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

/* 15 profile */
.profile-page {
  display: grid;
  gap: 1.5rem;
}

.profile-page__hero {
  display: grid;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.profile-page__title {
  max-width: 12ch;
  font-size: var(--fs-h1);
}

.profile-page__rating {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
}

.profile-rate--inline {
  gap: 0.45rem;
  color: var(--text);
}

.profile-rate--inline span {
  color: var(--muted);
  font-weight: 600;
}

.profile-page__grid {
  display: grid;
  gap: 1rem;
}

.profile-card,
.profile-edit {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
}

.profile-card {
  padding: 1rem;
}

.profile-card--aside {
  display: grid;
  gap: 1rem;
  align-content: start;
  background: var(--surface);
}

.profile-card + .profile-card {
  margin-top: 1rem;
}

.profile-card__title,
.profile-edit__title {
  font-size: var(--fs-h3);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.profile-page__avatar {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.profile-page__avatar img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.profile-page__contacts {
  display: grid;
  gap: 0.6rem;
}

.profile-page__contact {
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.profile-page__contact a {
  color: var(--accent);
}

.profile-page__contact a:hover {
  color: var(--accent-hover);
}

.profile-page__presence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-badge--online {
  border-color: rgba(110, 33, 50, 0.16);
  background: rgba(239, 227, 230, 0.55);
  color: var(--accent);
}

.profile-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.profile-list__row {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.profile-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-list dt {
  color: var(--muted);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-list dd {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.65;
}

.profile-bio {
  max-width: 72ch;
  color: var(--text);
  line-height: 1.75;
}

.profile-page__actions {
  margin-top: 1rem;
}

.profile-page__edit-link a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--inverse);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}

.profile-page__edit-link a:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.profile-edit {
  padding: 1.25rem 1rem;
  background: var(--surface);
}

.profile-edit__head {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.profile-edit__text {
  max-width: 60ch;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.profile-edit__grid {
  display: grid;
  gap: 1rem;
}

.profile-edit__field {
  min-width: 0;
}

.profile-edit__field--full {
  grid-column: 1 / -1;
}

.profile-edit__field label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
}

.profile-edit__checks {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.profile-edit__checkbox,
.profile-edit__ignore {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.profile-edit__ignore,
.form_note {
  color: var(--text);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.profile-edit__submit {
  min-width: 14rem;
}

/* 16 static / system / offline */
.static-page-layout {
  width: 100%;
}

.static-page-layout__header {
  max-width: var(--content);
  margin: 0 auto 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.static-page-layout__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 1rem;
}

.static-page-layout__dot {
  color: var(--muted-2);
}

.static-page-layout__action,
.static-page-layout__action a {
  color: var(--accent);
}

.static-page-layout__action a:hover {
  color: var(--accent-hover);
}

.static-page-layout__title {
	font-size: var(--fs-h1);
}

.static-page-layout__body {
  max-width: var(--content);
  margin-inline: auto;
}

.static-page-layout__body,
.system-note__inner,
.search-page__form,
.search-page__message {
	min-width: 0;
}

.system-note {
  display: grid;
  place-items: start;
}

.system-note__inner {
  width: 100%;
  max-width: 48rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.system-note__title {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.system-note__text {
  max-width: 65ch;
  margin-top: 1rem;
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.75;
}

.offline-page {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 8rem);
  padding: 2rem 0 3rem;
}

.offline-page__card {
  width: 100%;
  max-width: 44rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(31, 26, 23, 0.06);
}

.offline-page__title {
	margin: 0.35rem 0 0;
	font-size: var(--fs-h1);
}

.offline-page__text {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.75;
}

.offline-page .site-logo__text {
	font-size: 1rem;
}

.offline-page .site-logo__sub {
	display: none;
}

/* 17 responsive */
@media (min-width: 768px) {
  .comment-form__row--split,
  .auth-form__row--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .auth-form__inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .auth-form__check {
    min-width: 11rem;
  }

  .related-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-page__grid {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

  .profile-card,
  .profile-edit,
  .search-page__form,
  .search-page__message,
  .search-result-card,
  .search-comment-card,
  .offline-page__card {
    padding: 1.25rem;
  }

  .profile-edit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-note__inner {
    padding: 1.5rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .page-shell {
    width: min(100% - 48px, var(--container));
  }

/* CONTEXT: canonical desktop header keeps the same Menu trigger model as mobile.
REASON:
- remove dual visible navigation model drift
- keep one navigation trigger path across breakpoints
- preserve existing JS behavior with [hidden] + aria-expanded
RISK:
- desktop open state now depends on .mobile-nav:not([hidden])
*/
.site-header__inner {
	align-items: center;
	flex-wrap: nowrap;
	row-gap: 0;
}

.site-brand {
	flex: 1 1 auto;
}

.nav-toggle {
	display: inline-flex;
	margin-left: auto;
}

.site-nav {
	display: none;
}

.mobile-nav:not([hidden]) {
	display: block;
}

  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-tile {
    min-height: 100%;
  }

  .related-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .site-logo {
    gap: 10px;
  }

  .site-logo__mark {
    width: var(--brand-tile-size-mobile);
    height: var(--brand-tile-size-mobile);
    flex-basis: var(--brand-tile-size-mobile);
  }

  .site-logo__sub {
    display: none;
  }

  .crumbs__inner {
    font-size: var(--fs-meta);
    line-height: var(--lh-meta);
  }

  #dle-speedbar,
  #dle-speedbar > span,
  #dle-speedbar > ul,
  #dle-speedbar .speedbar {
    gap: 0.2rem 0.4rem;
  }

  #dle-speedbar li + li::before,
  #dle-speedbar span + span::before,
  #dle-speedbar a + span::before {
    margin-right: 0.4rem;
  }

  .story-page__header {
    margin-bottom: 1.125rem;
    padding-bottom: 1rem;
  }

  .story-page__meta {
    gap: 0.3rem 0.45rem;
  }

  .story-page__lead {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .story-page__pagination > a,
  .story-page__pagination > span {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding-inline: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}