/* Neka Blog visual system: editorial type, expressive color and softer depth. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');
:root{--bg:#f6f4fb;--surface:#fff;--text:#211b36;--muted:#817b96;--line:#ece8f4;--primary:#725cf0;--soft:#f0edff;--shadow:0 18px 50px rgba(62,42,105,.09);--shadow-hover:0 22px 55px rgba(62,42,105,.16);--accent:#fa8b72}
html[data-theme=dark]{--bg:#11111a;--surface:#1b1a28;--text:#f7f3ff;--muted:#aaa4bf;--line:#302d40;--primary:#aa98ff;--soft:#2d2845;--shadow:0 20px 55px rgba(0,0,0,.26);--shadow-hover:0 24px 60px rgba(0,0,0,.4);--accent:#ff9a83}
body{font-family:'DM Sans',sans-serif;background-image:radial-gradient(ellipse at 5% 8%,rgba(156,129,255,.10),transparent 28%),radial-gradient(ellipse at 95% 45%,rgba(255,163,142,.08),transparent 24%);background-attachment:fixed}
h1,h2,h3,.brand,.section-title{font-family:'Manrope',sans-serif;letter-spacing:-.035em}
.topbar{height:78px;background:color-mix(in srgb,var(--surface) 91%,transparent);backdrop-filter:blur(18px);box-shadow:0 5px 25px rgba(37,25,71,.035)}
.brand{font-size:19px}.brand-mark{width:39px;height:39px;border-radius:14px;box-shadow:0 7px 18px rgba(114,92,240,.28);overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.topbar nav a{transition:color .2s,transform .2s}.topbar nav a:hover{transform:translateY(-1px)}.nav-cta{box-shadow:0 7px 17px rgba(114,92,240,.22)}
.theme-toggle{transition:transform .25s,background .2s,border-color .2s}.theme-toggle:hover{transform:rotate(-14deg) scale(1.06);background:var(--soft);border-color:var(--primary)}
.container{max-width:1220px;padding-top:36px}.hero{background:linear-gradient(120deg,var(--hero-a,#725cf0),var(--hero-b,#ae75e8));box-shadow:0 26px 70px color-mix(in srgb,var(--hero-a,#725cf0) 23%,transparent)}
.hero-home{min-height:390px;border-radius:30px;padding:54px 62px;display:flex;align-items:center;justify-content:space-between;isolation:isolate}.hero-copy{max-width:590px;position:relative;z-index:1}.hero-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.16em;font-weight:800;color:#f5f0ff}.hero-kicker i{width:7px;height:7px;border-radius:50%;background:#a8ffdf;box-shadow:0 0 15px #a8ffdf}.hero-home h1{font-size:clamp(43px,6.2vw,72px);line-height:.99;letter-spacing:-.065em;margin:19px 0 15px;color:#fff}.hero-home h1 em{font-family:'Playfair Display',serif;font-weight:600;color:#ffe0ba;letter-spacing:-.045em}.hero-home p{font-size:16px;max-width:470px;color:#f1edff;margin:0 0 25px}.hero-button{background:#fff;color:#5947c2!important;border-radius:14px;padding:13px 20px;box-shadow:0 10px 28px rgba(37,18,93,.18);transition:transform .2s,box-shadow .2s}.hero-button:hover{transform:translateY(-3px);box-shadow:0 15px 35px rgba(37,18,93,.26)}.hero-button span{margin-left:15px;font-size:17px}.hero-orbit{position:absolute;border-radius:50%;pointer-events:none;z-index:-1}.orbit-a{width:400px;height:400px;border:1px solid rgba(255,255,255,.18);right:12%;top:-220px;box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 78px rgba(255,255,255,.025)}.orbit-b{width:220px;height:220px;right:28%;bottom:-170px;background:rgba(255,205,173,.15);filter:blur(2px)}.hero-side-note{position:relative;z-index:1;width:205px;height:205px;border-radius:50%;padding:31px;display:flex;flex-direction:column;justify-content:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.32);backdrop-filter:blur(8px);color:#fff;box-shadow:inset 0 1px rgba(255,255,255,.25);transform:rotate(5deg)}.hero-side-note .note-symbol{font-size:25px;color:#ffe3aa}.hero-side-note span:not(.note-symbol){font-size:12px;line-height:1.35;opacity:.84}.hero-side-note strong{font:800 23px Manrope;margin:5px 0}.hero-side-note small{font-size:10px;opacity:.75}
.topic-ribbon{display:flex;align-items:center;gap:24px;overflow:auto;white-space:nowrap;padding:20px 3px 17px;border-bottom:1px solid var(--line);scrollbar-width:none}.topic-ribbon::-webkit-scrollbar{display:none}.topic-ribbon>span{font-size:10px;letter-spacing:.15em;color:var(--muted);font-weight:800;margin-right:4px}.topic-ribbon a{font-size:12px;color:var(--muted);font-weight:700;transition:color .2s}.topic-ribbon a:hover{color:var(--primary)}.topic-ribbon b{color:var(--primary);margin-left:3px;font-weight:500}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.feed-heading{margin:32px 0 18px}.eyebrow{font-size:10px;letter-spacing:.17em;color:var(--primary);font-weight:800}.section-title{font-size:24px;margin:5px 0 0}.feed-count{font-size:12px;color:var(--muted);padding-bottom:5px}.feed-count span{color:#f2a15f;margin-left:4px}
.home-layout{grid-template-columns:minmax(0,1fr) 304px;gap:25px;margin-top:0}.feed-card{padding:0;overflow:hidden;display:grid;grid-template-columns:minmax(180px,32%) minmax(0,1fr);border-radius:21px;transition:transform .22s,box-shadow .22s,border-color .22s;margin-bottom:16px}.feed-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:color-mix(in srgb,var(--primary) 28%,var(--line))}.feed-card.no-cover .feed-content{grid-column:1/-1}.feed-image-link{display:block;min-height:205px;overflow:hidden;background:var(--soft)}.post-thumb{width:100%;height:100%;min-height:205px;object-fit:cover;display:block;transition:transform .45s}.feed-card:hover .post-thumb{transform:scale(1.045)}.feed-content{padding:20px 22px;min-width:0}.feed-card-featured{grid-template-columns:minmax(220px,38%) minmax(0,1fr)}.feed-card-featured .feed-image-link,.feed-card-featured .post-thumb{min-height:280px}.feed-card-featured .feed-content{padding:26px 28px}.feed-card-top,.feed-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.category-pill{display:inline-flex;border-radius:999px;padding:5px 10px;color:var(--primary);background:var(--soft);font-size:10px;letter-spacing:.05em;font-weight:800}.feed-date{font-size:11px;color:var(--muted)}.feed-card h2{font-size:19px;line-height:1.28;margin:14px 0 8px}.feed-card-featured h2{font-size:25px}.feed-card h2 a{transition:color .2s}.feed-card p{font-size:13px;color:var(--muted);margin:0 0 19px;line-height:1.65}.feed-card-bottom{border-top:1px solid var(--line);padding-top:13px}.author-link{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.mini-avatar{width:27px;height:27px;border-radius:50%;object-fit:cover}.mini-avatar-fallback{display:inline-grid;place-items:center;background:linear-gradient(135deg,#d6c8ff,#f8c4bd);color:#453679;font-size:11px}.post-stats{display:flex;gap:12px;color:var(--muted);font-size:11px}
.sidebar{display:flex;flex-direction:column;gap:14px}.side-card{padding:20px;border-radius:19px;box-shadow:var(--shadow);transition:transform .2s}.sidebar-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.sidebar-heading h3{font-size:14px;letter-spacing:-.02em;margin:0}.sidebar-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:11px;background:var(--soft);color:var(--primary)}.sidebar-icon.warm{background:#fff0df;color:#d98b3d}.sidebar-icon.cool{background:#e3f7f5;color:#3a9e91}html[data-theme=dark] .sidebar-icon.warm{background:#47352b;color:#ffc078}html[data-theme=dark] .sidebar-icon.cool{background:#253d3a;color:#88ddd0}.rank-row{gap:8px;padding:10px 0;border-color:var(--line);font-size:12px}.rank-number{font:800 11px Manrope;color:#aaa4bb}.rank-1{color:#e8a941}.rank-2{color:#8898ad}.rank-3{color:#c77c55}.rank-score{margin-left:auto;color:var(--text);font-size:11px;font-weight:800}.rank-score small{font-size:9px;color:var(--muted);font-weight:500}.weekly-card{background:linear-gradient(150deg,var(--surface),var(--soft));border-color:color-mix(in srgb,var(--primary) 16%,var(--line))}.weekly-title{display:flex;justify-content:space-between;gap:10px;font:700 16px Manrope;line-height:1.35}.weekly-title span{color:var(--primary)}.weekly-card p{font-size:11px;margin:8px 0 13px}.weekly-progress{height:5px;background:var(--line);border-radius:99px;overflow:hidden}.weekly-progress span{display:block;width:68%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#f49c9c)}.ad-slot{min-height:115px;border:1px dashed color-mix(in srgb,var(--primary) 30%,var(--line));border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);background:linear-gradient(135deg,var(--soft),transparent);font-size:11px}.ad-slot strong{color:var(--text);font-size:12px}.ad-slot small{font-size:10px}.ad-spark{font-size:18px;color:var(--primary)}
.button{border-radius:12px;padding:11px 17px;box-shadow:0 7px 17px rgba(114,92,240,.18);transition:transform .18s,box-shadow .18s,filter .18s}.button:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(114,92,240,.27);filter:saturate(1.1)}.button:disabled{opacity:.62;transform:none;box-shadow:none}.button-outline{background:var(--surface);color:var(--primary)!important;border:1px solid color-mix(in srgb,var(--primary) 34%,var(--line));box-shadow:none}.form-card{border-radius:23px;padding:34px;box-shadow:var(--shadow)}.field input,.field textarea,.field select{border-radius:12px;transition:border .2s,box-shadow .2s,background .2s}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 14%,transparent)}
.post-body{border-radius:23px;padding:clamp(24px,5vw,52px);box-shadow:var(--shadow);line-height:1.85}.post-body h1{font-size:clamp(30px,5vw,46px);line-height:1.12}.post-cover{display:block;width:100%;max-height:550px;object-fit:cover;border-radius:19px;margin:25px 0 5px}.comments .comment{padding:17px 4px}.footer{max-width:none;background:color-mix(in srgb,var(--surface) 65%,transparent);padding-top:27px;padding-bottom:27px}
.profile-card{overflow:hidden;border:1px solid var(--line);border-radius:26px;background:var(--surface);box-shadow:var(--shadow);margin:4px 0 35px}.profile-cover{height:218px;position:relative;overflow:hidden;background:var(--profile-gradient,linear-gradient(125deg,#725cf0,#b18cff))}.profile-cover>img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.profile-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(28,19,59,.24),transparent 70%)}.cover-orb{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.35);z-index:1}.orb-one{width:340px;height:340px;right:12%;top:-210px;box-shadow:0 0 0 36px rgba(255,255,255,.07),0 0 0 72px rgba(255,255,255,.04)}.orb-two{width:190px;height:190px;right:40%;bottom:-160px;background:rgba(255,255,255,.1)}.profile-content{padding:0 38px 30px;position:relative}.profile-avatar-wrap{width:116px;height:116px;margin-top:-58px;position:relative;z-index:2;border-radius:35px;padding:5px;background:var(--surface);box-shadow:0 10px 28px rgba(31,22,60,.18);transform:rotate(-4deg)}.profile-avatar{width:100%;height:100%;object-fit:cover;border-radius:29px;display:grid;place-items:center}.avatar-fallback{font:800 43px Manrope;color:#fff;background:linear-gradient(140deg,#725cf0,#f19bb5)}.decoration-glow{box-shadow:0 0 0 3px #ffe19c,0 0 26px rgba(255,174,77,.62)}.decoration-orbit:before{content:'';position:absolute;inset:-8px;border:1px dashed var(--primary);border-radius:39px;animation:orbit 18s linear infinite}.decoration-petal:after{content:'✿';position:absolute;right:-12px;top:-12px;color:#ed86b5;font-size:25px;text-shadow:0 2px 9px #fff}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}.profile-heading h1{font-size:clamp(25px,4vw,36px);margin:0}.profile-heading p{margin:4px 0 0;font-size:12px}.profile-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.role-pill{font-size:10px;font-weight:800;border-radius:99px;padding:5px 9px;letter-spacing:.02em}.role-admin{color:#6244c7;background:#eee7ff}.role-mod{color:#137866;background:#def8ef}.role-vip{color:#a76700;background:#fff0c6}.profile-bio{max-width:700px;color:var(--muted);margin:16px 0}.profile-chips{display:flex;gap:8px;flex-wrap:wrap}.profile-tag{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:7px 12px;font-size:11px;font-weight:800;color:#fff;background:linear-gradient(100deg,var(--primary),#a278eb)}.tag-soft{color:var(--text);background:var(--soft)}.profile-editor{border-top:1px solid var(--line);margin-top:23px;padding-top:16px}.profile-editor summary{cursor:pointer;color:var(--primary);font-weight:800;font-size:13px}.profile-editor form{margin-top:15px}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.profile-form-grid .field:first-child{grid-column:1/-1}.profile-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-post{padding:0;overflow:hidden}.profile-post .post-thumb{height:180px;min-height:180px}.profile-post .eyebrow,.profile-post h2,.profile-post p,.profile-post .meta{margin-left:20px;margin-right:20px}.profile-post .eyebrow{margin-top:17px}.profile-post h2{font-size:19px;margin-top:7px;margin-bottom:5px}.profile-post p{font-size:12px}.profile-post .meta{padding:12px 0 18px;border-top:1px solid var(--line)}.empty-icon{font-size:32px;color:var(--primary)}
.admin-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{overflow:hidden;padding:0}.product-card img{width:100%;height:170px;object-fit:cover;display:block}.product-card-body{padding:17px}.product-price{font:800 19px Manrope;color:var(--primary)}.discount-label{font-size:10px;background:#ffebe7;color:#c65344;border-radius:99px;padding:5px 8px;font-weight:800}
@keyframes orbit{to{transform:rotate(360deg)}}
@media(max-width:900px){.hero-home{padding:42px;min-height:345px}.hero-side-note{width:165px;height:165px;padding:24px}.home-layout{grid-template-columns:minmax(0,1fr) 270px;gap:17px}.feed-card,.feed-card-featured{grid-template-columns:minmax(140px,31%) minmax(0,1fr)}.feed-content,.feed-card-featured .feed-content{padding:17px}.feed-card-featured h2{font-size:21px}.sidebar .side-card{padding:16px}}
@media(max-width:720px){.container{padding:23px 16px 48px}.topbar{padding:0 16px;min-height:68px}.topbar nav{gap:14px}.home-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.hero-home{min-height:330px;padding:34px 27px}.hero-side-note{width:130px;height:130px;padding:20px}.hero-side-note strong{font-size:18px}.hero-side-note .note-symbol{font-size:18px}.hero-side-note span:not(.note-symbol){font-size:10px}.hero-side-note small{font-size:8px}.profile-content{padding:0 24px 25px}.profile-cover{height:180px}.profile-avatar-wrap{width:96px;height:96px;margin-top:-48px}.profile-heading{align-items:flex-start;flex-direction:column}.profile-heading .button{align-self:flex-start}.profile-post-grid{grid-template-columns:1fr 1fr}.admin-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.topbar{height:auto;flex-wrap:wrap;padding:11px 14px}.topbar nav{order:3;width:100%;justify-content:space-between;font-size:11px;gap:7px}.brand{font-size:17px}.theme-toggle{width:36px;height:36px}.hero-home{min-height:350px;padding:30px 22px;align-items:flex-start}.hero-home h1{font-size:46px}.hero-home p{font-size:13px;max-width:275px}.hero-side-note{position:absolute;right:16px;bottom:14px;width:105px;height:105px;padding:14px;opacity:.92}.hero-side-note strong{font-size:14px;margin:2px 0}.hero-side-note span:not(.note-symbol){font-size:8px}.hero-side-note small{font-size:7px}.hero-side-note .note-symbol{font-size:15px}.topic-ribbon{gap:17px;padding:16px 0}.topic-ribbon>span{display:none}.feed-card,.feed-card-featured{grid-template-columns:1fr}.feed-image-link,.feed-card-featured .feed-image-link{min-height:180px;max-height:220px}.feed-image-link .post-thumb,.feed-card-featured .post-thumb{height:200px;min-height:200px}.feed-content,.feed-card-featured .feed-content{padding:18px}.feed-card-featured h2{font-size:21px}.sidebar{grid-template-columns:1fr}.profile-cover{height:150px}.profile-content{padding:0 18px 22px}.profile-avatar-wrap{width:82px;height:82px;margin-top:-41px;border-radius:28px}.profile-avatar{border-radius:23px}.avatar-fallback{font-size:32px}.profile-heading h1{font-size:25px}.profile-form-grid{grid-template-columns:1fr}.profile-form-grid .field:first-child{grid-column:auto}.profile-post-grid{grid-template-columns:1fr}.admin-product-grid{grid-template-columns:1fr}.post-body{padding:22px}.footer{justify-content:center;text-align:center}.section-heading{align-items:center}}
