/* Neural Critic stability guards + final product polish.
   Structural rules stay here because this layer loads after the consolidated
   community stack and can safely normalize the public product UI. */

/* The stable thread replaces the original Work-era thread heading/control row. */
#reader-thread.standard-thread .thread-head>div:first-child>span,
#reader-thread.standard-thread .thread-head>div:first-child>h2,
#reader-thread.standard-thread .thread-head-right,
#reader-thread.standard-thread .thread-prompt{display:none!important}
#reader-thread.standard-thread{min-height:0!important;height:auto!important}
#reader-thread.standard-thread .standard-thread-shell{min-height:0!important}
#reader-thread.standard-thread .community-login-note{
  grid-column:1/-1!important;
  margin:0 0 4px!important;
  padding:8px 10px!important;
  border-color:#3e474c!important;
  border-radius:7px!important;
  background:#171a1c!important;
  color:#b8c0c5!important;
  font-size:10px!important
}
#reader-thread.standard-thread .community-login-note button{color:#5ce6f9!important}

/* Shared publication chrome should not create horizontal page overflow. */
#shared-header,.header,.publication-nav{min-width:0}
.publication-nav .nav-menu{box-sizing:border-box}

/* Long editorial/user text must never force cards wider than their grid. */
.article-body,.work-side-card,.category-feed-copy,.community-comment,.subscriber-card,.studio-panel{min-width:0}
.community-comment-body,.category-feed-copy h3,.work-side-card a{overflow-wrap:anywhere}

/* Consistent keyboard focus for the new navigation and community controls. */
.publication-nav a:focus-visible,.publication-nav button:focus-visible,
#reader-thread button:focus-visible,#reader-thread select:focus-visible,#reader-thread textarea:focus-visible,
.reader-auth-card button:focus-visible,.reader-auth-card input:focus-visible{
  outline:2px solid #55e7ff!important;outline-offset:2px!important
}

/* --------------------------------------------------------------------------
   READER PRODUCT MILESTONE — ACCOUNT + COMMUNITY
   Modern editorial surfaces; NeuralHustle neon only signals identity/action.
   -------------------------------------------------------------------------- */
:root{
  --nc-community-cyan:#52e2f7;
  --nc-community-violet:#7768ff;
  --nc-community-purple:#a56cff;
}

/* Header account state */
header .reader-account-button{
  box-sizing:border-box!important;
  min-height:38px!important;
  padding:0 14px!important;
  gap:8px!important;
  border:1px solid rgba(126,139,166,.28)!important;
  border-radius:999px!important;
  background:rgba(12,17,31,.68)!important;
  color:#c8d0df!important;
  box-shadow:none!important;
  font:750 9px/1 Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
  letter-spacing:.035em!important;
  transition:border-color .2s,background .2s,color .2s,transform .2s!important;
}
header .reader-account-button:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(82,226,247,.52)!important;
  background:linear-gradient(110deg,rgba(82,226,247,.07),rgba(119,104,255,.08))!important;
  color:#f7f9ff!important;
}
header .reader-account-button:not(.signed-in) .reader-account-dot{display:none!important}
header .reader-account-button.signed-in{padding-left:7px!important}
header .reader-account-button.signed-in .reader-account-dot.reader-account-avatar{
  width:25px!important;height:25px!important;flex-basis:25px!important;
  border:1px solid rgba(82,226,247,.62)!important;
  box-shadow:0 0 0 3px rgba(82,226,247,.045)!important;
}

