:root{--bg:#070b14;--panel:#0b111d;--panel2:#0e1625;--line:#202a3b;--text:#edf2ff;--muted:#8e9ab2;--muted2:#65728b;--blue:#4f7cff;--purple:#8b3dff;--cyan:#18b7d8;--green:#38d78b;--yellow:#ffc34d;--danger:#ff647c;--shadow:0 22px 60px rgba(0,0,0,.34);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;min-height:100%;background:var(--bg);color:var(--text)}body{overflow:hidden}.app-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-columns:270px 1fr;background:radial-gradient(circle at 75% 15%,rgba(80,60,210,.08),transparent 28%),var(--bg)}button,input,select{font:inherit}.sidebar{height:100%;min-height:0;overflow:hidden;border-right:1px solid var(--line);padding:18px 14px 14px;background:linear-gradient(180deg,#09101c,#090e18);display:flex;flex-direction:column;min-width:0}.brand{display:flex;gap:12px;align-items:center;padding:0 10px 20px}.brand-icon{font-size:32px;filter:drop-shadow(0 0 12px rgba(92,94,255,.35))}.brand-name{font-weight:800;font-size:25px;letter-spacing:-.6px}.brand-name span{background:linear-gradient(90deg,#567cff,#9a47ff);-webkit-background-clip:text;background-clip:text;color:transparent}.brand-sub{font-size:10px;color:#8792ab;letter-spacing:.08em;font-weight:700}.nav-item,.feed-item,.sidebar-bottom button{width:100%;border:0;background:transparent;color:#c7d0e4;padding:10px 12px;border-radius:10px;display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;text-align:left;cursor:pointer}.nav-item em,.feed-item em{font-style:normal;color:#79869e;font-size:12px}.nav-item:hover,.feed-item:hover,.sidebar-bottom button:hover{background:#10192a}.nav-item.active{background:linear-gradient(90deg,rgba(74,65,230,.65),rgba(35,87,177,.28));color:white;box-shadow:inset 3px 0 #8c45ff}.side-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 8px 7px;padding-top:14px;border-top:1px solid var(--line);font-size:11px;color:#8592aa;font-weight:800;letter-spacing:.08em}.side-heading button{border:0;background:transparent;color:#a9b5ca;font-size:20px;cursor:pointer}.feed-list{overflow-y:auto;overflow-x:hidden;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}.feed-dot{width:12px;height:12px;border-radius:4px;box-shadow:0 0 10px currentColor}.feed-item.active{background:#121b2e;color:#fff}.sidebar-bottom{margin-top:auto;padding-top:10px;border-top:1px solid var(--line)}.sidebar-bottom button{display:flex;gap:10px}.workspace{min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:70px minmax(0,1fr)}.topbar{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line);background:rgba(8,13,23,.92);backdrop-filter:blur(16px)}.search-wrap{height:44px;flex:1;max-width:650px;border:1px solid #2b3850;border-radius:11px;background:#0e1625;display:flex;align-items:center;padding:0 13px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.012)}.search-wrap span{font-size:23px;color:#9aa6bd}.search-wrap input{width:100%;border:0;outline:0;background:transparent;color:#f2f5ff;padding:0 10px}.sync-btn{height:44px;padding:0 16px;border:1px solid #4f57ff;border-radius:11px;color:#fff;background:linear-gradient(180deg,#162355,#111938);cursor:pointer;box-shadow:0 0 18px rgba(70,76,255,.15)}.sync-btn.running{opacity:.7;pointer-events:none}.sync-state{display:flex;align-items:center;gap:9px;padding:0 8px}.sync-state i{width:10px;height:10px;background:var(--green);border-radius:50%;box-shadow:0 0 12px var(--green)}.sync-state strong,.sync-state small{display:block;white-space:nowrap}.sync-state strong{font-size:12px}.sync-state small{font-size:10px;color:#7f8ba2;margin-top:2px}.topbar select{height:42px;border:1px solid #27344a;border-radius:10px;background:#0d1524;color:#dfe6f6;padding:0 34px 0 12px}.content-grid{height:100%;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(420px,43%) minmax(500px,57%)}.feed-column{min-width:0;min-height:0;overflow:hidden;border-right:1px solid var(--line);background:linear-gradient(180deg,#09111d,#080d17);display:grid;grid-template-rows:auto minmax(0,1fr)}.feed-header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px 12px}.feed-header h1{font-size:22px;margin:0;letter-spacing:-.3px}.feed-header p{margin:3px 0 0;color:#7e8aa1;font-size:12px}.feed-actions button{border:1px solid #27354a;background:#0d1523;color:#aeb8ca;border-radius:9px;padding:8px 10px;cursor:pointer}.articles{height:100%;min-height:0;overflow-y:scroll;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 10px 20px}.article-card{position:relative;display:grid;grid-template-columns:148px 1fr auto;gap:14px;min-height:112px;padding:12px 10px 12px 26px;border-bottom:1px solid #1c2738;cursor:pointer}.article-card:hover{background:#0d1624}.article-card.selected{background:linear-gradient(90deg,rgba(84,56,160,.2),rgba(16,25,41,.8));border:1px solid #6456ff;border-radius:12px;margin:1px 0}.unread-dot{position:absolute;left:8px;top:52px;width:9px;height:9px;border-radius:50%;background:#387dfb}.thumb{width:148px;height:88px;border-radius:8px;object-fit:cover;background:linear-gradient(135deg,#172540,#40275f)}.article-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#73819a}.source-name{color:#6a8eff}.article-card h3{font-size:15px;line-height:1.18;margin:4px 0 4px;color:#f4f6ff}.article-card p{font-size:12px;line-height:1.25;margin:0;color:#9ca8bc;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-actions{display:flex;gap:8px;padding-top:24px}.icon-btn{border:0;background:transparent;color:#9aa6bb;font-size:19px;cursor:pointer;padding:2px}.icon-btn.active{color:var(--yellow)}.reader{height:100%;min-height:0;overflow-y:scroll;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;background:radial-gradient(circle at 50% 10%,rgba(72,74,160,.1),transparent 30%),#080d16}.reader-empty{min-height:100%;display:grid;place-content:center;text-align:center;color:#8793a9}.empty-logo{font-size:58px;opacity:.65}.reader-empty h2{margin:12px 0 5px;color:#dce4f7}.reader-hero{width:100%;height:290px;object-fit:cover;background:linear-gradient(135deg,#18315a,#5f3868)}.reader-body{padding:18px 24px 32px}.reader-kicker{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#9ba8bd}.reader-kicker .source{font-weight:700;color:#dce5f7}.reader h2{font-size:31px;line-height:1.06;letter-spacing:-.8px;margin:12px 0 8px}.reader-summary{font-size:15px;line-height:1.45;color:#b2bed2;max-width:900px}.tags{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.tag{font-size:11px;padding:5px 10px;border:1px solid #37445a;border-radius:999px;background:#101827;color:#aeb9ca}.tag:nth-child(3n+1){border-color:#673e83;color:#d4a3ff}.tag:nth-child(3n+2){border-color:#285b90;color:#83c6ff}.tag:nth-child(3n){border-color:#176271;color:#70d9e7}.reader-actions{display:flex;gap:10px;margin:14px 0 18px}.reader-actions button,.reader-actions a{height:43px;border-radius:10px;border:1px solid #2a3850;background:#0e1624;color:#dce4f5;padding:0 15px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;cursor:pointer}.reader-actions .primary{border:0;background:linear-gradient(90deg,#902cff,#3a78ff);color:white}.reader-actions .active{color:#ffd35f;border-color:#755c28}.article-content{border-top:1px solid var(--line);padding-top:16px;color:#b6c2d5;line-height:1.55;font-size:14px}.article-content h2,.article-content h3,.article-content h4{color:#f0f4ff}.article-content a{color:#7eb5ff}.info-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}.info-card{border:1px solid #28354b;border-radius:10px;padding:11px;background:#0c1421}.info-card strong{font-size:12px;display:block}.info-card small{font-size:10px;color:#79869c}.empty-state{padding:50px 20px;text-align:center;color:#758197}.modal{position:fixed;inset:0;background:rgba(1,4,10,.7);backdrop-filter:blur(10px);display:grid;place-items:center;z-index:50}.modal.hidden{display:none}.modal-card{position:relative;width:min(480px,calc(100vw - 30px));background:#0e1624;border:1px solid #2a3850;border-radius:16px;padding:24px;box-shadow:var(--shadow)}.modal-card h2{margin:0 0 5px}.modal-card p{color:#8996ac;font-size:13px}.modal-close{position:absolute;right:15px;top:12px;background:transparent;border:0;color:#8d99ad;font-size:27px;cursor:pointer}.modal-card label{display:block;font-size:12px;color:#aeb9ca;margin:14px 0}.modal-card label span{color:#68758d}.modal-card input{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #2a3850;border-radius:9px;background:#09111d;color:white;outline:none}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.modal-actions button{border-radius:9px;padding:9px 14px;cursor:pointer}.ghost{border:1px solid #2b3850;background:#111a29;color:#b7c1d2}.primary{border:0;background:linear-gradient(90deg,#8d2dff,#3d79ff);color:white}.form-error{color:#ff8191;font-size:12px;margin-top:12px}.toast{position:fixed;right:18px;bottom:18px;background:#111b2a;border:1px solid #2b3b53;border-radius:10px;padding:11px 14px;box-shadow:var(--shadow);z-index:60;font-size:13px}.toast.error{border-color:#75303d;color:#ffb3bd}
.feed-list,.articles,.reader{scrollbar-width:thin;scrollbar-color:#47546d #0a101b}.feed-list::-webkit-scrollbar,.articles::-webkit-scrollbar,.reader::-webkit-scrollbar{width:11px;height:11px}.feed-list::-webkit-scrollbar-track,.articles::-webkit-scrollbar-track,.reader::-webkit-scrollbar-track{background:#0a101b}.feed-list::-webkit-scrollbar-thumb,.articles::-webkit-scrollbar-thumb,.reader::-webkit-scrollbar-thumb{background:#3b4860;border:2px solid #0a101b;border-radius:999px}.feed-list::-webkit-scrollbar-thumb:hover,.articles::-webkit-scrollbar-thumb:hover,.reader::-webkit-scrollbar-thumb:hover{background:#586780}
@media(max-width:1100px){.app-shell{grid-template-columns:220px 1fr}.content-grid{grid-template-columns:420px 1fr}.sync-state{display:none}.article-card{grid-template-columns:110px 1fr auto}.thumb{width:110px}}
@media(max-width:820px){.article-card{touch-action:manipulation}.article-card:active{background:#111c2d}html,body{height:auto;min-height:100%}body{overflow:auto}.app-shell{height:auto;min-height:100vh;overflow:visible;grid-template-columns:1fr}.sidebar{display:none}.workspace{min-height:100vh;overflow:visible;grid-template-rows:auto 1fr}.topbar{position:sticky;top:0;z-index:10;flex-wrap:wrap}.search-wrap{max-width:none}.sync-state,.topbar select{display:none}.content-grid{height:auto;min-height:0;overflow:visible;display:block}.feed-column{overflow:visible;border-right:0;min-height:60vh}.articles{height:auto;overflow:visible;scrollbar-gutter:auto}.reader{height:auto;overflow:visible;scrollbar-gutter:auto;min-height:70vh}.article-card{grid-template-columns:95px 1fr auto;padding-left:22px}.thumb{width:95px;height:74px}.reader-hero{height:230px}.reader h2{font-size:27px}.info-row{grid-template-columns:1fr}}

.account-form{margin:0}.account-btn{height:42px;border:1px solid #2a3850;border-radius:10px;background:#0d1524;color:#cfd8e9;padding:0 12px;cursor:pointer;display:flex;align-items:center;gap:7px;white-space:nowrap}.account-btn:hover{background:#121d30;border-color:#43536f}.sidebar-bottom form{margin:0}.sidebar-bottom form button{margin-top:2px}
body.auth-page{overflow:auto;min-height:100vh;background:radial-gradient(circle at 50% -10%,rgba(108,65,252,.22),transparent 35%),radial-gradient(circle at 90% 80%,rgba(20,128,190,.10),transparent 30%),#070b14}.auth-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:28px 16px}.auth-card{width:min(460px,100%);border:1px solid #283752;border-radius:22px;padding:30px;background:linear-gradient(180deg,rgba(15,24,40,.98),rgba(9,15,27,.98));box-shadow:0 30px 90px rgba(0,0,0,.45),0 0 60px rgba(79,73,255,.08)}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:26px}.auth-brand-icon{font-size:34px;filter:drop-shadow(0 0 14px rgba(92,94,255,.38))}.auth-lock{width:54px;height:54px;border:1px solid #384966;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#131f35,#0c1423);font-size:25px;margin-bottom:17px;box-shadow:inset 0 0 24px rgba(103,83,255,.08)}.auth-card h1{font-size:29px;letter-spacing:-.6px;margin:0 0 8px}.auth-intro{font-size:14px;line-height:1.55;color:#98a5bb;margin:0 0 20px}.auth-error{border:1px solid #703744;background:#2a121a;color:#ffb4bf;border-radius:10px;padding:10px 12px;margin:0 0 14px;font-size:13px}.auth-form label{display:block;font-size:12px;font-weight:700;color:#b8c3d5;margin:13px 0}.auth-form input[type=text],.auth-form input[type=password]{display:block;width:100%;margin-top:7px;height:46px;border:1px solid #2b3a52;border-radius:10px;background:#09111d;color:#f3f6ff;padding:0 13px;outline:none}.auth-form input[type=text]:focus,.auth-form input[type=password]:focus{border-color:#625bff;box-shadow:0 0 0 3px rgba(98,91,255,.12)}.remember-row{display:flex!important;align-items:flex-start;gap:10px!important;padding:10px 0;cursor:pointer}.remember-row input{margin-top:3px;accent-color:#6c5cff}.remember-row span{display:flex;flex-direction:column;gap:2px}.remember-row strong{font-size:13px;color:#dce4f3}.remember-row small{font-size:11px;color:#7e8ba2;font-weight:400}.auth-submit{width:100%;height:47px;border:0;border-radius:11px;background:linear-gradient(90deg,#8d2dff,#3d79ff);color:white;font-weight:800;cursor:pointer;margin-top:5px;box-shadow:0 10px 28px rgba(71,76,255,.20)}.auth-submit:hover{filter:brightness(1.07)}.auth-note{display:flex;gap:10px;border-top:1px solid #202c3f;margin-top:22px;padding-top:17px;color:#7f8da4}.auth-note p{font-size:11px;line-height:1.5;margin:0}.auth-note span{font-size:18px}
@media(max-width:820px){.account-btn span{display:none}.account-btn{width:42px;padding:0;justify-content:center}.auth-card{padding:24px 20px;border-radius:18px}.auth-card h1{font-size:26px}}
