*{box-sizing:border-box}body{margin:0;background:#0b1220;color:#edf1f7;font:14px 'Segoe UI',sans-serif}header{height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1040px)/2),22px);border-bottom:1px solid #ffffff17;background:#101827;position:sticky;top:0;z-index:12}button{cursor:pointer;color:inherit}.brand{display:flex;align-items:center;gap:8px}.brand b{background:#d1ef73;color:#1a2510;border-radius:9px;width:29px;height:29px;display:grid;place-items:center;font-size:19px}.brand strong,.brand small{display:block}.brand strong{font-size:12px}.brand small{font-size:8px;color:#94a1b5;margin-top:1px}#refresh{padding:6px 10px;border:1px solid #ffffff24;background:#192438;border-radius:8px;font-size:11px}.hero{padding:48px 0 28px;display:flex;align-items:end;justify-content:space-between}.hero label,.heading label{font-size:10px;letter-spacing:1.7px;color:#aab7ca;font-weight:700}.hero h1{font-size:clamp(37px,6vw,56px);letter-spacing:-2px;margin:13px 0 7px}.hero h1 i{font-style:normal;color:#d1ef73}.hero p{color:#a6b2c3;margin:0}.hero>span{font-size:11px;color:#9ca9bb}.controls{position:sticky;top:44px;z-index:11;display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:30px;padding:6px 0;background:#0b1220;max-height:76px}.controls input{flex:0 1 340px;min-width:120px;height:36px;background:#121e2f;border:1px solid #ffffff1a;border-radius:9px;padding:0 12px;color:#edf1f7;outline:0}.controls input:focus{border-color:#d1ef73}nav{display:flex;gap:4px;padding:3px;background:#121e2f;border-radius:10px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}nav::-webkit-scrollbar{display:none}nav button{flex:0 0 auto;border:0;border-radius:7px;background:none;color:#9ca9bb;padding:7px 10px;font-size:10px}nav button.active{background:#d1ef73;color:#17200e;font-weight:700}nav button.read-toggle{color:#d1ef73;border-left:1px solid #ffffff20;border-radius:0 7px 7px 0;padding-left:13px}.read-toggle.selected{background:#26364c}.heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #ffffff20;padding-bottom:14px}.heading h2{font-size:21px;margin:6px 0 0}.heading>span{font-size:11px;color:#91a0b4}#feed{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.card{cursor:pointer;background:linear-gradient(140deg,#162235,#111b2a);border:1px solid #ffffff14;border-radius:13px;padding:18px}.card:hover{border-color:#d1ef7350}.media-image,.media-video{display:block;width:100%;max-height:280px;object-fit:cover;border-radius:9px;margin-bottom:14px;background:#080e18}.media-video{max-height:360px}.meta{display:flex;justify-content:space-between;font-size:10px;color:#8e9caf;margin-bottom:13px}.source{color:#d1ef73;font-weight:700}.tag{display:inline-block;border-radius:5px;background:#26364c;color:#bdcada;font-size:9px;padding:4px 7px;margin-bottom:9px}.card h3{font-size:15px;line-height:1.5;margin:0 0 9px}.card p{font-size:12px;line-height:1.65;color:#a2afc0;margin:0 0 15px}.card-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.card a{font-size:11px;color:#d1ef73;text-decoration:none;font-weight:700}.card a:hover{text-decoration:underline}.mark-unread{border:1px solid #ffffff22;background:#182538;color:#aab7ca;border-radius:7px;padding:6px 8px;font-size:10px}.empty{grid-column:1/-1;padding:54px;text-align:center;border:1px dashed #ffffff24;border-radius:12px;color:#9ca9bb}.error{color:#ffb6a6}footer{margin:46px 0 20px;padding-top:15px;border-top:1px solid #ffffff18;color:#758397;font-size:10px}@media(max-width:680px){header{height:42px;padding:0 10px}.controls{top:42px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:4px 0;margin-bottom:24px;max-height:76px}.controls input{width:100%;flex:none;height:34px;padding:0 11px;font-size:12px}nav{min-height:30px;padding:2px 3px;gap:2px}nav button{padding:6px 9px;font-size:9px}main{padding:0 10px}.hero{display:block;padding:34px 0 20px}.hero>span{display:block;margin-top:15px}.hero h1{font-size:40px}.heading h2{font-size:19px}#feed{grid-template-columns:1fr}.card{padding:15px}.media-image{max-height:220px}}
@media(max-width:680px){.hero{padding:12px 0 8px}.hero label{display:none}.hero h1{font-size:28px;line-height:1.12;letter-spacing:-.8px;margin:0 0 4px}.hero p{font-size:11px;line-height:1.3}.hero>span{margin-top:5px;font-size:10px}}
header{display:grid;grid-template-columns:1fr auto 1fr;column-gap:12px}.brand{justify-self:start}.header-message{justify-self:center;display:flex;align-items:baseline;gap:12px;white-space:nowrap}.header-message strong{font-size:10px;letter-spacing:1.1px;color:#d1ef73}.header-message span{font-size:10px;color:#a6b2c3}header #refresh{justify-self:end}.feed-status{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:10px;color:#91a0b4;font-size:10px}.feed-status #count{color:#91a0b4}@media(max-width:680px){header{grid-template-columns:auto minmax(0,1fr) auto;column-gap:6px;padding:0 8px}.header-message{justify-self:center}.header-message strong{font-size:8px;letter-spacing:.5px;white-space:nowrap}.header-message span{display:none}#refresh{font-size:9px;padding:6px 7px;white-space:nowrap}.feed-status{font-size:9px}}
/* Accounts and per-user interests */
header{grid-template-columns:auto minmax(0,1fr) auto}.header-actions{justify-self:end;display:flex;align-items:center;gap:6px}#preferences-button{width:30px;height:30px;border:1px solid #ffffff24;background:#192438;border-radius:8px;font-size:16px;color:#d1ef73}#app-shell[hidden],#auth-screen[hidden]{display:none!important}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at top,#18263a 0,#0b1220 55%)}.auth-card{width:min(100%,420px);padding:30px;background:#121e2f;border:1px solid #ffffff19;border-radius:18px;box-shadow:0 20px 60px #0005}.auth-mark{width:48px;height:48px;border-radius:14px;background:#d1ef73;color:#111b2a;display:grid;place-items:center;font-size:32px;font-weight:800}.eyebrow{margin:22px 0 8px;color:#d1ef73;font-size:10px;font-weight:700;letter-spacing:1.6px}.auth-card h1{font-size:26px;margin:0 0 8px}.auth-card>p:not(.eyebrow):not(.auth-error){color:#a6b2c3;line-height:1.5;margin:0 0 22px}.auth-card label{display:block;margin:14px 0 6px;color:#c5cfdd;font-size:12px}.auth-card input{width:100%;height:44px;background:#0b1220;border:1px solid #ffffff25;border-radius:9px;padding:0 12px;color:#edf1f7}.primary-button{border:0;border-radius:9px;background:#d1ef73;color:#17200e;font-weight:700;padding:11px 16px;cursor:pointer}.auth-card .primary-button{width:100%;margin-top:20px}.text-button{border:0;background:none;color:#d1ef73;padding:9px 0;cursor:pointer}.auth-card .text-button{display:block;margin:8px auto 0}.auth-error{min-height:18px;color:#ffb6a6;font-size:12px;margin:8px 0}.auth-card .auth-error{text-align:center}#preferences-dialog{width:min(92vw,480px);max-height:85vh;padding:24px;background:#121e2f;color:#edf1f7;border:1px solid #ffffff25;border-radius:16px}#preferences-dialog::backdrop{background:#030712bd}.dialog-close{float:right;border:0;background:none;color:#aab7ca;font-size:25px;cursor:pointer}.account-name{color:#a6b2c3;font-size:13px}#category-options{border:0;padding:8px 0;margin:18px 0}#category-options legend{color:#aab7ca;font-size:12px;margin-bottom:8px}.category-option{display:flex;align-items:center;gap:10px;padding:10px 8px;border-bottom:1px solid #ffffff12;color:#e4eaf2;font-size:14px}.category-option input{accent-color:#d1ef73;width:17px;height:17px}.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-actions .primary-button{min-width:100px}@media(max-width:680px){header{grid-template-columns:auto minmax(0,1fr) auto;column-gap:5px}.header-actions{gap:4px}#preferences-button{width:27px;height:28px}header #refresh{font-size:9px;padding:6px 6px}.auth-card{padding:24px}}
/* Clear feedback for sign-up, sign-in and transient server errors. */
.auth-error:not(:empty){padding:9px 11px;border:1px solid #ffb6a655;border-radius:8px;background:#4b252633}.primary-button:disabled{opacity:.7;cursor:wait}#app-notice{position:fixed;top:54px;left:50%;transform:translateX(-50%);z-index:30;padding:10px 16px;border:1px solid #d1ef7366;border-radius:10px;background:#172338;color:#d1ef73;box-shadow:0 8px 30px #0006;font-size:13px;white-space:nowrap}#app-notice[hidden]{display:none!important}
.password-input-row{display:flex;align-items:stretch;gap:6px}.password-input-row input{flex:1;min-width:0}.password-toggle,.secondary-button{border:1px solid #ffffff25;border-radius:8px;background:#1a2940;color:#d1ef73;padding:0 12px;cursor:pointer}.password-toggle{min-width:68px;font-size:12px}.secondary-button{padding:9px 12px;margin-top:8px}.field-help{display:block;color:#a6b2c3;font-size:11px;line-height:1.45;margin-top:6px}#custom-topics,#preferences-dialog input:not([type=checkbox]){box-sizing:border-box;width:100%;background:#0b1220;border:1px solid #ffffff25;border-radius:9px;padding:10px 12px;color:#edf1f7;font:inherit}#custom-topics{resize:vertical;min-height:74px}#preferences-dialog label:not(.category-option){display:block;margin:10px 0 5px;color:#c5cfdd;font-size:12px}.password-change{border-top:1px solid #ffffff20;margin-top:18px;padding-top:14px}.password-change h3{font-size:15px;margin:0 0 10px}.auth-success{color:#d1ef73;font-size:12px;margin:8px 0}.auth-success:not(:empty){padding:9px 11px;border:1px solid #d1ef7355;border-radius:8px;background:#d1ef7310}