/* Reader sign-in/account modal */
.reader-auth-modal{
  padding:22px!important;
  background:rgba(3,7,17,.74)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  backdrop-filter:blur(18px)!important;
}
.reader-auth-card{
  position:relative!important;
  width:min(440px,100%)!important;
  padding:28px!important;
  overflow:hidden!important;
  border:1px solid rgba(124,142,255,.26)!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(119,104,255,.13),transparent 34%),
    radial-gradient(circle at 0% 100%,rgba(82,226,247,.055),transparent 42%),
    linear-gradient(155deg,#111728,#090e1b 72%)!important;
  box-shadow:0 32px 100px rgba(0,0,0,.46)!important;
  color:#f5f7ff!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
.reader-auth-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,var(--nc-community-cyan),var(--nc-community-violet),transparent 78%);
}
.reader-auth-close{
  top:14px!important;right:14px!important;
  display:grid!important;place-items:center!important;
  width:32px!important;height:32px!important;
  padding:0!important;
  border:1px solid rgba(126,139,166,.24)!important;
  border-radius:50%!important;
  background:rgba(8,13,25,.56)!important;
  color:#909caf!important;
  font:600 13px/1 Inter,sans-serif!important;
  transition:border-color .2s,color .2s,background .2s!important;
}
.reader-auth-close:hover{border-color:rgba(82,226,247,.46)!important;color:#fff!important;background:rgba(82,226,247,.06)!important}
.reader-auth-card>small{
  display:block!important;
  padding-right:42px!important;
  color:var(--nc-community-cyan)!important;
  font:800 8px/1 Inter,sans-serif!important;
  letter-spacing:.17em!important;
}
.reader-auth-card h2{
  margin:9px 0 8px!important;
  color:#f7f9ff!important;
  font:700 29px/1.02 Inter,sans-serif!important;
  letter-spacing:-.045em!important;
}
.reader-auth-card>p{
  max-width:360px!important;
  margin:0 0 20px!important;
  color:#9aa6b9!important;
  font:450 11.5px/1.58 Inter,sans-serif!important;
  letter-spacing:-.01em!important;
}
.reader-auth-tabs{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:4px!important;
  margin:0 0 14px!important;
  padding:4px!important;
  border:1px solid rgba(126,139,166,.18)!important;
  border-radius:12px!important;
  background:#080d19!important;
}
.reader-auth-tabs button{
  min-height:34px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#7f8ba0!important;
  font:800 8px/1 Inter,sans-serif!important;
  letter-spacing:.07em!important;
}
.reader-auth-tabs button.active{
  border:1px solid rgba(82,226,247,.28)!important;
  background:linear-gradient(110deg,rgba(82,226,247,.10),rgba(119,104,255,.11))!important;
  color:var(--nc-community-cyan)!important;
  box-shadow:none!important;
}
.reader-auth-form{gap:9px!important}
.reader-auth-form input{
  box-sizing:border-box!important;
  min-height:46px!important;
  padding:0 13px!important;
  border:1px solid rgba(126,139,166,.24)!important;
  border-radius:10px!important;
  background:#080d19!important;
  color:#f5f7ff!important;
  font:450 12px/1 Inter,sans-serif!important;
  transition:border-color .2s,box-shadow .2s,background .2s!important;
}
.reader-auth-form input::placeholder{color:#6f7b91!important}
.reader-auth-form input:focus{
  border-color:rgba(82,226,247,.58)!important;
  background:#0a1020!important;
  box-shadow:0 0 0 3px rgba(82,226,247,.055)!important;
}
.reader-auth-form button[type="submit"]{
  min-height:44px!important;
  margin-top:2px!important;
  border:1px solid rgba(82,226,247,.30)!important;
  border-radius:10px!important;
  background:linear-gradient(105deg,#6d61ff 0%,#4b9af8 52%,#49d9ed 100%)!important;
  color:#fff!important;
  box-shadow:0 10px 28px rgba(83,112,255,.15)!important;
  font:800 8.5px/1 Inter,sans-serif!important;
  letter-spacing:.08em!important;
}
.reader-auth-status{margin-top:11px!important;color:#8794a8!important;font:500 9px/1.45 Inter,sans-serif!important}
.reader-auth-status.success{color:#64dfb2!important}.reader-auth-status.error{color:#ff8fa2!important}
.reader-auth-signout{
  width:100%!important;
  min-height:38px!important;
  margin-top:14px!important;
  border:1px solid rgba(255,117,139,.24)!important;
  border-radius:9px!important;
  background:rgba(255,113,135,.035)!important;
  color:#d98a98!important;
  font:800 8px/1 Inter,sans-serif!important;
  letter-spacing:.07em!important;
}

/* Signed-in profile editor should feel native to the modal, not nested UI. */
.reader-profile-editor{
  gap:13px!important;
  margin-top:18px!important;
  padding:18px 0 0!important;
  border:0!important;
  border-top:1px solid rgba(126,139,166,.20)!important;
  border-radius:0!important;
  background:transparent!important;
}
.reader-profile-head{gap:12px!important}
.reader-profile-head img{
  width:56px!important;height:56px!important;
  border:1px solid rgba(82,226,247,.72)!important;
  box-shadow:0 0 0 4px rgba(82,226,247,.045)!important;
}
.reader-profile-head small{color:var(--nc-community-cyan)!important;font:800 7px/1 Inter,sans-serif!important;letter-spacing:.15em!important}
.reader-profile-head strong{color:#f5f7ff!important;font:700 14px/1.1 Inter,sans-serif!important;letter-spacing:-.02em!important}
.reader-profile-head span{color:#7f8ba0!important;font:500 8px/1.3 Inter,sans-serif!important}
.reader-profile-editor label{gap:6px!important;color:#7f8ba0!important;font:750 7.5px/1 Inter,sans-serif!important;letter-spacing:.08em!important}
.reader-profile-editor input[type="text"],.reader-profile-editor input:not([type]){
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid rgba(126,139,166,.24)!important;
  border-radius:9px!important;
  background:#080d19!important;
  color:#f5f7ff!important;
  font:450 11px/1 Inter,sans-serif!important;
}
.reader-profile-avatar-actions{gap:8px!important}
.reader-profile-avatar-actions button,.reader-profile-save{
  min-height:36px!important;
  padding:0 12px!important;
  border:1px solid rgba(82,226,247,.32)!important;
  border-radius:9px!important;
  background:linear-gradient(110deg,rgba(82,226,247,.07),rgba(119,104,255,.08))!important;
  color:var(--nc-community-cyan)!important;
  font:800 7.5px/1 Inter,sans-serif!important;
  letter-spacing:.07em!important;
}
.reader-profile-avatar-actions span{color:#69768b!important;font:500 7.5px/1.35 Inter,sans-serif!important}
.reader-profile-save{
  justify-self:stretch!important;
  border-color:rgba(119,104,255,.38)!important;
  background:linear-gradient(105deg,rgba(119,104,255,.18),rgba(82,226,247,.13))!important;
  color:#eaf8ff!important;
}

/* Reader Thread canvas */
#reader-thread.article-thread.standard-thread{
  --thread-accent:var(--nc-community-cyan)!important;
  border:1px solid rgba(124,142,255,.22)!important;
  border-radius:20px!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(119,104,255,.055),transparent 28%),
    linear-gradient(180deg,#0f1421 0%,#0a0f19 100%)!important;
  box-shadow:0 22px 60px rgba(2,6,16,.18)!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;
}
#reader-thread .standard-thread-shell{padding:28px 30px 30px!important}
#reader-thread .thread-head{
  min-height:42px!important;
  padding:0 0 15px!important;
  border-bottom:1px solid rgba(126,139,166,.25)!important;
}
#reader-thread .thread-head::after{
  width:128px!important;height:2px!important;
  background:linear-gradient(90deg,var(--nc-community-cyan),var(--nc-community-violet))!important;
}
#reader-thread .standard-thread-title{gap:9px!important}
#reader-thread .standard-thread-title .thread-bubbles{color:var(--nc-community-cyan)!important}
#reader-thread .standard-thread-title strong{
  color:#f7f9ff!important;
  font:750 22px/1 Inter,sans-serif!important;
  letter-spacing:-.035em!important;
}
#reader-thread .standard-thread-title b{
  min-width:21px!important;height:19px!important;
  border-color:rgba(126,139,166,.26)!important;
  background:rgba(126,139,166,.11)!important;
  color:#dce3ef!important;
  font:750 8px/1 Inter,sans-serif!important;
}
#reader-thread .standard-thread-account{
  color:#909cad!important;
  font:650 9px/1 Inter,sans-serif!important;
}
#reader-thread .standard-thread-account strong{color:var(--nc-community-cyan)!important;font:750 9px/1 Inter,sans-serif!important}
#reader-thread .standard-thread-account .account-dot{
  width:31px!important;height:31px!important;
  border-color:rgba(126,139,166,.28)!important;
  background:#080d17!important;
}
#reader-thread .standard-thread-intro{
  margin:14px 0 12px!important;
  color:#aab4c3!important;
  font:450 12px/1.55 Inter,sans-serif!important;
  letter-spacing:-.008em!important;
}
#reader-thread.standard-thread .community-login-note{
  padding:10px 12px!important;
  border:1px solid rgba(82,226,247,.14)!important;
  border-radius:10px!important;
  background:linear-gradient(110deg,rgba(82,226,247,.035),rgba(119,104,255,.04))!important;
  color:#8e9bad!important;
  font:500 9px/1.4 Inter,sans-serif!important;
}
#reader-thread.standard-thread .community-login-note button{color:var(--nc-community-cyan)!important;font-weight:800!important}

