/* ========================================================================== 
   A2TDEV Blog Post Reader — Upgrade 54
   Restored reader architecture with production reader rail, TOC and mobile article navigation.
   ========================================================================== */

.a2t-reader51-page {
  --reader-ink: #0b0f12;
  --reader-ink-soft: #19201f;
  --reader-paper: #f2f1ea;
  --reader-paper-soft: #ebeae2;
  --reader-text: #202725;
  --reader-muted: #737d78;
  --reader-muted-2: #929b96;
  --reader-line: rgba(21, 31, 27, .16);
  --reader-line-strong: rgba(21, 31, 27, .28);
  --reader-dark-line: rgba(212, 222, 216, .18);
  --reader-accent: #c8f34f;
  --reader-green: #225e4d;
  --reader-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --reader-sans: "Manrope", Arial, sans-serif;
  background: var(--reader-paper) !important;
  color: var(--reader-text);
}

.a2t-reader51-page .x-content,
.a2t-reader51-page main,
.a2t-reader51-page .site-content {
  background: var(--reader-paper) !important;
}

.a2t-reader51,
.a2t-reader51 * {
  box-sizing: border-box;
}

.a2t-reader51 {
  overflow: clip;
  background: var(--reader-paper);
  color: var(--reader-text);
  font-family: var(--reader-sans);
}

.a2t-reader51 a {
  color: inherit;
  text-decoration: none;
}

.a2t-reader51 button,
.a2t-reader51 input,
.a2t-reader51 textarea {
  font: inherit;
}

.a2t-reader51-shell {
  width: min(1240px, calc(100% - 80px));
  max-width: 1240px;
  margin-inline: auto;
}

/* ---------- Article header ---------- */
.a2t-reader51-intro {
  padding: 64px 0 0;
  background: var(--reader-paper);
}

.a2t-reader51-header {
  width: 100%;
  max-width: none;
}

.a2t-reader51-kicker,
.a2t-reader51-meta span,
.a2t-reader51-toolbar > div > span,
.a2t-reader51-rail-label,
.a2t-reader51-tags > span,
.a2t-reader52-media-head {
  font-family: var(--reader-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.a2t-reader51-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--reader-green);
}

.a2t-reader51-kicker::before {
  width: 22px;
  height: 1px;
  content: "";
  background: var(--reader-accent);
}

.a2t-reader51-header h1 {
  max-width: 980px;
  margin: 25px 0 0 !important;
  color: var(--reader-ink) !important;
  font-family: var(--reader-sans) !important;
  font-size: clamp(50px, 4.9vw, 70px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: -.058em !important;
  text-wrap: balance;
}

.a2t-reader51-deck {
  max-width: 760px;
  margin: 22px 0 0 !important;
  color: #4f5954 !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}

.a2t-reader51-meta {
  display: grid;
  grid-template-columns: 1.25fr .9fr .72fr 1.05fr;
  width: 100%;
  max-width: none;
  margin-top: 34px;
  border-top: 1px solid var(--reader-line);
  border-bottom: 1px solid var(--reader-line);
}

.a2t-reader51-meta > div {
  min-width: 0;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px 14px 0;
}

.a2t-reader51-meta > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--reader-line);
}

.a2t-reader51-meta span,
.a2t-reader51-meta strong,
.a2t-reader51-meta a,
.a2t-reader51-meta time {
  display: block;
}

.a2t-reader51-meta span {
  margin-bottom: 6px;
  color: #7a847f;
}

.a2t-reader51-meta strong,
.a2t-reader51-meta a,
.a2t-reader51-meta time {
  overflow-wrap: anywhere;
  color: #1f2624;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.a2t-reader51-meta a:hover,
.a2t-reader51-meta a:focus-visible {
  color: var(--reader-green);
}

/* ---------- Featured media ---------- */
.a2t-reader52-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-bottom: 10px;
  color: #7a847f;
}

.a2t-reader52-media-head span:first-child {
  color: var(--reader-green);
}

.a2t-reader51-cover {
  margin: 0 !important;
  border: 0;
}

.a2t-reader52-cover-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.35;
  overflow: hidden;
  border-top: 1px solid var(--reader-line-strong);
  border-bottom: 1px solid var(--reader-line-strong);
  background: #dcded7;
}

.a2t-reader52-cover-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(11, 15, 18, .035);
}

.a2t-reader51-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.a2t-reader51-cover figcaption {
  max-width: 820px;
  padding: 10px 0 0;
  color: var(--reader-muted);
  font-family: var(--reader-mono);
  font-size: 8px;
  line-height: 1.55;
  letter-spacing: .05em;
}

/* ---------- Share / engagement toolbar ---------- */
.a2t-reader51-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  margin-top: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--reader-line);
}

.a2t-reader51-header + .a2t-reader51-toolbar {
  margin-top: 34px;
  border-top: 1px solid var(--reader-line);
}

.a2t-reader51-share,
.a2t-reader51-engagement {
  display: flex;
  align-items: center;
  gap: 13px;
}

.a2t-reader51-toolbar > div > span {
  color: var(--reader-muted);
  white-space: nowrap;
}

.a2t-reader51-share > div {
  display: flex;
  gap: 5px;
}

.a2t-reader51-share button {
  width: 34px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--reader-line-strong);
  border-radius: 0;
  background: transparent;
  color: #48514d;
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.a2t-reader51-share button:hover,
.a2t-reader51-share button:focus-visible {
  border-color: var(--reader-green);
  color: var(--reader-green);
  outline: none;
}

.a2t-reader51-engagement > span,
.a2t-reader51-engagement > a {
  color: var(--reader-muted);
  font-family: var(--reader-mono);
  font-size: 8px;
  line-height: 1.4;
  text-transform: uppercase;
}

.a2t-reader51-engagement > span b,
.a2t-reader51-engagement > a b {
  color: var(--reader-text);
  font-weight: 600;
}

.a2t-reader51 .a2t-like-button-pro {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid var(--reader-line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--reader-text);
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.a2t-reader51 .a2t-like-button-pro:hover,
.a2t-reader51 .a2t-like-button-pro:focus-visible,
.a2t-reader51 .a2t-like-button-pro.liked {
  border-color: var(--reader-green);
  color: var(--reader-green);
  outline: none;
}

/* ---------- Reader body ---------- */
.a2t-reader51-body {
  padding: 56px 0 112px;
  background: var(--reader-paper);
}

.a2t-reader51-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(270px, 320px);
  justify-content: space-between;
  gap: 74px;
  align-items: start;
}

.a2t-reader51-article {
  min-width: 0;
}


/* Upgrade 54: compact article navigation is reserved for tablet/mobile. */
.a2t-reader54-mobile-toc {
  display: none;
}

.a2t-reader51-content {
  --article-measure: 720px;
  color: #343d39;
  font-family: var(--reader-sans);
  font-size: 17px;
  line-height: 1.78;
  overflow-wrap: break-word;
}


.a2t-reader51-content :is(h1,h2,h3,h4,h5,h6) {
  position: relative;
  max-width: var(--article-measure);
  scroll-margin-top: 106px;
  color: var(--reader-ink) !important;
  font-family: var(--reader-sans) !important;
  font-weight: 600 !important;
  text-wrap: balance;
}

