.news-page { min-height: 100svh; }
.news-shell { width: min(860px, calc(100% - 32px)); margin: 96px auto 64px; font-family: "Roboto Mono", monospace; }
.news-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #34373a; }
.news-header h1 { margin: 0; color: #f2a900; font-size: 25px; letter-spacing: 0; }
.news-header p { margin: 6px 0 0; color: #858a8e; font-size: 10px; }
.news-icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: #aeb2b5; cursor: pointer; }
.news-icon-button:hover, .news-icon-button:focus-visible { color: #f2a900; }
.news-icon-button svg { width: 21px; height: 21px; }
.news-search { display: grid; grid-template-columns: 20px minmax(0, 1fr) 34px; align-items: center; gap: 8px; margin-top: 16px; padding: 0 8px 0 12px; border: 1px solid #3d4144; border-radius: 5px; background: #111315; color: #858a8e; }
.news-search:focus-within { border-color: #f2a900; color: #f2a900; }
.news-search > svg { width: 17px; height: 17px; }
.news-search input { min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: #e6e6e6; font: 13px "Roboto Mono", monospace; }
.news-search input::placeholder { color: #73787c; }
.news-search button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #858a8e; cursor: pointer; }
.news-search button:hover, .news-search button:focus-visible { color: #f2a900; }
.news-search button svg { width: 16px; height: 16px; }
.news-status { min-height: 20px; padding: 12px 0 0; color: #b5b5b5; font-size: 11px; }
.news-feed { border-top: 1px solid #282b2e; }
.news-item { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid #282b2e; }
.news-item:focus { outline: 1px solid #f2a900; outline-offset: 7px; }
.news-item-meta { color: #858a8e; font-size: 9px; line-height: 1.5; }
.news-item-source { display: block; margin-bottom: 4px; color: #f2a900; font-size: 10px; }
.news-item h2 { margin: 0; font-size: 16px; line-height: 1.35; letter-spacing: 0; }
.news-item h2 a { color: #e6e6e6; text-decoration: none; }
.news-item h2 a:hover, .news-item h2 a:focus-visible { color: #f2a900; }
.news-item p { margin: 8px 0 0; color: #b8bbbd; font-size: 12px; line-height: 1.55; }
.news-item-kind { display: inline-block; margin-top: 7px; color: #777d82; font-size: 8px; text-transform: uppercase; }
.news-more { display: block; margin: 24px auto 0; min-height: 42px; padding: 8px 16px; border: 1px solid #54585c; border-radius: 5px; background: transparent; color: #d2d4d5; cursor: pointer; font: 12px "Roboto Mono", monospace; }
.news-more:hover { border-color: #f2a900; color: #f2a900; }
.news-settings { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow-y: auto; border: 1px solid #414448; border-radius: 7px; background: #151719; color: #e6e6e6; font-family: "Roboto Mono", monospace; }
.news-settings::backdrop { background: rgba(4, 5, 6, .78); backdrop-filter: blur(3px); }
.news-settings-inner { padding: 18px; }
.news-settings header { display: flex; align-items: center; justify-content: space-between; }
.news-settings h2 { margin: 0; color: #f2a900; font-size: 18px; letter-spacing: 0; }
.news-settings fieldset { margin: 18px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid #34373a; }
.news-settings legend { padding: 0 8px 0 0; color: #d8dadb; font-size: 12px; }
.news-settings label { display: block; margin: 11px 0 5px; color: #aeb2b5; font-size: 10px; }
.news-settings input[type="text"] { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #414448; border-radius: 4px; background: #0f1112; color: #e6e6e6; font: 13px "Roboto Mono", monospace; }
.news-settings small { display: block; margin-top: 8px; color: #7f8488; font-size: 9px; line-height: 1.5; }
.news-source-options { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.news-source-option { display: flex !important; align-items: center; gap: 8px; min-height: 34px; margin: 0 !important; cursor: pointer; }
.news-source-option input { accent-color: #f2a900; }
.news-source-option:has(input:disabled) { color: #676b6e; cursor: not-allowed; }
.custom-feed-form { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 8px; }
.custom-feed-form button { border: 1px solid #f2a900; border-radius: 4px; background: #f2a900; color: #101112; cursor: pointer; font-size: 22px; }
.custom-source { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #292c2e; color: #b8bbbd; font-size: 10px; }
.custom-source span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.custom-source button { flex: 0 0 34px; width: 34px; height: 34px; border: 0; background: transparent; color: #e0696f; cursor: pointer; font-size: 18px; }
@media (max-width: 600px) { .news-shell { margin-top: 84px; } .news-item { grid-template-columns: 1fr; gap: 7px; } .news-item-meta { display: flex; justify-content: space-between; gap: 12px; } .news-source-options { grid-template-columns: 1fr; } }
