.dialog{box-sizing:border-box;background:var(--tg-theme-secondary-bg-color);width:322px;max-width:calc(100% - 32px);color:var(--tg-theme-text-color);text-align:center;border:0;border-radius:20px;padding:0;box-shadow:0 0 16px #00000026}.dialog::backdrop{background:#0009}.dialog-body{padding:19px 20px 20px}.dialog-title{margin:0;font-size:14px;font-weight:600;line-height:20px}.dialog-message{color:var(--tg-theme-hint-color);margin:17px 0 20px;font-size:13px;line-height:16px}.dialog-actions{gap:10px;display:flex}.dialog-button{background:color-mix(in srgb, var(--tg-theme-text-color) 8%, var(--tg-theme-secondary-bg-color));height:40px;font:inherit;white-space:nowrap;color:var(--tg-theme-hint-color);cursor:pointer;border:0;border-radius:20px;flex:1;padding:0 10px;font-size:13px;font-weight:500;box-shadow:inset 0 0 0 .5px #ffffff1a}.dialog-button.primary{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.tab-bar{padding:6px 0 calc(6px + var(--tg-safe-area-inset-bottom));background:var(--tg-theme-bottom-bar-bg-color);border-top:1px solid var(--tg-theme-section-separator-color);display:flex;position:fixed;bottom:0;left:0;right:0}.tab{font:inherit;color:var(--tg-theme-hint-color);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 0;font-size:11px;font-weight:500;display:flex}.tab.active{color:var(--tg-theme-button-color)}.tab svg{width:26px;height:26px}.toast{z-index:20;background:var(--tg-theme-section-bg-color);color:var(--tg-theme-text-color);border-left:4px solid var(--tg-theme-button-color);border-radius:12px;padding:12px 14px;animation:.2s ease-out toast-in;position:fixed;top:12px;left:16px;right:16px;box-shadow:0 4px 16px #00000040}.toast.error{border-left-color:var(--tg-theme-destructive-text-color)}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}}.row.digest-head{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:12px 14px}.digest-head .label,.story-head .label{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.digest-name{font-weight:600}.digest-meta{color:var(--tg-theme-hint-color);font-size:13px}.digest-sources{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.row.note{color:var(--tg-theme-hint-color);margin:0;padding:12px 14px;font-size:13px}.row.note.digest-error{color:var(--tg-theme-destructive-text-color)}.row.digest-actions{gap:0;padding:0}.digest-actions button{color:var(--tg-theme-link-color);font:inherit;cursor:pointer;background:0 0;border:0;flex:1;padding:12px 8px;font-size:14px}.digest-actions button+button{border-left:1px solid var(--tg-theme-section-separator-color)}.digest-actions .danger{color:var(--tg-theme-destructive-text-color)}.digest-actions button:disabled{opacity:.5;cursor:default}.digest-actions button[aria-busy=true]{color:#0000;opacity:1;position:relative}.digest-actions button[aria-busy=true]:after{content:"";box-sizing:border-box;border:2px solid var(--tg-theme-link-color);border-right-color:#0000;border-radius:50%;width:18px;height:18px;margin:auto;animation:.8s linear infinite spin;position:absolute;inset:0}.digest-actions .danger[aria-busy=true]:after{border-color:var(--tg-theme-destructive-text-color);border-right-color:#0000}@media (prefers-reduced-motion:reduce){.digest-actions button[aria-busy=true]:after{animation-duration:2.4s}}.skeleton-action{flex:1;justify-content:center;padding:12px 8px;font-size:14px;display:flex}.row.chips{scrollbar-width:none;border-width:1px 0 0;gap:8px;min-width:0;margin:0;padding:10px 14px;overflow-x:auto}.chip{background:var(--tg-theme-secondary-bg-color);color:inherit;font:inherit;white-space:nowrap;cursor:pointer;border:0;border-radius:16px;flex:none;padding:6px 12px;font-size:14px}.chip[aria-pressed=true]{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.row.feed-title{text-transform:uppercase;color:var(--tg-theme-section-header-text-color);margin:0;padding:14px 14px 6px;font-size:13px;font-weight:500}.row.story{padding:0;display:block}.row.feed-title+.row.story{border-top:0}.story-head{box-sizing:border-box;width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:12px 14px;display:flex}.story-title{font-weight:600}.story-meta{color:var(--tg-theme-hint-color);font-size:13px}.story-body{padding:0 14px 12px}.story-body p{margin:0;font-size:14px}.story-body .sources{color:var(--tg-theme-hint-color);margin-top:8px;font-size:13px}.story-body a{color:var(--tg-theme-link-color)}.row.more{border:0;border-top:1px solid var(--tg-theme-section-separator-color);width:100%;color:var(--tg-theme-link-color);font:inherit;cursor:pointer;background:0 0;justify-content:center;padding:12px 14px;font-size:14px}:root{--tg-theme-bg-color:#fff;--tg-theme-secondary-bg-color:#f0f0f0;--tg-theme-text-color:#000;--tg-theme-hint-color:#777;--tg-theme-link-color:#2481cc;--tg-theme-button-color:#2481cc;--tg-theme-button-text-color:#fff;--tg-theme-destructive-text-color:#e53935;--tg-theme-section-bg-color:var(--tg-theme-bg-color);--tg-theme-section-header-text-color:var(--tg-theme-hint-color);--tg-theme-section-separator-color:#00000014;--tg-theme-bottom-bar-bg-color:var(--tg-theme-bg-color);--tg-safe-area-inset-bottom:env(safe-area-inset-bottom,0px)}body{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color);margin:0;padding:16px;font:15px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}h2{text-transform:uppercase;color:var(--tg-theme-section-header-text-color);margin:20px 4px 8px;font-size:13px;font-weight:500}h2:first-child{margin-top:0}h2.counted{justify-content:space-between;display:flex}h2.counted .counter{text-transform:none}.page{padding-bottom:calc(72px + var(--tg-safe-area-inset-bottom))}.section{background:var(--tg-theme-section-bg-color);border-radius:12px;overflow:hidden}.section+.section{margin-top:12px}.row{border-top:1px solid var(--tg-theme-section-separator-color);align-items:center;gap:12px;padding-right:14px;display:flex}.section>.row:first-child{border-top:0}.chevron{color:var(--tg-theme-hint-color);font-size:22px;line-height:1;transition:transform .15s}.chevron.open{transform:rotate(90deg)}input[type=checkbox]{width:20px;height:20px;accent-color:var(--tg-theme-button-color);flex:none;margin:0}.toggle{cursor:pointer;padding-left:14px}.toggle span{flex:1;padding:12px 0}.spinner{box-sizing:border-box;border:1.5px solid;border-right-color:#0000;border-radius:50%;flex:none;width:12px;height:12px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.name-input,.source-input{box-sizing:border-box;width:100%;color:inherit;font:inherit;background:0 0;border:0;padding:12px 14px}.name-input{font-size:17px}.name-input::placeholder,.source-input::placeholder{color:var(--tg-theme-hint-color)}.row.source{padding:8px 4px 8px 14px}.source .label{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.source-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.source-meta{color:var(--tg-theme-hint-color);font-size:13px}.failing{color:var(--tg-theme-destructive-text-color)}.remove{color:var(--tg-theme-hint-color);cursor:pointer;background:0 0;border:0;flex:none;padding:8px;display:flex}.remove svg{width:20px;height:20px}.row.source-field{gap:0;padding:0 4px 0 0}.source-input-box{border-right:1px solid var(--tg-theme-section-separator-color);flex:1;align-items:center;min-width:0;margin-right:4px;display:flex}.source-input-box .source-input{flex:1;min-width:0}.clear,.save-source{cursor:pointer;background:0 0;border:0;flex:none;padding:8px;display:flex}.clear{color:var(--tg-theme-hint-color)}.clear svg{width:18px;height:18px}.save-source{color:var(--tg-theme-link-color)}.save-source svg{width:20px;height:20px}.save-source .spinner{border-width:2px;width:16px;height:16px;margin:2px}.save-source:disabled{cursor:default}.save-source:disabled:not([aria-busy=true]){opacity:.4}.row.add-source{border:0;border-top:1px solid var(--tg-theme-section-separator-color);width:100%;color:var(--tg-theme-link-color);font:inherit;cursor:pointer;background:0 0;gap:8px;padding:12px 14px}.add-source svg{width:22px;height:22px}.add-source:disabled{opacity:.5;cursor:default}.weekdays{gap:6px;padding:10px 14px}.weekday{background:var(--tg-theme-secondary-bg-color);color:inherit;font:inherit;cursor:pointer;border:0;border-radius:8px;flex:1;padding:8px 0;font-size:14px}.weekday[aria-pressed=true]{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.time{padding:12px 14px}.time-hint{color:var(--tg-theme-hint-color);padding:12px 14px;font-size:13px}input[type=time]{font:inherit;color:inherit;background:0 0;border:0;font-size:17px}input[type=time]:disabled{color:var(--tg-theme-hint-color);-webkit-text-fill-color:var(--tg-theme-hint-color);opacity:1}.period{flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px}input[type=range]{width:100%;accent-color:var(--tg-theme-button-color);margin:0}.action{width:100%;font:inherit;color:var(--tg-theme-link-color);cursor:pointer;border:0;margin-top:16px;padding:12px 14px;display:block}.action.primary{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color);font-weight:600}.action:disabled{opacity:.5;cursor:default}.hint{color:var(--tg-theme-hint-color);margin:8px 4px 0;font-size:13px}.status{text-align:center;margin-top:20px}.skeleton{vertical-align:top;background:var(--tg-theme-hint-color);opacity:.2;border-radius:4px;height:1em;margin:.2em 0;animation:1.4s ease-in-out infinite skeleton-pulse;display:inline-block}@keyframes skeleton-pulse{50%{opacity:.1}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.row.skeleton-row{min-height:22px;padding:12px 14px}