.a2t-reader51-content h1,
.a2t-reader51-content h2 {
  margin: 66px 0 22px !important;
  font-size: clamp(36px, 3.35vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.052em !important;
}

.a2t-reader51-content h3 {
  margin: 46px 0 16px !important;
  font-size: 29px !important;
  line-height: 1.15 !important;
  letter-spacing: -.042em !important;
}

.a2t-reader51-content h4 {
  margin: 36px 0 13px !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  letter-spacing: -.032em !important;
}

.a2t-reader51-content :is(h5,h6) {
  margin: 30px 0 11px !important;
  font-family: var(--reader-mono) !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
  letter-spacing: .07em !important;
  text-transform: uppercase;
}

.a2t-reader51-content > :is(h1,h2,h3,h4,h5,h6):first-child {
  margin-top: 0 !important;
}

.a2t-reader51-content p,
.a2t-reader51-content > div:not([class]),
.a2t-reader51-content > section:not([class]) {
  max-width: var(--article-measure);
}

.a2t-reader51-content p {
  margin: 0 0 25px !important;
  color: #2f3834 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  opacity: 1 !important;
}

/* Upgrade 62: normalize legacy/editor-authored prose wrappers. Rich text can
   carry muted utility classes or inline colors on nested span/font wrappers;
   the production reader owns paragraph contrast, while links/emphasis/code
   continue to use their dedicated rules below. */
.a2t-reader56-page .a2t-reader51-content p :is(span, font):not(a *) {
  color: inherit !important;
  opacity: 1 !important;
}

.a2t-reader51-content p + :is(ul,ol),
.a2t-reader51-content p + blockquote {
  margin-top: 3px !important;
}

.a2t-reader51-content strong,
.a2t-reader51-content b {
  color: #202825;
  font-weight: 650;
}

.a2t-reader51-content em,
.a2t-reader51-content i:not(.fa-solid):not(.fa-regular):not(.fa-brands) {
  color: #4e5954;
}

.a2t-reader51-content :is(ul,ol) {
  max-width: var(--article-measure);
  margin: 0 0 30px !important;
  padding-left: 25px !important;
  color: #39423e !important;
}

.a2t-reader51-content li {
  margin: 8px 0;
  padding-left: 5px;
  line-height: 1.72;
}

.a2t-reader51-content li::marker {
  color: var(--reader-green);
  font-weight: 600;
}

.a2t-reader51-content li > :is(ul,ol) {
  margin: 8px 0 4px !important;
}

.a2t-reader51-content a {
  color: #184f41 !important;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(24, 79, 65, .42);
  text-underline-offset: 3px;
}

.a2t-reader51-content a:hover,
.a2t-reader51-content a:focus-visible {
  color: #103d33 !important;
  text-decoration-color: currentColor;
  outline: none;
}

.a2t-reader51-content blockquote {
  max-width: var(--article-measure);
  margin: 40px 0 !important;
  padding: 4px 0 4px 25px !important;
  border: 0 !important;
  border-left: 2px solid var(--reader-accent) !important;
  background: transparent !important;
  color: #2f3a35 !important;
  font-size: 21px !important;
  line-height: 1.6 !important;
}

.a2t-reader51-content blockquote p {
  margin-bottom: 12px !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.a2t-reader51-content blockquote p:last-child {
  margin-bottom: 0 !important;
}

.a2t-reader51-content figure,
.a2t-reader51-content > img,
.a2t-reader51-content > video,
.a2t-reader51-content .a2t-reader53-embed {
  width: 100%;
  max-width: 820px;
}

.a2t-reader51-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
}

.a2t-reader51-content > img {
  margin: 38px 0 !important;
}

.a2t-reader51-content figure {
  margin: 40px 0 !important;
}

.a2t-reader51-content figure img {
  width: 100%;
  margin: 0 !important;
}

.a2t-reader51-content figcaption,
.a2t-reader51-content .wp-caption-text {
  max-width: var(--article-measure);
  margin: 10px 0 0 !important;
  color: #68726d !important;
  font-family: var(--reader-mono);
  font-size: 8.5px !important;
  line-height: 1.55 !important;
  letter-spacing: .02em;
}

.a2t-reader51-content .a2t-reader53-embed {
  position: relative;
  margin: 40px 0;
  overflow: hidden;
  background: #111715;
  aspect-ratio: 16 / 9;
}

.a2t-reader51-content .a2t-reader53-embed :is(iframe,video) {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  object-fit: contain;
}

.a2t-reader51-content iframe {
  max-width: 100%;
  border: 0;
}

.a2t-reader51-content pre {
  width: 100%;
  max-width: 820px;
  margin: 36px 0 !important;
  padding: 22px 24px !important;
  overflow: auto;
  border: 1px solid #27312d !important;
  border-radius: 0 !important;
  background: #101614 !important;
  color: #dce5df !important;
  font-family: var(--reader-mono) !important;
  font-size: 13px !important;
  line-height: 1.68 !important;
  tab-size: 2;
  scrollbar-width: thin;
}

.a2t-reader51-content pre code {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
}

.a2t-reader51-content code,
.a2t-reader51-content kbd,
.a2t-reader51-content samp {
  font-family: var(--reader-mono) !important;
}

.a2t-reader51-content :not(pre) > code {
  padding: 2px 5px;
  border: 1px solid rgba(32, 57, 49, .1);
  background: #e3e3da;
  color: #23463d;
  font-size: .86em;
}

.a2t-reader51-content kbd {
  padding: 2px 6px;
  border: 1px solid var(--reader-line-strong);
  background: #ebeae2;
  color: #29322e;
  font-size: .82em;
  box-shadow: inset 0 -1px rgba(21, 31, 27, .12);
}

.a2t-reader51-content .a2t-reader53-table-wrap {
  width: 100%;
  max-width: 820px;
  margin: 38px 0;
  overflow-x: auto;
  border-top: 1px solid var(--reader-line-strong);
  border-bottom: 1px solid var(--reader-line-strong);
  scrollbar-width: thin;
}

.a2t-reader51-content table {
  width: 100%;
  min-width: 560px;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent !important;
  color: #39423e;
  font-size: 14px;
}

.a2t-reader51-content th,
.a2t-reader51-content td {
  padding: 13px 12px;
  border: 0 !important;
  border-bottom: 1px solid var(--reader-line) !important;
  background: transparent !important;
  text-align: left;
  vertical-align: top;
}

.a2t-reader51-content tr:last-child td {
  border-bottom: 0 !important;
}

.a2t-reader51-content th {
  color: var(--reader-ink);
  font-family: var(--reader-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.a2t-reader51-content hr {
  max-width: var(--article-measure);
  margin: 54px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--reader-line) !important;
}

/* Optional rich-editor callouts. No special markup is required elsewhere. */
.a2t-reader51-content :is(.callout,.note,.info-box,.tip,.warning) {
  max-width: var(--article-measure);
  margin: 34px 0 !important;
  padding: 18px 20px !important;
  border: 1px solid var(--reader-line-strong) !important;
  border-left: 3px solid var(--reader-green) !important;
  border-radius: 0 !important;
  background: rgba(34, 94, 77, .035) !important;
}

.a2t-reader51-content :is(.callout,.note,.info-box,.tip,.warning) > :first-child {
  margin-top: 0 !important;
}

.a2t-reader51-content :is(.callout,.note,.info-box,.tip,.warning) > :last-child {
  margin-bottom: 0 !important;
}

.a2t-reader51-content .warning {
  border-left-color: #8b6f28 !important;
  background: rgba(139, 111, 40, .045) !important;
}

/* JS-added heading furniture: keep it restrained. */
.a2t-reader51 .a2t-content-heading-icon {
  display: none !important;
}

.a2t-reader51 .a2t-heading-chain {
  display: inline-flex;
  margin-left: 10px;
  color: #929b96 !important;
  font-size: 12px;
  opacity: 0;
  vertical-align: middle;
  transition: opacity .16s ease;
}

.a2t-reader51-content :is(h2,h3,h4):hover .a2t-heading-chain,
.a2t-reader51-content :is(h2,h3,h4):focus-within .a2t-heading-chain {
  opacity: 1;
}

/* ---------- Article footer ---------- */
.a2t-reader51-footer {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid var(--reader-line);
}

.a2t-reader51-tags {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.a2t-reader51-tags > span {
  color: var(--reader-muted);
}

.a2t-reader51-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.a2t-reader51-tags a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--reader-line-strong);
  color: #59645f;
  font-family: var(--reader-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.a2t-reader51-tags a:hover,
.a2t-reader51-tags a:focus-visible {
  border-color: var(--reader-green);
  color: var(--reader-green);
}

.a2t-reader51-footer-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--reader-line);
}

.a2t-reader51-footer-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--reader-line-strong);
  color: #303936;
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.a2t-reader51-footer-actions a.is-primary {
  border-color: var(--reader-ink);
  background: var(--reader-ink);
  color: #fff;
}

/* ---------- Reader rail / Upgrade 57 ---------- */
.a2t-reader51-aside {
  min-width: 0;
  align-self: stretch;
  padding-left: 30px;
  border-left: 1px solid var(--reader-line);
}

/* The index itself stays pinned while the article scrolls. The rail is stretched
   to the article row, so CSS sticky naturally releases at the article footer and
   never follows the reader into discussion/footer content. */
