:root{--blue:#2468ed;--blue-dark:#1554d1;--ink:#15223b;--muted:#71809a;--line:#e7ebf3;--soft:#f7f9fd;--white:#fff;--radius:18px;--shadow:0 14px 40px rgba(28,54,100,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0;font-family:"Be Vietnam Pro",system-ui,-apple-system,sans-serif;color:var(--ink);background:#fff;font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}.container{width:min(1160px,calc(100% - 48px));margin-inline:auto}.topline{background:#f5f8ff;border-bottom:1px solid #eaf0fc;font-size:11px;color:#66758f}.topline-inner{height:34px;display:flex;align-items:center;justify-content:space-between}.topline-inner>span,.topline-inner>div{display:flex;align-items:center;gap:9px}.topline a:hover{color:var(--blue)}.pulse,.live-dot{width:7px;height:7px;border-radius:50%;background:#29c77a;display:inline-block;box-shadow:0 0 0 4px #29c77a18}.top-sep{color:#b7c2d5}.site-header{height:78px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,235,243,.9)}.header-inner{height:100%;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;font-size:22px;line-height:1.15;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#347df8,#1756d6);color:#fff;font-size:16px;letter-spacing:-2px;box-shadow:0 7px 16px #2468ed38}.brand-blue{color:var(--blue)}.brand small{display:block;margin-top:4px;font-size:8px;letter-spacing:2.1px;color:#8c99ad;font-weight:700}.main-nav{display:flex;align-items:center;gap:27px;margin-left:auto}.nav-link{font-size:12px;font-weight:600;color:#6b7890;position:relative;transition:color .2s}.nav-link:hover,.nav-link.active{color:var(--blue)}.nav-link.active:after{content:"";position:absolute;bottom:-29px;left:0;right:0;height:2px;background:var(--blue);border-radius:3px}.header-actions{display:flex;align-items:center;gap:20px}.login-link{font-size:12px;font-weight:600;color:#53617a}.login-link:hover{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid transparent;border-radius:9px;padding:12px 18px;font-size:12px;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--blue);color:white;box-shadow:0 7px 16px #2468ed25}.btn-primary:hover{background:var(--blue-dark);box-shadow:0 10px 24px #2468ed38}.btn-small{padding:10px 14px;font-size:11px}.btn-light{background:#fff;color:#205fdc;box-shadow:0 8px 20px #0c245522}.btn-outline{border-color:#dce4f2;background:#fff;color:#41516d}.btn-outline:hover{border-color:#9bb9fa;color:var(--blue);box-shadow:0 6px 20px #1b5de40d}.menu-toggle{display:none;background:transparent;border:0;padding:8px}.menu-toggle span{display:block;width:22px;height:2px;background:#23314a;margin:5px;border-radius:4px}.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#f7faff 0%,#f2f6ff 55%,#f7f5ff 100%);min-height:450px;padding:66px 0 24px}.hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#b9cafa 1px,transparent 1px);background-size:23px 23px;opacity:.22;mask-image:linear-gradient(90deg,#000,transparent 90%)}.hero-layout{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;position:relative;z-index:1}.hero-copy{padding:4px 0 22px}.eyebrow,.section-kicker{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#4979ce;display:flex;align-items:center;gap:9px}.eyebrow{margin-bottom:19px}.eyebrow-dot{width:8px;height:8px;border-radius:3px;background:#3478f6;transform:rotate(45deg)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(32px,3.5vw,46px);line-height:1.25;letter-spacing:-1.8px;margin:0 0 18px;font-weight:800}.hero h1 span{color:var(--blue)}.hero-description{max-width:500px;color:#6c7a92;font-size:13px;line-height:1.9;margin-bottom:25px}.hero-search{height:57px;display:flex;align-items:center;padding:5px;background:#fff;border:1px solid #e1e8f6;border-radius:12px;box-shadow:0 10px 30px #335caa0e;max-width:510px}.search-icon{font-size:28px;color:#8e9bb2;padding:0 11px 4px}.hero-search input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);font-size:12px;background:transparent}.hero-search input::placeholder{color:#a1acc0}.hero-search button{height:43px;border:0;border-radius:8px;background:var(--blue);color:#fff;padding:0 17px;font-size:11px;font-weight:700;white-space:nowrap}.hero-search button:hover{background:var(--blue-dark)}.hero-search button span{margin-left:9px}.popular-searches{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:15px;font-size:10px;color:#8995a9}.popular-searches button,.side-tags button{border:1px solid #e0e7f5;background:#fff;color:#6b7890;border-radius:6px;padding:5px 9px;font-size:10px;transition:.2s}.popular-searches button:hover,.side-tags button:hover{border-color:#b3c9fb;color:var(--blue)}.hero-art{height:320px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px dashed #b8cafa;border-radius:50%;transform:rotate(-20deg)}.orbit-a{width:390px;height:240px}.orbit-b{width:330px;height:300px;transform:rotate(36deg);border-color:#d1c9ff}.code-window{position:relative;z-index:2;width:min(370px,90%);background:#fff;border:1px solid #e4e9f4;border-radius:13px;box-shadow:0 26px 65px #244a8b20;overflow:hidden;transform:rotate(-2deg);animation:float 6s ease-in-out infinite}.window-bar{height:43px;background:#fbfcff;border-bottom:1px solid #eef1f8;display:flex;align-items:center;padding:0 15px;gap:14px;color:#a1acc0;font-size:10px}.window-dots{display:flex;gap:5px}.window-dots b{width:7px;height:7px;border-radius:50%;background:#ff7b7b}.window-dots b:nth-child(2){background:#ffc45c}.window-dots b:nth-child(3){background:#48d6a0}.window-bar>span:nth-child(2){margin:auto}.window-lock{color:#65c89b}.code-lines{padding:23px 17px 20px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:2.25;color:#53627b}.line-no{display:inline-block;width:28px;color:#c1c9d7;font-size:9px}.syntax-purple{color:#8b5cf6}.syntax-blue{color:#2674e8}.syntax-green{color:#17a77b}.syntax-orange{color:#ed9853}.code-gap{height:10px}.cursor{display:inline-block;width:6px;height:13px;background:#3478f6;vertical-align:middle;margin-left:3px;animation:blink 1s steps(2,start) infinite}.window-footer{height:32px;background:#fbfcff;border-top:1px solid #eef1f8;display:flex;justify-content:space-between;align-items:center;padding:0 13px;color:#9aa6b9;font-size:8px}.window-footer i,.community-note i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#31c78a;margin-right:5px}.float-card{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;background:#fff;padding:11px 14px;border:1px solid #e6ebf5;border-radius:11px;box-shadow:0 12px 32px #244a8b16;animation:float 5s ease-in-out infinite}.float-card-top{top:34px;right:-3px}.float-card-bottom{bottom:35px;left:-7px;animation-delay:-2s}.float-card b,.float-card small{display:block}.float-card b{font-size:10px}.float-card small{font-size:8px;color:#8b98ad;margin-top:2px}.float-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;font-weight:800}.float-icon.purple{background:#f1edff;color:#8966ec}.float-icon.green{background:#e8fbf2;color:#23ae76}.hero-spark{position:absolute;color:#7c8ff4}.spark-one{top:26px;left:37px;font-size:25px}.spark-two{bottom:24px;right:30px;font-size:23px;color:#a78bfa}.hero-bottom{display:flex;align-items:center;gap:13px;position:relative;z-index:1;color:#99a5b8;font-size:9px;margin-top:17px}.hero-bottom b{color:#4578d4}.hero-bottom-line{height:1px;width:42px;background:#d4def0}.stats-strip{border-bottom:1px solid var(--line);background:#fff}.stats-grid{min-height:100px;display:grid;grid-template-columns:repeat(3,1fr) 1.15fr;align-items:center}.stat-item{display:flex;align-items:center;gap:13px;border-right:1px solid var(--line);padding-left:25px}.stat-item:first-child{padding-left:0}.stat-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;font-size:19px;font-weight:700}.stat-icon.blue{background:#edf4ff;color:#3978e8}.stat-icon.violet{background:#f1edff;color:#8c69e9}.stat-icon.orange{background:#fff2e8;color:#ed9b50}.stat-item strong{font-size:21px;line-height:1.3;letter-spacing:-.7px;display:block}.stat-item strong span{color:var(--blue)}.stat-item small{font-size:10px;color:#8b98ad}.stat-note{display:flex;align-items:center;justify-content:flex-end;gap:9px;color:#73819a;font-size:10px}.section{padding:76px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:29px}.section-kicker{font-size:9px;margin-bottom:9px}.section-heading h2{font-size:27px;letter-spacing:-.9px;line-height:1.3;margin:0 0 8px;font-weight:800}.section-heading p{font-size:12px;color:#8490a4;margin:0}.text-link{font-size:11px;color:var(--blue);font-weight:700;white-space:nowrap;margin-bottom:5px}.text-link span{font-size:16px;margin-left:8px;transition:margin .2s}.text-link:hover span{margin-left:13px}.categories-section{padding-bottom:64px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.category-card{display:flex;align-items:center;text-align:left;gap:13px;padding:17px 16px;background:#fff;border:1px solid #e9edf5;border-radius:12px;min-width:0;transition:transform .2s,border .2s,box-shadow .2s}.category-card:hover,.category-card.selected{transform:translateY(-3px);border-color:#b9cdf9;box-shadow:0 10px 28px #244a8b0b}.category-icon{flex:0 0 42px;width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:20px;font-weight:700}.cat-blue{background:#edf4ff;color:#3477e8}.cat-purple{background:#f2edff;color:#8b66ed}.cat-yellow{background:#fff7df;color:#c89b20}.cat-green{background:#e8fbf1;color:#20ad76}.cat-pink{background:#fff0f5;color:#e875a4}.cat-orange{background:#fff2e7;color:#e99a4d}.category-text{min-width:0;flex:1}.category-text b,.category-text small{display:block}.category-text b{font-size:12px;margin-bottom:3px}.category-text small{font-size:10px;color:#8b97aa;white-space:nowrap}.category-arrow{color:#aab5c7;font-size:17px;align-self:flex-start}.category-card:hover .category-arrow{color:var(--blue)}.latest-section{background:#f8faff;border-top:1px solid #f0f3fa;border-bottom:1px solid #f0f3fa}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:25px;align-items:start}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.filter-tabs{display:flex;gap:5px}.filter-tab{border:1px solid transparent;border-radius:7px;background:transparent;padding:8px 12px;color:#8490a4;font-size:11px;font-weight:600}.filter-tab.active,.filter-tab:hover{background:#fff;border-color:#e3eaf7;color:var(--blue);box-shadow:0 3px 10px #234a8b08}.view-controls{display:flex;align-items:center;gap:5px}.view-controls select{height:32px;border:1px solid #e2e8f2;border-radius:7px;background:#fff;color:#748198;font-size:10px;padding:0 9px;outline:0}.view-btn{height:31px;width:31px;border:1px solid #e2e8f2;border-radius:7px;background:#fff;color:#9aa6b8}.view-btn.active,.view-btn:hover{color:var(--blue);border-color:#b7ccf8}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.source-card{background:#fff;border:1px solid #e8edf6;border-radius:13px;overflow:hidden;min-width:0;transition:transform .2s,box-shadow .2s,border .2s}.source-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px #233f710d;border-color:#d4e0f7}.source-cover{height:170px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.cover-web{background:linear-gradient(135deg,#dceaff,#eef4ff)}.cover-discord{background:linear-gradient(135deg,#e4e0ff,#f1edff)}.cover-python{background:linear-gradient(135deg,#fff0c9,#fff8e9)}.cover-ui{background:linear-gradient(135deg,#ffe3ef,#fff1f6)}.cover-mobile{background:linear-gradient(135deg,#d9f7eb,#edfcf5)}.cover-game{background:linear-gradient(135deg,#ffe8d5,#fff5eb)}.cover-chip{position:absolute;left:13px;top:13px;z-index:2;background:#ffffffbd;border:1px solid #ffffffc9;border-radius:5px;padding:5px 7px;color:#526b98;font-size:8px;font-weight:800;letter-spacing:.7px}.cover-label{position:absolute;right:13px;bottom:12px;font-size:8px;letter-spacing:1.5px;color:#6c82a6;font-weight:800}.browser-mock{width:61%;height:105px;border:1px solid #b9cef2;border-radius:8px;background:#fff;box-shadow:0 12px 25px #345e9b20;overflow:hidden;transform:rotate(-4deg)}.mock-top{height:17px;border-bottom:1px solid #e4ecfa;display:flex;align-items:center;gap:3px;padding-left:8px}.mock-top i{width:4px;height:4px;border-radius:50%;background:#c2d2ed}.mock-content{padding:10px 13px}.mock-content>span{display:block;width:45%;height:5px;background:#b3cbf8;border-radius:5px;margin-bottom:5px}.mock-content>span:nth-child(2){width:70%;height:3px;background:#e0e8f8}.mock-content>span:nth-child(3){width:53%;height:3px;background:#e0e8f8}.mock-blocks{display:flex;gap:5px;margin-top:9px}.mock-blocks i{height:25px;flex:1;background:#eaf1ff;border-radius:4px}.mock-blocks i:nth-child(2){background:#dce8ff}.mock-blocks i:nth-child(3){background:#f1eaff}.discord-mark{font-size:67px;font-weight:800;color:#8273e9;text-shadow:0 8px 0 #c4bbff;transform:rotate(-8deg)}.discord-bubbles{position:absolute;display:flex;gap:5px;bottom:42px;left:29%}.discord-bubbles i{width:7px;height:7px;border-radius:50%;background:#b3a7fa}.discord-bubbles i:nth-child(2){background:#9483f2}.python-symbol{font-size:50px;font-weight:800;color:#3974bd;letter-spacing:-4px;text-shadow:3px 3px 0 #ffd36b;transform:rotate(-9deg)}.python-code{font-family:monospace;font-size:8px;line-height:1.7;color:#7d8fa9;position:absolute;right:14%;top:56px;transform:rotate(5deg)}.ui-canvas{width:62%;height:104px;background:#fff;border-radius:7px;box-shadow:0 10px 24px #9d52731c;display:flex;padding:8px;gap:7px;transform:rotate(3deg)}.ui-sidebar{width:22%;border-radius:4px;background:#f9d8e7}.ui-panel{flex:1}.ui-panel>i{display:block;height:5px;background:#f0e6ee;border-radius:4px;margin-bottom:5px}.ui-panel>i:first-child{width:55%;background:#e7b3ce}.ui-panel>i:nth-child(2){width:85%}.ui-panel>i:nth-child(3){width:68%}.ui-panel>div{display:flex;gap:5px;margin-top:10px}.ui-panel b{height:29px;flex:1;border-radius:4px;background:#f9e6ef}.ui-panel b:nth-child(2){background:#f4d5e4}.phone-mock{height:123px;width:65px;border:4px solid #fff;border-radius:13px;background:#244d45;box-shadow:0 9px 22px #1a796333;transform:rotate(-7deg);padding:8px 5px}.phone-speaker{width:17px;height:3px;background:#b3d6c9;border-radius:5px;margin:0 auto 8px}.phone-screen span,.phone-screen b,.phone-screen i{display:block;border-radius:4px;background:#6ec9a5;margin-bottom:5px}.phone-screen span{height:24px;background:#a2e4c6}.phone-screen b{height:5px;width:80%}.phone-screen i{height:4px;background:#4c9c7e}.phone-screen div{height:21px;border-radius:5px;background:#357d68;margin-top:8px}.game-orb{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;font-size:35px;color:#fff;background:radial-gradient(circle at 35% 25%,#ffdb91,#f2a25e 65%,#d77a48);box-shadow:0 12px 22px #e48b5144;z-index:1}.game-platform{position:absolute;bottom:38px;width:145px;height:14px;border-radius:50%;background:#edc4a5;transform:skewX(-25deg)}.source-body{padding:14px 15px 12px}.source-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:9px}.tag{font-size:8px;font-weight:700;padding:4px 7px;border-radius:5px;white-space:nowrap}.tag-blue{color:#3475df;background:#edf4ff}.tag-purple{color:#8263db;background:#f1edff}.tag-yellow{color:#aa841e;background:#fff6dd}.tag-pink{color:#d55f91;background:#fff0f5}.tag-green{color:#209d6e;background:#e9fbf2}.tag-orange{color:#ce8038;background:#fff2e7}.source-date{font-size:9px;color:#a1acbd;white-space:nowrap}.source-body h3{font-size:13px;line-height:1.55;margin:0 0 7px;letter-spacing:-.2px}.source-body h3 a:hover{color:var(--blue)}.source-body p{font-size:10px;line-height:1.8;color:#8793a7;min-height:36px;margin-bottom:13px}.source-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:11px;border-top:1px solid #f0f2f7}.author{display:flex;align-items:center;gap:7px;color:#6d7b92;font-size:9px;white-space:nowrap}.avatar{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:8px;font-weight:800}.avatar-blue{background:#e7f0ff;color:#3978e8}.avatar-purple{background:#f0ebff;color:#8a67e8}.avatar-yellow{background:#fff4d5;color:#bd8d14}.avatar-pink{background:#ffedf4;color:#d76899}.avatar-green{background:#e6faf0;color:#22a876}.avatar-orange{background:#fff0e3;color:#d98945}.source-stats{font-size:9px;color:#9aa6b8;white-space:nowrap}.source-stats span{margin-left:7px}.source-grid.list-view{grid-template-columns:1fr}.source-grid.list-view .source-card{display:grid;grid-template-columns:190px 1fr}.source-grid.list-view .source-cover{height:100%;min-height:170px}.source-grid.list-view .source-body p{min-height:0}.sidebar{display:flex;flex-direction:column;gap:15px}.sidebar-card{background:#fff;border:1px solid #e7edf6;border-radius:13px;padding:18px}.sidebar-title{display:flex;align-items:center;gap:9px;margin-bottom:10px}.sidebar-title-icon{width:28px;height:28px;border-radius:8px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:17px}.sidebar-title-icon.trending{background:#fff3e7;color:#e49a4f}.sidebar-title h3{font-size:12px;margin:0;font-weight:800}.sidebar-card>p{font-size:10px;color:#8793a7;line-height:1.8;margin-bottom:13px}.quick-search form{display:flex;height:38px;border:1px solid #e1e8f3;border-radius:8px;overflow:hidden}.quick-search input{width:0;flex:1;min-width:0;border:0;outline:0;padding:0 10px;font-size:10px}.quick-search form button{width:38px;border:0;background:var(--blue);color:#fff;font-size:18px}.side-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.side-tags button{font-size:9px;padding:5px 7px}.trending-item{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid #f0f2f7}.trending-item:last-child{border-bottom:0;padding-bottom:0}.trend-number{font-size:13px;font-weight:800;color:#b4c2d8}.trending-item:nth-of-type(2) .trend-number{color:#6796ef}.trending-item b,.trending-item small{display:block}.trending-item b{font-size:10px;margin-bottom:4px}.trending-item small{font-size:9px;color:#9aa5b6}.trending-item:hover b{color:var(--blue)}.sidebar-cta{position:relative;overflow:hidden;padding:22px 18px;border-radius:13px;background:linear-gradient(145deg,#2268ec,#174dbf);color:#fff}.sidebar-cta:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #ffffff22;border-radius:50%;right:-95px;top:-75px;box-shadow:0 0 0 25px #ffffff09,0 0 0 50px #ffffff07}.cta-spark{font-size:27px;color:#c2d5ff;line-height:1;margin-bottom:12px}.cta-label{font-size:8px;letter-spacing:1.5px;color:#c3d6ff;font-weight:800}.sidebar-cta h3{font-size:18px;line-height:1.4;margin:8px 0}.sidebar-cta p{font-size:10px;line-height:1.8;color:#d7e4ff;margin-bottom:17px}.sidebar-cta .btn{position:relative;z-index:1;width:100%;font-size:10px;padding:11px 9px}.load-more-wrap{text-align:center;padding:27px 0 0}.load-more-wrap .btn{min-width:215px}.load-more-wrap p{font-size:9px;color:#a0aabd;margin:11px 0 0}.empty-state{text-align:center;padding:45px 20px;background:#fff;border:1px dashed #dce5f3;border-radius:12px}.empty-state>div{font-size:30px;color:#8fa7d4}.empty-state h3{font-size:16px;margin:6px 0}.empty-state p{font-size:11px;color:#8a96aa}.articles-section{padding-top:75px;padding-bottom:80px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.article-card{border:1px solid #e8edf5;border-radius:13px;overflow:hidden;transition:transform .2s,box-shadow .2s}.article-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.article-art{height:150px;position:relative;display:grid;place-items:center;overflow:hidden}.article-art>span{position:absolute;top:12px;left:14px;font-size:9px;font-weight:800;letter-spacing:1px;color:#ffffffb8}.article-art-blue{background:linear-gradient(135deg,#dceaff,#b9d0ff)}.article-art-purple{background:linear-gradient(135deg,#ece4ff,#d5c9ff)}.article-art-green{background:linear-gradient(135deg,#d8f7e9,#b6ecd6)}.article-graphic{width:82px;height:82px;border-radius:23px;background:#ffffff7a;border:1px solid #ffffffbd;display:grid;place-items:center;font-size:29px;font-weight:800;color:#3575e5;transform:rotate(-8deg);box-shadow:0 12px 25px #284b8512}.article-art-purple .article-graphic{color:#8b6be8}.article-art-green .article-graphic{color:#269f74}.article-info{padding:16px}.article-category{font-size:8px;letter-spacing:.6px;color:#7c91b4;font-weight:800}.article-info h3{font-size:13px;line-height:1.55;margin:9px 0 7px}.article-info p{font-size:10px;color:#8a96a9;line-height:1.8;min-height:36px;margin-bottom:13px}.article-read{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eff2f7;padding-top:12px;font-size:10px;color:var(--blue);font-weight:700}.article-read b{font-size:15px}.community-section{background:#172c53;color:#fff;overflow:hidden;position:relative}.community-inner{min-height:255px;padding-block:50px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative}.community-inner>div:first-child{position:relative;z-index:1}.light-kicker{color:#9bbcff}.community-inner h2{font-size:29px;line-height:1.35;letter-spacing:-1px;margin:10px 0}.community-inner h2 span{color:#8fb3ff}.community-inner p{max-width:500px;color:#b6c5df;font-size:11px;line-height:1.9;margin:0}.community-actions{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:15px;min-width:210px}.community-actions .btn{font-size:11px}.community-note{font-size:9px;color:#b6c5df}.community-orbit{position:absolute;border:1px solid #ffffff12;border-radius:50%;width:300px;height:300px;right:90px;top:-25px;box-shadow:0 0 0 35px #ffffff05,0 0 0 70px #ffffff04}.site-footer{background:#fbfcff}.footer-main{display:grid;grid-template-columns:1.8fr 1fr 1fr 1fr;gap:45px;padding-top:48px;padding-bottom:40px}.brand-footer{font-size:20px}.brand-footer .brand-mark{width:37px;height:37px;border-radius:11px;font-size:14px}.footer-brand p{font-size:10px;line-height:1.9;color:#8793a7;max-width:270px;margin:16px 0}.github-link{font-size:10px;color:#667794}.github-link:hover{color:var(--blue)}.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:11px}.footer-column h4{font-size:11px;margin:6px 0 5px}.footer-column a{font-size:10px;color:#8490a4}.footer-column a:hover{color:var(--blue)}.footer-bottom{border-top:1px solid #e8edf5;min-height:53px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:9px;color:#9aa5b6}.footer-bottom b{color:#e87890}.back-top{position:fixed;z-index:10;right:20px;bottom:20px;width:39px;height:39px;border:1px solid #e1e8f4;border-radius:11px;background:#fff;color:var(--blue);font-size:20px;box-shadow:0 6px 20px #233f7114;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.back-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}.toast{position:fixed;z-index:50;bottom:24px;left:50%;transform:translate(-50%,15px);padding:11px 16px;border-radius:9px;background:#172c53;color:#fff;font-size:11px;box-shadow:0 10px 35px #10234730;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@keyframes float{0%,100%{translate:0 0}50%{translate:0 -8px}}@keyframes blink{to{visibility:hidden}}@media(min-width:1400px){.hero{min-height:470px}.hero-art{height:345px}}@media(max-width:1050px){.header-inner{gap:20px}.main-nav{gap:16px}.header-actions{gap:12px}.content-layout{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.source-cover{height:150px}.source-body{padding:12px}.source-body h3{font-size:12px}.source-stats span{display:none}.hero-layout{gap:20px}.float-card-top{right:0}.float-card-bottom{left:0}}@media(max-width:850px){.container{width:min(100% - 36px,680px)}.site-header{height:68px}.header-inner{gap:14px}.brand{font-size:20px}.brand-mark{width:38px;height:38px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:67px;left:0;right:0;padding:12px 20px 18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 15px 25px #1c37610d;align-items:stretch;gap:0}.main-nav.open{display:flex;flex-direction:column}.nav-link{padding:11px 3px;border-bottom:1px solid #f0f2f7}.nav-link.active:after{display:none}.header-actions{margin-left:0}.login-link{display:none}.hero{padding-top:48px}.hero-layout{grid-template-columns:1fr;gap:8px}.hero-copy{max-width:620px;margin:auto;width:100%;padding-bottom:0}.hero h1{font-size:clamp(32px,6vw,44px)}.hero-art{height:285px;max-width:540px;width:100%;margin:auto}.hero-bottom{margin-top:7px}.stats-grid{grid-template-columns:repeat(3,1fr);padding-block:17px;gap:12px}.stat-item{padding-left:0;border:0;gap:9px}.stat-icon{width:34px;height:34px}.stat-item strong{font-size:18px}.stat-item small{font-size:9px}.stat-note{grid-column:1/-1;justify-content:flex-start;padding-top:8px;border-top:1px solid var(--line)}.section{padding:60px 0}.category-grid{grid-template-columns:repeat(2,1fr)}.content-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.sidebar-cta{grid-column:1/-1}.article-grid{gap:12px}.article-art{height:120px}.article-info{padding:12px}.article-info h3{font-size:12px}.footer-main{gap:25px;grid-template-columns:1.5fr 1fr 1fr}.footer-column:last-child{display:none}.community-inner{min-height:240px}.community-inner h2{font-size:25px}}@media(max-width:560px){.container{width:calc(100% - 30px)}.topline-inner{font-size:9px}.topline-inner>div{gap:6px}.site-header{height:64px}.main-nav{top:63px}.header-inner{gap:8px}.brand{font-size:18px;gap:7px}.brand-mark{width:34px;height:34px;border-radius:10px;font-size:13px}.brand small{font-size:7px;letter-spacing:1.4px}.header-actions .btn{font-size:9px;padding:9px 10px;gap:5px}.menu-toggle{padding:5px}.hero{padding:39px 0 20px}.hero h1{font-size:31px;letter-spacing:-1.2px}.hero-description{font-size:12px}.hero-search{height:52px}.hero-search button{height:40px;padding:0 11px}.hero-search button span{display:none}.popular-searches{gap:5px}.popular-searches>span{width:100%}.hero-art{height:245px}.code-window{width:84%;}.code-lines{font-size:9px;padding:16px 12px}.window-bar{height:35px}.float-card{padding:8px 9px;gap:7px}.float-card-top{top:17px;right:-1px}.float-card-bottom{bottom:18px;left:-1px}.float-icon{width:25px;height:25px}.float-card b{font-size:9px}.float-card small{font-size:7px}.orbit-a{width:300px;height:190px}.orbit-b{width:260px;height:230px}.hero-bottom{font-size:8px;gap:8px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stat-item{gap:6px}.stat-icon{width:28px;height:28px;font-size:15px;border-radius:8px}.stat-item strong{font-size:15px}.stat-item small{font-size:8px;line-height:1.5;display:block}.section{padding:48px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:22px}.section-heading h2{font-size:24px}.section-heading p{font-size:11px}.text-link{margin:0}.category-grid{gap:9px}.category-card{padding:12px 10px;gap:9px}.category-icon{width:34px;height:34px;flex-basis:34px;font-size:17px;border-radius:9px}.category-text b{font-size:10px}.category-text small{font-size:8px;white-space:normal;line-height:1.4}.category-arrow{font-size:13px}.filter-bar{align-items:flex-start;flex-direction:column}.filter-tabs{width:100%;justify-content:space-between}.filter-tab{padding:7px 10px}.view-controls{align-self:flex-end}.source-grid{grid-template-columns:1fr;gap:13px}.source-cover{height:170px}.source-body{padding:14px}.source-body h3{font-size:13px}.source-body p{font-size:10px;min-height:0}.source-stats span{display:inline}.source-grid.list-view .source-card{display:block}.source-grid.list-view .source-cover{height:170px;min-height:0}.sidebar{grid-template-columns:1fr}.sidebar-cta{grid-column:auto}.article-grid{grid-template-columns:1fr;gap:13px}.article-card{display:grid;grid-template-columns:120px minmax(0,1fr)}.article-art{height:100%;min-height:165px}.article-graphic{width:62px;height:62px;font-size:22px;border-radius:17px}.article-info{padding:13px}.article-info p{min-height:0}.community-inner{padding-block:38px;align-items:flex-start;flex-direction:column;gap:20px}.community-inner h2{font-size:25px}.community-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}.community-orbit{right:-180px;top:-40px}.footer-main{grid-template-columns:1fr 1fr;gap:27px 20px;padding-top:35px}.footer-brand{grid-column:1/-1}.footer-column:last-child{display:flex}.footer-bottom{padding-block:13px;align-items:flex-start;flex-direction:column;gap:4px}.back-top{right:13px;bottom:13px}.source-meta{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ===== ShareCode readability & feature update ===== */
:root{--blue:#1764e8;--blue-dark:#114fc3;--ink:#14213a;--muted:#5f6f89;--line:#e0e7f2;--soft:#f5f8fd;--radius:16px;--shadow:0 12px 34px rgba(22,49,92,.08)}
html{scroll-padding-top:100px}
body{font-size:15px;line-height:1.7;color:var(--ink);background:#f7f9fd}
.container{width:min(1200px,calc(100% - 48px))}
.topline{font-size:12px;min-height:36px;background:#eef4ff}
.topline-inner{min-height:36px}
.site-header{height:82px;background:rgba(255,255,255,.96);box-shadow:0 3px 18px rgba(30,55,95,.035)}
.header-inner{gap:28px}
.brand{font-size:22px;gap:10px}
.brand-mark{width:44px;height:44px;font-size:18px}
.brand small{font-size:9px;letter-spacing:1.7px;margin-top:2px}
.main-nav{gap:22px}
.nav-link{font-size:13px;font-weight:700;padding:12px 0}
.header-actions{gap:18px}
.login-link{font-size:13px;font-weight:700}
.btn{font-size:13px!important;font-weight:700;border-radius:10px;min-height:42px;padding:11px 17px}
.btn-small{min-height:40px}
.hero{padding:72px 0 32px;min-height:500px;background:linear-gradient(135deg,#f9fbff 0%,#f1f6ff 56%,#f8faff 100%)}
.hero-layout{grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:70px}
.eyebrow{font-size:11px;letter-spacing:1.25px}
.hero h1{font-size:clamp(39px,4.3vw,56px);line-height:1.18;letter-spacing:-1.7px;margin:20px 0 19px}
.hero h1 span{color:#2165e8}
.hero-description{max-width:610px;font-size:16px;line-height:1.85;color:#566681}
.hero-search{height:62px;border-radius:14px;padding:7px 8px 7px 17px;box-shadow:0 12px 32px rgba(35,78,148,.09);border-color:#dce5f4}
.hero-search input{font-size:14px;padding-left:8px}
.hero-search button{font-size:13px;padding:0 18px;border-radius:10px}
.popular-searches{margin-top:18px;gap:8px}
.popular-searches>span{font-size:12px;margin-right:3px}
.popular-searches button,.side-tags button{font-size:11px;padding:6px 10px;border-radius:7px}
.hero-art{height:340px}
.code-window{width:min(100%,475px);border-radius:15px;box-shadow:0 26px 60px rgba(28,53,96,.2)}
.window-bar{height:46px;font-size:12px}
.code-lines{font-size:13px;line-height:1.95;padding:24px 22px}
.window-footer{font-size:10px;padding:12px 16px}
.float-card{padding:12px 15px;border-radius:12px;gap:11px;box-shadow:0 12px 28px #172d521a}
.float-card b{font-size:12px}.float-card small{font-size:10px}
.float-icon{width:36px;height:36px;font-size:15px}
.hero-bottom{margin-top:25px;font-size:11px}
.stats-strip{border-top:1px solid #e7edf7;border-bottom:1px solid #e7edf7;background:#fff}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr)) 1.2fr;padding:25px 0;gap:20px}
.stat-item{gap:14px;padding-left:18px}
.stat-icon{width:44px;height:44px;border-radius:12px;font-size:21px}
.stat-item strong{font-size:16px;line-height:1.4}
.stat-item small{font-size:12px;line-height:1.6;display:block;margin-top:3px}
.stat-note{font-size:12px;line-height:1.6}
.section{padding:82px 0}
.section-heading{margin-bottom:30px;gap:24px}
.section-kicker{font-size:11px;letter-spacing:1.3px;font-weight:800}
.section-heading h2{font-size:clamp(27px,3vw,35px);line-height:1.3;letter-spacing:-.8px;margin:8px 0 8px}
.section-heading p{font-size:14px;line-height:1.8;color:#65748d;max-width:660px}
.text-link{font-size:13px;font-weight:700;white-space:nowrap}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.category-card{padding:20px 17px;gap:12px;min-height:94px;border-radius:14px;box-shadow:0 4px 16px rgba(25,50,90,.025);transition:transform .2s,box-shadow .2s,border-color .2s}
.category-card:hover,.category-card.selected{transform:translateY(-3px);border-color:#afc8f8;box-shadow:0 12px 28px rgba(29,88,188,.09)}
.category-icon{width:44px;height:44px;flex-basis:44px;border-radius:12px;font-size:21px}
.category-text b{font-size:13px;line-height:1.45}
.category-text small{font-size:11px;line-height:1.55;margin-top:4px;white-space:normal}
.category-arrow{font-size:18px}
.latest-section{background:#f5f8fd}
.content-layout{grid-template-columns:minmax(0,1fr) 300px;gap:25px}
.content-notice{display:flex;gap:10px;align-items:flex-start;margin:0 0 16px;padding:12px 15px;background:#edf4ff;border:1px solid #dbe8ff;border-radius:11px;color:#455875;font-size:12px;line-height:1.7}
.notice-icon{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#d7e6ff;color:#1b5ed8;font-weight:800}
.filter-bar{padding:12px 14px;gap:12px;border-radius:12px;margin-bottom:18px}
.filter-tab{font-size:12px;padding:9px 14px;border-radius:8px}
.view-controls select{font-size:12px;padding:8px 10px}
.view-btn{width:35px;height:35px;font-size:17px}
.source-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.source-card{border-radius:14px;box-shadow:0 4px 18px rgba(28,55,101,.035);transition:transform .2s,box-shadow .2s}
.source-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(25,58,111,.11)}
.source-cover{height:180px}
.cover-chip{font-size:10px;padding:6px 9px;top:12px;left:12px;border-radius:6px}
.cover-label{font-size:10px;letter-spacing:1.2px;bottom:13px;right:13px}
.source-body{padding:16px}
.source-meta{gap:8px}
.tag{font-size:10px;padding:5px 8px;border-radius:6px}
.source-date{font-size:10px}
.source-body h3{font-size:15px;line-height:1.5;margin:10px 0 7px}
.source-body p{font-size:12px;line-height:1.75;color:#66758d;min-height:64px;margin-bottom:16px}
.source-footer{padding-top:12px}
.author{font-size:10px;gap:8px}
.avatar{width:28px;height:28px;font-size:9px}
.source-stats{font-size:10px}
.load-more-wrap{padding-top:30px}
.load-more-wrap p{font-size:11px}
.sidebar{gap:17px}
.sidebar-card{padding:20px;border-radius:14px}
.sidebar-title{gap:11px;margin-bottom:12px}
.sidebar-title-icon{width:36px;height:36px;font-size:20px;border-radius:10px}
.sidebar-title h3{font-size:15px}
.sidebar-card>p{font-size:12px;line-height:1.8}
.quick-search form{height:44px;border-radius:9px}
.quick-search input{font-size:12px;padding-inline:12px}
.quick-search form button{width:44px;font-size:20px}
.side-tags{gap:7px}
.trending-item{gap:13px;padding:13px 0}
.trend-number{font-size:16px}
.trending-item b{font-size:12px;line-height:1.5}
.trending-item small{font-size:10px;line-height:1.6}
.sidebar-cta{padding:25px 21px;border-radius:14px}
.cta-spark{font-size:31px}
.cta-label{font-size:10px}
.sidebar-cta h3{font-size:22px}
.sidebar-cta p{font-size:12px;line-height:1.8}
.articles-section{background:#fff;padding-top:82px;padding-bottom:78px}
.blog-source-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:-7px 0 22px;color:#64738d;font-size:12px}
.blog-source-line a{color:#1764e8;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.blog-source-line #blogUpdated{margin-left:auto;color:#8a97ab;font-size:11px}
.source-pulse{width:9px;height:9px;border-radius:50%;background:#22b981;box-shadow:0 0 0 4px #dff8ee}
.article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.blog-card{display:flex;min-width:0;flex-direction:column;border:1px solid #e4eaf4;border-radius:14px;overflow:hidden;background:#fff;color:inherit;transition:transform .2s,box-shadow .2s}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(26,52,95,.1)}
.blog-cover{height:155px;display:flex;align-items:flex-end;padding:15px;background:linear-gradient(135deg,#dceaff,#eef3ff);position:relative;overflow:hidden}
.blog-cover:before{content:"";position:absolute;width:170px;height:170px;border:1px solid #ffffffb5;border-radius:50%;right:-20px;top:-68px;box-shadow:0 0 0 22px #ffffff35,0 0 0 45px #ffffff20}
.blog-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.blog-cover-label{position:relative;z-index:1;background:#fffE;color:#2855a0;border:1px solid #ffffffb0;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:800;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.blog-info{display:flex;flex:1;flex-direction:column;padding:18px}
.blog-meta{display:flex;gap:8px;flex-wrap:wrap;color:#73819a;font-size:10px;font-weight:700}
.blog-info h3{font-size:16px;line-height:1.5;margin:11px 0 9px;letter-spacing:-.2px}
.blog-info p{font-size:12px;line-height:1.8;color:#66758d;margin:0 0 18px}
.blog-read{display:flex;align-items:center;justify-content:space-between;margin-top:auto;border-top:1px solid #edf0f6;padding-top:14px;color:#1764e8;font-size:12px;font-weight:800}
.blog-loading{grid-column:1/-1;display:flex;align-items:center;gap:15px;padding:28px;border:1px solid #e3eaf5;background:#fff;border-radius:14px}
.blog-loading b{font-size:14px}
.blog-loading p{font-size:12px;color:#74819a;margin:4px 0 0}
.loading-spinner{width:26px;height:26px;border:3px solid #d8e5ff;border-top-color:#1764e8;border-radius:50%;animation:spin .8s linear infinite;flex:0 0 auto}
.blog-empty{grid-column:1/-1;border:1px dashed #cdd9eb;border-radius:14px;padding:25px;background:#fff}
.blog-empty h3{font-size:16px;margin:0 0 6px}
.blog-empty p{font-size:13px;color:#65748d;line-height:1.8;margin:0 0 14px}
.blog-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid #e8edf5}
.blog-footer>span{color:#78869e;font-size:12px;line-height:1.7}
.tools-section{background:#f5f8fd}
.section-side-note{font-size:12px;color:#6c7b94;font-weight:700;background:#eaf1fc;border-radius:8px;padding:8px 11px;white-space:nowrap}
.tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.tool-card{display:flex;align-items:center;gap:13px;padding:18px;background:#fff;border:1px solid #e4eaf4;border-radius:14px;min-width:0;transition:transform .2s,box-shadow .2s,border-color .2s}
.tool-card:hover{transform:translateY(-3px);border-color:#c6d8fa;box-shadow:0 12px 25px rgba(30,67,122,.08)}
.tool-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:13px;font-weight:900;font-size:17px}
.tool-blue{background:#e7f0ff;color:#1e62d9}.tool-dark{background:#edf0f5;color:#202c40}.tool-purple{background:#f0eaff;color:#7b56d7}.tool-green{background:#e3f8ee;color:#169764}.tool-yellow{background:#fff4d8;color:#a97705}.tool-orange{background:#fff0e2;color:#b56b26}
.tool-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.tool-copy b{font-size:13px;line-height:1.5}
.tool-copy small{font-size:11px;line-height:1.6;color:#65748d}
.tool-copy em{font-style:normal;font-size:10px;color:#2864c5;margin-top:3px;overflow-wrap:anywhere}
.tool-arrow{font-size:17px;color:#96a5bc}
.faq-section{background:#fff}
.faq-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:start}
.faq-intro h2{font-size:31px;line-height:1.3;letter-spacing:-.7px;margin:9px 0 13px}
.faq-intro p{font-size:14px;line-height:1.9;color:#62718a;margin-bottom:18px}
.faq-list{display:flex;flex-direction:column;gap:11px}
.faq-list details{border:1px solid #e3e9f3;border-radius:12px;background:#fbfcff;padding:0 18px}
.faq-list summary{cursor:pointer;list-style:none;position:relative;padding:17px 30px 17px 0;font-size:13px;font-weight:800;line-height:1.65}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:"+";position:absolute;right:0;top:12px;font-size:22px;color:#1764e8}
.faq-list details[open] summary:after{content:"−"}
.faq-list details p{font-size:12px;line-height:1.85;color:#65748d;padding:0 0 17px;margin:0}
.community-inner{min-height:300px;padding-block:60px;gap:55px}
.community-inner h2{font-size:36px;line-height:1.3;letter-spacing:-1px}
.community-inner p{font-size:14px;line-height:1.9;max-width:620px}
.community-actions .btn{font-size:13px!important}
.community-note{font-size:11px}
.footer-main{grid-template-columns:1.7fr 1fr 1fr 1fr;gap:40px;padding-top:54px;padding-bottom:45px}
.brand-footer{font-size:22px}
.brand-footer .brand-mark{width:42px;height:42px;font-size:16px}
.footer-brand p{font-size:12px;line-height:1.9;max-width:330px}
.github-link,.footer-column a{font-size:12px}
.footer-column{gap:13px}
.footer-column h4{font-size:13px;margin-bottom:5px}
.footer-bottom{min-height:60px;font-size:11px}
.back-top{width:44px;height:44px;font-size:23px;border-radius:13px;box-shadow:0 7px 25px #233f7120}
.toast{font-size:13px;padding:13px 18px}
.empty-state h3{font-size:18px}.empty-state p{font-size:13px}
.modal-backdrop{position:fixed;inset:0;z-index:100;background:rgba(12,24,44,.58);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}
.modal-backdrop[hidden]{display:none}
.detail-dialog{position:relative;width:min(100%,560px);max-height:min(85vh,760px);overflow:auto;background:#fff;border-radius:18px;padding:32px;box-shadow:0 30px 100px rgba(0,0,0,.25)}
.modal-close{position:absolute;right:17px;top:12px;border:0;background:#f0f4fb;width:38px;height:38px;border-radius:10px;font-size:25px;color:#52627b;cursor:pointer}
.modal-kicker{color:#1764e8;font-size:10px;letter-spacing:1.3px;font-weight:900}
.detail-dialog h2{font-size:27px;line-height:1.35;letter-spacing:-.5px;margin:12px 42px 10px 0}
.detail-meta{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:17px}
.detail-meta span{font-size:11px;font-weight:700;padding:5px 9px;background:#edf4ff;color:#2a5fc1;border-radius:7px}
.detail-dialog>p{font-size:14px;line-height:1.8;color:#5b6b83}
.detail-tags{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}
.detail-tags span{font-size:11px;padding:6px 9px;border:1px solid #e1e8f2;border-radius:7px;color:#596983}
.detail-notice{font-size:12px;line-height:1.8;color:#5e6d84;background:#f5f8fd;border:1px solid #e2e9f4;border-radius:10px;padding:13px;margin:18px 0}
.detail-actions{display:flex;flex-wrap:wrap;gap:10px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1050px){
  .container{width:min(100% - 38px,1000px)}
  .hero-layout{gap:35px}
  .content-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}
  .source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tool-card{padding:15px}
}
@media(max-width:850px){
  .container{width:min(100% - 36px,700px)}
  .site-header{height:72px}
  .header-inner{gap:12px}
  .brand{font-size:20px}
  .main-nav{top:71px}
  .main-nav.open{padding:15px 20px 20px}
  .nav-link{font-size:14px;padding:13px 3px}
  .header-actions{gap:9px}
  .header-actions .login-link{display:none}
  .hero{padding-top:53px}
  .hero-layout{grid-template-columns:1fr;gap:18px}
  .hero-copy{max-width:670px}
  .hero-art{height:310px;max-width:540px}
  .stats-grid{grid-template-columns:repeat(3,1fr);padding:22px 0;gap:16px}
  .stat-note{grid-column:1/-1;padding-top:13px;border-top:1px solid var(--line);font-size:12px}
  .section{padding:64px 0}
  .content-layout{grid-template-columns:1fr}
  .sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .sidebar-cta{grid-column:1/-1}
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faq-layout{grid-template-columns:1fr;gap:24px}
  .footer-main{grid-template-columns:1.5fr 1fr 1fr;gap:24px}
}
@media(max-width:560px){
  .container{width:calc(100% - 30px)}
  .topline{font-size:10px}
  .site-header{height:66px}
  .header-inner{gap:8px}
  .brand{font-size:18px;gap:7px}
  .brand-mark{width:36px;height:36px;font-size:15px}
  .brand small{font-size:7px}
  .main-nav{top:65px}
  .header-actions .btn{font-size:10px!important;padding:9px 10px;min-height:36px}
  .hero{padding:39px 0 25px}
  .hero h1{font-size:34px;letter-spacing:-1.2px}
  .hero-description{font-size:14px;line-height:1.8}
  .hero-search{height:56px}
  .hero-search input{font-size:12px}
  .hero-search button{font-size:11px;padding:0 11px}
  .popular-searches{gap:6px}
  .popular-searches>span{width:auto;font-size:11px}
  .popular-searches button{font-size:10px;padding:6px 8px}
  .hero-art{height:260px}
  .code-lines{font-size:10px;padding:15px 12px}
  .float-card{padding:8px 9px;gap:7px}
  .float-card b{font-size:10px}.float-card small{font-size:8px}
  .float-icon{width:29px;height:29px}
  .hero-bottom{font-size:9px;gap:8px}
  .stats-grid{grid-template-columns:1fr;gap:12px;padding:18px 0}
  .stat-item{padding:0;gap:12px}
  .stat-icon{width:40px;height:40px}
  .stat-item strong{font-size:14px}
  .stat-item small{font-size:11px}
  .stat-note{grid-column:auto}
  .section{padding:52px 0}
  .section-heading{flex-direction:column;align-items:flex-start;gap:12px}
  .section-heading h2{font-size:27px}
  .section-heading p{font-size:13px}
  .category-grid,.source-grid,.article-grid,.tools-grid{grid-template-columns:1fr}
  .category-card{min-height:84px;padding:15px}
  .category-text b{font-size:13px}.category-text small{font-size:11px}
  .source-cover{height:190px}
  .source-body{padding:16px}
  .source-body h3{font-size:16px}
  .source-body p{font-size:13px;min-height:0}
  .source-date,.tag{font-size:10px}
  .source-stats,.author{font-size:10px}
  .sidebar{grid-template-columns:1fr}
  .blog-source-line{font-size:11px;align-items:flex-start}
  .blog-source-line #blogUpdated{width:100%;margin-left:19px}
  .blog-cover{height:175px}
  .blog-info{padding:17px}
  .blog-info h3{font-size:17px}
  .blog-info p{font-size:13px}
  .blog-footer{align-items:flex-start;flex-direction:column}
  .tool-card{padding:16px}
  .faq-intro h2{font-size:28px}
  .community-inner{padding-block:43px;gap:22px}
  .community-inner h2{font-size:29px}
  .community-inner p{font-size:13px}
  .community-actions{gap:12px;flex-wrap:wrap}
  .footer-main{grid-template-columns:1fr 1fr;gap:25px 18px;padding-top:37px}
  .footer-brand{grid-column:1/-1}
  .footer-brand p{font-size:12px}
  .footer-column h4{font-size:12px}
  .footer-column a{font-size:11px}
  .footer-bottom{font-size:10px;padding:12px 0;gap:5px}
  .detail-dialog{padding:25px 20px;border-radius:15px}
  .detail-dialog h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none}}


/* ===== ShareCode readability + local developer utilities ===== */
:root{
  --blue:#225ed8;--blue-dark:#174bb5;--ink:#19253a;--muted:#5d6b80;--line:#dfe6f0;
  --soft:#f4f7fb;--white:#fff;--card:#fff;--surface:#f7f9fc;--shadow:0 10px 30px rgba(27,48,82,.07)
}
html{font-size:16px;scroll-padding-top:104px}
body{font-size:15px;line-height:1.7;background:#f5f7fb;color:var(--ink)}
.container{width:min(1240px,calc(100% - 56px))}
.topline{font-size:12px;background:#edf3fc;color:#40526f}
.site-header{height:82px;box-shadow:0 4px 18px rgba(22,44,78,.045)}
.header-inner{gap:25px}
.main-nav{gap:clamp(12px,1.8vw,24px)}
.nav-link{font-size:13px;font-weight:700}
.brand{font-size:22px}
.brand small{font-size:9px}
.header-actions{display:flex;align-items:center;gap:10px}
.theme-toggle{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border:1px solid #dfe6f0;background:#fff;color:#43536e;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.theme-toggle:hover{border-color:#a7c1f2;background:#f6f9ff}
.theme-icon{font-size:17px;line-height:1}
.btn{font-size:13px!important;min-height:42px;border-radius:10px;padding:11px 16px}
.hero{padding:66px 0 33px;min-height:485px;background:radial-gradient(circle at 80% 30%,#e0eaff 0,transparent 32%),linear-gradient(135deg,#fbfcff 0%,#f0f5fd 70%,#f7faff 100%)}
.hero-layout{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:55px}
.hero-copy{max-width:650px}
.hero h1{font-size:clamp(36px,4.1vw,53px);line-height:1.2;letter-spacing:-1.8px;margin:18px 0}
.hero-description{font-size:16px;line-height:1.9;color:#52627b;max-width:620px}
.hero-search{height:62px;border-radius:13px;box-shadow:0 12px 30px #254b8c12}
.hero-search input{font-size:14px}
.popular-searches{gap:8px;margin-top:17px}
.popular-searches>span{font-size:12px}
.popular-searches button{font-size:11px;padding:6px 9px}
.hero-art{height:325px}
.code-window{max-width:460px;border-radius:16px}
.window-bar{height:43px}
.code-lines{font-size:12px;line-height:1.95;padding:20px}
.float-card{padding:11px 14px}
.hero-bottom{font-size:11px;margin-top:26px}
.stats-grid{padding:23px 0;gap:18px}
.stat-icon{width:43px;height:43px}
.stat-item strong{font-size:15px}
.stat-item small,.stat-note{font-size:12px;line-height:1.65}
.section{padding:74px 0}
.section-heading{margin-bottom:28px;gap:22px}
.section-heading h2{font-size:clamp(27px,3vw,34px);line-height:1.28;letter-spacing:-.65px}
.section-heading p{font-size:14px;line-height:1.85;color:#5f6f87;max-width:720px}
.section-kicker{font-size:11px;letter-spacing:1.4px}
.text-link{font-size:13px;font-weight:800}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.category-card{min-height:100px;padding:19px 16px;border-radius:14px;background:#fff}
.category-icon{width:44px;height:44px;flex-basis:44px}
.category-text b{font-size:13px;line-height:1.55}
.category-text small{font-size:11px;line-height:1.7;white-space:normal}
.latest-section,.tools-section{background:#f3f6fb}
.content-layout{grid-template-columns:minmax(0,1fr) 292px;gap:24px}
.content-notice{font-size:12px;line-height:1.8;padding:13px 15px}
.filter-bar{padding:12px;border-radius:12px;gap:10px}
.filter-tabs{display:flex;flex-wrap:wrap;gap:5px}
.filter-tab{font-size:11px;padding:9px 11px}
.view-controls select{font-size:12px;min-height:35px}
.source-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.source-card{border-radius:14px}
.source-cover{height:180px}
.source-body{padding:16px}
.source-body h3{font-size:15px;line-height:1.55}
.source-body p{font-size:12px;line-height:1.8;color:#5e6e85;min-height:64px}
.source-meta{align-items:center;gap:7px}
.tag{font-size:10px}
.source-date{font-size:10px}
.author,.source-stats{font-size:10px}
.favorite-toggle{position:absolute;top:12px;right:12px;z-index:4;width:37px;height:37px;display:grid;place-items:center;border:1px solid #ffffffc9;border-radius:11px;background:#ffffffed;color:#64738c;box-shadow:0 5px 18px #0e21401a;font-size:19px;cursor:pointer;transition:transform .18s,background .18s,color .18s}
.favorite-toggle:hover{transform:scale(1.07)}
.favorite-toggle.is-favorite{background:#fff0f3;color:#da3357;border-color:#ffd4df}
.favorite-toggle:focus-visible,.theme-toggle:focus-visible,.btn:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #91b5ff;outline-offset:2px}
.empty-state{padding:42px 20px}
.empty-state h3{font-size:19px}.empty-state p{font-size:13px;line-height:1.8}
.sidebar{gap:16px}
.sidebar-card{padding:19px;border-radius:14px}
.sidebar-title h3{font-size:14px}
.sidebar-card>p{font-size:12px;line-height:1.8}
.trending-item b{font-size:12px}.trending-item small{font-size:10px}
.sidebar-cta{padding:24px 20px}
.sidebar-cta h3{font-size:21px}.sidebar-cta p{font-size:12px;line-height:1.85}
.tool-card{padding:18px;gap:13px;border-radius:14px}
.tool-copy b{font-size:13px}.tool-copy small{font-size:11px;line-height:1.7}.tool-copy em{font-size:10px}
.articles-section{background:#fff}
.blog-source-line{font-size:12px;line-height:1.8}
.blog-info h3{font-size:16px;line-height:1.55}
.blog-info p{font-size:12px;line-height:1.8}
.blog-meta{font-size:10px}
.blog-read{font-size:12px}
.faq-layout{gap:54px}
.faq-intro h2{font-size:32px}
.faq-intro p{font-size:14px;line-height:1.9}
.faq-list summary{font-size:13px;padding:17px 32px 17px 0}
.faq-list details p{font-size:12px;line-height:1.9}
.community-inner{min-height:290px;padding-block:55px}
.community-inner h2{font-size:35px}.community-inner p{font-size:14px;line-height:1.9}
.footer-main{padding-top:48px;padding-bottom:40px}
.footer-brand p{font-size:12px;line-height:1.9}
.footer-contact{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#3f5e8e}
.footer-column h4{font-size:13px}.footer-column a{font-size:12px}
.footer-bottom{font-size:11px;line-height:1.7}
.playground-section{background:#fff}
.playground-section .section-heading{align-items:flex-end}
.local-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#20b77a;margin-right:6px;box-shadow:0 0 0 4px #dff8ed}
.playground-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.play-card{min-width:0;padding:22px;border:1px solid #e1e8f2;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(28,52,91,.045)}
.play-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}
.play-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:13px;font-size:17px;font-weight:900}
.play-blue{background:#e8f0ff;color:#2461d3}.play-purple{background:#f0eaff;color:#8159d4}.play-green{background:#e0f8ec;color:#11895a}.play-orange{background:#fff0dd;color:#b56d19}
.play-card-heading h3{font-size:17px;line-height:1.4;margin:0 0 3px}
.play-card-heading p{font-size:12px;line-height:1.6;color:#697891;margin:0}
.play-card label{display:block;margin:13px 0 7px;color:#364862;font-size:12px;font-weight:800}
.play-card textarea,.play-card input[type="text"],.play-card select{width:100%;max-width:100%;border:1px solid #dce4ef;background:#fbfcff;color:#1f2d42;border-radius:9px;padding:11px 12px;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;outline:none}
.play-card textarea{resize:vertical;min-height:125px}
.play-card textarea:focus,.play-card input[type="text"]:focus,.play-card select:focus{border-color:#8eaff0;box-shadow:0 0 0 3px #e5edff}
.play-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.play-actions .btn{min-height:37px;padding:8px 12px;font-size:11px!important}
.tool-feedback{font-size:11px;line-height:1.7;color:#75839a;margin:11px 0 0}
.tool-feedback.error{color:#bf334f}.tool-feedback.success{color:#13865e}
.color-controls{display:flex;align-items:center;gap:10px}
.color-controls input[type="color"]{flex:0 0 58px;width:58px;height:45px;border:1px solid #dce4ef;border-radius:9px;background:#fff;padding:4px;cursor:pointer}
.color-controls input[type="text"]{flex:1}
.color-preview{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding:18px;border-radius:12px;background:#2468ed;color:#fff;min-height:80px}
.color-preview span{font-size:12px;font-weight:800;opacity:.9}
.color-preview b{font-size:12px;background:#ffffff24;border:1px solid #ffffff72;border-radius:8px;padding:7px 11px}
.code-output,.snippet-output{white-space:pre;overflow:auto;max-width:100%;background:#111c2d;color:#e2ebfa;border-radius:10px;padding:14px;font:11px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}
.code-output{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0}
.snippet-output{min-height:205px;max-height:280px;margin:12px 0 0}
.counter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}
.counter-grid div{display:flex;flex-direction:column;gap:1px;border:1px solid #e4eaf3;background:#f7f9fd;border-radius:10px;padding:12px}
.counter-grid strong{font-size:22px;line-height:1.35;letter-spacing:-.5px;color:#1e56b7;overflow-wrap:anywhere}
.counter-grid span{font-size:10px;color:#718099;font-weight:700}
.playground-note{display:flex;align-items:flex-start;gap:11px;margin-top:19px;border:1px solid #dfe7f3;background:#f6f9fe;padding:14px 16px;border-radius:12px;color:#5b6c85;font-size:12px;line-height:1.8}
.share-dialog form label{display:block;font-size:12px;font-weight:800;color:#384b66;margin:14px 0 6px}
.share-dialog input,.share-dialog select,.share-dialog textarea{display:block;width:100%;border:1px solid #dce4ef;border-radius:9px;padding:11px 12px;background:#fbfcff;color:#18253a;font:13px/1.7 sans-serif}
.share-dialog textarea{resize:vertical}
.share-intro{font-size:13px;line-height:1.8;color:#63728a}
.share-modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}
body.modal-open{overflow:hidden}
.detail-dialog{border:1px solid #e6ebf4}
.detail-notice{line-height:1.9}
#loadMore.is-done{opacity:.65;cursor:default}
.toast{max-width:calc(100% - 30px);text-align:center;line-height:1.6}
@media(min-width:1500px){.container{width:min(1300px,calc(100% - 80px))}.hero{padding-top:78px}.hero-art{height:350px}}
@media(max-width:1100px){
  .container{width:calc(100% - 42px)}
  .header-inner{gap:15px}.main-nav{gap:12px}.nav-link{font-size:12px}
  .header-actions{gap:7px}.theme-toggle{padding:8px}.theme-label{display:none}
  .hero-layout{gap:30px}.content-layout{grid-template-columns:minmax(0,1fr) 265px}
  .source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .container{width:min(100% - 36px,720px)}
  .site-header{height:70px}.header-inner{gap:10px}.brand{font-size:20px}
  .menu-toggle{order:3;margin-left:auto}.header-actions{order:2;margin-left:0}
  .main-nav{top:69px}.main-nav.open{padding:16px 20px 20px}
  .nav-link{font-size:14px;padding:13px 3px}
  .header-actions .btn{font-size:11px!important;padding:9px 11px;min-height:37px}
  .theme-toggle{min-height:37px}
  .hero{padding-top:50px}.hero-layout{grid-template-columns:1fr;gap:13px}
  .hero-copy{max-width:670px}.hero-art{height:285px;max-width:540px;margin:auto}
  .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:19px 0}
  .stat-item{padding:0;border:0;gap:9px}.stat-note{grid-column:1/-1;padding-top:13px;border-top:1px solid var(--line)}
  .content-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .sidebar-cta{grid-column:1/-1}
  .playground-grid{gap:14px}.play-card{padding:18px}
  .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faq-layout{grid-template-columns:1fr;gap:24px}
  .footer-main{grid-template-columns:1.5fr 1fr 1fr;gap:25px}
}
@media(max-width:620px){
  html{scroll-padding-top:78px}
  .container{width:calc(100% - 28px)}
  .topline-inner{font-size:10px}.topline-inner>div{gap:6px}
  .site-header{height:64px}.header-inner{gap:6px}.brand{font-size:17px;gap:6px}
  .brand-mark{width:34px;height:34px;font-size:14px}.brand small{font-size:7px;letter-spacing:1px}
  .main-nav{top:63px}
  .header-actions{gap:5px}.header-actions .btn{font-size:10px!important;padding:8px 9px;min-height:34px}
  .theme-toggle{width:35px;height:35px;min-height:35px;padding:5px}
  .hero{padding:37px 0 24px}.hero h1{font-size:clamp(30px,8.2vw,37px);letter-spacing:-1.25px}
  .hero-description{font-size:14px;line-height:1.8}
  .hero-search{height:55px}.hero-search input{font-size:12px}.hero-search button{font-size:11px;padding:0 11px}
  .popular-searches{gap:5px}.popular-searches>span{width:100%}.popular-searches button{font-size:10px}
  .hero-art{height:245px}.code-window{width:87%}.code-lines{font-size:10px;padding:15px 12px}
  .float-card{padding:8px 9px;gap:6px}.float-card b{font-size:9px}.float-card small{font-size:7px}
  .hero-bottom{font-size:9px;gap:8px}
  .stats-grid{grid-template-columns:1fr;gap:12px;padding:16px 0}.stat-item{gap:12px}
  .stat-icon{width:38px;height:38px}.stat-item strong{font-size:14px}.stat-item small{font-size:11px}
  .stat-note{grid-column:auto;font-size:11px}
  .section{padding:49px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}
  .section-heading h2{font-size:26px}.section-heading p{font-size:13px}
  .category-grid,.source-grid,.article-grid,.tools-grid,.playground-grid{grid-template-columns:1fr}
  .category-card{min-height:82px;padding:14px}.category-text b{font-size:13px}.category-text small{font-size:11px}
  .filter-bar{align-items:stretch;flex-direction:column}.filter-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-tab{font-size:11px;padding:9px}.view-controls{align-self:flex-end}
  .source-cover{height:190px}.source-body{padding:16px}.source-body h3{font-size:16px}.source-body p{font-size:13px;min-height:0}
  .sidebar{grid-template-columns:1fr}.sidebar-cta{grid-column:auto}
  .blog-source-line{font-size:11px;align-items:flex-start}.blog-source-line #blogUpdated{width:100%;margin-left:19px}
  .blog-cover{height:170px}.blog-info{padding:17px}.blog-info h3{font-size:17px}.blog-info p{font-size:13px}
  .blog-footer{flex-direction:column;align-items:flex-start}
  .play-card{padding:16px}.play-card-heading{gap:11px;margin-bottom:17px}.play-card-heading h3{font-size:16px}
  .play-card textarea{font-size:11px}.snippet-output{min-height:180px;font-size:10px}
  .counter-grid strong{font-size:19px}.playground-note{font-size:11px}
  .faq-intro h2{font-size:28px}.community-inner{padding-block:40px;gap:22px;align-items:flex-start;flex-direction:column}
  .community-inner h2{font-size:28px}.community-inner p{font-size:13px}
  .community-actions{gap:10px;flex-wrap:wrap}.footer-main{grid-template-columns:1fr 1fr;gap:24px 17px;padding-top:35px}
  .footer-brand{grid-column:1/-1}.footer-brand p{font-size:12px}.footer-column h4{font-size:12px}.footer-column a{font-size:11px}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:5px;font-size:10px}
  .detail-dialog{padding:24px 19px}.detail-dialog h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.favorite-toggle{transition:none}}
/* Browser-local dark mode. */
html[data-theme="dark"]{
  color-scheme:dark;--ink:#e5ecf7;--muted:#a2b2c8;--line:#28374c;--soft:#111a28;--white:#172235;--card:#172235;--surface:#101a29;--shadow:0 12px 32px rgba(0,0,0,.22)
}
html[data-theme="dark"] body{background:#101827;color:#e5ecf7}
html[data-theme="dark"] .topline{background:#111f34;color:#c2cfe4}
html[data-theme="dark"] .site-header,html[data-theme="dark"] .sidebar-card,html[data-theme="dark"] .source-card,html[data-theme="dark"] .article-card,html[data-theme="dark"] .tool-card,html[data-theme="dark"] .play-card,html[data-theme="dark"] .faq-list details,html[data-theme="dark"] .empty-state{background:#172235;border-color:#2a3a52;color:#e5ecf7}
html[data-theme="dark"] .hero{background:radial-gradient(circle at 80% 30%,#1b3151 0,transparent 35%),linear-gradient(135deg,#111c2d,#132239)}
html[data-theme="dark"] .hero-description,html[data-theme="dark"] .section-heading p,html[data-theme="dark"] .source-body p,html[data-theme="dark"] .sidebar-card>p,html[data-theme="dark"] .article-info p,html[data-theme="dark"] .blog-info p,html[data-theme="dark"] .faq-intro p,html[data-theme="dark"] .faq-list details p,html[data-theme="dark"] .play-card-heading p{color:#afbdd1}
html[data-theme="dark"] .stats-strip,html[data-theme="dark"] .tools-section,html[data-theme="dark"] .latest-section,html[data-theme="dark"] .articles-section,html[data-theme="dark"] .playground-section,html[data-theme="dark"] .site-footer{background:#111b2b;border-color:#26364c}
html[data-theme="dark"] .category-card{background:#172235;border-color:#2a3a52;color:#e5ecf7}
html[data-theme="dark"] .filter-bar,html[data-theme="dark"] .content-notice,html[data-theme="dark"] .playground-note{background:#142239;border-color:#293d5a;color:#c3cee0}
html[data-theme="dark"] .theme-toggle{background:#1b2a40;border-color:#314563;color:#dbe7f8}
html[data-theme="dark"] .play-card textarea,html[data-theme="dark"] .play-card input[type="text"],html[data-theme="dark"] .play-card select,html[data-theme="dark"] .share-dialog input,html[data-theme="dark"] .share-dialog select,html[data-theme="dark"] .share-dialog textarea{background:#101b2a;border-color:#32435c;color:#e6edf8}
html[data-theme="dark"] .counter-grid div{background:#101b2a;border-color:#2e405a}
html[data-theme="dark"] .counter-grid span,html[data-theme="dark"] .tool-feedback{color:#a4b5cc}
html[data-theme="dark"] .sidebar-cta{background:linear-gradient(145deg,#2052b9,#173c86)}
html[data-theme="dark"] .footer-column a,html[data-theme="dark"] .footer-brand p,html[data-theme="dark"] .footer-contact,html[data-theme="dark"] .footer-bottom{color:#a8b8cf}
html[data-theme="dark"] .detail-dialog{background:#172235;color:#e5ecf7;border-color:#2a3a52}
html[data-theme="dark"] .detail-meta span,html[data-theme="dark"] .detail-notice{background:#12233b;border-color:#2a3d5a;color:#c1d1e8}
html[data-theme="dark"] .modal-close{background:#223249;color:#d9e5f6}

.page-progress{position:fixed;inset:0 auto auto 0;z-index:200;width:100%;height:3px;pointer-events:none;background:transparent}
.page-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#2868ea,#56b7f5);transform:scaleX(0);transform-origin:left center}
.search-shortcut{margin-top:10px;color:#71819a;font-size:11px}
.search-shortcut kbd{display:inline-block;min-width:20px;padding:1px 5px;text-align:center;border:1px solid #cfd9e8;border-radius:5px;background:#fff;color:#3b4c67;font-size:10px;font-weight:800}
html[data-theme="dark"] .search-shortcut{color:#a7b6cb}
html[data-theme="dark"] .search-shortcut kbd{background:#1d2b40;border-color:#354963;color:#e0e9f7}


/* ===== On-site blog reader and actual download links ===== */
.blog-toolbar{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(135px,.6fr) auto auto;align-items:center;gap:12px;padding:15px;margin:0 0 22px;background:#f7f9fd;border:1px solid #e3eaf4;border-radius:14px}
.blog-search{display:flex;align-items:center;gap:9px;min-width:0;min-height:43px;padding:5px 6px 5px 13px;border:1px solid #dce5f2;background:#fff;border-radius:10px}
.blog-search>span{font-size:21px;color:#8090a8}
.blog-search input{flex:1;min-width:0;width:0;border:0;outline:0;color:#1e2e46;background:transparent;font-size:12px}
.blog-search input::placeholder{color:#97a4b7}
.blog-search button{border:0;border-radius:7px;min-height:32px;padding:0 12px;background:#225ed8;color:white;font-size:11px;font-weight:800;cursor:pointer}
.blog-category-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.blog-category{min-width:0;width:100%;height:43px;border:1px solid #dce5f2;background:#fff;border-radius:10px;padding:0 11px;color:#354760;font-size:12px}
.blog-count{font-size:11px;line-height:1.6;font-weight:800;color:#65748d;white-space:nowrap}
.blog-refresh{min-height:40px!important;white-space:nowrap;font-size:11px!important}
.blog-article-grid{align-items:stretch}
.blog-card{cursor:pointer;position:relative;outline:none;box-shadow:0 4px 18px rgba(28,55,101,.035)}
.blog-card:hover,.blog-card:focus-visible{transform:translateY(-4px);box-shadow:0 16px 35px rgba(25,58,111,.11);border-color:#b9cdf1}
.blog-card:focus-visible{outline:3px solid #89afff;outline-offset:3px}
.blog-cover{min-height:150px}
.blog-cover img{z-index:0}
.blog-cover-label{z-index:1;position:relative}
.blog-info{gap:0}
.blog-meta{gap:8px 10px;align-items:center}
.blog-meta span:first-child{color:#2b64c8}
.blog-meta span:nth-child(2){color:#8491a5}
.blog-info h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:72px}
.blog-info>p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:70px}
.blog-read{gap:8px;margin-top:auto}
.blog-credit{font-size:10px;color:#8492a7;font-weight:600}
.blog-read b{font-size:11px;color:#225ed8}
.blog-toolbar+.article-grid{margin-top:0}
.blog-skeleton{min-width:0;overflow:hidden;border:1px solid #e2e9f3;border-radius:14px;background:#fff;padding-bottom:18px}
.blog-skeleton span{display:block;height:158px;background:linear-gradient(110deg,#edf1f7 8%,#f7f9fc 18%,#edf1f7 33%);background-size:200% 100%;animation:blogShimmer 1.35s linear infinite}
.blog-skeleton i,.blog-skeleton b{display:block;height:11px;border-radius:6px;margin:18px 17px 0;background:#edf1f7}
.blog-skeleton i+ i{width:70%;margin-top:10px}
.blog-skeleton b{width:38%;margin-top:18px;height:9px}
.blog-empty{grid-column:1/-1;display:block;border:1px dashed #ccd8e9;border-radius:14px;padding:26px;background:#fff}
.blog-empty h3{font-size:16px;line-height:1.6;margin:0 0 6px;color:#1b2b43}
.blog-empty p{font-size:12px;line-height:1.8;color:#65758d;margin:0 0 14px}
.blog-empty .btn{cursor:pointer}
.blog-footer{display:flex;justify-content:space-between;align-items:center;gap:14px}
.blog-footer>span{font-size:11px;color:#8491a5}
.reader-backdrop{position:fixed;inset:0;z-index:150;display:grid;place-items:center;padding:16px;background:rgba(9,20,38,.66);backdrop-filter:blur(6px)}
.reader-backdrop[hidden]{display:none}
.reader-dialog{display:flex;flex-direction:column;width:min(1180px,100%);height:min(94vh,1050px);max-height:100%;overflow:hidden;background:#fff;border:1px solid #e0e7f2;border-radius:18px;box-shadow:0 28px 100px rgba(0,0,0,.34);color:#17253b}
.reader-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 24px 15px;border-bottom:1px solid #e6ebf3;background:#fff}
.reader-heading-copy{min-width:0;flex:1}
.reader-kicker{font-size:9px;letter-spacing:1.3px;font-weight:900;color:#6680a5}
.reader-header h2{font-size:clamp(19px,2.2vw,26px);line-height:1.42;letter-spacing:-.45px;margin:5px 0 7px;overflow-wrap:anywhere}
.reader-meta{font-size:11px;line-height:1.65;color:#76859a}
.reader-close{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #e1e7f1;background:#f6f8fc;color:#4f617d;border-radius:10px;font-size:25px;cursor:pointer}
.reader-close:hover{background:#eaf1fc;color:#1e5bc8}
.reader-source-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 24px;border-bottom:1px solid #e7ecf4;color:#8290a4;font-size:10px}
.reader-source-row a{font-weight:800;color:#5f7596;text-decoration:underline;text-underline-offset:3px}
.reader-downloads{padding:12px 24px;background:#f7f9fc;border-bottom:1px solid #e4eaf3}
.reader-download-heading{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.reader-download-icon{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;background:#e1f7ed;color:#12875b;font-size:19px;border-radius:9px}
.reader-download-heading b,.reader-download-heading small{display:block}
.reader-download-heading b{font-size:12px;line-height:1.5}
.reader-download-heading small{font-size:10px;color:#79879b;line-height:1.5;margin-top:1px}
.reader-download-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.reader-download-link{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #dce6f3;background:#fff;border-radius:9px;padding:10px 11px;color:#2a4468;transition:border-color .15s,transform .15s}
.reader-download-link:hover{border-color:#93b7f4;transform:translateY(-1px)}
.download-number{font:800 10px ui-monospace,SFMono-Regular,Consolas,monospace;color:#99a8bc}
.download-label{flex:1;min-width:0;font-size:11px;font-weight:800;line-height:1.55;overflow-wrap:anywhere}
.reader-download-link b{color:#16865d;font-size:16px}
.reader-download-empty{font-size:11px;line-height:1.7;color:#77869c;margin:6px 0}
.reader-content-shell{position:relative;display:flex;flex:1;min-height:210px;background:#fff}
.reader-content-shell iframe{display:block;width:100%;height:100%;min-height:210px;flex:1;border:0;background:#fff}
.reader-loading{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:12px;background:#fff;color:#697991;font-size:12px;pointer-events:none}
.reader-loading[hidden]{display:none}
.reader-hint{flex:0 0 auto;padding:8px 20px;background:#f7f9fc;border-top:1px solid #e5ebf4;color:#8592a6;font-size:10px;line-height:1.7}
body.reader-open{overflow:hidden}
html[data-theme="dark"] .blog-toolbar{background:#142239;border-color:#2a3b53}
html[data-theme="dark"] .blog-search,html[data-theme="dark"] .blog-category{background:#101b2a;border-color:#32445e;color:#dce7f7}
html[data-theme="dark"] .blog-search input{color:#e6edf8}
html[data-theme="dark"] .blog-empty,html[data-theme="dark"] .blog-skeleton{background:#172235;border-color:#2b3b53}
html[data-theme="dark"] .blog-empty h3{color:#e4ecf8}
html[data-theme="dark"] .blog-empty p,html[data-theme="dark"] .blog-credit{color:#a8b8ce}
html[data-theme="dark"] .blog-skeleton span,html[data-theme="dark"] .blog-skeleton i,html[data-theme="dark"] .blog-skeleton b{background:#23334a}
html[data-theme="dark"] .reader-dialog,html[data-theme="dark"] .reader-header{background:#172235;color:#e3ebf8;border-color:#293b54}
html[data-theme="dark"] .reader-close{background:#213149;border-color:#364a65;color:#dce7f8}
html[data-theme="dark"] .reader-source-row,html[data-theme="dark"] .reader-downloads,html[data-theme="dark"] .reader-hint{background:#111d2e;border-color:#2c3e57;color:#a7b8cf}
html[data-theme="dark"] .reader-download-link{background:#17263a;border-color:#304560;color:#d5e3f5}
html[data-theme="dark"] .reader-loading,html[data-theme="dark"] .reader-content-shell,html[data-theme="dark"] .reader-content-shell iframe{background:#111d2e}
@keyframes blogShimmer{to{background-position:-200% 0}}
@media(max-width:850px){
  .blog-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .blog-search{grid-column:1/-1}
  .blog-category-label{display:none}
  .reader-dialog{height:95vh}
  .reader-header{padding:16px 17px 12px}
  .reader-source-row{padding:8px 17px}
  .reader-downloads{padding:10px 17px}
  .reader-download-list{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .blog-toolbar{grid-template-columns:1fr auto;padding:11px}
  .blog-search{grid-column:1/-1}
  .blog-category{grid-column:1/-1;height:40px}
  .blog-count{font-size:10px}
  .blog-refresh{min-height:36px!important;font-size:10px!important}
  .blog-cover{height:165px}
  .blog-info h3{font-size:17px;min-height:0}
  .blog-info>p{font-size:13px;min-height:0}
  .blog-footer{align-items:flex-start;flex-direction:column}
  .reader-backdrop{padding:4px}
  .reader-dialog{width:100%;height:calc(100vh - 8px);height:calc(100dvh - 8px);border-radius:12px}
  .reader-header{gap:10px;padding:13px 12px 10px}
  .reader-header h2{font-size:17px;line-height:1.4}
  .reader-close{width:34px;height:34px;flex-basis:34px;font-size:23px}
  .reader-source-row{padding:7px 12px;font-size:9px}
  .reader-downloads{padding:9px 12px}
  .reader-download-heading b{font-size:11px}
  .reader-download-heading small{font-size:9px}
  .reader-download-list{grid-template-columns:1fr;max-height:120px;overflow:auto}
  .reader-download-link{padding:8px 9px}
  .reader-content-shell,.reader-content-shell iframe{min-height:190px}
  .reader-hint{font-size:9px;padding:7px 11px}
}
