/* The reader itself uses styles.css; only feed-specific controls live here. */
.feedPage .readerToolbarSticky .tabbar{flex-wrap:nowrap}.feedPage .readerToolbarSticky input[type=search]{flex:1 1 0;min-width:0}
.feedPage .ntab :is(.srcl,.h,.c-desc){white-space:normal;overflow-wrap:anywhere}
.feedPage.wrap{max-width:none}.feedPage{padding-bottom:64px}.feedPage [hidden],.feedManagement [hidden]{display:none!important}
.readerFeedbackLink[hidden]{display:none}.readerFeedbackLink{position:fixed;z-index:34;right:calc(18px + env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 15px;border:1px solid var(--green);border-radius:999px;background:var(--green);color:var(--on-green);font:600 13px/1 var(--font);text-decoration:none;box-shadow:0 4px 16px color-mix(in srgb,var(--shadow-color) 24%,transparent)}.readerFeedbackLink:hover{filter:brightness(1.08)}.readerFeedbackLink:focus-visible{outline:2px solid var(--green);outline-offset:3px}.hasReaderFeedback .feedPage{padding-bottom:104px}
.readerFeedbackDialog{position:fixed;inset:auto calc(18px + env(safe-area-inset-right,0px)) calc(74px + env(safe-area-inset-bottom,0px)) auto;margin:0;width:min(470px,calc(100vw - 36px));height:min(700px,calc(100dvh - 100px));max-width:none;max-height:none;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--bg1);color:var(--ink);box-shadow:0 14px 44px color-mix(in srgb,var(--shadow-color) 36%,transparent)}.readerFeedbackDialog::backdrop{background:rgba(4,8,13,.38)}.readerFeedbackHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;height:50px;padding:0 12px 0 18px;border-bottom:1px solid var(--line);font:600 14px/1.2 var(--font)}.readerFeedbackHeader button{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:20px/1 var(--font);cursor:pointer}.readerFeedbackHeader button:hover{border-color:var(--green)}.readerFeedbackHeader button:focus-visible{outline:2px solid var(--green);outline-offset:2px}.readerFeedbackDialog iframe{display:block;width:100%;height:calc(100% - 50px);border:0;background:#fff}
.readerReportDialog{height:auto;max-height:calc(100dvh - 100px);overflow:auto}.readerReportBody{display:flex;flex-direction:column;gap:12px;padding:16px 18px 18px;font:14px/1.45 var(--font)}.readerReportKind{display:flex;gap:18px;margin:0;padding:0;border:0}.readerReportKind legend{margin-bottom:6px;color:var(--muted);font-size:12px}.readerReportKind label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.readerReportLabel{color:var(--muted);font-size:12px}.readerReportBody textarea{width:100%;min-height:140px;resize:vertical;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg2);color:var(--ink);font:14px/1.45 var(--font)}.readerReportBody textarea:focus-visible{outline:2px solid var(--green);outline-offset:1px}.readerReportAttach{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.readerReportPreview[hidden]{display:none}.readerReportPreview{display:block;margin:0}.readerReportPreview img{max-width:160px;max-height:110px;border:1px solid var(--line);border-radius:8px;object-fit:contain;background:var(--bg2)}.readerReportBody p{margin:0}.readerReportStatus:empty{display:none}.readerReportStatus.feedError{color:var(--red,#b74c43)}.readerReportActions{display:flex;justify-content:flex-end}
@media(max-width:520px){.readerFeedbackDialog{inset:auto 8px calc(8px + env(safe-area-inset-bottom,0px)) auto;width:calc(100vw - 16px);height:min(760px,calc(100dvh - 24px))}.readerReportDialog{height:auto;max-height:calc(100dvh - 24px)}}
#feedStatus{margin:0 0 10px;font-size:12px;color:var(--muted)}#feedStatus:empty{display:none}.feedError,#managementStatus{color:var(--red)}
.feedTreeBranch summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer}.feedTreeBranch summary::before{content:"›";font-size:19px;width:12px;flex:none}.feedTreeBranch[open]>summary::before{transform:rotate(90deg)}.feedTreeFolder,.feedTreeLeaf{display:flex;align-items:center;gap:9px;padding:9px 5px;min-width:0;font-size:13px;cursor:pointer}.feedTreeFolder{flex:1;font-weight:600}.feedTreeChildren{padding-left:18px;border-left:1px solid var(--line);margin-left:6px}.feedTreeLeaf .pickerOptionName,.feedTreeFolder .pickerOptionName{flex:1;overflow-wrap:anywhere}.feedTreeLeaf .pickerOptionCount{display:inline}
.feedTreeSurface label{display:flex;align-items:center;gap:9px;padding:8px 9px;border-radius:7px;color:var(--muted);font-size:13px;cursor:pointer}.feedTreeSurface label:hover{background:var(--bg2);color:var(--ink)}.feedTreeSurface input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;flex:none}.feedTreeSurface input:disabled{opacity:.4}.feedTreeSurface .pickerOptionName{display:block;flex:0 1 auto;justify-content:flex-start;text-align:left}.feedTreeSurface,.feedTreeSurface summary,.feedTreeSurface label{text-align:left;justify-content:flex-start}
.feedEmpty{padding:12px;color:var(--muted);font-size:13px}.personalReadToggle{width:28px;height:28px;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--muted);font:16px var(--font)}.personalReadToggle:hover{color:var(--green);border-color:var(--green)}
.feedManagement{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--bg1);color:var(--ink);padding:24px}.feedManagement::backdrop{background:rgba(4,8,13,.72)}.managementHeader{display:flex;align-items:center;gap:14px;justify-content:space-between;margin-bottom:18px}.managementHeader h2{font-size:20px;line-height:1.3}
.feedForm{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin:16px 0}.feedForm label,.feedFile{display:grid;gap:6px;font-size:13px}.feedForm label:first-child{flex:1;min-width:min(280px,100%)}.feedManagement input:not([type=checkbox]){border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:inherit;padding:9px 11px;min-width:0;max-width:100%}.feedManagement input::placeholder{color:var(--muted)}
.feedButton{border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:600 13.5px/1.2 var(--font);padding:10px 13px}.feedButton.primary{background:var(--green);color:var(--on-green);border-color:var(--green)}.feedButton:hover:not(:disabled){border-color:var(--green)}.feedButton:disabled{opacity:.5;cursor:not-allowed}.feedMeta{color:var(--muted);font-size:12px}
.feedSelectionTree{padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--bg1)}#subscriptionList,#importRows{max-height:340px;overflow:auto}.feedSelectionRows{max-height:320px;overflow:auto}.feedSelectionTree .feedTreeChildren{padding-left:18px}.feedSelectionTree .feedTreeFolder{font-weight:600}.feedSelectionTree .feedTreeLeaf .pickerOptionCount{display:inline}.feedSelectionTree .feedTreeBranch summary::before{color:var(--muted)}.feedSelectionTree .feedTreeBranch summary::-webkit-details-marker{display:none}
.feedImportError{display:block;margin:0 6px 8px 27px;color:var(--amber);font-size:12px}.feedImportRowError{color:var(--amber)}.feedImportRowError input{opacity:.4}.feedSelectionTree .feedSaved{color:var(--green);font-size:12px;margin-left:6px}
.feedPage :is(button,a,summary):focus-visible,.feedManagement :is(button,a,summary):focus-visible,.storyOverlay :is(button,a):focus-visible{outline:2px solid var(--green);outline-offset:3px}
.feedPage input:focus-visible{outline:none;border-color:var(--green)}
.feedManagement :is(input:not([type=checkbox]),select):focus-visible{outline:none;border-color:var(--green)}
.feedManagement :is(button,a,input,select):focus:not(:focus-visible){outline:none}
@media(max-width:720px){.feedPage .readerToolbarSticky .tabbar{grid-template-columns:minmax(0,1fr) repeat(6,36px)}.feedPage .newsView-list .meta-m{display:inline;margin:0 0 0 7px}.feedPage .newsView-list .meta-m .srcl{white-space:normal}.feedManagement{padding:18px}.managementHeader h2{font-size:18px}}
@media(max-width:720px){.feedPage :is(.multiPickerMenu,.readControlMenu,.readerSettingsMenu,.calpop){position:fixed!important;top:120px!important;left:16px!important;right:16px!important;width:auto!important;max-height:calc(100dvh - 140px);overflow:auto}}
@media(max-width:430px){.feedForm label{width:100%}}

/* The navigation tree and all three dialogs use the same typography and indentation. */

.feedManagement select{border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:inherit;padding:8px 10px;min-width:0;max-width:100%}
.feedExportActions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:7px 5px 2px}.feedExportActions button{border:0;background:transparent;color:var(--green);font:400 12px/1.2 var(--font);padding:4px 0}.feedExportActions button:hover{text-decoration:underline}
.feedSyncStatus{margin:0 0 10px;font:12px/1.4 var(--font);color:var(--muted)}.feedSyncStatus:empty{display:none}.feedSyncStatus.feedError{color:var(--red)}
.feedRefreshButton,.feedSortButton{position:relative;flex:0 0 36px}.feedRefreshButton:disabled{opacity:.5;cursor:wait}.feedRefreshButton.is-busy{opacity:1}.feedRefreshButton.is-busy svg{animation:feedRefreshSpin 1s linear infinite}@keyframes feedRefreshSpin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.feedRefreshButton.is-busy svg{animation:none;opacity:.5}}.feedRefreshDot{position:absolute;right:3px;top:3px;width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px var(--bg1)}
.feedPage .newsView-list col.c-dt{width:110px}
.feedPage .readerToolbarSticky{margin-bottom:0;padding-top:8px;padding-bottom:4px}.feedPage .readerToolbarSticky .tabbar{margin-bottom:0}
.feedPage #feedTools{padding:0}
.feedPage .newsView-list .nrow:first-child td{padding-top:6px}
.feedNotices{position:fixed;right:16px;bottom:44px;z-index:35;display:grid;gap:4px;max-width:min(440px,calc(100vw - 32px));pointer-events:none}.feedNotices:has(>p:not(:empty)){padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg1);box-shadow:0 4px 16px color-mix(in srgb,var(--shadow-color) 20%,transparent)}.feedNotices :is(#feedStatus,.feedSyncStatus){margin:0}
.hasReaderFeedback .feedNotices{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
@media(max-width:720px){.feedPage .newsView-list .nrow:first-child{padding-top:6px}.feedPage .newsView-list .nrow:first-child td{padding-top:0}}
.feedPage .readActions button:disabled{opacity:.5;cursor:wait}

/* The same feed tree is persistent beside the reader and overlays it on small screens. */
.feedReaderLayout.hasFeedNavigation{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px}
.feedReaderMain{min-width:0}
.feedReaderMain .readerToolbarSticky{margin-inline:0;padding-inline:0}
.feedReaderMain .newsView-cards tbody{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}
.feedNavigation{position:sticky;top:62px;align-self:start;height:calc(100dvh - 62px);overflow:auto;padding:14px 9px 20px 0;border-right:1px solid var(--line);scrollbar-width:thin}
.feedNavigationHeader{display:flex;align-items:center;justify-content:space-between;padding:3px 8px 11px}
.feedNavigationHeader h2{margin:0;color:var(--muted);font:700 11px/1.3 var(--font);letter-spacing:.08em;text-transform:uppercase}
.feedNavigationHeader button{display:none}
.feedAllRow{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:var(--muted);font:600 13px/1.3 var(--font);text-align:left}
.feedAllRow span:first-child{flex:1}
.feedAllRow:hover,.feedNavigation .feedTreeFolder:hover,.feedNavigation .feedTreeLeaf:hover{background:var(--bg2);color:var(--ink)}
.feedAllRow.is-active,.feedNavigation .is-active{background:var(--green-bg);color:var(--green)}
.saveLaterButton{display:inline-grid;place-items:center;min-width:30px;height:30px;margin-left:5px;padding:0;border:1px solid var(--line);border-radius:7px;background:var(--bg1);color:var(--muted);cursor:pointer}.saveLaterButton svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.saveLaterButton.is-saved svg{fill:currentColor}.saveLaterButton:hover,.saveLaterButton.is-saved{border-color:var(--green);color:var(--green)}.saveLaterButton:disabled{opacity:.45;cursor:not-allowed}.storyMeta .saveLaterButton{flex:none;margin-left:0;border:0;background:transparent}
.feedPage .newsView-list .c-pl{text-align:right}.feedPage .newsView-cards .c-pl .saveLaterButton,.feedPage .newsView-cards-list .c-pl .saveLaterButton{display:none}.feedPage .newsView-cards .c-share,.feedPage .newsView-cards-list .c-share{display:flex;align-items:center;gap:4px}
.feedNavigation #feedTree{margin-top:9px}
.feedNavigation .feedTreeSummary{display:flex;align-items:center;gap:0}
.feedNavigation .feedTreeExpand{width:17px;min-width:17px;height:32px;padding:0;border:0;background:transparent;color:var(--muted);font:19px/1 var(--font);text-align:center}
.feedNavigation .feedTreeExpand[aria-expanded="true"]{transform:rotate(90deg)}
.feedNavigation .feedTreeFolder,.feedNavigation .feedTreeLeaf{gap:7px;min-height:36px;padding:5px 7px;border-radius:7px}
.feedNavigation .feedTreeFolder{flex:1;min-width:0;padding-left:2px}
.feedNavigation .feedTreeLeaf{margin-left:0}
.feedNavigation .feedTreeChildren{padding-left:13px;margin-left:8px}
.feedNavigation input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--green);flex:none}
.feedNavigation .feedTreeName{flex:1;min-width:0;overflow:hidden;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap}
.feedNavigation .feedTreeName:disabled{opacity:.6;cursor:default}
.feedNavigation .pickerOptionCount{flex:none;font-size:11px}
.feedNavigation .is-active .pickerOptionCount,.feedAllRow.is-active .pickerOptionCount{color:var(--green)}
.feedNavigationActions{display:flex;justify-content:flex-end;margin-top:9px;padding-right:7px}
.feedNavigationActions button{border:0;background:transparent;color:var(--green);font:400 12px/1.2 var(--font);padding:5px 0}
.feedNavigationActions button:hover{text-decoration:underline}
.feedNavigationBackdrop{display:none}
.feedPage #fsite{display:none}