.a2t-reader51-rail {
  position: relative;
  min-height: 100%;
}

.a2t-reader57-sticky-index {
  position: sticky;
  top: 94px;
  z-index: 2;
  margin: 0 0 30px;
  background: var(--reader-paper);
}

.a2t-reader57-sticky-index .a2t-reader51-toc {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--reader-line);
}

/* Upgrade 58: the project CTA is a staged companion to the sticky index.
   It is visible for a bounded middle-reading window instead of scrolling
   behind the TOC immediately or remaining pinned for the whole article. */
.a2t-reader58-staged-cta {
  max-height: 230px;
  padding: 22px 0 2px;
  overflow: hidden;
  border-top: 0;
  opacity: 1;
  transform: translateY(0);
}

.a2t-reader57-sticky-index.is-staged-ready .a2t-reader58-staged-cta {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  pointer-events: none;
  transition:
    max-height .24s ease,
    padding .24s ease,
    opacity .18s ease,
    transform .24s ease,
    visibility 0s linear .24s;
}

.a2t-reader57-sticky-index.is-staged-ready.is-cta-visible .a2t-reader58-staged-cta {
  max-height: 230px;
  padding-top: 22px;
  padding-bottom: 2px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    max-height .24s ease,
    padding .24s ease,
    opacity .2s ease .04s,
    transform .24s ease,
    visibility 0s linear 0s;
}

/* Reserve enough viewport space for the staged CTA while it is visible.
   Long indexes keep their own slim internal scroll rather than forcing the
   promotional block below the fold. */
.a2t-reader57-sticky-index.is-cta-visible .a2t-reader51-toc .a2t-toc-list {
  max-height: clamp(180px, calc(100vh - 430px), 560px);
}

.a2t-reader58-mobile-cta {
  display: none;
}

.a2t-reader51-rail > section {
  padding: 0 0 30px;
}

.a2t-reader51-rail > section + section {
  padding-top: 30px;
  border-top: 1px solid var(--reader-line);
}

.a2t-reader51-rail-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--reader-green);
}

.a2t-reader51-rail-label::before {
  width: 16px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: var(--reader-accent);
}

.a2t-reader51 .a2t-toc-list {
  display: grid;
  gap: 0;
}

.a2t-reader51-toc .a2t-toc-list {
  max-height: calc(100vh - 170px);
  padding-right: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--reader-line-strong) transparent;
}

.a2t-reader51-toc .a2t-toc-list::-webkit-scrollbar {
  width: 4px;
}

.a2t-reader51-toc .a2t-toc-list::-webkit-scrollbar-thumb {
  background: var(--reader-line-strong);
}

.a2t-reader51 .a2t-toc-list a {
  position: relative;
  display: block;
  padding: 8px 0 8px 15px;
  border-left: 1px solid var(--reader-line);
  color: #515c57;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  transition: color .16s ease, border-color .16s ease;
}

.a2t-reader51 .a2t-toc-list a::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: -1px;
  width: 2px;
  content: "";
  background: transparent;
}

.a2t-reader51 .a2t-toc-list a.depth-2 {
  padding-left: 27px;
  color: #56615c;
  font-size: 10.5px;
}

.a2t-reader51 .a2t-toc-list a.depth-3 {
  padding-left: 39px;
  color: #5a6660;
  font-size: 10px;
}

.a2t-reader51 .a2t-toc-list a.active,
.a2t-reader51 .a2t-toc-list a:hover,
.a2t-reader51 .a2t-toc-list a:focus-visible {
  border-left-color: var(--reader-line-strong);
  color: var(--reader-ink);
  outline: none;
}

.a2t-reader51 .a2t-toc-list a.active::before {
  background: var(--reader-accent);
}

.a2t-reader51-side-cta {
  position: relative;
}

.a2t-reader51-side-cta h3 {
  max-width: 250px;
  margin: 0 !important;
  color: var(--reader-ink) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -.04em !important;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.a2t-reader51-side-cta p {
  max-width: 255px;
  margin: 12px 0 0 !important;
  color: var(--reader-muted) !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.a2t-reader51-side-cta > a,
.a2t-reader51-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: var(--reader-green) !important;
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.a2t-reader51-side-cta > a,
.a2t-reader51-view-all {
  transition: transform .16s ease;
}

.a2t-reader51-side-cta > a:hover,
.a2t-reader51-side-cta > a:focus-visible {
  transform: translateX(3px);
}

.a2t-reader51-related > div {
  display: grid;
  counter-reset: related-post;
}

.a2t-reader51-related > div > a {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--reader-line);
  counter-increment: related-post;
}

.a2t-reader51-related > div > a::before {
  padding-top: 2px;
  content: counter(related-post, decimal-leading-zero);
  color: var(--reader-muted-2);
  font-family: var(--reader-mono);
  font-size: 7px;
  line-height: 1.5;
}

.a2t-reader51-related strong,
.a2t-reader51-related span {
  grid-column: 2;
  display: block;
}

.a2t-reader51-related strong {
  color: #26302c;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.a2t-reader51-related span {
  margin-top: 5px;
  color: var(--reader-muted-2);
  font-family: var(--reader-mono);
  font-size: 7px;
  line-height: 1.4;
  text-transform: uppercase;
}

.a2t-reader51-related > div > a:hover strong,
.a2t-reader51-related > div > a:focus-visible strong {
  color: var(--reader-green);
}

.a2t-reader51-related > div > a:focus-visible {
  outline: 1px solid var(--reader-line-strong);
  outline-offset: 3px;
}

.a2t-reader51-related p {
  color: var(--reader-muted);
  font-size: 11px;
}

.a2t-reader51-ad > a {
  display: block;
  border: 1px solid var(--reader-line);
  background: var(--reader-paper-soft);
}

.a2t-reader51-ad img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* ---------- Discussion ---------- */
.a2t-reader51-discussion {
  padding: 82px 0 104px;
  border-top: 1px solid var(--reader-dark-line);
  background: var(--reader-ink);
  color: #e8ede9;
}

.a2t-reader51-discussion-grid {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 84px;
  align-items: start;
}

.a2t-reader51-discussion .a2t-reader51-kicker {
  color: var(--reader-accent);
}

.a2t-reader51-discussion header h2 {
  max-width: 390px;
  margin: 22px 0 0 !important;
  color: #f2f4f1 !important;
  font-size: 44px !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -.055em !important;
}

.a2t-reader51-discussion header p {
  max-width: 390px;
  margin: 18px 0 0 !important;
  color: #87928c !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.a2t-reader51 .a2t-comment-compose,
.a2t-reader51 .a2t-comment-login {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--reader-dark-line);
  background: transparent !important;
}

.a2t-reader51 .a2t-comment-compose label,
.a2t-reader51 .a2t-comment-login > span {
  display: block;
  margin-bottom: 10px;
  color: var(--reader-accent);
  font-family: var(--reader-mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.a2t-reader51 .a2t-comment-compose textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  resize: vertical;
  border: 1px solid #303a36;
  border-radius: 0;
  background: #0f1513;
  color: #e2e8e4;
  outline: none;
}

.a2t-reader51 .a2t-comment-compose textarea:focus {
  border-color: #68756f;
}

.a2t-reader51 .a2t-comment-compose > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.a2t-reader51 .a2t-comment-compose > div > span {
  color: #75817b;
  font-family: var(--reader-mono);
  font-size: 8px;
}

.a2t-reader51 .a2t-comment-compose button,
.a2t-reader51 .a2t-comment-login a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--reader-accent);
  border-radius: 0;
  background: var(--reader-accent);
  color: var(--reader-ink);
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.a2t-reader51 .a2t-comment-login h3 {
  margin: 0 !important;
  color: #edf1ee !important;
  font-size: 24px !important;
}

.a2t-reader51 .a2t-comment-login p {
  margin: 10px 0 18px !important;
  color: #85908a !important;
  font-size: 12px !important;
}

.a2t-reader51 #comments-list {
  margin-top: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .a2t-reader51-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 48px;
  }

  .a2t-reader51-header h1 {
    max-width: 900px;
    font-size: clamp(48px, 5.8vw, 64px) !important;
  }

  .a2t-reader51-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a2t-reader51-meta > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader51-meta > div:nth-child(4) {
    border-top: 1px solid var(--reader-line);
  }
}

