.reader-subscribe, .reader-comments { padding: 42px 0; border-top: 1px solid var(--note-line); }
.reader-subscribe { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; }
.reader-kicker { color: var(--note-accent); font: 700 12px/1.4 'Fira Code', monospace; }
.reader-subscribe h2, .reader-comments h2, .reader-unsubscribe h2 { color: var(--note-text); font-size: 28px; line-height: 1.2; margin: 14px 0; }
.reader-intro p, .reader-description { color: var(--note-body); font-size: 16px; line-height: 1.65; }
.reader-form { display: grid; gap: 18px; }
.reader-form label { display: grid; gap: 9px; color: var(--note-text); font-size: 14px; }
.reader-form input:not([type=checkbox]), .reader-form textarea { width: 100%; box-sizing: border-box; padding: 13px 15px; background: rgba(10, 22, 29, .64); border: 1px solid var(--note-line); border-radius: 8px; color: var(--note-text); font: 16px/1.5 Inter, sans-serif; }
.reader-form input:focus, .reader-form textarea:focus { outline: 2px solid var(--note-accent); outline-offset: 3px; }
.reader-form textarea { resize: vertical; min-height: 136px; }
.reader-form fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.reader-form legend { color: var(--note-text); font-size: 14px; margin-bottom: 12px; }
.reader-topics { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.reader-topics label, .reader-form .reader-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--note-body); }
.reader-form input[type=checkbox] { accent-color: var(--note-accent); width: 16px; height: 16px; flex-shrink: 0; margin: 2px 0 0; }
.reader-form button, .reader-unsubscribe button { justify-self: start; min-height: 44px; padding: 12px 22px; border: 0; border-radius: 8px; background: var(--note-accent); color: #062820; font: 700 14px/1.4 Inter, sans-serif; cursor: pointer; }
.reader-form button:disabled { opacity: .65; cursor: wait; }
.reader-status { min-height: 22px; margin: 0; color: var(--note-body); font-size: 14px; line-height: 1.6; }
.reader-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reader-form-end { display: flex; align-items: center; gap: 20px; }
.reader-form-end small { max-width: 280px; color: var(--note-muted); font-size: 12px; line-height: 1.5; }
.reader-comment-list { margin: 30px 0; }
.reader-comments { padding: 28px 0; }
.reader-comments h2 { font-size: 24px; margin: 0 0 8px; }
.reader-comments .reader-description { margin: 0 0 16px; font-size: 14px; }
.reader-comments .reader-comment-list { margin: 18px 0; }
.reader-comments .reader-form { gap: 12px; }
.reader-comments .reader-form label { gap: 6px; }
.reader-comments .reader-form textarea { min-height: 96px; }
.reader-comments .reader-form input { padding-block: 10px; }
.reader-comments .reader-status:empty { display: none; }
.reader-comment { padding: 22px 0; border-bottom: 1px solid var(--note-line); }
.reader-comment header { display: flex; align-items: center; gap: 12px; color: var(--note-text); }
.reader-comment time { color: var(--note-muted); font-size: 12px; }
.reader-comment p { color: var(--note-body); font-size: 16px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.reader-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--note-line); border-radius: 8px; color: var(--note-accent); background: color-mix(in srgb, var(--note-accent) 9%, transparent); font-weight: 600; }
.reader-author { display: grid; gap: 5px; overflow-wrap: anywhere; }
.reader-comment-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.reader-comment-actions button, .reader-more-replies { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--note-line); border-radius: 8px; background: transparent; color: var(--note-body); font: 500 13px/1.4 Inter, sans-serif; cursor: pointer; }
.reader-comment-actions button:hover, .reader-comment-actions button[aria-pressed=true] { color: var(--note-accent); border-color: var(--note-accent); background: color-mix(in srgb, var(--note-accent) 8%, transparent); }
.reader-reaction[data-reaction=like] { --reaction-color: #70ddbe; }
.reader-reaction[data-reaction=dislike] { --reaction-color: #eea19c; }
.reader-comment-actions .reader-reaction { color: var(--reaction-color); }
.reader-comment-actions .reader-reaction:hover,
.reader-comment-actions .reader-reaction[aria-pressed=true] { color: var(--reaction-color); border-color: var(--reaction-color); background: color-mix(in srgb, var(--reaction-color) 12%, transparent); }
.reader-comment-actions button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html[data-theme=light] .reader-reaction[data-reaction=like] { --reaction-color: #16745c; }
html[data-theme=light] .reader-reaction[data-reaction=dislike] { --reaction-color: #a33e3b; }
.reader-comment-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.thumb-down { transform: rotate(180deg); }
.reader-reaction-count { min-width: 1ch; font-variant-numeric: tabular-nums; }
.reader-replies { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--note-line); }
.reader-replies:empty { display: none; }
.reader-comment-reply { margin-top: 24px; padding-top: 0; border-bottom: 0; }
.reader-reply-reference { display: inline-block; margin-top: 16px; color: var(--note-accent); font-size: 13px; }
.reader-comment { scroll-margin-top: 100px; }
.reader-comment:target, .reader-just-published { border-bottom-color: var(--note-accent); }
.reader-reply-context { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-left: 2px solid var(--note-accent); padding-left: 14px; color: var(--note-accent); font-size: 14px; }
.reader-form .reader-reply-context button { background: transparent; color: var(--note-body); font-weight: 500; padding: 8px; }
.reader-discussion-status, .reader-subscribe-consent { color: var(--note-muted); font-size: 13px; line-height: 1.6; }
.reader-discussion-status:empty { display: none; }
.reader-more-replies { margin: 12px 0 0 40px; }
@media(max-width:480px) { .reader-replies { margin-left: 6px; padding-left: 12px; } .reader-comment-actions { gap: 5px; } .reader-comment-actions button { padding: 8px; } }
.reader-empty { color: var(--note-muted); font-size: 14px; }
.reader-more { color: var(--note-accent); background: transparent; border: 1px solid var(--note-line); padding: 12px; border-radius: 8px; cursor: pointer; margin-bottom: 24px; }
.reader-form .reader-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reader-preview { color: var(--note-muted); border-left: 2px solid var(--note-accent); padding-left: 16px; font-size: 13px; line-height: 1.6; }
.reader-preview a, .reader-form a { color: var(--note-accent); }
.reader-verify { padding: 20px 0; border-top: 1px solid var(--note-line); display: grid; gap: 16px; }
.reader-verify p { color: var(--note-body); font-size: 14px; }
.reader-form .reader-edit { background: transparent; color: var(--note-accent); padding-left: 0; }
.reader-unsubscribe { padding: 30px 0; color: var(--note-body); }
.share-button svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.share-button { gap: 8px; min-height: 44px; }
.share-copy-link { min-width: 118px; }
.share-preview-notice, .share-status { color: var(--note-muted); font-size: 13px; line-height: 1.6; }
.share-status:empty { display: none; }
html[data-theme=light] .reader-form input:not([type=checkbox]), html[data-theme=light] .reader-form textarea { background: rgba(255,255,255,.65); }
html[data-theme=light] .reader-form button, html[data-theme=light] .reader-unsubscribe button { color: white; }
html[data-theme=light] .reader-form .reader-edit { color: var(--note-accent); }
[hidden] { display: none !important; }
@media(max-width:700px) {
  .reader-subscribe { grid-template-columns: 1fr; gap: 22px; }
  .reader-fields { grid-template-columns: 1fr; }
  .reader-form-end { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reader-subscribe h2, .reader-comments h2 { font-size: 25px; }
}

.reader-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.reader-subscribe { padding: 18px 0; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 16px; }
.reader-subscribe h2 { font-size: 18px; margin: 0; }
.reader-subscribe .reader-form { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; }
.reader-subscribe .reader-subscribe-consent, .reader-subscribe .reader-status, .reader-subscribe .reader-verify { grid-column: 1 / -1; }
.reader-subscribe-consent { font-size: 11px; line-height: 1.4; }
.reader-status:empty { display: none; }
.reader-comments { padding: 18px 0; }
.reader-comments h2 { font-size: 20px; margin: 0 0 10px; }
.reader-comments .reader-comment-list { margin: 0 0 12px; }
.reader-comment { padding: 12px 0; }
.reader-comment p { margin: 8px 0; font-size: 14px; line-height: 1.5; }
.reader-comment header { gap: 8px; font-size: 13px; }
.reader-avatar { width: 30px; height: 30px; }
.reader-comments .reader-form { gap: 8px; }
.reader-comments .reader-form textarea { min-height: 64px; padding: 9px 12px; }
.reader-comments .reader-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.reader-comments .reader-form-end { flex-direction: row; align-items: center; gap: 12px; }
.reader-form-end small { font-size: 11px; line-height: 1.4; }
.reader-form button { padding: 10px 14px; white-space: nowrap; }
.reader-composer > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; color: var(--note-accent); font-size: 14px; list-style: none; }
.reader-composer > summary::before { content: '+'; font-size: 20px; }
.reader-composer[open] > summary::before { content: '-'; }
.reader-composer > summary::-webkit-details-marker { display: none; }
.reader-composer > summary:focus-visible { outline: 2px solid var(--note-accent); outline-offset: 2px; }
.reader-composer[open] .reader-form { margin-top: 8px; }
.article-share { display: block; padding: 10px 0; margin: 0 0 24px; }
.article-share .share-actions { justify-content: flex-start; gap: 6px; }
.share-actions > a { width: 44px; height: 44px; padding: 0; }
.share-actions .share-copy-link { min-width: 44px; width: 44px; height: 44px; padding: 0; }
@media(max-width:700px) { .reader-subscribe { grid-template-columns: 1fr; gap: 10px; } }
.reader-comments .reader-form:not(.is-writing) .reader-fields,
.reader-comments .reader-form:not(.is-writing) .reader-form-end { display: none; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 0; }
.article-like { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 60px; min-height: 44px; padding: 0 8px; border: 1px solid var(--note-line); border-radius: 6px; color: var(--note-body); background: transparent; cursor: pointer; font: 600 13px/1 Inter, sans-serif; }
.article-like svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.article-like[aria-pressed=true] { color: #e8999f; }
.article-like[aria-pressed=true] svg { fill: currentColor; }
.article-like:focus-visible { outline: 2px solid var(--note-accent); outline-offset: 2px; }
.article-like:disabled { opacity: .5; cursor: wait; }
.article-like-status { flex-basis: 100%; font-size: 12px; color: var(--note-muted); margin: 0; }
.article-like-status:empty { display: none; }
@media(max-width:380px) { .article-share .share-actions { gap: 0; } .article-share { gap: 0; } .article-like { min-width: 48px; padding: 0 3px; } }
