/* NOMI: compact interest-based news, shared on phone/tablet/desktop. */
#nomiNewsScreen .nomi-interest-news[hidden],
#nomiNewsScreen .nomi-interest-news-more[hidden]{display:none!important}
#nomiNewsScreen .nomi-interest-news{
 box-sizing:border-box;
 width:100%;
 margin:10px 0 18px;
 padding:14px;
 border:1px solid rgba(145,112,190,.26);
 border-radius:18px;
 color:var(--nomi-text,#241b35);
 background:linear-gradient(135deg,rgba(242,236,253,.96),rgba(255,255,255,.95));
 box-shadow:0 8px 25px rgba(35,20,57,.07)
}
#nomiNewsScreen .nomi-interest-news-heading{
 display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap
}
#nomiNewsScreen .nomi-interest-news-heading h3{
 font-size:clamp(16px,2.2vw,19px);font-weight:750;margin:0;line-height:1.4;color:#2c194c
}
#nomiNewsScreen .nomi-interest-news-edit{font-size:13px;font-weight:750;color:#6840a5;text-decoration:none}
#nomiNewsScreen .nomi-interest-news-edit:hover{text-decoration:underline}
#nomiNewsScreen .nomi-interest-news-intro{
 margin:5px 0 8px;font-size:13px;line-height:1.55;color:#5d526e
}
#nomiNewsScreen .nomi-interest-news-topics{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:10px}
#nomiNewsScreen .nomi-interest-news-chip{
 border-radius:999px;padding:4px 9px;background:#ede2fa;color:#513078;
 font-size:12px;line-height:1.4;font-weight:700
}
#nomiNewsScreen .nomi-interest-news-list{display:grid;gap:8px}
#nomiNewsScreen .nomi-interest-news-card{
 min-width:0;padding:12px 13px;
 border:1px solid rgba(111,89,148,.16);
 border-radius:12px;background:#fff;
}
#nomiNewsScreen .nomi-interest-news-meta{
 display:flex;flex-wrap:wrap;align-items:center;gap:8px;
 font-size:12px;color:#6a5e79;line-height:1.4
}
#nomiNewsScreen .nomi-interest-news-category{font-weight:800;color:#674299}
#nomiNewsScreen .nomi-interest-news-title{
 margin:5px 0 8px;overflow-wrap:anywhere;
 font-size:clamp(15px,2vw,17px);font-weight:730;line-height:1.46;color:#281c3c
}
#nomiNewsScreen .nomi-interest-news-foot{
 display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:10px;font-size:12px;color:#756e80
}
#nomiNewsScreen .nomi-interest-news-link{
 font-size:13px;font-weight:750;color:#69409c;text-decoration:none;
 min-height:25px;display:inline-flex;align-items:center
}
#nomiNewsScreen .nomi-interest-news-link:hover{text-decoration:underline}
#nomiNewsScreen .nomi-interest-news-status{
 margin:6px 0 0;font-size:14px;line-height:1.6;color:#514265
}
#nomiNewsScreen .nomi-interest-news-more{
 display:block;width:100%;margin-top:10px;border:1px solid #c9b5e9;
 border-radius:12px;background:#f6f1ff;color:#532f83;
 font-size:14px;font-weight:750;min-height:40px;cursor:pointer
}
@media(max-width:600px){
 #nomiNewsScreen .nomi-interest-news{padding:10px;margin:8px 0 14px;border-radius:14px}
 #nomiNewsScreen .nomi-interest-news-card{padding:10px 11px}
 #nomiNewsScreen .nomi-interest-news-intro{font-size:13px}
 #nomiNewsScreen .nomi-interest-news-heading h3{font-size:16px}
}
/* Legible contrast on dark NOMI themes. */
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news,
body.dark-theme #nomiNewsScreen .nomi-interest-news{
 background:linear-gradient(135deg,#281c40,#1d1732);
 border-color:#65438b
}
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-heading h3,
body.dark-theme #nomiNewsScreen .nomi-interest-news-heading h3{color:#f3eaff}
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-card,
body.dark-theme #nomiNewsScreen .nomi-interest-news-card{background:#302340;border-color:#5c4775}
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-title,
body.dark-theme #nomiNewsScreen .nomi-interest-news-title{color:#f7f1ff}
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-intro,
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-meta,
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-foot,
html[data-nomi-theme="dark"] #nomiNewsScreen .nomi-interest-news-status,
body.dark-theme #nomiNewsScreen .nomi-interest-news-intro{color:#d9cce7}