@media (max-width: 860px) {
  .a2t-reader51-shell {
    width: min(1240px, calc(100% - 48px));
  }

  .a2t-reader51-intro {
    padding-top: 48px;
  }

  .a2t-reader52-cover-frame {
    aspect-ratio: 16 / 8.2;
  }

  .a2t-reader51-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .a2t-reader51-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .a2t-reader54-mobile-toc {
    display: block;
    margin: 0 0 46px;
    border-top: 1px solid var(--reader-line);
    border-bottom: 1px solid var(--reader-line);
  }

  .a2t-reader54-mobile-toc summary {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 0 2px;
    cursor: pointer;
    list-style: none;
  }

  .a2t-reader54-mobile-toc summary::-webkit-details-marker {
    display: none;
  }

  .a2t-reader54-mobile-toc summary > span {
    color: var(--reader-green);
    font-family: var(--reader-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .a2t-reader54-mobile-toc summary > strong {
    color: var(--reader-text);
    font-size: 12px;
    font-weight: 600;
  }

  .a2t-reader54-mobile-toc summary > i {
    color: var(--reader-muted);
    font-size: 10px;
    transition: transform .16s ease;
  }

  .a2t-reader54-mobile-toc[open] summary > i {
    transform: rotate(180deg);
  }

  .a2t-reader54-mobile-toc .a2t-toc-list {
    padding: 3px 0 18px;
  }

  .a2t-reader54-mobile-toc .a2t-toc-list a {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .a2t-reader51-aside {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader51-rail {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }

  .a2t-reader57-sticky-index {
    position: static;
    display: none;
    margin: 0;
  }

  .a2t-reader58-mobile-cta {
    display: block;
  }

  .a2t-reader51-toc {
    display: none;
  }

  .a2t-reader51-rail > section,
  .a2t-reader51-rail > section + section {
    padding: 24px 0;
    border-top: 0;
    border-bottom: 1px solid var(--reader-line);
  }

  .a2t-reader51-discussion-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .a2t-reader51-shell {
    width: calc(100% - 32px);
  }

  .a2t-reader51-intro {
    padding-top: 34px;
  }

  .a2t-reader51-header h1 {
    margin-top: 19px !important;
    font-size: clamp(39px, 11.5vw, 52px) !important;
    line-height: 1 !important;
  }

  .a2t-reader51-deck {
    margin-top: 20px !important;
    font-size: 16px !important;
  }

  .a2t-reader51-meta {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }

  .a2t-reader51-meta > div {
    padding: 13px 12px 13px 0;
  }

  .a2t-reader51-meta > div + div {
    padding-left: 12px;
  }

  .a2t-reader52-media-head {
    margin-top: 26px;
    padding-bottom: 8px;
    font-size: 8px;
  }

  .a2t-reader52-cover-frame {
    aspect-ratio: 4 / 3;
  }

  .a2t-reader51-cover img {
    max-height: none;
  }

  .a2t-reader51-share,
  .a2t-reader51-engagement {
    width: 100%;
    flex-wrap: wrap;
  }

  .a2t-reader51-body {
    padding: 48px 0 78px;
  }


  .a2t-reader51-content {
    --article-measure: 100%;
    font-size: 16px;
  }

  .a2t-reader51-content h1,
  .a2t-reader51-content h2 {
    margin-top: 52px !important;
    font-size: 34px !important;
  }

  .a2t-reader51-content h3 {
    margin-top: 38px !important;
    font-size: 25px !important;
  }

  .a2t-reader51-content h4 {
    font-size: 20px !important;
  }

  .a2t-reader51-content p {
    font-size: 16px !important;
    line-height: 1.76 !important;
  }

  .a2t-reader51-content blockquote {
    margin: 32px 0 !important;
    padding-left: 18px !important;
    font-size: 19px !important;
  }

  .a2t-reader51-content pre {
    margin: 30px 0 !important;
    padding: 17px !important;
    font-size: 12px !important;
  }

  .a2t-reader51-content .a2t-reader53-table-wrap {
    width: calc(100vw - 32px);
    max-width: 100%;
    margin: 32px 0;
  }

  .a2t-reader51-tags {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .a2t-reader51-footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .a2t-reader51-footer-actions a {
    width: 100%;
  }

  .a2t-reader54-mobile-toc {
    margin-bottom: 38px;
  }

  .a2t-reader54-mobile-toc summary {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 10px 0;
  }

  .a2t-reader54-mobile-toc summary > span {
    grid-column: 1 / -1;
  }

  .a2t-reader51-rail {
    grid-template-columns: 1fr;
  }

  .a2t-reader51-discussion {
    padding: 60px 0 76px;
  }

  .a2t-reader51-discussion header h2 {
    font-size: 36px !important;
  }

  .a2t-reader51 .a2t-comment-compose > div {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a2t-reader51 *,
  .a2t-reader51 *::before,
  .a2t-reader51 *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================== 
   Upgrade 55 — article completion + production discussion
   ========================================================================== */

.a2t-reader55-footer {
  margin-top: 78px;
  padding-top: 0;
  border-top: 1px solid var(--reader-line-strong);
}

.a2t-reader55-author {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--reader-line);
}

.a2t-reader55-author-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--reader-line-strong);
  background: var(--reader-paper-soft);
  color: var(--reader-green);
  font-family: var(--reader-mono);
  font-size: 13px;
  font-weight: 700;
}

.a2t-reader55-author-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a2t-reader55-author > div:last-child > span,
.a2t-reader55-tags > span,
.a2t-reader55-endbar-copy > span,
.a2t-reader55-post-nav a > span,
.a2t-reader55-comments-head > span,
.a2t-reader55-discussion-intro > a {
  color: #7a847f;
  font-family: var(--reader-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.a2t-reader55-author a {
  display: inline-flex;
  margin-top: 3px;
  color: var(--reader-ink);
  font-size: 15px;
  font-weight: 650;
}

.a2t-reader55-author p {
  margin: 4px 0 0 !important;
  color: #68726d !important;
  font-family: var(--reader-mono);
  font-size: 8.5px !important;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.a2t-reader55-tags {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--reader-line);
}

.a2t-reader55-tags > div {
  gap: 5px 14px;
}

.a2t-reader55-tags a {
  min-height: 0;
  padding: 0;
  border: 0;
  color: #5f6965;
  font-size: 9px;
  line-height: 1.8;
}

.a2t-reader55-tags a::before {
  content: "#";
  margin-right: 2px;
  color: var(--reader-muted-2);
}

.a2t-reader55-tags a:hover,
.a2t-reader55-tags a:focus-visible {
  border: 0;
  color: var(--reader-green);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.a2t-reader55-endbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--reader-line);
}

.a2t-reader55-endbar-copy {
  min-width: 0;
}

.a2t-reader55-endbar-copy > span {
  display: block;
  color: var(--reader-green);
}

.a2t-reader55-endbar-copy > strong {
  display: block;
  margin-top: 4px;
  color: var(--reader-text);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
}

.a2t-reader55-endbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.a2t-reader55-endbar-actions > button:not(.a2t-like-button-pro) {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--reader-line-strong);
  border-radius: 0;
  background: transparent;
  color: #56615c;
  font-family: var(--reader-mono);
  font-size: 7px;
  font-weight: 700;
}

.a2t-reader55-endbar-actions > button:not(.a2t-like-button-pro):hover,
.a2t-reader55-endbar-actions > button:not(.a2t-like-button-pro):focus-visible {
  border-color: var(--reader-green);
  color: var(--reader-green);
  outline: none;
}

.a2t-reader55-like {
  min-height: 34px !important;
  margin-left: 5px;
}

.a2t-reader55-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--reader-line);
}

.a2t-reader55-post-nav > a {
  min-width: 0;
  display: grid;
  align-content: start;
  padding: 25px 0 27px;
  color: var(--reader-text);
}

.a2t-reader55-post-nav > a + a,
.a2t-reader55-post-nav > .a2t-reader55-post-nav-empty + a {
  padding-left: 28px;
  border-left: 1px solid var(--reader-line);
}

.a2t-reader55-post-nav > a:first-child:not(:last-child) {
  padding-right: 28px;
}

.a2t-reader55-post-nav a.is-next {
  text-align: right;
}

.a2t-reader55-post-nav a > span {
  color: var(--reader-green);
}

.a2t-reader55-post-nav a > strong {
  display: -webkit-box;
  max-width: 310px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--reader-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.a2t-reader55-post-nav a.is-next > strong,
.a2t-reader55-post-nav a.is-next > small {
  justify-self: end;
}

.a2t-reader55-post-nav a > small {
  margin-top: 9px;
  color: #77817c;
  font-family: var(--reader-mono);
  font-size: 8px;
  line-height: 1.45;
  text-transform: uppercase;
}

.a2t-reader55-post-nav a:hover > strong,
.a2t-reader55-post-nav a:focus-visible > strong {
  color: var(--reader-green);
}

.a2t-reader55-post-nav a:focus-visible {
  outline: 1px solid var(--reader-green);
  outline-offset: -1px;
}

.a2t-reader55-post-nav-empty {
  display: block;
}

.a2t-reader55-back-row {
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 20px;
  border-top: 0;
}

.a2t-reader55-back-row a {
  min-height: 36px;
  padding: 0;
  border: 0;
  color: var(--reader-green);
}

.a2t-reader55-back-row a:hover,
.a2t-reader55-back-row a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: none;
}

/* Discussion now targets the actual live .comment markup. */
.a2t-reader55-discussion-intro {
  position: sticky;
  top: 104px;
}

.a2t-reader55-discussion-intro > a {
  display: inline-flex;
  margin-top: 27px;
  color: #77837c;
}

.a2t-reader55-discussion-intro > a:hover,
.a2t-reader55-discussion-intro > a:focus-visible {
  color: var(--reader-accent);
  outline: none;
}

.a2t-reader51 .a2t-comment-compose {
  padding-bottom: 24px;
}

.a2t-reader51 .a2t-comment-compose-head,
.a2t-reader51 .a2t-comment-compose-foot,
.a2t-reader51 .a2t-reply-form-head,
.a2t-reader51 .a2t-reply-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.a2t-reader51 .a2t-comment-compose-head {
  margin-top: 0;
  margin-bottom: 10px;
}

.a2t-reader51 .a2t-comment-compose-head label {
  margin: 0;
}

.a2t-reader51 .a2t-comment-compose-head > span,
.a2t-reader51 .a2t-comment-compose-foot > span,
.a2t-reader51 .a2t-reply-form-foot > span {
  color: #75817b;
  font-family: var(--reader-mono);
  font-size: 8px;
  line-height: 1.5;
}

.a2t-reader51 .a2t-comment-compose-head a {
  color: #c7d0ca;
}

.a2t-reader51 .a2t-comment-compose textarea,
.a2t-reader51 .reply-form textarea {
  width: 100%;
  min-height: 118px;
  padding: 15px 16px;
  resize: vertical;
  border: 1px solid #303a36;
  border-radius: 0;
  background: #0f1513;
  color: #e2e8e4;
  font-size: 14px;
  line-height: 1.65;
  outline: none;
}

.a2t-reader51 .a2t-comment-compose textarea::placeholder,
.a2t-reader51 .reply-form textarea::placeholder {
  color: #66716b;
}

.a2t-reader51 .a2t-comment-compose textarea:focus,
.a2t-reader51 .reply-form textarea:focus {
  border-color: #69766f;
  box-shadow: inset 2px 0 0 var(--reader-accent);
}

.a2t-reader51 .a2t-comment-compose-foot,
.a2t-reader51 .a2t-reply-form-foot {
  margin-top: 10px;
}

.a2t-reader51 .a2t-comment-compose-foot button,
.a2t-reader51 .a2t-reply-form-foot button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--reader-accent);
  border-radius: 0;
  background: var(--reader-accent);
  color: var(--reader-ink);
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.a2t-reader51 :is(.a2t-comment-compose-foot,.a2t-reply-form-foot) button:disabled,
.a2t-reader51 .reaction-btn:disabled,
.a2t-reader51 .reply-btn:disabled {
  cursor: wait;
  opacity: .55;
}

.a2t-comment-form-status {
  min-height: 16px;
  margin: 7px 0 0 !important;
  color: #829188 !important;
  font-family: var(--reader-mono);
  font-size: 8px !important;
  line-height: 1.5 !important;
}

.a2t-comment-form-status.is-error {
  color: #d79487 !important;
}

.a2t-reader55-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid #313b37;
}

