/* News portal. Measured reference: charcoal background, pink accent,
   centered 864px single-column image cards. All selectors stay news-scoped. */
.news-portal,.news-shell,body.news-standalone{--n-bg:#191a22;--n-card:#21232b;--n-line:#464955;--n-ink:#f0f0f0;--n-muted:#b1b4bf;--n-accent:#ff4886;color:var(--n-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
body.news-page,body.news-standalone{background:#191a22!important;color:#bcbcbc}
body.news-public-page,body.news-standalone{margin:0;padding-top:0!important;padding-bottom:0!important;font-size:16px}
body.news-standalone *,.news-portal *{box-sizing:border-box}
body.news-standalone a,.news-portal a{color:inherit;text-decoration:none}
body.news-standalone img,.news-portal img{display:block;max-width:100%}
.news-standalone :where(h1,h2,p){margin:0}
.news-portal{min-height:100vh;background:#191a22}
.news-portal button,.news-portal input,.news-shell button,.news-shell input,.news-shell textarea,.news-shell select{font:inherit}
.news-portal :is(a,button,input,textarea,select,summary):focus-visible,.news-shell :is(a,button,input,textarea,select):focus-visible{outline:2px solid #ff4886;outline-offset:4px}
.news-chrome{position:sticky;top:0;z-index:350;background:#14151a;border-bottom:1px solid #24252e}
.news-nav-inner{display:flex;align-items:center;gap:28px;max-width:1440px;margin:auto;min-height:108px;padding:20px 24px}
.news-brand{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;flex-shrink:0;color:#ff4886!important;font-weight:900;font-size:30px;letter-spacing:-1px;font-style:italic;line-height:1}
.news-brand svg{width:38px;height:38px;transform:rotate(-18deg);flex-shrink:0}
.news-brand>span>span{color:#f4f4f5}
.news-desktop-menu{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;flex:1}
.news-desktop-menu>a{font-size:17px;color:#d3d4db;white-space:nowrap;line-height:1.65}
.news-desktop-menu>a:hover,.news-desktop-menu>a.active{color:#ff4886}
.news-nav-tools{display:flex;align-items:center;gap:24px;margin-left:auto;flex-shrink:0}
.news-return-site{font-size:14px;color:#a6a8b2!important;white-space:nowrap}
.news-return-site:hover{color:#ff4886!important}
.news-nav-search{position:relative}
.news-nav-search summary,.news-mobile-menu summary{display:flex;align-items:center;justify-content:center;cursor:pointer;list-style:none;color:#aaaeb7;width:32px;height:36px}
.news-nav-search summary::-webkit-details-marker,.news-mobile-menu summary::-webkit-details-marker{display:none}
.news-nav-search summary svg,.news-mobile-menu summary svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.news-nav-search[open] summary{color:#ff4886}
.news-nav-search form{position:absolute;right:0;top:calc(100% + 18px);width:360px;display:flex;padding:12px;gap:8px;background:#21232b;border:1px solid #464955;border-radius:6px;box-shadow:0 12px 30px #0006}
.news-nav-search input{flex:1;min-width:0;background:#191a22;color:#f0f0f0;border:1px solid #464955;padding:9px 10px;border-radius:4px;font-size:14px}
.news-nav-search button,.news-page-jump button{border:0;border-radius:5px;background:#ff4886;color:#fff;padding:8px 14px;font-size:14px;cursor:pointer}
.news-mobile-menu,.news-mobile-categories,.news-bottom-nav{display:none}
.news-masthead{display:flex;align-items:center;justify-content:center;min-height:156px;text-align:center;background:#14151a;padding:24px 16px 32px}
.news-masthead h1{font-size:44px;line-height:1.17;font-weight:400;color:#fff;letter-spacing:0;margin:0 0 12px}
.news-masthead p{font-size:18px;color:#b1b4bf;line-height:1.5;margin:0}
.news-shell{max-width:896px;margin:0 auto;padding:32px 16px 40px;min-width:0}
.news-feed{min-width:0}
.news-card-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.n-card{position:relative;min-width:0;margin:0;border:0;border-radius:8px;overflow:hidden;background:#23252c;transition:transform .3s ease,box-shadow .3s ease}
.n-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px #0004}
.n-card-link{display:flex;position:relative;aspect-ratio:3.4032;min-height:0;align-items:flex-end;isolation:isolate;overflow:hidden}
.n-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
.n-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0000 0%,#0000 23%,#0005 50%,#000e 100%);z-index:-2}
.n-card-content{width:100%;padding:16px 20px;display:flex;flex-direction:column;gap:8px;text-align:left;min-width:0}
.n-card-content h2{color:#fff;font-size:20px;line-height:30px;font-weight:400;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-shadow:0 1px 4px #0008}
.n-card-meta{display:flex;align-items:center;gap:10px;color:#d2d4db;font-size:14px;line-height:22px;white-space:nowrap;min-width:0}
.n-card-meta>time{flex-shrink:0}.n-card-meta>span:first-child{max-width:100px;overflow:hidden;text-overflow:ellipsis}
.n-card-category{overflow:hidden;text-overflow:ellipsis;min-width:0}.n-card-category>span{margin-right:8px}
.n-card-hot{margin-left:auto;color:#ff4886;font-size:12px;font-weight:500;line-height:20px;padding:0 7px;border:1px solid #ff4886;border-radius:4px;flex-shrink:0}
.news-filter-state{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;color:#b1b4bf}
.news-filter-state h2{font-size:18px;line-height:1.5;font-weight:400;overflow-wrap:anywhere}.news-filter-state small{font-size:13px;color:#9297a5}.news-filter-state>a{font-size:14px;color:#ff4886;white-space:nowrap}
.news-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:24px 0;padding:0;line-height:22px}
.news-pagination>a,.news-pagination>span,.news-page-jump>button,.news-page-jump>input{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:0;border-radius:6px;background:#262832;color:#b1b4bf;font-size:14px;line-height:22px;text-align:center}
.news-pagination>.current,.news-pagination>.news-next{color:white;background:#f63c76;font-weight:500}
.news-pagination>[aria-disabled=true]{opacity:.4}.news-pagination>.ellipsis{background:none;min-width:14px;padding:0}
.news-pagination>a:hover,.news-page-jump>button:hover{filter:brightness(1.15)}
.news-page-jump{display:flex;align-items:center;justify-content:center;gap:12px;color:#9297a5;font-size:14px;max-width:100%}
.news-page-jump>input{width:56px;min-width:56px;appearance:textfield}.news-page-jump>button{min-width:64px;cursor:pointer}
.news-page-jump>input::-webkit-inner-spin-button,.news-page-jump>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.news-footer{border-top:1px solid #2a2c35;padding:38px 20px 26px;text-align:center;color:#9297a5;font-size:14px;line-height:1.8;background:#14151a}
.news-footer>strong{display:block;color:#f0f0f0;font-size:20px;font-weight:500;margin-bottom:8px}.news-footer>p{margin:0 0 18px}
.news-footer>nav{display:flex;justify-content:center;gap:26px;flex-wrap:wrap;margin-bottom:18px}.news-footer a:hover{color:#ff4886}.news-footer>small{font-size:12px;color:#777d8a}
.news-empty{padding:64px 20px;text-align:center;border-radius:8px;background:#21232b}.news-empty :is(h1,h2){font-size:20px;font-weight:400;margin:0 0 16px}.news-empty>p{font-size:14px;line-height:1.8;color:#b1b4bf;margin:0 0 24px}
.news-shell button{cursor:pointer;border:1px solid #464955;border-radius:5px;padding:9px 16px;background:#262832;color:#f0f0f0}.news-shell button:disabled{cursor:not-allowed;opacity:.45}
.news-shell .news-primary{display:inline-block;background:#ff4886;color:white;border:0;padding:10px 18px;border-radius:5px;font-size:14px}
.news-skeleton{aspect-ratio:3.4032;background:linear-gradient(115deg,#21232b,#292c36 50%,#21232b);border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Readers use the same width and colors on SPA navigation and direct SSR. */
.news-breadcrumb{display:flex;align-items:center;gap:10px;color:#9297a5;font-size:14px;line-height:1.5;margin-bottom:24px;flex-wrap:wrap}.news-breadcrumb a:hover{color:#ff4886}
.news-layout{display:block}.news-reader{min-width:0;background:#21232b;border-radius:8px;padding:32px;color:#f0f0f0}
.news-eyebrow{display:flex;align-items:center;gap:14px;font-size:14px;color:#ff4886;margin-bottom:18px}.news-eyebrow>span{font-size:12px;padding:2px 7px;border:1px solid #ff4886;border-radius:4px}
.news-reader>h1{font-size:32px;line-height:1.5;font-weight:500;margin:0 0 20px;overflow-wrap:anywhere;color:#fff}
.news-byline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#b1b4bf}.news-avatar{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;background:#ff488619;border-radius:50%;font-size:12px;color:#ff78a5}
.news-deck{margin:26px 0!important;border-left:3px solid #ff4886;padding:10px 16px;background:#191a2255;color:#c9cbd5;font-size:16px;line-height:1.8}
.news-reader-cover{width:100%;height:auto;object-fit:cover;border-radius:5px;margin-bottom:28px}
.news-prose{font-size:16px;line-height:2;color:#d2d4db;overflow-wrap:anywhere}.news-prose>p{white-space:pre-line;margin:0 0 24px!important}
.news-tags{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.news-tags>a{color:#c7c9d0;background:#30323d;padding:5px 10px;border-radius:4px;font-size:13px}.news-tags>a:hover{color:#ff4886}
.news-reader-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #464955;padding-top:22px;gap:20px}.news-text-link{color:#ff4886!important;font-size:14px}
.news-sidebar{margin-top:24px}.news-panel{background:#21232b;border:1px solid #30323d;border-radius:8px;padding:24px}
.news-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #464955;padding-bottom:16px;margin-bottom:0}.news-panel-heading h2,.news-panel>h2{font-size:18px;font-weight:400;margin:0}.news-panel-heading>a{font-size:13px;color:#ff4886}
.news-related{display:flex;align-items:center;gap:16px;font-size:15px;line-height:1.6;padding:18px 0;border-bottom:1px solid #30323d}.news-related:last-child{border-bottom:0;padding-bottom:0}.news-related img{width:120px;height:70px;border-radius:4px;object-fit:cover;flex-shrink:0}.news-related small{display:block;color:#9297a5;font-size:12px;margin-top:8px}.news-related:hover{color:#ff4886}.news-side-empty{color:#9297a5;font-size:14px;padding:18px 0 0}.news-reader-loading{padding:70px 20px;text-align:center;color:#b1b4bf}
/* Editorial management retains its interaction layout, with the portal palette. */
.news-admin{max-width:1200px}.news-shell input,.news-shell textarea,.news-shell select{background:#191a22;color:#f0f0f0;border:1px solid #464955;border-radius:5px;padding:10px 12px;min-width:0}.news-shell input::placeholder{color:#9297a5}

.news-admin-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.news-admin-heading h1{font-size:25px}.news-admin-heading>div{display:flex;gap:10px}.news-admin-login{max-width:420px;margin:50px auto;padding:30px}.news-admin-login h1{font-size:23px;margin:0 0 24px}.news-admin-login label{display:grid;gap:8px;margin-bottom:18px;font-size:13px;color:#afb5bf}.news-admin-login button{width:100%;margin-top:8px}.news-admin-error{color:#ffb09c;background:#70372e22;border:1px solid #ff9d8022;border-radius:7px;padding:12px 15px;margin-bottom:18px;line-height:1.6;font-size:13px}.news-admin-success{color:#ff4886;font-size:13px;margin-bottom:16px}.news-admin-toolbar{display:flex;gap:12px;margin:0 0 20px;flex-wrap:wrap}.news-admin-toolbar input{flex:1;min-width:160px}.news-admin-table{overflow:auto;background:#21232b;border:1px solid #ffffff0e;border-radius:10px}.news-admin-table table{width:100%;border-collapse:collapse;min-width:660px;text-align:left}.news-admin-table th{font-weight:400;font-size:12px;background:#262832;color:#8e97a7;padding:16px}.news-admin-table td{font-size:13px;color:#cdd2dc;padding:16px;border-top:1px solid #ffffff09;max-width:380px}.news-admin-table td>button{font-size:12px;padding:6px 12px}.news-admin-status{font-size:11px;border-radius:4px;background:#ffffff0b;padding:4px 8px;color:#a2aab5;white-space:nowrap}.news-admin-status.published{background:#ff488613;color:#ff4886}.news-admin-editor{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px}.news-admin-editor label{display:grid;gap:8px;margin-bottom:18px;font-size:12px;color:#a2acb9}.news-admin-editor textarea{width:100%;resize:vertical;font-size:14px;line-height:1.9}.news-admin-editor input{width:100%}.news-admin-editor .news-panel{padding:24px}.news-admin-editor .news-cover-preview{aspect-ratio:16/9;width:100%;object-fit:cover;border-radius:7px;margin-bottom:12px}.news-admin-editor .news-checkbox{display:flex;align-items:center;gap:9px}.news-admin-editor input[type=checkbox]{width:16px;height:16px;accent-color:#ff4886}.news-admin-editor small{font-size:10px;color:#7c8795;line-height:1.6}.news-admin-editor h2{font-size:16px;margin:0 0 20px}.news-admin-actions{display:flex;flex-wrap:wrap;gap:10px;position:sticky;bottom:20px;background:#21232bf0;padding:16px 0;border-top:1px solid #ffffff10}.news-admin-preview{margin:20px 0}.news-cover-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 20px}.news-cover-choices button{padding:0;border-radius:4px;overflow:hidden;border:2px solid transparent}.news-cover-choices button.chosen{border-color:#ff4886}.news-cover-choices img{width:100%;height:auto}.news-upload-label input{padding:8px 0;border:0;font-size:11px}.news-editor-note{display:flex;justify-content:space-between;color:#6e7b8c;font-size:11px;margin-top:-8px;margin-bottom:18px}


@media(max-width:1100px){.news-nav-inner{gap:20px}.news-desktop-menu{gap:12px 16px}.news-desktop-menu>a{font-size:16px}.news-return-site{display:none}.news-nav-tools{gap:0}}
@media(max-width:768px){
 .news-chrome{border-bottom:0}.news-masthead-separator{display:none}.news-masthead-topic{display:block}
 .news-nav-inner{min-height:56px;padding:8px 16px;gap:12px;justify-content:space-between}
 .news-brand{font-size:27px;gap:3px}.news-brand svg{width:32px;height:32px}.news-desktop-menu{display:none}.news-return-site{display:none}.news-nav-tools{margin-left:0}
 .news-mobile-menu{display:block}.news-mobile-menu>nav{position:absolute;left:0;right:0;top:56px;padding:12px 16px;background:#21232b;box-shadow:0 14px 20px #0005;border-top:1px solid #30323d;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .news-mobile-menu>nav>a{font-size:15px;padding:12px 14px;color:#d2d4db;border-radius:4px}.news-mobile-menu>nav>a:hover{background:#30323d;color:#ff4886}
 .news-nav-search form{position:fixed;left:16px;right:16px;top:60px;width:auto;z-index:2}.news-nav-search input{font-size:14px}
 .news-mobile-categories{display:flex;align-items:center;overflow-x:auto;gap:24px;min-height:36px;padding:0 16px 10px;scrollbar-width:none}.news-mobile-categories>a{font-size:13px;color:#b1b4bf;white-space:nowrap;line-height:16px}.news-mobile-categories>a.active{color:#ff4886}
 .news-masthead{min-height:139px;padding:20px 16px 24px}.news-masthead h1{font-size:26px;line-height:30.5px;font-weight:400;margin-bottom:10px;max-width:358px}.news-masthead p{font-size:13px;line-height:20px;max-width:358px}
 .news-shell{padding:12px 16px 28px}.news-card-grid{gap:16px}.n-card{border-radius:8px}.n-card-link{aspect-ratio:2.0177;min-height:0}.n-card-content{padding:12px 12px 8px;gap:5px}.n-card-content h2{font-size:15px;line-height:18px;font-weight:400}.n-card-meta{font-size:12px;line-height:17px;gap:6px}.n-card-meta>span:first-child{max-width:60px}.n-card-category{display:none}.n-card-hot{font-size:10px;line-height:17px;padding:0 5px}.news-skeleton{aspect-ratio:2.0177}
 .news-filter-state{margin:8px 0 20px;gap:12px}.news-filter-state h2{font-size:16px}.news-filter-state>a{font-size:12px}
 .news-pagination{gap:8px;margin:24px 0}.news-pagination>a,.news-pagination>span{font-size:13px;min-width:40px;min-height:40px;padding:0 10px}.news-page-jump{gap:8px;width:100%}
 .news-footer{padding:26px 16px calc(100px + env(safe-area-inset-bottom))}.news-footer>strong{font-size:18px}.news-footer>p{font-size:12px}.news-footer>nav{gap:20px;font-size:13px}
 .news-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:360;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 8px calc(10px + env(safe-area-inset-bottom));min-height:70px;border-top:1px solid #30323d;background:#14151af7;backdrop-filter:blur(14px)}
 .news-bottom-nav>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#a0a4af;font-size:11px;line-height:16px}.news-bottom-nav>a.active{color:#ff4886}.news-bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 .news-breadcrumb{font-size:12px;margin:10px 0 20px;gap:7px}.news-reader{padding:22px 16px}.news-reader>h1{font-size:23px;line-height:1.5}.news-eyebrow{font-size:12px}.news-byline{font-size:11px;gap:8px}.news-deck{font-size:14px;margin:22px 0!important}.news-prose{font-size:15px;line-height:1.9}.news-related{font-size:14px}.news-related img{width:90px;height:60px}.news-panel{padding:18px}.news-sidebar{margin-top:16px}.news-empty{padding:48px 16px}.news-reader-actions{gap:12px}.news-text-link,.news-reader-actions>button{font-size:12px}
 .news-admin-editor{grid-template-columns:1fr}.news-admin-heading h1{font-size:22px}.news-admin-heading>div{flex-wrap:wrap;justify-content:flex-end}.news-admin-heading button{font-size:12px}.news-admin-actions{bottom:65px}.news-admin-login{margin:24px auto}.news-page:not(.news-public-page) .m-nav{display:flex!important}
}
@media(prefers-reduced-motion:reduce){.news-portal *{transition:none!important}}