@media(max-width:860px){
  .feedReaderLayout.hasFeedNavigation{display:block}
  .feedReaderMain .readerToolbarSticky{margin-inline:-24px;padding-inline:24px}
  .feedPage #fsite:not([hidden]){display:block}
  .feedNavigation{display:none;position:fixed;z-index:38;top:62px;bottom:auto;left:0;width:min(320px,calc(100vw - 44px));height:calc(100vh - 62px);height:calc(100dvh - 62px);max-height:calc(100dvh - 62px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:14px 12px max(22px,env(safe-area-inset-bottom));background:var(--bg1);border-right:1px solid var(--line);box-shadow:12px 0 30px color-mix(in srgb,var(--shadow-color) 25%,transparent)}
  .feedNavigation.is-open{display:block}
  .feedNavigationHeader button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:22px;line-height:1}
  .feedNavigationHeader button:hover{background:var(--bg2);color:var(--ink)}
  .feedNavigationBackdrop:not([hidden]){display:block;position:fixed;z-index:37;inset:62px 0 0;width:100%;border:0;background:rgba(4,8,13,.52)}
  .feedNavigationOpen{overflow:hidden}
}
@media(max-width:720px){
  .feedPage .readerToolbarSticky .tabbar{grid-template-columns:36px minmax(0,1fr) repeat(5,36px)}
  .feedPage .readerToolbarSticky .tabbar #fsite{grid-column:1}
  .feedPage .readerToolbarSticky .tabbar #fq{grid-column:2}
  .feedReaderMain .newsView-cards tbody{grid-template-columns:1fr}
}
@media(max-width:430px){
  .feedReaderMain .readerToolbarSticky{margin-inline:-16px;padding-inline:16px}
  .feedPage .readerToolbarSticky .tabbar{gap:5px;grid-template-columns:34px minmax(0,1fr) repeat(5,34px)}
  .feedPage .readerToolbarSticky .tabbar :is(#fsite,.readControl,.datepick,.feedSortButton,.feedRefreshButton,.readerSettings){width:34px;min-width:34px}
  .feedPage .readerToolbarSticky .tabbar :is(.multiPickerFace,.readControlFace,.dp-face,.feedSortButton,.feedRefreshButton,.readerSettingsFace){height:34px}
}

/* Feed management reuses the reader tree, with editing and OPML in one workspace. */
.feedPage .dp-d.has-news:not(.sel){background:rgba(22,142,101,.16);color:var(--ink);font-weight:700}.feedPage .dp-d.has-news:not(.sel)::after{content:"";position:absolute;bottom:3px;width:3px;height:3px;border-radius:50%;background:var(--green)}.feedPage .dp-d{position:relative}.feedPage .dp-d:disabled{color:var(--faint);opacity:.48;cursor:default}
.feedNavigationControls{display:flex;align-items:center;gap:2px}
.feedNavigationHeader .feedNavigationControls button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font:700 18px/1 var(--font)}
.feedNavigationHeader .feedNavigationControls button:hover{background:var(--bg2);color:var(--green)}
.feedNavigationHeader .feedNavigationControls #closeFeedNavigation{display:none}
.feedManagement{width:min(900px,calc(100% - 32px));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.managementTabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:18px;overflow-x:auto}
.managementTab{flex:none;padding:8px 0 11px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font:600 13px var(--font)}
.managementTab[aria-current=page]{border-bottom-color:var(--green);color:var(--green)}
.managementColumns{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1fr);gap:24px}
.managementTreeHead{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font:700 11px var(--font);letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px}
.managementTreeHead button,.feedTextButton{border:0;background:transparent;color:var(--green);font:400 12px var(--font);letter-spacing:0;text-transform:none}
.managementInspector{min-width:0}.managementInspector h3{margin:0 0 6px;font:700 18px/1.3 var(--font)}
.managementInspector .feedMeta{overflow-wrap:anywhere}.managementBottom #managementStatus{min-height:1em;margin:0;color:var(--muted);font:12px/1.4 var(--font)}.managementBottom #managementStatus.feedError{color:var(--red)}
.feedPlanNote{margin:0 0 14px;color:var(--muted);font:12px/1.4 var(--font)}.managementBottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.managementBottom .managementFooter{margin:0;flex-wrap:nowrap}.managementBottom .feedButton{white-space:nowrap}.manageCreate{position:relative}.manageCreateMenu{position:absolute;bottom:calc(100% + 5px);right:0;z-index:2;min-width:128px;padding:5px;border:1px solid var(--line);border-radius:9px;background:var(--bg1);box-shadow:0 12px 28px rgba(0,0,0,.2)}.manageCreateMenu[hidden]{display:none}.manageCreateMenu button{display:block;width:100%;padding:9px;border:0;border-radius:6px;background:transparent;color:var(--ink);font:12px var(--font);text-align:left}.manageCreateMenu button:hover{background:var(--bg2)}
#subscriptionList{max-height:55dvh;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.feedSelectionTree .feedTreeName{min-width:0;flex:1;overflow:hidden;border:0;background:transparent;color:inherit;font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap}
.feedSelectionTree .feedTreeName.is-active{color:var(--green);font-weight:700}
.feedSelectionTree .feedTreeFolder,.feedSelectionTree .feedTreeLeaf{gap:8px}.feedSelectionTree .feedTreeLeaf{padding-left:27px}.feedSelectionTree .feedTreeBranch summary{gap:0}
#actionForm #actionFields{display:grid;gap:12px}#actionForm #actionFields label{display:grid;gap:5px;font:600 13px var(--font)}
#actionForm #actionFields input,#actionForm #actionFields select{box-sizing:border-box;width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:8px;background-color:var(--bg2);color:var(--ink);font:inherit;line-height:20px;padding:9px 11px}
#actionForm #actionFields select{-webkit-appearance:none;appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23718A9E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:12px 12px}
#actionForm #actionFields :is(input,select):focus-visible{border-color:var(--green)}
.feedFolderLine{display:flex;align-items:end;gap:6px}.feedFolderLine label{flex:1}.feedFolderLine button{display:grid;place-items:center;min-height:40px;padding:0 10px;text-align:center;white-space:nowrap}
.feedCheckStatus{font:12px/1.4 var(--font);color:var(--muted);margin:0}.feedCheckStatus.feedError{color:var(--red)}
@media(max-width:860px){.feedNavigationHeader .feedNavigationControls #closeFeedNavigation{display:grid}}
@media(max-width:720px){.managementColumns{grid-template-columns:1fr;gap:16px}.feedManagement{max-height:calc(100dvh - 16px);padding:16px}.managementInspector{padding-top:4px}#subscriptionList{max-height:32dvh}.managementTabs{gap:17px}}
/* Two-row header (menu.js, narrowest phones only): the drawer starts below it. */
.readerTopbar.headerTwoRows~.feedPage .feedNavigation{top:98px;height:calc(100vh - 98px);height:calc(100dvh - 98px);max-height:calc(100dvh - 98px)}
.readerTopbar.headerTwoRows~.feedPage .feedNavigationBackdrop:not([hidden]){inset:98px 0 0}

/* Dialog trees and the reader filter share the same row classes and typography. */
.feedSelectionTree .feedTreeBranch{margin:0}
.managementFooter{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:18px;padding:0;border:0;flex-wrap:wrap}
.feedFilePicker{display:flex;align-items:center;gap:12px;margin:12px 0 16px}
.feedFilePickerControl{position:relative;display:inline-flex;cursor:pointer}.feedFilePickerControl .feedButton{display:inline-flex}.feedFilePickerControl input[type=file]{position:absolute;inset:0;width:100%;height:100%;max-width:none;min-width:0;margin:0;padding:0;border:0;opacity:0;cursor:pointer}.feedFilePickerControl:focus-within .feedButton{outline:2px solid var(--green);outline-offset:3px}
.feedFileName{font:400 13px/1.4 var(--font);color:var(--muted);overflow-wrap:anywhere}
.feedActionDialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));max-height:min(80dvh,620px);overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--bg1);color:var(--ink);padding:20px;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.feedActionDialog::backdrop{background:rgba(4,8,13,.72)}
.feedActionDialog .managementHeader{margin-bottom:16px}
.feedActionDialog .managementHeader h2{margin:0}
#actionFields{display:grid;gap:14px}
#actionFields label{display:grid;gap:6px;color:var(--ink);font-size:13px}
.feedAddChoices{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.feedActionDialog input,.feedActionDialog select{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:inherit;padding:10px 11px}
.actionPopupButtons{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
#actionStatus{min-height:1.3em;margin:10px 0 0;font-size:12px}
@media(max-width:520px){.feedActionDialog{padding:17px}.managementFooter .feedButton{flex:0 1 auto}.managementBottom{display:block}.managementBottom #managementStatus{margin-bottom:7px}.managementBottom .managementFooter{justify-content:flex-end;gap:4px}#manageActions .feedButton{min-width:0;padding:9px 8px;font-size:12px;white-space:nowrap}}
.storySidecar :is(h3,.storyDescription){min-width:0;overflow-wrap:anywhere}
.storySidecar .storyTitleLink{min-width:0;max-width:100%;color:inherit;text-decoration:none}
.storySidecar .storyTitleLink:hover{text-decoration:underline;text-decoration-color:var(--green);text-underline-offset:3px}
.feedTutorial{position:fixed;inset:0;margin:auto;width:min(510px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--bg1);color:var(--ink);padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.feedTutorial::backdrop{background:rgba(4,8,13,.72)}.tutorialMark{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:800;letter-spacing:-.03em}.tutorialMark i{font-style:normal;color:var(--green)}.feedTutorial h2{font-size:clamp(24px,5vw,32px);line-height:1.15;margin:32px 0 0}.tutorialBody{margin:18px 0 24px;color:var(--muted);font-size:15px;line-height:1.55}.tutorialActions{display:flex;justify-content:flex-end;gap:8px}@media(max-width:520px){.feedTutorial{padding:21px}}
.tutorialChoices{display:grid;gap:14px;margin:-10px 0 22px}.tutorialChoices[hidden]{display:none}.tutorialChoices>.feedButton{justify-self:start}.tutorialChoices fieldset{display:grid;gap:9px;margin:0;padding:14px;border:1px solid var(--line);border-radius:10px}.tutorialChoices legend{padding:0 5px;color:var(--muted);font:600 13px var(--font)}.tutorialChoices label{display:flex;align-items:center;gap:9px;font:13px var(--font)}.tutorialChoices input{accent-color:var(--green)}#tutorialChoiceStatus{min-height:1.2em;margin:0;color:var(--muted);font:12px/1.4 var(--font)}#tutorialChoiceStatus.feedError{color:var(--red)}
/* Import and Pick stay together; Video tutorial sits at their right, or alone on the next line at the left when it does not fit. */
.tutorialSources{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}.tutorialStarts{display:flex;flex-wrap:wrap;gap:10px}.tutorialSources>.tutorialVideo{display:inline-flex;align-items:center;gap:7px}.tutorialVideo::before{content:'';display:inline-block;width:1.15em;height:1.15em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='6' width='13' height='12' rx='2.5'/%3E%3Cpath d='M16.5 10.5 22 7v10l-5.5-3.5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='6' width='13' height='12' rx='2.5'/%3E%3Cpath d='M16.5 10.5 22 7v10l-5.5-3.5z'/%3E%3C/svg%3E") center/contain no-repeat}#tutorialChoiceStatus:empty{display:none}
/* Add to home screen: a quiet line in the starter screen, an item in the gear menu. */
.readActions button[hidden]{display:none}

/* Reader story metadata has fixed action slots, independent of source-name length. */
.storySidecar .storyMeta{display:grid;grid-template-columns:minmax(0,1fr) 30px 30px;align-items:end;gap:8px}
.storySidecar .storyMeta .storyMetadata{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:4px 10px;min-width:0;text-align:left}
.storySidecar .storySourceName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.storySidecar .storyTimestamp{white-space:nowrap}
.storySidecar .storyMeta .shareButton,.storySidecar .storyMeta .saveLaterButton{display:inline-grid;place-items:center;align-self:end;width:30px;min-width:30px;height:30px;margin:0;padding:0;border:1px solid var(--line);border-radius:7px;background:var(--bg1);line-height:1}
.storySidecar .storyMeta .shareButton svg,.storySidecar .storyMeta .saveLaterButton svg{width:16px;height:16px}
.storySidecar .storyMeta .shareButton .shareLabel{display:none}
.storySidecar .storyMeta .shareButton .shareCheck{display:none}
.storySidecar .storyMeta .shareButton.copied .shareGlyph{display:none}
.storySidecar .storyMeta .shareButton.copied .shareCheck{display:block}
.storyImageCard{margin:0 0 16px;border:0;overflow:hidden}
.storyImageCard>.readerImageSlot,.storyImageCard>.storySourceFallback{margin:0;border:0;border-radius:0}
.storyImageCard .storyImage,.storyImageCard .storySourceFallback{border:0;border-radius:0;margin:0}
/* Article images can be the content itself (comics, charts); keep the entire image. */
.storySidecar .storyImage:not(.sourceImage){aspect-ratio:auto;height:auto;object-fit:contain}
.storyImageFooter{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0}
.storyImageFooter .storyCardAuthor{min-width:0;margin:0;white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.readerFullContent{display:flex;flex:none;align-items:center;position:relative;margin-left:auto}
.readerFetchToggle{display:inline-flex;align-items:center;position:relative;gap:8px;border:0;background:transparent;color:var(--muted);font:600 12px/1 var(--font);padding:9px 0 9px 10px;cursor:pointer;--reader-fetch-knob:var(--muted)}
.readerFetchToggle::before{content:'';flex:none;width:22px;height:12px;border-radius:8px;background:var(--line)}
.readerFetchToggle::after{content:'';position:absolute;left:12px;top:calc(50% - 4px);width:8px;height:8px;border-radius:50%;background:var(--reader-fetch-knob);transform:translateX(0)}
.readerFetchToggle[aria-pressed=true]{color:var(--green);border-color:var(--green)}
.readerFetchToggle[aria-pressed=true]::before{background:var(--green-bg)}
.readerFetchToggle[aria-pressed=true]::after{background:var(--green);transform:translateX(10px)}
.readerFetchToggle:disabled{opacity:.55;cursor:not-allowed}
.readerFetchToggle:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.readerFetchStatus{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.readerFullContent[data-state=available] .readerFetchToggle[aria-pressed=false]{--reader-fetch-knob:var(--green)}
.readerFullContent[data-state=loading] .readerFetchToggle{--reader-fetch-knob:var(--amber,#b78128)}
.readerFullContent[data-state=failed] .readerFetchToggle{--reader-fetch-knob:var(--red,#b74c43)}
@media(max-width:520px){.storySidecar .storyMeta .storyMetadata{display:block}.storySidecar .storySourceName,.storySidecar .storyTimestamp{display:block}.storySidecar .storyTimestamp{margin-top:4px}.storySidecar .storyMeta{gap:6px}}

.storyImageFooter .readerFullContent{max-width:145px;min-width:0}
.storyImageFooter .readerFetchToggle{max-width:100%;text-align:left;line-height:1.35}
.storyImageFooter .readerFetchToggle::before{flex:none}
/* #52: history loads only on request. */
.loadOlderBar{margin:0 0 28px;text-align:center}.loadOlderBar[hidden]{display:none}.loadOlderBar .loadmore{margin:18px auto 8px}.loadOlder:disabled{opacity:.65;cursor:default}.loadOlder:disabled:hover{color:var(--muted);border-color:var(--line)}.loadOlderStatus{text-align:center}
/* Collector health: tree marker and feed-view notice with Remove / Replace URL. */
.feedHealthMarker{flex:none;display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--amber-bg);border:1px solid var(--amber-bd);color:var(--amber);font:700 11px/1 var(--font)}
.feedHealthMarker.is-retired{background:var(--red-bg);border-color:var(--red-bd);color:var(--red)}
.feedNavigation .feedTreeLeaf.is-retired .feedTreeName{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--faint)}
.feedHealthNotices{display:grid;gap:8px;margin:0 0 12px}.feedHealthNotices:empty{display:none}
.feedHealthNotice{padding:11px 14px;border:1px solid var(--amber-bd);border-radius:10px;background:var(--amber-bg);font-size:13.5px;line-height:1.45}
.feedHealthNotice.is-retired{border-color:var(--red-bd);background:var(--red-bg)}.feedHealthNotice p{margin:0}
.feedHealthActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.feedHealthReplace{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin-top:10px}.feedHealthReplace label{display:grid;gap:4px;flex:1 1 260px;font-size:12px;color:var(--muted)}
.feedHealthReplace input{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg1);color:var(--ink);font:14px var(--font)}.feedHealthReplace .feedCheckStatus{flex-basis:100%;margin:0}
/* #57 smart folders: nav section and rule editor. */
.smartFolderSection{margin:6px 0 4px;padding-top:6px;border-top:1px solid var(--line)}
.smartFolderHead{display:flex;align-items:center;justify-content:space-between;padding:2px 9px;color:var(--faint);font:700 11px/1.4 var(--font);letter-spacing:.06em;text-transform:uppercase}
.smartFolderAdd,.smartFolderEdit{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font:600 15px/1 var(--font);cursor:pointer}
.smartFolderAdd:hover,.smartFolderEdit:hover{background:var(--bg2);color:var(--green)}
.smartFolderRow{display:flex;align-items:center;gap:2px}.smartFolderRow .smartFolderOpen{flex:1;min-width:0}.smartFolderName{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.smartFolderRow .smartFolderEdit{opacity:.55}.smartFolderRow:hover .smartFolderEdit,.smartFolderEdit:focus-visible{opacity:1}
.smartFolderDialog{position:fixed;inset:0;margin:auto;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:18px;background:var(--bg1);color:var(--ink);padding:24px}
.smartFolderDialog::backdrop{background:rgba(4,8,13,.72)}.smartFolderDialog h2{margin:0 0 16px;font-size:20px}
.smartFolderDialog form>label,.smartMatch{display:grid;gap:5px;margin-bottom:12px;font-size:12px;color:var(--muted)}
.smartFolderDialog input,.smartFolderDialog select{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:14px var(--font)}
.smartRules{display:grid;gap:8px;margin-bottom:8px}.smartRule{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.6fr) 34px;gap:6px}
.smartRuleRemove{border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font-size:16px}.smartRuleRemove:hover{color:var(--red);border-color:var(--red-bd)}
.smartFolderDialog .actionPopupButtons{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.smartFolderDialog .smartFolderDelete{margin-right:auto;color:var(--red)}
@media(max-width:520px){.smartRule{grid-template-columns:1fr 1fr 34px}.smartRule input{grid-column:1/3}}
/* #55 Feed Navigator and shared Premium prompt. */
.discoverForm{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin-bottom:8px}.discoverForm label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.discoverQuery{flex:1 1 220px}
.discoverForm input,.discoverForm select{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:14px var(--font)}
/* Search box, language and Buscar share one height; the select drops native styling, which drew it smaller. */
.discoverForm input,.discoverForm select,.discoverForm button{box-sizing:border-box;height:40px;min-height:40px}.discoverForm select{appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 15px) 17px,calc(100% - 10px) 17px;background-size:5px 5px;background-repeat:no-repeat}
.discoverResults{list-style:none;margin:0;padding:0;display:grid;gap:8px;max-height:52dvh;overflow:auto}
.discoverResult{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg1)}.discoverHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.discoverHead h3{margin:2px 0 0;font-size:15px;line-height:1.3}.discoverHead .feedButton{flex:none;padding:8px 12px}.discoverResult .feedMeta{margin:4px 0 0}
.discoverDescription{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--ink)}.discoverTopics{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.discoverTopics span{padding:2px 8px;border-radius:999px;background:var(--bg2);color:var(--muted);font-size:11.5px}
.discoverUrl{overflow-wrap:anywhere}.discoverLink{justify-self:start;margin-bottom:8px;padding:0}
.premiumPrompt{margin-top:10px;padding:10px 12px;border:1px solid var(--green-bd);border-radius:10px;background:var(--green-bg);font-size:13px;line-height:1.45}.premiumPrompt strong{color:var(--green);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.premiumPrompt p{margin:4px 0 0}
.storyImageCard+.premiumPrompt,.storyImageFooter+.premiumPrompt{margin:0 0 16px}
.feedPage .readerSettingsMenu{max-height:calc(100dvh - 130px);overflow-y:auto;overscroll-behavior:contain}
/* Premium badge in the nav count. */
.pickerOptionCount.premiumBadge{color:var(--green);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
/* #54 option C: the calendar only picks dates; sorting is a toolbar icon; the active filter sits above the list. */
.feedPage .cal-title{border:0;background:transparent;color:var(--ink);font:600 14px/1.3 var(--font);padding:4px 8px;border-radius:7px;cursor:pointer;text-transform:capitalize}
.feedPage .cal-title:hover,.feedPage .cal-title.sel{background:var(--green-bg);color:var(--green)}
.feedPage .dp-d.in-range{background:var(--green-bg);color:var(--ink);border-radius:0}
.feedPage .cal-hint{margin:10px 0 0;color:var(--muted);font:12px/1.4 var(--font)}
.feedSortButton svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dateFilterStrip{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid var(--line);font:13px/1.3 var(--font);color:var(--muted)}.dateFilterStrip[hidden]{display:none}
.dateFilterChip{display:inline-flex;align-items:center;gap:4px;padding:4px 4px 4px 11px;border-radius:999px;background:var(--green-bg);color:var(--ink)}
.dateFilterClear{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:15px;cursor:pointer}.dateFilterClear:hover{color:var(--ink);background:var(--bg2)}
/* #55 v2: topic tiles, sections and sort tabs. */
.feedManagement.isWide{width:min(780px,calc(100% - 32px))}
.discoverBody{display:grid;gap:18px;max-height:62dvh;overflow:auto;padding-right:2px}
.discoverGroupTitle{margin:0 0 4px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.discoverGroup>.feedMeta{margin:0 0 8px}
.discoverHeading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.discoverTopicTitle{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}
.discoverSort{display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:10px}.discoverSort button{padding:6px 10px;border:0;border-radius:7px;background:transparent;color:var(--muted);font:600 12.5px var(--font);cursor:pointer}
.discoverSort button.on{background:var(--green-bg);color:var(--green)}
.discoverBadges{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.discoverBadges span{padding:2px 8px;border-radius:999px;background:var(--amber-bg);color:var(--amber);font-size:11px;font-weight:700}
.discoverBack{justify-self:start;padding:0}
.discoverResults{max-height:none}
.discoverFeedName{margin:2px 0 0;font-size:13px;color:var(--muted)}.discoverOutletCount{flex:none;padding:2px 8px;border-radius:999px;background:var(--bg2);color:var(--muted);font-size:11.5px}
.discoverOutletFeeds{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.discoverOutletFeed{padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none}.discoverOutletFeed .discoverHead h3{font-size:14px;font-weight:600}
.discoverOutletToggle{display:flex;align-items:center;gap:10px;width:100%;padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.discoverOutletName{flex:1;font-size:15px;font-weight:700;line-height:1.3}.discoverChevron{flex:none;width:8px;height:8px;margin-right:4px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .15s}
.discoverOutletToggle[aria-expanded="true"] .discoverChevron{transform:rotate(-135deg)}.discoverOutletToggle:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:4px}
.discoverOutletFeeds[hidden]{display:none}
/* #58 AI summaries and the folder digest. Labelled as generated text. */
.aiSummary{margin:4px 0 14px;padding:12px 14px;border:1px solid var(--line);border-left-width:1px;border-radius:12px;background:var(--bg2);font-size:14px;line-height:1.5}
.aiSummaryLabel{margin:0 0 6px;font-size:12px;color:var(--muted)}.aiSummaryLabel strong{color:var(--ink)}.aiSummaryText{margin:0 0 6px;white-space:pre-line}
.digestBar:empty{display:none}.digestBar{margin:0 0 12px}.digestHead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.digestHead .feedButton{padding:8px 12px}
.digestStories{margin:8px 0 0;padding-left:18px;font-size:13px}.digestStories a{color:var(--ink)}
/* #58 summary toggle, stacked under Full article in the image-card footer. */
.storyToggles{display:flex;flex-direction:column;align-items:flex-start;margin-left:auto;min-width:0;max-width:170px}
.storyToggles .readerFullContent{margin-left:0;max-width:100%}
.storyToggles .readerFetchToggle{padding-top:5px;padding-bottom:5px}
.readerSummary[data-state=available] .readerFetchToggle[aria-pressed=false]{--reader-fetch-knob:var(--green)}
.readerSummary[data-state=loading] .readerFetchToggle{--reader-fetch-knob:var(--amber,#b78128)}
.readerSummary[data-state=failed] .readerFetchToggle{--reader-fetch-knob:var(--red,#b74c43)}
/* No image: the title leads and the excerpt takes the image's space, instead of a striped placeholder. */
.feedReaderMain .newsView-cards .nrow:not(:has(.newsImage)){grid-template-areas:"headline" "meta" "description";--feed-summary-lines:10}
.feedReaderMain .newsView-cards .nrow:not(:has(.newsImage)) .c-media{display:none}
.feedReaderMain .newsView-cards .nrow:not(:has(.newsImage)) .h{padding-top:0}
.feedReaderMain .newsView-cards .nrow:not(:has(.newsImage)) .c-desc{padding-top:10px;font-size:calc(14.5px * var(--reader-font-scale));line-height:1.5}
.storySidecar .storySourceFallback{display:none}

/* Premium sheet (#60) */
.premiumOpen{margin-top:8px}
.planRow{display:flex;align-items:center;justify-content:space-between;gap:12px}.planRow .feedPlanNote{margin:0}.planRow+.feedPlanNote:empty{display:none}.planRow+.feedPlanNote{margin-top:8px}.planRow{margin-bottom:14px}
.premiumSheet{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--bg1);color:var(--ink)}.premiumSheet::backdrop{background:rgba(4,8,13,.72)}
.premiumHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.premiumBrand{display:block;margin-top:18px;color:var(--green);font:700 12px/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase}
.premiumClose{width:36px;height:36px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--muted);font:20px/1 var(--font);cursor:pointer}.premiumClose:hover{border-color:var(--green);color:var(--ink)}.premiumClose:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.premiumSheet h2{margin:18px 0 0;font-size:clamp(22px,4.6vw,28px);line-height:1.15}
.premiumBenefits{margin:18px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.4}.premiumBenefits li{display:flex;gap:10px}.premiumBenefits li::before{content:"";flex:none;width:14px;height:8px;margin-top:5px;border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg)}.premiumBenefits .premiumStaysFree{color:var(--muted)}.premiumBenefits .premiumStaysFree::before{width:6px;height:6px;margin:7px 4px 0;border:0;border-radius:50%;background:var(--muted);transform:none}
.premiumPrice{display:flex;align-items:baseline;gap:8px;margin:20px 0 0;padding:13px 14px;border:2px solid var(--green);border-radius:12px;background:color-mix(in srgb,var(--green) 13%,var(--bg1))}.premiumPrice[hidden]{display:none}
.premiumPrice strong{font-size:20px;line-height:1.2}.premiumPrice small{color:var(--muted);font-size:12px}
.premiumContinue{width:100%;margin-top:18px;padding:14px;font-size:15px;font-weight:800}.premiumContinue:disabled{opacity:.6;cursor:default}
.premiumStatus{min-height:1.4em;margin:10px 0 0;font-size:13px;color:var(--muted)}.premiumStatus.feedError{color:var(--red)}
.premiumFine{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.premiumFine a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.premiumNotice{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;padding:12px 16px;border:1px solid var(--green-bd);border-radius:12px;background:var(--bg1);color:var(--ink);font:600 14px/1.45 var(--font);box-shadow:0 10px 30px color-mix(in srgb,var(--shadow-color) 30%,transparent)}
@media(max-width:520px){.premiumSheet{padding:21px}}

/* What's new: one screen, each feature a collapsible title. Previews reuse the Reader's own components, inert. */
.whatsNewList{display:grid;gap:8px;margin:0 0 22px}
.whatsNewList details{border:1px solid var(--line);border-radius:12px;background:var(--bg2)}
.whatsNewList details[open]{border-color:var(--green-bd)}
.whatsNewList summary{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:15.5px;font-weight:700;cursor:pointer;list-style:none}
.whatsNewList summary::-webkit-details-marker{display:none}
.whatsNewList summary::after{content:"›";margin-left:auto;color:var(--faint);font-size:19px;line-height:1;transition:transform .15s}
.whatsNewList details[open] summary::after{transform:rotate(90deg);color:var(--green)}
.whatsNewList summary:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:12px}
.whatsNewDetail{padding:0 14px 14px;color:var(--muted);font-size:14px;line-height:1.55}
.whatsNewDetail p{margin:0}
.whatsNewLimit{margin-top:8px!important;color:var(--ink);font-size:13px;font-weight:600}
.whatsNewPreview{margin-top:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg1);padding:12px;pointer-events:none}
.whatsNewPreview .aiSummary{margin:10px 0 0}
.whatsNewPreview .smartFolderSection{margin:0;padding-top:0;border-top:0}

/* Manage feeds, compact (Claudio, 14 October): no generic section padding, the plan line on top with its button under it.
   Feeds and folders, Import and Export get a window as wide as the tree's old column (Discover keeps the wide one);
   create, edit and move forms open under the tree. */
.feedManagement>section{padding:0}
#manageSection .planRow{flex-direction:column;align-items:flex-start;gap:8px}
.feedManagement:has(:is(#manageSection,#importSection,#exportSection):not([hidden])){width:min(512px,calc(100% - 32px))}
#manageSection .managementColumns{grid-template-columns:1fr;gap:16px}
.managementInspector h3:empty,.managementInspector p:empty{display:none}
.managementInspector:has(#actionForm[hidden]){display:none}
/* Themes (20 October): starter screen and Add feeds share one picker (theme-picker.js). */
#feedTutorial{width:min(900px,calc(100% - 32px))}#feedTutorial .tutorialBody{max-width:680px}
.themePicker{display:grid;gap:12px}.themeLangs{display:flex;gap:6px}.themeLangs button{border:1px solid var(--line);border-radius:999px;background:none;color:var(--muted);padding:4px 12px;font:600 12px var(--font);cursor:pointer}.themeLangs button[aria-pressed=true]{color:var(--ink);border-color:var(--green-bd);background:var(--green-bg)}
.themeTiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:9px;margin-top:10px}@media(max-width:520px){.themeTiles{grid-template-columns:1fr 1fr}}
.themeTile{position:relative;border:1px solid var(--line);border-radius:12px;background:var(--bg2);color:var(--ink)}.themeTile:hover,.themeTile:focus-within{border-color:var(--green-bd)}.themeTile.on{border-color:var(--green-bd);background:linear-gradient(var(--green-bg),var(--green-bg)),var(--bg2)}
.themeOpen{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;min-height:112px;padding:12px;border:0;border-radius:12px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.themeOpen:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.themeTile strong{font-size:13.5px;line-height:1.25}
.themeCheck{position:absolute;top:6px;right:6px;display:flex;align-items:center;gap:4px;min-width:28px;height:28px;padding:0 6px;border:0;border-radius:999px;background:none;color:var(--muted);font:400 12px var(--font);font-variant-numeric:tabular-nums;cursor:pointer}.themeCheck:hover:not(:disabled){background:var(--bg0)}.themeCheck:focus-visible{outline:2px solid var(--green);outline-offset:1px}.themeCheck:disabled{cursor:default}
.themeCheck i{display:grid;place-items:center;width:14px;height:14px;border:1px solid var(--muted);border-radius:50%;font-style:normal;font-size:9px;line-height:1;color:var(--on-green)}
.themeCheck[aria-checked=true],.themeCheck[aria-checked=mixed]{color:var(--green)}.themeCheck[aria-checked=true] i,.themeCheck[aria-checked=mixed] i{background:var(--green);border-color:var(--green)}.themeCheck[aria-checked=true] i::after{content:"✓"}.themeCheck[aria-checked=mixed] i::after{content:"–";font-weight:800}

.themeIcon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--green-bg);color:var(--green)}.themeIcon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.themeSample{color:var(--faint);font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.themePage{display:grid;gap:10px}.themeBack{justify-self:start;padding:0;font-size:13px;cursor:pointer}
.themeHead{display:flex;align-items:center;gap:10px}.themeHead h3{flex:1;margin:0;font-size:18px;line-height:1.2}.themeHead h3 small{display:block;color:var(--muted);font-size:12px;font-weight:400}
.themeFeeds{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.themeFeed{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:9px 12px;border-top:1px solid var(--line);color:var(--ink)}.themeFeed:first-child{border-top:0}
.themeFeedName{flex:1;min-width:0;font-size:13.5px}.themeFeedName small{display:block;overflow:hidden;color:var(--faint);font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}
.pickSwitch{flex:none;position:relative;width:36px;height:22px;border-radius:999px;background:var(--line)}.pickSwitch::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--ink);transition:transform .15s}
.themeNote{margin:0;padding:11px 12px;border:1px solid var(--amber-bd);border-radius:12px;background:var(--amber-bg);font-size:13px;line-height:1.45}
.themeUpgrade{padding:0;border:0;background:none;color:var(--amber);font:700 13px var(--font);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.themeSummary{min-height:1.2em;margin:0;color:var(--muted);font:12.5px/1.45 var(--font)}.themeSummary strong{color:var(--ink)}.themeSummary.themeLimit{color:var(--ink)}
.themeMore{margin:2px 0 0;color:var(--muted);font-size:12.5px}.themeMore .feedTextButton{padding:0;font-size:12.5px;cursor:pointer}
.themeBox{display:grid;gap:12px}.themeBar{position:sticky;bottom:0;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg2)}.themeBar .themeSummary{flex:1}
.inTutorial .discoverFolder{display:none}.inTutorial .discoverBody{max-height:none;overflow:visible}.tutorialAddFeeds{display:grid;gap:8px}.tutorialAddFeeds #discoverSection{display:grid;gap:4px}
/* One control for theme pages and search results (20 October): a folder menu beside the switch. */
.themeControl{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;flex:none;max-width:60%}
/* No fixed height here either: phones force 16px text in every select (styles.css). */
.themeFolder select,.themeFolder input{height:auto;min-height:32px;max-width:180px;padding:4px 8px;line-height:1.25;border:1px solid var(--line);border-radius:7px;background:var(--bg0);color:var(--ink);font:12px var(--font)}.themeFolder select:disabled{opacity:.45}
.pickSwitchButton{display:inline-flex;align-items:center;padding:4px;border:0;border-radius:999px;background:none;cursor:pointer}.pickSwitchButton:focus-visible{outline:2px solid var(--green);outline-offset:1px}.pickSwitchButton:disabled{cursor:default}
.pickSwitchButton[aria-checked=true] .pickSwitch{background:var(--green)}.pickSwitchButton[aria-checked=true] .pickSwitch::after{transform:translateX(14px);background:var(--on-green)}.pickSwitchButton.themeFull .pickSwitch,.pickSwitchButton:disabled .pickSwitch{opacity:.45}
.themeOwned{color:var(--green);font-size:12px}.themeControlNote{flex-basis:100%;text-align:right;color:var(--muted);font-size:11.5px}
/* No fixed height: phones force 16px text in every select (styles.css), which a 32px box cropped. */
.discoverLanguageFilter{flex:none;width:auto;max-width:none;height:auto;min-height:34px;padding:4px 10px;line-height:1.25;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font:12.5px var(--font)}
@media(max-width:520px){.themeControl{max-width:none}.themeFeed{flex-wrap:wrap}}
/* A long note under a switch (a failed check) wraps inside the row instead of running past its border. */
@media(max-width:520px){.themeControl{flex:0 1 auto;min-width:0}}.themeControlNote{overflow-wrap:anywhere}
/* On phones a feed's name keeps at least 9em; when the folder box and switch don't fit beside it they wrap to
   their own line, right-aligned. Before, the name shrank to ~50px and long words ran under the folder box (23 October). */
@media(max-width:520px){.themeFeed>.themeFeedName{flex:1 1 9em;overflow-wrap:anywhere}.themeFeed>.themeControl{margin-left:auto}}
.discoverControls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
/* The Add feeds panel's sections skip the site-wide section padding (34px), so the themes sit close to the search box. */
#discoverSection,.discoverGroup{padding:0}#discoverStatus:empty{display:none}
.themeClear{padding:0;border:0;background:none;color:var(--green);font:600 12.5px var(--font);text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}.themeClear:focus-visible{outline:2px solid var(--green);outline-offset:2px}
/* Getting started after onboarding (22 October): Done at the top right, as in Manage feeds. */
.tutorialClose{margin-left:auto}.tutorialClose[hidden]{display:none}
/* Add feeds (22 October): the dialog itself does not scroll. Search, status and the bar stay put and only the themes or
   the results scroll, so the bar never sits on a card's border. In results, Back and the heading stay above the list. */
.feedManagement.isWide[open]{display:flex;flex-direction:column;overflow:hidden}
.feedManagement.isWide>:is(.managementHeader,.managementTabs){flex:none}
.feedManagement.isWide #discoverSection{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.feedManagement.isWide #discoverSection>:is(.discoverForm,#discoverStatus){flex:none}
.feedManagement.isWide .discoverBody{flex:1 1 auto;min-height:0;max-height:none}
.feedManagement.isWide .themeBar{position:static;flex:none;margin-top:12px}
.discoverBody.isResults{display:flex;flex-direction:column;gap:12px;overflow:hidden}.discoverBody.isResults>*{flex:none}.discoverBody.isResults>.discoverBack{align-self:flex-start}
.feedManagement.isWide .discoverBody.isResults>.discoverResults{flex:1 1 auto;min-height:0;overflow:auto}
.discoverResults>.discoverMoreRow{padding:10px 12px;border-top:1px solid var(--line)}
/* One quiet scrollbar for these lists, with room between it and the cards. */
.discoverBody,.discoverResults{scrollbar-width:thin;scrollbar-color:var(--line) transparent;scrollbar-gutter:stable;padding-right:10px}
.discoverBody.isResults{padding-right:0}
.discoverBody::-webkit-scrollbar,.discoverResults::-webkit-scrollbar{width:8px}
.discoverBody::-webkit-scrollbar-thumb,.discoverResults::-webkit-scrollbar-thumb{background:var(--line);border-radius:999px}
.discoverBody::-webkit-scrollbar-track,.discoverResults::-webkit-scrollbar-track{background:transparent}
/* On the starter screen the whole dialog scrolls and the bar stays at its foot; a band of the dialog's colour around it
   hides the cards passing beneath, so their borders do not meet the bar's. */
.inTutorial .themeBar{margin-top:12px;box-shadow:0 0 0 10px var(--bg1)}
.inTutorial .discoverBody,.inTutorial .discoverResults{padding-right:0;scrollbar-gutter:auto}
/* Results as a theme's feed list (22 October): one bordered list of rows; an outlet's feeds indented under it on a
   guide line. A feed's name opens its details and latest headlines in a small dialog (.feedInfo). */
/* Block, not grid: in the fixed-height scrolling list, grid rows held to their 52px minimum and long names spilled
   over the next row on phones (22 October). */
.discoverResults.themeFeeds{display:block}
button.themeFeedName{padding:0;border:0;background:none;color:inherit;font:inherit;font-size:13.5px;text-align:left;cursor:pointer}
button.themeFeedName:hover{color:var(--green)}button.themeFeedName:hover small{color:var(--muted)}button.themeFeedName:focus-visible{outline:2px solid var(--green);outline-offset:2px;border-radius:4px}
.discoverOutlet{padding:0}.discoverOutlet .discoverOutletToggle{min-height:52px;padding:9px 12px}
/* A group reads as one more feed in the list, not as a heading (Claudio, 22 October). */
.discoverOutlet .discoverOutletName{font-size:13.5px;font-weight:400}
.discoverOutletFeeds{display:grid;margin:0 0 0 14px;padding:0;border-top:1px solid var(--line);border-left:2px solid var(--line)}.discoverOutletFeeds[hidden]{display:none}
.feedInfo{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));height:fit-content;max-height:calc(100dvh - 48px);overflow:auto;padding:18px 20px 20px;border:1px solid var(--line);border-radius:14px;background:var(--bg1);color:var(--ink);box-shadow:0 22px 70px rgba(0,0,0,.35)}
.feedInfo::backdrop{background:rgba(4,8,13,.5)}
.feedInfoHead{display:flex;align-items:flex-start;gap:12px}.feedInfoHead h3{flex:1;min-width:0;margin:0;font-size:17px;line-height:1.3;overflow-wrap:anywhere}.feedInfoHead h3 small{display:block;color:var(--muted);font-size:12px;font-weight:600}
.feedInfoClose{flex:none;width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--ink);font-size:18px;line-height:1;cursor:pointer}.feedInfoClose:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.feedInfo .feedMeta{margin:8px 0 0}.feedInfo .discoverBadges .feedInfoNote{background:var(--green-bg);color:var(--green)}
.feedInfoSection{margin:16px 0 0;color:var(--muted);font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.discoverSampleList{list-style:none;margin:6px 0 0;padding:8px 10px;display:grid;gap:8px;border-radius:8px;background:var(--bg2)}
.discoverSampleList li{display:flex;align-items:baseline;gap:8px;font-size:13.5px;line-height:1.35}
.discoverSampleList button{flex:1;min-width:0;padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer}.discoverSampleList button:hover{color:var(--green);text-decoration:underline}.discoverSampleList button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.discoverSampleList small{flex:none;color:var(--faint);font-size:11.5px;white-space:nowrap}

/* 27 October: A− A+ and a phone search button in the toolbar; four story views with "Source / 3h" and summaries that
   open in place; close buttons on the left on phones; All news and Read later stay put while the feeds below scroll. */
.feedFontSize{position:relative;display:flex;flex:none;height:36px;border:1px solid var(--line);border-radius:11px;background:var(--bg1)}
.feedFontSize button{width:36px;padding:0;border:0;background:transparent;color:var(--muted);font:700 13px/1 var(--font);cursor:pointer}
.feedFontSize button+button{border-left:1px solid var(--line);font-size:16px}
.feedFontSize button:first-child{border-radius:10px 0 0 10px}.feedFontSize button:nth-child(2){border-radius:0 10px 10px 0}
.feedFontSize button:hover:not(:disabled){background:var(--green-bg);color:var(--green)}
.feedFontSize button:disabled{color:var(--faint);opacity:.55;cursor:default}
.feedFontToast{position:absolute;top:calc(100% + 6px);right:0;z-index:40;padding:5px 9px;border:1px solid var(--line);border-radius:8px;background:var(--bg1);color:var(--ink);font:600 12px/1.2 var(--font);white-space:nowrap;box-shadow:0 4px 14px color-mix(in srgb,var(--shadow-color) 22%,transparent);pointer-events:none}
.feedSearchToggle,.feedSearchClose{display:none}
.feedSearchToggle.is-active{border-color:var(--green-bd);color:var(--green)}
.feedSearchDot{position:absolute;right:4px;top:4px;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 2px var(--bg1)}
@media(max-width:720px){
  .feedPage .readerToolbarSticky .tabbar{display:flex;align-items:center;justify-content:flex-end;gap:6px}
  .feedPage .readerToolbarSticky .tabbar>#fsite{margin-right:auto}
  .feedPage .readerToolbarSticky .tabbar>*{flex:0 0 auto}
  .feedPage .readerToolbarSticky .tabbar :is(.feedSortButton,.feedRefreshButton,.feedSearchToggle){display:flex;width:36px;min-width:36px}
  .feedPage .readerToolbarSticky .tabbar #fq{display:none}
  .feedPage .readerToolbarSticky .tabbar.is-searching>:not(#fsite,#fq,.feedSearchClose){display:none}
  .feedPage .readerToolbarSticky .tabbar.is-searching #fq{display:block;flex:1 1 auto;width:auto;min-width:0;border-color:var(--green-bd)}
  .feedPage .readerToolbarSticky .tabbar #fq::-webkit-search-cancel-button{display:none}
  .feedPage .readerToolbarSticky .tabbar.is-searching .feedSearchClose{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:11px;background:var(--bg1);color:var(--muted);font:22px/1 var(--font)}
}
@media(max-width:430px){
  .feedPage .readerToolbarSticky .tabbar{gap:5px}
  .feedPage .readerToolbarSticky .tabbar :is(.feedSortButton,.feedRefreshButton,.feedSearchToggle){width:34px;min-width:34px;height:34px}
  .feedPage .readerToolbarSticky .tabbar.is-searching .feedSearchClose{width:34px;height:34px}
  .feedFontSize{height:34px}.feedFontSize button{width:32px}
}
@media(max-width:374px){
  .feedPage .readerToolbarSticky .tabbar{gap:3px}
  .feedPage .readerToolbarSticky .tabbar :is(#fsite,.readControl,.datepick,.feedSortButton,.feedRefreshButton,.feedSearchToggle,.readerSettings){width:32px;min-width:32px}
  .feedFontSize button{width:30px}
}
@media(max-width:340px){
  .feedPage .readerToolbarSticky .tabbar{gap:2px}
  .feedPage .readerToolbarSticky .tabbar :is(#fsite,.readControl,.datepick,.feedSortButton,.feedRefreshButton,.feedSearchToggle,.readerSettings){width:29px;min-width:29px}
  .feedFontSize button{width:27px}
}
.readerSegments.four{grid-template-columns:repeat(4,1fr)}

/* Every Reader view is a grid of the row's cells; the headline cell dissolves so its title and source line place apart. */
.feedPage .ntab{display:block}.feedPage .ntab colgroup{display:none}.feedPage .ntab tbody{display:block}
.feedPage .ntab.newsView-cards tbody{display:grid}
.feedPage .ntab .nrow{position:relative;display:grid;align-items:start}
.feedPage .ntab .nrow>td{display:none;padding:0;border:0}
.feedPage .ntab .nrow>td.c-hl{display:contents}
.feedPage .ntab .nrow:hover td{background:transparent}
.feedPage .ntab .nrow .h{grid-area:headline}
.feedPage .ntab .nrow .meta-m{grid-area:meta;display:block;margin:3px 0 0;color:var(--muted);font-size:calc(12.5px * var(--reader-font-scale));line-height:1.35}
.feedPage .ntab .nrow .meta-m .srcl{font-size:inherit}
.feedPage .ntab .nrow>td.c-desc{grid-area:description;padding-top:6px;color:var(--muted);font-size:calc(14.5px * var(--reader-font-scale));line-height:1.45}
.feedPage .nrow.is-read :is(.h,.meta-m){opacity:.54}
.feedSummary{position:relative}.feedSummary.is-cut{cursor:pointer}
.feedSummaryText{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--feed-summary-lines,3);overflow:hidden}
.feedSummaryMore{display:none;position:absolute;right:0;bottom:0;padding:0 0 0 34px;border:0;background:linear-gradient(to right,transparent,var(--feed-summary-bg,var(--bg0)) 30px);color:var(--green);font:inherit;font-weight:600;cursor:pointer}
.feedSummary.is-cut .feedSummaryMore{display:block}
.nrow.is-expanded .feedSummaryText{display:block;-webkit-line-clamp:unset;overflow:visible}
.nrow.is-expanded .feedSummaryMore{display:none}
.feedSummaryLess{display:none;margin-top:4px;padding:0;border:0;background:transparent;color:var(--green);font:inherit;font-weight:600;cursor:pointer}
.nrow.is-expanded .feedSummaryLess{display:inline-block}

/* Headlines: one line on a computer, headline over its source line on a phone. */
/* Headlines (30 October): Headline + summary without the summary. Source and age sit under the headline instead of in
   their own column, and the headline is not bold. */
.feedPage .newsView-list .nrow{grid-template-areas:"headline save" "meta save";grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:start;padding:10px 0;border-bottom:1px solid var(--bg2)}
/* Headlines are read in full at every text size (27 October): they wrap, and a long word breaks instead of being cut. */
.feedPage .newsView-list .nrow .h{display:block;white-space:normal;overflow-wrap:anywhere}
/* A long source name takes at most a third of the row and wraps, so it never squeezes the headline; the age stays in one piece. */
.feedPage .newsView-list .nrow .meta-m{margin:3px 0 0;white-space:normal;overflow-wrap:anywhere}.feedPage .newsView-list .nrow .meta-m .feedAge{white-space:nowrap}
.feedPage .newsView-list .nrow>td.c-pl{display:block;grid-area:save;align-self:start}
/* Headlines on tablets and desktops (30 October): share beside read later, as in Headline + summary. */
@media(min-width:721px){.feedPage .newsView-list .nrow.is-read>td.c-share{opacity:.54}.feedPage .newsView-list .nrow>td.c-pl{display:none}.feedPage .newsView-list .nrow>td.c-share{display:flex;grid-area:save;position:static;align-items:center;gap:4px;align-self:start;padding-left:8px}}
/* Headline + summary: picture on the right on a computer, none on a phone. */
.feedPage .newsView-summary .nrow{grid-template-areas:"headline share media" "meta meta media" "description description media";grid-template-columns:minmax(0,1fr) auto 168px;grid-template-rows:auto auto 1fr;column-gap:18px;padding:14px 0;border-bottom:1px solid var(--bg2)}
.feedPage .newsView-summary .nrow:not(:has(.newsImage)){grid-template-areas:"headline share" "meta meta" "description description";grid-template-columns:minmax(0,1fr) auto}
.feedPage .newsView-summary .nrow:has(.newsImage)>td.c-media{display:block;grid-area:media}
.feedPage .newsView-summary .newsImage{aspect-ratio:16/10}
/* One headline style in every view (27 October). */
.feedPage :is(.newsView-list,.newsView-summary,.newsView-cards,.newsView-cards-list) .nrow .h{font-size:calc(17px * var(--reader-font-scale));font-weight:650;line-height:1.32}
.feedPage .newsView-list .nrow .h{font-weight:400}
.feedPage :is(.newsView-summary,.newsView-cards-list) .nrow>td.c-share{display:flex;grid-area:share;position:static;align-items:center;gap:4px;align-self:center;padding-left:8px}
.feedPage .newsView-summary .nrow>td.c-share{align-self:start}
.feedPage :is(.newsView-summary,.newsView-cards-list,.newsView-cards) .nrow>td.c-desc{display:block}
/* Cards: today's grid, with the source line under the headline. */
.feedPage .newsView-cards .nrow{grid-template-areas:"media" "headline" "meta" "description";grid-template-columns:minmax(0,1fr);--feed-summary-bg:var(--bg1);--feed-summary-lines:4}
.feedPage .newsView-cards .nrow>td.c-media{display:block;grid-area:media}
.feedPage .newsView-cards .nrow .h{padding-top:11px}
.feedPage .newsView-cards .nrow>td.c-desc{padding-top:8px}
.feedPage .newsView-cards .nrow>td.c-share{display:flex}
/* Cards + summary: square picture on the left, headline, two lines, then the source line (after Inoreader). */
.feedPage .newsView-cards-list .nrow{grid-template-areas:"media headline headline" "media description description" "media meta share";grid-template-columns:112px minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;column-gap:14px;padding:14px 0;border:0;border-bottom:1px solid var(--bg2);--feed-summary-lines:2}
.feedPage .newsView-cards-list .nrow:first-child{border-top:0}
.feedPage .newsView-cards-list .nrow>td.c-media{display:block;grid-area:media}
.feedPage .newsView-cards-list :is(.newsImage,.newsImageFallback){aspect-ratio:1;border-radius:10px}
.feedPage .newsView-cards-list .nrow>td.c-desc{padding-top:4px}
.feedPage .newsView-cards-list .nrow .meta-m{align-self:center;margin-top:6px}
@media(min-width:721px){
  .feedPage .newsView-cards-list .nrow{grid-template-columns:180px minmax(0,1fr) auto;--feed-summary-lines:3}
  .feedPage .newsView-cards-list :is(.newsImage,.newsImageFallback){aspect-ratio:3/2}
}
@media(max-width:720px){
  .feedPage .newsView-list .nrow{grid-template-areas:"headline" "meta";grid-template-columns:minmax(0,1fr);padding:9px 0}
  .feedPage .newsView-list .nrow .meta-m{margin-top:2px}
  .feedPage .newsView-list .nrow>td.c-pl{display:none}
  .feedPage .newsView-summary .nrow,.feedPage .newsView-summary .nrow:not(:has(.newsImage)){grid-template-areas:"headline share" "meta meta" "description description";grid-template-columns:minmax(0,1fr) auto}
  .feedPage .newsView-summary .nrow:has(.newsImage)>td.c-media{display:none}
}
@media(max-width:374px){.feedPage .newsView-cards-list .nrow{grid-template-columns:88px minmax(0,1fr) auto;column-gap:12px}}

/* Dialog close buttons on the left on phones, under the thumb of the hand that holds it. The story card keeps its close
   at the top right and closes with a double tap (30 October). */
@media(max-width:720px){
  .readerFeedbackHeader{padding:0 18px 0 12px}.readerFeedbackHeader button{order:-1}.readerFeedbackHeader strong{flex:1}
  .premiumHead .premiumClose,.feedInfoHead .feedInfoClose{order:-1}
  dialog.mhVideo .mhVideoClose{left:8px;right:auto}
}
@media(max-width:860px){
  .feedNavigationHeader{justify-content:flex-start;gap:4px}
  .feedNavigationHeader h2{flex:1;margin-left:4px}
  .feedNavigationHeader .feedNavigationControls{display:contents}
  .feedNavigationHeader .feedNavigationControls #closeFeedNavigation{order:-1}
}

/* Sidebar: header, All news and Read later stay; smart folders and the feed tree scroll beneath them. */
.feedNavigation:not([hidden]){display:flex;flex-direction:column;overflow:hidden}
.feedNavigation>:not(.feedNavigationScroll){flex:none}
.feedNavigationScroll{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin-top:6px;border-top:1px solid var(--line)}
.feedNavigationScroll>.smartFolderSection:first-child{margin-top:0;border-top:0}
@media(max-width:860px){
  .feedNavigation:not([hidden]){display:none;overflow:hidden}
  .feedNavigation.is-open:not([hidden]){display:flex}
  .feedNavigationScroll{touch-action:pan-y;-webkit-overflow-scrolling:touch}
}

/* The story card follows the text size too (27 October); its chrome (logo, buttons, switches) stays fixed. Only the
   card's own headline: headings inside a fetched article keep their size. */
.storySidecar>h3{font-size:calc(28.5px * var(--reader-font-scale))}
.storySidecar .storyDescription{font-size:calc(16.5px * var(--reader-font-scale))}
.storySidecar .storyByline{font-size:calc(13.5px * var(--reader-font-scale))}
.storySidecar .storyImageFooter .storyCardAuthor{font-size:calc(12px * var(--reader-font-scale))}
.storySidecar .aiSummary{font-size:calc(14px * var(--reader-font-scale))}
@media(max-width:720px){
  .storySidecar>h3{font-size:calc(25px * var(--reader-font-scale))}
  .storySidecar .storyDescription{font-size:calc(15.5px * var(--reader-font-scale))}
}
/* Touch screens report the finger that starts a scroll as a hover, and iOS keeps it until the next touch; keep the green headline hover for real pointers. */
@media(hover:none){.feedPage .ntab .h:hover{color:var(--ink)}}

/* Reading layouts (30 October): double tap to close, side-panel stories, reading pane, movable feeds menu. */
.storySidecar{touch-action:manipulation}
/* No double-tap zoom anywhere in the Reader (2 November): Safari zoomed the page on quick taps and kept it, so the page
   slid sideways and screen-sized popups overflowed. Pinch zoom stays. */
html,body,.imageZoom,.imageZoomStage{touch-action:manipulation}
/* Focus moves to the story so keys work at once; a tap or click draws no ring, the keyboard still does. */
.storySidecar:focus:not(:focus-visible){outline:none}
.storyGestureHint{position:fixed;left:50%;bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));z-index:70;width:max-content;max-width:calc(100vw - 32px);margin:0;padding:9px 14px;border:1px solid var(--green-bd);border-radius:10px;background:var(--bg2);color:var(--ink);font:600 13px/1.35 var(--font);text-align:center;box-shadow:0 12px 30px rgba(0,0,0,.3);pointer-events:none;transform:translateX(-50%);animation:storyHint 4.2s ease forwards}
@keyframes storyHint{0%{opacity:0;transform:translate(-50%,8px)}8%,85%{opacity:1;transform:translate(-50%,0)}100%{opacity:0;transform:translate(-50%,0)}}
.storyOverlay.storySlide{justify-content:flex-end;align-items:stretch;padding:env(safe-area-inset-top,0px) 0 0;background:rgba(5,8,12,.38);backdrop-filter:none}
.storySlide .storySidecar{width:var(--slide-width);max-width:none;height:100%;max-height:none;margin:0;border-width:0 0 0 1px;border-radius:0;padding-bottom:max(30px,env(safe-area-inset-bottom));animation:storySlideIn .22s ease-out}

/* Previous and next sit at the foot of the panel, one at each edge. */
.storySlide{--slide-width:min(760px,62vw)}
.storySlide .storyNavBtn{top:auto;bottom:max(16px,env(safe-area-inset-bottom));width:52px;height:40px;transform:none;font-size:26px}
.storySlide .storyNavBtn.prev{left:auto;right:calc(var(--slide-width) - 66px)}
.storySlide .storyNavBtn.next{left:auto;right:14px}
/* The panel opens under the toolbar, which stays in view, and has no top bar: a quiet close sits beside the headline. */
.storyOverlay.storySlide{top:max(var(--slide-top,0px),env(safe-area-inset-top,0px));bottom:0;height:auto;min-height:0;padding-top:0}
/* The header and toolbar stay usable above the open panel, so their menus (and a phone's feeds menu) open over it. */
html:has(.storyOverlay.storySlide) .topbar{z-index:62}
html:has(.storyOverlay.storySlide) .readerToolbarSticky{z-index:61}
/* The panel already locks the page on the root; locking <body> too would unstick the header and toolbar. */
@media(max-width:860px){html:has(.storyOverlay.storySlide) body.feedNavigationOpen{overflow:visible}html:has(.storyOverlay.storySlide) .feedNavigation{z-index:64}html:has(.storyOverlay.storySlide) .feedNavigationBackdrop:not([hidden]){z-index:63}}
.storySlide .storySidecar{position:relative;padding-top:22px}
.storySlide .storySidecar>h3{padding-right:34px}
.storySlide .storyHeadClose{position:absolute;top:22px;right:14px;display:grid;place-items:center;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:7px;background:transparent;color:var(--faint);cursor:pointer}
.storySlide .storyHeadClose:hover{color:var(--ink);background:var(--bg2)}
.storySlide .storyHeadClose svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.storySlide .storySidecar{padding-bottom:max(76px,calc(env(safe-area-inset-bottom) + 64px))}
@keyframes storySlideIn{from{transform:translateX(100%)}to{transform:none}}
@media(max-width:720px){.storySlide{--slide-width:calc(100vw - 24px)}.storySlide .storySidecar{width:var(--slide-width)}}
/* Tablets held upright: the side panel takes three quarters of the screen. */
@media(min-width:721px) and (max-width:1024px) and (orientation:portrait){.storySlide{--slide-width:75vw}}
@media (prefers-reduced-motion:reduce){.storyGestureHint,.storySlide .storySidecar{animation:none}}
.storyEmbedded{width:auto;max-width:none;max-height:none;margin:0;overflow:visible;box-shadow:none;animation:none}
.storyEmbedded .storyNavBtn{display:none}
.feedPage .ntab .nrow.is-current{background:var(--green-bg)}
.feedPage .ntab .nrow.is-current :is(.saveLaterButton,.shareButton){border-color:var(--green-bd);background:transparent}
.feedPage .ntab .nrow.is-current .h{color:var(--green)}
/* Reading pane: the story scrolls on its own beside (or under) the headlines. */
.readingPane{position:sticky;top:var(--reader-sticky-bottom,110px);align-self:start;height:calc(100vh - var(--reader-sticky-bottom,110px));height:calc(100dvh - var(--reader-sticky-bottom,110px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;background:var(--bg0)}
.readingPane.lineLeft{border-left:1px solid var(--line)}
.readingPane.lineRight{border-right:1px solid var(--line)}
.readingPane .storyChrome{grid-template-columns:minmax(0,1fr) auto;height:44px}
.feedReaderLayout.layoutAreas>.readerToolbarSticky{grid-area:tools;align-self:start;margin-inline:0;padding-inline:0}
.feedReaderMain>.readingPane{top:auto;bottom:0;border-right:0;z-index:6;height:46vh;height:46dvh;margin-top:12px;border-left:0;border-top:2px solid var(--line);box-shadow:0 -14px 30px color-mix(in srgb,var(--shadow-color) 22%,transparent)}
.readingPaneEmpty{margin:0;padding:56px 24px;color:var(--faint);font-size:14px;text-align:center}
.readingPane .storyEmbedded{min-height:100%;padding-top:18px;border:0;border-radius:0}
.readingPane .storyChrome{border-radius:0}
.feedReaderLayout.layoutAreas>.feedNavigation{grid-area:nav}
.feedReaderLayout.layoutAreas>.feedReaderMain{grid-area:main}
.feedReaderLayout.layoutAreas>.readingPane{grid-area:pane}
.feedReaderLayout.layoutAreas>.feedNavigationRail{grid-area:nav}
.readerLayoutFields{display:contents}
@media(max-width:720px){.readerLayoutWide{display:none}}
/* Feeds menu: folds on desktop and tablet, and sits on either side. */
@media(min-width:861px){
  .feedReaderLayout.navRight .feedNavigation{padding:14px 0 20px 9px;border-right:0;border-left:1px solid var(--line)}
  .feedReaderLayout.navFolded>.feedNavigation{display:none!important}
  .feedNavigationRail:not([hidden]){position:sticky;top:62px;align-self:start;display:grid;justify-items:center;align-content:start;gap:8px;width:40px;height:calc(100dvh - 62px);padding:14px 0 0;border:0;border-right:1px solid var(--line);background:transparent;color:var(--muted);font:700 16px/1 var(--font);cursor:pointer}
  .feedReaderLayout.navRight .feedNavigationRail{border-right:0;border-left:1px solid var(--line)}
  .feedNavigationRail:hover{color:var(--green);background:var(--green-bg)}
  .feedNavigationRail svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
}
@media(max-width:860px){
  #foldFeedNavigation,.feedNavigationRail{display:none!important}
  .feedReaderLayout.navRight .feedNavigation{left:auto;right:0;border-right:0;border-left:1px solid var(--line);box-shadow:-12px 0 30px color-mix(in srgb,var(--shadow-color) 25%,transparent)}
}
/* Undock (30 October): a third button beside share and save, and the pinned story's own window. */
.storySidecar .storyMeta{grid-template-columns:minmax(0,1fr);grid-auto-flow:column;grid-auto-columns:30px}
.storySidecar .storyMeta :is(.printButton,.undockButton,.keepUnreadButton,.columnsButton){display:inline-grid;place-items:center;align-self:end;width:30px;height:30px;margin:0;padding:0;border:1px solid var(--line);border-radius:7px;background:var(--bg1);color:var(--muted);cursor:pointer}
.storySidecar .storyMeta :is(.printButton,.undockButton,.keepUnreadButton,.columnsButton):hover,.storySidecar .storyMeta .keepUnreadButton.is-on{border-color:var(--green);color:var(--green)}
.storySidecar .storyMeta .keepUnreadButton.is-on svg{fill:currentColor}
.storySidecar .storyMeta :is(.printButton,.undockButton,.keepUnreadButton,.columnsButton) svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pinnedPage{min-height:100vh;background:var(--bg0)}
.pinnedStoryPage{padding:16px max(12px,env(safe-area-inset-left)) 40px}
.storyPinned{width:100%;max-width:760px;max-height:none;margin:0 auto;overflow:visible;box-shadow:none;animation:none}
.pinnedMissing{padding-top:30px}.pinnedMissing p{margin:12px 0 16px;color:var(--muted)}
/* Drag handles (desktop): a thin strip on the feeds menu's inner edge and on the pane's edge beside the headlines. */
.layoutHandle{display:none}
@media(min-width:861px){
  .feedReaderLayout.layoutAreas .layoutHandle{display:block;position:absolute;z-index:8;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none}
  .layoutHandle[data-edge="right"]{right:-5px}.layoutHandle[data-edge="left"]{left:-5px}
  .layoutHandle[data-edge="top"]{top:-5px;bottom:auto;left:0;right:0;width:auto;height:9px;cursor:row-resize}
  .layoutHandle::after{content:"";position:absolute;inset:0 3px;border-radius:3px;background:transparent;transition:background .15s}
  .layoutHandle[data-edge="top"]::after{inset:3px 0}
  .layoutHandle:hover::after,.layoutHandle.is-dragging::after{background:var(--green-bd)}
  .feedReaderLayout.layoutAreas>.feedNavigation{overflow:visible}
  .feedReaderLayout.layoutAreas>.layoutHandle{grid-area:pane;position:sticky;top:var(--reader-sticky-bottom,110px);bottom:auto;height:calc(100dvh - var(--reader-sticky-bottom,110px));align-self:start;margin-inline:-5px}
  .feedReaderLayout.layoutAreas>.layoutHandle[data-edge="left"]{justify-self:start;left:auto}
  .feedReaderLayout.layoutAreas>.layoutHandle[data-edge="right"]{justify-self:end;right:auto}
  .feedReaderLayout.layoutAreas .readingPane>.layoutHandle[data-edge="top"]{position:sticky;top:0;left:0;right:0;display:block;width:auto;height:9px;margin-bottom:-9px;cursor:row-resize}
  .layoutHandle[hidden]{display:none!important}
}

/* A narrow list column on a tablet or desktop (under 560px beside a pane or the feeds menu): Headline + summary drops its
   image, as on phones. */
.feedPage .ntab.isNarrow.newsView-summary .nrow,.feedPage .ntab.isNarrow.newsView-summary .nrow:not(:has(.newsImage)){grid-template-areas:"headline share" "meta meta" "description description";grid-template-columns:minmax(0,1fr) auto}
.feedPage .ntab.isNarrow.newsView-summary .nrow:has(.newsImage)>td.c-media{display:none}

/* Story images (30 October): a picture never stretches to whatever width the story has. It keeps its own size up to a
   reasonable height and sits centred; video stops at a comfortable width. Article images follow the same cap. */
.storySidecar .storyImageCard .storyImage:not(.sourceImage){width:auto;max-width:100%;max-height:min(60vh,520px);margin-inline:auto}
.storySidecar .storyVideo{max-width:880px;margin-inline:auto}
.storySidecar .storyDescription img:not(.feedSmallImage){width:auto;max-height:min(70vh,560px)}
/* A wide reading pane (below, or a wide side or middle pane) puts the picture beside the text instead of above it. */
.readingPane .storyEmbedded{container:story/inline-size;max-width:1240px}
/* The pane below the list centres the story instead of leaving the right side empty. */
.feedReaderMain>.readingPane .storyEmbedded{margin-inline:auto}
/* No focus ring around the whole story there: it only takes focus so the keys scroll it; its buttons keep their own. */
.feedReaderMain>.readingPane .storyEmbedded:focus{outline:none}
.readingPane .storyEmbedded::after{content:"";display:block;clear:both}
@container story (min-width:820px){
  /* Only the picture floats, at its own width and top left, and the text wraps beside it. */
  .storyImageCard{display:contents}
  .storyImageCard>:is(.readerImageSlot,.storySourceFallback){float:left;width:fit-content;max-width:min(44%,460px);margin:4px 28px 14px 0}
  .storyImageCard>.storyVideo{float:left;width:min(44%,460px);margin:4px 28px 14px 0}
  .storySidecar .storyImageCard .storyImage:not(.sourceImage){max-height:min(46vh,420px);margin-inline:0}
  /* The text wraps beside the picture and continues under it, across the pane. */
  .storyEmbedded>.storyDescription{max-width:none}
}

/* Story details line (30 October, option D3): source, time and byline on the left; Full article and AI summary as icons,
   then share, save, keep unread and undock on the right, borderless. On a phone the icons sit under the picture. */
.storySidecar .storyMeta.storyMetaRow{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.storySidecar .storyMetaRow .storyMetadata{flex:1 1 auto}
.storySidecar .storyMetaRow .storyByline{margin:0;font-size:inherit;color:inherit}
.storySidecar .storyActions{display:flex;align-items:center;gap:2px;margin-left:auto}
.storySidecar :is(.storyImageCard,.storyMeta)+.storyActions{justify-content:flex-end;margin:-6px -8px 10px 0}
.storySidecar .storyActions .storyToggles{display:contents}
.storySidecar .storyActions .readerFullContent{margin:0}
.storySidecar .storyActionsGap{width:10px}
.storySidecar .storyActions :is(.readerFetchToggle,.shareButton,.saveLaterButton,.printButton,.keepUnreadButton,.undockButton,.columnsButton){display:grid;place-items:center;position:relative;width:36px;min-width:36px;height:36px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:0;cursor:pointer}
.storySidecar .storyActions :is(.readerFetchToggle,.shareButton,.saveLaterButton,.printButton,.keepUnreadButton,.undockButton,.columnsButton):hover:not(:disabled):not([aria-pressed=true]):not(.is-on):not(.is-saved){background:var(--bg2);color:var(--ink)}
.storySidecar .storyActions :is(.shareButton,.saveLaterButton,.printButton,.keepUnreadButton,.undockButton,.columnsButton) svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.storySidecar .storyActions .saveLaterButton.is-saved{color:var(--green)}
.storySidecar .storyActions .saveLaterButton.is-saved svg{fill:currentColor}
.storySidecar .storyActions .keepUnreadButton.is-on{background:var(--green-bg);color:var(--green)}
.storySidecar .storyActions .keepUnreadButton.is-on svg{fill:none}
.storySidecar .storyActions .keepUnreadButton .keepUnreadDot{fill:currentColor;stroke:none}
/* The toggles keep their state as before: green background when on, a dot when a copy is ready, pulsing while loading. */
/* The toggle's text stays for screen readers; the icon is drawn on its own, centred. */
.storySidecar .storyActions .readerFetchToggle::before{content:'';position:absolute;inset:0;margin:auto;width:20px;height:20px;border-radius:0;background:currentColor;-webkit-mask:var(--story-icon) center/contain no-repeat;mask:var(--story-icon) center/contain no-repeat}
.storySidecar .storyActions .readerFullContent:not(.readerSummary) .readerFetchToggle{--story-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E")}
.storySidecar .storyActions .readerSummary .readerFetchToggle{--story-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.1 5.9L20 11l-5.9 2.1L12 19l-2.1-5.9L4 11l5.9-2.1z'/%3E%3C/svg%3E")}
.storySidecar .storyActions .readerFetchToggle::after{display:none;left:auto;right:5px;top:5px;width:7px;height:7px;transform:none}
.storySidecar .storyActions :is([data-state=available],[data-state=loading],[data-state=failed]) .readerFetchToggle[aria-pressed=false]::after{display:block}
.storySidecar .storyActions .readerFetchToggle[aria-pressed=true]{background:var(--green-bg);color:var(--green)}
.storySidecar .storyActions [data-state=loading] .readerFetchToggle::before{animation:storyIconPulse 1s ease-in-out infinite alternate}
@keyframes storyIconPulse{from{opacity:.35}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.storySidecar .storyActions [data-state=loading] .readerFetchToggle::before{animation:none}}
.storySidecar .storyActions :is(.readerFetchToggle,.shareButton,.saveLaterButton,.printButton,.keepUnreadButton,.undockButton,.columnsButton):focus-visible{outline:2px solid var(--green);outline-offset:1px}
.storySidecar .storyActions .shareButton :is(.shareLabel,.shareCheck),.storySidecar .storyActions .shareButton.copied .shareGlyph{display:none}
.storySidecar .storyActions .shareButton.copied .shareCheck{display:block}
/* Picture zoom (issue #240): a zoomable story picture shows a zoom cursor; the viewer fills the screen. */
.storySidecar img.zoomable{cursor:zoom-in}
.imageZoom{position:fixed;inset:auto;left:0;top:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(0,0,0,.92);color:#fff;overflow:hidden}
.imageZoom::backdrop{background:rgba(0,0,0,.6)}
.imageZoomStage{width:100%;height:100%;overflow:auto;display:grid;place-items:center;padding:16px;box-sizing:border-box;overscroll-behavior:contain}
.imageZoomStage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;cursor:zoom-in;border-radius:4px;background:#fff}
.imageZoom.is-full .imageZoomStage{display:flex}
.imageZoom.is-full .imageZoomStage img{max-width:none;max-height:none;flex:none;margin:auto;cursor:zoom-out}
.imageZoomClose{position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;z-index:1;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;cursor:pointer}
.imageZoomClose svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.imageZoomClose:focus-visible{outline:2px solid var(--green);outline-offset:2px}
/* Full screen in columns (story-columns.js): the whole browser window; columns of about 21em fill the screen, more
   continue to the right and turn as pages. */
.storyColumns{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--bg1);color:var(--ink);overflow:hidden;font-size:calc(17px * var(--reader-font-scale,1));line-height:1.6}
.storyColumnsFrame{display:flex;flex-direction:column;width:100%;height:100%;background:var(--bg1)}
.storyColumns::backdrop{background:var(--bg1)}
.storyColumnsBar{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:none;padding:max(8px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 4px max(16px,env(safe-area-inset-left));font-size:14px;color:var(--muted)}
.storyColumnsPage{min-width:56px;text-align:center;font-variant-numeric:tabular-nums}
.storyColumnsBar button{display:grid;place-items:center;width:38px;height:38px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:24px;line-height:1;cursor:pointer}
.storyColumnsBar button:hover:not(:disabled){background:var(--bg2);color:var(--ink)}
.storyColumnsBar button:disabled{opacity:.35;cursor:default}
.storyColumnsBar button:focus-visible{outline:2px solid var(--green);outline-offset:1px}
.storyColumnsClose{margin-left:10px!important}
.storyColumnsClose svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.storyColumnsBody{position:relative;touch-action:manipulation;flex:1;min-height:0;margin:0 max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior:contain;outline:0}
.storyColumnsBody::-webkit-scrollbar{display:none}
.storyColumnsText{height:100%;column-width:21em;column-gap:48px;column-fill:auto;column-rule:1px solid var(--line);overflow-wrap:anywhere}
.storyColumnsEnd{position:absolute;top:0;width:1px;height:1px}
.storyColumnsMark{display:block;height:0}
.storyColumnsHeadline{margin:0 0 .4em;font-size:1.65em;line-height:1.2}
.storyColumnsHeadline a{color:inherit;text-decoration:none}
.storyColumnsMeta{display:flex;flex-wrap:wrap;gap:2px 10px;margin:0 0 1em;color:var(--muted);font-size:.8em}
.storyColumnsMeta .storyByline{margin:0}
.storyColumnsText :is(img,video,iframe,figure,table,pre,blockquote){max-width:100%;break-inside:avoid}
.storyColumnsText :is(img,video){height:auto;max-height:calc(100dvh - 160px);object-fit:contain}
.storyColumnsText iframe{width:100%}
/* A block that can't split and is taller than a column scrolls inside it instead of running past the bottom. */
.storyColumns .storyColumnsText :is(pre,table,iframe,.feedEmbed iframe){max-height:calc(100dvh - 160px);overflow:auto}
.storyColumnsPicture{display:block;width:100%;margin:0 0 1em;border-radius:6px}
.storyColumnsText .storyDescription{font-size:1em}
.storyColumnsText .storyDescription>:first-child{margin-top:0}
.storyColumnsText :is(p,li){orphans:2;widows:2}
/* Save as PDF (story-print.js): only the button adds .storyPrinting, so an ordinary print of the page is unchanged. */
#storyPrint{display:none}
@media print{
  html.storyPrinting,html.storyPrinting body{display:block!important;height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important}
  html.storyPrinting body>:not(#storyPrint){display:none!important}
  /* The site's story typography and its light palette: paper stays light whichever theme the reader uses. The body keeps .storyDescription, so its site rules apply. */
  html.storyPrinting #storyPrint{display:block;color-scheme:light;--bg1:#FFFFFF;--bg2:#EEF3F8;--line:#C8D4E1;--ink:#102033;--muted:#4E6378;--faint:#71859A;--green:#09885F;--green-bd:rgba(9,136,95,.30);color:var(--ink);background:#fff;font-family:var(--font);line-height:1.6;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #storyPrint .storyPrintTitle{margin:0;font-size:calc(28.5px * var(--reader-font-scale));font-weight:800;letter-spacing:-.015em;line-height:1.18;overflow-wrap:anywhere}
  #storyPrint .storyPrintDetails{display:flex;flex-wrap:wrap;gap:4px 10px;margin:4px 0 0;color:var(--muted);font-size:15px;font-weight:600}
  #storyPrint .storyPrintOriginal{margin:4px 0 16px;color:var(--muted);font:600 13.5px/1.5 var(--font);overflow-wrap:anywhere}
  #storyPrint .storyPrintOriginal a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
  #storyPrint .storyPrintPicture{display:block;width:auto;max-width:100%;height:auto;max-height:520px;margin:14px auto 16px}
  #storyPrint .storyDescription{font-size:calc(16.5px * var(--reader-font-scale));overflow-wrap:anywhere}
  #storyPrint .storyDescription img:not(.feedSmallImage){width:auto;max-height:560px;break-inside:avoid}
  #storyPrint .storyPrintEmbed{font-style:italic}
  #storyPrint :is(p,li){orphans:2;widows:2}
}
