/* Read: a dedicated responsive reading surface. Shared video/profile styles stay unchanged. */
.nm-article-page .king-main.post-page{display:block;max-width:1040px;margin:0 auto 32px;min-width:0}
.nm-article-page .king-main-leo{display:block;min-width:0}
.nm-article-page .king-main-in{width:100%;max-width:none;min-width:0;min-height:0;padding:0;box-sizing:border-box}
.nm-article-page .king-part-q-view{min-width:0;margin:0}
.nm-article{box-sizing:border-box;padding:36px 44px;background:var(--nm-surface,#fff);color:var(--nm-text,#151619);border-radius:var(--nm-radius-panel,24px);min-width:0;overflow-wrap:anywhere}
.nm-article-header{max-width:760px;margin:0 auto 26px}
.nm-article-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:13px;line-height:1.4;font-weight:600;color:var(--nm-muted,#707581)}
.nm-article-category{display:inline-flex;padding:7px 12px;border-radius:var(--nm-radius-pill,999px);background:var(--nm-surface-soft,#f3f4f6);color:var(--nm-text,#151619)}
.nm-article-category:empty{display:none}
.nm-article-category a{color:inherit;text-decoration:none}
.nm-article-where-pad{display:none}
.nm-article h1{margin:0 0 22px;font:800 clamp(28px,3.1vw,42px)/1.16 Nunito,sans-serif;letter-spacing:-.8px;text-wrap:balance;color:inherit}
.nm-article-byline{display:flex;gap:11px;align-items:center;min-width:0}
.nm-article-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--nm-surface-soft,#f3f4f6)}
.nm-article-avatar a,.nm-article-avatar img{display:block;width:100%;height:100%;min-width:0;max-width:100%;border-radius:50%;object-fit:cover;object-position:center}
.nm-article-author{font-size:15px;font-weight:800;color:inherit}
.nm-article-date{font-size:12px;line-height:1.5;color:var(--nm-muted,#707581);margin-top:2px}
.nm-article-cover{display:block;width:auto;max-width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:var(--nm-radius-media,18px);margin:0 auto 30px;background:var(--nm-surface-soft,#f3f4f6)}
.nm-article-copy{max-width:760px;margin:0 auto;font-size:18px;line-height:1.8;letter-spacing:.02px;overflow-wrap:anywhere;word-break:normal;color:var(--nm-text,#24262c)}
/* Imported rich text follows the reading theme, including dark mode. */
.nm-article-copy [style]{font-family:inherit!important;color:inherit!important;background-color:transparent!important;line-height:inherit!important;max-width:100%!important}
.nm-article-copy :is(p,ul,ol,blockquote,figure){margin:0 0 1.25em}
.nm-article-copy :is(h2,h3,h4){font-weight:800;line-height:1.3;margin:1.5em 0 .65em;color:inherit}
.nm-article-copy h2{font-size:26px}.nm-article-copy h3{font-size:22px}
.nm-article-copy :is(img,video,iframe){display:block;max-width:100%;height:auto;border-radius:var(--nm-radius-media,18px)}
.nm-article-copy iframe{width:100%;aspect-ratio:16/9}
.nm-article-copy :is(ul,ol){padding-left:1.3em}
.nm-article-copy blockquote{border-left:3px solid var(--nm-text,#151619);padding:8px 0 8px 20px;font-size:1.1em;font-weight:600}
.nm-article-copy pre{white-space:pre-wrap;overflow-wrap:anywhere}
.nm-article-copy table{width:100%;table-layout:fixed}
.nm-article-end{max-width:760px;margin:28px auto 0;padding-top:20px;border-top:1px solid var(--nm-line,#e9eaed)}
.nm-article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.nm-article-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.nm-article-actions :is(button,.nm-article-save,.nm-tip-open){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:var(--nm-radius-control,14px);background:var(--nm-surface-soft,#f3f4f6);color:var(--nm-text,#151619);font:700 14px/1.3 Nunito,sans-serif;cursor:pointer;text-decoration:none}
.nm-article-actions i{font-size:17px}
.nm-article-manage{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.nm-article-manage:empty{display:none}
.nm-article-reactions{padding:24px 24px 8px;margin-top:16px;background:var(--nm-surface,#fff);border-radius:var(--nm-radius-panel,24px)}
.nm-article-reactions h2{font-size:18px;font-weight:800;margin:0 0 14px;color:var(--nm-text,#151619)}
.nm-article-reactions .pboxes{padding:0;margin:0;background:transparent}
.nm-article-reactions .reactions{margin:0;padding:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;width:100%}
.nm-article-reactions .reaction-item{position:relative;width:auto;min-width:0;margin:0;height:64px;padding:0;display:block;background:transparent}
.nm-article-reactions .reaction-item:before{position:static;display:block;transform:none;margin:0;height:38px;width:100%;font-size:27px;line-height:38px;color:var(--nm-text,#25262b)}
.nm-article-reactions .reaction-in{display:none}
.nm-article-reactions .reaction{position:absolute;inset:0;margin:0;padding:0;font-size:0;line-height:1;background:transparent;box-shadow:none;border:0;color:var(--nm-text,#151619);border-radius:12px;cursor:pointer}
.nm-article-reactions .reaction:after{content:attr(data-voted);position:absolute;bottom:5px;left:0;width:100%;font:600 12px/1 Nunito,sans-serif}
.nm-article-reactions .voted{border-radius:12px;background:var(--nm-surface-soft,#eef0f3)}
.nm-article-reactions .reaction:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.nm-article-votes{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px auto 24px;padding:12px;width:fit-content;background:var(--nm-surface,#fff);border-radius:var(--nm-radius-control,14px)}
.nm-article-votes form{margin:0;display:flex;align-items:center}
.nm-article-votes .share-link{display:grid;place-items:center;width:44px;height:44px;cursor:pointer}
.nm-article :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:767px){
 .nm-article-page .king-main.post-page{margin:0 0 24px;width:100%}
 .nm-article-page #container{padding:0;min-width:0}
 .nm-article-page .king-body-wrapper{padding:0;width:100%;box-sizing:border-box}
 .nm-article{padding:22px 18px 16px;border-radius:0}
 .nm-article-header{margin-bottom:20px}
 .nm-article h1{font-size:29px;line-height:1.18;letter-spacing:-.65px;margin-bottom:18px;text-wrap:pretty}
 .nm-article-eyebrow{font-size:12px;margin-bottom:14px;gap:10px}
 .nm-article-cover{margin-bottom:24px;max-height:none;border-radius:var(--nm-radius-media,18px)}
 .nm-article-copy{font-size:17px;line-height:1.75}
 .nm-article-copy h2{font-size:23px}.nm-article-copy h3{font-size:20px}
 .nm-article-reactions{margin:12px 12px 0;padding:18px 14px 8px}
 .nm-article-reactions .reaction-item{padding:0}
 .nm-article-actions{gap:6px}.nm-article-actions :is(button,.nm-article-save,.nm-tip-open){padding:0 12px}
}

.nm-article-sheet{border:0;color:var(--nm-text,#151619);background:var(--nm-surface,#fff);box-sizing:border-box}
.nm-article-sheet::backdrop{background:rgba(0,0,0,.42)}
.nm-article-sheet .nm-profile-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.nm-article-sheet h2{font-size:20px;font-weight:800;margin:0}
.nm-article-sheet .nm-profile-dismiss{background:#111214;color:white;border:0;border-radius:var(--nm-radius-pill,999px);font:700 14px Nunito,sans-serif;padding:12px 22px;min-height:44px}
.nm-article-sheet-body{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.nm-article-sheet .maincom{padding:0;margin:0;background:transparent}
.nm-article-sheet .nav-tabs{display:none}
.nm-article-sheet :is(.king-form-tall-table,.king-form-tall-data,.king-a-form){background:transparent;max-width:100%;box-sizing:border-box}
.nm-article-sheet textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:90px;font-size:16px;color:var(--nm-text,#151619);background:var(--nm-surface-soft,#f3f4f6);border:1px solid var(--nm-line,#e7e8ec);border-radius:var(--nm-radius-control,14px);padding:12px}
.nm-article-sheet .king-form-tall-button{background:#111214;color:white;border:0;border-radius:var(--nm-radius-pill,999px);min-height:44px}
@media(min-width:1025px){.nm-article-sheet[open]{display:flex;flex-direction:column;width:560px;max-height:80vh;margin:auto;padding:20px 24px;border-radius:var(--nm-radius-panel,24px)}}

.nm-article-sheet .social-share{padding:0;background:transparent}
.nm-article-sheet .social-share>h3:first-child{display:none}
.nm-article-sheet .social-share h3{font-size:15px;margin:20px 0 12px;color:var(--nm-text,#151619)}
.nm-article-sheet #modal-url{box-sizing:border-box;width:100%;font-size:16px;min-height:44px;padding:12px;border:1px solid var(--nm-line,#e7e8ec);border-radius:var(--nm-radius-control,14px);background:var(--nm-surface-soft,#f3f4f6);color:var(--nm-text,#151619)}
