/* Confined to the news content: original MrSL navigation, footer and theme remain intact. */
#news-test-content{padding-top:22px;padding-bottom:38px;min-width:0;width:100%;box-sizing:border-box}
.mrsl-news-panel{--feed-red:#ff646b;--feed-muted:#a3a3ad;max-width:1040px;margin:auto;padding:0;color:var(--fg,#f4f4f6);font-family:var(--body,Inter,sans-serif)}
.mrsl-news-panel *{box-sizing:border-box}
.mrsl-news-panel [hidden]{display:none!important}
.mrsl-news-panel button,.mrsl-news-panel input{font-family:inherit;touch-action:manipulation}
.mrsl-news-panel button{cursor:pointer;transition:background .15s,color .15s;border:1px solid var(--line,#25252c);border-radius:8px;background:var(--card,#15151a);color:var(--fg,#f4f4f6);font-size:12px;line-height:1.4;min-height:38px;padding:8px 12px}
.mrsl-news-panel button:hover{background:#25202a;border-color:#52404a}
.mrsl-news-panel button:focus-visible,.mrsl-news-panel input:focus-visible{outline:2px solid #ff7a80;outline-offset:3px}
.mrsl-news-panel button:disabled{opacity:.5;cursor:default}
.mrsl-news-panel .feed-filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--line,#25252c)}
.mrsl-news-panel .feed-important{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;color:var(--feed-red);border-color:#6c303a;background:#35171f;font-weight:700;flex-shrink:0}
.mrsl-news-panel .feed-important[aria-pressed=true]{color:#fff;background:#bc263f;border-color:#e1425c}
.mrsl-news-panel .checkbox{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex:none;border:1.5px solid currentColor;border-radius:3px;font-size:11px}
.mrsl-news-panel .feed-topics{display:flex;gap:3px;justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;min-width:0;overscroll-behavior-x:contain}
.mrsl-news-panel .topic-button{font-size:11px;font-style:italic;border-color:transparent;background:transparent;color:var(--feed-muted);white-space:nowrap;padding:8px 7px}
.mrsl-news-panel .topic-button[aria-pressed=true]{color:#ffe4e6;background:#3c1c28;border-color:#783044}
.mrsl-news-panel .feed-search-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:10px 0 2px}
.mrsl-news-panel .feed-search{display:flex;align-items:center;gap:7px;border-bottom:1px solid #363640;color:#92929c;max-width:220px;min-width:0;flex:1}
.mrsl-news-panel .feed-search>span[aria-hidden]{font-size:20px;line-height:1}
.mrsl-news-panel .feed-search input{width:100%;min-width:0;min-height:32px;border:0;background:transparent;color:var(--fg);font-size:13px;padding:5px 0;outline-offset:0}
.mrsl-news-panel .feed-search input::placeholder{color:#777783}
.mrsl-news-panel .feed-connection{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--feed-muted);white-space:nowrap}
.mrsl-news-panel .feed-connection>span:first-child{width:5px;height:5px;border-radius:50%;background:#8f826a}
.mrsl-news-panel .feed-connection.connected>span:first-child{background:#35cf9d}
.mrsl-news-panel .feed-results{font-size:12px;color:var(--feed-muted);margin:12px 0 0}
.mrsl-news-panel .day-divider{padding:22px 0 8px;font-size:11px;font-weight:600;letter-spacing:.03em;color:#8e8e9b}
.mrsl-news-panel .news-item{display:grid;grid-template-columns:55px minmax(0,1fr);gap:17px;padding:19px 0;border-bottom:1px solid var(--line,#25252c);overflow-anchor:none;scroll-margin-top:110px}
.mrsl-news-panel .news-time{font:12px var(--mono,monospace);color:#92929f;padding-top:4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.mrsl-news-panel .news-item.important .news-time{color:var(--feed-red)}
.mrsl-news-panel .news-main{min-width:0}
.mrsl-news-panel .news-meta{display:flex;gap:7px;margin-bottom:6px;align-items:center;line-height:1.5}
.mrsl-news-panel .news-topic{font-size:10px;line-height:1.5;color:#ac9cb8;background:#1c1825;border:1px solid #30293b;border-radius:5px;padding:2px 6px}
.mrsl-news-panel .news-title{font:600 15px/1.7 var(--body,sans-serif);text-wrap:initial;letter-spacing:0;color:var(--fg);margin:0;overflow-wrap:anywhere}
.mrsl-news-panel .news-item.important .news-title{color:var(--feed-red)}
.mrsl-news-panel .news-summary,.mrsl-news-panel .news-body{font-size:14px;line-height:1.8;color:#bdbdc8;margin:7px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.mrsl-news-panel .news-release{margin-top:12px;background:#13141a;border:1px solid #30303a;border-radius:9px;padding:11px 14px}
.mrsl-news-panel .news-release-caption{font-size:10px;color:var(--feed-muted);margin-bottom:9px}
.mrsl-news-panel .news-release-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.mrsl-news-panel .news-release-grid>div{min-width:0}
.mrsl-news-panel .news-release-grid dt{font-size:10px;color:var(--feed-muted)}
.mrsl-news-panel .news-release-grid dd{font:600 14px/1.5 var(--mono,monospace);margin:5px 0 0;color:#f4f4f6;overflow-wrap:anywhere}
.mrsl-news-panel .release-missing{color:#92929f}
.mrsl-news-panel .feed-placeholder{padding:35px 12px;font-size:14px;text-align:center;color:var(--feed-muted);line-height:1.8}
.mrsl-news-panel .feed-placeholder button{margin-top:10px}
.mrsl-news-panel .feed-footer-actions{display:flex;justify-content:center;gap:10px;padding-top:24px}
.mrsl-news-panel .feed-new-notice button{position:fixed;z-index:8;top:90px;left:50%;transform:translateX(-50%);max-width:92vw;white-space:nowrap;background:#9c2336;border-color:#ef6278;color:#fff;box-shadow:0 5px 25px #0008}
.mrsl-news-panel .feed-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){#news-test-content{padding-top:13px}.mrsl-news-panel .feed-filter-toolbar{gap:8px;padding-bottom:8px}.mrsl-news-panel .feed-important{font-size:11px;padding:7px 8px;min-height:38px}.mrsl-news-panel .topic-button{font-size:10px;padding:8px 7px;min-height:38px}.mrsl-news-panel .feed-topics{justify-content:flex-start}.mrsl-news-panel .feed-search-row{margin-top:7px;gap:10px}.mrsl-news-panel .feed-search{max-width:180px}.mrsl-news-panel .feed-search input{font-size:16px;min-height:36px;padding:4px 0}.mrsl-news-panel .news-item{grid-template-columns:39px minmax(0,1fr);gap:10px;padding:14px 0}.mrsl-news-panel .news-time{font-size:10px}.mrsl-news-panel .news-title{font-size:13px;line-height:1.7}.mrsl-news-panel .news-summary,.mrsl-news-panel .news-body{font-size:12px;line-height:1.8}.mrsl-news-panel .news-topic{font-size:9px}.mrsl-news-panel .day-divider{padding-top:15px;font-size:10px}.mrsl-news-panel .news-release{padding:9px 10px}.mrsl-news-panel .news-release-grid dt{font-size:9px}.mrsl-news-panel .news-release-grid dd{font-size:12px}.mrsl-news-panel .feed-new-notice button{top:76px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.mrsl-news-panel button{transition:none}}
html[data-theme="light"] .mrsl-news-panel{--feed-red:#c51c2b;--feed-muted:#647184}
html[data-theme="light"] .mrsl-news-panel button:hover{background:#edf1f5;border-color:#cbd3dc}
html[data-theme="light"] .mrsl-news-panel .feed-important{color:#b91c2b;border-color:#f0c5c9;background:#fff1f2}
html[data-theme="light"] .mrsl-news-panel .feed-important[aria-pressed=true]{color:#fff;background:#c51c2b;border-color:#c51c2b}
html[data-theme="light"] .mrsl-news-panel .topic-button[aria-pressed=true]{color:#9f1623;background:#fff0f1;border-color:#efc5c9}
html[data-theme="light"] .mrsl-news-panel .feed-search{border-color:#cbd3dc;color:#697586}
html[data-theme="light"] .mrsl-news-panel .feed-search input::placeholder{color:#8993a1}
html[data-theme="light"] .mrsl-news-panel .day-divider{color:#738092}
html[data-theme="light"] .mrsl-news-panel .news-time{color:#6d7888}
html[data-theme="light"] .mrsl-news-panel .news-topic{color:#5d4d70;background:#f2eef7;border-color:#e1d9eb}
html[data-theme="light"] .mrsl-news-panel .news-summary,html[data-theme="light"] .mrsl-news-panel .news-body{color:#4f5b69}
html[data-theme="light"] .mrsl-news-panel .news-release{background:#f8fafc;border-color:#dce2e8}
html[data-theme="light"] .mrsl-news-panel .news-release-grid dd{color:#26313d}
html[data-theme="light"] .mrsl-news-panel .release-missing{color:#8993a1}
html[data-theme="light"] .mrsl-news-panel .feed-new-notice button{background:#a91e31;border-color:#c83d50;color:#fff;box-shadow:0 5px 25px rgba(20,30,40,.2)}

/* Short-landscape phones otherwise keep desktop-sized headlines and row spacing. */
@media screen and (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 #news-test-content{padding-top:5px;padding-bottom:26px}
 .mrsl-news-panel .feed-filter-toolbar{gap:8px;padding-bottom:6px}
 .mrsl-news-panel .feed-search-row{margin:5px 0 0;gap:8px}
 .mrsl-news-panel .day-divider{padding:9px 0 4px;font-size:10px}
 .mrsl-news-panel .news-item{grid-template-columns:43px minmax(0,1fr);gap:10px;padding:9px 0}
 .mrsl-news-panel .news-time{font-size:10px;padding-top:2px}
 .mrsl-news-panel .news-meta{gap:6px;margin-bottom:4px;line-height:1.35}
 .mrsl-news-panel .news-title{font-size:12px;line-height:1.45}
 .mrsl-news-panel .news-summary,.mrsl-news-panel .news-body{font-size:11.5px;line-height:1.5;margin:4px 0 0}
}