/* Composer */
#reader-thread form[data-thread-form]{
  grid-template-columns:36px minmax(0,1fr)!important;
  gap:10px!important;
  min-height:60px!important;
  margin-bottom:21px!important;
  padding:10px 11px!important;
  border:1px solid rgba(126,139,166,.22)!important;
  border-radius:13px!important;
  background:#080d16!important;
  box-shadow:none!important;
}
#reader-thread .standard-composer-avatar{
  width:34px!important;height:34px!important;min-width:34px!important;
  border-color:rgba(82,226,247,.38)!important;
  background:#161d29!important;
  font:750 8px/1 Inter,sans-serif!important;
}
#reader-thread form[data-thread-form] textarea,
#reader-thread form[data-thread-form]:focus-within textarea{
  height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:9px 13px!important;
  border:1px solid rgba(126,139,166,.24)!important;
  border-radius:10px!important;
  background:#121824!important;
  color:#eef3fb!important;
  font:500 12px/20px Inter,sans-serif!important;
}
#reader-thread form[data-thread-form] textarea::placeholder{color:#8793a5!important;opacity:1!important}
#reader-thread form[data-thread-form].has-value{
  min-height:112px!important;
  border-color:rgba(82,226,247,.26)!important;
}
#reader-thread form[data-thread-form].has-value textarea,
#reader-thread form[data-thread-form].has-value:focus-within textarea{
  height:70px!important;min-height:70px!important;
  border-radius:9px!important;
  border-color:rgba(82,226,247,.46)!important;
  background:#0c121d!important;
  box-shadow:0 0 0 3px rgba(82,226,247,.045)!important;
}
#reader-thread form[data-thread-form] button[type=submit]{
  min-width:108px!important;min-height:31px!important;
  border:1px solid rgba(82,226,247,.28)!important;
  border-radius:8px!important;
  background:linear-gradient(105deg,rgba(119,104,255,.82),rgba(82,226,247,.78))!important;
  color:#fff!important;
  font:800 8px/1 Inter,sans-serif!important;
  letter-spacing:.06em!important;
}

