:root {
  --bg: #1d1f24;
  --bg-2: #23262c;
  --panel: #2a2d34;
  --panel-2: #33363e;
  --panel-3: #3c4049;
  --line: #31343b;
  --orange: #ff6a00;
  --orange-2: #ff8a1f;
  --orange-dark: #e05a00;
  --green: #2fa44f;
  --green-hover: #36bb5a;
  --text: #ffffff;
  --muted: #a5a9b3;
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 86px;
  --side-w: 340px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .5);
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-d: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font); font-size: 15px; line-height: 1.45;
  color: var(--text); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 18px; font-style: normal; font-weight: 400; line-height: 1;
  user-select: none;
}
.ico--glyph { font-family: var(--font); font-weight: 700; font-size: 18px; }
.ico--lg { width: 30px; height: 30px; font-size: 26px; }
.ico--white { filter: grayscale(1) brightness(3); }

@media (min-width: 992px) { .mobile-only { display: none !important; } }
@media (max-width: 991px) { .desktop-only { display: none !important; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 14px; border-radius: 3px;
  font-family: var(--font-d); font-size: 17px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--outline { border: 1.5px solid #fff; }
.btn--outline:hover { background: #fff; color: var(--orange); }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--green-hover); }
.btn--sm { height: 42px; padding: 0 22px; border-radius: 6px; font-family: var(--font); font-size: 16px; text-transform: none; letter-spacing: 0; }
.btn--ghost { border: 2px solid #fff; }
.btn--ghost:hover { background: #fff; color: #111; }
.btn--orange { background: var(--orange); }
.btn--orange:hover { background: var(--orange-2); }

.header { position: sticky; top: 0; z-index: 60; background: var(--orange); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.header__bar { display: flex; align-items: center; gap: 34px; height: var(--header-h); padding: 0 12px 0 22px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 42px; width: auto; }
.burger { display: flex; color: #fff; }
.nav { display: flex; align-items: center; gap: 22px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; font-family: var(--font-d); font-size: 17px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; opacity: .95; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav a.is-active { font-weight: 700; }
.header__tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.offers { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-size: 17px; font-weight: 500; text-transform: uppercase; }
.offers__icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: #1d1f24; font-size: 18px; }
.tool-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; transition: background .2s; }
.tool-icon:hover { background: rgba(255, 255, 255, .15); }
.header__actions { display: flex; gap: 12px; margin-left: 14px; }
.header__actions .btn--outline { padding: 0 14px; }
.header__actions .btn--green { padding: 0 26px; }

.sidebar {
  position: fixed; top: var(--header-h); bottom: 0; left: 0; z-index: 50;
  width: var(--side-w); padding: 32px 22px 30px 10px;
  background: var(--bg);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--panel-3) transparent;
  transition: transform .3s ease;
}
.acc + .acc { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.acc__head {
  display: flex; align-items: center; gap: 14px; width: 100%;
  height: 64px; padding: 0 20px 0 22px; border-radius: 32px;
  font-size: 21px; font-weight: 700; text-align: left; white-space: nowrap;
  transition: background .2s;
}
.acc__head:hover { background: var(--panel); }
.acc.is-open .acc__head { background: var(--panel); }
.acc__head .ico { width: 34px; height: 34px; font-size: 28px; }
.acc__chev { margin-left: auto; font-size: 20px; transition: transform .25s; }
.acc.is-open .acc__chev { transform: rotate(180deg); }
.acc__list { list-style: none; margin: 4px 0 0; padding: 0; }
.acc:not(.is-open) .acc__list { display: none; }
.acc__list a, .acc__more {
  display: flex; align-items: center; gap: 16px; width: 100%;
  height: 65px; padding: 0 28px;
  font-size: 19px; color: #eceef2; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-radius: 12px; transition: background .2s;
}
.acc__list a:hover, .acc__more:hover { background: var(--bg-2); }
.acc__list .ico { width: 34px; height: 34px; font-size: 26px; }
.acc__more .ico { width: 34px; font-size: 20px; }
.acc__extra[hidden] { display: none; }
.badge-new {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ff8b5a, #f2462a);
  box-shadow: 0 0 0 3px rgba(255, 120, 60, .25);
  font-size: 9px; font-weight: 900; color: #ffe1a8; letter-spacing: -.02em;
}

.overlay { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }

.page { min-width: 0; margin-left: var(--side-w); padding: 32px 42px 0 44px; }

.promos { position: relative; }
.promos__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.promos__track::-webkit-scrollbar { display: none; }
.promo {
  position: relative; overflow: hidden; isolation: isolate; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  aspect-ratio: 510 / 287; padding: 26px 32px 22px; border-radius: var(--radius-lg);
  background: var(--panel);
}
.promo__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.promo__title { margin: 0; max-width: 260px; font-size: 27px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.promo__text { margin: 8px 0 0; max-width: 250px; font-size: 14.5px; line-height: 1.3; color: #eceef2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.promo__actions { display: flex; gap: 12px; margin-top: 20px; }
.dashes { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.dashes button { width: 60px; height: 4px; border-radius: 2px; background: #4a4e57; transition: background .2s; }
.dashes button.is-active { background: #fff; }

.search { position: relative; margin-top: 34px; }
.search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; filter: grayscale(1) brightness(2); }
.search input {
  width: 100%; height: 54px; padding: 0 20px 0 60px;
  border: 1.5px solid #4a4e57; border-radius: 27px; background: transparent; color: #fff; outline: none;
  font-size: 19px;
}
.search input::placeholder { color: #e3e5ea; }
.search input:focus { border-color: var(--orange); }

.section { margin-top: 48px; }
.section__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.section__title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.section__title .badge-new { width: 46px; height: 46px; font-size: 12px; }
.section__icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--panel); font-size: 24px; }
.section__count { white-space: nowrap; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); font-size: 16px; font-weight: 500; }
.section__arrow { display: flex; align-items: center; font-size: 30px; line-height: 1; }
.section__arrow:hover { color: var(--orange); }

.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 11px) / 5); gap: 11px;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; min-width: 0; }
.card[hidden] { display: none; }
.card__img { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--panel); }
.card__img img { width: 100%; aspect-ratio: 302 / 170; object-fit: cover; transition: transform .35s; }
.card__img:hover img { transform: scale(1.05); }
.card__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 16, 20, .6); opacity: 0; transition: opacity .25s; }
.card__img:hover .card__overlay, .card__img:focus-visible .card__overlay { opacity: 1; }
.card__ribbon { position: absolute; top: 18px; left: -30px; width: 120px; padding: 2px 0; background: #e8335b; font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; transform: rotate(-35deg); }
.card__meta { display: flex; align-items: center; gap: 10px; padding: 10px 10px 0; }
.card__text { flex: 1; min-width: 0; }
.card__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; font-weight: 700; line-height: 1.25; }
.card__prov { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; color: #b8bcc5; }
.card__info { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #3e434d; font-family: Georgia, serif; font-size: 15px; font-weight: 700; font-style: italic; color: #9aa0ab; }
.card__info:hover { background: #50555f; color: #fff; }

.content {
  min-width: 0;
  margin: 50px 0 0; padding: 36px 40px;
  border-radius: var(--radius-lg); background: var(--bg-2);
  font-size: 16px; line-height: 1.75; color: #dcdee3;
  overflow-wrap: break-word;
}
.content > :first-child { margin-top: 0; }
.content > :last-child { margin-bottom: 0; }
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { color: #fff; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.content h1 { font-size: 32px; margin: 0 0 18px; }
.content h2 { font-size: 25px; margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--orange); }
.content h3 { font-size: 20px; margin: 28px 0 12px; color: var(--orange-2); }
.content h4 { font-size: 17px; margin: 22px 0 10px; }
.content h5, .content h6 { font-size: 15px; margin: 18px 0 8px; }
.content p { margin: 0 0 16px; }
.content a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.content a:hover { color: #ffb066; }
.content strong, .content b { color: #fff; font-weight: 700; }
.content mark { padding: 0 4px; border-radius: 3px; background: var(--orange); color: #fff; }
.content small { font-size: 13px; color: var(--muted); }
.content ul, .content ol { margin: 0 0 18px; padding-left: 24px; }
.content li { margin-bottom: 8px; }
.content li > ul, .content li > ol { margin: 8px 0 0; }
.content ul li::marker { color: var(--orange); }
.content ol li::marker { color: var(--orange); font-weight: 700; }
.content img { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: var(--radius-lg); }
.content figure { margin: 24px 0; }
.content figure img { margin: 0 auto; }
.content figcaption { margin-top: 8px; font-size: 13px; text-align: center; color: var(--muted); }
.content table {
  width: 100%; margin: 24px 0;
  border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--panel); font-size: 15px; line-height: 1.5;
}
.content caption { padding: 0 0 10px; font-size: 13px; color: var(--muted); text-align: left; }
.content th { padding: 12px 14px; text-align: left; font-weight: 700; background: var(--orange); color: #fff; }
.content td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.content tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.content tbody tr:hover { background: rgba(255, 106, 0, .08); }
.content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; background: var(--panel); font-style: italic; }
.content blockquote p:last-child { margin-bottom: 0; }
.content hr { height: 1px; margin: 32px 0; border: 0; background: var(--line); }
.content code { padding: 2px 6px; border-radius: 4px; background: var(--panel-3); font-size: .9em; }
.content pre { margin: 24px 0; padding: 16px; overflow-x: auto; border-radius: var(--radius); background: var(--bg); }
.content pre code { padding: 0; background: none; }
.content iframe, .content video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 24px 0; border: 0; border-radius: var(--radius-lg); }
.content dl { margin: 0 0 18px; }
.content dt { font-weight: 700; color: #fff; }
.content dd { margin: 0 0 10px 18px; color: var(--muted); }
.content details { margin: 0 0 8px; padding: 14px 18px; border-radius: var(--radius); background: var(--panel); }
.content summary { cursor: pointer; font-weight: 700; color: #fff; }
.content details[open] summary { margin-bottom: 10px; color: var(--orange-2); }

.footer { margin: 60px -42px 0 -44px; padding: 40px 42px 26px 44px; background: #17181c; border-top: 4px solid var(--orange); }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr; gap: 28px; }
.footer__about { margin: 14px 0; font-size: 13.5px; color: var(--muted); }
.footer__title { margin: 0 0 14px; font-family: var(--font-d); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--orange-2); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { font-size: 14px; color: #c9ccd3; transition: color .2s; }
.footer__list a:hover { color: #fff; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 6px; background: var(--panel); font-size: 13px; font-weight: 600; }
.pay .ico { width: 16px; height: 16px; font-size: 13px; }
.orgs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge-18 { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border: 2px solid var(--orange); border-radius: 50%; font-size: 13px; font-weight: 900; color: var(--orange); }
.org { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 6px; background: var(--panel); font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.org:hover { background: var(--panel-3); color: var(--orange-2); }
.org .ico { width: 14px; height: 14px; font-size: 13px; }
.footer__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: #fff; }

.to-top {
  position: fixed; right: 18px; bottom: 20px; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.to-top:hover { background: var(--orange-2); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 260px); padding: 60px 16px; text-align: center; }
.error-page__code { display: flex; align-items: center; gap: .05em; font-size: clamp(100px, 20vw, 190px); font-weight: 900; font-style: italic; line-height: 1; color: var(--orange); text-shadow: 0 10px 40px rgba(255, 106, 0, .3); }
.error-chip {
  position: relative; width: .7em; height: .7em; border-radius: 50%;
  background: repeating-conic-gradient(#fff 0 15deg, var(--orange) 15deg 45deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  animation: spin 8s linear infinite;
}
.error-chip::after { content: "B"; position: absolute; inset: 18%; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); border: .03em dashed #fff; font-size: .35em; font-style: italic; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-page h1 { margin: 22px 0 10px; font-size: clamp(26px, 4vw, 36px); }
.error-page p { max-width: 520px; margin: 0 0 26px; color: var(--muted); font-size: 16px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.error-page__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.error-page__links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--panel); font-size: 14px; font-weight: 500; }
.error-page__links a:hover { background: var(--panel-3); }

@media (max-width: 1600px) {
  :root { --side-w: 290px; }
  .header__bar { gap: 24px; }
  .nav { gap: 18px; }
  .nav a, .offers { font-size: 16px; }
  .page { padding: 28px 28px 0 30px; }
  .footer { margin: 60px -28px 0 -30px; padding: 40px 28px 26px 30px; }
  .acc__head { height: 56px; font-size: 19px; }
  .acc__list a, .acc__more { height: 54px; padding: 0 22px; font-size: 17px; }
  .promo { padding: 22px 26px 18px; }
  .promo__title { font-size: 21px; max-width: 230px; }
  .promo__text { font-size: 13.5px; }
  .card__name { font-size: 18px; }
  .card__prov { font-size: 15.5px; }
  .section__title { font-size: 25px; }
}

@media (max-width: 1360px) {
  .header__tools .offers span:last-child { display: none; }
  .header__tools .tool-icon--hide { display: none; }
  .track { grid-auto-columns: calc((100% - 3 * 11px) / 4); }
  .promos__track { grid-auto-columns: calc((100% - 12px) / 2); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1160px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14.5px; }
  .header__actions { margin-left: 4px; gap: 8px; }
  .header__actions .btn { height: 40px; font-size: 15px; }
  .header__actions .btn--green { padding: 0 16px; }
}

@media (max-width: 991px) {
  :root { --header-h: 58px; }
  .header__bar { gap: 12px; height: var(--header-h); padding: 0 12px; }
  .logo img { height: 30px; }
  .header__tools { gap: 6px; }
  .header__actions { margin-left: 0; gap: 6px; }
  .header__actions .btn { height: 36px; padding: 0 10px; font-size: 13.5px; }
  .header__actions .btn--green { padding: 0 12px; }
  .subnav { display: flex; gap: 18px; padding: 0 12px; height: 42px; align-items: center; overflow-x: auto; scrollbar-width: none; background: var(--orange-dark); }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a { flex: none; font-family: var(--font-d); font-size: 14px; font-weight: 500; text-transform: uppercase; }
  .subnav a.is-active { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }

  .sidebar { top: 0; z-index: 70; width: min(86vw, 330px); padding: 16px 12px 30px; background: var(--bg-2); transform: translateX(-100%); box-shadow: var(--shadow); }
  .sidebar__top { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 14px 10px; }
  .sidebar__top img { height: 28px; }
  .sidebar__close { font-size: 22px; color: var(--muted); }
  body.menu-open { overflow: hidden; }
  body.menu-open .sidebar { transform: none; }
  body.menu-open .overlay { opacity: 1; visibility: visible; z-index: 65; }
  .acc__head { height: 52px; font-size: 18px; padding: 0 14px; }
  .acc__list a, .acc__more { height: 48px; padding: 0 16px; font-size: 16px; }
  .acc__list .ico { width: 28px; height: 28px; font-size: 22px; }

  .page { margin-left: 0; padding: 16px 12px 0; }
  .promos__track { grid-auto-columns: 86%; gap: 10px; }
  .promo { padding: 18px 20px 16px; }
  .promo__title { font-size: 21px; max-width: 220px; }
  .promo__text { font-size: 12.5px; max-width: 210px; }
  .promo__actions { margin-top: 12px; }
  .btn--sm { height: 36px; padding: 0 16px; font-size: 14px; }
  .dashes { gap: 8px; margin-top: 14px; }
  .dashes button { width: 34px; }
  .search { margin-top: 22px; }
  .search input { height: 48px; font-size: 16px; padding-left: 52px; }
  .section { margin-top: 32px; }
  .section__title { font-size: 19px; gap: 10px; }
  .section__title .badge-new, .section__icon { width: 38px; height: 38px; }
  .section__count { font-size: 13px; }
  .track { grid-auto-columns: calc((100% - 10px) / 1.8); gap: 10px; }
  .card__name { font-size: 16px; }
  .card__prov { font-size: 14px; }
  .card__meta { padding: 8px 4px 0; }
  .footer { margin: 50px -12px 0; padding: 30px 14px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .to-top { right: 12px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 768px) {
  .content { padding: 22px 16px; font-size: 15px; line-height: 1.7; }
  .content h1 { font-size: 26px; }
  .content h2 { font-size: 21px; margin-top: 28px; }
  .content h3 { font-size: 18px; }
  .content h4 { font-size: 16px; }
  .content table {
    display: block; width: 100%; max-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    white-space: nowrap; font-size: 14px;
  }
  .content th, .content td { padding: 10px 12px; }
}

@media (max-width: 560px) {
  .header__tools .tool-icon { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 380px) {
  .logo img { height: 24px; }
  .header__actions .btn { padding: 0 8px; font-size: 12.5px; }
}

@media (max-width: 340px) {
  .header__bar { gap: 8px; padding: 0 8px; }
  .logo img { height: 20px; }
  .header__actions .btn { padding: 0 6px; font-size: 12px; }
}

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