/* style.css */
@charset "UTF-8";
:root{--bg:#f6f4ee;--surface:#fdfcf8;--ink:#17252c;--muted:#6c7475;--line:#deded5;--teal:#008f86;--accent:#17bcad;--navy:#102334;--shadow:0 18px 48px #10233412;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 var(--sans);transition:background .3s,color .3s}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button{border:0;background:none}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.15}h2,h3{font-family:var(--serif)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}::selection{background:#26c8b755}.container{width:min(1380px,calc(100% - 80px));margin:auto}.header{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 93%,transparent);backdrop-filter:blur(20px);border-bottom:1px solid var(--line)}.header-inner{height:88px;display:flex;align-items:center;gap:48px}.brand{display:inline-flex;align-items:center;font:bold 32px var(--serif);letter-spacing:-1.5px;white-space:nowrap}.brand>span:last-child{font-weight:400}.brand-icon{display:grid;place-items:center;width:40px;height:35px;margin-right:10px;color:var(--teal);font:48px/1 var(--serif);transform:rotate(-6deg)}.desktop-nav{display:flex;align-items:center;gap:28px;margin-right:auto;height:100%;font-size:14px}.desktop-nav>a{position:relative;display:flex;align-items:center;gap:6px;height:100%}.desktop-nav>a:after{content:'';position:absolute;bottom:20px;left:0;width:0;height:2px;background:var(--teal);transition:width .2s}.desktop-nav>a:hover:after,.desktop-nav>a.active:after{width:100%}.nav-button{padding:0;white-space:nowrap}.count{display:inline-grid;place-items:center;background:#008f8612;color:var(--teal);width:19px;height:19px;font-size:11px;border-radius:50%}.header-actions{display:flex;align-items:center;gap:12px}.icon-button{width:38px;height:38px;display:grid;place-items:center;font-size:25px;border:1px solid var(--line);border-radius:50%;transition:background .2s,transform .2s}.icon-button:hover{background:#008f8615;transform:rotate(-8deg)}.button{display:inline-flex;justify-content:center;align-items:center;gap:20px;border-radius:8px;padding:11px 21px;font-size:13px;font-weight:600;transition:transform .2s,box-shadow .2s,background .2s;white-space:nowrap}.button:hover{transform:translateY(-2px);box-shadow:0 6px 18px #008f8628}.button:active{transform:translateY(0)}.primary{background:var(--teal);color:white}.primary:hover{background:#007b74}.outline{border:1px solid var(--ink)}.theme-toggle{width:55px;height:28px;border-radius:20px;background:var(--navy);display:flex;align-items:center;justify-content:space-between;padding:4px;color:#e5ae50}.theme-toggle i{width:20px;height:20px;border-radius:50%;background:#f6f4ee;transition:transform .3s}.mobile-menu,.mobile-nav{display:none}.hero{background:#0c2132;color:#fff;position:relative;overflow:hidden}.hero-grid{position:absolute;inset:0;background-image:linear-gradient(#76d7d508 1px,transparent 1px),linear-gradient(90deg,#76d7d508 1px,transparent 1px);background-size:62px 62px;mask-image:linear-gradient(90deg,transparent,#000,transparent)}.hero-inner{position:relative;display:grid;grid-template-columns:1fr 1fr;min-height:488px;align-items:center}.hero-copy{position:relative;z-index:2;padding:48px 0}.eyebrow,.small-eyebrow{font-size:10px;font-weight:700;letter-spacing:2.4px}.eyebrow{color:#7cdbd2;display:flex;align-items:center;gap:9px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#25c6b0;box-shadow:0 0 0 4px #25c6b015}.hero h1{font:64px/1.04 var(--serif);letter-spacing:-2px;margin:23px 0 20px}.hero h1 em{font-weight:400;color:#78ded1}.heading-star{display:inline-block;color:#d9ad62;font:43px var(--sans);margin-left:27px;animation:starTurn 22s linear infinite}.hero-copy>p{color:#c5d1d6;font-size:16px;line-height:1.6}.search{margin:26px 0 15px;display:flex;align-items:center;background:#fdfcf9;border:1px solid #ffffff7a;box-shadow:0 0 0 5px #ffffff08;border-radius:10px;padding:6px;max-width:540px;color:#657078;transition:box-shadow .3s}.search:focus-within{box-shadow:0 0 0 5px #14b8a733}.search-icon{font-size:28px;margin:0 12px}.search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#183139;font-size:14px}.search button{border-radius:7px;background:var(--teal);color:white;width:44px;height:42px;flex-shrink:0;font-size:24px;transition:background .2s}.search button:hover{background:#006d66}.trending{display:flex;gap:7px;align-items:center;font-size:10px;color:#b0c5ca}.trending>span{margin-right:5px}.trending :is(button,a){border:1px solid #ffffff30;border-radius:20px;color:#d4e3e5;padding:3px 10px;font-size:10px;transition:background .2s,border-color .2s}.trending :is(button,a):hover{background:#ffffff18;border-color:#72d7c8}.hero-art{align-self:stretch;position:relative;margin-right:-40px}.hero-art img{height:100%;position:absolute;inset:0;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 88%,transparent);animation:heroFloat 8s ease-in-out infinite}.floating-note{position:absolute;background:#163748b0;backdrop-filter:blur(12px);border:1px solid #b4e2dc30;border-radius:8px;padding:9px 14px;font-size:10px;box-shadow:0 12px 30px #0002;animation:heroFloat 6s ease-in-out infinite}.floating-note span{color:#64d4c3;font-size:18px;margin-right:6px}.note-one{right:9%;top:17%;transform:rotate(5deg)}.note-two{bottom:14%;left:10%;animation-delay:-3s}.hero-stats{position:relative;display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr;border-top:1px solid #ffffff20;padding:24px 0 27px}.hero-stats>div{display:flex;align-items:center;gap:17px;padding-left:35px;border-left:1px solid #ffffff20}.hero-stats>div:first-child{padding-left:0;border:0}.stat-icon{font-size:32px;color:#83dace;line-height:1}.hero-stats strong{display:block;font-size:18px;line-height:1.3}.hero-stats p>span{display:block;color:#a6bdc6;font-size:11px;margin-top:3px}.main{padding-top:44px}.content-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 270px;gap:26px;align-items:start}.panel{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:23px 18px}.small-eyebrow{color:var(--muted);font-size:8px;letter-spacing:1.8px;margin-bottom:9px}.panel h2{font-size:21px;letter-spacing:-.6px}.category-list{margin-top:20px}.category-list :is(button,a){display:flex;width:100%;align-items:center;gap:12px;padding:13px 9px;border-bottom:1px solid var(--line);text-align:left;font-size:13px;transition:background .2s,padding .2s,color .2s;border-radius:5px}.category-list :is(button,a):last-child{border:0}.category-list :is(button,a) span:first-child{color:var(--teal);font-size:21px;width:25px;text-align:center}.category-list :is(button,a) span:last-child{margin-left:auto;color:#98a3a0}.category-list :is(button,a):hover,.category-list :is(button,a).selected{background:#008f8610;color:var(--teal);padding-left:14px}.daily-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:22px;background:var(--surface)}.daily-image{height:110px;background:linear-gradient(0deg,#112d3c30,#112d3c00),url('../images/ocean.jpg') center/cover}.daily-body{padding:0 17px 20px}.pill{display:inline-flex;align-items:center;padding:4px 9px;font-size:10px;font-weight:700;border-radius:5px}.amber{background:#f4cf87;color:#513b10;transform:translateY(-14px)}.daily-body p{font-size:13px;line-height:1.65;margin:-2px 0 15px}.text-link{padding:0;font-size:11px;font-weight:600;color:var(--teal);display:inline-flex;align-items:center;gap:12px;white-space:nowrap}.text-link:hover{color:var(--ink)}.text-link span{transition:transform .2s}.text-link:hover span{transform:translate(3px,-3px)}.sidebar-caption{display:flex;gap:12px;padding:27px 10px;color:var(--muted)}.sidebar-caption>span{color:#b59663;font-size:24px}.sidebar-caption p{font:italic 16px/1.6 var(--serif)}.sidebar-caption small{display:block;font:8px var(--sans);letter-spacing:1px;margin-top:10px}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:23px}.section-heading h2{font-size:30px;letter-spacing:-1px}.section-heading h2>span{color:var(--teal)}.section-heading p{font-size:12px;color:var(--muted);margin-top:10px}.article-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.article-card{min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);position:relative;transition:transform .3s,box-shadow .3s,border-color .3s}.article-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#008f8655}.article-card.featured{grid-column:1/-1}.article-open{display:block;width:100%;padding:0;text-align:left}.card-image{position:relative;overflow:hidden;height:160px}.card-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#10233420,transparent)}.card-image img{height:100%;transition:transform .65s cubic-bezier(.2,.7,.2,1)}.article-card:hover .card-image img{transform:scale(1.055)}.card-image .pill{position:absolute;z-index:1;top:14px;left:14px;background:#f5f2e9eb;color:#203d3d;font-size:9px;letter-spacing:.8px}.card-copy{padding:17px 16px 0}.card-copy h3{font-size:21px;letter-spacing:-.5px}.card-copy>p{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-meta{padding:18px 15px 16px;display:flex;align-items:center;gap:8px;font-size:9px}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#d7e8e0;color:#2e665b;font-size:9px;flex-shrink:0}.author{line-height:1.4}.author strong{font-size:9px;display:block}.author span{color:var(--muted);font-size:8px}.reading-time{margin-left:auto;color:var(--muted);font-size:9px;white-space:nowrap}.save-button{font-size:19px;width:28px;height:30px;border-radius:5px;flex-shrink:0;color:var(--muted)}.save-button:hover,.save-button.saved{color:var(--teal);background:#008f8612}.featured .card-image{height:298px}.featured .card-image:after{background:linear-gradient(0deg,#081e32f5,transparent 80%)}.featured .card-copy{position:absolute;top:166px;left:0;right:0;padding:20px;color:white;pointer-events:none}.featured .card-copy h3{font-size:29px;max-width:90%;text-shadow:0 2px 12px #0005}.featured .card-copy>p{color:#dce6e9;font-size:12px;-webkit-line-clamp:2;max-width:95%}.featured .card-meta{padding:15px 19px}.featured .card-meta .avatar{width:33px;height:33px}.featured .author strong{font-size:11px}.featured .author span{font-size:9px}.featured .save-button{margin-left:7px}.load-more{width:100%;padding:13px;border:1px solid var(--line);border-radius:8px;margin-top:22px;font-size:12px;transition:background .2s,color .2s}.load-more:hover{background:var(--ink);color:var(--bg)}.load-more span{margin-left:12px}.popular-panel{padding:23px 17px 8px}.popular-panel h2{font-size:22px;white-space:nowrap}.teal{color:var(--teal);margin-right:5px}.popular-item{width:100%;display:flex;align-items:center;padding:20px 0;gap:10px;border-bottom:1px solid var(--line);text-align:left}.popular-item:last-child{border:0}.popular-number{font:27px var(--serif);color:#a4a299}.popular-item img{width:57px;height:58px;border-radius:7px;flex-shrink:0;transition:filter .2s}.popular-item:hover img{filter:brightness(1.15)}.popular-item h3{font-size:14px;line-height:1.25}.popular-item:hover h3{color:var(--teal)}.popular-item small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.poll-card{margin-top:22px;position:relative;overflow:hidden;background:linear-gradient(135deg,#e4f3eb,#d6eae6);color:#173c36;border:1px solid #bddbd1;padding:24px 20px;border-radius:12px}.poll-decoration{position:absolute;right:10px;top:-28px;font:bold 145px var(--serif);color:#008f8610;pointer-events:none}.poll-card h2{font-size:25px}.poll-card>p{font-family:var(--serif);font-weight:700;font-size:17px;line-height:1.4;margin:17px 0}.poll-card label{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #99bdb3;border-radius:7px;font-size:11px;margin:8px 0;background:#ffffff45;position:relative;overflow:hidden;cursor:pointer}.poll-card input{accent-color:#008f86}.poll-card .button{width:100%;margin-top:10px}.poll-percent{margin-left:auto;font-weight:bold}.poll-card .poll-feedback{font:11px/1.6 var(--sans);margin:13px 0 0}.poll-feedback:empty{display:none}.reading-banner{display:block;margin-top:22px;background:#18394a;color:#dbe9e8;border-radius:12px;padding:23px;position:relative;overflow:hidden;transition:transform .3s}.reading-banner:hover{transform:translateY(-4px)}.reading-banner:after{content:'✳';position:absolute;right:-20px;bottom:-55px;font-size:170px;color:#7ee6d00c;animation:starTurn 40s linear infinite}.reading-banner>span:first-child{font-size:8px;letter-spacing:2px;color:#8bc6bd}.reading-banner h3{font-size:25px;line-height:1.2;margin:14px 0}.reading-banner p{font-size:11px;color:#a1b9bf;max-width:150px}.circle-arrow{display:grid;place-items:center;width:30px;height:30px;border:1px solid #a1b9bf60;border-radius:50%;margin-top:20px}.collections{margin-top:55px}.collection-label{font-size:9px;letter-spacing:1.4px;color:var(--muted)}.collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.collection-card{height:242px;position:relative;border-radius:12px;overflow:hidden;text-align:left;color:white;padding:0;isolation:isolate}.collection-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0a2234f5,transparent);z-index:-1}.collection-card img{height:100%;position:absolute;inset:0;z-index:-2;transition:transform .6s}.collection-card:hover img{transform:scale(1.07)}.collection-copy{position:absolute;left:24px;right:24px;bottom:24px}.collection-copy>span{font-size:9px;letter-spacing:1.8px;color:#beeee2}.collection-copy h3{font-size:27px;margin:8px 0}.collection-copy p{color:#cbd8db;font-size:11px;max-width:270px}.collection-meta{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:9px;color:#d5e8e9}.collection-meta b{display:grid;place-items:center;width:28px;height:28px;background:#ffffffe5;color:#163c3d;border-radius:50%;font-size:18px;transition:background .2s,transform .2s}.collection-card:hover b{background:#3ad5b7;transform:rotate(45deg)}.newsletter{display:grid;grid-template-columns:92px 1fr 1.2fr;gap:28px;align-items:center;margin:46px 0 55px;padding:34px 40px;border-radius:14px;background:#112b3b;color:#fff;position:relative;overflow:hidden}.newsletter-art{font-size:70px;line-height:1;color:#7cd9c8;position:relative}.newsletter-art span{position:absolute;right:4px;top:-12px;color:#e1b774;font-size:24px;animation:starTurn 18s linear infinite}.newsletter h2{font-size:30px;margin:8px 0}.newsletter p{font-size:11px;color:#bacdd1}.newsletter .eyebrow{font-size:8px;letter-spacing:1.6px}.newsletter-field{display:flex;gap:9px}.newsletter input{width:100%;min-width:0;border:1px solid #ffffff33;border-radius:7px;background:#ffffff0e;color:#fff;padding:11px 15px;font-size:12px}.newsletter input::placeholder{color:#b1c3c9}.newsletter small{display:block;font-size:9px;color:#8ca7b2;margin-top:8px}.footer{background:#0d2231;color:#e9eeef;padding:48px 0 20px}.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:48px}.footer .brand{font-size:31px}.footer .brand-icon{color:#52cbb5}.footer p{font-size:11px;color:#a6bcc5;margin-top:18px;line-height:1.8}.footer-tag{font-size:9px;color:#83a5ae;margin-top:23px;display:flex;align-items:center;gap:9px}.footer h3{font:600 12px var(--sans);margin:7px 0 20px}.footer-top>div>a:not(.brand),.footer-top>div>button{display:block;font-size:11px;color:#b5c9cf;padding:0;margin:9px 0;text-align:left;transition:color .2s,transform .2s}.footer-top>div>a:hover,.footer-top>div>button:hover{color:#6fe0ca;transform:translateX(3px)}.footer-top .footer-contact{color:#78d7c7;margin-top:15px}.socials{display:flex;gap:8px;margin-top:18px}.socials button{border:1px solid #ffffff24;border-radius:50%;height:29px;width:29px;font-size:12px;transition:background .2s}.socials button:hover{background:#008f86}.footer-bottom{border-top:1px solid #ffffff18;margin-top:40px;padding-top:20px;font-size:9px;color:#829da8;display:flex;align-items:center;justify-content:space-between}.footer-bottom>div{display:flex;align-items:center;gap:24px}.footer-bottom button{font-size:9px;padding:0}.back-top{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#008f86;color:white;font-size:16px}.filter-status{display:flex;justify-content:space-between;align-items:center;background:#008f8610;padding:10px 14px;border-radius:7px;margin-bottom:15px;font-size:11px;color:var(--teal)}.filter-status button{text-decoration:underline}.empty-state{text-align:center;padding:50px 18px;border:1px dashed var(--line);border-radius:12px}.empty-state>span{font-size:44px;color:var(--teal)}.empty-state h3{font-size:24px;margin:15px 0}.empty-state p{font-size:12px;color:var(--muted);margin-bottom:20px}.toast{position:fixed;bottom:28px;left:50%;z-index:100;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#113d35;color:#fff;padding:13px 22px;border:1px solid #54cbb766;border-radius:9px;box-shadow:0 8px 40px #0003;font-size:12px;max-width:calc(100% - 32px);transition:opacity .25s,transform .25s}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:0;border-radius:16px;max-height:88vh;width:calc(100% - 36px);box-shadow:0 30px 100px #0004}dialog::backdrop{background:#071c30a8;backdrop-filter:blur(8px)}dialog[open]{animation:modalIn .25s ease-out}.dialog-close{position:absolute;right:16px;top:16px;z-index:3;background:var(--surface);box-shadow:0 2px 10px #0002}.article-dialog{max-width:850px}.article-cover{height:280px}.article-reading{padding:36px 55px 45px}.article-reading .pill{background:#008f8614;color:var(--teal);margin-bottom:14px}.article-reading h2{font-size:40px;letter-spacing:-1px}.article-byline{font-size:11px;color:var(--muted);margin:16px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.article-reading .lead{font:20px/1.6 var(--serif);color:var(--muted);margin-bottom:26px}.article-reading h3{font-size:24px;margin:26px 0 13px}.article-reading p{font-size:15px;line-height:1.9;margin:13px 0}.article-reading .source-note{border-top:1px solid var(--line);font-size:11px;color:var(--muted);padding-top:18px;margin-top:30px}.ui-dialog{max-width:480px;padding:42px}.ui-dialog h2{font-size:32px;margin:8px 0 20px}.ui-dialog p{font-size:13px;color:var(--muted);margin:13px 0}.ui-dialog label{display:block;font-size:12px;margin:17px 0 5px}.ui-dialog input{display:block;width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;background:var(--bg);color:var(--ink)}.ui-dialog .button{width:100%;margin-top:22px}.demo-label{font-size:9px;letter-spacing:2px;color:var(--teal)}.ui-dialog a{color:var(--teal);text-decoration:underline}.skip{position:fixed;top:-100px;left:20px;z-index:120;background:var(--teal);color:#fff;padding:10px 20px;border-radius:5px}.skip:focus{top:10px}.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}.noscript{background:#f5d28a;padding:20px;text-align:center}[hidden]{display:none!important}.reveal{opacity:1;transform:none}.js-reveal{opacity:0;transform:translateY(20px);transition:opacity .7s,transform .7s}.js-reveal.visible{opacity:1;transform:none}[data-theme=dark]{--bg:#101f29;--surface:#142935;--ink:#e5edeb;--muted:#9aafb7;--line:#2c424c;--teal:#39c9b3;--shadow:0 18px 48px #0003}[data-theme=dark] .primary{background:#00978b;color:#fff}[data-theme=dark] .theme-toggle{background:#31515e}[data-theme=dark] .theme-toggle i{transform:translateX(-25px)}[data-theme=dark] .theme-toggle span{transform:translateX(25px)}[data-theme=dark] .poll-card{background:linear-gradient(135deg,#173b38,#204844);color:#e1f0e8;border-color:#315e55}[data-theme=dark] .poll-card .small-eyebrow{color:#91c5b7}[data-theme=dark] .poll-card label{background:#ffffff06;border-color:#4a776d}
@keyframes heroFloat{0%,100%{translate:0 0}50%{translate:0 -9px}}@keyframes starTurn{to{rotate:360deg}}@keyframes modalIn{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:1600px){.hero-inner{min-height:530px}.hero h1{font-size:74px}.hero-art{margin-right:0}}
@media(max-width:1250px){.container{width:calc(100% - 48px)}.header-inner{gap:28px}.desktop-nav{gap:18px}.brand{font-size:28px}.header-actions{gap:8px}.header-actions .button{padding:9px 14px}.content-layout{grid-template-columns:190px minmax(0,1fr) 235px;gap:20px}.hero h1{font-size:57px}.panel{padding:20px 14px}.panel h2{font-size:19px}.popular-panel h2{font-size:19px}.section-heading h2{font-size:26px}.popular-item{gap:8px}.popular-item img{width:48px;height:52px}.popular-item h3{font-size:12px}.featured .card-copy h3{font-size:25px}.card-meta{gap:5px;padding:15px 10px}.author strong{font-size:8px}.reading-time{font-size:8px}.card-copy h3{font-size:19px}.newsletter{gap:20px;padding:30px}.newsletter h2{font-size:27px}.footer-top{gap:28px}.collection-copy h3{font-size:24px}}
@media(max-width:1050px){.desktop-nav{gap:20px}.header-inner{gap:25px}.header-actions .login-trigger,.header-actions .signup-trigger{display:none}.content-layout{grid-template-columns:180px minmax(0,1fr)}.right-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px;grid-column:1/-1}.right-sidebar .poll-card{margin:0}.reading-banner{display:none}.hero-art{margin-right:-24px}.hero h1{font-size:53px}.hero-copy>p{font-size:14px}.hero-stats>div{padding-left:20px;gap:12px}.hero-stats strong{font-size:16px}.hero-stats p>span{font-size:10px}.collection-copy{left:18px;right:18px}.collection-copy h3{font-size:23px}.newsletter{grid-template-columns:60px 1fr}.newsletter-art{font-size:55px}.newsletter form{grid-column:1/-1}.newsletter-field{max-width:none}.footer-top{grid-template-columns:1.3fr 1fr 1fr}.footer-top>div:last-child{grid-column:1/-1;border-top:1px solid #ffffff15;padding-top:20px;display:flex;align-items:center;gap:25px}.footer-top>div:last-child h3,.footer-top>div:last-child p{margin:0}.footer-top>div:last-child .socials{margin:0 0 0 auto}}
@media(max-width:760px){.container{width:calc(100% - 36px)}.header-inner{height:72px;justify-content:space-between;gap:12px}.brand{font-size:27px}.brand-icon{font-size:39px;width:30px;margin-right:8px}.desktop-nav{display:none}.header-actions{gap:9px}.header-actions>#searchFocus{display:none}.mobile-menu{display:grid;font-size:18px}.mobile-nav:not([hidden]){display:flex;flex-direction:column;padding:12px 24px 20px;border-top:1px solid var(--line);gap:12px;font-size:14px}.mobile-nav button{text-align:left}.hero-inner{grid-template-columns:1fr;min-height:0}.hero-copy{padding:38px 0 15px}.hero h1{font-size:57px;margin:21px 0 16px}.hero .eyebrow{font-size:8px;letter-spacing:1.8px}.hero-copy>p{font-size:14px}.hero-art{height:280px;margin:0 -18px}.hero-art img{mask-image:linear-gradient(180deg,transparent,#000 13%,#000 83%,transparent);object-fit:cover;object-position:center 55%}.note-one{top:12%;right:10%}.note-two{bottom:10%;left:7%}.hero-stats{grid-template-columns:1fr 1fr;gap:20px;padding:23px 0}.hero-stats>div{border:0;padding:0;gap:12px}.hero-stats>div:nth-child(even){padding-left:17px;border-left:1px solid #ffffff20}.hero-stats strong{font-size:14px}.hero-stats p>span{font-size:9px}.stat-icon{font-size:27px}.main{padding-top:28px}.content-layout{grid-template-columns:1fr;gap:28px}.left-sidebar{min-width:0}.category-panel{padding:0;background:none;border:0}.category-panel h2,.category-panel>.small-eyebrow{display:none}.category-list{display:flex;overflow-x:auto;gap:8px;margin:0;padding:2px 2px 12px;scrollbar-width:thin}.category-list :is(button,a){width:auto;white-space:nowrap;border:1px solid var(--line)!important;flex-shrink:0;border-radius:30px;padding:7px 13px;gap:7px;background:var(--surface);font-size:11px}.category-list :is(button,a):hover,.category-list :is(button,a).selected{padding-left:13px;border-color:var(--teal)!important}.category-list :is(button,a) span:first-child{font-size:16px;width:19px}.category-list :is(button,a) span:last-child{display:none}.left-sidebar .daily-card,.sidebar-caption{display:none}.article-section{min-width:0}.section-heading{margin-bottom:18px;gap:8px}.section-heading h2{font-size:28px}.section-heading .text-link{font-size:10px;gap:3px}.small-eyebrow{font-size:8px;letter-spacing:1.5px}.article-grid{gap:14px}.card-image{height:150px}.card-copy{padding:14px 12px 0}.card-copy h3{font-size:19px}.card-copy>p{font-size:10px}.card-meta{padding:14px 11px;gap:5px;flex-wrap:wrap}.card-meta .avatar{width:24px;height:24px;font-size:7px}.card-meta .reading-time{display:none}.card-meta .save-button{margin-left:auto}.card-meta .author strong{font-size:8px}.card-meta .author span{font-size:7px}.featured .card-image{height:290px}.featured .card-copy{top:148px;padding:20px}.featured .card-copy h3{font-size:28px}.featured .card-copy>p{font-size:11px}.featured .card-meta .reading-time{display:block}.featured .card-meta .save-button{margin-left:5px}.featured .card-meta .author strong{font-size:10px}.featured .card-meta .author span{font-size:8px}.right-sidebar{grid-template-columns:1fr}.popular-panel{padding:24px 20px 8px}.popular-panel h2{font-size:25px}.popular-item img{width:65px;height:58px}.popular-item{gap:16px;padding:16px 0}.popular-item h3{font-size:16px}.popular-item small{font-size:10px}.poll-card{padding:26px 23px}.poll-card label{font-size:13px;padding:12px}.collections{margin-top:38px}.collection-label{display:none}.collections .section-heading h2{font-size:31px}.collections .section-heading p{font-size:11px}.collection-grid{grid-template-columns:1fr;gap:15px}.collection-card{height:225px}.collection-copy{left:24px;right:24px}.collection-copy h3{font-size:28px}.newsletter{grid-template-columns:45px 1fr;gap:17px;padding:25px 20px;margin:32px 0 38px}.newsletter-art{font-size:43px}.newsletter-art span{font-size:18px;right:-4px}.newsletter h2{font-size:28px}.newsletter p{font-size:10px}.newsletter .eyebrow{font-size:7px}.newsletter-field{gap:7px}.newsletter .button{padding:11px 13px;font-size:11px}.newsletter input{font-size:11px;padding:11px}.newsletter small{font-size:8px}.footer{padding-top:35px}.footer-top{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:1/-1}.footer .brand{font-size:32px}.footer p{font-size:12px}.footer-top>div:last-child{grid-column:1/-1;display:block;padding-top:25px}.footer-top>div:last-child h3{margin-bottom:15px}.footer-top>div:last-child .socials{margin:18px 0 0}.footer-bottom{align-items:flex-start;gap:20px;flex-direction:column;margin-top:28px}.footer-bottom>div{width:100%;gap:25px}.back-top{margin-left:auto}.article-cover{height:210px}.article-reading{padding:25px 24px 32px}.article-reading h2{font-size:31px}.article-reading .lead{font-size:18px}.article-reading p{font-size:14px}.article-byline{align-items:flex-start;font-size:10px}.ui-dialog{padding:35px 25px}.ui-dialog h2{font-size:29px}.toast{bottom:17px;font-size:11px;width:max-content;max-width:calc(100% - 30px)}}
@media(max-width:380px){.hero h1{font-size:49px}.heading-star{margin-left:13px}.trending{gap:4px}.trending :is(button,a){padding:3px 7px;font-size:9px}.section-heading h2{font-size:24px}.card-copy h3{font-size:17px}.featured .card-copy h3{font-size:25px}.author{max-width:75px}.brand{font-size:25px}.header-actions{gap:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-reveal{opacity:1;transform:none}}
.brand-icon{font-size:0!important;transform:none!important;background:url('../favicon.svg') center/contain no-repeat;height:38px;width:38px;border-radius:9px}.save-button{font-size:0!important;position:relative}.save-button:before{content:'';display:block;width:12px;height:17px;border:1.5px solid currentColor;border-bottom:0;clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);background:linear-gradient(145deg,transparent 70%,currentColor 71%,currentColor 77%,transparent 78%),linear-gradient(215deg,transparent 70%,currentColor 71%,currentColor 77%,transparent 78%);margin:auto}.save-button.saved:before{background:currentColor}.card-copy>p{font-size:12px}.card-meta .author strong{font-size:10px}.card-meta .author span{font-size:9px}.popular-item h3{font-size:14px}.text-link{font-size:12px}.article-byline .save-button{width:36px;height:36px}
@media(max-width:760px){.card-copy>p{font-size:11px}.card-meta .author strong{font-size:9px}.card-meta .author span{font-size:8px}.popular-item h3{font-size:16px}.brand-icon{width:32px;height:32px}.section-heading .text-link{font-size:10px}}
.featured .card-copy{top:auto;bottom:64px}.featured .card-copy h3{max-width:100%}@media(max-width:760px){.featured .card-copy{top:auto;bottom:64px;padding:18px}.featured .card-copy h3{font-size:26px}.featured .card-copy>p{-webkit-line-clamp:2}.section-heading h2{font-size:26px}}

/* refined.css */
/* Bipedia 2 — full-width editorial library */
:root{--bg:#f3f3ed;--surface:#fffefa;--line:#d8dfd9;--teal:#008e83;--navy:#0c202d;--shadow:0 18px 45px #0b2a3a14}.container{width:100%;max-width:none;margin:0;padding-left:28px;padding-right:28px}.header{background:linear-gradient(110deg,#0a1d28f5,#132d3bf5);color:#eaf5f1;border-bottom:1px solid #8fbdba22;box-shadow:0 8px 32px #04141e20}.header-inner{height:88px;gap:45px}.brand{font-size:34px;letter-spacing:-1.4px}.brand-icon{width:44px;height:44px!important;border:1px solid #73cfbd30;box-shadow:0 0 28px #21a99516}.brand-lockup{display:flex;flex-direction:column;gap:7px;line-height:1}.brand-lockup b{font:700 33px/1 var(--serif)}.brand-lockup b>span{font-weight:400;color:#99b9bc}.brand-lockup small{font:600 7px/1 var(--sans);letter-spacing:2.2px;color:#83b2b4}.desktop-nav{gap:9px;font-size:13px}.desktop-nav>a,.desktop-nav>.nav-button,.nav-category{display:flex;align-items:center;gap:9px;height:44px;padding:0 16px;border:1px solid transparent;border-radius:8px;transition:background .25s,border-color .25s,color .25s}.desktop-nav>a.active{background:linear-gradient(135deg,#27b8a51c,#ffffff04);border-color:#79cbba22;color:#88e6d2}.desktop-nav>a:after{display:none}.desktop-nav>a:hover,.desktop-nav>.nav-button:hover,.nav-category:hover,.nav-category[aria-expanded=true]{background:#ffffff08;border-color:#ffffff18;color:#80deca}.ui-icon{display:inline-block;width:19px;height:19px;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.desktop-nav .ui-icon{width:16px;height:16px;color:#7ca5a8}.header-actions{gap:10px}.header-actions .button{height:43px;padding:0 18px;font-size:12px;gap:10px}.header-actions .outline{border-color:#94c6c82e;background:linear-gradient(135deg,#ffffff08,#ffffff02);color:#cbdedd}.header-actions .outline:hover{border-color:#4bccb1;color:#96ebd8}.header .icon-button{border-radius:9px;height:41px;width:41px;border-color:#a1c2cc25;background:linear-gradient(135deg,#ffffff0b,#ffffff02);color:#a6c3c9}.header .theme-toggle{background:#050e19;border:1px solid #ffffff20;width:55px}.count{background:#1f655b70;color:#85e3d0}.button{border-radius:7px;position:relative;overflow:hidden;isolation:isolate;font-weight:650}.primary{background:linear-gradient(130deg,#059b8c,#00766e);box-shadow:inset 0 1px 0 #b8fff43d,0 4px 10px #002e3620;border:1px solid #41c4af55}.primary:before{content:'';position:absolute;z-index:-1;top:-70%;left:-70%;height:230%;width:38%;background:linear-gradient(90deg,transparent,#fff3,transparent);transform:rotate(24deg);transition:left .55s}.primary:hover:before{left:140%}.button .ui-icon{transition:transform .25s}.button:hover .ui-icon{transform:translate(2px,-2px)}.header-progress{position:absolute;bottom:-1px;width:100%;height:2px;background:#8ed2c90a}.header-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#188c7f,#82dfc2);box-shadow:0 0 10px #30ccaa80}.nav-dropdown{position:relative}.nav-category{font-size:13px}.nav-category>.ui-icon:last-child{width:12px}.mega-menu{position:absolute;top:58px;left:-120px;width:620px;border:1px solid #5ca39455;background:#102c3af8;backdrop-filter:blur(24px);box-shadow:0 20px 65px #00101980;border-radius:12px;padding:14px;display:grid;grid-template-columns:210px 1fr;gap:18px;animation:modalIn .2s}.mega-intro{padding:20px;border-radius:8px;background:radial-gradient(ellipse at top right,#16846b42,transparent),#ffffff04}.mega-intro>.ui-icon{width:36px;height:36px;color:#75dac3;margin-bottom:25px}.mega-intro>span{display:block;font-size:7px;letter-spacing:1.6px;color:#71c5b9}.mega-intro h3{font-size:27px;line-height:1.1;margin:12px 0}.mega-intro p{font-size:10px;color:#8eabb2}.mega-categories{display:grid;grid-template-columns:1fr 1fr;gap:6px}.mega-categories :is(button,a){display:flex;align-items:center;text-align:left;gap:10px;border:1px solid #ffffff08;border-radius:7px;padding:14px 10px;font-size:12px;transition:background .2s,border-color .2s}.mega-categories :is(button,a):hover{background:#63cdb01a;border-color:#56b7a151}.mega-categories .ui-icon{color:#7ccfbc;width:20px}.hero-inner{grid-template-columns:.95fr 1.05fr;min-height:480px}.hero-copy{padding:38px 0 38px 12px}.hero h1{font-size:66px;letter-spacing:-2px;margin:20px 0}.hero-art{margin:0 -28px 0 0}.hero-art img{mask-image:linear-gradient(90deg,transparent,#000 12%,#000);object-position:center 54%}.hero-copy>p{font-size:16px}.hero .eyebrow{letter-spacing:2.4px;font-size:10px}.search{max-width:650px;margin-top:25px;border-radius:9px;box-shadow:0 0 0 5px #66d4be08,0 12px 30px #0002;padding:7px}.search input{font-size:14px}.search button{width:50px;height:45px;background:linear-gradient(135deg,#00a38f,#00776f);border:1px solid #46d2b75c;box-shadow:inset 0 1px 0 #c4fff84a}.search-icon{font-size:0}.search-icon .ui-icon{width:20px;height:20px}.trending{font-size:11px;gap:9px}.trending :is(button,a){font-size:10px;background:#ffffff05;padding:4px 12px}.hero-stats{padding-top:22px;padding-bottom:22px;border-bottom:1px solid #9cc7c315}.hero-stats>div{padding-left:35px}.hero-stats>div:first-child{padding-left:12px}.hero-stats strong{font-size:18px}.hero-stats p>span{font-size:11px}.stat-icon .ui-icon{width:30px;height:30px;stroke-width:1.4}.floating-note{border-color:#72c0b640;box-shadow:0 10px 25px #00121f50;border-radius:8px;font-size:11px}.main{padding-top:26px}.discovery-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:30px}.discovery-rail>:is(button,a){--rail:#067e70;display:flex;align-items:center;gap:17px;text-align:left;padding:19px 20px;min-height:100px;border:1px solid #a3bfb478;border-radius:9px;background:linear-gradient(125deg,#d6ebe167,#f6f7f180);position:relative;overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s}.discovery-rail>:is(button,a):nth-child(2){--rail:#8d6c40;background:linear-gradient(125deg,#eee1c86b,#f7f6ef);border-color:#c3b79e80}.discovery-rail>:is(button,a):nth-child(3){--rail:#8366a6;background:linear-gradient(125deg,#e6def06b,#f6f4f8);border-color:#c7bcd780}.discovery-rail>:is(button,a):nth-child(4){--rail:#4d8064;background:linear-gradient(125deg,#d8e6cf70,#f3f6ef);border-color:#acbfa280}.discovery-rail>:is(button,a):before,.panel:before{content:'';position:absolute;top:7px;left:7px;width:8px;height:8px;border-top:1px solid currentColor;border-left:1px solid currentColor;opacity:.22;pointer-events:none}.discovery-rail>:is(button,a):after{content:'';position:absolute;bottom:7px;right:7px;width:8px;height:8px;border-bottom:1px solid currentColor;border-right:1px solid currentColor;opacity:.22;pointer-events:none}.rail-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid color-mix(in srgb,var(--rail) 28%,transparent);border-radius:9px;color:var(--rail);box-shadow:inset 0 1px 0 #fff8,0 5px 15px #12342209;background:#ffffff40;transition:transform .3s}.rail-icon .ui-icon{width:24px;height:24px}.discovery-rail b{font-size:14px;color:var(--rail);display:block}.discovery-rail small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.discovery-rail>:is(button,a)>.ui-icon{margin-left:auto;width:16px;color:var(--rail);transition:transform .3s}.discovery-rail>:is(button,a):hover{transform:translateY(-4px);box-shadow:0 12px 25px #102d3a12;border-color:var(--rail)}.discovery-rail>:is(button,a):hover .rail-icon{transform:rotate(-6deg)}.discovery-rail>:is(button,a):hover>.ui-icon{transform:translate(3px,-3px)}.content-layout{grid-template-columns:250px minmax(0,1fr) 305px;gap:25px}.panel{position:relative;padding:23px 19px;border-radius:10px;box-shadow:0 4px 18px #17362e04;background:linear-gradient(145deg,#ffffff70,transparent),var(--surface)}.panel h2{font-size:23px;letter-spacing:-.5px}.small-eyebrow{font-size:9px;letter-spacing:1.8px}.category-panel h2{padding-bottom:18px;border-bottom:1px solid var(--line)}.category-list{margin-top:10px}.category-list :is(button,a){padding:14px 10px;font-size:13px;border-bottom:1px solid color-mix(in srgb,var(--line) 70%,transparent);gap:13px}.category-list :is(button,a) span:first-child{display:grid;place-items:center;width:31px;height:31px;border:1px solid #0f7b6718;border-radius:7px;background:#0f7b6706}.category-list :is(button,a) span:first-child .ui-icon{width:19px;height:19px}.category-list :is(button,a).selected{background:linear-gradient(90deg,#008f8612,#008f8604);border:1px solid #008f8628;color:var(--teal);box-shadow:inset 3px 0 0 var(--teal)}.category-list :is(button,a):hover{background:#008f860c}.section-heading{border-bottom:1px solid var(--line);padding:2px 0 19px;margin-bottom:22px}.section-heading h2{font-size:34px}.section-heading>.text-link{border:1px solid var(--line);padding:8px 13px;border-radius:6px;font-size:11px;background:var(--surface);transition:border-color .2s,background .2s}.section-heading>.text-link:hover{background:#008f8610;border-color:#008f8645;color:var(--teal)}.article-card{border-radius:10px;background:var(--surface);box-shadow:0 5px 22px #1c3b3105}.article-card:hover{border-color:#16938370;box-shadow:0 18px 40px #1a3f3715;transform:translateY(-5px)}.card-image{height:205px}.featured .card-image{height:340px}.featured .card-copy{bottom:78px;padding:26px}.featured .card-copy h3{font-size:36px}.featured .card-copy>p{font-size:14px}.card-copy{padding:20px 20px 0}.card-copy h3{font-size:24px}.card-copy>p{font-size:13px;line-height:1.7}.card-meta{padding:20px;gap:10px}.featured .card-meta{padding:18px 23px}.card-meta .avatar{width:34px;height:34px;font-size:10px;border:1px solid #008f8620;box-shadow:0 0 0 3px #008f8605}.card-meta .author strong{font-size:11px}.card-meta .author span{font-size:10px}.reading-time{font-size:11px}.save-button{width:34px;height:34px;border:1px solid var(--line);border-radius:7px}.save-button:before{display:none}.save-button .ui-icon{width:17px;height:17px}.save-button.saved .ui-icon{fill:color-mix(in srgb,var(--teal) 25%,transparent)}.load-more{height:48px;font-size:13px;border-style:dashed;background:var(--surface)}.popular-panel{padding:23px 19px 5px}.popular-panel h2{font-size:24px;border-bottom:1px solid var(--line);padding-bottom:18px}.popular-item{gap:13px;padding:18px 0}.popular-item img{width:63px;height:65px;border:1px solid #d2dace40}.popular-item h3{font-size:16px}.popular-number{font-size:28px;color:#a2a99d}.popular-item small{font-size:10px}.poll-card{border-radius:10px;padding:25px 22px}.poll-card label{padding:11px;font-size:12px;transition:border-color .2s,background .2s}.poll-card label:hover{background:#ffffff60;border-color:#008f86}.poll-card h2{display:flex;align-items:center;gap:10px}.poll-card h2 .ui-icon{width:24px;height:24px;color:#009c83}.reading-banner{display:none}.daily-body p{font-size:14px}.daily-body .text-link{font-size:11px}.daily-card{border-radius:10px}.daily-image{height:140px}.sidebar-caption{padding-top:24px}.collections{margin-top:38px}.collection-card{height:270px;border:1px solid #c5d1c3;border-radius:10px;box-shadow:0 5px 20px #153c2f10}.collection-copy h3{font-size:32px}.collection-copy p{font-size:13px;max-width:90%}.collection-meta{font-size:11px}.collection-copy>span{font-size:10px}.newsletter{margin:30px 0 36px;border:1px solid #527b7940;border-radius:10px;padding:35px 38px;background:radial-gradient(ellipse at left,#1b6a5c35,transparent 45%),linear-gradient(120deg,#0b2736,#163544)}.newsletter h2{font-size:35px}.newsletter p{font-size:13px}.newsletter input{font-size:13px}.newsletter small{font-size:10px}.footer{position:relative;isolation:isolate;overflow:hidden;padding-top:0;background:radial-gradient(ellipse at 5% 0,#1b5b4b38,transparent 45%),linear-gradient(120deg,#091e29,#0c2634);border-top:1px solid #32675d77}.footer-orbit{position:absolute;right:-180px;top:-220px;width:750px;height:750px;border:1px solid #87ccb20c;border-radius:50%;z-index:-1;pointer-events:none}.footer-orbit:after,.footer-orbit:before{content:'';position:absolute;inset:70px;border:1px solid #87ccb212;border-radius:50%}.footer-orbit:after{inset:140px}.footer-invitation{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:45px;padding-bottom:38px;border-bottom:1px solid #9ac9ba22}.footer-invitation .eyebrow{font-size:9px;letter-spacing:2px}.footer-invitation h2{font-size:50px;letter-spacing:-1.4px;margin:12px 0;color:#eef6eb}.footer-invitation em{font-weight:400;color:#81d7bd}.footer-invitation p{margin:0;font-size:13px}.footer-invitation .button{padding:17px 25px;font-size:13px}.footer-top{padding-top:38px;padding-bottom:35px;gap:60px;grid-template-columns:1.5fr .9fr .9fr 1.1fr}.footer-top>div+div{border-left:1px solid #9ac9ba15;padding-left:35px}.footer h3{display:flex;align-items:center;gap:10px;color:#e7f2e9;font-size:14px;letter-spacing:.2px}.footer h3 .ui-icon{width:17px;height:17px;color:#6bb9a4}.footer p{font-size:13px}.footer-top>div>a:not(.brand),.footer-top>div>button{font-size:12px;padding:3px 0;margin:8px 0;display:flex;align-items:center;gap:9px}.footer-top>div>a:not(.brand):before,.footer-top>div>button:before{content:'';width:4px;height:4px;border:1px solid #69a48f;transform:rotate(45deg);transition:background .2s}.footer-top>div>a:hover:before,.footer-top>div>button:hover:before{background:#72c5a8}.footer .brand{font-size:35px}.footer .brand-icon{width:44px;height:44px}.footer-tag{font-size:10px;border:1px solid #71bba125;display:inline-flex;padding:7px 11px;border-radius:6px;margin-top:20px;background:#ffffff03}.footer-bottom{padding-top:20px;margin-top:0;font-size:11px}.footer-bottom button{font-size:11px}.footer-bottom>div{gap:28px}.socials button{width:35px;height:35px;border-radius:7px;background:#ffffff04;border-color:#83bcaa28;color:#a5cbbc}.socials .ui-icon{width:17px;height:17px}.back-top{border-radius:7px;height:36px;width:36px;background:linear-gradient(135deg,#049f89,#00786f);border:1px solid #72dfc24a}/* Keep sticky header geometry stable across the scroll threshold. */
.scroll-compact .header-inner{height:88px}.header-inner{transition:height .25s}.scroll-compact .brand-lockup small{opacity:.7}.category-list .ui-icon,.rail-icon .ui-icon{transition:transform .35s}.category-list :is(button,a):hover .ui-icon{transform:rotate(-7deg) scale(1.1)}.ui-icon{pointer-events:none}.newsletter-art>.ui-icon{width:68px;height:68px;stroke-width:1.2}.article-byline .save-button{font-size:0}.footer .brand>span:last-child{font-weight:400}.hero .heading-star{font-size:39px}.mobile-nav{background:#0b2533;color:#d7eae4;border-color:#82b4a324}.mobile-nav a,.mobile-nav button{padding:8px 3px}.toast{border-radius:8px;box-shadow:0 15px 50px #001c3340}
[data-theme=dark] .panel{background:linear-gradient(140deg,#ffffff03,transparent),var(--surface)}[data-theme=dark] .discovery-rail>:is(button,a){--rail:#74d3b9;background:linear-gradient(125deg,#153d365e,#152b35);border-color:#52746955}[data-theme=dark] .discovery-rail>:is(button,a):nth-child(2){--rail:#d8ba87;background:linear-gradient(125deg,#4e422d45,#182b35);border-color:#88765055}[data-theme=dark] .discovery-rail>:is(button,a):nth-child(3){--rail:#bea4db;background:linear-gradient(125deg,#46375755,#182b35);border-color:#826a9e55}[data-theme=dark] .discovery-rail>:is(button,a):nth-child(4){--rail:#9bc49b;background:linear-gradient(125deg,#314b3655,#182b35);border-color:#6c8e6255}[data-theme=dark] .rail-icon{background:#ffffff04;box-shadow:inset 0 1px 0 #ffffff08}[data-theme=dark] .category-list :is(button,a) span:first-child{border-color:#79d2b920;background:#79d2b908}
@media(min-width:1600px){.container{padding-left:32px;padding-right:32px}.header-inner{height:94px;gap:65px}.desktop-nav{gap:18px}.desktop-nav>a,.desktop-nav>.nav-button,.nav-category{font-size:14px;padding:0 20px}.hero-inner{min-height:510px;grid-template-columns:1fr 1fr}.hero-copy{padding:42px 0 42px 20px}.hero h1{font-size:80px}.hero-copy>p{font-size:18px}.hero-art{margin-right:-32px}.hero-art img{object-position:center 58%}.search{max-width:760px}.hero-stats{grid-template-columns:1fr 1fr 1fr 1.4fr}.content-layout{grid-template-columns:280px minmax(0,1fr) 330px;gap:30px}.featured .card-image{height:380px}.featured .card-copy h3{font-size:42px}.card-image{height:245px}.card-copy h3{font-size:28px}.card-copy>p{font-size:14px}.card-meta .author strong{font-size:12px}.card-meta .author span{font-size:11px}.featured .author strong{font-size:12px}.featured .author span{font-size:11px}.section-heading h2{font-size:38px}.discovery-rail>:is(button,a){padding:23px 25px}.discovery-rail b{font-size:16px}.discovery-rail small{font-size:12px}.collection-card{height:310px}.collection-copy h3{font-size:36px}.footer-top{gap:70px}.footer-invitation{padding-top:48px;padding-bottom:43px}.footer-invitation h2{font-size:58px}}
@media(max-width:1180px){.header-inner{gap:25px}.desktop-nav>a,.desktop-nav>.nav-button,.nav-category{padding:0 10px;font-size:12px}.header-actions .signup-trigger{display:none}.brand-lockup b{font-size:29px}.brand-lockup small{font-size:6px;letter-spacing:1.6px}.content-layout{grid-template-columns:210px minmax(0,1fr) 265px;gap:20px}.panel h2{font-size:21px}.popular-panel h2{font-size:21px}.popular-item{gap:10px}.popular-item h3{font-size:14px}.popular-item img{width:50px;height:58px}.section-heading h2{font-size:28px}.featured .card-copy h3{font-size:30px}.featured .card-copy>p{font-size:12px}.card-copy h3{font-size:22px}.discovery-rail{gap:12px}.discovery-rail>:is(button,a){gap:10px;padding:16px 13px}.discovery-rail b{font-size:12px}.discovery-rail small{font-size:10px}.rail-icon{width:38px;height:40px}.hero h1{font-size:60px}.footer-top{gap:30px}.footer-top>div+div{padding-left:22px}.collection-copy h3{font-size:29px}}
@media(max-width:1050px){.header-inner{gap:20px}.desktop-nav{gap:3px}.header-actions .login-trigger{display:none}.content-layout{grid-template-columns:210px minmax(0,1fr)}.right-sidebar{grid-template-columns:1fr 1fr;grid-column:1/-1}.hero h1{font-size:55px}.hero-copy>p{font-size:14px}.hero-inner{min-height:450px}.footer-top{grid-template-columns:1.3fr 1fr 1fr}.footer-top>div:last-child{border-left:0;padding-left:0}.footer-invitation h2{font-size:43px}.collection-copy h3{font-size:26px}.collection-copy p{font-size:12px}.collections{margin-top:32px}.featured .card-copy h3{font-size:32px}.featured .card-image{height:320px}}
@media(max-width:760px){.container{padding-left:16px;padding-right:16px;width:100%;max-width:none}.header-inner,.scroll-compact .header-inner{height:74px;gap:10px}.brand-lockup b{font-size:27px}.brand-lockup small{font-size:5px;letter-spacing:1.35px}.brand-icon{width:34px;height:34px!important;margin-right:9px}.header-actions{gap:9px}.header-actions .icon-button{width:35px;height:35px}.hero-inner{display:grid;grid-template-columns:1fr;min-height:0}.hero-copy{padding:32px 4px 7px}.hero h1{font-size:57px;letter-spacing:-2px;margin:20px 0}.hero .eyebrow{font-size:7px;letter-spacing:1.7px}.hero-copy>p{font-size:14px}.hero-art{height:260px;margin:0 -16px}.hero-art img{mask-image:linear-gradient(180deg,transparent,#000 15%,#000 80%,transparent)}.search{margin-top:23px;padding:5px;max-width:none}.search-icon{margin:0 8px}.search input{font-size:12px}.search button{width:42px;height:41px}.trending{gap:5px;font-size:10px}.trending :is(button,a){font-size:9px;padding:4px 8px}.hero-stats{padding-top:20px;padding-bottom:22px;gap:20px}.hero-stats>div,.hero-stats>div:first-child{padding-left:4px}.hero-stats>div:nth-child(even){padding-left:12px}.hero-stats strong{font-size:13px}.hero-stats p>span{font-size:9px}.stat-icon .ui-icon{width:25px;height:25px}.floating-note{font-size:9px;padding:7px 11px}.main{padding-top:17px}.discovery-rail{display:flex;overflow-x:auto;gap:10px;padding-bottom:10px;margin-bottom:17px;scroll-snap-type:x mandatory;scrollbar-width:thin}.discovery-rail>:is(button,a){flex:0 0 245px;min-height:88px;padding:16px;scroll-snap-align:start}.discovery-rail b{font-size:13px}.discovery-rail small{font-size:10px}.discovery-rail>:is(button,a)>.ui-icon{width:14px}.content-layout{grid-template-columns:1fr;gap:20px}.category-panel{padding:0;background:none!important;border:0;box-shadow:none}.category-panel:before{display:none}.category-panel h2{display:none}.category-list{margin:0;padding-bottom:10px}.category-list :is(button,a){padding:6px 12px!important;border-radius:7px}.category-list :is(button,a).selected{box-shadow:inset 0 -2px 0 var(--teal)}.category-list :is(button,a) span:first-child{width:23px;height:23px;border:0;background:none}.category-list :is(button,a) span:first-child .ui-icon{width:16px;height:16px}.section-heading{padding:0 0 14px;margin-bottom:17px;gap:10px}.section-heading h2{font-size:27px}.section-heading>.text-link{font-size:9px;padding:7px 9px;flex-shrink:0}.small-eyebrow{font-size:7px;letter-spacing:1.4px}.featured .card-image{height:300px}.featured .card-copy{padding:18px;bottom:74px}.featured .card-copy h3{font-size:28px}.featured .card-copy>p{font-size:11px;line-height:1.6}.featured .card-meta{padding:16px 14px}.card-image{height:152px}.card-copy{padding:14px 12px 0}.card-copy h3{font-size:20px}.card-copy>p{font-size:11px}.card-meta{padding:14px 10px;gap:6px}.card-meta .avatar{width:25px;height:25px;font-size:8px}.card-meta .author strong{font-size:9px}.card-meta .author span{font-size:8px}.save-button{width:28px;height:30px}.save-button .ui-icon{width:15px;height:15px}.featured .card-meta .reading-time{font-size:9px}.right-sidebar{grid-template-columns:1fr;gap:18px}.popular-panel{padding:23px 20px 6px}.popular-panel h2{font-size:26px}.popular-item img{width:65px;height:60px}.popular-item h3{font-size:16px}.popular-item{gap:15px;padding:15px 0}.poll-card{padding:25px 22px}.poll-card label{font-size:13px}.collection-card{height:245px}.collection-copy h3{font-size:29px}.collection-copy p{font-size:12px}.collection-meta{font-size:10px}.collections{margin-top:31px}.collections .section-heading h2{font-size:30px}.newsletter{grid-template-columns:42px 1fr;padding:25px 20px;margin:26px 0 28px;gap:16px}.newsletter-art>.ui-icon{width:45px;height:45px}.newsletter h2{font-size:28px}.newsletter p{font-size:11px}.newsletter input{font-size:11px}.newsletter small{font-size:8px}.footer-invitation{display:block;padding-top:32px;padding-bottom:30px}.footer-invitation .eyebrow{font-size:7px;letter-spacing:1.3px}.footer-invitation h2{font-size:39px;letter-spacing:-1.4px}.footer-invitation p{font-size:12px;max-width:300px}.footer-invitation .button{padding:12px 18px;margin-top:22px;font-size:12px}.footer-top{grid-template-columns:1fr 1fr;padding-top:28px;padding-bottom:25px;gap:28px 20px}.footer-top>div+div{padding:0;border:0}.footer-top>div:last-child{border-top:1px solid #9ac9ba20;padding-top:23px}.footer h3{font-size:13px;gap:7px;margin-bottom:16px}.footer h3 .ui-icon{width:15px}.footer-top>div>a:not(.brand),.footer-top>div>button{font-size:11px}.footer p{font-size:12px}.footer .brand-icon{width:39px;height:39px!important}.footer .brand{font-size:32px}.footer-bottom{font-size:10px;padding-top:20px;gap:15px}.footer-bottom button{font-size:10px}.footer-orbit{right:-350px}.collection-label{display:none}.theme-toggle{flex-shrink:0}}
@media(max-width:380px){.hero h1{font-size:51px}.brand-lockup b{font-size:24px}.brand-lockup small{font-size:4.5px}.header-actions{gap:6px}.section-heading h2{font-size:24px}.featured .card-copy h3{font-size:25px}.card-copy h3{font-size:18px}.hero .eyebrow{font-size:6px}}
@media(prefers-reduced-motion:reduce){.header-inner{transition:none}.primary:before{display:none}}
@media(min-width:1181px) and (max-width:1400px){.header-inner{gap:24px}.desktop-nav{gap:3px}.desktop-nav>a,.desktop-nav>.nav-button,.nav-category{padding:0 12px}.header-actions{gap:8px}.header-actions .button{padding:0 13px}.brand-lockup b{font-size:30px}.brand-lockup small{font-size:6px}}

/* adjustments.css */
/* Shared theme hover and contextual corner artwork. */
.discovery-rail>:is(button,a){isolation:isolate;background:color-mix(in srgb,var(--rail) 7%,var(--surface))!important;transition:background .25s,border-color .25s,box-shadow .25s}
.discovery-rail>:is(button,a):nth-child(1){--corner:url('../images/space.jpg')}
.discovery-rail>:is(button,a):nth-child(2){--corner:url('../images/ruins.jpg')}
.discovery-rail>:is(button,a):nth-child(3){--corner:url('../images/art.jpg')}
.discovery-rail>:is(button,a):nth-child(4){--corner:url('../images/forest.jpg')}
.discovery-rail>:is(button,a):after{width:105px;height:100%;right:0;bottom:0;border:0;background-image:var(--corner);background-size:cover;background-position:center;mask-image:linear-gradient(90deg,transparent,#000);opacity:.2;z-index:-1;transition:opacity .25s}
.discovery-rail>:is(button,a):hover,.discovery-rail>:is(button,a):focus-visible{background:color-mix(in srgb,var(--rail) 16%,var(--surface))!important;border-color:var(--rail);transform:none;box-shadow:0 6px 22px color-mix(in srgb,var(--rail) 15%,transparent)}
.discovery-rail>:is(button,a):hover:after,.discovery-rail>:is(button,a):focus-visible:after{opacity:.4}
.discovery-rail>:is(button,a)>span:nth-child(2){position:relative;z-index:1}
.category-list :is(button,a):hover{padding-left:10px;background:color-mix(in srgb,var(--teal) 10%,var(--surface));color:var(--teal)}
.category-list :is(button,a){position:relative;isolation:isolate;overflow:hidden}
.category-list :is(button,a):after,.mega-categories :is(button,a):after{content:'';position:absolute;right:0;bottom:0;width:65px;height:100%;background:var(--corner) center/cover;mask-image:linear-gradient(90deg,transparent,#000);opacity:.13;pointer-events:none;z-index:-1}
[data-category='Tümü']{--corner:url('../images/library.jpg')}
[data-category='Bilim']{--corner:url('../images/space.jpg')}
[data-category='Teknoloji']{--corner:url('../images/brain.webp')}
[data-category='Tarih']{--corner:url('../images/ruins.jpg')}
[data-category='Sanat']{--corner:url('../images/art.jpg')}
[data-category='Doğa']{--corner:url('../images/forest.jpg')}
[data-category='Felsefe']{--corner:url('../images/library.jpg')}
[data-category='Yaşam']{--corner:url('../images/ocean.jpg')}
.mega-categories :is(button,a){position:relative;isolation:isolate;overflow:hidden}
.category-list :is(button,a):hover:after,.mega-categories :is(button,a):hover:after{opacity:.28}
.popular-item:hover h3,.text-link:hover{color:var(--teal)}
.primary:hover{background:linear-gradient(130deg,#078b7e,#05635e);color:#fff}
.article-rest{display:contents}
@media(min-width:1051px){
.content-layout{align-items:start;column-gap:30px;row-gap:22px}
.left-sidebar,.right-sidebar,.article-section,.article-grid{display:contents}
.category-panel{grid-column:1;grid-row:1 / 3;align-self:stretch}
.popular-panel{grid-column:3;grid-row:1 / 3;align-self:stretch}
.article-section>.section-heading{grid-column:2;grid-row:1;margin:0;min-height:90px;box-sizing:border-box;align-items:center;padding:0 0 18px}
.article-grid>.featured{grid-column:2;grid-row:2;align-self:end;margin:0}
.article-rest{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;grid-column:2;grid-row:3;min-width:0}
.article-rest>.article-card{min-width:0}
.left-sidebar>.daily-card{grid-column:1;grid-row:3;margin:0;align-self:start}
.right-sidebar>.bp-vote-slot{grid-column:3;grid-row:3;margin:0;align-self:start}
.left-sidebar>.sidebar-caption{grid-column:1;grid-row:4}
.article-section>.load-more{grid-column:2;grid-row:4;margin:0}
.article-section>.filter-status{grid-column:2;grid-row:1;z-index:2;align-self:end;margin:0;transform:translateY(10px)}
.article-section>.empty-state{grid-column:2;grid-row:2}
}
@media(max-width:760px){.category-list :is(button,a):hover{padding-left:13px}.category-list :is(button,a):after{display:none}}
@media(prefers-reduced-motion:reduce){.discovery-rail>:is(button,a):after{transition:none}}

@media(min-width:1051px){.left-sidebar>.daily-card,.right-sidebar>.bp-vote-slot{opacity:1;transform:none}}

/* Two-card carousel shares its row with the daily panels. */
.carousel-shell{min-width:0;position:relative;display:flex;flex-direction:column;gap:10px}
.article-rest{display:flex!important;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-y;cursor:grab;min-width:0;align-items:stretch}
.article-rest::-webkit-scrollbar{display:none}
.article-rest>.article-card{flex:0 0 calc((100% - 20px)/2);scroll-snap-align:start;min-width:0;display:flex;flex-direction:column;margin:0}
.article-rest>.article-card .card-meta{margin-top:auto}
.article-rest>.article-card:hover{transform:none}
.article-rest.dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}
.article-rest img{pointer-events:none}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:10px;min-height:30px}
.carousel-controls button{border:1px solid var(--line);border-radius:6px;width:30px;height:30px;background:var(--surface);color:var(--teal)}
.carousel-controls button:hover{background:color-mix(in srgb,var(--teal) 12%,var(--surface));border-color:var(--teal)}
@media(min-width:1051px){
.carousel-shell{grid-column:2;grid-row:3;align-self:stretch}
.carousel-shell .article-rest{flex:1}
.left-sidebar>.daily-card,.right-sidebar>.bp-vote-slot{align-self:stretch;height:100%;box-sizing:border-box}
.daily-card{display:flex;flex-direction:column}
.daily-image{flex:1;min-height:155px}
.daily-body{padding:20px 17px;min-height:175px}
.poll-card{display:flex;flex-direction:column}
.poll-card #pollForm{margin-top:auto}
.category-panel,.popular-panel{contain:size;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.category-panel h2,.popular-panel h2{flex-shrink:0}
.category-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--teal) transparent}
#popularList{flex:1;min-height:0;display:flex;flex-direction:column}
.popular-item{flex:1;min-height:0;padding:9px 0}
.popular-item img{height:54px;width:54px;flex-shrink:0}
.popular-item h3{font-size:15px}
}
@media(max-width:760px){.article-rest>.article-card{flex-basis:87%}.left-sidebar .daily-card{display:block;margin-top:16px}.daily-image{height:160px}.carousel-shell{width:100%}}
/* Flush categories, quiet scrolling and aligned article cards. */
.category-list{scrollbar-width:none!important;-ms-overflow-style:none;padding-left:0;padding-right:0}
.category-list::-webkit-scrollbar{display:none;width:0;height:0}
.category-list :is(button,a){width:100%;margin-left:0;margin-right:0;box-sizing:border-box}
.carousel-shell{gap:0}
.carousel-controls{display:none}
@media(min-width:761px){.category-panel{padding-left:0;padding-right:0}.category-panel>.small-eyebrow,.category-panel>h2{margin-left:19px;margin-right:19px}.category-list :is(button,a){border-radius:0;padding-left:19px;padding-right:19px}.category-list :is(button,a):hover{padding-left:19px}.category-list :is(button,a).selected{border-left:0;border-right:0}}
/* A full-width editorial invitation with orbiting line art. */
.collections .collection-intro{position:relative;isolation:isolate;display:flex;align-items:center;gap:30px;min-height:205px;margin:0 0 24px;padding:35px 40px;overflow:hidden;border:1px solid #518b8050;border-radius:16px;background:#0d2936;color:#f3f6ed;box-shadow:0 12px 35px #0a293415}
.collection-intro:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#0c2936 30%,#0c2936cc 60%,#0c293660),url('../images/library.jpg') right 48%/cover;opacity:.8}
.collection-intro:after{content:'';position:absolute;right:9%;top:-155px;width:480px;height:480px;border:1px solid #80d6c229;border-radius:50%;box-shadow:0 0 0 45px #80d6c207,0 0 0 95px #80d6c205;pointer-events:none;z-index:-1;animation:collectionBreathe 7s ease-in-out infinite}
.collection-intro .small-eyebrow{color:#88d8c6}
.collections .collection-intro h2{font-size:42px;margin:9px 0 10px;letter-spacing:-1px;color:#f6f5ec}
.collections .collection-intro p{font-size:14px;color:#bdd3d1;margin:0;max-width:620px;line-height:1.8}
.collection-intro .collection-label{margin-left:auto;white-space:nowrap;align-self:flex-end;border:1px solid #9dd5c83b;background:#0d2936a0;color:#9fdccf;padding:9px 13px;border-radius:30px;font-size:9px}
.collection-intro-icon{width:88px;height:88px;flex-shrink:0;display:grid;place-items:center;position:relative;border:1px solid #86d8c644;border-radius:24px;background:linear-gradient(135deg,#64cdb925,#64cdb904);color:#96e6cf;box-shadow:inset 0 1px 0 #ffffff15;animation:collectionFloat 6s ease-in-out infinite}
.collection-intro-icon>.ui-icon{width:43px;height:43px;stroke-width:1.3}
.collection-intro-icon>span{position:absolute;right:-8px;top:-13px;font-size:28px;color:#d8b875;animation:starTurn 18s linear infinite}
.orbit-ring{position:absolute;inset:-11px;border:1px dashed #83cfbc40;border-radius:50%;animation:starTurn 35s linear infinite}
/* Images occupy their own area; all editorial copy sits beneath. */
.collection-grid{gap:24px;align-items:stretch}
.collection-grid .collection-card{height:auto;display:flex;flex-direction:column;padding:0;text-align:left;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:15px;overflow:hidden;isolation:isolate;box-shadow:0 5px 22px #12362b08;transition:transform .3s,box-shadow .3s,border-color .3s}
.collection-grid .collection-card:after{display:none}
.collection-grid .collection-card>img{position:relative;inset:auto;z-index:auto;display:block;width:100%;height:225px;object-fit:cover;transition:filter .5s;transform:none}
.collection-grid .collection-card:hover>img{transform:none;filter:saturate(1.12) brightness(1.05)}
.collection-grid .collection-copy{position:relative;inset:auto;flex:1;display:flex;flex-direction:column;width:100%;padding:25px 26px 21px;box-sizing:border-box;background:var(--surface);border-top:3px solid var(--teal)}
.collection-grid .collection-card:nth-child(2) .collection-copy{border-color:#b29462}
.collection-grid .collection-card:nth-child(3) .collection-copy{border-color:#9680b5}
.collection-grid .collection-copy>span{color:var(--teal);font-size:9px;letter-spacing:1.7px}
.collection-grid .collection-copy h3{font-size:30px;line-height:1.2;margin:12px 0;color:var(--ink);letter-spacing:-.6px}
.collection-grid .collection-copy p{font-size:13px;line-height:1.8;color:var(--muted);max-width:none;margin:0 0 20px}
.collection-grid .collection-meta{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}
.collection-grid .collection-meta b{width:35px;height:35px;border:1px solid color-mix(in srgb,var(--teal) 25%,transparent);border-radius:10px;background:color-mix(in srgb,var(--teal) 8%,var(--surface));color:var(--teal);transition:background .3s,transform .3s}
.collection-grid .collection-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--teal) 45%,var(--line));box-shadow:0 18px 35px #12362b14}
.collection-grid .collection-card:hover .collection-meta b{transform:translate(2px,-2px);background:var(--teal);color:var(--surface)}
@keyframes collectionFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes collectionBreathe{0%,100%{opacity:.5;transform:scale(.98)}50%{opacity:1;transform:scale(1.04)}}
@media(max-width:1050px){.collections .collection-intro{padding:28px;gap:24px}.collection-intro .collection-label{display:none}.collections .collection-intro h2{font-size:35px}.collection-grid .collection-copy{padding:20px}.collection-grid .collection-copy h3{font-size:25px}.collection-grid .collection-card>img{height:185px}}
@media(max-width:760px){.category-list :is(button,a){width:auto}.collections .collection-intro{gap:18px;padding:27px 22px;align-items:flex-start;flex-direction:column}.collection-intro-icon{width:58px;height:58px;border-radius:17px}.collection-intro-icon>.ui-icon{width:30px;height:30px}.collections .collection-intro h2{font-size:33px}.collections .collection-intro p{font-size:12px}.collection-grid .collection-card>img{height:210px}.collection-grid .collection-copy h3{font-size:29px}}
@media(prefers-reduced-motion:reduce){.collection-intro-icon,.collection-intro-icon>span,.orbit-ring,.collection-intro:after{animation:none!important}.collection-grid .collection-card:hover{transform:none}}
/* Header navigation and the centered category popup. */
.header-inner{gap:30px}.desktop-nav{gap:4px}.desktop-nav>a,.desktop-nav>.nav-button,.desktop-nav>.nav-category{padding:0 12px;white-space:nowrap;font-size:13px}
#libraryButton{position:relative}#libraryButton .count{position:absolute;top:-5px;right:-5px;min-width:16px;height:16px;font-size:9px;display:grid;place-items:center;border:1px solid #4cb8a54d}
.category-dialog.mega-menu {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(864px, calc(100% - 32px));
  max-width: none;
  max-height: min(86vh, calc(100dvh - 24px));
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid #72cbb953;
  border-radius: 22px;
  background: radial-gradient(ellipse at top right, #24505a70, transparent 62%), #102936;
  color: #e8f4ee;
  box-shadow: 0 28px 90px #001019b0, inset 0 1px #d3fff112;
  overflow-y: auto;
  box-sizing: border-box;
}
.category-dialog:not([open]) { display: none; }
.category-dialog[open] { display: grid; animation: modalIn .28s ease-out; }
.category-dialog::backdrop { background: #04151fbd; backdrop-filter: blur(8px); }
.category-dialog .dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #80c8b650;
  border-radius: 11px;
  background: #1c3f4a;
  color: #d6f3ea;
  font-size: 0;
  line-height: 0;
  box-shadow: none;
}
.category-dialog .dialog-close::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 6 12 12M18 6 6 18' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.category-dialog .dialog-close:hover { background: #2a5560; color: #fff; transform: none; }
.category-dialog .mega-intro {
  padding: 28px 22px;
  border: 1px solid #91ded227;
  border-radius: 15px;
  background:
    linear-gradient(90deg, #9be8d70a 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(#9be8d70a 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at top right, #206359, transparent 75%), #143540;
}
.category-dialog .mega-intro > .ui-icon {
  box-sizing: content-box;
  padding: 9px;
  border: 1px solid #9cebd836;
  border-radius: 12px;
  background: #1029368c;
  margin-bottom: 20px;
}
.category-dialog .mega-intro > span { font-size: 9px; }
.category-dialog .mega-intro h3 { font-size: clamp(30px, 3.3vw, 38px); }
.category-dialog .mega-intro p { color: #bbd6d8; font-size: 12px; }
.category-dialog .mega-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 39px;
  gap: 10px;
}
.category-dialog .mega-categories :is(button,a) {
  min-height: 70px;
  padding: 12px;
  border-color: #8fc6b82f;
  border-radius: 12px;
  background: #ffffff07;
  color: #edf8f5;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.category-dialog .mega-categories :is(button,a)::after { width: 67%; opacity: .34; }
.category-dialog .mega-categories :is(button,a):is(:hover,:focus-visible) {
  border-color: #73ccb7a0;
  background: #63cdb01d;
}
.category-dialog .mega-categories :is(button,a):is(:hover,:focus-visible)::after { opacity: .53; }
.category-dialog :is(.dialog-close, .mega-categories a, .mega-categories button):focus-visible {
  outline: 2px solid #8be4ce;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .category-dialog[open] { animation: none; }
  .category-dialog :is(.dialog-close, .mega-categories a, .mega-categories button) { transition: none; }
}
/* Editorial cover for the featured feed. */
.article-section>.featured-intro{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:21px;min-height:168px;padding:25px 27px!important;border:1px solid #4e91814d;border-radius:12px;margin-bottom:22px;background:#102c38;color:#edf5ed;box-sizing:border-box}
.featured-intro:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#102c38 20%,#102c38e6 50%,#102c3880),url('../images/galaxy.jpg') right center/cover;opacity:.9}
.featured-intro:after{content:'';position:absolute;right:-25px;top:-95px;width:300px;height:300px;border:1px solid #8be3cf33;border-radius:50%;box-shadow:0 0 0 32px #8be3cf07;z-index:-1;animation:collectionBreathe 7s ease-in-out infinite;pointer-events:none}
.featured-intro .small-eyebrow{color:#8bd9c7;font-size:8px}
.featured-intro #feedTitle{font-size:34px;color:#f6f5ed;letter-spacing:-.7px;line-height:1.15;margin:8px 0}
.featured-intro-copy{min-width:0;flex:1}
.featured-intro-copy>p{font-size:12px;line-height:1.8;color:#bed4d3;margin:0;max-width:520px}
.featured-intro-icon{position:relative;display:grid;place-items:center;flex-shrink:0;width:64px;height:64px;border:1px solid #77d6c04d;border-radius:19px;background:#8bdac510;color:#8ce3ca;animation:collectionFloat 6s ease-in-out infinite}
.featured-intro-icon>.ui-icon{width:33px;height:33px;stroke-width:1.4}
.featured-intro-icon>span{position:absolute;right:-7px;top:-10px;font-size:23px;color:#dfbc78;animation:starTurn 20s linear infinite}
.featured-intro>#showAll{flex-shrink:0;align-self:flex-end;color:#a0ead7;background:#9edac410;border-color:#86d5bf40;white-space:nowrap}
.featured-intro>#showAll:hover{background:#5dc9ad25;border-color:#86d5bf80}
@media(min-width:1051px){.article-section>.featured-intro{margin:0;min-height:168px}.article-section>.filter-status{transform:none;align-self:end;background:#123b3b;color:#b8eee0;margin:0 10px 3px}}
@media(max-width:1300px){.header-inner{gap:18px}.desktop-nav>a,.desktop-nav>.nav-button,.desktop-nav>.nav-category{padding:0 8px;font-size:11px;gap:6px}.featured-intro #feedTitle{font-size:28px}.article-section>.featured-intro{padding:22px!important;gap:15px}.featured-intro-icon{width:48px;height:48px}.featured-intro>#showAll{font-size:10px;padding:8px}}
@media(max-width:1050px){.header-actions .login-trigger,.header-actions .signup-trigger{display:none}.desktop-nav .ui-icon{display:none}.featured-intro>#showAll{position:absolute;right:16px;top:14px}.featured-intro-copy{padding-top:10px}}
@media(max-width:760px){.category-dialog.mega-menu{grid-template-columns:minmax(0,1fr);padding:14px;gap:12px}.category-dialog .mega-intro{padding:18px 52px 18px 18px}.category-dialog .mega-intro>.ui-icon{margin-bottom:12px;width:27px;height:27px}.category-dialog .mega-intro h3{font-size:27px;margin:10px 0}.category-dialog .mega-intro p{margin:0}.category-dialog .mega-categories{padding-top:0;gap:8px}.category-dialog .mega-categories :is(button,a){min-height:56px;padding:12px 9px;font-size:12px}.article-section>.featured-intro{gap:16px;align-items:flex-start;min-height:195px;padding:24px 18px!important}.featured-intro-icon{width:42px;height:42px;margin-top:16px;border-radius:13px}.featured-intro-icon>.ui-icon{width:25px;height:25px}.featured-intro #feedTitle{font-size:27px;margin-top:12px}.featured-intro .small-eyebrow{font-size:7px}.featured-intro-copy>p{font-size:11px}.featured-intro>#showAll{top:auto;bottom:13px;right:15px;padding:5px 8px}.featured-intro-copy{padding-bottom:22px}.header-actions{gap:7px}.header .icon-button#libraryButton{width:32px;height:35px}}
@media(prefers-reduced-motion:reduce){.featured-intro-icon,.featured-intro-icon>span,.featured-intro:after{animation:none!important}}
/* Mobile app invitation — ink, mint and warm metallic accents. */
.app-promo{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:115px minmax(260px,1fr) minmax(420px,1.2fr);align-items:center;gap:32px;margin:32px 0 36px;padding:38px 42px;border:1px solid #6ba99a3d;border-radius:15px;background:linear-gradient(110deg,#0b2936,#163745);color:#eef6ed;box-shadow:inset 0 1px 0 #c6ffee0b,0 12px 35px #102b3410}
.app-promo:before{content:'';position:absolute;right:-80px;top:-230px;width:600px;height:600px;border:1px solid #88d6c31c;box-shadow:0 0 0 45px #88d6c307,0 0 0 90px #88d6c304;border-radius:50%;z-index:-1;animation:collectionBreathe 8s ease-in-out infinite}
.app-promo-glow{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 12% 70%,#22b89b20,transparent 48%);pointer-events:none}
.app-phone{position:relative;display:flex;flex-direction:column;align-items:center;width:78px;height:138px;padding:23px 9px 12px;border:2px solid #7fcfbd8c;border-radius:17px;background:linear-gradient(145deg,#1b4a50,#0b212e);box-shadow:8px 12px 0 #061a254d,0 0 35px #4ed6ae12;transform:rotate(-8deg);animation:appPhoneFloat 6s ease-in-out infinite}
.phone-speaker{position:absolute;top:7px;left:26px;width:23px;height:4px;border-radius:5px;background:#87cdb37a}
.app-phone img{width:34px;height:34px}.app-phone>span{font:700 12px var(--serif);margin:5px 0 9px;color:#c7eee0}
.app-phone>i{display:block;width:45px;height:3px;border-radius:3px;background:#8dc8ba38;margin:3px 0}.app-phone>i:last-of-type{width:30px}
.app-phone>b{position:absolute;right:-20px;top:15px;color:#e2bc72;font-size:27px;animation:starTurn 22s linear infinite;font-weight:400}
.app-promo .eyebrow{font-size:8px;letter-spacing:2px;color:#84d9c4}
.app-promo h2{font-size:36px;line-height:1.15;letter-spacing:-.6px;margin:11px 0 13px;color:#f3f5eb}.app-promo h2 em{font-weight:400;color:#8adeca}
.app-promo-copy>p{font-size:12px;line-height:1.8;color:#b6cece;margin:0}
.app-promo-tags{display:flex;flex-wrap:wrap;gap:16px;margin-top:17px;font-size:9px;color:#8fc0b4}
.app-stores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:center}
.store-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:10px;min-height:88px;padding:15px 13px 25px;text-align:left;border:1px solid #96ccbd40;border-radius:10px;background:linear-gradient(135deg,#ffffff09,#ffffff02);color:#f3f7ef;transition:transform .3s,border-color .3s,box-shadow .3s,background .3s}
.store-card>svg{width:27px;height:32px;flex-shrink:0}.store-card>span:not(.store-status){min-width:0}.store-card small{display:block;font-size:7px;letter-spacing:.6px;color:#a4c5c0;white-space:nowrap;margin-bottom:5px}.store-card strong{display:block;font-size:15px;font-weight:650;white-space:nowrap;letter-spacing:-.3px}
.store-status{position:absolute;right:12px;bottom:8px;color:#9dcebf;font-size:8px;letter-spacing:.3px}
.store-card:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,transparent 20%,#c9fff014 45%,transparent 70%);transform:translateX(-110%);transition:transform .7s}
.store-card:hover,.store-card:focus-visible{transform:translateY(-4px);border-color:#85d9be9c;background:#93ebcb0d;box-shadow:0 9px 24px #00182040}.store-card:hover:after,.store-card:focus-visible:after{transform:translateX(110%)}
.app-release-note{grid-column:1/-1;display:flex;gap:7px;align-items:center;justify-content:center;font-size:9px;color:#8db0ac;margin:3px 0 0}.app-release-note>span{width:5px;height:5px;border-radius:50%;background:#82cbb5;box-shadow:0 0 8px #65d6af55}
.footer{padding-top:0}.footer-top{padding-top:35px}
@keyframes appPhoneFloat{0%,100%{transform:rotate(-8deg) translateY(0)}50%{transform:rotate(-4deg) translateY(-7px)}}
@media(max-width:1250px){.app-promo{grid-template-columns:90px minmax(0,1fr);gap:25px;padding:30px}.app-stores{grid-column:1/-1;max-width:680px;width:100%;justify-self:center}.app-promo h2{font-size:34px}.store-card{min-height:80px;justify-content:center}.app-promo-copy>p br{display:none}}
@media(max-width:760px){.app-promo{grid-template-columns:65px minmax(0,1fr);gap:18px;padding:27px 20px;margin:28px 0}.app-phone{width:55px;height:105px;padding:21px 6px 9px;border-radius:13px}.phone-speaker{left:17px;width:18px}.app-phone img{width:26px;height:26px}.app-phone>span{font-size:10px;margin:4px 0}.app-phone>i{width:32px;height:2px}.app-phone>b{font-size:22px;right:-13px}.app-promo h2{font-size:29px;margin:10px 0}.app-promo-copy>p{font-size:11px}.app-promo-tags{gap:8px;font-size:8px;margin-top:12px}.app-stores{gap:8px}.store-card{min-height:91px;flex-direction:column;gap:7px;justify-content:flex-start;padding:11px 5px 22px;text-align:center}.store-card>svg{width:23px;height:25px}.store-card strong{font-size:12px}.store-card small{font-size:6px;letter-spacing:.3px;margin-bottom:4px}.store-status{right:0;left:0;bottom:7px;font-size:7px}.app-release-note{font-size:8px;margin-top:5px}}
@media(prefers-reduced-motion:reduce){.app-phone,.app-phone>b,.app-promo:before{animation:none!important}.store-card:hover{transform:none}}

:root[data-theme=dark]{--bg:#101f29;--surface:#142935;--line:#2c424c;--teal:#39c9b3}
/* Compact, consistently aligned store badges. */
.app-promo{grid-template-columns:100px minmax(280px,1fr) auto;gap:28px;padding:30px 38px}
.app-stores{display:grid;grid-template-columns:repeat(3,158px);gap:12px;align-items:center;justify-content:end;justify-self:end;max-width:none;width:auto}
.store-card{width:158px;height:62px;min-height:62px;box-sizing:border-box;flex-direction:row;justify-content:flex-start;gap:10px;padding:10px 12px;text-align:left;border-radius:9px}
.store-card>svg{width:23px;height:27px}.store-card small{font-size:6px;letter-spacing:.5px;margin-bottom:4px}.store-card strong{font-size:13px;line-height:1.2}.store-status{display:none}
.app-promo h2{margin:10px 0 12px}.app-promo-copy>p{margin:0}
@media(max-width:1250px){.app-promo{grid-template-columns:80px minmax(0,1fr);gap:22px;padding:28px 30px}.app-stores{grid-column:2;justify-self:start;justify-content:start;grid-template-columns:repeat(3,148px);gap:10px;margin-top:0}.store-card{width:148px;height:60px;min-height:60px}.app-phone{grid-row:1 / 3;align-self:center}}
@media(max-width:760px){.app-promo{grid-template-columns:60px minmax(0,1fr);gap:18px;padding:25px 20px}.app-phone{grid-row:1}.app-stores{grid-column:1/-1;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;justify-self:stretch}.store-card{width:100%;height:65px;min-height:65px;flex-direction:column;justify-content:center;gap:4px;padding:7px 4px;text-align:center}.store-card>svg{width:20px;height:22px}.store-card strong{font-size:11px;letter-spacing:-.2px}.store-card small{display:none}.app-promo h2{font-size:28px}}
/* Community statistics with matching mint hover states. */
.hero-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:16px;padding-bottom:16px}
.hero-stats>div,.hero-stats>div:first-child{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:70px;padding:13px 20px;gap:16px;border:1px solid #89c9b91c;border-radius:9px;background:#8adbc403;box-sizing:border-box;transition:background .25s,border-color .25s,box-shadow .25s}
.hero-stats>div:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent,#b9ffeb0c,transparent);transform:translateX(-110%);transition:transform .65s}
.hero-stats>div:hover{background:#65d4b810;border-color:#8adbc45c;box-shadow:inset 0 1px 0 #b1ffe812,0 5px 18px #001b2720}
.hero-stats>div:hover:after{transform:translateX(110%)}
.hero-stats .stat-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #8adbc426;border-radius:10px;background:#8adbc407;transition:background .25s,transform .25s;color:#81d9c7}
.hero-stats .stat-icon .ui-icon{width:25px;height:25px;stroke-width:1.5}
.hero-stats>div:hover .stat-icon{background:#8adbc418;transform:translateY(-2px)}
.hero-stats p{min-width:0;margin:0}.hero-stats strong{display:block;font-size:19px;line-height:1.3;color:#edf6f0}.hero-stats p>span{display:block;font-size:11px;color:#aac5c9;margin-top:4px;line-height:1.4}
@media(max-width:760px){.hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:14px;padding-bottom:14px}.hero-stats>div,.hero-stats>div:first-child,.hero-stats>div:nth-child(even){padding:12px 10px;gap:10px;border:1px solid #89c9b91c;min-height:79px}.hero-stats .stat-icon{width:32px;height:32px;border-radius:8px}.hero-stats .stat-icon .ui-icon{width:21px;height:21px}.hero-stats strong{font-size:17px}.hero-stats p>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hero-stats>div:after{transition:none}.hero-stats>div:hover .stat-icon{transform:none}}

/* dle.css */
.bp-layout { display: grid; grid-template-columns: minmax(170px, 218px) minmax(0, 1fr); gap: clamp(18px, 2.1vw, 34px); }
.bp-layout.bp-wide { display: block; max-width: 1000px; margin-inline: auto; }
.bp-feed, .bp-aside, .left-sidebar { min-width: 0; }
.bp-card-feed { display: grid; gap: clamp(14px, 2vw, 23px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-card-feed > :not(.bp-story) { grid-column: 1 / -1; min-width: 0; }
.bp-story { min-width: 0; display: flex; flex-direction: column; background: var(--surface); }
.bp-inner .bp-story .bp-card-image { height: auto; aspect-ratio: 16 / 9; }
.bp-breadcrumb {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 9px 14px 9px 45px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(105deg, color-mix(in srgb, var(--teal) 9%, var(--surface)), var(--surface) 210px);
  box-shadow: inset 3px 0 0 var(--teal), 0 3px 12px #0619240a;
  color: var(--ink);
  font-size: 13px;
  line-height: 24px;
  overflow-wrap: anywhere;
}
.bp-breadcrumb:empty { display: none; }
.bp-breadcrumb::before,
.bp-breadcrumb::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.bp-breadcrumb::before {
  top: 9px;
  left: 13px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.bp-breadcrumb::after {
  top: 13px;
  left: 17px;
  width: 16px;
  height: 16px;
  background: var(--teal);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 10 9-7 9 7M5 9v11h5v-5h4v5h5V9' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bp-breadcrumb a {
  padding: 3px 5px;
  border-radius: 5px;
  color: var(--teal);
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.bp-breadcrumb a:hover,
.bp-breadcrumb a:focus-visible { background-color: color-mix(in srgb, var(--teal) 12%, transparent); }
.bp-breadcrumb a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .bp-breadcrumb { animation: bp-breadcrumb-enter .45s cubic-bezier(.2,.7,.25,1) both; }
  .bp-breadcrumb a { transition: background-color .2s ease; }
}
@keyframes bp-breadcrumb-enter {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
.bp-panel, .bp-reading, .bp-comments, .bp-related {
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(18px, 4vw, 44px); overflow-wrap: anywhere;
}
.bp-panel h1, .bp-reading h1 { font-size: clamp(31px, 5.5vw, 60px); line-height: 1.05; margin: 9px 0 20px; }
.bp-panel h2, .bp-comments h2, .bp-related h2 { font-size: clamp(22px, 3vw, 30px); margin: 7px 0 14px; }
.bp-info { margin-bottom: 20px; }
.bp-reading-meta, .bp-reading-extra { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 13px; }
.bp-reading-meta a, .bp-reading-extra a, .bp-comment a { color: var(--teal); }
.container.main.bp-full-page { padding: 0; }
.bp-full-layout {
  --bp-full-gutter: 28px;
  --bp-full-sidebar: 250px;
  --bp-full-gap: 25px;
  display: grid;
  grid-template-columns: var(--bp-full-gutter) var(--bp-full-sidebar) var(--bp-full-gap) minmax(0, 1fr) var(--bp-full-gutter);
  grid-template-areas:
    "hero hero hero hero hero"
    ". trail trail trail ."
    ". sidebar . reading .";
  align-items: start;
  row-gap: 22px;
}
.bp-full-layout > #dle-content { display: contents; }
.bp-full-trail { grid-area: trail; }
.bp-full-trail .bp-breadcrumb { margin-bottom: 0; }
.bp-full-layout:has(> .bp-full-trail:is([hidden], :empty)) {
  grid-template-areas:
    "hero hero hero hero hero"
    ". sidebar . reading .";
}
.bp-reading-hero .bp-breadcrumb,
.bp-static-hero .bp-breadcrumb,
.bp-feedback-intro .bp-breadcrumb,
.bp-favorites-hero .bp-breadcrumb {
  --teal: #7edcd0;
  --surface: #142d3b;
  --ink: #e1edf1;
  --line: #7edcd04d;
  margin: 14px 0 0;
}
.bp-full-sidebar {
  grid-area: sidebar;
  min-width: 0;
}
.bp-full-sidebar .bp-vote-slot { margin-top: 16px; }
@media (min-width: 761px) {
  .bp-full-sidebar { align-self: stretch; }
  .bp-full-sidebar .bp-vote-slot {
    position: sticky;
    top: 106px;
    max-height: calc(100dvh - 122px);
    overflow-y: auto;
  }
}
.bp-full-reading {
  grid-area: reading;
  min-width: 0;
}
.bp-full-reading > .bp-reading { min-width: 0; }
.bp-reading-hero {
  --bp-hero-bg: #0d2232;
  grid-area: hero;
  display: flex;
  min-height: clamp(360px, 30vw, 520px);
  overflow: hidden;
  color: #f5faf9;
  background-color: var(--bp-hero-bg);
  background-image:
    linear-gradient(#73cfc509 1px, transparent 1px),
    linear-gradient(90deg, #73cfc509 1px, transparent 1px);
  background-size: 60px 60px;
}
.bp-reading-hero-copy {
  flex: 1;
  min-width: 0;
  align-self: center;
  padding: clamp(28px, 4vw, 62px) var(--bp-full-gutter) clamp(28px, 4vw, 62px) calc(var(--bp-full-gutter) + 20px);
}
.bp-reading-hero .bp-category-label {
  color: #7edcd0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bp-reading-hero .bp-category-label a,
.bp-reading-hero .bp-reading-meta a { color: #7edcd0; }
.bp-reading-hero h1 {
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 76px);
  overflow-wrap: anywhere;
  line-height: 1.06;
  margin: 12px 0 18px;
}
.bp-reading-hero .bp-reading-meta { gap: 8px; color: #d6e6ea; }
.bp-reading-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid #87ddd133;
  border-radius: 9px;
  background: #b2eceb0b;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.bp-reading-meta-item:empty { display: none; }
.bp-reading-meta-item .ui-icon {
  flex: none;
  width: 15px;
  height: 15px;
  color: #7edcd0;
}
.bp-reading-meta-author {
  color: #a7eee4;
  font-weight: 700;
  background: linear-gradient(135deg, #53dcc32b, #53dcc30a);
  border-color: #87ddd155;
}
.bp-reading-meta-edit { padding: 0; }
.bp-reading-meta-edit a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 11px;
  border-radius: inherit;
}
.bp-reading-meta .bp-favorite { padding: 0 1px; }
.bp-reading-meta-item:focus-within {
  border-color: #7edcd0;
  box-shadow: 0 0 0 2px #7edcd02b;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bp-reading-meta-item:hover {
    border-color: #87ddd180;
    background-color: #87ddd123;
    box-shadow: 0 5px 16px #04141e66;
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bp-reading-meta-item { transition: none; }
}
.bp-reading-hero-art {
  position: relative;
  flex: 0 0 49%;
  min-width: 0;
}
.bp-reading-hero-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 23%);
}
@media (min-width: 1600px) {
  .bp-full-layout { --bp-full-gutter: 32px; --bp-full-sidebar: 280px; --bp-full-gap: 30px; }
}
@media (max-width: 1180px) {
  .bp-full-layout { --bp-full-sidebar: 210px; --bp-full-gap: 20px; }
}
@media (max-width: 760px) {
  .bp-full-layout {
    --bp-full-gutter: 16px;
    grid-template-columns: var(--bp-full-gutter) minmax(0, 1fr) var(--bp-full-gutter);
    grid-template-areas: "hero hero hero" ". trail ." ". reading ." ". sidebar .";
    row-gap: 16px;
  }
  .bp-reading-hero { flex-direction: column; min-height: 0; }
  .bp-full-layout:has(> .bp-full-trail:is([hidden], :empty)) {
    grid-template-areas: "hero hero hero" ". reading ." ". sidebar .";
  }
  .bp-reading-hero-copy { align-self: stretch; padding: 28px var(--bp-full-gutter); }
  .bp-reading-hero-art { flex: none; height: clamp(160px, 56vw, 340px); }
  .bp-reading-hero-art img { mask-image: linear-gradient(180deg, transparent, #000 19%); }
}
.bp-static-page .bp-full-layout {
  --bp-full-gutter: 0px;
  grid-template-areas:
    ". trail trail trail ."
    ". hero hero hero ."
    ". sidebar . reading .";
  padding-bottom: clamp(20px, 3vw, 36px);
}
.bp-static-page .bp-full-layout:has(> .bp-full-trail:is([hidden], :empty)) {
  grid-template-areas: ". hero hero hero ." ". sidebar . reading .";
}
.bp-static-hero {
  grid-area: hero;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: clamp(230px, 22vw, 360px);
  overflow: hidden;
  border: 1px solid #76d5c73d;
  border-radius: 18px;
  background: #0d2232;
  color: #f5faf9;
  box-shadow: 0 12px 30px #06192424;
}
.bp-static-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  display: block;
  width: 65%;
  height: 100%;
  object-fit: cover;
}
.bp-static-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #82e0d00a 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(#82e0d00a 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, #0d2232 32%, #0d2232e6 50%, #0d223228 100%);
}
.bp-static-hero-copy {
  width: 100%;
  max-width: min(76%, 850px);
  padding: clamp(24px, 4vw, 60px);
  overflow-wrap: anywhere;
}
.bp-static-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid #7edcd04d;
  border-radius: 999px;
  background: #133b45;
  color: #a7eee4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}
.bp-static-hero-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7edcd0;
  box-shadow: 0 0 9px #7edcd09c;
}
.bp-static-hero h1 {
  margin: 14px 0 0;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.06;
}
@media (prefers-reduced-motion: no-preference) {
  .bp-static-hero-copy { animation: bp-breadcrumb-enter .52s cubic-bezier(.2,.7,.25,1) both; }
  .bp-static-hero-image { animation: bp-static-image-enter .8s ease-out both; }
}
@keyframes bp-static-image-enter {
  from { opacity: .55; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 760px) {
  .bp-static-page .bp-full-layout {
    grid-template-areas: ". trail ." ". hero ." ". reading ." ". sidebar .";
  }
  .bp-static-page .bp-full-layout:has(> .bp-full-trail:is([hidden], :empty)) {
    grid-template-areas: ". hero ." ". reading ." ". sidebar .";
  }
  .bp-static-hero { min-height: 215px; }
  .bp-static-hero-copy { max-width: 100%; }
  .bp-static-hero::before { background: linear-gradient(90deg, #0d2232 29%, #0d2232c9 70%, #0d22326b); }
}
.bp-static-reading > .bp-reading-extra {
  max-width: none;
  margin-inline: 0;
}
.bp-prose { max-width: 76ch; margin: 20px auto 0; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.78; }
.bp-full-reading > .bp-reading > .bp-prose, .bp-static-reading > .bp-prose {
  max-width: none;
  margin-inline: 0;
  text-align: justify;
  hyphens: auto;
}
.bp-full-reading > .bp-reading > .bp-prose :is(h1, h2, h3, h4, h5, h6, pre, figcaption),
.bp-static-reading > .bp-prose :is(h1, h2, h3, h4, h5, h6, pre, figcaption) {
  text-align: start;
  hyphens: manual;
}
.bp-prose a { color: var(--teal); text-decoration: underline; }
.bp-prose p, .bp-prose blockquote, .bp-prose ul, .bp-prose ol, .bp-prose h2, .bp-prose h3 { margin-block: 0 1em; }
.bp-prose ul, .bp-prose ol { padding-inline-start: 1.5em; }
.bp-prose img, .bp-prose iframe, .bp-prose video { max-width: 100%; }
.bp-prose img { width: auto; height: auto; border-radius: 10px; }
.bp-prose iframe { border: 0; }
.bp-prose pre, .bp-table { overflow: auto; max-width: 100%; }
.bp-reading-extra { margin: 24px auto 0; max-width: 106ch; }
.bp-reading-extra > form { flex-basis: 100%; }
.bp-related, .bp-comments, #dle-comments-form > .bp-panel { margin-top: 22px; }
.bp-related ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 10px; list-style: none; }
.bp-related a { display: grid; grid-template-columns: 75px 1fr auto; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 8px; }
.bp-related img { width: 75px; height: 52px; border-radius: 6px; object-fit: cover; }
.bp-comment { margin: 12px 0; padding: 15px; border-radius: 13px; border: 1px solid var(--line); background: var(--bg); }
.bp-comment header { display: flex; align-items: center; gap: 10px; }
.bp-comment header img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.bp-comment header small { display: block; color: var(--muted); }
.bp-comment .bp-prose { margin: 12px 0; font-size: 15px; }
.bp-comment footer { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }
.bp-form { display: grid; gap: 14px; }
.bp-form h1, .bp-form h2 { margin-bottom: 8px; }
.bp-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.bp-form label, .bp-account-panel label { display: grid; gap: 5px; min-width: 0; font-size: 14px; font-weight: 600; }
.bp-form :is(input:not([type=checkbox],[type=radio],[type=hidden]), textarea, select), .bp-account-panel input:not([type=checkbox]) {
  display: block; width: 100%; max-width: 100%; min-width: 0; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--ink);
  font: inherit;
}
.bp-form :is(input[type=checkbox], input[type=radio]), .bp-check input { accent-color: #008f86; }
.bp-form label.form-check-label, .bp-account-panel .bp-check { display: flex; align-items: center; gap: 8px; }
.bp-form > .button { justify-self: start; }
.bp-profile-image { display: block; width: 80px; height: 80px; margin-bottom: 15px; border-radius: 50%; }
.bp-profile-edit { margin-top: 20px; }
.bp-profile-edit > summary { color: var(--teal); cursor: pointer; font-weight: 700; }
.bp-profile-edit > summary + * { margin-top: 12px; }
.bp-profile-edit .bp-check { display: flex; }
.bp-form .outline { color: var(--teal); border: 1px solid var(--line); }
.bp-form-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; }
.bp-form-row[hidden] { display: none; }
.poll-card .bp-form-row .button { width: auto; margin: 0; }
.poll-card .bp-form-row { margin-top: 14px; }
.bp-poll-status { font-size: 13px; }
.pollprogress, .voteprogress { background: var(--bg); margin: 6px 0 12px; border-radius: 8px; overflow: hidden; }
.pollprogress span, .voteprogress span { display: block; background: #08766e; color: white; font-size: 11px; min-width: max-content; padding: 2px 6px; }
.bp-pagination, .bp-pagination > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bp-pagination > :is(a,span), .bp-pagination > div > :is(a,span) { padding: 7px 11px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; color: var(--teal); }
.bp-pagination > span, .bp-pagination > div > span { color: var(--muted); background: var(--bp-tint); }
.bp-search-result { padding: 20px; }
.bp-search-result p { margin-bottom: 10px; color: var(--muted); }
.bp-stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,155px),1fr)); gap: 12px; margin: 22px 0; }
.bp-stat-grid > div { padding: 16px; background: var(--bp-tint); border-radius: 12px; }
.bp-stat-grid dd { margin: 6px 0 0; font: 700 32px/1.1 var(--serif); color: var(--teal); }
.bp-tags a { display: inline-block; padding: 4px 8px; margin: 3px; border-radius: 6px; background: var(--bp-tint); }
[data-reveal] { transition: opacity .58s ease, translate .58s cubic-bezier(.2,.65,.3,1); }
.bp-await-reveal { opacity: 0; translate: 0 15px; }
@keyframes bp-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bp-fade { from { opacity: 0; } to { opacity: 1; } }
@media(max-width:760px) { .bp-layout { grid-template-columns: minmax(0,1fr); } }
@media(max-width:460px) { .bp-card-feed { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .bp-await-reveal { opacity: 1; translate: none; }
}

.bp-feedback-page .bp-full-layout {
  --bp-full-gutter: 0px;
  grid-template-areas: ". trail trail trail ." ". sidebar . reading .";
  padding-bottom: clamp(24px, 4vw, 52px);
}
.bp-feedback-page .bp-full-layout:has(> .bp-full-trail:is([hidden], :empty)) {
  grid-template-areas: ". sidebar . reading .";
}
.bp-feedback-page .bp-full-layout > #dle-content {
  display: block;
  grid-area: reading;
  min-width: 0;
}
.bp-feedback {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 12px 32px #071c2612;
}
.bp-feedback-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 4.3vw, 56px);
  padding-inline-end: clamp(78px, 18vw, 200px);
  border-radius: 17px 17px 0 0;
  background:
    linear-gradient(90deg, #a0ede10a 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(#a0ede10a 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at 91% 25%, #20555c, transparent 56%), #102936;
  color: #f2f9f8;
  overflow-wrap: anywhere;
}
.bp-feedback-kicker { color: #9aeadd; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.bp-feedback-intro h1 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: clamp(31px, 4.4vw, 62px);
  line-height: 1.05;
}
.bp-feedback-intro h1 span { color: #86e2d3; }
.bp-feedback-intro p { color: #c5dde0; line-height: 1.6; }
.bp-feedback-emblem {
  position: absolute;
  inset-inline-end: clamp(16px, 4vw, 56px);
  inset-block-start: 50%;
  display: grid;
  place-items: center;
  width: clamp(44px, 10vw, 132px);
  aspect-ratio: 1;
  border: 1px solid #99e8db59;
  border-radius: 24%;
  background: linear-gradient(145deg, #9be8d822, #a9eee405);
  box-shadow: 0 8px 36px #031e2866, inset 0 1px #b9f8e442;
  color: #92e8d9;
  transform: translateY(-50%) rotate(-9deg);
  pointer-events: none;
}
.bp-feedback-emblem .ui-icon { width: 51%; height: 51%; }
.bp-feedback-fields {
  max-width: 980px;
  padding: clamp(16px, 4vw, 48px);
  gap: 17px;
}
.bp-feedback-fields label { gap: 7px; }
.bp-feedback-fields label:focus-within { color: var(--teal); }
.bp-feedback-control {
  position: relative;
  display: block;
  min-width: 0;
}
.bp-feedback-control .ui-icon {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--teal) 11%, var(--surface));
  color: var(--teal);
  pointer-events: none;
}
.bp-feedback-control:focus-within .ui-icon {
  background: color-mix(in srgb, var(--teal) 21%, var(--surface));
}
.bp-feedback-fields :is(input:not([type=hidden]), select, textarea) {
  min-height: 48px;
  padding-inline-start: 47px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 80%, var(--bg));
  color: var(--ink);
}
.bp-feedback-fields :is(input:not([type=hidden]), select, textarea):focus {
  border-color: var(--teal);
  background: var(--surface);
  outline: 2px solid color-mix(in srgb, var(--teal) 48%, transparent);
  outline-offset: 2px;
}
.bp-feedback-fields input[type=file] { min-height: 52px; }
.bp-feedback-fields textarea { resize: vertical; }
.bp-feedback-fields input[type=file]::file-selector-button {
  margin-inline-end: 9px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.bp-feedback-verification {
  display: grid;
  gap: 12px;
  justify-items: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.bp-feedback-code { max-width: 100%; }
.bp-feedback-code img { display: block; width: auto; max-width: 100%; height: auto; }
.bp-feedback-recaptcha { max-width: 100%; overflow-x: auto; }
.bp-feedback-fields .bp-feedback-send { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.bp-feedback-send .ui-icon { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .bp-feedback-intro :is(.bp-feedback-kicker, h1, p) { animation: bp-breadcrumb-enter .48s ease-out both; }
  .bp-feedback-intro p { animation-delay: .09s; }
  .bp-feedback-fields { animation: bp-enter .42s ease-out both; }
  .bp-feedback-fields :is(input, select, textarea) {
    transition: border-color .2s, background-color .2s, outline-color .2s;
  }
  .bp-feedback-control .ui-icon { transition: background-color .2s, transform .2s; }
  .bp-feedback-control:focus-within .ui-icon { transform: scale(1.12); }
  .bp-feedback-send .ui-icon { transition: translate .2s; }
  .bp-feedback-send:is(:hover, :focus-visible) .ui-icon { translate: 2px -2px; }
}
@media (max-width: 760px) {
  .bp-feedback-page .bp-full-layout { grid-template-areas: ". trail ." ". reading ." ". sidebar ."; }
  .bp-feedback-page .bp-full-layout:has(> .bp-full-trail:is([hidden], :empty)) { grid-template-areas: ". reading ." ". sidebar ."; }
}

.bp-feedback-illustration { display: none; }
@media (min-width: 1280px) {
  .bp-feedback-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 32%);
    align-items: start;
  }
  .bp-feedback-illustration {
    display: grid;
    place-items: center;
    align-self: start;
    justify-self: center;
    width: min(88%, 310px);
    aspect-ratio: 1;
    margin: clamp(55px, 9vw, 155px) 0 24px;
    border-radius: 50%;
    background:
      radial-gradient(circle, transparent 50%, color-mix(in srgb, var(--teal) 16%, transparent) 50.5% 50.8%, transparent 51.2%),
      radial-gradient(circle, color-mix(in srgb, var(--teal) 17%, transparent), transparent 70%);
  }
  .bp-feedback-illustration > span {
    display: grid;
    place-items: center;
    width: 44%;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--line));
    border-radius: 25%;
    background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--teal) 13%, var(--surface)));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--teal) 17%, transparent);
    color: var(--teal);
    transform: rotate(-9deg);
  }
  .bp-feedback-illustration .ui-icon { width: 52%; height: 52%; }
}
@media (min-width: 1280px) and (prefers-reduced-motion: no-preference) {
  .bp-feedback-illustration { animation: bp-enter .55s ease-out both; }
}

.bp-favorites-page .bp-layout { padding-bottom: clamp(22px, 4vw, 52px); }
.bp-favorites-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 54px);
  padding-inline-end: clamp(78px, 21vw, 250px);
  border: 1px solid #7edcd047;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #98eadc0a 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(#98eadc0a 1px, transparent 1px) 0 0 / 42px 42px,
    radial-gradient(ellipse at 92% 24%, #205963, transparent 58%), #102936;
  color: #f2f9f8;
  box-shadow: 0 12px 30px #071c261c;
  overflow-wrap: anywhere;
}
.bp-favorites-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9aeadd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.bp-favorites-kicker .ui-icon { width: 15px; height: 15px; }
.bp-favorites-hero h1 {
  margin: 10px 0;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(35px, 4.8vw, 70px);
  line-height: 1.05;
}
.bp-favorites-hero h1 span { color: #86e2d3; }
.bp-favorites-hero p { max-width: 55ch; color: #c5dde0; line-height: 1.6; }
.bp-favorites-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 40px;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid #99e8db58;
  border-radius: 9px;
  background: #8ae0d417;
  color: #c9fbf0;
  font-size: 13px;
  font-weight: 700;
}
.bp-favorites-explore .ui-icon { width: 15px; height: 15px; flex: none; }
.bp-favorites-explore:is(:hover, :focus-visible) { background: #8ae0d432; }
.bp-favorites-explore:focus-visible { outline: 2px solid #9aeadd; outline-offset: 3px; }
.bp-favorites-emblem {
  position: absolute;
  inset-inline-end: clamp(17px, 5vw, 68px);
  inset-block-start: 50%;
  display: grid;
  place-items: center;
  width: clamp(48px, 12vw, 160px);
  aspect-ratio: 1;
  border: 1px solid #99e8db5c;
  border-radius: 24%;
  background: linear-gradient(145deg, #9be8d82e, #a9eee407);
  box-shadow: 0 0 0 8px #95ecda0c, 0 8px 36px #031e2866, inset 0 1px #b9f8e442;
  color: #92e8d9;
  transform: translateY(-50%) rotate(-9deg);
  pointer-events: none;
}
.bp-favorites-emblem .ui-icon { width: 53%; height: 53%; }
.bp-favorites-page .bp-feed > .bp-info {
  display: grid;
  justify-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-color: color-mix(in srgb, var(--teal) 20%, var(--line));
  background:
    radial-gradient(ellipse at top, color-mix(in srgb, var(--teal) 10%, transparent), transparent 65%),
    var(--surface);
  text-align: center;
}
.bp-favorites-page .bp-feed > .bp-info::before {
  content: '';
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  background: var(--teal);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14v18l-7-5-7 5zM9 9h6m-3-3v6' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bp-favorites-page .bp-info .small-eyebrow { color: var(--teal); }
.bp-favorites-page .bp-info .bp-prose { margin-top: 0; }
.bp-favorites-page .bp-info .bp-prose p:last-child { margin-bottom: 0; }
.bp-favorites-page .bp-card-feed .bp-story:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .bp-favorites-hero-copy { animation: bp-breadcrumb-enter .5s ease-out both; }
  .bp-favorites-page .bp-feed > .bp-info { animation: bp-enter .46s .08s ease-out both; }
  .bp-favorites-emblem { animation: bp-favorites-emblem-enter .65s ease-out both; }
  .bp-favorites-explore { transition: background-color .2s; }
  .bp-favorites-page .bp-card-feed .bp-story { transition: box-shadow .2s, translate .2s; }
  .bp-favorites-page .bp-card-feed .bp-story:hover { translate: 0 -3px; box-shadow: var(--shadow); }
}
@keyframes bp-favorites-emblem-enter {
  from { opacity: 0; transform: translateY(-50%) rotate(-17deg) scale(.87); }
  to { opacity: 1; transform: translateY(-50%) rotate(-9deg) scale(1); }
}
@media (max-width: 480px) {
  .bp-favorites-hero { padding-inline-end: 22px; }
  .bp-favorites-hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .bp-favorites-emblem { inset-block-start: 25px; transform: rotate(-9deg); animation: none; }
  .bp-favorites-kicker { padding-inline-end: 64px; }
}

#accountDialog .dialog-close { display: grid; place-items: center; padding: 0; }
#accountDialog .dialog-close .ui-icon { width: 17px; height: 17px; }
#accountDialog:has(.bp-account-summary) {
  width: min(540px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #78cbb84f;
  border-radius: 20px;
  background: #102936;
  color: #ecf7f5;
  box-shadow: 0 25px 90px #04141eb0;
}
#accountDialog:has(.bp-account-summary) .dialog-close {
  top: 13px;
  right: 13px;
  border: 1px solid #92d8c84d;
  background: #1e434e;
  color: #d9f6ee;
  box-shadow: none;
}
#accountDialog:has(.bp-account-summary) .dialog-close:hover { background: #285660; transform: none; }
.bp-account-summary {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 19px);
  padding: 28px 56px 24px 24px;
  border-bottom: 1px solid #81cbbc34;
  background:
    linear-gradient(90deg, #98eadc0a 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(#98eadc0a 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse at top right, #245963, transparent 72%), #132f3d;
}
.bp-account-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(48px, 13vw, 68px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #88e3ce85;
  border-radius: 17px;
  background: #1e4b52;
  color: #a0f1e0;
  box-shadow: 0 0 0 4px #85daca16;
}
.bp-account-avatar .ui-icon { width: 53%; height: 53%; }
.bp-account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-account-avatar img[hidden] { display: none; }
.bp-account-identity { min-width: 0; overflow-wrap: anywhere; }
.bp-account-kicker { color: #9aeadd; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
#accountDialog .bp-account-summary h2 {
  margin: 5px 0 8px;
  color: inherit;
  font-size: clamp(20px, 5vw, 32px);
  line-height: 1.1;
}
.bp-account-rank {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid #85daca40;
  border-radius: 999px;
  background: #81d8c91a;
  color: #b3eee3;
  font-size: 11px;
  font-weight: 700;
}
.bp-account-rank .ui-icon { width: 13px; height: 13px; flex: none; }
.bp-account-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 18px 20px 22px;
}
#accountDialog .bp-account-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 49px;
  padding: 8px;
  border: 1px solid #8edccb26;
  border-radius: 10px;
  background: #d4f7ef08;
  color: #edf8f5;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.bp-account-menu-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: #91e4d419;
  color: #96e6d6;
}
.bp-account-menu-icon .ui-icon { width: 15px; height: 15px; }
#accountDialog .bp-account-menu a:is(:hover, :focus-visible) { border-color: #8ee3d186; background: #8ee3d11f; }
#accountDialog :is(.dialog-close, .bp-account-menu a):focus-visible { outline: 2px solid #9aeadd; outline-offset: 2px; }
#accountDialog .bp-account-menu .bp-account-logout { color: #ffded8; }
.bp-account-logout .bp-account-menu-icon { background: #eaa69d20; color: #f8bcb3; }
.bp-account-unread {
  flex: none;
  min-width: 23px;
  margin-inline-start: auto;
  padding: 3px 5px;
  border-radius: 999px;
  background: #d6f2ec18;
  color: #bcd9db;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.bp-account-unread.has-unread { background: #8ce9d3; color: #0d2932; }
#accountDialog .bp-account-inbox:has(.has-unread) { border-color: #8ce9d380; }
@media (prefers-reduced-motion: no-preference) {
  #accountDialog[open] .bp-account-summary { animation: bp-enter .36s ease-out both; }
  #accountDialog[open] .bp-account-menu { animation: bp-enter .38s .06s ease-out both; }
  #accountDialog .bp-account-menu a { transition: background-color .2s, border-color .2s, translate .2s; }
  #accountDialog .bp-account-menu a:hover { translate: 0 -2px; }
  #accountDialog[open] .bp-account-unread.has-unread { animation: bp-account-unread-pulse 1.05s .2s ease-out 3; }
}
@keyframes bp-account-unread-pulse {
  from { box-shadow: 0 0 0 0 #8ce9d3ab; }
  to { box-shadow: 0 0 0 7px #8ce9d300; }
}
@media (max-width: 360px) {
  .bp-account-menu { grid-template-columns: 1fr; padding-inline: 15px; }
  .bp-account-summary { padding-inline-start: 16px; }
}

#accountDialog:has(.bp-login-layout) {
  width: min(780px, calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #78cbb856;
  border-radius: 20px;
  background: #102936;
  color: #edf8f5;
  box-shadow: 0 25px 90px #04141eb0;
}
#accountDialog:has(.bp-login-layout) .dialog-close {
  top: 12px;
  right: 12px;
  border: 1px solid #92d8c84d;
  background: #1e434e;
  color: #d9f6ee;
  box-shadow: none;
}
#accountDialog:has(.bp-login-layout) .dialog-close:hover { background: #285660; transform: none; }
.bp-login-layout { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
.bp-login-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  justify-items: start;
  overflow: hidden;
  min-height: 130px;
  padding: 24px;
  background: #133b46;
}
.bp-login-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-login-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0c202de8, transparent 62%);
  pointer-events: none;
}
.bp-login-book {
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(42px, 6vw, 58px);
  aspect-ratio: 1;
  border: 1px solid #99e8db6b;
  border-radius: 14px;
  background: #163d49e8;
  color: #a9eee0;
  box-shadow: 0 5px 18px #0619237a;
}
.bp-login-book .ui-icon { width: 53%; height: 53%; }
.bp-login-content { min-width: 0; padding: 32px 26px 26px; }
.bp-login-kicker { padding-inline-end: 36px; color: #9aeadd; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
#accountDialog .bp-login-content h2 { margin: 8px 0; color: inherit; font-size: clamp(25px, 4vw, 36px); line-height: 1.13; overflow-wrap: anywhere; }
.bp-login-content h2 span { color: #86e2d3; }
#accountDialog .bp-login-content p { margin: 0 0 16px; color: #c5dde0; line-height: 1.55; }
#accountDialog .bp-login-content label { margin: 12px 0 0; color: #e0efed; font-size: 13px; }
.bp-login-field { position: relative; display: block; margin-top: 5px; }
.bp-login-field .ui-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #93e6d5;
  transform: translateY(-50%);
  pointer-events: none;
}
#accountDialog .bp-login-field input {
  min-height: 44px;
  padding-inline-start: 40px;
  border-color: #8edccb40;
  border-radius: 9px;
  background: #d4f7ef09;
  color: #f4fbfa;
}
#accountDialog .bp-login-field input:focus { border-color: #8ce9d3; outline: 2px solid #8ce9d349; outline-offset: 2px; }
#accountDialog .bp-login-content .bp-check { align-items: center; font-size: 12px; }
.bp-login-content .bp-check input { accent-color: #39c9b3; }
#accountDialog .bp-login-submit { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; margin-top: 16px; }
.bp-login-submit .ui-icon, .bp-login-links .ui-icon { width: 15px; height: 15px; flex: none; }
.bp-login-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 15px; }
#accountDialog .bp-login-links a { display: inline-flex; align-items: center; gap: 5px; color: #a7ecdf; font-size: 12px; text-decoration: none; }
#accountDialog .bp-login-links a:is(:hover, :focus-visible) { text-decoration: underline; }
#accountDialog .bp-login-layout :is(a, button):focus-visible { outline: 2px solid #9aeadd; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  #accountDialog[open] .bp-login-visual img { animation: bp-login-cover 1.1s ease-out both; }
  #accountDialog[open] .bp-login-book { animation: bp-login-book-float 1.6s .15s ease-in-out 2; }
  #accountDialog[open] .bp-login-content { animation: bp-enter .42s ease-out both; }
  #accountDialog .bp-login-field input { transition: border-color .2s, background-color .2s; }
  .bp-login-field .ui-icon { transition: transform .2s; }
  .bp-login-field:focus-within .ui-icon { transform: translateY(-50%) scale(1.13); }
}
@keyframes bp-login-cover {
  from { transform: scale(1.08); opacity: .65; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes bp-login-book-float {
  50% { transform: translateY(-6px); }
}
@media (max-width: 640px) {
  .bp-login-layout { grid-template-columns: minmax(0, 1fr); }
  .bp-login-visual { height: clamp(130px, 35vw, 172px); padding: 12px 18px; }
  .bp-login-content { padding: 20px 18px 22px; }
  .bp-login-kicker { padding-inline-end: 0; }
}

.bp-recovery {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  margin-bottom: clamp(20px, 4vw, 45px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 14px 35px #06192418;
}
.bp-recovery-cover {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 245px;
  padding: clamp(22px, 4vw, 42px);
  background: #102936;
  color: #f2f9f8;
}
.bp-recovery-cover img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bp-recovery-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, #102936f2, #102936c9 55%, #10293668);
}
.bp-recovery-copy { min-width: 0; overflow-wrap: anywhere; }
.bp-recovery-kicker {
  margin-top: 15px;
  color: #a2f0df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}
.bp-recovery-cover h1 {
  margin: 8px 0 12px;
  color: inherit;
  font-family: var(--serif);
  font-size: clamp(33px, 5vw, 57px);
  line-height: 1.04;
}
.bp-recovery-cover h1 span { color: #86e2d3; }
.bp-recovery-cover p { max-width: 33ch; color: #d3e7e7; line-height: 1.55; }
.bp-recovery-fields {
  align-content: center;
  gap: 17px;
  min-width: 0;
  padding: clamp(19px, 4vw, 42px);
}
.bp-recovery-fields .bp-login-field { margin-top: 0; }
.bp-recovery-fields .bp-login-field .ui-icon { color: var(--teal); }
.bp-recovery-fields .bp-login-field input { min-height: 46px; padding-inline-start: 39px; }
.bp-recovery-fields .bp-login-field input:focus {
  border-color: var(--teal);
  outline: 2px solid color-mix(in srgb, var(--teal) 45%, transparent);
  outline-offset: 2px;
}
.bp-recovery-verification {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.bp-recovery-code { min-width: 0; }
.bp-recovery-code img { display: block; width: auto; max-width: 100%; height: auto; }
.bp-recovery-recaptcha { min-width: 0; overflow-x: auto; }
.bp-recovery-send { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-align: start; }
.bp-recovery-send .ui-icon { flex: none; width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .bp-recovery-cover img { animation: bp-login-cover 1.1s ease-out both; }
  .bp-recovery-cover .bp-login-book { animation: bp-login-book-float 1.6s .15s ease-in-out 2; }
  .bp-recovery-copy, .bp-recovery-fields { animation: bp-enter .45s ease-out both; }
  .bp-recovery-fields input { transition: border-color .2s, outline-color .2s; }
}
@media (max-width: 760px) {
  .bp-recovery { grid-template-columns: minmax(0, 1fr); }
  .bp-recovery-cover { min-height: 210px; }
}
@media (max-width: 480px) {
  .bp-recovery-verification { grid-template-columns: minmax(0, 1fr); }
}

/* integration.css */
html { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
:focus-visible { outline: 2px solid #28bda8; outline-offset: 4px; }
#articles, #collections, #bp-suggestions { scroll-margin-top: 95px; }
.bp-original #dle-content { display: contents; }
.bp-original .bp-info { grid-column: 2; grid-row: 2; }
.bp-original .bp-pagination { grid-column: 2; grid-row: 4; }
.bp-original .article-open { display: block; }
.bp-original .bp-favorite { margin-left: auto; }
.bp-favorite:empty { display: none; }
.bp-favorite a { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; }
.bp-favorite a:hover { background: #008f861c; }
.bp-favorite img { width: 16px; height: 16px; object-fit: contain; }
.featured .bp-favorite a { background: #ffffffcf; }
.bp-collection-link { display: block; }
.category-list a, .mega-categories a { text-align: left; }
.trending a { display: inline-block; }
.discovery-rail > a { text-align: left; }
.popular-item { text-align: left; }
.right-sidebar > .bp-vote-slot { height: auto; }
.bp-vote-slot:empty { display: none; }
.bp-vote-slot .poll-card { margin: 0; height: 100%; }
.bp-vote-slot .poll-card h2 .ui-icon { width: 22px; height: 22px; vertical-align: -.15em; margin-right: 5px; }
.bp-vote-results { margin-top: 8px; }
.ui-dialog .bp-check { display: flex; gap: 8px; align-items: center; }
.ui-dialog .bp-check input { width: auto; }
.bp-account-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; }
.bp-account-links a { color: var(--teal); }
.bp-inner .left-sidebar { display: block; }
.bp-inner .left-sidebar .category-panel { contain: none; }
.bp-inner .bp-card-feed { margin-bottom: 28px; }
.bp-inner .bp-story .card-meta { margin-top: auto; }
.bp-inner .bp-inner-heading h1 { font-size: clamp(29px, 5vw, 50px); }
.bp-inner .bp-inner-icon { display: none; }
.bp-inner .bp-panel { margin-bottom: 16px; }
@media (min-width: 1051px) {
  .bp-original #dle-content > .featured { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
}
@media (max-width: 1050px) {
  .bp-original .bp-info, .bp-original .bp-pagination { grid-area: auto; }
}

/* categories.css */
/* Bipedia category cards */
.hero-grid { pointer-events: none; }
.hero-copy #searchForm { position: relative; z-index: 3; }
.hero-copy #searchForm button[type="submit"] { position: relative; pointer-events: auto; cursor: pointer; }
.bp-category-page .bp-inner-heading[data-category]::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 48%;
  max-width: 680px;
  background-image: var(--corner, none);
  background-position: center 45%;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  opacity: .55;
  pointer-events: none;
}
.bp-category-page .bp-inner-heading[data-category]::after { display: none; }
.bp-category-page .bp-inner-heading-copy { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .bp-category-page .bp-inner-heading[data-category]::before { animation: bp-category-image 16s ease-in-out infinite alternate; }
}
@keyframes bp-category-image { from { background-position: center 40%; } to { background-position: center 60%; } }
@media (max-width: 760px) {
  .bp-category-page .bp-inner-heading[data-category]::before { width: 46%; opacity: .24; }
}
.bp-info-emblem { display: none; }
.bp-category-page .bp-inner-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3vw, 38px);
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--teal) 9%, var(--surface)), var(--surface) 65%);
  box-shadow: 0 12px 35px #092f3409;
}
.bp-category-page .bp-inner-heading::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -40px;
  top: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 28px color-mix(in srgb, var(--teal) 3%, transparent), 0 0 0 58px color-mix(in srgb, var(--teal) 2%, transparent);
  pointer-events: none;
}
.bp-category-page .bp-inner-heading .bp-inner-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border-radius: 23px;
  color: var(--teal);
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  background: var(--surface);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--teal) 10%, transparent);
}
.bp-category-page .bp-inner-icon .ui-icon { width: 39px; height: 39px; }
.bp-category-page .bp-inner-icon > span { position: absolute; right: -7px; top: -9px; color: var(--teal); font-size: 26px; }
.bp-category-page .bp-inner-heading-copy { min-width: 0; }
.bp-category-page .bp-inner-heading .small-eyebrow { color: var(--teal); letter-spacing: 2px; }
.bp-category-page .bp-inner-heading h1 { margin: 8px 0 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.12; overflow-wrap: anywhere; }
.bp-category-page .bp-inner-heading h1 > span { color: var(--teal); }
.bp-category-page .bp-category-description { margin-top: 12px; max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.bp-category-page .bp-info {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(23px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px #092f3407;
}
.bp-category-page .bp-info-emblem {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  color: #b38543;
  border: 1px solid #b3854330;
  border-radius: 17px;
  background: color-mix(in srgb, #b38543 8%, var(--surface));
}
.bp-category-page .bp-info-emblem svg { width: 28px; height: 28px; }
.bp-category-page .bp-info-copy { min-width: 0; flex: 1; }
.bp-category-page .bp-info-copy > .small-eyebrow { color: var(--muted); }
.bp-category-page .bp-info h2 { margin: 8px 0 12px; font-family: var(--sans, inherit); font-size: clamp(22px, 2vw, 29px); line-height: 1.3; }
.bp-category-page .bp-info .bp-prose { text-align: left; color: var(--muted); font-size: 15px; line-height: 1.85; }
.bp-category-page .bp-info .bp-prose > :first-child { margin-top: 0; }
.bp-category-page .bp-info .bp-prose > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bp-category-page .bp-inner-heading { animation: bp-category-enter .55s ease both; }
  .bp-category-page .bp-info { animation: bp-category-enter .55s .12s ease both; }
  .bp-category-page .bp-inner-icon .ui-icon { animation: bp-category-float 4s ease-in-out infinite; }
  .bp-category-page .bp-inner-icon > span { animation: bp-category-spark 4s ease-in-out infinite; }
  .bp-category-page .bp-info-emblem svg { animation: bp-category-float 4s 1s ease-in-out infinite; }
}
@keyframes bp-category-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bp-category-spark { 0%, 100% { transform: rotate(0) scale(.9); opacity: .55; } 50% { transform: rotate(45deg) scale(1.1); opacity: 1; } }
@media (max-width: 760px) {
  .bp-category-page .bp-inner-heading { gap: 16px; padding: 22px 18px; border-radius: 16px; }
  .bp-category-page .bp-inner-heading .bp-inner-icon { flex-basis: 56px; width: 56px; height: 56px; border-radius: 17px; }
  .bp-category-page .bp-inner-icon .ui-icon { width: 29px; height: 29px; }
  .bp-category-page .bp-inner-heading .small-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .bp-category-page .bp-info { gap: 14px; padding: 22px 18px; border-radius: 16px; }
  .bp-category-page .bp-info-emblem { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }
  .bp-category-page .bp-info-emblem svg { width: 23px; height: 23px; }
  .bp-category-page .bp-info .bp-prose { font-size: 14px; }
}
/* Keep room below every page, including short category/error pages. */
body .main { padding-bottom: 40px; }
.left-sidebar .category-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px #092f3410;
  overflow: hidden;
}
.left-sidebar .category-panel > .small-eyebrow { color: var(--teal); }
.left-sidebar .category-panel > h2 { border-bottom-color: var(--line); }
.left-sidebar .category-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0 10px 12px;
}
.left-sidebar .category-list > a {
  --category-accent: var(--teal);
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  width: 100%;
  min-height: 57px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  transition: background .25s, border-color .25s, box-shadow .25s, color .25s, transform .25s;
}
.left-sidebar .category-list > a[data-category="Bilim"] { --category-accent: #008f86; }
.left-sidebar .category-list > a[data-category="Teknoloji"] { --category-accent: #4585d7; }
.left-sidebar .category-list > a[data-category="Tarih"] { --category-accent: #b38543; }
.left-sidebar .category-list > a[data-category="Sanat"] { --category-accent: #b46eab; }
.left-sidebar .category-list > a[data-category="Felsefe"] { --category-accent: #8b78ca; }
.left-sidebar .category-list > a[data-category="Doğa"] { --category-accent: #5a956a; }
.left-sidebar .category-list > a[data-category="Yaşam"] { --category-accent: #d3797e; }
.left-sidebar .category-list > a > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  color: var(--category-accent);
  background: color-mix(in srgb, var(--category-accent) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--category-accent) 18%, transparent);
  transition: background .25s, box-shadow .25s, transform .3s;
}
.left-sidebar .category-list > a > span:first-child .ui-icon { width: 20px; height: 20px; }
.left-sidebar .category-list > a > span:last-child {
  margin-left: auto;
  color: var(--category-accent);
  opacity: .45;
  font-size: 18px;
  transition: transform .25s, opacity .25s;
}
.left-sidebar .category-list > a::after { display: none; }
.left-sidebar .category-list > a:is(:hover, :focus-visible, .selected) {
  padding-left: 11px;
  color: var(--category-accent);
  background: color-mix(in srgb, var(--category-accent) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--category-accent) 23%, transparent);
  box-shadow: inset 3px 0 0 var(--category-accent);
}
.left-sidebar .category-list > a:is(:hover, :focus-visible) { transform: translateX(3px); }
.left-sidebar .category-list > a:focus-visible { outline: 2px solid var(--category-accent); outline-offset: 2px; }
.left-sidebar .category-list > a:is(:hover, :focus-visible) > span:first-child {
  transform: rotate(-6deg);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--category-accent) 18%, transparent);
}
.left-sidebar .category-list > a:is(:hover, :focus-visible) .ui-icon { animation: bp-category-pop .65s ease both; }
.left-sidebar .category-list > a.selected > span:first-child .ui-icon { animation: bp-category-float 3.5s ease-in-out infinite; }
.left-sidebar .category-list > a:is(:hover, :focus-visible, .selected) > span:last-child { opacity: 1; transform: translateX(2px); }
@keyframes bp-category-pop {
  0%, 100% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.18) rotate(10deg); }
  70% { transform: scale(1.05) rotate(-5deg); }
}
@keyframes bp-category-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (min-width: 761px) {
  .left-sidebar .category-list > a { padding: 10px 11px !important; }
}
@media (max-width: 760px) {
  body .main { padding-bottom: 28px; }
  .left-sidebar .category-panel { padding: 10px; border-radius: 14px; }
  .left-sidebar .category-list { flex-direction: row; gap: 8px; margin: 0; padding: 2px 2px 6px; overflow-x: auto; overflow-y: hidden; }
  .left-sidebar .category-list > a { width: auto; min-height: 44px; padding: 7px 12px !important; border-radius: 10px; }
  .left-sidebar .category-list > a > span:first-child { flex-basis: 27px; width: 27px; height: 27px; border-radius: 8px; }
  .left-sidebar .category-list > a > span:first-child .ui-icon { width: 17px; height: 17px; }
  .left-sidebar .category-list > a:is(:hover, :focus-visible) { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .left-sidebar .category-list > a, .left-sidebar .category-list > a * { animation: none !important; transition: none !important; }
  .left-sidebar .category-list > a:is(:hover, :focus-visible) { transform: none; }
}
/* Color washes blend each category into its image. */
.left-sidebar .category-list > a[data-category] {
  background: linear-gradient(105deg,
    color-mix(in srgb, var(--category-accent) 9%, var(--surface)) 0%,
    color-mix(in srgb, var(--category-accent) 15%, var(--surface)) 55%,
    color-mix(in srgb, var(--category-accent) 27%, var(--surface)) 100%);
  border: 1px solid color-mix(in srgb, var(--category-accent) 22%, transparent);
  color: var(--ink);
}
.left-sidebar .category-list > a[data-category]:is(:hover,:focus-visible,.selected) {
  background: linear-gradient(105deg,
    color-mix(in srgb, var(--category-accent) 14%, var(--surface)) 0%,
    color-mix(in srgb, var(--category-accent) 23%, var(--surface)) 55%,
    color-mix(in srgb, var(--category-accent) 34%, var(--surface)) 100%);
  border-color: color-mix(in srgb, var(--category-accent) 45%, transparent);
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--category-accent), 0 4px 12px color-mix(in srgb, var(--category-accent) 9%, transparent);
}
.left-sidebar .category-list > a[data-category] > span:first-child {
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border-color: color-mix(in srgb, var(--category-accent) 25%, transparent);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--category-accent) 8%, transparent);
}
.left-sidebar .category-list > a[data-category]::after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  background-image: var(--corner, none);
  background-position: center;
  background-size: cover;
  border-radius: 0 11px 11px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #00000008 15%, #0003 38%, #0009 68%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #00000008 15%, #0003 38%, #0009 68%, #000 100%);
  opacity: .6;
  pointer-events: none;
  transition: opacity .3s, background-position .6s;
}
.left-sidebar .category-list > a[data-category]:is(:hover,:focus-visible,.selected)::after { opacity: .78; background-position: 55% center; }
.left-sidebar .category-list > a[data-category] > span:last-child { position: relative; z-index: 1; display: grid; place-items: center; width: 19px; height: 24px; border-radius: 7px; background: color-mix(in srgb, var(--surface) 84%, transparent); color: var(--category-accent); opacity: 1; }
@media(max-width:760px) {
  .left-sidebar .category-list > a[data-category]::after { width: 55%; opacity: .4; }
  .left-sidebar .category-list > a[data-category] > span:last-child { display: none; }
}

/* register-info.css */
.bp-register-page .bp-layout{align-items:start}.bp-register-page .left-sidebar .category-panel{contain:none;height:auto}
.bp-register-page .left-sidebar .bp-vote-slot{margin-top:22px}.bp-register-page .left-sidebar .poll-card{border-radius:18px;padding:23px 17px;box-shadow:0 10px 30px #092f3409}
.bp-register-page .bp-feed #dle-content{display:block;min-width:0}
.bp-register-page .bp-static-hero{min-height:255px;margin-bottom:22px;border-radius:20px}
.bp-register-page .bp-static-hero-copy{max-width:80%;padding:32px}
.bp-register-page .bp-static-hero h1{font-size:clamp(30px,3.5vw,48px);line-height:1.15;margin-top:13px}
.bp-register-page .bp-static-reading{padding:clamp(23px,3vw,38px);border-radius:20px;box-shadow:0 10px 30px #092f3408}
.bp-register-page .bp-static-reading .bp-prose{font-size:15px;line-height:1.95;color:var(--ink)}
.bp-register-page .bp-static-reading .bp-prose p{text-align:left!important;margin:0 0 20px}
.bp-register-page .bp-static-reading .bp-prose strong{color:var(--teal)}
.bp-register-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:19px;border:1px solid #7edcd04d;background:#133b45;color:#9be8da;margin-bottom:17px;box-shadow:0 8px 24px #001c3322}
.bp-register-icon .ui-icon{width:30px;height:30px}
.bp-register-form.bp-panel{display:block;padding:0;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px #092f3409}
.bp-register-hero{display:flex;align-items:center;gap:22px;position:relative;isolation:isolate;overflow:hidden;padding:30px 34px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,color-mix(in srgb,var(--teal) 8%,var(--surface)),var(--surface))}
.bp-register-hero::after{content:'';position:absolute;inset:0 0 0 auto;width:40%;z-index:-1;background:url('../images/library.jpg') center/cover;mask-image:linear-gradient(90deg,transparent,#000);opacity:.25;pointer-events:none}
.bp-register-hero .bp-register-icon{flex:0 0 62px;margin:0;background:var(--surface);color:var(--teal);border-color:var(--line)}
.bp-register-hero .small-eyebrow{color:var(--teal)}
.bp-register-form .bp-register-hero h1{font-size:clamp(29px,3.2vw,44px);margin:9px 0 10px;line-height:1.15}
.bp-register-hero p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.bp-register-fields{display:grid;gap:21px;padding:30px 34px}
.bp-register-label{display:flex;align-items:center;gap:8px;margin-bottom:5px}.bp-register-label .ui-icon{width:17px;height:17px;color:var(--teal)}
.bp-register-fields :is(input:not([type=hidden],[type=radio],[type=checkbox]),textarea,select){min-height:48px;border-radius:11px;transition:border-color .2s,box-shadow .2s}
.bp-register-fields :is(input,textarea,select):focus-visible{outline:none;border-color:var(--teal);box-shadow:0 0 0 4px color-mix(in srgb,var(--teal) 12%,transparent)}
.bp-register-fields>.button{justify-self:start;display:inline-flex;align-items:center;gap:9px;border-radius:11px;padding:13px 22px}
.bp-register-fields>.button .ui-icon{width:18px;height:18px}
.bp-info.bp-info-designed{position:relative;display:block;isolation:isolate;overflow:hidden;padding:0;border-radius:20px;background:var(--surface);box-shadow:0 10px 30px #092f3408;text-align:left}
.bp-info.bp-info-designed::before{display:none}
.bp-info-designed .bp-info-heading{position:relative;isolation:isolate;display:flex;align-items:center;gap:18px;padding:26px 30px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,color-mix(in srgb,var(--teal) 6%,var(--surface)),var(--surface));overflow:hidden}
.bp-info-designed .bp-info-heading::after{content:'';position:absolute;inset:0 0 0 auto;z-index:-1;width:35%;background:url('../images/library.jpg') center/cover;mask-image:linear-gradient(90deg,transparent,#000);opacity:.18;pointer-events:none}
.bp-info-designed .bp-info-symbol{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--teal)}
.bp-info-symbol svg{width:27px;height:27px}.bp-info-title{min-width:0}.bp-info-designed .small-eyebrow{color:var(--teal)}
.bp-info.bp-info-designed h2{font-family:inherit;font-size:clamp(21px,2.2vw,29px);line-height:1.35;margin:8px 0 0;overflow-wrap:anywhere}
.bp-info-designed .bp-info-message{padding:24px 30px;font-size:15px;line-height:1.85;color:var(--muted);text-align:left}
.bp-info-message :is(center,p){text-align:left!important}.bp-info-message>:first-child{margin-top:0}.bp-info-message>:last-child{margin-bottom:0}
.bp-info-message input,.bp-info-message select{max-width:100%}
@media(prefers-reduced-motion:no-preference){.bp-register-form,.bp-info-designed{animation:bp-register-enter .5s ease both}.bp-register-icon .ui-icon,.bp-info-symbol svg{animation:bp-register-float 4s ease-in-out infinite}.bp-register-page .poll-card h2 .ui-icon{animation:bp-register-float 4s 1s ease-in-out infinite}}
@keyframes bp-register-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes bp-register-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3px) rotate(-5deg)}}
@media(max-width:760px){.bp-register-page .bp-static-hero-copy{max-width:100%;padding:24px}.bp-register-page .bp-static-hero{min-height:230px}.bp-register-hero{padding:24px 18px;gap:15px}.bp-register-hero .bp-register-icon{flex-basis:48px;width:48px;height:48px;border-radius:15px}.bp-register-fields{padding:24px 18px}.bp-info-designed .bp-info-heading{padding:22px 18px;gap:13px}.bp-info-designed .bp-info-message{padding:22px 18px}.bp-info-designed .bp-info-symbol{flex-basis:42px;width:42px;height:42px}.bp-register-page .left-sidebar .bp-vote-slot{margin:18px 0 0}}
@media(prefers-reduced-motion:reduce){.bp-register-form,.bp-register-form *,.bp-info-designed,.bp-info-designed *{animation:none!important;transition:none!important}}
.bp-register-page .bp-static-reading .bp-prose :is(button,input[type="submit"],input[type="button"],input[type="reset"]){display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:165px;padding:13px 22px;margin:8px 10px 8px 0;border:1px solid #00776f;border-radius:11px;background:#00877d;color:#fff;font:600 14px/1.4 var(--sans,Arial,sans-serif);text-decoration:none;cursor:pointer;box-shadow:0 5px 14px #008f8626;transition:background .2s,transform .2s,box-shadow .2s}
.bp-register-page .bp-static-reading .bp-prose :is(button,input[type="submit"],input[type="button"],input[type="reset"]):hover{background:#006d65;transform:translateY(-2px);box-shadow:0 8px 18px #008f8630}
.bp-register-page .bp-static-reading .bp-prose :is(button,input[type="submit"],input[type="button"],input[type="reset"]):focus-visible{outline:3px solid var(--teal);outline-offset:4px}
.bp-register-page .bp-static-reading .bp-prose :is(button,input[type="button"],input[type="reset"]):is(.bp-rules-decline,[type="reset"]){background:var(--surface);color:#b73c4c;border-color:#ce7c87;box-shadow:none}
.bp-register-page .bp-static-reading .bp-prose :is(button,input[type="button"],input[type="reset"]):is(.bp-rules-decline,[type="reset"]):hover{background:color-mix(in srgb,#ce7c87 12%,var(--surface));border-color:#b73c4c}
@media(max-width:480px){.bp-register-page .bp-static-reading .bp-prose :is(button,input[type="submit"],input[type="button"],input[type="reset"]){width:100%;margin:6px 0}}

/* posters.css */
/* Poster is rendered as DLE image markup, not inserted inside an img src. */
.bp-card-image .bp-poster-media,
.bp-card-image .bp-poster-media :is(a,p,figure,picture) { display:block; width:100%; height:100%; margin:0; }
.bp-card-image .bp-poster-media img { display:block; width:100%; height:100%; object-fit:cover; }
.bp-card-image .bp-poster-link { position:absolute; inset:0; z-index:2; }
.bp-card-image .bp-poster-link:focus-visible { outline-offset:-5px; }
.featured .card-copy h3 a { pointer-events:auto; }
.bp-poster-popular { position:relative; }
.bp-popular-poster { width:54px; height:54px; flex:0 0 54px; overflow:hidden; border-radius:7px; }
.popular-item .bp-popular-poster :is(a,p,figure,picture) { display:block; width:100%; height:100%; margin:0; }
.popular-item .bp-popular-poster img { width:100%; height:100%; object-fit:cover; }
.bp-poster-popular > div:last-child { min-width:0; }
.bp-popular-link::after { content:''; position:absolute; inset:0; z-index:1; }
.bp-popular-link:focus-visible::after { outline:3px solid var(--teal); outline-offset:3px; border-radius:6px; }

/* Readable title over the wide featured image. */
.bp-original .featured .card-copy {
  isolation: isolate;
  z-index: 3;
}
.bp-original .featured .card-copy::before {
  content: '';
  position: absolute;
  inset: -28px 0 -8px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 27, .48) 30%, rgba(4, 16, 27, .62));
}
.bp-original .featured .card-copy h3 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}
.bp-original .featured .card-copy > p { color: #eef4f7; }

/* Hide the account scrollbar without clipping controls on short screens. */
#accountDialog {
  box-sizing: border-box;
  height: fit-content;
  min-height: 0;
  margin: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
#accountDialog:has(.bp-account-summary),
#accountDialog:has(.bp-login-layout) {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
#accountDialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* layout-fixes.css */
/* Compact footer spacing and layout-safe system messages. */
.bp-original .container.main { padding-bottom:0; margin-bottom:0; }
.bp-original .app-promo { margin-bottom:24px; }
.bp-panel.bp-info.bp-info-designed { width:100%; min-width:0; max-width:none; margin:0 0 18px; padding:0; border-radius:12px; grid-column:1 / -1; }
.bp-info-designed .bp-info-heading { padding:18px 20px; gap:12px; }
.bp-info-designed .bp-info-heading::after { display:none; }
.bp-info-designed .bp-info-symbol { flex:0 0 38px; width:38px; height:38px; border-radius:11px; }
.bp-info-designed .bp-info-symbol svg { width:22px; height:22px; }
.bp-info.bp-info-designed h2 { font-size:clamp(18px,1.6vw,23px); margin:5px 0 0; }
.bp-info-designed .bp-info-message { width:100%; max-width:none; margin:0; padding:18px 20px; font-size:14px; line-height:1.75; overflow-wrap:anywhere; }
.bp-info-designed .bp-info-message :is(center,p) { max-width:none; margin-left:0; margin-right:0; text-align:left!important; }
.bp-info-designed .bp-info-message :is(img,iframe,table) { max-width:100%; }
.bp-feed > .bp-info-designed, .bp-card-feed > .bp-info-designed { grid-column:1 / -1; }
.bp-layout:has(.bp-info-designed) { align-items:start; }
@media(max-width:760px) {
 .bp-original .app-promo { margin-bottom:18px; }
 .bp-info-designed .bp-info-heading,.bp-info-designed .bp-info-message { padding:16px; }
}

/* System messages use the existing sidebar and a right-hand content column. */
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) {
 display:grid; width:100%; max-width:none; margin:0;
 grid-template-columns:minmax(220px,280px) minmax(0,1fr);
 grid-template-areas:"sidebar trail"; gap:24px; align-items:start; padding:0 0 28px;
}
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) > .bp-full-sidebar {
 display:block; grid-area:sidebar; position:static; width:auto; height:auto; max-height:none; margin:0;
}
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) > .bp-full-trail { grid-area:trail; min-width:0; }
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) > #dle-content:empty { display:none; }
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) .bp-info-designed { margin:0; }
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) .bp-breadcrumb { margin-bottom:16px; }
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) .category-panel { contain:none; height:auto; }
#main .bp-layout.bp-message-only { display:grid; grid-template-columns:minmax(220px,280px) minmax(0,1fr); gap:24px; width:100%; max-width:none; margin:0 0 28px; align-items:start; }
#main .bp-layout.bp-message-only > .left-sidebar { display:block; grid-column:1; grid-row:1; }
#main .bp-layout.bp-message-only > .bp-feed { grid-column:2; grid-row:1; min-width:0; }
@media(max-width:760px) {
 #main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) { grid-template-columns:minmax(0,1fr); grid-template-areas:"trail" "sidebar"; gap:20px; }
 #main .bp-layout.bp-message-only { display:flex; flex-direction:column; gap:20px; }
 #main .bp-layout.bp-message-only > .bp-feed { order:-1; width:100%; }
 #main .bp-layout.bp-message-only > .left-sidebar { width:100%; }
}

/* Hide the trail only on the system-notice layout. */
#main .bp-full-layout:has(> .bp-full-trail .bp-info-designed) > .bp-full-trail .bp-breadcrumb { display:none; }

/* Category listing sidebar follows the page below the sticky header. */
@media(min-width:761px) {
 .bp-category-page .bp-layout > .left-sidebar {
   position:sticky; top:106px; align-self:start;
   max-height:calc(100vh - 122px); max-height:calc(100dvh - 122px);
   overflow-y:auto; overflow-x:hidden; scrollbar-width:none;
 }
 .bp-category-page .bp-layout > .left-sidebar::-webkit-scrollbar { display:none; }
 .bp-category-page .bp-layout > .left-sidebar .category-panel { contain:none; height:auto; }
}

/* Consistent category arrows on every page. */
.left-sidebar .category-list > a[data-category] { position:relative; padding-right:46px!important; }
.left-sidebar .category-list > a[data-category] > .bp-category-arrow:last-child {
 position:absolute; right:10px; top:0; bottom:0; translate:none; transform:none!important;
 display:flex; align-items:center; justify-content:center;
 width:26px; height:26px; margin:auto 0; padding:0;
 border:1px solid color-mix(in srgb,var(--category-accent,var(--teal)) 24%,transparent);
 border-radius:8px; background:color-mix(in srgb,var(--surface) 90%,transparent);
 color:var(--category-accent,var(--teal)); opacity:1; font-size:0; line-height:0;
}
.left-sidebar .category-list > a[data-category] > .bp-category-arrow::before { content:none; display:none; }
.left-sidebar .category-list > a[data-category] > .bp-category-arrow > svg {
 display:block; flex:none; width:14px; height:14px; margin:0; padding:0; transform:none;
}
.bp-category-page .left-sidebar > .bp-vote-slot { margin-top:18px; width:100%; }
.bp-category-page .left-sidebar .bp-vote-slot > :not(script):not(style) { width:100%; min-width:0; }
.bp-category-page .left-sidebar .bp-vote-slot .poll-card { width:100%; box-sizing:border-box; margin:0; padding:18px 14px; }
.bp-category-page .left-sidebar .poll-card h2 { font-size:22px; }
.bp-category-page .left-sidebar .poll-card label { padding:9px 8px; font-size:12px; }
@media(max-width:760px) {
 .left-sidebar .category-list > a[data-category] > .bp-category-arrow:last-child { display:none; }
 .left-sidebar .category-list > a[data-category] { padding-right:12px!important; }
}

/* Vote scrolls normally; only the category panel sticks beneath it. */
.bp-category-page .bp-layout > .left-sidebar > .bp-vote-slot { margin:0 0 18px; }
@media(min-width:761px) {
 .bp-category-page .bp-layout > .left-sidebar {
   position:static; align-self:stretch; height:auto; max-height:none;
   overflow:visible;
 }
 .bp-category-page .bp-layout > .left-sidebar > .category-panel {
   position:sticky; top:106px; height:auto;
   max-height:calc(100vh - 122px); max-height:calc(100dvh - 122px);
   overflow-y:auto; overflow-x:hidden; scrollbar-width:none;
 }
 .bp-category-page .bp-layout > .left-sidebar > .category-panel::-webkit-scrollbar { display:none; }
}

/* Wider sidebar on category listings. */
@media(min-width:1051px) {
 .bp-category-page .bp-layout { grid-template-columns:300px minmax(0,1fr); gap:26px; }
 .bp-category-page .left-sidebar .bp-vote-slot .poll-card { padding:22px 18px; }
 .bp-category-page .left-sidebar .poll-card h2 { font-size:25px; }
}
@media(min-width:761px) and (max-width:1050px) {
 .bp-category-page .bp-layout { grid-template-columns:260px minmax(0,1fr); gap:20px; }
}

/* Stable scroll geometry and readable policy dialogs. */
html{scrollbar-gutter:stable}.bp-policy-content{font-size:14px;line-height:1.8}.bp-policy-content h3{margin:20px 0 8px;font-size:21px}.bp-policy-content p{margin:10px 0}.bp-policy-content ul{padding-left:22px}.bp-policy-dialog{max-width:760px}.hero-stats [data-stat]{min-height:1.6em}.bp-original .article-grid{min-width:0}

.socials a{display:grid;place-items:center;border:1px solid #ffffff24;border-radius:50%;height:29px;width:29px;font-size:12px}.socials a:hover{background:#008f86}.footer-bottom>div>a:not(.back-top){font-size:9px}.bp-reading-meta time{font:inherit}

/* Inner pages: poll scrolls first; only the category panel sticks. */
body.bp-inner #main :is(.bp-layout,.bp-full-layout) > .left-sidebar > .bp-vote-slot {
  position:static; top:auto; max-height:none; overflow:visible;
  width:100%; min-width:0; margin:0 0 18px;
}
body.bp-inner #main .left-sidebar > .bp-vote-slot:empty { display:none; margin:0; }
body.bp-inner #main .left-sidebar > .bp-vote-slot > :not(script):not(style) { width:100%; min-width:0; }
body.bp-inner #main .left-sidebar > .bp-vote-slot .poll-card { width:100%; margin:0; }
@media(min-width:761px) {
  body.bp-inner #main :is(.bp-layout,.bp-full-layout) > .left-sidebar {
    display:block; position:static!important; align-self:stretch!important;
    height:auto!important; max-height:none!important; overflow:visible!important; min-width:0;
  }
  body.bp-inner #main :is(.bp-layout,.bp-full-layout) > .left-sidebar > .category-panel {
    position:sticky; top:106px; align-self:start; contain:none; height:auto;
    max-height:calc(100vh - 122px); max-height:calc(100dvh - 122px);
    overflow-x:hidden; overflow-y:auto; scrollbar-width:thin;
    scrollbar-color:var(--teal) transparent;
  }
}
@media(max-width:760px) {
  body.bp-inner #main :is(.bp-layout,.bp-full-layout) > .left-sidebar > .category-panel {
    position:static; top:auto; max-height:none;
  }
}


[data-category="Mustafa Kemal Atatürk" i],
.category-list > a:is([href$="/ataturk/"], [href$="/ataturk"]) {
  --corner: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQVFksDAxOnSROsVJIuIShmjYKqfEh_A-KHpLwBYlHuwCWfhQG0fJd6HJR1&s=10");
  --category-accent: #b64c54;
}

[data-category="Datalife Engine CMS" i],
[data-category="Datalife Engine" i],
.category-list > a:is([href$="/dle/"], [href$="/dle"]) {
  --corner: url("https://dle-news.cn/uploads/posts/sample/3.webp");
  --category-accent: #4585d7;
}

[data-category="WebMaster" i],
.category-list > a:is([href$="/webmaster/"], [href$="/webmaster"]) {
  --corner: url("https://www.guzel.net.tr/blog/wp-content/uploads/2025/01/yapayzeka-ai.webp");
  --category-accent: #7561b2;
}

.collection-grid > a[data-guide="ataturk"] > img { object-position: center 28%; }