/* Sort row */
#reader-thread .standard-sort-row{
  gap:8px!important;
  margin-bottom:17px!important;
  color:#98a4b5!important;
  font:650 10px/1 Inter,sans-serif!important;
}
#reader-thread .standard-sort-row select,
#reader-thread .thread-head-right [data-thread-popular]{
  min-height:30px!important;
  border:1px solid rgba(126,139,166,.23)!important;
  border-radius:8px!important;
  background:#0b111c!important;
  color:#aab5c6!important;
  font:700 8px/1 Inter,sans-serif!important;
}
#reader-thread .thread-head-right [data-thread-popular].active{
  border-color:rgba(82,226,247,.44)!important;
  background:linear-gradient(110deg,rgba(82,226,247,.08),rgba(119,104,255,.08))!important;
  color:var(--nc-community-cyan)!important;
}

/* Comment cards */
#reader-thread .thread-list{gap:12px!important}
#reader-thread .community-comment{
  padding:17px 18px 16px!important;
  border:1px solid rgba(126,139,166,.19)!important;
  border-radius:14px!important;
  background:#0c121c!important;
  box-shadow:none!important;
  transition:border-color .2s,background .2s,transform .2s!important;
}
#reader-thread .community-comment:hover{border-color:rgba(126,139,166,.30)!important;background:#0e1521!important}
#reader-thread .community-comment::before{
  width:2px!important;
  background:linear-gradient(180deg,var(--nc-community-cyan),var(--nc-community-violet),transparent 76%)!important;
  opacity:.58!important;
}
#reader-thread .community-comment-user>.community-avatar{
  width:40px!important;height:40px!important;flex-basis:40px!important;
  border-color:rgba(82,226,247,.34)!important;
  background:#18202d!important;
}
#reader-thread .community-comment-user strong{
  color:#f1f4fa!important;
  font:700 12.5px/1.15 Inter,sans-serif!important;
  letter-spacing:-.012em!important;
}
#reader-thread .community-comment-user small{color:#7f8b9d!important;font:500 8px/1.25 Inter,sans-serif!important}
#reader-thread .community-comment-head::after{background:rgba(126,139,166,.16)!important}
#reader-thread .community-comment-body{
  color:#cbd3df!important;
  font:450 13px/1.65 Inter,sans-serif!important;
  letter-spacing:-.008em!important;
}
#reader-thread .community-comment-menu button{
  min-height:27px!important;
  border-radius:7px!important;
  color:#7f8b9d!important;
  font:750 8px/1 Inter,sans-serif!important;
}
#reader-thread .community-comment-menu button:hover{
  border-color:rgba(82,226,247,.18)!important;
  background:rgba(82,226,247,.045)!important;
  color:var(--nc-community-cyan)!important;
}
#reader-thread .standard-comment-action{
  min-height:30px!important;
  padding:0 10px!important;
  border:1px solid rgba(126,139,166,.20)!important;
  border-radius:999px!important;
  background:#111824!important;
  color:#aab5c6!important;
  font:700 8.5px/1 Inter,sans-serif!important;
}
#reader-thread .standard-comment-action:hover{
  border-color:rgba(82,226,247,.28)!important;
  background:rgba(82,226,247,.045)!important;
  color:#eaf8ff!important;
}
#reader-thread .standard-vote.active{
  border-color:rgba(82,226,247,.48)!important;
  background:linear-gradient(110deg,rgba(82,226,247,.09),rgba(119,104,255,.08))!important;
  color:var(--nc-community-cyan)!important;
}
#reader-thread .community-replies{
  margin-left:24px!important;
  padding-left:14px!important;
  border-left:2px solid rgba(82,226,247,.18)!important;
}
#reader-thread .community-reply{background:#0f1621!important;border-radius:12px!important}
#reader-thread .community-inline-editor,#reader-thread .community-reply-form{
  border-color:rgba(126,139,166,.24)!important;
  border-radius:10px!important;
  background:#090f18!important;
}
#reader-thread .community-inline-editor textarea,#reader-thread .community-reply-form textarea{
  color:#e9eef7!important;
  font:450 12px/1.58 Inter,sans-serif!important;
}