.a2t-reader55-comments-head > span {
  color: var(--reader-accent);
}

.a2t-reader55-comments-head > strong {
  color: #77837c;
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
}

.a2t-reader55-comments-head > strong b {
  color: #d6ddd8;
  font-weight: 600;
}

.a2t-reader51 #comments-list {
  margin-top: 0;
}

.a2t-reader51 #comments-list:focus,
.a2t-reader51 #comments-list [tabindex="-1"]:focus {
  outline: none;
}

.a2t-reader51-discussion .comment {
  position: relative;
  padding: 25px 0 26px;
  border-bottom: 1px solid var(--reader-dark-line);
  color: #dbe2dd;
}

.a2t-reader51-discussion .comment.is-new {
  animation: a2tReader55CommentIn .38s ease both;
}

@keyframes a2tReader55CommentIn {
  from { opacity: .2; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.a2t-reader51-discussion .comment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.a2t-reader51-discussion .a2t-comment-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.a2t-reader51-discussion .a2t-comment-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid #35403b;
  background: #111815;
  color: var(--reader-accent);
  font-family: var(--reader-mono);
  font-size: 9px;
  font-weight: 700;
}

.a2t-reader51-discussion .a2t-comment-author > div {
  min-width: 0;
}

.a2t-reader51-discussion .a2t-profile-link {
  display: block;
  width: fit-content;
  color: #e0e6e2;
  font-size: 11px;
  line-height: 1.3;
}

.a2t-reader51-discussion .a2t-profile-link:hover,
.a2t-reader51-discussion .a2t-profile-link:focus-visible {
  color: var(--reader-accent);
  outline: none;
}

.a2t-reader51-discussion .a2t-comment-author small {
  display: block;
  margin-top: 3px;
  color: #68746e;
  font-family: var(--reader-mono);
  font-size: 7px;
  line-height: 1.4;
  text-transform: uppercase;
}

.a2t-reader51-discussion .a2t-comment-permalink {
  color: #58635d;
  font-family: var(--reader-mono);
  font-size: 7px;
}

.a2t-reader51-discussion .a2t-comment-permalink:hover,
.a2t-reader51-discussion .a2t-comment-permalink:focus-visible {
  color: var(--reader-accent);
  outline: none;
}

.a2t-reader51-discussion .comment-body {
  max-width: 760px;
  margin: 17px 0 0 43px;
  color: #b7c0bb;
  font-size: 13px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.a2t-reader51-discussion .comment-body :is(p,ul,ol,blockquote) {
  margin: 0 0 10px !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.a2t-reader51-discussion .comment-body > :last-child {
  margin-bottom: 0 !important;
}

.a2t-reader51-discussion .comment-body a {
  color: #b5ccb8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.a2t-reader51-discussion .comment-reactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 0 43px;
}

.a2t-reader51-discussion .a2t-comment-reaction-set {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.a2t-reader51-discussion .reaction-btn,
.a2t-reader51-discussion .reply-btn,
.a2t-reader51-discussion .reply-cancel-btn,
.a2t-reader51-discussion .comments-pagination .page-btn,
.a2t-reader51-discussion [data-comments-retry] {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid #303a36;
  border-radius: 0;
  background: transparent;
  color: #89958e;
  font-family: var(--reader-mono);
  font-size: 7px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.a2t-reader51-discussion .reaction-btn > span:first-child {
  font-family: sans-serif;
  font-size: 11px;
}

.a2t-reader51-discussion .reaction-btn b {
  color: #aeb8b2;
  font-size: 7px;
  font-weight: 600;
}

.a2t-reader51-discussion .reaction-btn:is(:hover,:focus-visible,.is-active),
.a2t-reader51-discussion .reply-btn:is(:hover,:focus-visible),
.a2t-reader51-discussion .reply-cancel-btn:is(:hover,:focus-visible),
.a2t-reader51-discussion .comments-pagination .page-btn:is(:hover,:focus-visible),
.a2t-reader51-discussion [data-comments-retry]:is(:hover,:focus-visible) {
  border-color: #65746c;
  color: #d8dfda;
  outline: none;
}

.a2t-reader51-discussion .reaction-btn.is-active {
  border-color: var(--reader-accent);
  color: var(--reader-accent);
}

.a2t-reader51-discussion .reply-btn {
  margin-left: auto;
}

.a2t-reader51-discussion .reply-form-container {
  margin: 18px 0 0 43px;
}

.a2t-reader51-discussion .reply-form {
  padding: 15px;
  border-left: 1px solid #445149;
  background: #0c1210;
}

.a2t-reader51-discussion .a2t-reply-form-head {
  margin-bottom: 9px;
}

.a2t-reader51-discussion .a2t-reply-form-head label {
  color: #aeb8b2;
  font-family: var(--reader-mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.a2t-reader51-discussion .reply-cancel-btn {
  min-height: 24px;
  padding: 0;
  border: 0;
}

.a2t-reader51-discussion .reply-form textarea {
  min-height: 92px;
}

.a2t-reader51-discussion .comment-replies {
  margin: 21px 0 0 43px;
  border-left: 1px solid #303b36;
}

.a2t-reader51-discussion .comment.is-reply {
  padding: 18px 0 18px 18px;
  border-bottom-color: #26302c;
}

.a2t-reader51-discussion .comment.is-reply:last-child {
  border-bottom: 0;
}

.a2t-reader51-discussion .comment.is-reply .comment-body,
.a2t-reader51-discussion .comment.is-reply .comment-reactions {
  margin-left: 43px;
}

.a2t-comments-empty {
  padding: 38px 0;
  border-bottom: 1px solid var(--reader-dark-line);
}

.a2t-comments-empty > span {
  display: block;
  color: var(--reader-accent);
  font-family: var(--reader-mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.a2t-comments-empty > strong {
  display: block;
  margin-top: 8px;
  color: #dce3de;
  font-size: 18px;
  font-weight: 550;
}

.a2t-comments-empty > p {
  margin: 6px 0 0 !important;
  color: #748079 !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
}

.a2t-comments-empty [data-comments-retry] {
  margin-top: 13px;
}

.a2t-comments-loading {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--reader-dark-line);
  color: #748079;
  font-family: var(--reader-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.a2t-comments-loading i {
  width: 16px;
  height: 16px;
  border: 1px solid #39443e;
  border-top-color: var(--reader-accent);
  border-radius: 50%;
  animation: a2tReader55Spin .7s linear infinite;
}

@keyframes a2tReader55Spin {
  to { transform: rotate(360deg); }
}

.a2t-reader51-discussion .comments-pagination {
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--reader-dark-line);
}

.a2t-reader51-discussion .comments-pagination > span {
  color: #66736c;
  font-family: var(--reader-mono);
  font-size: 7px;
  text-align: center;
  text-transform: uppercase;
}

.a2t-reader51-discussion .comments-pagination .page-btn:last-child {
  justify-self: end;
}

@media (max-width: 860px) {
  .a2t-reader55-discussion-intro {
    position: static;
  }

  .a2t-reader55-discussion-intro > a {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .a2t-reader55-footer {
    margin-top: 58px;
  }

  .a2t-reader55-author {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding: 21px 0;
  }

  .a2t-reader55-author-mark {
    width: 44px;
    height: 44px;
  }

  .a2t-reader55-tags {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .a2t-reader55-endbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .a2t-reader55-endbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .a2t-reader55-like {
    margin-left: auto;
  }

  .a2t-reader55-post-nav {
    grid-template-columns: 1fr;
  }

  .a2t-reader55-post-nav-empty {
    display: none;
  }

  .a2t-reader55-post-nav > a,
  .a2t-reader55-post-nav > a:first-child:not(:last-child),
  .a2t-reader55-post-nav > a + a,
  .a2t-reader55-post-nav > .a2t-reader55-post-nav-empty + a {
    padding: 21px 0;
    border-left: 0;
  }

  .a2t-reader55-post-nav > a + a {
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader55-post-nav a.is-next {
    text-align: left;
  }

  .a2t-reader55-post-nav a.is-next > strong,
  .a2t-reader55-post-nav a.is-next > small {
    justify-self: start;
  }

  .a2t-reader51 .a2t-comment-compose-head,
  .a2t-reader51 .a2t-comment-compose-foot,
  .a2t-reader51 .a2t-reply-form-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .a2t-reader51 .a2t-comment-compose-foot button,
  .a2t-reader51 .a2t-reply-form-foot button {
    width: 100%;
  }

  .a2t-reader51-discussion .comment-body,
  .a2t-reader51-discussion .comment-reactions,
  .a2t-reader51-discussion .reply-form-container,
  .a2t-reader51-discussion .comment-replies,
  .a2t-reader51-discussion .comment.is-reply .comment-body,
  .a2t-reader51-discussion .comment.is-reply .comment-reactions {
    margin-left: 0;
  }

  .a2t-reader51-discussion .comment-reactions {
    align-items: flex-start;
    flex-direction: column;
  }

  .a2t-reader51-discussion .reply-btn {
    margin-left: 0;
  }

  .a2t-reader51-discussion .comment-replies {
    margin-top: 18px;
  }

  .a2t-reader51-discussion .comment.is-reply {
    padding-left: 13px;
  }

  .a2t-reader51-discussion .comments-pagination {
    grid-template-columns: 1fr 1fr;
    padding: 13px 0;
  }

  .a2t-reader51-discussion .comments-pagination > span {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}


/* ========================================================================== 
   Upgrade 56 — Blog Detail Production Freeze
   Responsive edge cases, accessibility, long-content hardening and print.
   ========================================================================== */

.a2t-reader56-page .a2t-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.a2t-reader56-page #article-content,
.a2t-reader56-page #comments-section,
.a2t-reader56-page .comment[id] {
  scroll-margin-top: 106px;
}

.a2t-reader56-page .a2t-reader51-content {
  min-width: 0;
}

.a2t-reader56-page .a2t-reader51-content :is(p, li, dd, figcaption, blockquote, a) {
  overflow-wrap: anywhere;
}

.a2t-reader56-page .a2t-reader51-content :is(img, video, iframe, table, pre, figure) {
  max-width: 100%;
}

.a2t-reader56-page .a2t-reader51-content iframe {
  border: 0;
}

.a2t-reader56-page .a2t-reader51-content pre[tabindex="0"]:focus-visible,
.a2t-reader56-page .a2t-reader53-table-wrap[tabindex="0"]:focus-visible {
  outline: 2px solid var(--reader-accent);
  outline-offset: 3px;
}

.a2t-reader56-page .a2t-toc-list a[aria-current="location"] {
  color: var(--reader-text);
}

.a2t-reader56-page .a2t-toc-list a[aria-current="location"]::before {
  background: var(--reader-accent);
}

.a2t-reader56-page .a2t-heading-chain:focus-visible {
  opacity: 1;
  outline: 2px solid var(--reader-accent);
  outline-offset: 3px;
}

.a2t-reader56-page .a2t-reader51-share button,
.a2t-reader56-page .a2t-reader55-endbar-actions button,
.a2t-reader56-page .a2t-like-button-pro,
.a2t-reader56-page .reaction-btn,
.a2t-reader56-page .reply-btn,
.a2t-reader56-page .reply-cancel-btn,
.a2t-reader56-page .comments-pagination .page-btn,
.a2t-reader56-page [data-comments-retry] {
  touch-action: manipulation;
}

.a2t-reader56-page .a2t-reply-load-error {
  margin-top: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--reader-line);
  color: var(--reader-muted);
  font-size: 12px;
}

.a2t-reader56-page .a2t-reply-load-error button {
  margin-left: 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  background: transparent;
  color: var(--reader-text);
  font: inherit;
  cursor: pointer;
}

.a2t-reader56-page .a2t-reply-load-error button:focus-visible {
  outline: 2px solid var(--reader-accent);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .a2t-reader56-page .a2t-reader51-shell {
    width: calc(100% - 24px);
  }

  .a2t-reader56-page .a2t-reader51-header h1 {
    font-size: clamp(34px, 11.2vw, 44px) !important;
  }

  .a2t-reader56-page .a2t-reader51-meta {
    grid-template-columns: 1fr;
  }

  .a2t-reader56-page .a2t-reader51-meta > div,
  .a2t-reader56-page .a2t-reader51-meta > div + div,
  .a2t-reader56-page .a2t-reader51-meta > div:nth-child(3),
  .a2t-reader56-page .a2t-reader51-meta > div:nth-child(4) {
    padding: 11px 0;
    border-left: 0;
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader56-page .a2t-reader51-meta > div:first-child {
    border-top: 0;
  }

  .a2t-reader56-page .a2t-reader51-share > div,
  .a2t-reader56-page .a2t-reader55-endbar-actions {
    width: 100%;
  }

  .a2t-reader56-page .a2t-reader55-endbar-actions > button:not(.a2t-like-button-pro) {
    flex: 0 0 38px;
  }

  .a2t-reader56-page .a2t-reader55-like {
    min-width: 0;
    flex: 1 1 120px;
  }

  .a2t-reader56-page .a2t-reader51-content .a2t-reader53-table-wrap {
    width: calc(100vw - 24px);
  }

  .a2t-reader56-page .a2t-reader51-discussion header h2 {
    font-size: 32px !important;
  }
}

@media (prefers-contrast: more) {
  .a2t-reader56-page .a2t-reader51,
  .a2t-reader56-page .a2t-reader51-discussion {
    --reader-line: rgba(255,255,255,.24);
    --reader-line-strong: rgba(255,255,255,.4);
  }

  .a2t-reader56-page :is(a, button, summary, textarea):focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 3px !important;
  }
}

@media (forced-colors: active) {
  .a2t-reader56-page .a2t-reader51-cover,
  .a2t-reader56-page .a2t-reader51-meta,
  .a2t-reader56-page .a2t-reader55-endbar,
  .a2t-reader56-page .comment,
  .a2t-reader56-page .a2t-comment-compose {
    border-color: CanvasText;
  }

  .a2t-reader56-page .a2t-toc-list a[aria-current="location"] {
    forced-color-adjust: auto;
  }
}

@media print {
  .a2t-reader56-page .a2t-site-header,
  .a2t-reader56-page .a2t-footer,
  .a2t-reader56-page .a2t-reader51-toolbar,
  .a2t-reader56-page .a2t-reader54-mobile-toc,
  .a2t-reader56-page .a2t-reader51-aside,
  .a2t-reader56-page .a2t-reader55-endbar,
  .a2t-reader56-page .a2t-reader55-post-nav,
  .a2t-reader56-page .a2t-reader55-back-row,
  .a2t-reader56-page .a2t-reader51-discussion,
  .a2t-reader56-page .a2t-heading-chain {
    display: none !important;
  }

  .a2t-reader56-page,
  .a2t-reader56-page .a2t-reader51,
  .a2t-reader56-page .a2t-reader51-intro,
  .a2t-reader56-page .a2t-reader51-body {
    background: #fff !important;
    color: #000 !important;
  }

  .a2t-reader56-page .a2t-reader51-shell,
  .a2t-reader56-page .a2t-reader51-layout,
  .a2t-reader56-page .a2t-reader51-article {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
  }

  .a2t-reader56-page .a2t-reader51-content,
  .a2t-reader56-page .a2t-reader51-content :is(h1,h2,h3,h4,p,li,blockquote,figcaption),
  .a2t-reader56-page .a2t-reader51-header :is(h1,p),
  .a2t-reader56-page .a2t-reader55-author :is(a,p,strong) {
    color: #000 !important;
  }

  .a2t-reader56-page .a2t-reader51-cover img,
  .a2t-reader56-page .a2t-reader51-content img {
    break-inside: avoid;
  }

  .a2t-reader56-page .a2t-reader51-content a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: .75em;
    font-weight: 400;
    word-break: break-all;
  }
}

/* ========================================================================== 
   Upgrade 91 — Blog reader small-device production pass
   Reader/list touch geometry and 320px long-content hardening.
   ========================================================================== */

@media (max-width: 760px) {
  .a2t-reader51-shell {
    width: calc(100% - 32px);
  }

  .a2t-reader51-intro {
    padding-top: 30px;
  }

  .a2t-reader51-header h1 {
    margin-top: 17px !important;
    font-size: clamp(36px, 10.6vw, 48px) !important;
    line-height: 1 !important;
    letter-spacing: -.052em !important;
    overflow-wrap: anywhere;
  }

  .a2t-reader51-deck {
    margin-top: 17px !important;
    font-size: 16px !important;
    line-height: 1.66 !important;
  }

  .a2t-reader51-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
  }

  .a2t-reader51-meta > div {
    min-height: 62px;
    padding: 11px 11px 11px 0;
  }

  .a2t-reader51-meta > div + div {
    padding-left: 11px;
  }

  .a2t-reader51-meta > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader51-meta > div:nth-child(4) {
    border-left: 1px solid var(--reader-line);
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader51-meta span {
    font-size: 8px;
  }

  .a2t-reader51-meta strong,
  .a2t-reader51-meta a,
  .a2t-reader51-meta time {
    font-size: 12px;
    line-height: 1.35;
  }

  .a2t-reader52-media-head {
    margin-top: 22px;
  }

  .a2t-reader52-cover-frame {
    aspect-ratio: 4 / 3;
  }

  .a2t-reader51-cover figcaption {
    padding-top: 8px;
    font-size: 9.5px;
  }

  .a2t-reader51-toolbar {
    gap: 13px;
    padding: 12px 0 14px;
  }

  .a2t-reader51-share,
  .a2t-reader51-engagement {
    width: 100%;
    gap: 9px;
  }

  .a2t-reader51-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .a2t-reader51-share > div {
    width: 100%;
    gap: 6px;
    flex-wrap: wrap;
  }

  .a2t-reader51-share button,
  .a2t-reader51 .a2t-like-button-pro,
  .a2t-reader55-endbar-actions > button:not(.a2t-like-button-pro) {
    min-width: 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .a2t-reader51 .a2t-like-button-pro {
    width: auto;
    min-width: 118px;
  }

  .a2t-reader51-engagement {
    align-items: center;
    flex-wrap: wrap;
  }

  .a2t-reader51-engagement > span,
  .a2t-reader51-engagement > a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  .a2t-reader51-body {
    padding: 38px 0 66px;
  }

  .a2t-reader54-mobile-toc {
    margin-bottom: 30px;
  }

  .a2t-reader54-mobile-toc summary {
    min-height: 54px;
    padding: 9px 0;
  }

  .a2t-reader54-mobile-toc .a2t-toc-list {
    max-height: min(48dvh, 360px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }

  .a2t-reader54-mobile-toc .a2t-toc-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .a2t-reader51-content {
    --article-measure: 100%;
    font-size: 16px;
    line-height: 1.74;
  }

  .a2t-reader51-content h1,
  .a2t-reader51-content h2 {
    margin: 48px 0 17px !important;
    font-size: clamp(29px, 8.8vw, 34px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.045em !important;
  }

  .a2t-reader51-content h3 {
    margin: 35px 0 13px !important;
    font-size: 24px !important;
    line-height: 1.16 !important;
  }

  .a2t-reader51-content h4 {
    margin: 29px 0 11px !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  .a2t-reader51-content :is(h5,h6) {
    margin-top: 25px !important;
    font-size: 10px !important;
  }

  .a2t-reader51-content p {
    margin-bottom: 21px !important;
    font-size: 16px !important;
    line-height: 1.74 !important;
  }

  .a2t-reader51-content :is(ul,ol) {
    padding-left: 22px !important;
  }

  .a2t-reader51-content li {
    margin: 7px 0;
    padding-left: 2px;
    line-height: 1.68;
  }

  .a2t-reader51-content blockquote {
    margin: 29px 0 !important;
    padding-left: 16px !important;
    font-size: 18px !important;
    line-height: 1.58 !important;
  }

  .a2t-reader51-content > img,
  .a2t-reader51-content figure,
  .a2t-reader51-content .a2t-reader53-embed,
  .a2t-reader51-content pre,
  .a2t-reader51-content .a2t-reader53-table-wrap {
    margin-top: 29px !important;
    margin-bottom: 29px !important;
  }

  .a2t-reader51-content figcaption,
  .a2t-reader51-content .wp-caption-text {
    font-size: 10px !important;
    line-height: 1.55 !important;
  }

  .a2t-reader51-content pre {
    max-width: 100%;
    padding: 16px !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    font-size: 12px !important;
    line-height: 1.62 !important;
  }

  .a2t-reader51-content :not(pre) > code {
    overflow-wrap: anywhere;
  }

  .a2t-reader51-content .a2t-reader53-table-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .a2t-reader51-content .a2t-reader53-table-wrap.has-horizontal-overflow::before {
    position: sticky;
    z-index: 2;
    left: 0;
    display: block;
    width: max-content;
    padding: 8px 0 7px;
    content: "Swipe table →";
    color: var(--reader-green);
    background: var(--reader-paper);
    font-family: var(--reader-mono);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity .16s ease;
  }

  .a2t-reader51-content .a2t-reader53-table-wrap.has-horizontal-overflow.is-scrolled::before {
    opacity: 0;
  }

  .a2t-reader51-content table {
    min-width: 520px;
    font-size: 13px;
  }

  .a2t-reader51-content th,
  .a2t-reader51-content td {
    padding: 11px 10px;
  }

  .a2t-reader51-content :is(.callout,.note,.info-box,.tip,.warning) {
    margin: 27px 0 !important;
    padding: 15px 16px !important;
  }

  .a2t-reader51 .a2t-heading-chain {
    min-width: 32px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    opacity: .65;
  }

  .a2t-reader55-footer {
    margin-top: 48px;
  }

  .a2t-reader55-author {
    padding: 19px 0;
  }

  .a2t-reader55-author > div:last-child p {
    line-height: 1.55;
  }

  .a2t-reader55-tags a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .a2t-reader55-endbar {
    gap: 16px;
    padding: 18px 0;
  }

  .a2t-reader55-endbar-actions {
    width: 100%;
    gap: 6px;
    flex-wrap: wrap;
  }

  .a2t-reader55-like {
    min-width: 118px !important;
    margin-left: auto;
  }

  .a2t-reader55-post-nav > a {
    min-height: 100px;
    display: grid;
    align-content: center;
  }

  .a2t-reader55-post-nav strong {
    overflow-wrap: anywhere;
  }

  .a2t-reader55-back-row a,
  .a2t-reader51-side-cta > a,
  .a2t-reader51-view-all {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .a2t-reader51-rail {
    gap: 0;
  }

  .a2t-reader51-rail > section,
  .a2t-reader51-rail > section + section {
    padding: 22px 0;
  }

  .a2t-reader51-related > div > a {
    min-height: 74px;
    align-content: center;
  }

  .a2t-reader51-related strong {
    font-size: 13px;
  }

  .a2t-reader51-related span {
    font-size: 8px;
  }

  .a2t-reader51-discussion {
    padding: 54px 0 70px;
  }

  .a2t-reader51-discussion-grid {
    gap: 34px;
  }

  .a2t-reader51-discussion header h2 {
    font-size: clamp(32px, 9.4vw, 38px) !important;
  }

  .a2t-reader51-discussion header p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .a2t-reader51 .a2t-comment-compose textarea,
  .a2t-reader51 .reply-form textarea {
    min-height: 116px;
    padding: 14px;
    font-size: 16px;
    line-height: 1.55;
  }

  .a2t-reader51 .a2t-comment-compose-foot button,
  .a2t-reader51 .a2t-reply-form-foot button,
  .a2t-reader51-discussion .reaction-btn,
  .a2t-reader51-discussion .reply-btn,
  .a2t-reader51-discussion .reply-cancel-btn,
  .a2t-reader51-discussion .comments-pagination .page-btn,
  .a2t-reader51-discussion [data-comments-retry] {
    min-height: 44px;
  }

  .a2t-reader55-comments-head {
    align-items: flex-start;
    gap: 6px;
    flex-direction: column;
  }

  .a2t-reader55-comments-head > strong {
    font-size: 9px;
  }

  .a2t-reader51-discussion .comment {
    padding: 22px 0;
  }

  .a2t-reader51-discussion .a2t-comment-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .a2t-reader51-discussion .a2t-profile-link {
    font-size: 12px;
  }

  .a2t-reader51-discussion .a2t-comment-author small,
  .a2t-reader51-discussion .a2t-comment-permalink {
    font-size: 8px;
  }

  .a2t-reader51-discussion .comment-body,
  .a2t-reader51-discussion .comment-reactions,
  .a2t-reader51-discussion .reply-form-container,
  .a2t-reader51-discussion .comment-replies,
  .a2t-reader51-discussion .comment.is-reply .comment-body,
  .a2t-reader51-discussion .comment.is-reply .comment-reactions {
    margin-left: 0;
  }

  .a2t-reader51-discussion .comment-body {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.68;
  }

  .a2t-reader51-discussion .comment-reactions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .a2t-reader51-discussion .a2t-comment-reaction-set {
    gap: 6px;
  }

  .a2t-reader51-discussion .reaction-btn,
  .a2t-reader51-discussion .reply-btn {
    font-size: 8px;
  }

  .a2t-reader51-discussion .reply-btn {
    margin-left: 0;
  }

  .a2t-reader51-discussion .comment-replies {
    margin-top: 17px;
    padding-left: 10px;
    border-left-color: #3a4741;
  }

  .a2t-reader51-discussion .comment.is-reply {
    padding: 17px 0 17px 10px;
  }

  .a2t-reader51-discussion .reply-form {
    padding: 13px;
  }

  .a2t-reader51-discussion .comments-pagination {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 13px 0;
  }

  .a2t-reader51-discussion .comments-pagination > span {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 8px;
  }

  .a2t-reader51-discussion .comments-pagination .page-btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .a2t-reader51-shell {
    width: calc(100% - 32px);
  }

  .a2t-reader51-header h1 {
    font-size: clamp(34px, 10.8vw, 42px) !important;
  }

  /* Keep article metadata compact at phone widths instead of a four-row stack. */
  .a2t-reader56-page .a2t-reader51-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a2t-reader56-page .a2t-reader51-meta > div,
  .a2t-reader56-page .a2t-reader51-meta > div + div,
  .a2t-reader56-page .a2t-reader51-meta > div:nth-child(3),
  .a2t-reader56-page .a2t-reader51-meta > div:nth-child(4) {
    padding: 11px 10px 11px 0;
    border-left: 0;
  }

  .a2t-reader56-page .a2t-reader51-meta > div:nth-child(even) {
    padding-left: 10px;
    border-left: 1px solid var(--reader-line);
  }

  .a2t-reader56-page .a2t-reader51-meta > div:nth-child(n+3) {
    border-top: 1px solid var(--reader-line);
  }

  .a2t-reader51-toolbar > div > span,
  .a2t-reader51-engagement > span,
  .a2t-reader51-engagement > a {
    font-size: 8px;
  }

  .a2t-reader51-content h1,
  .a2t-reader51-content h2 {
    font-size: 29px !important;
  }

  .a2t-reader51-content h3 {
    font-size: 23px !important;
  }

  .a2t-reader51-content pre {
    padding: 14px !important;
  }

  .a2t-reader55-endbar-actions {
    display: grid;
    grid-template-columns: repeat(4, 44px) minmax(0, 1fr);
  }

  .a2t-reader55-like {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0;
  }

  .a2t-reader51-discussion .comment-header {
    gap: 9px;
  }

  .a2t-reader51-discussion .a2t-comment-permalink {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
  }
}

@media (max-width: 349px) {
  .a2t-reader51-shell {
    width: calc(100% - 28px);
  }

  .a2t-reader51-header h1 {
    font-size: 33px !important;
  }

  .a2t-reader51-meta strong,
  .a2t-reader51-meta a,
  .a2t-reader51-meta time {
    font-size: 11px;
  }

  .a2t-reader55-endbar-actions {
    grid-template-columns: repeat(4, 42px);
  }

  .a2t-reader55-endbar-actions > button:not(.a2t-like-button-pro) {
    width: 42px;
    min-width: 42px;
  }

  .a2t-reader55-like {
    grid-column: 1 / -1;
    min-height: 44px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .a2t-reader51-side-cta > a,
  .a2t-reader51-view-all {
    transition: none;
  }

  .a2t-reader51-side-cta > a:hover,
  .a2t-reader51-side-cta > a:focus-visible {
    transform: none;
  }
}
