:root {
    --paper: #f4f6f4;
    --surface: #ffffff;
    --ink: #14211c;
    --text: #2d3b35;
    --muted: #5f6e67;
    --line: #dbe2de;
    --line-2: #c4cfc9;
    --accent: #0b6e5f;
    --accent-deep: #08574b;
    --accent-soft: #e1f0ec;
    --tone: var(--accent);
    --tone-soft: var(--accent-soft);
    --font: "Archivo", "Segoe UI", system-ui, sans-serif;
    --wrap: 1240px;
    --pad: 24px;
    --r: 10px;
}

.ct-tone--0 { --tone: #0b6e5f; --tone-soft: #e1f0ec; }
.ct-tone--1 { --tone: #c4472b; --tone-soft: #fbe6df; }
.ct-tone--2 { --tone: #7a3e72; --tone-soft: #f2e6f0; }
.ct-tone--3 { --tone: #9a6405; --tone-soft: #f8edd6; }
.ct-tone--4 { --tone: #34506a; --tone-soft: #e2e9f0; }
.ct-tone--5 { --tone: #4a7323; --tone-soft: #e6f0dc; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.ct { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--font); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }
.ct-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--accent); color: #fff; font-weight: 700; }
.ct-skip:focus { left: 8px; }
.ct-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ct-main { flex: 1 0 auto; padding-bottom: 64px; }
.ct-empty { margin: 32px 0; padding: 24px; border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--surface); color: var(--muted); }

.ct-head { background: var(--accent); }
.ct-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.ct-logo { display: inline-flex; flex: none; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.ct-logo__mark { display: grid; flex: none; place-items: center; width: 35px; height: 35px; }
.ct-logo__mark svg { width: 100%; height: 100%; }
.ct-logo__text { display: flex; flex-direction: column; min-width: 0; }
.ct-logo__name { font: 800 22px/1.05 var(--font); font-stretch: 118%; letter-spacing: -.01em; }
.ct-logo__tagline { margin-top: 2px; color: #c4e3db; font-size: 13px; line-height: 1.3; }
.ct-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.ct-nav__link { padding: 7px 12px; border-radius: 6px; color: #e3f2ee; font: 600 15px var(--font); text-decoration: none; }
.ct-nav__link:hover { background: rgb(255 255 255 / .12); color: #fff; }
.ct-nav__link.is-active { background: #fff; color: var(--accent); }

.ct-search { display: flex; flex: 1; align-items: center; max-width: 420px; height: 44px; margin-left: auto; border: 2px solid transparent; border-radius: var(--r); background: var(--surface); }
.ct-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-search__input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; background: none; color: var(--ink); font: 500 16px var(--font); -webkit-appearance: none; appearance: none; }
.ct-search__input:focus { outline: none; }
.ct-search__input::placeholder { color: var(--muted); opacity: 1; }
.ct-search__btn { display: grid; place-items: center; width: 44px; height: 100%; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: all 0.5s; }
.ct-search__btn:hover { scale: 1.2; }
.ct-search:focus-within { border-color: var(--ink); }

.ct-intro { padding-top: 40px; }
.ct-intro__title { max-width: 22ch; margin: 0 0 12px; color: var(--ink); font: 800 clamp(32px, 4.6vw, 58px)/1.02 var(--font); font-stretch: 122%; letter-spacing: -.02em; }
.ct-intro__lead { max-width: 60ch; margin: 0; color: var(--muted); font-size: 18px; }
.ct-intro__count { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.ct-intro__count b { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.ct-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.ct-index__item { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); color: var(--ink); font: 600 14.5px var(--font); text-decoration: none; }
.ct-index__item span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.ct-index__item:hover { border-color: var(--ink); }

.ct-block { margin-top: 44px; }
.ct-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.ct-block__title { margin: 0 0 18px; color: var(--ink); font: 800 26px/1.15 var(--font); font-stretch: 115%; }
.ct-block__head .ct-block__title { margin: 0; }
.ct-more { color: var(--accent); font: 700 15px var(--font); text-decoration: none; }
.ct-more:hover { text-decoration: underline; }

.ct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ct-entry { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .15s, transform .15s; }
.ct-entry:hover { border-color: var(--tone); }
.ct-entry__media { display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: var(--tone-soft) repeating-linear-gradient(135deg, transparent 0 10px, rgb(255 255 255 / .55) 10px 20px); }
.ct-entry__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-entry__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.ct-entry__title { margin: 0; color: var(--ink); font: 700 18px/1.3 var(--font); }
.ct-entry__title a { text-decoration: none; }
.ct-entry__title a:hover { color: var(--tone); }
.ct-entry__lead { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.ct-entry__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: auto 0 0; padding-top: 8px; color: var(--muted); font-size: 13px; }

.ct-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ct-line { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ct-line__media { display: block; overflow: hidden; border-radius: 8px; }
.ct-line__media img { width: 100%; height: 100%; }
.ct-line__title { margin: 0; color: var(--ink); font: 700 19px/1.3 var(--font); }
.ct-line__title a { text-decoration: none; }
.ct-line__title a:hover { color: var(--tone); }
.ct-line__lead { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ct-line__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 2px 0 0; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.ct-line__cat { padding: 2px 8px; border-radius: 4px; background: var(--tone-soft); color: var(--tone); font-weight: 700; }
.ct-lines--section { border-top: 0; }

.crumbs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font: 500 14px/1.4 var(--font); }
.crumbs__item { display: flex; min-width: 0; }
.crumbs__item + .crumbs__item::before { content: "→"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { min-width: 0; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ct-section { padding-top: 28px; }
.ct-pagehead { margin-bottom: 18px; }
.ct-pagehead__title { margin: 14px 0 8px; color: var(--ink); font: 800 clamp(28px, 3.6vw, 44px)/1.08 var(--font); font-stretch: 118%; }
.ct-pagehead__page { color: var(--muted); font-size: .5em; font-weight: 600; font-stretch: 100%; }
.ct-pagehead__intro { margin: 0; color: var(--muted); }

.ct-article__head { padding-top: 28px; }
.ct-article__top { margin-top: 18px; }
.ct-article__section { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; font: 700 13.5px var(--font); }
.ct-article__section a { color: var(--accent); text-decoration: none; }
.ct-article__section span { padding: 1px 8px; border-radius: 4px; background: var(--tone-soft); color: var(--tone); }
.ct-article__title { margin: 0 0 12px; color: var(--ink); font: 800 clamp(28px, 4vw, 48px)/1.08 var(--font); font-stretch: 116%; letter-spacing: -.01em; }
.ct-article__title--page { margin-top: 16px; }
.ct-article__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.ct-article__meta time { color: var(--ink); font-weight: 600; }
.ct-glance { position: relative; margin: 22px 0 16px; padding: 20px 22px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface) repeating-linear-gradient(180deg, transparent 0 29px, var(--accent-soft) 29px 30px); }
.ct-glance::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: var(--r) 0 0 var(--r); background: var(--accent); }
.ct-glance__title { margin: 0 0 4px; color: var(--accent); font: 800 13px var(--font); font-stretch: 112%; }
.ct-glance__text { margin: 0; color: var(--ink); font-size: 17.5px; line-height: 30px; }
.ct-article__cover { margin: 22px auto 4px; }
.ct-article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--accent-soft); }

.ct-read { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 28px; }
.ct-read.has-toc { grid-template-columns: 250px minmax(0, 1fr); }
.ct-read__side { position: sticky; top: 20px; align-self: start; max-height: calc(100vh - 40px); overflow: auto; }
.ct-read__main { min-width: 0; }

.toc { padding: 16px 16px 10px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.toc__title { margin: 0 0 6px; color: var(--ink); font: 800 15px var(--font); font-stretch: 112%; }
.toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-top: 1px dashed var(--line-2); counter-increment: toc; }
.toc__list li:first-child { border-top: 0; }
.toc__list li::before { content: counter(toc); color: var(--accent); font: 800 13px/1.6 var(--font); }
.toc__link { color: var(--text); font-size: 14.5px; line-height: 1.45; text-decoration: none; }
.toc__link:hover { color: var(--accent); }

.ct-prose { font-size: 18px; line-height: 1.75; color: var(--text); }
.ct-prose > * { margin: 0 0 1.1em; }
.ct-prose h2 { margin: 2em 0 .7em; padding-bottom: 8px; border-bottom: 2px solid var(--ink); color: var(--ink); font: 800 clamp(23px, 2.5vw, 29px)/1.2 var(--font); font-stretch: 112%; scroll-margin-top: 20px; }
.ct-prose h3 { margin: 1.6em 0 .5em; color: var(--ink); font: 700 20px/1.35 var(--font); }
.ct-prose a { color: var(--accent); }
.ct-prose a:hover { color: var(--accent-deep); }
.ct-prose strong { color: var(--ink); font-weight: 700; }
.ct-prose ul, .ct-prose ol { padding-left: 1.4em; }
.ct-prose li { margin-bottom: .45em; }
.ct-prose li::marker { color: var(--accent); font-weight: 700; }
.ct-prose blockquote { margin: 1.6em 0; padding: 16px 20px; border: 1px solid var(--line-2); border-left: 5px solid var(--accent); border-radius: var(--r); background: var(--surface); color: var(--ink); }
.ct-prose blockquote p { margin: 0; }
.ct-prose img { border-radius: var(--r); }
.ct-prose figure { margin: 1.6em 0; }
.ct-prose figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.ct-prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.ct-table { margin: 1.6em 0; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.ct-prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; background: var(--surface); font-variant-numeric: tabular-nums; }
.ct-table table { min-width: 520px; margin: 0; }
.ct-prose th, .ct-prose td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ct-prose th { background: var(--ink); color: #fff; font-weight: 700; }
.ct-prose tbody tr:nth-child(even) td { background: var(--paper); }
.ct-prose tbody tr:last-child td { border-bottom: 0; }
figure:not([class]) { margin: 1.8em 0; }
figure:not([class]) img { display: block; width: 100%; height: auto; border-radius: var(--r); }
figure:not([class]) figcaption { margin-top: .6em; font-size: .86em; line-height: 1.45; color: inherit; opacity: .72; }

.faq { margin: 44px 0 0; }
.faq__title { margin: 0 0 14px; color: var(--ink); font: 800 26px/1.2 var(--font); font-stretch: 112%; }
.faq__item { margin-bottom: 8px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 15px 18px; cursor: pointer; list-style: none; color: var(--ink); font: 700 17px/1.4 var(--font); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; display: grid; flex: 0 0 26px; place-items: center; height: 26px; border-radius: 6px; background: var(--ink); color: #fff; font: 700 17px/1 var(--font); }
.faq__item[open] .faq__q::after { content: "−"; background: var(--accent); }
.faq__a { padding: 0 18px 15px; }
.faq__a p { margin: 0; font-size: 16.5px; }

.ct-filed { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.ct-filed__label { margin: 0; color: var(--muted); font: 700 13.5px var(--font); }
.ct-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ct-tags a { display: inline-block; padding: 4px 10px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font: 600 14px var(--font); text-decoration: none; }
.ct-tags a:hover { border-color: var(--accent); color: var(--accent); }

.ct-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; }
.ct-byline { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); font-weight: 700; }
.ct-byline__mark { display: grid; flex: none; place-items: center; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--accent); }
.ct-byline__mark svg { width: 100%; height: 100%; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.share__label { margin-right: 4px; color: var(--muted); }
.share__link { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); color: var(--ink); font: 600 13.5px var(--font); text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.share__link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; color: var(--ink); font-size: 14px; }
.rating__label { font-weight: 700; }
.rating__stars { position: relative; display: inline-block; color: var(--line-2); font-size: 18px; line-height: 1; letter-spacing: 1px; }
.rating__stars::before { content: "★★★★★"; }
.rating__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.rating__fill::before { content: "★★★★★"; }
.rating__value { font-weight: 800; }
.rating__count { color: var(--muted); }
.rating__vote { display: inline-flex; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.rating__btn { width: 26px; height: 26px; padding: 0; border: 0; background: none; color: var(--line-2); font-size: 19px; line-height: 1; cursor: pointer; }
.rating__vote:hover .rating__btn, .rating__btn.is-on { color: var(--accent); }
.rating__btn:hover ~ .rating__btn { color: var(--line-2); }
.rating__mine { padding: 2px 9px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-size: 13px; }
.rating__mine[hidden], .comments__replying[hidden] { display: none; }

.comments { margin-top: 44px; padding-top: 28px; border-top: 3px solid var(--ink); }
.comments__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--ink); font: 800 26px/1.2 var(--font); font-stretch: 112%; }
.comments__count { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 6px; background: var(--ink); color: #fff; font: 800 15px var(--font); }
.comments__notice { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-deep); font-size: 15px; }
.comments__empty { margin: 0 0 8px; color: var(--muted); }
.comments__item { margin-bottom: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px; }
.comment__author { color: var(--ink); font-weight: 800; }
.comment__date { color: var(--muted); font-size: 13px; }
.comment__text { font-size: 16px; line-height: 1.6; }
.comment__reply { margin-top: 8px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--surface); color: var(--ink); font: 700 13px var(--font); cursor: pointer; }
.comment__reply:hover { border-color: var(--ink); }
.comment--reply { margin: 12px 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; background: var(--paper); }
.comments__form { margin-top: 18px; padding: 22px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.comments__form-title { margin: 0 0 12px; color: var(--ink); font: 800 19px var(--font); font-stretch: 112%; }
.comments__replying { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; color: var(--accent-deep); font-size: 14.5px; }
.comments__cancel { padding: 0; border: 0; background: none; color: var(--accent-deep); font: 700 14px var(--font); text-decoration: underline; cursor: pointer; }
.comments__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comments__field { display: block; margin-bottom: 12px; }
.comments__field span { display: block; margin-bottom: 6px; color: var(--ink); font: 700 14px var(--font); }
.comments__field input, .comments__field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--font); }
.comments__field textarea { min-height: 120px; resize: vertical; }
.comments__field input:focus, .comments__field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.comments__submit { padding: 12px 24px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: 700 15.5px var(--font); cursor: pointer; }
.comments__submit:hover { background: var(--accent); }

.ct-related { margin-top: 52px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; font: 700 15px/1 var(--font); }
.pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; }
.pager__link:hover { border-color: var(--ink); }
.pager__link.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pager__gap { padding: 0 4px; color: var(--muted); }

.ct-error { padding-top: 48px; }
.ct-error__card { display: flex; gap: 28px; align-items: center; max-width: 760px; padding: 28px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.ct-error__code { flex: none; display: grid; place-items: center; width: 120px; height: 120px; border-radius: 18px; background: var(--accent); color: #fff; font: 800 40px/1 var(--font); font-stretch: 118%; }
.ct-error__title { margin: 0 0 8px; color: var(--ink); font: 800 30px/1.15 var(--font); font-stretch: 115%; }
.ct-error__text { margin: 0 0 14px; color: var(--muted); }
.ct-error__latest { margin-top: 32px; }

.ct-foot { margin-top: auto; background: var(--accent); color: #cfe7e0; font-size: 15px; }
.ct-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; padding-top: 36px; padding-bottom: 26px; }
.ct-logo--foot .ct-logo__name { font-size: 20px; }
.ct-foot__note { max-width: 52ch; margin: 12px 0 0; }
.ct-foot__links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 22px; }
.ct-foot__links a { color: #fff; font-weight: 600; text-decoration: none; }
.ct-foot__links a:hover { color: #fff; text-decoration: underline; }
.ct-foot__copy { padding-top: 16px; padding-bottom: 24px; border-top: 1px solid rgb(255 255 255 / .16); font-size: 13.5px; }

.ct-cookie { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(420px, calc(100vw - 32px)); padding: 18px 20px; border: 2px solid var(--ink); border-radius: 0 var(--r) var(--r) var(--r); background: var(--surface); box-shadow: 6px 6px 0 var(--accent-soft); color: var(--text); font-size: 14.5px; line-height: 1.55; }
.ct-cookie[hidden] { display: none; }
.ct-cookie__tab { position: absolute; left: -2px; top: -30px; padding: 4px 14px 3px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--surface); color: var(--ink); font: 800 13px var(--font); font-stretch: 112%; }
.ct-cookie__text { margin: 0 0 14px; }
.ct-cookie__text a { color: var(--accent); }
.ct-cookie__ok { padding: 9px 20px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: 700 14.5px var(--font); cursor: pointer; }
.ct-cookie__ok:hover { background: var(--accent); }

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--paper); }
body::-webkit-scrollbar-thumb { border: 2px solid var(--paper); border-radius: 20px; background-color: var(--ink); }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-width: thin; scrollbar-color: var(--ink) var(--paper); } }

@media (max-width: 1100px) {
    .ct-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ct-read.has-toc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ct-read__side { position: static; max-height: none; }
}

@media (max-width: 860px) {
    .ct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-search { order: 5; max-width: none; flex-basis: 100%; margin-left: 0; }
    .ct-nav { margin-left: auto; }
    .ct-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
    :root { --pad: 16px; }
    body.ct { font-size: 16px; }
    .ct-logo__tagline { display: none; }
    .ct-intro { padding-top: 28px; }
    .ct-grid { grid-template-columns: minmax(0, 1fr); }
    .ct-line { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
    .ct-line__meta { grid-column: 2; flex-direction: row; gap: 10px; align-items: center; margin: 0; }
    .ct-line__lead { display: none; }
    .ct-prose { font-size: 17px; }
    .ct-error__card { flex-direction: column; align-items: flex-start; }
    .rating__vote { padding-left: 0; border-left: 0; }
    .comment--reply { margin-left: 8px; }
    .ct-cookie { left: 16px; bottom: 16px; }
}

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