/* Empty/loading states */
#reader-thread .community-empty{text-align:left!important;padding:22px 8px 9px!important;color:#7d899c!important}
#reader-thread .community-empty b{color:var(--nc-community-cyan)!important;font:700 23px/1 Inter,sans-serif!important}
#reader-thread .community-empty strong{color:#eef2f8!important;font:700 12px/1.2 Inter,sans-serif!important}
#reader-thread .community-empty small,#reader-thread .community-loading{color:#7d899c!important;font:500 8.5px/1.45 Inter,sans-serif!important}

/* Report modal aligns with Reader account modal. */
.community-report-modal{
  background:rgba(3,7,17,.74)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  backdrop-filter:blur(18px)!important;
}
.community-report-card{
  overflow:hidden!important;
  border:1px solid rgba(124,142,255,.26)!important;
  border-radius:20px!important;
  background:radial-gradient(circle at 100% 0%,rgba(119,104,255,.12),transparent 34%),linear-gradient(155deg,#111728,#090e1b 72%)!important;
  box-shadow:0 32px 100px rgba(0,0,0,.46)!important;
  font-family:Inter,system-ui,sans-serif!important;
}
.community-report-card::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,var(--nc-community-cyan),var(--nc-community-violet),transparent 78%)}
.community-report-card>small{color:var(--nc-community-cyan)!important;font:800 8px/1 Inter,sans-serif!important;letter-spacing:.16em!important}
.community-report-card h3{font:700 25px/1.03 Inter,sans-serif!important;letter-spacing:-.035em!important}
.community-report-card>p{color:#94a0b2!important;font:450 11px/1.55 Inter,sans-serif!important}
.community-report-form label{color:#7f8b9e!important;font:750 7.5px/1 Inter,sans-serif!important}
.community-report-form select,.community-report-form textarea{
  border-color:rgba(126,139,166,.24)!important;
  border-radius:9px!important;
  background:#080d19!important;
  color:#f5f7ff!important;
  font:450 11px/1.45 Inter,sans-serif!important;
}
.community-report-form button[type="submit"]{
  min-height:40px!important;
  border:1px solid rgba(82,226,247,.28)!important;
  border-radius:9px!important;
  background:linear-gradient(105deg,#6d61ff,#49d9ed)!important;
  font:800 8px/1 Inter,sans-serif!important;
  letter-spacing:.07em!important;
}

/* Light theme */
html[data-theme="light"] header .reader-account-button{
  border-color:#d4dce4!important;
  background:#fff!important;
  color:#33404e!important;
}
html[data-theme="light"] header .reader-account-button:hover{
  border-color:#9fdbe5!important;
  background:linear-gradient(110deg,#f6fdff,#f8f7ff)!important;
  color:#111923!important;
}
html[data-theme="light"] .reader-auth-modal,html[data-theme="light"] .community-report-modal{background:rgba(241,244,247,.78)!important}
html[data-theme="light"] .reader-auth-card,html[data-theme="light"] .community-report-card{
  border-color:#dce2e9!important;
  background:radial-gradient(circle at 100% 0%,rgba(119,104,255,.055),transparent 34%),linear-gradient(155deg,#fff,#f8fafc 72%)!important;
  box-shadow:0 30px 90px rgba(39,50,63,.16)!important;
  color:#182331!important;
}
html[data-theme="light"] .reader-auth-card h2,html[data-theme="light"] .reader-profile-head strong,html[data-theme="light"] .community-report-card h3{color:#17212d!important}
html[data-theme="light"] .reader-auth-card>p,html[data-theme="light"] .community-report-card>p{color:#687687!important}
html[data-theme="light"] .reader-auth-close{border-color:#dbe2e8!important;background:#fff!important;color:#6e7b89!important}
html[data-theme="light"] .reader-auth-tabs{border-color:#e1e6eb!important;background:#f2f5f8!important}
html[data-theme="light"] .reader-auth-tabs button{color:#6e7a89!important}
html[data-theme="light"] .reader-auth-tabs button.active{border-color:#b9e7ef!important;background:linear-gradient(110deg,#effcff,#f4f2ff)!important;color:#168ca2!important}
html[data-theme="light"] .reader-auth-form input,html[data-theme="light"] .reader-profile-editor input[type="text"],html[data-theme="light"] .reader-profile-editor input:not([type]),html[data-theme="light"] .community-report-form select,html[data-theme="light"] .community-report-form textarea{
  border-color:#d9e0e7!important;background:#fff!important;color:#17212d!important
}
html[data-theme="light"] .reader-profile-editor{border-top-color:#e0e6eb!important}
html[data-theme="light"] .reader-profile-head span,html[data-theme="light"] .reader-profile-editor label,html[data-theme="light"] .reader-profile-avatar-actions span{color:#718091!important}
html[data-theme="light"] #reader-thread.article-thread.standard-thread{
  border-color:#e0e5eb!important;
  background:linear-gradient(180deg,#fff 0%,#fafbfd 100%)!important;
  box-shadow:0 18px 48px rgba(35,48,61,.075)!important;
}
html[data-theme="light"] #reader-thread .thread-head{border-bottom-color:#e3e7ec!important}
html[data-theme="light"] #reader-thread .standard-thread-title strong{color:#17212d!important}
html[data-theme="light"] #reader-thread .standard-thread-title b{border-color:#dbe2e8!important;background:#f4f6f8!important;color:#465362!important}
html[data-theme="light"] #reader-thread .standard-thread-account{color:#6d7988!important}
html[data-theme="light"] #reader-thread .standard-thread-account .account-dot{border-color:#d8e0e7!important;background:#fff!important}
html[data-theme="light"] #reader-thread .standard-thread-intro{color:#667486!important}
html[data-theme="light"] #reader-thread.standard-thread .community-login-note{border-color:#dce8eb!important;background:linear-gradient(110deg,#f6fdff,#faf9ff)!important;color:#6c7988!important}
html[data-theme="light"] #reader-thread form[data-thread-form]{border-color:#e0e5ea!important;background:#f7f9fb!important}
html[data-theme="light"] #reader-thread .standard-composer-avatar{border-color:#b9dfe6!important;background:#fff!important;color:#168ca2!important}
html[data-theme="light"] #reader-thread form[data-thread-form] textarea,html[data-theme="light"] #reader-thread form[data-thread-form]:focus-within textarea{border-color:#dde4ea!important;background:#fff!important;color:#1c2734!important}
html[data-theme="light"] #reader-thread form[data-thread-form] textarea::placeholder{color:#8895a4!important}
html[data-theme="light"] #reader-thread .standard-sort-row{color:#697687!important}
html[data-theme="light"] #reader-thread .standard-sort-row select,html[data-theme="light"] #reader-thread .thread-head-right [data-thread-popular]{border-color:#dce2e8!important;background:#fff!important;color:#667485!important}
html[data-theme="light"] #reader-thread .community-comment{border-color:#e1e6eb!important;background:#fff!important}
html[data-theme="light"] #reader-thread .community-comment:hover{border-color:#d6e0e7!important;background:#fcfdfe!important}
html[data-theme="light"] #reader-thread .community-comment-user strong{color:#17212d!important}
html[data-theme="light"] #reader-thread .community-comment-user small{color:#7b8795!important}
html[data-theme="light"] #reader-thread .community-comment-head::after{background:#e7ebef!important}
html[data-theme="light"] #reader-thread .community-comment-body{color:#33404d!important}
html[data-theme="light"] #reader-thread .community-comment-menu button{color:#758291!important}
html[data-theme="light"] #reader-thread .standard-comment-action{border-color:#dfe5ea!important;background:#f7f9fb!important;color:#637181!important}
html[data-theme="light"] #reader-thread .community-reply{background:#f8fafc!important}
html[data-theme="light"] #reader-thread .community-inline-editor,html[data-theme="light"] #reader-thread .community-reply-form{border-color:#dfe5ea!important;background:#f7f9fb!important}
html[data-theme="light"] #reader-thread .community-inline-editor textarea,html[data-theme="light"] #reader-thread .community-reply-form textarea{color:#26323f!important}
html[data-theme="light"] #reader-thread .community-empty strong{color:#17212d!important}

@media(max-width:760px){
  .reader-auth-card{padding:23px!important;border-radius:18px!important}
  .reader-auth-card h2{font-size:26px!important}
  #reader-thread .standard-thread-shell{padding:22px 18px 23px!important}
  #reader-thread .thread-head{align-items:flex-start!important;gap:12px!important}
  #reader-thread .standard-thread-title strong{font-size:20px!important}
  #reader-thread .standard-thread-account{font-size:0!important}
  #reader-thread form[data-thread-form]{grid-template-columns:34px minmax(0,1fr)!important;padding:9px!important}
  #reader-thread .community-comment{padding:15px!important}
  #reader-thread .community-replies{margin-left:11px!important;padding-left:10px!important}
}

@media(max-width:520px){
  header .reader-account-button.signed-in [data-reader-account-label]{display:none!important}
  header .reader-account-button.signed-in{min-width:38px!important;width:38px!important;padding:5px!important;justify-content:center!important}
  .reader-auth-modal{padding:12px!important;align-items:end!important}
  .reader-auth-card{width:100%!important;max-height:92vh!important;overflow:auto!important;border-radius:20px 20px 0 0!important}
  .reader-profile-avatar-actions{display:grid!important;grid-template-columns:1fr!important}
  .reader-profile-avatar-actions button,.reader-profile-save{width:100%!important}
  #reader-thread .standard-thread-shell{padding:19px 14px 20px!important}
  #reader-thread .standard-thread-title strong{font-size:18px!important}
  #reader-thread .community-comment-body{font-size:12.5px!important}
}
