/* Reader accounts + shared Reader Thread */
.reader-account-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #7180a33d;border-radius:999px;background:#101426;color:#d8deef;padding:8px 11px;font-size:8px;font-weight:900;letter-spacing:.06em;cursor:pointer}.reader-account-button:hover{border-color:#50dff7;color:#57e5fb}.reader-account-dot{width:7px;height:7px;border-radius:50%;background:#6c7892}.reader-account-button.signed-in .reader-account-dot{background:#57e7b1;box-shadow:0 0 10px #57e7b1aa}

.reader-auth-modal[hidden]{display:none}.reader-auth-modal{position:fixed;inset:0;z-index:900;display:grid;place-items:center;padding:20px;background:#030611d9;backdrop-filter:blur(14px)}.reader-auth-card{position:relative;width:min(460px,100%);padding:28px;border:1px solid #7389ba42;border-radius:20px;background:linear-gradient(145deg,#101528,#090d1d);box-shadow:0 30px 100px #000a;color:#f4f6ff}.reader-auth-close{position:absolute;right:16px;top:14px;border:0;background:transparent;color:#96a1b9;font-size:18px;cursor:pointer}.reader-auth-card>small{color:#56e7ff;font-size:8px;font-weight:950;letter-spacing:.15em}.reader-auth-card h2{margin:7px 0;font-size:30px;letter-spacing:-.045em}.reader-auth-card>p{margin:0 0 18px;color:#8e97b1;font-size:11px;line-height:1.55}.reader-auth-tabs{display:flex;gap:7px;margin-bottom:14px}.reader-auth-tabs button{flex:1;border:1px solid #69799f40;border-radius:8px;background:#0d1222;color:#8f99b2;padding:9px;font-size:8px;font-weight:950;cursor:pointer}.reader-auth-tabs button.active{border-color:#46d8ee;background:#0d2932;color:#5eeaff}.reader-auth-form{display:grid;gap:10px}.reader-auth-form input{width:100%;border:1px solid #6f7fa33a;border-radius:9px;background:#080d1c;color:#f4f6ff;padding:12px 13px;outline:0}.reader-auth-form input:focus{border-color:#42dff7;box-shadow:0 0 0 3px #42dff713}.reader-auth-form button{border:0;border-radius:9px;background:linear-gradient(100deg,#745cff,#35d1e7);color:#fff;padding:12px;font-size:9px;font-weight:950;cursor:pointer}.reader-auth-name[hidden]{display:none}.reader-auth-status{min-height:18px;margin-top:12px;color:#8f9ab1;font-size:10px;line-height:1.4}.reader-auth-status.error{color:#ff8da0}.reader-auth-status.success{color:#62e8b2}.reader-auth-signout{margin-top:8px;border:0;background:transparent;color:#78a9ba;font-size:8px;font-weight:900;cursor:pointer}

.community-identity{display:flex;align-items:center;gap:10px}.community-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;border:1px solid #4adcf0;background:linear-gradient(145deg,#17213b,#0e1426);color:#65e9fb;font-size:11px;font-weight:950;overflow:hidden}.community-avatar img{width:100%;height:100%;object-fit:cover}.thread-identity .community-auth-action{margin-left:auto;border:0;background:transparent;color:#4fdff6;font-size:8px;font-weight:950;cursor:pointer}.community-login-note{margin:10px 0 0;padding:11px 12px;border:1px solid #6b78a331;border-radius:9px;background:#0e1324;color:#949db5;font-size:10px}.community-login-note button{border:0;background:none;color:#55e5fb;font-weight:900;cursor:pointer}

.community-comment{padding:18px 0;border-top:1px solid #727da526}.community-comment-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.community-comment-user{display:flex;align-items:center;gap:10px}.community-comment-user strong{display:block;color:#f5f6ff;font-size:12px}.community-comment-user small{display:block;margin-top:2px;color:#767f9b;font-size:8px}.community-comment-body{margin:12px 0 0;color:#cbd0e1;font-family:Georgia,'Times New Roman',serif;font-size:15px;line-height:1.65;white-space:pre-wrap}.community-comment-delete{border:0;background:none;color:#8a94aa;font-size:7px;font-weight:900;cursor:pointer}.community-comment-delete:hover{color:#ff7288}.community-empty{text-align:center;padding:34px 12px;color:#7d87a1}.community-empty b{display:block;color:#53e4fa;font-size:24px;margin-bottom:6px}.community-empty strong{display:block;color:#f0f2fb;font-size:14px}.community-empty small{font-size:9px}.community-loading{text-align:center;padding:28px;color:#78839d;font-size:10px}

[data-article-like].community-active,[data-article-follow].community-active,[data-author-follow].community-active{border-color:#43dff6!important;background:#0c2b35!important;color:#58e9ff!important}

html[data-theme="light"] .reader-account-button{background:#fff;color:#495969;border-color:#cad5dc}.reader-account-button.signed-in{color:inherit}html[data-theme="light"] .reader-auth-modal{background:#eef1f2d9}html[data-theme="light"] .reader-auth-card{background:linear-gradient(145deg,#fff,#f5f8fa);color:#17212b;border-color:#c9d6dd;box-shadow:0 30px 100px #52606f30}html[data-theme="light"] .reader-auth-card>p,html[data-theme="light"] .reader-auth-status{color:#6f7e8d}html[data-theme="light"] .reader-auth-tabs button{background:#f7fafb;color:#687887;border-color:#ced8df}html[data-theme="light"] .reader-auth-tabs button.active{background:#e8f9fb;color:#087f99;border-color:#3dbbd1}html[data-theme="light"] .reader-auth-form input{background:#fff;color:#17212b;border-color:#c9d5dc}html[data-theme="light"] .community-avatar{background:#eef5f7;color:#087f99;border-color:#49bcd1}html[data-theme="light"] .community-login-note{background:#f7fafb;color:#667685;border-color:#d4dde3}html[data-theme="light"] .community-comment{border-top-color:#d8dee4}html[data-theme="light"] .community-comment-user strong{color:#17212b}html[data-theme="light"] .community-comment-user small{color:#7c8895}html[data-theme="light"] .community-comment-body{color:#26323d}html[data-theme="light"] .community-empty strong{color:#17212b}html[data-theme="light"] [data-article-like].community-active,html[data-theme="light"] [data-article-follow].community-active,html[data-theme="light"] [data-author-follow].community-active{background:#e7f9fb!important;color:#087f99!important;border-color:#36b9d0!important}

@media(max-width:760px){.reader-account-button{padding:7px 9px}.reader-auth-card{padding:22px}.reader-auth-card h2{font-size:26px}.community-comment-body{font-size:14px}}
