/* Nunito, served from this site (a variable font file per alphabet; the browser downloads only the ones a page needs) */
@font-face{font-family:'Nunito';font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/fonts/nunito-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/fonts/nunito-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/fonts/nunito-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/fonts/nunito-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:500 900;font-display:swap;src:url(/assets/fonts/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#14161A;--muted:#5F6672;--faint:#6B717D;--border:#E9E6DE;--bg:#FAF9F5;--card:#fff;--green:#15a633;--greenSoft:#E1F4E6;--greenDark:#0f7f26;
--lav:#E1F4E6;--yel:#E1F4E6;--peach:#D7F0DD;--pink:#CFECD7;--sky:#C7E9D0;--org:#E1F4E6;--red:#FF6B6B}
*{box-sizing:border-box;margin:0}
body{font-family:Nunito,system-ui,sans-serif;background:var(--bg);color:var(--ink);font-size:16px;font-weight:600}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
.app{display:grid;grid-template-columns:280px 1fr;min-height:100vh}
.side{padding:28px;display:flex;flex-direction:column;gap:24px;border-right:1px solid var(--border);position:sticky;top:0;height:100vh}
.logo{display:flex;align-items:center;gap:12px;font-weight:900;font-size:28px}
.logo i{width:44px;height:44px;border-radius:10px;background:var(--green);display:grid;place-items:center}
.logo i:after{content:"";width:18px;height:18px;border-radius:6px;background:var(--ink)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:#fff;border-radius:999px;padding:12px 22px;font-weight:800;cursor:pointer}
.btn.green{background:var(--green);border-color:var(--green)}
.btn.ink{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn.gray{background:#ECEEF2;border-color:#ECEEF2}
.btn.big{padding:16px 28px;font-size:18px}
.nav{display:flex;flex-direction:column;gap:6px}
.nav a{display:flex;gap:12px;align-items:center;padding:14px 18px;border-radius:999px;font-weight:800;color:var(--muted)}
.nav a.on{background:var(--ink);color:#fff}
.profile{margin-top:auto;display:flex;gap:12px;align-items:center;background:#fff;border-radius:10px;padding:14px}
.profile i{width:42px;height:42px;border-radius:50%;background:#15a633;flex:none}
.profile small{display:block;color:var(--faint)}
main{padding:36px 48px 48px;max-width:1160px;width:100%}
.top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
h1{font-size:42px;font-weight:900}
h2{font-size:28px;font-weight:900;margin-bottom:20px}
.row{display:flex;gap:12px;align-items:center}
.tabs{display:inline-flex;gap:4px;background:#fff;border:1px solid var(--border);border-radius:999px;padding:6px;margin-bottom:24px}
.tabs a{padding:11px 24px;border-radius:999px;font-weight:800;color:var(--muted)}
.tabs a.on{background:var(--ink);color:#fff}
.card{background:#fff;border:1px solid var(--border);border-radius:15px;padding:32px;margin-bottom:24px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:22px}
.field label{font-weight:900;font-size:18px;display:flex;justify-content:space-between}
.field label small{color:var(--faint);font-weight:700;font-size:14px}
.hint{color:var(--muted);font-size:15px}
.in,.sel{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:16px 20px;font-size:18px;width:100%;outline:none}
.in:focus,.sel:focus{border-color:var(--ink)}
.sel{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%235F6672' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;padding-right:48px}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 14px;font-weight:800;font-size:14px;background:var(--lav)}
.savebar{position:sticky;bottom:20px;background:var(--ink);color:#fff;border-radius:999px;padding:14px 16px 14px 32px;display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:18px}
.savebar .btn.line{background:transparent;color:#fff;border-color:#fff}
/* editor */
.editor{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff}
.etop{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--bg);border-bottom:1px solid var(--border);gap:12px;flex-wrap:wrap}
.seg{display:inline-flex;background:#fff;border:1px solid var(--border);border-radius:999px;padding:4px}
.seg button{border:0;background:none;padding:8px 18px;border-radius:999px;font-weight:800;color:var(--muted);cursor:pointer}
.seg button.on{background:var(--ink);color:#fff}
.tools{display:flex;flex-wrap:wrap;gap:4px;padding:10px 14px;border-bottom:1px solid var(--border);align-items:center}
.tools button,.tools select{border:0;background:none;border-radius:12px;min-width:38px;height:38px;padding:0 10px;font-weight:900;cursor:pointer;color:var(--ink)}
.tools button:hover{background:var(--bg)}
.tools button.on{background:var(--greenSoft)}
.tools .sep{width:1px;height:24px;background:var(--border);margin:0 6px}
.tools input[type=color]{width:30px;height:30px;border:0;border-radius:50%;padding:0;background:none;cursor:pointer}
.body{min-height:420px;padding:28px 32px;outline:none;font-size:18px;line-height:1.7;font-weight:600}
.body h2{font-size:30px;margin:0 0 12px}.body h3{font-size:24px;margin:18px 0 8px}
.body img,.body iframe{max-width:100%;border-radius:10px;display:block;margin:16px 0}
.body iframe{width:100%;aspect-ratio:16/9;border:0}
.body blockquote{border-left:5px solid var(--green);background:var(--bg);padding:12px 18px;border-radius:0 16px 16px 0;margin:12px 0}
.body pre,.body code{background:var(--ink);color:#E1F4E6;border-radius:12px;padding:2px 8px;font-family:ui-monospace,monospace}
.body pre{padding:16px;margin:12px 0}
.body hr{border:0;border-top:2px dashed var(--border);margin:20px 0}
.body ul,.body ol{padding-left:26px}
.md{display:none;width:100%;min-height:420px;border:0;padding:28px 32px;font:15px/1.7 ui-monospace,monospace;background:#14161A;color:#E1F4E6;outline:none;resize:vertical}
.efoot{display:flex;justify-content:space-between;padding:12px 20px;border-top:1px solid var(--border);color:var(--faint);font-size:14px;font-weight:700;background:var(--bg)}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--green);margin-right:6px}
/* upload */
.drop{border:3px dashed var(--green);background:#F3FCF6;border-radius:13px;padding:44px;text-align:center}
.drop b{font-size:22px;display:block;margin:10px 0 4px}
.file{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:10px;padding:16px 20px;margin-top:14px}
.file .ic{width:52px;height:52px;border-radius:10px;background:var(--lav);display:grid;place-items:center;font-weight:900}
.file .grow{flex:1}.bar{height:10px;border-radius:99px;background:#ECEEF2;margin-top:8px;overflow:hidden}.bar i{display:block;height:100%;background:var(--green);border-radius:99px}
.imgs{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.shot{aspect-ratio:16/10;border-radius:10px;position:relative;display:flex;align-items:flex-end;padding:12px}
.shot .pill{background:#fff}
.add{border:3px dashed var(--border);background:var(--bg);display:grid;place-items:center;font-weight:900;color:var(--muted);align-items:center}
/* blog */
.chips{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}
.chip{padding:10px 20px;border-radius:999px;background:#fff;border:1px solid var(--border);font-weight:800}.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.feat{display:grid;grid-template-columns:1.2fr 1fr;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;margin:12px 0 36px}
.feat .img{background:var(--lav);min-height:380px;display:grid;place-items:center;font-size:90px;font-weight:900}
.feat .txt{padding:44px;display:flex;flex-direction:column;gap:16px;justify-content:center}
.feat h2{font-size:40px;margin:0;line-height:1.15}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:56px}
.post{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden}
.post .img{height:190px}
.post div.t{padding:22px;display:flex;flex-direction:column;gap:10px}
.post h3{font-size:22px;font-weight:900;line-height:1.25}
.meta{color:var(--faint);font-size:14px;font-weight:700;display:flex;gap:10px;align-items:center}
.av{width:28px;height:28px;border-radius:50%;background:#15a633;display:inline-block}
.article{max-width:760px;margin:0 auto}
.article h1{font-size:54px;line-height:1.1;margin:16px 0}
.article .cover{height:380px;border-radius:17px;margin:28px 0;background:var(--sky);display:grid;place-items:center;font-size:90px;font-weight:900}
.article p{font-size:20px;line-height:1.8;margin-bottom:20px;color:#2b2f36}
.article h2{font-size:32px;margin:36px 0 12px}
.callout{background:var(--yel);border-radius:12px;padding:24px 28px;margin:28px 0;font-size:19px}
/* ===== shared nav pieces ===== */
.nav a em,.bottombar em{font-style:normal;width:24px;text-align:center;font-weight:900}
.bottombar{display:none}
.profile{color:inherit}
.pubnav{display:flex;justify-content:space-between;align-items:center;padding:24px 0;gap:12px}
.pubnav nav{display:flex;gap:8px}.pubnav nav a{padding:10px 20px;border-radius:999px;font-weight:800;color:var(--muted)}.pubnav nav a.on{background:var(--ink);color:#fff}
.pub{max-width:1280px;margin:0 auto;padding:0 32px}
.hero{position:relative;text-align:center;padding:84px 24px 76px;border-radius:26px;overflow:hidden;margin-top:6px;background:#3a2410 url(/assets/hero-art.webp) center 82%/cover no-repeat;isolation:isolate}
.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 70% 85% at 50% 48%,rgba(38,18,6,.66) 0%,rgba(38,18,6,.42) 60%,rgba(38,18,6,.16) 100%)}
.hero h1{font-size:64px;line-height:1.06;max-width:860px;margin:0 auto 16px;color:#FFF3DC;text-shadow:0 2px 18px rgba(30,12,2,.55)}
.hero p{font-size:21px;color:#FFD9A3;margin-bottom:30px;text-shadow:0 1px 10px rgba(30,12,2,.5)}
.hero .search{border-color:transparent;box-shadow:0 12px 34px rgba(30,12,2,.35)}
.search{display:flex;align-items:center;background:#fff;border:1px solid var(--border);border-radius:999px;padding:8px 8px 8px 28px;max-width:760px;margin:0 auto;gap:8px}
.search input{flex:1;border:0;outline:0;font-size:20px;background:none;min-width:0}
.sec{margin:56px 0}
.sechead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}
.sechead h2{margin:0}
.agrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.acard{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;display:block;transition:transform .15s}
.acard:hover{transform:translateY(-4px)}
.acard .th{aspect-ratio:16/9;position:relative;display:grid;place-items:center}
.acard .th b{font-size:54px;font-weight:900;opacity:.55}
.acard .th .pill{position:absolute;left:14px;bottom:14px}
.acard .ct{padding:18px 20px 20px}
.acard h3{font-size:20px;font-weight:900}
.meta{color:var(--faint);font-size:14px;font-weight:700;display:flex;gap:10px;align-items:center;margin-top:4px}
.free{background:var(--greenSoft);color:#0f7f26;border-radius:99px;padding:2px 10px;margin-left:auto}
.banner{border-radius:18px;padding:52px;display:flex;justify-content:space-between;align-items:center;gap:32px;background:var(--lav)}
.banner h2{font-size:44px;line-height:1.1;margin-bottom:12px}
.banner .art{width:280px;height:200px;border-radius:15px;background:#fff;display:grid;place-items:center;font-size:80px;font-weight:900;flex:none}
.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.cat{border-radius:13px;aspect-ratio:1/1.05;padding:14px;display:flex;align-items:flex-end}
.cat div{background:#fff;border-radius:10px;padding:12px 16px;width:100%}.cat b{display:block;font-size:18px;font-weight:900}.cat small{color:var(--muted)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.step{background:#fff;border:1px solid var(--border);border-radius:15px;padding:32px}
.step i{width:56px;height:56px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:24px;margin-bottom:16px}
.step h3{font-size:24px;margin-bottom:6px;font-weight:900}.step p{color:var(--muted)}
.cta{background:var(--ink);color:#fff;border-radius:18px;padding:56px;text-align:center}
.cta h2{font-size:42px}.cta p{color:#c9ced8;margin:-8px 0 24px;font-size:19px}
.dlbar{display:none}
.pf{border-top:1px solid var(--border);padding:32px 0;color:var(--faint);margin-top:56px;text-align:center}
.carousel{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;scrollbar-width:none}
.carousel::-webkit-scrollbar{display:none}
.slide{flex:0 0 min(900px,88%);scroll-snap-align:center;border-radius:18px;padding:48px;min-height:340px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;position:relative;overflow:hidden}
.slide h2{font-size:48px;line-height:1.05;margin:0;max-width:520px}.slide p{max-width:480px;color:#3b4049;font-size:18px}
.slide .deco{position:absolute;right:48px;top:50%;transform:translateY(-50%);width:240px;height:240px;border-radius:21px;background:rgba(255,255,255,.65);display:grid;place-items:center;font-size:90px;font-weight:900}
.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.toolbar .search{margin:0;flex:1;min-width:240px;max-width:none;padding:6px 6px 6px 24px}
.toolbar .sel{width:auto;border-radius:999px;padding:14px 48px 14px 22px;font-size:16px;background-color:#fff}
.crumb{color:var(--faint);font-weight:700;margin:8px 0 20px}
.detail{display:grid;grid-template-columns:1fr 400px;gap:28px;align-items:start}
.gallery .big{aspect-ratio:16/9;border-radius:17px;background:var(--lav);display:grid;place-items:center;font-size:110px;font-weight:900;color:rgba(20,22,26,.4)}
.gallery .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.gallery .thumbs div{aspect-ratio:16/10;border-radius:10px}
.dl{position:sticky;top:20px;background:#fff;border:1px solid var(--border);border-radius:17px;padding:32px;display:flex;flex-direction:column;gap:18px}
.dl h1{font-size:36px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stats div{background:var(--bg);border-radius:10px;padding:12px;text-align:center}.stats b{display:block;font-size:20px;font-weight:900}.stats small{color:var(--muted)}
.dlbtn{width:100%;font-size:20px;padding:18px}
.stat3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}
.stat{background:#fff;border:1px solid var(--border);border-radius:13px;padding:26px}
.stat small{color:var(--muted);font-weight:800}.stat b{display:block;font-size:40px;font-weight:900;margin:4px 0}
.link{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.list{display:flex;flex-direction:column}
.li{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--border)}.li:last-child{border:0}
.li .sq{width:52px;height:52px;border-radius:10px;flex:none}.li .grow{flex:1;min-width:0}.li b{font-weight:900}
.chart{display:flex;align-items:flex-end;gap:10px;height:220px;padding:12px 0 30px}
.chart div{flex:1;background:var(--lav);border-radius:14px 14px 6px 6px;position:relative}
.chart div.hi{background:var(--green)}
.chart div span{position:absolute;bottom:-26px;left:50%;transform:translateX(-50%);font-size:13px;color:var(--faint);font-weight:700}
.prog{height:12px;border-radius:99px;background:#ECEEF2;overflow:hidden;margin-top:8px}.prog i{display:block;height:100%;background:var(--green)}
.pitem{margin-bottom:18px}.pitem .row{justify-content:space-between}
.seg2{display:inline-flex;background:#fff;border:1px solid var(--border);border-radius:999px;padding:5px}.seg2 span{padding:9px 20px;border-radius:999px;font-weight:800;color:var(--muted)}.seg2 .on{background:var(--ink);color:#fff}
.balance{background:var(--green);border-radius:18px;padding:40px;display:flex;flex-direction:column;gap:12px}
.balance b{font-size:64px;font-weight:900;line-height:1}
.earnrow{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-bottom:24px}
.twocol{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}
.twocol .card{margin:0}

/* ===== tablet: icon rail, fewer columns ===== */
@media(max-width:1100px){
 .app{grid-template-columns:88px 1fr}
 .side{padding:20px 14px;align-items:center}.side .lbl{display:none}
 .side .nav a{padding:14px;justify-content:center}.side .newbtn{width:56px;height:56px;padding:0;border-radius:10px}
 .side .profile{padding:8px;background:none}
 main{padding:28px}
 .agrid{grid-template-columns:repeat(3,1fr)}.cats{grid-template-columns:repeat(3,1fr)}
 .detail{grid-template-columns:1fr}.dl{position:static}
 .hero h1{font-size:54px}.banner .art{width:200px}
 .imgs{grid-template-columns:repeat(2,1fr)}.posts{grid-template-columns:repeat(2,1fr)}
 .earnrow,.twocol{grid-template-columns:1fr}
}
/* ===== mobile: bottom bar, thumb-friendly ===== */
@media(max-width:700px){
 body{font-size:15px;padding-bottom:84px}
 .app{display:block}.side{display:none}
 main{padding:20px 16px 130px}.pub{padding:0 16px}
 h1{font-size:30px}h2{font-size:23px;margin-bottom:14px}
 .top{flex-wrap:wrap}.top .row{width:100%;overflow-x:auto}
 .tabs{display:flex;overflow-x:auto;max-width:100%;margin-bottom:16px;scrollbar-width:none}.tabs a{white-space:nowrap;padding:10px 18px}
 .card{padding:20px;border-radius:12px}
 .grid2,.twocol,.earnrow,.stat3,.steps{grid-template-columns:1fr}
 .stat3{gap:12px}.stat b{font-size:32px}
 .agrid,.posts{grid-template-columns:repeat(2,1fr);gap:12px}
 .acard{border-radius:10px}.acard .th b{font-size:36px}.acard .ct{padding:12px 14px 14px}.acard h3{font-size:16px}.acard .th .pill{left:8px;bottom:8px;font-size:12px;padding:4px 10px}
 .cats{grid-template-columns:repeat(2,1fr);gap:12px}.cat{border-radius:11px}
 .imgs{grid-template-columns:repeat(2,1fr)}
 .pubnav nav,.pubnav .dbtn{display:none}.pubnav{padding:16px 0}
 .hero{padding:24px 0 20px}.hero h1{font-size:36px}.hero p{font-size:17px;margin-bottom:20px}
 .search{padding:6px 6px 6px 18px}.search input{font-size:17px}.search .btn{padding:12px 18px}
 .sec{margin:36px 0}
 .banner,.cta{padding:28px;border-radius:13px;flex-direction:column;align-items:flex-start}.banner h2{font-size:30px}.banner .art{display:none}.cta{align-items:center}.cta h2{font-size:28px}
 .slide{flex-basis:92%;padding:28px;min-height:300px;border-radius:13px}.slide h2{font-size:30px}.slide .deco{display:none}
 .feat{grid-template-columns:1fr;border-radius:13px}.feat .img{min-height:180px}.feat .txt{padding:24px}.feat h2{font-size:27px}
 .article h1{font-size:34px}.article .cover{height:200px;border-radius:12px;font-size:60px}.article p{font-size:18px}
 .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 .dl{border-radius:13px;padding:22px}.dl h1{font-size:28px}
 .gallery .big{border-radius:12px;font-size:70px}
 .balance{border-radius:13px;padding:28px}.balance b{font-size:48px}
 .savebar{position:fixed;left:12px;right:12px;bottom:88px;border-radius:12px;padding:12px;z-index:20;font-size:14px;flex-direction:column;gap:10px}
 .savebar .row{width:100%}.savebar .btn{flex:1}
 .tools{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.tools>*{flex:none}
 .body,.md{padding:18px;min-height:300px;font-size:17px}
 .li{gap:12px}.chart{height:170px;gap:6px}
 .file{flex-wrap:wrap}
 .bottombar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--border);padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}
 .bottombar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:800;color:var(--muted);padding:6px 12px;border-radius:10px;min-width:60px}
 .bottombar a.on{background:var(--ink);color:#fff}.bottombar em{font-size:18px}
 .dlbar{display:block;position:fixed;left:12px;right:12px;bottom:84px;z-index:25}
}
/* ===== round 2: consistent colors, 16:9 media, custom dropdowns, icons, slider, profile ===== */
:root{--c-weapons:#D7F0DD;--c-vehicles:#C7E9D0;--c-furniture:#E1F4E6;--c-magic:#CFECD7;--c-tech:#E1F4E6;--c-food:#E1F4E6;
--s-live:#E1F4E6;--s-draft:#E1F4E6;--s-review:#ECEEF2}
svg.lucide{width:20px;height:20px;stroke-width:2.2;flex:none}
.btn svg{width:18px;height:18px}
.nav a svg{width:22px;height:22px}
.bottombar svg{width:22px;height:22px}
.meta svg{width:15px;height:15px}
.stat3 .stat small{display:flex;gap:6px;align-items:center}
/* dropdown */
.dd{position:relative;display:block}
.dd-native{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.dd-btn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:16px 18px 16px 20px;font-size:18px;font-weight:700;cursor:pointer;text-align:left}
.dd-btn svg{color:var(--muted);transition:transform .15s}
.dd.open .dd-btn{border-color:var(--ink)}.dd.open .dd-btn svg{transform:rotate(180deg)}
.dd-menu{display:none;position:absolute;left:0;top:calc(100% + 8px);min-width:100%;max-height:300px;overflow:auto;background:#fff;border:1px solid var(--border);border-radius:10px;padding:8px;z-index:60;box-shadow:0 14px 40px rgba(20,22,26,.12)}
.dd.open .dd-menu{display:block}
.dd-opt{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;border:0;background:none;border-radius:10px;padding:12px 14px;font-size:16px;font-weight:700;cursor:pointer;text-align:left;white-space:nowrap}
.dd-opt:hover{background:var(--bg)}.dd-opt.on{background:var(--greenSoft);font-weight:900}
.toolbar .dd{width:auto}.toolbar .dd-btn{background:#fff;border-radius:999px;padding:14px 18px 14px 22px;font-size:16px}
.tools .dd{width:auto}.tools .dd-btn{border:0;background:none;border-radius:12px;height:38px;padding:0 10px;font-size:15px;font-weight:800;min-width:130px}
.tools .dd-btn:hover{background:var(--bg)}
.sel{display:none}
/* category + status colors */
.c-weapons{background:var(--c-weapons)}.c-vehicles{background:var(--c-vehicles)}.c-furniture{background:var(--c-furniture)}
.c-magic{background:var(--c-magic)}.c-tech{background:var(--c-tech)}.c-food{background:var(--c-food)}
.s-live{background:var(--s-live)}.s-draft{background:var(--s-draft)}.s-review{background:var(--s-review)}
.k-news{background:#E1F4E6}.k-guides{background:#E1F4E6}.k-tips{background:#E1F4E6}.k-updates{background:#C7E9D0}
/* 16:9 everywhere */
.acard .th{aspect-ratio:16/9}
.post .img{aspect-ratio:16/9;height:auto}
.feat{align-items:center}.feat .img{aspect-ratio:16/9;min-height:0}
.article .cover{aspect-ratio:16/9;height:auto}
.shot{aspect-ratio:16/9}
@media(max-width:700px){.feat .img{min-height:0}.article .cover{height:auto}}
/* addon page tabs + slider */
.ptabs{display:flex;gap:4px;border-bottom:2px solid var(--border);margin:8px 0 24px;overflow-x:auto;scrollbar-width:none}
.ptabs a{padding:14px 22px;font-weight:800;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent;margin-bottom:-2px;display:flex;gap:8px;align-items:center;cursor:pointer}
.ptabs a.on{color:var(--ink);border-color:var(--green)}
.ptabs small{background:#ECEEF2;border-radius:99px;padding:1px 9px;font-weight:800}
.panel{display:none}.panel.on{display:block}
.slider .stage{position:relative;aspect-ratio:16/9;border-radius:17px;display:grid;place-items:center;font-size:110px;font-weight:900;color:rgba(20,22,26,.35);overflow:hidden}
.slider .count{position:absolute;right:18px;top:18px;background:#fff;color:var(--ink);font-size:14px;border-radius:99px;padding:6px 14px;font-weight:800}
.slider .cap{position:absolute;left:18px;bottom:18px;background:#fff;color:var(--ink);font-size:15px;border-radius:99px;padding:8px 16px;font-weight:800}
.slider .strip{display:flex;align-items:center;gap:12px;margin-top:14px}
.arrow{width:46px;height:46px;border-radius:50%;border:1px solid var(--border);background:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.arrow:hover{background:var(--ink);color:#fff}
.slider .thumbs{display:flex;gap:10px;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;flex:1}
.slider .thumbs button{flex:0 0 130px;aspect-ratio:16/9;border-radius:10px;border:3px solid transparent;cursor:pointer;padding:0;opacity:.7}
.slider .thumbs button.on{border-color:var(--green);opacity:1}
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.gal div{aspect-ratio:16/9;border-radius:10px}
.comment{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid var(--border)}.comment:last-child{border:0}
.comment .av{width:44px;height:44px;flex:none}
@media(max-width:700px){.slider .stage{border-radius:12px;font-size:70px}.slider .thumbs button{flex-basis:96px}.arrow{width:40px;height:40px}.gal{grid-template-columns:repeat(2,1fr)}}
/* creator profile */
.pcover{aspect-ratio:16/5;border-radius:18px;background:var(--c-tech)}
.phead{display:flex;gap:24px;align-items:flex-end;margin:-64px 36px 0;position:relative;flex-wrap:wrap}
.pav{width:132px;height:132px;border-radius:50%;background:#15a633;border:6px solid var(--bg);display:grid;place-items:center;font-size:46px;font-weight:900;flex:none}
.pinfo{flex:1;min-width:240px;padding-bottom:6px}
.pinfo h1{font-size:38px;display:flex;align-items:center;gap:10px}
.pinfo h1 svg{color:#2f9e5b;width:28px;height:28px}
.pstats{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.pstats div{background:#fff;border:1px solid var(--border);border-radius:10px;padding:14px 22px;min-width:130px}
.pstats b{display:block;font-size:26px;font-weight:900}.pstats small{color:var(--muted);font-weight:800}
.plinks{display:flex;gap:10px;flex-wrap:wrap}
.plinks a{display:inline-flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:99px;padding:9px 16px;font-weight:800}
@media(max-width:700px){.pcover{aspect-ratio:16/7;border-radius:12px}.phead{margin:-48px 8px 0;gap:14px}.pav{width:96px;height:96px;font-size:34px}.pinfo h1{font-size:28px}.pstats div{flex:1;min-width:0;padding:12px 14px}.pstats b{font-size:22px}}
/* editor mode bar */
.mdtools{display:none}
.editor.md-mode .mdtools{display:flex}.editor.md-mode .vtools{display:none}.editor.html-mode .vtools,.editor.html-mode .mdtools{display:none}
.colorbtn{position:relative;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;cursor:pointer}
.colorbtn:hover{background:var(--bg)}.colorbtn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.tools button svg{width:18px;height:18px}
.editor.md-mode .md{background:#14161A}
.pagetitle{font-size:60px;margin-top:20px}.lead{font-size:20px;margin-top:8px}
@media(max-width:700px){.pagetitle{font-size:38px}.lead{font-size:17px}}
.search>svg{color:var(--faint)}
.link{display:inline-flex;gap:6px;align-items:center}
.drop svg{width:44px;height:44px;color:#0f7f26}

/* ===== round 3: creator profile (minimal), hero slider ===== */
.phead{align-items:flex-start;margin:0 28px;gap:24px}
.pav{margin-top:-64px;flex:none}
.pinfo{padding:18px 0 0;min-width:260px}
.phead>.row{padding-top:18px}
.pname{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pname h1{font-size:34px;display:block}
.tag{font-size:13px;font-weight:800;background:#ECEEF2;border-radius:8px;padding:4px 10px;display:inline-flex;gap:5px;align-items:center}
.tag svg{width:14px;height:14px}.tag.ok{background:var(--greenSoft);color:#0f7f26}
.pmeta{color:var(--muted);font-weight:700;margin:10px 0 0;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.pmeta i{width:4px;height:4px;border-radius:50%;background:var(--faint);display:inline-block}
.pbio{max-width:720px;color:var(--muted);font-size:17px;line-height:1.65;margin:14px 28px 0}
.psocial{display:flex;gap:8px;margin:16px 28px 0}
.psocial a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--border);background:#fff;color:var(--muted)}
.psocial a:hover{background:var(--ink);color:#fff}
.phead{margin-bottom:0}
.listbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 18px;flex-wrap:wrap}
.listbar b{font-size:20px;font-weight:900}
.listbar .row{gap:10px}
.listbar .dd-btn{background:#fff;border-radius:999px;padding:11px 16px 11px 20px;font-size:15px}
.pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:24px}
.pcard{display:flex;gap:20px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;transition:border-color .15s}
.pcard:hover{border-color:var(--ink)}
.pcard .pt{width:132px;height:132px;border-radius:10px;flex:none;display:grid;place-items:center;font-size:40px;font-weight:900;color:rgba(20,22,26,.4)}
.pcard .pb{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.pcard h3{font-size:19px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard .meta{margin:0;gap:14px}
.pcard .meta span{display:inline-flex;gap:5px;align-items:center}
.pcard p{color:var(--muted);font-size:15px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard .tags{margin-top:auto;color:var(--faint);font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pcard .tags b{color:var(--ink);border:1px solid var(--border);border-radius:8px;padding:2px 8px}
@media(max-width:1100px){.pgrid{grid-template-columns:1fr}}
@media(max-width:700px){.phead{margin:0 4px;gap:12px}.pbio,.psocial{margin-left:4px;margin-right:4px}.pname h1{font-size:26px}.pcard{padding:14px;gap:14px;border-radius:10px}.pcard .pt{width:92px;height:92px;font-size:28px;border-radius:10px}.pcard h3{font-size:17px}.phead>.row{width:100%;padding-top:0}.phead>.row .btn{flex:1}}
/* hero slider: centered slide, neighbours peek, arrows + dots */
.hs{position:relative;margin:8px 0 0;--sw:min(840px,80%)}
.hs-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:6px calc((100% - var(--sw))/2) 6px;position:relative}
.hs-track::-webkit-scrollbar{display:none}
.hs-slide{flex:0 0 var(--sw);scroll-snap-align:center;background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden;opacity:.5;transform:scale(.96);transition:opacity .25s,transform .25s}
.hs-slide.on{opacity:1;transform:none}
.hs-art{aspect-ratio:16/9;display:grid;place-items:center;position:relative;font-size:96px;font-weight:900;color:rgba(20,22,26,.3)}
.hs-art .pill{position:absolute;top:18px;left:50%;transform:translateX(-50%);background:#fff;gap:8px;padding:8px 16px}
.hs-art .pill i{width:18px;height:18px;border-radius:50%;background:#15a633;display:inline-block}
.hs-body{position:relative;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 28px 26px 148px;min-height:96px}
.hs-logo{position:absolute;left:28px;top:-48px;width:96px;height:96px;border-radius:12px;border:5px solid #fff;display:grid;place-items:center;font-size:30px;font-weight:900;color:rgba(20,22,26,.45);box-shadow:0 4px 14px rgba(20,22,26,.08)}
.hs-body h2{font-size:26px;margin:0 0 4px}.hs-body p{color:var(--muted);font-size:16px;line-height:1.5;max-width:520px}
.hs-body .row{flex:none}
.hs-arrow{position:absolute;top:230px;z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(20,22,26,.1)}
.hs-arrow:hover{background:var(--ink);color:#fff}
.hs-prev{left:calc(50% - var(--sw)/2 + 16px)}.hs-next{right:calc(50% - var(--sw)/2 + 16px)}
.hs-dots{display:flex;justify-content:center;gap:8px;margin-top:16px}
.hs-dots button{width:8px;height:8px;border-radius:99px;border:0;background:#CDD1D8;padding:0;cursor:pointer;transition:width .2s,background .2s}
.hs-dots button.on{width:26px;background:var(--ink)}
@media(max-width:700px){.hs{--sw:88%}.hs-art{font-size:64px}.hs-body{flex-direction:column;align-items:flex-start;gap:14px;padding:58px 18px 20px}.hs-logo{left:18px;top:-40px;width:80px;height:80px;border-radius:10px;font-size:24px}.hs-body h2{font-size:22px}.hs-body .row{width:100%}.hs-body .btn{flex:1}.hs-arrow{display:none}}

/* ===== round 4: minimal addon cards, slider without buttons ===== */
.acard{display:block}
.acard .th{aspect-ratio:16/9;display:block}
.acard .ct{padding:16px 18px 18px}
.acard .row1{display:flex;gap:12px;align-items:center}
.acard .lg{width:46px;height:46px;border-radius:10px;border:3px solid #fff;box-shadow:0 0 0 1px var(--border);flex:none;display:grid;place-items:center;font-weight:900;font-size:16px;color:rgba(20,22,26,.45)}
.acard .tt{min-width:0}.acard .tt h3{font-size:18px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acard .tt .meta{margin:0}
.acard .foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid var(--border);color:var(--muted);font-size:14px;font-weight:800}
.acard .foot span{display:inline-flex;gap:6px;align-items:center}.acard .foot svg{width:16px;height:16px}
.acard .cname{color:var(--faint)}
@media(max-width:700px){.acard .ct{padding:12px}.acard .lg{width:36px;height:36px;border-radius:12px;font-size:13px}.acard .tt h3{font-size:15px}.acard .row1{gap:8px}.acard .foot{font-size:13px;margin-top:10px;padding-top:10px}}
a.hs-slide{display:block;color:inherit}
.hs-body{min-height:0;padding-top:24px;padding-bottom:24px}
.hs-dl{display:inline-flex;gap:8px;align-items:center;background:var(--bg);border-radius:99px;padding:10px 18px;font-weight:900;flex:none}
@media(max-width:700px){.hs-body{padding-top:56px}}

/* marketplace row */
.acard .th{overflow:hidden}
.acard .th img{width:100%;height:100%;object-fit:cover;display:block}
.mrow{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.mrow::-webkit-scrollbar{display:none}
.mrow .acard{flex:0 0 calc((100% - 66px)/4);scroll-snap-align:start}
.mrow .acard .tt{display:block}.mrow .acard h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow .acard .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;margin-top:2px}
.mrow .acard .ct{padding-top:16px}
.mk-note{font-size:13px;margin-top:14px}
@media(max-width:1100px){.mrow .acard{flex-basis:calc((100% - 44px)/3)}}
@media(max-width:700px){.mrow .acard{flex-basis:72%}.mk-arrows{display:none}.mrow{gap:12px}}

/* ===== launcher modal ===== */
.lm{position:fixed;inset:0;z-index:100;background:rgba(20,22,26,.55);display:grid;place-items:center;padding:16px;overflow:auto}
.lm[hidden]{display:none}
.lm-card{position:relative;background:#fff;border-radius:18px;padding:32px 36px 28px;width:min(620px,100%);text-align:center}
.lm-x{position:absolute;right:16px;top:16px;width:40px;height:40px;border:0;background:var(--bg);border-radius:50%;display:grid;place-items:center;cursor:pointer}
.lm-cover{width:min(420px,100%);aspect-ratio:16/9;border-radius:12px;margin:8px auto 18px;display:grid;place-items:center;font-size:64px;font-weight:900;color:rgba(20,22,26,.35)}
.lm-sub{color:var(--muted);font-weight:700}
.lm-card h2{font-size:34px;margin:6px 0 18px}
.lm-dots b{animation:lmd 1.2s infinite;opacity:.2}.lm-dots b:nth-child(2){animation-delay:.2s}.lm-dots b:nth-child(3){animation-delay:.4s}
@keyframes lmd{50%{opacity:1}}
.lm-actions{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}
.lm-fav.on{background:var(--yel)}.lm-fav.on svg{fill:#15a633;stroke:#15a633}
.lm-phone{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--border);margin-top:26px;padding-top:22px;text-align:left}
.lm-ptxt{display:flex;gap:14px;align-items:center}.lm-ptxt>svg{width:34px;height:34px;color:var(--muted)}
.lm-ptxt b{display:block;font-size:17px;font-weight:900}.lm-ptxt span{display:flex;gap:6px;align-items:center;color:var(--muted)}
.lm-qr{width:96px;height:96px;padding:4px;background:#fff;border:1px solid var(--border);border-radius:8px;flex:none}.lm-qr img,.lm-qr canvas{width:100%!important;height:100%!important}
.lm-note{color:var(--faint);font-size:13px;margin-top:18px}
.lm-toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:99px;padding:10px 20px;font-weight:800;z-index:120}
@media(max-width:700px){.lm-card{padding:24px 18px}.lm-card h2{font-size:26px}.lm-cover{font-size:44px}.lm-actions .btn{flex:1 1 100%}}

.mc{width:18px;height:18px;flex:none}

/* ===== marketplace pages ===== */
.mk-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.mk-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-top:20px}
.feat-card{display:block;background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden}
.feat-card .th{aspect-ratio:16/9;background:#ECEEF2}.feat-card .th img{width:100%;height:100%;object-fit:cover;display:block}
.fc-body{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px}
.fc-body h2{font-size:26px;margin:8px 0 4px}
.fc-meta{display:flex;gap:16px;align-items:center;font-weight:900}.fc-meta span{display:inline-flex;gap:6px;align-items:center}.fc-meta svg{width:18px;height:18px}
.mini-list{display:flex;flex-direction:column;gap:14px}
.mini{display:flex;gap:14px;background:#fff;border:1px solid var(--border);border-radius:15px;padding:12px;align-items:center;flex:1;transition:border-color .15s}
.mini:hover{border-color:var(--ink)}
.mini img{width:42%;max-width:190px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;flex:none}
.mini div{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.mini b{font-weight:900;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini .meta{margin:0;gap:6px}.mini .meta svg{width:14px;height:14px}
.freetxt{color:#0f7f26;font-weight:900}
.acard .foot .mc{width:16px;height:16px}
.mk-desc p{font-size:17px;line-height:1.75;margin-bottom:14px;color:#2b2f36;word-break:break-word}
#mbar{display:none}
@media(max-width:1100px){.mk-hero{grid-template-columns:1fr}.mini-list{flex-direction:row;overflow-x:auto;scrollbar-width:none}.mini{flex:0 0 320px}}
@media(max-width:700px){#mbar:not([hidden]){display:block}.fc-body{flex-direction:column;align-items:flex-start;padding:14px 16px}.fc-body h2{font-size:21px}.mini{flex-basis:84%}.mini img{width:38%}}
.toolbar>.dd{flex:none}
.search>svg{flex:none}

/* ===== round 5: redesigned dashboard sidebar ===== */
.side{background:#fff;gap:20px;overflow-y:auto}
@media(min-width:1101px){.app{grid-template-columns:264px 1fr}}
.sgroup{display:flex;flex-direction:column;gap:6px}
.slabel{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);padding:0 12px}
.side .nav{gap:2px}
.side .nav a{border-radius:12px;padding:8px 10px;gap:12px;color:var(--muted);font-weight:800}
.side .nav a:hover{background:var(--bg);color:var(--ink)}
.side .nav a.on{background:var(--greenSoft);color:var(--ink);font-weight:900}
.ni{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none}
.side .nav a.on .ni{background:var(--green)}
.side .nav a .ni svg{width:20px;height:20px}
.sbadge{margin-left:auto;background:#ECEEF2;color:var(--ink);border-radius:99px;font-size:12px;font-weight:900;padding:2px 9px}
.side .nav a.on .sbadge{background:#fff}
.sfoot{margin-top:auto;display:flex;align-items:center;gap:8px;border-top:1px solid var(--border);padding-top:16px}
.sfoot .profile{margin:0;flex:1;background:none;padding:4px;border-radius:12px;min-width:0}
.sfoot .profile:hover{background:var(--bg)}
.logout{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:var(--muted);flex:none}
.logout:hover{background:var(--bg);color:var(--ink)}
@media(max-width:1100px){.side .slabel{display:none}.side .sgroup{border-top:1px solid var(--border);padding-top:12px;width:100%}.side .sgroup:first-of-type{border:0;padding:0}.side .nav a{justify-content:center;padding:6px}.sfoot{flex-direction:column;border:0;padding:0}.sfoot .profile{flex:none}}

/* ===== round 5: marketplace item page ===== */
.mi-top{display:grid;grid-template-columns:1fr 400px;gap:28px;align-items:start}
.mi-media{aspect-ratio:16/9;border-radius:15px;overflow:hidden;background:#ECEEF2;border:1px solid var(--border)}
.mi-media img{width:100%;height:100%;object-fit:cover;display:block}
.mi-info{background:#fff;border:1px solid var(--border);border-radius:15px;padding:28px;display:flex;flex-direction:column;gap:16px;position:sticky;top:20px}
.mi-info h1{font-size:34px;line-height:1.1}
.mi-by{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:var(--muted);font-weight:700}
.mi-by a{color:var(--ink);font-weight:900;text-decoration:underline;text-underline-offset:3px}
.stars{display:inline-flex;gap:2px;align-items:center}.stars svg{width:18px;height:18px;color:#D5D8DE}.stars svg.on{fill:#15a633;color:#15a633}
.mi-price{display:flex;align-items:center;gap:12px;background:var(--bg);border-radius:12px;padding:16px 18px}
.mi-price .mc{width:30px;height:30px}.mi-price b{font-size:36px;font-weight:900;line-height:1}.mi-price small{color:var(--muted);font-weight:800;margin-left:auto}
.mi-facts{display:flex;flex-direction:column;gap:10px;color:var(--muted);font-weight:700;font-size:15px;border-top:1px solid var(--border);padding-top:16px}
.mi-facts span{display:flex;gap:10px;align-items:center}.mi-facts svg{width:18px;height:18px;color:var(--faint)}
.mi-section{margin:40px 0 0}
.mi-details{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;align-items:start}
.mi-details .card{margin:0}.mi-details h3{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);font-weight:900;margin-bottom:14px}

dl.facts{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;margin-top:6px}
dl.facts dt{color:var(--muted);font-weight:700}dl.facts dd{margin:0;font-weight:900;text-align:right}
.cta-band{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;background:var(--c-tech);border-radius:15px;padding:32px;margin-top:40px}
.cta-band h2{font-size:34px;line-height:1.1;margin-bottom:16px}
.qrcard{background:#fff;border-radius:12px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.qrcard b{font-size:22px;line-height:1.2;display:block;font-weight:900}.qrcard span{display:flex;gap:6px;align-items:center;color:var(--muted);margin-top:8px;font-weight:700}
.qrbox{width:116px;height:116px;flex:none}.qrbox img,.qrbox canvas{width:100%!important;height:100%!important}
.getbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--border);transform:translateY(110%);transition:transform .25s}
.getbar.on{transform:none}
.getbar .in2{max-width:1280px;margin:0 auto;padding:12px 32px;display:flex;align-items:center;gap:14px}
.getbar img{width:56px;aspect-ratio:16/9;object-fit:cover;border-radius:6px}
.getbar b{font-weight:900;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.getbar .pr{display:flex;gap:6px;align-items:center;font-weight:900}.getbar .mc{width:20px;height:20px}
@media(max-width:1100px){.mi-top,.mi-details,.cta-band{grid-template-columns:1fr}.mi-info{position:static}}
@media(max-width:700px){.mi-info{padding:20px}.mi-info h1{font-size:26px}.mi-price b{font-size:30px}.cta-band{padding:20px}.cta-band h2{font-size:26px}.qrcard{flex-direction:column;align-items:flex-start}.getbar{bottom:64px}.getbar .in2{padding:10px 14px;gap:10px}.getbar img{display:none}}
.getbar .btn{width:auto;flex:none;padding:12px 26px;font-size:16px}

/* marketplace item gallery + panorama */
.mi-gallery .stage{font-size:0;color:inherit;border:1px solid var(--border)}
.mi-gallery .stage img{width:100%;height:100%;object-fit:cover;display:block}
.mi-gallery .thumbs button{background-color:#ECEEF2}
.pano{position:relative;border:1px solid var(--border);border-radius:15px;overflow:hidden;background:#ECEEF2}
.pscroll{overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}.pscroll::-webkit-scrollbar{display:none}
.pscroll img{display:block;height:min(340px,56vw);width:auto;max-width:none}
.pano .arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;box-shadow:0 4px 14px rgba(20,22,26,.15)}
.pano .pl{left:14px}.pano .pr2{right:14px}
.mi-by span:last-child{font-weight:700}

/* ===== hero slider as cards, endless loop ===== */
.hs-track{display:block;overflow:hidden;scroll-snap-type:none;padding:6px 0;touch-action:pan-y;user-select:none}.hs-in{width:100%;box-sizing:border-box}
.hs-in{display:flex;gap:20px;will-change:transform}
.hs-slide.acard{flex:0 0 var(--sw);scroll-snap-align:none;opacity:.5;transform:scale(.95);transition:opacity .3s,transform .3s;border-radius:15px}
.hs-slide.acard.on{opacity:1;transform:none}
.hs-slide.acard:hover{transform:scale(.95)}.hs-slide.acard.on:hover{transform:none}
.hs-slide .th{aspect-ratio:16/9}
.hs-ph{width:var(--sw);margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden}.hs-ph .th{aspect-ratio:16/9}.hs-ph .ct{height:112px}@media(max-width:700px){.hs-ph .ct{height:76px}}
.hs-slide .ct{padding:22px 28px 24px}
.hs-slide .lg{width:64px;height:64px;border-radius:14px;font-size:22px}
.hs-slide .row1{gap:16px}
.hs-slide .tt h3{font-size:26px}
.hs-slide .tt .meta{font-size:16px}
.hs-slide .foot{font-size:16px;margin-top:18px;padding-top:16px}
@media(max-width:700px){.hs-in{gap:12px}.hs-slide .ct{padding:14px}.hs-slide .lg{width:46px;height:46px;font-size:16px}.hs-slide .tt h3{font-size:19px}.hs-slide .tt .meta{font-size:14px}.hs-slide .foot{font-size:14px;margin-top:12px;padding-top:12px}}

/* slider card: downloads + category on the right of the title row */
.hs-ct{display:flex;justify-content:space-between;align-items:center;gap:16px}
.hs-side{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none;color:var(--faint);font-weight:800;font-size:15px}
.hs-side b{display:inline-flex;gap:8px;align-items:center;color:var(--ink);font-size:20px;font-weight:900}
.hs-side b svg{width:20px;height:20px;color:var(--muted)}
@media(max-width:700px){.hs-side{font-size:13px}.hs-side b{font-size:16px}.hs-side b svg{width:16px;height:16px}}

/* ===== marketplace category bar (bedrock.gg style) + banner ===== */
.catnav{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:4px 0 14px;align-items:center}
.catnav::-webkit-scrollbar{display:none}
.cn-link{display:inline-flex;gap:8px;align-items:center;padding:10px 16px;border-radius:999px;font-weight:800;color:var(--muted);white-space:nowrap;border:0;background:none;cursor:pointer;font-size:16px}
.cn-link:hover{background:#ECEEF2;color:var(--ink)}
.cn-link.on{background:var(--ink);color:#fff}
.cn-link svg{width:18px;height:18px}
.cn-menu{position:fixed;z-index:70;background:#fff;border:1px solid var(--border);border-radius:15px;padding:18px;box-shadow:0 14px 40px rgba(20,22,26,.14);min-width:320px}
.cn-menu[hidden]{display:none}
.cn-menu>b{display:block;font-size:20px;font-weight:900;margin-bottom:12px}
.cn-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.cn-grid a{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;font-weight:800;color:var(--muted)}
.cn-grid a:hover{background:var(--bg);color:var(--ink)}
.cn-grid a svg{width:20px;height:20px}
.cat-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:15px;padding:36px 40px;margin-top:4px}
.cat-banner h1{font-size:52px;line-height:1.05;margin-bottom:6px}
.cat-banner p{font-size:18px;color:#3b4049;max-width:620px}
@media(max-width:700px){.cat-banner{padding:22px 20px;flex-direction:column;align-items:flex-start}.cat-banner h1{font-size:34px}.cat-banner p{font-size:15px}.cn-menu{min-width:0;width:calc(100vw - 16px)}}
/* mini cards: only the thumbnail is the wide picture; the Minecoin icon keeps its own small size */
.mini img:not(.mini>img){width:16px;max-width:none;aspect-ratio:auto;border-radius:0;flex:none}
.mini .mc{width:16px;height:16px;aspect-ratio:auto;object-fit:contain;border-radius:0;flex:none}
/* long thumbnail strips must scroll inside their column, never widen it */
.mi-top{grid-template-columns:minmax(0,1fr) 400px}
.detail{grid-template-columns:minmax(0,1fr) 400px}
.mi-details{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.mi-top>*,.detail>*,.mi-details>*{min-width:0}
.slider,.slider .thumbs{min-width:0}
@media(max-width:1100px){.mi-top,.detail,.mi-details{grid-template-columns:minmax(0,1fr)}}

/* ===== accounts: login, signup, account page, nav user ===== */
.auth{display:grid;place-items:start center;padding:32px 0 24px}
.authcard{width:min(460px,100%);padding:28px 32px 32px;margin:0}
.authcard h1{font-size:30px;margin:6px 0 4px}
.authcard form>.hint{margin-bottom:20px}
.authtabs{display:flex;margin-bottom:22px}.authtabs a{flex:1;text-align:center}
.wide{width:100%}.center{text-align:center;margin-top:16px}
.pw{position:relative}.pw .in{padding-right:54px}
.pwtoggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;background:none;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:var(--muted)}
.pwtoggle:hover{background:#ECEEF2}
.in.bad{border-color:#E5484D;background:#FFF5F5}
.in:disabled{color:var(--muted);cursor:not-allowed}
.err{color:#C4262C;font-weight:800;font-size:14px;margin-top:2px}
.formerr{margin:-8px 0 14px}.formerr:empty{display:none}
.btn:disabled{opacity:.6;cursor:wait}
button.btn{font:inherit;font-weight:800}
.acct{max-width:820px;margin:0 auto;padding:16px 0 8px}
.accthead{display:flex;gap:20px;align-items:center;margin-bottom:24px}
.accthead .pav{margin:0;width:88px;height:88px;font-size:30px;border-width:4px}
.accthead h1{font-size:34px}
.saved{display:inline-flex;gap:6px;align-items:center;color:#0f7f26;font-weight:800}.saved[hidden]{display:none}
.card.danger{border-color:#F3C2C4}.card.danger h2{color:#C4262C}
.dangerbtn{background:#E5484D;border-color:#E5484D;color:#fff}
.navauth{gap:10px;flex:none}
.navuser{display:flex;gap:10px;align-items:center;font-weight:800;border:1px solid var(--border);background:#fff;border-radius:999px;padding:5px 16px 5px 5px}
.navuser i{width:36px;height:36px;border-radius:50%;background:#15a633;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:900}
.navuser span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.logout{border:0;background:none;cursor:pointer}
.profile b{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.authcard{padding:22px 18px}.authcard h1{font-size:26px}.pubnav .navauth{display:flex}.pubnav .navauth .dbtn{display:none}.navuser span{display:none}.navuser{padding:4px}.pubnav .navauth a[href="/login"]{display:inline-flex;padding:9px 16px}.accthead .pav{width:64px;height:64px;font-size:22px}.accthead h1{font-size:26px}}

/* ===== production pages: empty states, notices, editor, uploads, rich text ===== */
.empty{border:2px dashed var(--border);border-radius:15px;padding:36px 24px;text-align:center;background:#fff;margin:8px 0}
.empty b{display:block;font-size:20px;font-weight:900}.empty p{color:var(--muted);margin:6px 0 16px}.empty p:last-child{margin-bottom:0}
.notice{display:flex;gap:10px;align-items:center;background:var(--yel);border-radius:12px;padding:12px 16px;font-weight:800;margin:0 0 18px}
.notice.warn{background:#FFE9E9;color:#8A1C20}
.c-none{background:#ECEEF2}
.acard .th,.li .sq{position:relative;overflow:hidden}.acard .th img,.li .sq img,.lg img,.lg2 img{width:100%;height:100%;object-fit:cover;display:block}
.lg{overflow:hidden}.lg2{width:56px;height:56px;border-radius:14px;overflow:hidden;display:grid;place-items:center;font-weight:900;color:rgba(20,22,26,.45);flex:none}
.mi-stage img,.slider .stage img{width:100%;height:100%;object-fit:cover;display:block}
.slider .stage{font-size:0}
.rich{font-size:17px;line-height:1.75}.rich h2{font-size:28px;margin:22px 0 10px}.rich h3{font-size:22px;margin:18px 0 8px}
.rich p{margin:0 0 14px}.rich ul,.rich ol{padding-left:26px;margin:0 0 14px}.rich img,.rich iframe{max-width:100%;border-radius:12px;display:block;margin:16px 0}.rich iframe{width:100%;aspect-ratio:16/9;border:0}
.rich blockquote{border-left:5px solid var(--green);background:var(--bg);padding:12px 18px;border-radius:0 12px 12px 0;margin:12px 0}
.rich pre{background:var(--ink);color:#E1F4E6;border-radius:10px;padding:14px;overflow:auto}.rich a{text-decoration:underline;text-underline-offset:3px}
.drop.over{background:#E4F9EC;border-color:#0f7f26}.drop{display:block;cursor:pointer}.drop svg{margin:0 auto}
.file .grow{min-width:0}.file b{overflow-wrap:anywhere}
.flabel{display:block;font-weight:900;font-size:18px;margin-bottom:4px}.flabel small{color:var(--faint);font-weight:700}
.imgrow{display:flex;gap:24px;flex-wrap:wrap}.imgrow>div{min-width:0}
.upslot{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#ECEEF2;margin-top:10px;min-width:260px}.upslot.sq1{aspect-ratio:1;width:150px;min-width:0}
.upslot img{width:100%;height:100%;object-fit:cover}.slotbar{position:absolute;left:8px;bottom:8px;display:flex;gap:6px}.slotbar .btn{padding:8px 12px;font-size:14px}
.addimg{width:100%;height:100%;border:2px dashed var(--border);border-radius:12px;background:var(--bg);display:grid;place-content:center;justify-items:center;gap:6px;cursor:pointer;font-weight:800;color:var(--muted)}
.shot{position:relative;background-color:#ECEEF2}.shot>.btn{position:absolute;right:8px;top:8px;padding:8px 10px}
button.shot.add{border:2px dashed var(--border);cursor:pointer;color:var(--muted);font-weight:900;display:grid;place-items:center;aspect-ratio:16/9;border-radius:12px;background:var(--bg)}
.seg2 button{border:0;background:none;padding:9px 20px;border-radius:999px;font-weight:800;color:var(--muted);cursor:pointer}.seg2 button.on{background:var(--ink);color:#fff}
.chart{display:flex;align-items:flex-end;gap:10px;height:220px;padding:12px 0 30px}.chart.dense{gap:3px}.chart.dense div span{display:none}
.chart.dense div:nth-child(5n+1) span{display:block;font-size:11px}
.tabs a{cursor:pointer}
.dlbar a{display:flex}
.lm-cover{background-size:cover}

/* ===== download page ===== */
.dlpage{max-width:720px;margin:0 auto;padding:16px 0 8px}
.dlcard{text-align:center}
.dlhead{display:flex;gap:16px;align-items:center;text-align:left;margin-bottom:24px}.dlhead h1{font-size:28px}
.countbox{background:var(--bg);border-radius:15px;padding:28px 20px}
.countbox .num{width:96px;height:96px;margin:0 auto 14px;border-radius:50%;background:var(--green);display:grid;place-items:center;font-size:48px;font-weight:900}
.countbox .num svg{width:44px;height:44px}
.countbox .bar{max-width:320px;margin:14px auto 0}.countbox .bar i{transition:width 1s linear}
.dlcard .steps{text-align:left}.dlcard code{background:#ECEEF2;border-radius:6px;padding:1px 6px}
.adslot{display:none}.adslot.on{display:block;margin:0 auto 20px;text-align:center;min-height:90px}.adslot small{display:block;color:var(--faint);font-size:11px;margin-bottom:4px}
@media(max-width:700px){.dlhead h1{font-size:22px}.countbox .num{width:76px;height:76px;font-size:38px}}

/* ===== addon page grid, slider animation, profile images ===== */
.dgrid{grid-template-columns:minmax(0,1fr) 400px;grid-template-areas:"tabs ." "panels side";column-gap:28px;row-gap:0;align-items:start}
.dgrid>.ptabs{grid-area:tabs}.dgrid>.panels{grid-area:panels;min-width:0}.dgrid>.dl{grid-area:side}
@media(max-width:1100px){.dgrid{grid-template-columns:minmax(0,1fr);grid-template-areas:"tabs" "panels" "side"}.dgrid>.dl{margin-top:24px}}
.slider .stage{position:relative;overflow:hidden;background-color:#ECEEF2}
.sl-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;user-select:none;-webkit-user-drag:none;will-change:transform,opacity}
.slider .count{z-index:3}
.slider .thumbs button{transition:opacity .3s,border-color .3s,transform .3s}.slider .thumbs button.on{transform:scale(1.05)}
.slider .arrow{transition:background .2s,color .2s,transform .2s}.slider .arrow:active{transform:scale(.92)}
.upslot.round{border-radius:50%}.upslot.round img{border-radius:50%}.upslot.wide{aspect-ratio:16/5;min-width:0;width:100%}
.upslot .addimg{border-radius:inherit}.upslot.round .slotbar{left:50%;transform:translateX(-50%);bottom:6px}
@media(prefers-reduced-motion:reduce){.sl-img{will-change:auto}.slider .thumbs button{transition:none}}
.dgrid>.dl{display:flex;flex-direction:column}.dgrid>.dl .dlbtn{margin-top:auto}

/* ===== thumbnails: no outline on the picked one, it is simply brighter ===== */
.slider .thumbs button,.slider .thumbs button.on{border:0}
.slider .thumbs button{opacity:.55;transform:none}.slider .thumbs button.on{opacity:1;transform:none}
.mi-gallery .thumbs button,.mi-gallery .thumbs button.on{border:0}.mi-gallery .thumbs button:not(.on){opacity:.55}.mi-gallery .thumbs button.on{opacity:1}

/* ===== loading skeletons and fade-in ===== */
.sk{position:relative;overflow:hidden;background:#E9ECF1;border-radius:10px;color:transparent}
.sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:skm 1.3s ease-in-out infinite}
@keyframes skm{to{transform:translateX(100%)}}
.skl{height:14px;margin:9px 0}.skl.s{width:38%}.skl.m{width:62%}.skl.l{width:92%}.skl.h{height:30px;width:60%;margin:12px 0}.skl.btn{height:52px;border-radius:999px;margin-top:18px}
.acard.skc{pointer-events:none}.acard.skc:hover{transform:none}.acard.skc .th.sk{border-radius:0}.acard.skc .lg.sk{border-radius:12px}
.skbox{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px}
@keyframes fin{from{opacity:0;transform:translateY(10px)}}
.agrid>.acard:not(.skc),.posts>.post,.list>.li,.stat3>*,.fin{animation:fin .45s cubic-bezier(.2,.7,.2,1) backwards}
.agrid>.acard:nth-child(2),.posts>.post:nth-child(2){animation-delay:.04s}.agrid>.acard:nth-child(3),.posts>.post:nth-child(3){animation-delay:.08s}
.agrid>.acard:nth-child(4),.posts>.post:nth-child(4){animation-delay:.12s}.agrid>.acard:nth-child(n+5){animation-delay:.16s}
.stat3>*:nth-child(2){animation-delay:.05s}.stat3>*:nth-child(3){animation-delay:.1s}
.sk-view{animation:fin .3s ease backwards}
@media(prefers-reduced-motion:reduce){.sk::after{animation:none}.agrid>.acard,.posts>.post,.list>.li,.stat3>*,.fin{animation:none!important}}

/* ===== top bar: one Dashboard button that carries the profile picture ===== */
.navdash{display:inline-flex;align-items:center;gap:10px;padding:5px 20px 5px 5px;border-radius:999px}
.navdash .nav-av{width:36px;height:36px;border-radius:50%;background:#15a633;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:900;flex:none;color:var(--ink)}
@media(max-width:700px){.pubnav .navauth .navdash{display:inline-flex;padding:4px}.navdash span{display:none}}

/* ===== editor: sticky toolbar, insert bar, video boxes ===== */
.editor{overflow:clip}
.editor .stickyt{position:sticky;top:var(--stick,0px);z-index:8;background:#fff}
.insbar{display:none;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--greenSoft);flex-wrap:wrap}
.insbar.on{display:flex}.insbar .in{flex:1;min-width:180px;height:42px;padding:0 14px}.insbar svg{width:18px;height:18px;flex:none}
.insbar .btn{height:42px;padding:0 16px}.ib-err{color:#C62828;font-weight:800;font-size:14px;flex-basis:100%}.ib-err:empty{display:none}
.yt-prev{display:flex;align-items:center;gap:8px;font-weight:800;font-size:13px;color:var(--muted)}.yt-prev img{height:42px;border-radius:8px}.yt-prev:empty{display:none}
.body .yt{position:relative;margin:16px 0;border-radius:12px}.body .yt iframe{margin:0;pointer-events:none}.body .yt.sel{outline:3px solid var(--green);outline-offset:2px}
.body .yt.sel::after{content:"Press Delete to remove";position:absolute;top:8px;left:8px;background:var(--ink);color:#fff;font-size:12px;font-weight:800;padding:4px 10px;border-radius:99px}
.rich .yt,.article .yt{margin:18px 0}.rich table,.body table{border-collapse:collapse;width:100%;margin:14px 0}.rich th,.rich td,.body th,.body td{border:1px solid var(--border);padding:8px 12px;text-align:left}
.rich h4,.body h4{font-size:18px;margin:14px 0 6px}.rich mark,.body mark{background:#FFF1A8;padding:0 3px;border-radius:3px}
.rich figure{margin:16px 0}.rich figcaption{color:var(--muted);font-size:14px;text-align:center}

/* ===== blog editor ===== */
.bartop{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 0;background:var(--bg)}
.bartop .back{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--muted)}
.bed{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.bed-main{display:grid;gap:14px;min-width:0}
.ttl{width:100%;border:0;background:transparent;font-family:inherit;font-weight:900;font-size:42px;line-height:1.15;outline:none;padding:6px 0;color:var(--ink);resize:none;overflow:hidden}
.ttl::placeholder{color:#B9BEC8}
.plink{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-weight:700;color:var(--muted);font-size:15px}
.plink input{border:0;border-bottom:2px dashed var(--border);background:transparent;font:inherit;font-weight:800;color:var(--ink);min-width:140px;flex:1;outline:none;padding:2px 4px}
.plink input:focus{border-color:var(--green)}
.bed-side{display:grid;gap:14px;position:sticky;top:76px;max-height:calc(100vh - 92px);overflow:auto;padding-right:2px}
.sbox{background:#fff;border:1px solid var(--border);border-radius:14px;padding:0}
.sbox>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;font-weight:900}
.sbox>summary::-webkit-details-marker{display:none}.sbox>summary svg{transition:transform .2s;color:var(--muted)}.sbox[open]>summary svg{transform:rotate(180deg)}
.sbox .sin{padding:0 18px 18px;display:grid;gap:12px}
.sbox label.fl{font-weight:800;font-size:14px;display:block;margin-bottom:6px}
.sbox .in{height:44px;padding:0 14px;width:100%}.sbox textarea.in{height:auto;padding:10px 14px;line-height:1.45}
.srow{display:flex;gap:8px;align-items:center;justify-content:space-between;font-weight:700;font-size:15px}
.switch{display:inline-flex;align-items:center;gap:10px;font-weight:800;cursor:pointer}.switch input{width:20px;height:20px;accent-color:var(--green)}
.ccount{font-size:12px;color:var(--faint);font-weight:800}.ccount.bad{color:#C62828}
.tagbox{display:flex;flex-wrap:wrap;gap:6px;border:1px solid var(--border);border-radius:12px;padding:7px 8px;background:#fff;cursor:text}
.tagbox:focus-within{border-color:var(--green)}
.tagbox .t{display:inline-flex;align-items:center;gap:4px;background:var(--greenSoft);border-radius:99px;padding:4px 6px 4px 12px;font-weight:800;font-size:14px}
.tagbox .t button{border:0;background:none;cursor:pointer;width:20px;height:20px;border-radius:50%;font-weight:900;color:var(--muted)}.tagbox .t button:hover{background:#fff}
.tagbox input{flex:1;min-width:90px;border:0;outline:0;font:inherit;font-weight:700;padding:4px}
.sugs{display:flex;flex-wrap:wrap;gap:6px}.sugs button{border:1px dashed var(--border);background:#fff;border-radius:99px;padding:3px 11px;font-weight:800;font-size:13px;color:var(--muted);cursor:pointer}.sugs button:hover{border-color:var(--green);color:var(--ink)}
.cover-slot{position:relative;aspect-ratio:16/9;border-radius:12px;background:var(--bg);border:2px dashed var(--border);display:grid;place-items:center;overflow:hidden}
.cover-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover-slot .addimg{width:100%;height:100%;border:0;background:none;display:grid;place-items:center;font-weight:800;color:var(--muted);cursor:pointer}
.cover-slot .slotbar{position:absolute;right:8px;bottom:8px;display:flex;gap:6px}
.serp{border:1px solid var(--border);border-radius:12px;padding:14px;background:#fff;overflow:hidden}.serp .u{color:#1a7f37;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.serp .t{color:#1a0dab;font-size:19px;line-height:1.3;margin:2px 0}.serp .d{color:#4d5156;font-size:14px;line-height:1.5}
.meter{height:5px;border-radius:4px;background:#ECEEF2;overflow:hidden}.meter i{display:block;height:100%;background:var(--green);width:0;transition:width .3s,background .3s}
.autosave{font-weight:800;font-size:14px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}.autosave.err{color:#C62828}
@media(max-width:1100px){.bed{grid-template-columns:minmax(0,1fr)}.bed-side{position:static;max-height:none;overflow:visible}.ttl{font-size:30px}}

/* ===== blog on the public pages ===== */
.post .img{background-size:cover;background-position:center}
.ptags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.ptags a{background:#fff;border:1px solid var(--border);border-radius:99px;padding:6px 14px;font-weight:800;font-size:14px;color:var(--muted)}.ptags a:hover{color:var(--ink);border-color:var(--green)}
.article .hero-img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:16px;margin-top:24px}
.morep{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:16px}@media(max-width:800px){.morep{grid-template-columns:1fr}}

/* text for search engines that the page script replaces; never shown */
.seo-only{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden}

/* ===== pictures and videos inside texts: size, position, captions ===== */
.rich img,.body img,.rich .yt,.body .yt{max-width:100%}
.rich img,.body img{height:auto}
.rich .al-c,.body .al-c{display:block;margin-left:auto;margin-right:auto}
.rich .al-l,.body .al-l{float:left;margin:6px 22px 12px 0}
.rich .al-r,.body .al-r{float:right;margin:6px 0 12px 22px}
.rich::after,.body::after{content:"";display:block;clear:both}
.rich figure,.body figure{margin:16px 0}
.rich figure img,.body figure img{width:100%;margin:0 0 6px}
.rich figcaption,.body figcaption{color:var(--muted);font-size:14px;text-align:center}
.rich h2,.rich h3,.rich pre,.rich blockquote,.rich table{clear:none}
@media(max-width:600px){.rich .al-l,.rich .al-r,.body .al-l,.body .al-r{float:none;display:block;margin:14px auto;width:100%!important}}
.body .sel{outline:3px solid var(--green);outline-offset:2px}
.body .yt.sel::after{display:none}
.editor{position:relative}
.imgsel{position:absolute;pointer-events:none;z-index:6}
.imgsel .h{position:absolute;width:14px;height:14px;background:#fff;border:3px solid var(--green);border-radius:50%;pointer-events:auto;touch-action:none}
.imgsel .h[data-h=tl]{left:-8px;top:-8px;cursor:nwse-resize}.imgsel .h[data-h=tr]{right:-8px;top:-8px;cursor:nesw-resize}
.imgsel .h[data-h=bl]{left:-8px;bottom:-8px;cursor:nesw-resize}.imgsel .h[data-h=br]{right:-8px;bottom:-8px;cursor:nwse-resize}
.imgsel .itool{position:absolute;left:0;top:calc(100% + 12px);pointer-events:auto;display:flex;align-items:center;gap:2px;flex-wrap:wrap;max-width:min(560px,92vw);background:var(--ink);color:#fff;border-radius:14px;padding:6px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.imgsel .itool button{border:0;background:none;color:#fff;min-width:34px;height:34px;border-radius:9px;font-weight:900;cursor:pointer;padding:0 8px;display:grid;place-items:center}
.imgsel .itool button:hover{background:rgba(255,255,255,.14)}.imgsel .itool button.on{background:var(--green);color:var(--ink)}
.imgsel .itool svg{width:17px;height:17px}.imgsel .itool .sep{width:1px;height:20px;background:rgba(255,255,255,.25);margin:0 4px}
.imgsel .itool input{height:34px;border:0;border-radius:9px;padding:0 10px;min-width:190px;flex:1;font:inherit;font-size:14px}
.imgsel [hidden]{display:none!important}

/* ===== file checks, review queue, ratings ===== */
.pill.s-bad{background:#FDE2E2;color:#B42318}
.file.bad{background:#FFF6F6;border-radius:12px;padding:12px;margin:0 -12px}
.problems,.warns{margin-top:10px;border-radius:10px;padding:10px 14px;font-size:15px}
.problems{background:#FDECEC;color:#7A1B14}.warns{background:#FFF8E5;color:#6B4E00}
.problems ul,.warns ul{margin:6px 0 6px;padding-left:20px}.problems li,.warns li{margin:3px 0}
.chipsrow{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.chipsrow .pill{font-size:13px;padding:4px 10px}
.social{display:grid;gap:12px;margin-top:6px;border-top:1px solid var(--border);padding-top:16px}
.rate{display:grid;gap:4px;justify-items:center}
.stars{display:inline-flex;gap:2px}.stars button{border:0;background:none;padding:2px;cursor:pointer;color:#D5D8DE}.stars button svg{width:22px;height:22px}
.stars button.on{color:#15a633}.stars button.on svg{fill:#15a633}.stars button:hover:not(:disabled) svg{transform:scale(1.15)}.stars.big svg{width:30px;height:30px}
.stars button:disabled{cursor:default}
.social .btn.on{background:var(--greenSoft);border-color:var(--green)}.social .btn.on svg{fill:#E5484D;color:#E5484D}
#repform{display:grid;gap:8px}
.rvcard{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;margin-bottom:14px}
.rvcard .top2{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
.rvcard .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;align-items:center}
.rvcard textarea{width:100%}
.acard .foot span{display:inline-flex;align-items:center;gap:4px}

/* ===== addon card header: logo, name and category, heart ===== */
.dlhead{display:flex;align-items:center;gap:14px}
.dlname{flex:1;min-width:0}.dl .dlname h1{font-size:26px;line-height:1.15;margin:0;overflow-wrap:anywhere}
.dlcat{display:block;margin-top:4px;color:var(--muted);font-weight:700;font-size:15px;background:none;padding:0;border-radius:0}
a.dlcat:hover{color:var(--ink)}
.heart{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--muted);transition:transform .15s,background .2s,color .2s}
.heart[hidden]{display:none}.heart svg{width:22px;height:22px}.heart:hover{transform:scale(1.08);color:#E5484D}
.heart.on{color:#E5484D;background:#FDECEC;border-color:#F5B8BA}.heart.on svg{fill:#E5484D}
/* stars with a flag at the side; the report form slides open under them */
.ratebar{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ratebar .rate{justify-items:start}
.flagbtn{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:var(--faint);transition:background .2s,color .2s}
.flagbtn svg{width:20px;height:20px}.flagbtn:hover,.flagbtn.on{background:var(--bg);color:var(--ink)}
.reppanel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease,opacity .3s;opacity:0}
.reppanel>form{overflow:hidden;min-height:0}
.reppanel.open{grid-template-rows:1fr;opacity:1}
.reppanel.open>form{padding-top:4px}
@media(prefers-reduced-motion:reduce){.reppanel{transition:none}}

/* rating row: stars and flag are the same size and sit on one line; the text goes underneath */
.social{gap:6px;padding-top:12px}
.stars{gap:0;margin-left:-4px}
.stars button,.stars.big button{width:32px;height:32px;padding:0;display:grid;place-items:center}
.stars button svg,.stars.big button svg{width:24px;height:24px}
.flagbtn{width:32px;height:32px}.flagbtn svg{width:24px;height:24px}
.ratebar{align-items:center}
.social .ratehint,.social>.hint{font-size:14px;line-height:1.2}

/* slider thumbnails are lazy pictures, not backgrounds (so they load later and can be decoded off the main thread) */
.slider .thumbs button{overflow:hidden}.slider .thumbs button img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}

/* profile photo slot: the round picture is not allowed to clip its buttons; Replace and Remove sit under the circle */
.upslot.round{overflow:visible;background:transparent;margin-bottom:58px}
.upslot.round>img,.upslot.round>.addimg{width:100%;height:100%;border-radius:50%;background:#ECEEF2;display:block}
.upslot.round .slotbar{left:50%;transform:translateX(-50%);bottom:-52px;white-space:nowrap;gap:8px}
.slotbar .btn{display:inline-flex;align-items:center;gap:6px}.slotbar .btn svg{width:16px;height:16px;flex:none}

/* ===== files list: cards, readable on phones (like CurseForge) ===== */
.fcard{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main dl" "badges dl" "meta dl" "note dl";gap:8px 18px;align-items:center;border:1px solid var(--border);border-radius:12px;padding:16px 18px;margin-top:12px;background:#fff}
.fmain{grid-area:main;display:flex;align-items:center;gap:12px;min-width:0}
.fmain .ic{width:40px;height:40px;border-radius:10px;flex:none;display:grid;place-items:center}
.fname{min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fname b{font-size:17px;overflow-wrap:anywhere}
.fbadges{grid-area:badges;display:flex;gap:6px;flex-wrap:wrap}.fbadges:empty{display:none}
.vb{border:1px solid var(--border);background:var(--bg);border-radius:8px;padding:2px 10px;font-weight:800;font-size:13px}.vb.pk{background:#fff;color:var(--muted)}
.fmeta{grid-area:meta;display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:14px;font-weight:700}.fmeta span{display:inline-flex;gap:6px;align-items:center}.fmeta svg{width:15px;height:15px}
.fnote{grid-area:note;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.fdl{grid-area:dl;align-self:center}
.fbtns{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){
 .fcard{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "badges" "meta" "note" "dl";padding:14px}
 .fdl{width:100%;justify-content:center}
 .file{flex-wrap:wrap;align-items:flex-start}.file .grow{flex:1 1 calc(100% - 72px);min-width:0}.file .fbtns{width:100%}.file .fbtns .btn{flex:1;justify-content:center}
 .dlpage .dlcard{padding:20px 16px}.dlcard .dlhead{gap:12px}.dlcard .dlhead h1{font-size:26px;overflow-wrap:anywhere}.dlcard .hint{overflow-wrap:anywhere}.dlcard .btn.big{width:100%;justify-content:center}
}

/* ===== dashboard: compact numbers strip, addon rows that fit phones ===== */
.statstrip{display:grid;grid-template-columns:repeat(3,auto) auto;width:fit-content;max-width:100%;align-items:center;padding:4px 6px;margin-bottom:20px}
.statstrip .ss{display:grid;gap:3px;padding:12px 26px;border-right:1px solid var(--border);color:inherit;min-width:110px}
.statstrip .ss b{font-size:30px;line-height:1;font-weight:900}.statstrip .ss b.sk{min-width:34px;display:inline-block}
.statstrip .ss small{color:var(--muted);font-weight:800;font-size:14px}
a.ss:hover small{color:var(--ink)}
.statstrip .ssl{display:flex;align-items:center;gap:6px;padding:0 22px;font-weight:800;white-space:nowrap}.statstrip .ssl svg{width:18px;height:18px}.statstrip .ssl:hover{text-decoration:underline;text-underline-offset:4px}
.lact{display:flex;align-items:center;gap:10px;flex:none}
@media(max-width:700px){
 .statstrip{grid-template-columns:repeat(3,1fr);width:100%;padding:0}
 .statstrip .ss{padding:14px 12px;min-width:0;text-align:center;justify-items:center}.statstrip .ss:nth-child(3){border-right:0}
 .statstrip .ss b{font-size:28px}.statstrip .ss small{font-size:13px}
 .statstrip .ssl{grid-column:1/-1;justify-content:center;border-top:1px solid var(--border);padding:12px}
 .li{flex-wrap:wrap;align-items:flex-start;gap:10px 12px}
 .li>.sq{width:52px;height:52px;border-radius:12px;flex:none}
 .li>.grow{flex:1 1 calc(100% - 70px);min-width:0}.li>.grow b{overflow-wrap:anywhere}
 .li>.lact{flex:1 1 100%;justify-content:space-between;gap:8px}.lact .pill{margin-right:auto}
 .lact .btn{padding:9px 14px}
}
/* the upload box on the Files tab */
.drop{display:flex;flex-direction:column;align-items:center;gap:6px;padding:30px 18px;border:2px dashed #9BDDB3;border-radius:16px;background:#F5FCF8;text-align:center;transition:background .2s,border-color .2s,transform .2s}
.drop:hover{background:#EDFAF2;border-color:var(--green)}
.drop.over{background:#E4F9EC;border-color:#0f7f26;transform:scale(1.01)}
.drop .dropic{width:64px;height:64px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(21,122,60,.15);display:grid;place-items:center;color:#0f7f26;margin-bottom:6px}
.drop .dropic svg{width:30px;height:30px;margin:0}
.drop b{font-size:20px;margin:0;display:block;overflow-wrap:anywhere}
.drop .dropsub{color:var(--muted);font-weight:700;font-size:15px}
.drop .dropbtn{margin-top:10px}
.drop .dropfoot{margin-top:10px;color:var(--faint);font-weight:700;font-size:13px;line-height:1.5}
.drop.has{border-style:solid;border-color:var(--green);background:#EDFAF2}
@media(max-width:700px){.drop{padding:24px 14px}.drop b{font-size:18px}.drop .dropbtn{width:100%;justify-content:center}}
.drop .dropbtn svg{width:20px;height:20px;margin:0}.drop .dropbtn{gap:8px}

@media(max-width:700px){.stat3{grid-template-columns:repeat(3,1fr);gap:8px}.stat3 .stat{padding:12px 10px;text-align:center}.stat3 .stat b{font-size:26px}.stat3 .stat small{font-size:12px}}

/* ===== blog editor on phones: nothing may be wider than the screen ===== */
.bed-main{grid-template-columns:minmax(0,1fr)}
.bed-side{min-width:0}.plink input{min-width:0}
@media(max-width:700px){
 .bartop{position:static;padding:6px 0 10px;gap:10px}
 .bartop>.row{flex-wrap:wrap}
 #actions{width:100%;display:flex;gap:8px}#actions .btn{flex:1;justify-content:center;padding-left:10px;padding-right:10px}
 .ttl{font-size:26px}
 .plink{font-size:13px;gap:6px}.plink input{flex:1 1 120px}
 .editor{--stick:0px!important}
 .editor .body{padding:16px;min-height:320px;font-size:17px}.editor .md{padding:16px}
 .etop{padding:10px;gap:8px}.etop>.row{width:100%;justify-content:space-between}
 .tools{padding:8px 10px;gap:2px}.tools button,.tools select{min-width:34px;height:34px}.tools .sep{margin:0 2px}
 .efoot{flex-wrap:wrap;gap:4px;padding:10px 14px}
 .sbox>summary{padding:14px 16px}.sbox .sin{padding:0 16px 16px}
 .insbar .in{min-width:0;flex:1 1 100%}.insbar .btn{flex:1}
}
@media(max-width:700px){.editor .tools{flex-wrap:wrap;overflow:visible;row-gap:2px}.editor .tools .dd-btn{min-width:0;padding:0 8px}.editor .tools .sep:nth-of-type(n){display:none}}

/* ===== file rows in the editor: name, then state and details, actions apart ===== */
.efile{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:4px 16px;align-items:center;padding:14px 16px}
.efile .ic{align-self:start;width:48px;height:48px}
.efile .fn{display:block;font-size:17px;overflow-wrap:anywhere;line-height:1.25}
.efile .fsub{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:6px}.efile .fsub .hint{margin:0}
.efile .fbtns{display:flex;gap:8px;align-self:center;flex-wrap:nowrap}
.efile .fbtns .btn{white-space:nowrap}.efile .fbtns .btn.ico{width:44px;padding:0;justify-content:center}
@media(max-width:700px){
 .efile{grid-template-columns:44px minmax(0,1fr);gap:10px 12px;padding:14px}
 .efile .ic{width:44px;height:44px}
 .efile .fbtns{grid-column:1/-1;width:100%}
 .efile .fbtns .btn{flex:1;justify-content:center}.efile .fbtns .btn.ico{flex:0 0 48px;width:48px}
}
/* logo slot: the buttons sit under the picture instead of on top of it, so nothing is cut off */
.upslot.sq1:not(.round){overflow:visible;background:transparent;margin-bottom:58px}
.upslot.sq1:not(.round)>img,.upslot.sq1:not(.round)>.addimg{width:100%;height:100%;border-radius:14px;background:#ECEEF2;display:block;object-fit:cover}
.upslot.sq1:not(.round) .slotbar{left:0;bottom:-52px;white-space:nowrap;gap:8px}

/* ===== account type tags ===== */
.rt{font-weight:800}.rt-member{color:#5F6672}.rt-creator{color:#0f7f26}.rt-admin{color:#B42318}
.ttag{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:4px 12px;font-weight:900;font-size:13px}
.ttag.member{background:#ECEEF2;color:#454B55}.ttag.creator{background:#E1F4E6;color:#0f7f26}.ttag.admin{background:#FDE2E2;color:#B42318}

/* ===== admin overview, users, applications ===== */
.gh{font-size:20px;margin:26px 0 12px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.kpi{display:grid;gap:4px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:16px 18px;color:inherit;transition:transform .15s,border-color .15s}
a.kpi:hover{border-color:var(--green);transform:translateY(-2px)}
.kpi small{color:var(--muted);font-weight:800;font-size:14px}.kpi b{font-size:32px;line-height:1.05;font-weight:900}.kpi .hint{font-size:13px}
.kpi.alert{background:#FFF6E5;border-color:#F5D58A}.kpi.alert b{color:#9A5B00}
.admgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.admgrid .card{margin:0}
@media(max-width:900px){.admgrid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}}
.qlinks{display:flex;flex-wrap:wrap;gap:10px}.qlinks a{display:inline-flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:99px;padding:11px 18px;font-weight:800}.qlinks a:hover{border-color:var(--green)}
.kv{display:grid;gap:12px}.kv small{display:block;color:var(--muted);font-weight:800;font-size:13px;margin-bottom:2px}.kv a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
.urow .meta{font-size:14px;overflow-wrap:anywhere}
/* an element with the hidden attribute is always hidden, even when its class sets display */
[hidden]{display:none!important}
.urow .meta{overflow-wrap:break-word;word-break:normal}.urow .meta a{white-space:nowrap}
@media(max-width:700px){.seg2{max-width:100%;overflow-x:auto;scrollbar-width:none}.seg2::-webkit-scrollbar{display:none}.seg2 button{white-space:nowrap}}

/* ===== verified badge ===== */
.vbadge{display:inline-grid;place-items:center;vertical-align:middle;margin-left:6px}
.vbadge svg{width:26px;height:26px;color:#fff;fill:#15a633;stroke-width:2.2}
.vbadge.sm svg{width:20px;height:20px}.vbadge.xs{margin-left:4px}.vbadge.xs svg{width:15px;height:15px}
.pname{align-items:center}
.captcha{display:flex;justify-content:center;margin:4px 0 12px;min-height:0}
.trap{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* ===== community: comments, tickets, profile links, follow, kinds of content ===== */
.ttag.mod{background:#E1F4E6;color:#0f7f26}
.rt-mod{color:#0f7f26}
[hidden]{display:none!important}

/* kinds of content */
.ctabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.ctab{border:1px solid var(--border);background:#fff;border-radius:999px;padding:9px 18px;font-weight:800;color:var(--muted);cursor:pointer;white-space:nowrap}
.ctab.on{background:var(--ink);border-color:var(--ink);color:#fff}
.c-world{background:#D7F0DD}.c-template{background:#C4E7CE}.c-texture{background:#E1F4E6}.c-shader{background:#BFE5CA}.c-skin{background:#DDF2E3}
.ktag{display:inline-flex;align-items:center;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:900;background:#ECEEF2;color:#454B55;margin-right:6px;vertical-align:middle}

/* profile: icons, donate, follow, numbers */
.psocials{display:flex;gap:8px;flex-wrap:wrap;margin:16px 28px 0}
.soc{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--border);color:var(--muted);transition:color .15s,border-color .15s,transform .15s}
.soc:hover{color:var(--ink);border-color:var(--ink);transform:translateY(-2px)}
.donate{background:#E1F4E6;border-color:#15a633}
.donate svg{color:#E5484D}
.fbtn.on{background:var(--ink);border-color:var(--ink);color:#fff}
.pnums{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 0;color:var(--muted);font-weight:700}
.pnums b{color:var(--ink);font-weight:900}
.linkrow{display:grid;grid-template-columns:190px 1fr 44px;gap:10px;margin-bottom:10px;align-items:center}
.linkrow .in{padding:12px 16px;font-size:16px}
@media(max-width:700px){.linkrow{grid-template-columns:1fr 44px}.linkrow .dd,.linkrow select{grid-column:1/-1}.psocials{margin:14px 8px 0}}

/* tickets */
.tkgrid{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:20px;align-items:start}
@media(max-width:1000px){.tkgrid{grid-template-columns:1fr}}
.tkitem{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:#fff;cursor:pointer;margin-bottom:8px;text-align:left;width:100%}
.tkitem:hover,.tkitem.on{border-color:var(--ink)}
.tkitem b{display:block;font-size:16px}
.tkitem .meta{font-size:13px;color:var(--muted)}
.tkdot{flex:none;width:10px;height:10px;border-radius:50%;background:#E5484D;margin-top:7px}
.tkprio{display:inline-flex;align-items:center;gap:4px;border-radius:99px;padding:2px 10px;font-size:12px;font-weight:900;background:#E1F4E6;color:#0f7f26}
.tkprio svg{width:12px;height:12px}
.tkst{display:inline-flex;border-radius:99px;padding:2px 10px;font-size:12px;font-weight:900}
.tkst.open{background:#E1F4E6;color:#0f7f26}.tkst.answered{background:#E1F4E6;color:#0f7f26}.tkst.closed{background:#ECEEF2;color:#454B55}
.tkmsgs{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.tkmsg{max-width:88%;border-radius:16px;padding:12px 16px;background:#F4F6F0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.tkmsg small{display:block;color:var(--muted);font-weight:800;margin-bottom:4px}
.tkmsg.staff{align-self:flex-end;background:#E1F4E6}
.tkmsg.me{align-self:flex-end;background:#E1F4E6}

.tkmsg.team{background:#E1F4E6}

/* users list: three buttons per row need room, so they wrap under the name on narrow screens */
.urow{flex-wrap:wrap}.urow .grow{min-width:220px}.urow-act{display:flex;gap:8px;flex-wrap:wrap}



/* ===== comments (Reddit style) ===== */
.cm{margin:0;padding:0}
.cmhead{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.cmhead h2{display:flex;align-items:center;gap:10px;font-size:26px}
.cmhead h2 small{color:var(--muted);font-weight:800;font-size:18px}
.cmsort button{padding:7px 16px}
.cmsk{display:flex;gap:12px;padding:10px 0}.cmsk>i{flex:none;width:32px;height:32px;border-radius:50%}.cmsk>div{flex:1}
.cmlogin{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:14px;padding:14px 18px;margin-bottom:20px;font-weight:700;color:var(--muted)}
.cmlogin svg{color:var(--faint);flex:none}.cmlogin span{flex:1;min-width:160px}
.cmempty{display:grid;justify-items:center;gap:6px;text-align:center;padding:36px 12px;color:var(--muted);background:#fff;border:1px dashed var(--border);border-radius:14px}
.cmempty b{color:var(--ink);font-size:18px}

/* the box for a new comment: one quiet line until you click it, then it opens */
.cmwrite{display:flex;gap:12px;align-items:flex-start;margin-bottom:22px}
.cmwrite .cmform{flex:1;min-width:0}
.cmform{position:relative}
.cmform textarea.in{display:block;font-size:16px;line-height:22px;padding:12px 16px;border-radius:14px;resize:none;background:#fff}
.cmform textarea.in:focus{border-color:var(--ink)}
.cmform.top textarea.in{height:48px;min-height:48px;overflow:hidden}
.cmform.top.open textarea.in{height:100px;min-height:100px;max-height:320px;overflow-y:auto}
.cmform.top:not(.open) .cmbar{display:none}
.cmslot .cmform{background:#fff;border:1px solid var(--border);border-radius:14px;padding:10px}
.cmslot .cmform textarea.in{background:var(--bg);min-height:72px}
.cmbar{display:flex;gap:10px;align-items:center;margin-top:8px;flex-wrap:wrap}
.cmbar .btn{padding:9px 20px}
.cmbar .cmcount{font-size:13px}
.cmmsg .err{color:#B42318;font-weight:700;font-size:14px}.cmmsg .ok{color:#0f7f26;font-weight:800;font-size:14px}
.cmtool{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:#fff;border-radius:99px;padding:7px 14px;font-weight:800;font-size:14px;color:var(--muted);cursor:pointer}
.cmtool:hover{color:var(--ink);border-color:var(--ink)}.cmtool svg{width:17px;height:17px}
.cmpreview{position:relative;display:inline-block;margin-top:10px;max-width:100%}
.cmpreview img{display:block;max-width:240px;max-height:200px;border-radius:12px;border:1px solid var(--border);background:#ECEEF2}
.cmup{position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.72);border-radius:12px;font-weight:800;font-size:14px}
.cmx{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(20,22,26,.78);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.cmx svg{width:15px;height:15px}
.cmcap{display:flex;justify-content:flex-start;margin-top:8px}.cmcap:empty{display:none}
.cmform .trap{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* one comment */
.cmlist{display:flex;flex-direction:column;gap:2px}
.cmi{display:flex;gap:10px}
.cmside{flex:none;width:34px;display:flex;flex-direction:column;align-items:center;gap:4px}
.cmav{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#15a633;font-style:normal;font-weight:900;font-size:13px;overflow:hidden}
.cmwrite .cmav{width:44px;height:44px;font-size:15px}
.cmline{flex:1;width:18px;min-height:8px;border:0;background:none;cursor:pointer;position:relative;padding:0}
.cmline::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--border);border-radius:2px;transition:background .15s}
.cmline:hover::after{background:var(--ink);width:3px;margin-left:-1.5px}
.cmmain{flex:1;min-width:0;padding-bottom:8px}
.cmmeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;min-height:34px}
.cmname{font-weight:900}.cmname.gone{color:var(--faint)}
a.cmname:hover{text-decoration:underline}
.cmtag{border-radius:6px;padding:1px 7px;font-size:11px;font-weight:900}
.cmtag.a{background:#E1F4E6;color:#0f7f26}.cmtag.m{background:#E1F4E6;color:#0f7f26}
.cmpin{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:900;color:#0f7f26;background:#E1F4E6;border-radius:99px;padding:2px 9px}
.cmpin svg{width:12px;height:12px}
.cmreplyto{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:800;color:var(--muted)}.cmreplyto svg{width:12px;height:12px}
.cmopen{display:inline-flex;align-items:center;gap:4px;border:0;background:#ECEEF2;border-radius:99px;padding:2px 10px;font-weight:800;font-size:12px;cursor:pointer}
.cmopen svg{width:12px;height:12px}
.cmtext{font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.cmi.deleted .cmtext{color:var(--faint)}
.cmimg{display:block;margin-top:8px;border:0;background:none;padding:0;cursor:zoom-in;max-width:100%}
.cmimg img{display:block;max-width:min(380px,100%);max-height:340px;border-radius:12px;border:1px solid var(--border);background:#ECEEF2;object-fit:cover}

/* under the text: the vote pill, Reply and "..." in one row */
.cmacts{display:flex;align-items:center;gap:2px;margin-top:2px;flex-wrap:wrap}
.cmvote{display:inline-flex;align-items:center;border-radius:99px}
.cmvote .v{width:26px;height:26px;border:0;background:none;border-radius:50%;color:var(--muted);display:grid;place-items:center;cursor:pointer;padding:0}
.cmvote .v svg{width:16px;height:16px}
.cmvote .v:hover{background:#ECEEF2;color:var(--ink)}
.cmvote .sc{min-width:14px;text-align:center;font-size:12px;font-weight:800;color:var(--muted)}
.cmvote.up .u{color:#15a633}.cmvote.up .u svg{fill:#15a633}.cmvote.up .sc{color:#15a633}
.cmvote.down .d{color:#14161A}.cmvote.down .d svg{fill:#14161A}.cmvote.down .sc{color:#14161A}
.cmreply{display:inline-flex;align-items:center;gap:5px;height:26px;border:0;background:none;border-radius:99px;padding:0 9px;font-weight:700;font-size:12px;color:var(--muted);cursor:pointer}
.cmreply svg{width:15px;height:15px}
.cmreply:hover{background:#ECEEF2;color:var(--ink)}
.cmdd{position:relative}
.cmdots{width:26px;height:26px;border:0;background:none;border-radius:50%;display:grid;place-items:center;color:var(--muted);cursor:pointer;padding:0}
.cmdots svg{width:16px;height:16px}
.cmdots:hover{background:#ECEEF2;color:var(--ink)}
.cmmenu{display:none;position:absolute;left:0;top:30px;z-index:20;min-width:190px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 32px rgba(20,22,26,.14);padding:6px}
.cmdd.open .cmmenu{display:block}
.cmmenu button{display:flex;align-items:center;width:100%;gap:10px;border:0;background:none;border-radius:9px;padding:10px 12px;font-size:14px;font-weight:800;text-align:left;color:var(--ink);cursor:pointer}
.cmmenu button svg{width:16px;height:16px;flex:none}
.cmmenu button:hover{background:#F2F3F6}
.cmmenu button.danger{color:#B42318}.cmmenu button.danger:hover{background:#FDE2E2}
.cmslot{margin-top:8px}.cmslot:empty{display:none}
.cmreport{display:grid;gap:8px}
.cmreport .in{padding:10px 14px;font-size:15px}
.cmkids{margin-top:6px}
.cmmore{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:#0f7f26;font-weight:900;font-size:14px;cursor:pointer;padding:6px 0}
.cmmore svg{width:16px;height:16px}
.cmi.shut>.cmmain>.cmbody{display:none}
.cmi.hl>.cmmain{animation:cmhl 2.4s ease}
@keyframes cmhl{0%,60%{background:#FFF6D6}100%{background:transparent}}
.cmflash{font-weight:800;font-size:13px}.cmflash.err{color:#B42318}
@media(max-width:700px){.cmhead h2{font-size:22px}.cmwrite .cmav{display:none}.cmpreview img{max-width:100%}.cmmenu{left:auto;right:0}.cmside{width:30px}.cmav{width:30px;height:30px}.cmi{gap:8px}}

/* picture preview (comments and the gallery of an addon) */
.lb{position:fixed;inset:0;z-index:90;background:rgba(10,12,16,.9);display:grid;place-items:center;padding:60px 76px;cursor:zoom-out}
.lb img{max-width:100%;max-height:100%;border-radius:10px;object-fit:contain;cursor:default}
.lb button{position:absolute;width:46px;height:46px;border-radius:50%;border:0;background:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.lb button svg{width:22px;height:22px}
.lbx{top:14px;right:14px}.lbp{left:14px;top:50%;margin-top:-23px}.lbn{right:14px;top:50%;margin-top:-23px}
.lbc{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);color:#fff;font-weight:800;background:rgba(255,255,255,.14);border-radius:99px;padding:4px 14px}
@media(max-width:700px){.lb{padding:64px 6px}.lbp,.lbn{width:40px;height:40px;margin-top:-20px}.lbp{left:6px}.lbn{right:6px}}
.gal>div{cursor:zoom-in}

/* addon page tabs: icon + name; on a phone only the open tab keeps its name, so all four fit */
.ptabs a svg{width:18px;height:18px;flex:none}
.ptabs a .tl{white-space:nowrap}
@media(max-width:700px){.ptabs{gap:0}.ptabs a{padding:12px 14px;gap:6px;flex:1;justify-content:center}}
@media(max-width:560px){.ptabs a:not(.on) .tl{display:none}.ptabs a{padding:12px 10px;flex:none}.ptabs a.on{flex:1}}

/* ===== login, forgot and reset pages ===== */
.authcard h1{margin:6px 0 10px}
.authcard form>.hint,.authcard #done>.hint,.authcard #bad>.hint,.authcard #forgot-done>.hint{margin-bottom:24px;line-height:1.55}
.authcard .ctr{text-align:center}
.gor{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--faint);font-size:14px;font-weight:800}.gor:before,.gor:after{content:"";flex:1;height:1px;background:var(--border)}
.gbtn{display:flex;align-items:center;justify-content:center;gap:12px;background:#fff}.gbtn svg{flex:none}
.gstat{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gstat b{font-weight:900}
.authcard .ctr .field.left{text-align:left}
.authcard .center{margin-top:14px;line-height:1.5}
.authcard .forgotlink{margin-top:18px;margin-bottom:0}
.authcard .forgotlink+.center{margin-top:10px}
.authicon{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--greenSoft);color:#0f7f26;margin:6px auto 16px}
.authicon svg{width:28px;height:28px}
.authicon.ok{background:#E1F4E6}.authicon.bad{background:#FDE2E2;color:#B42318}
.authcard .btn.wide{margin-top:4px}

.subchips{margin-top:-4px}.subchips:empty{display:none}.chip.sm{padding:6px 14px;font-size:14px}

/* the logo is the picture from site/assets/favicon_io */
.logo .logomark{width:44px;height:44px;border-radius:11px;flex:none;display:block}

@media(max-width:700px){.hero{background-image:url(/assets/hero-art-m.webp);background-position:center 70%;padding:44px 16px 40px;border-radius:20px}.hero h1{font-size:34px}.hero p{font-size:16.5px;margin-bottom:22px}}

/* bottom bar: five items always share the width (they overflowed by 14px on a 375px phone) */
.bottombar{padding-left:4px;padding-right:4px;gap:2px}
.bottombar a{flex:1 1 0;min-width:0;padding:6px 2px;font-size:11px;white-space:nowrap}

.urow .grow{flex:1 1 160px;min-width:0}.urow .meta{overflow-wrap:anywhere}

/* text and icons on the brand green are white (better contrast than dark) */
.btn.green,.balance,.countbox .num,.pav,.navuser i,.navdash .nav-av,.cmav,.profile i,.side .nav a.on .ni,.imgsel .itool button.on,.urow .sq,.logo i{color:#fff}
.btn.green svg,.side .nav a.on .ni svg{color:#fff;stroke:currentColor}

/* page speed: reserved space (nothing jumps while scripts draw the menu and the Marketplace row) and the main landmark */
.pubmain{display:block;padding:0;max-width:none;width:auto}
.pub #pubnav:empty{min-height:76px}
#market .mrow{min-height:252px}
@media(min-width:1101px){#market .mrow{min-height:330px}}

/* hero download counter */
.herostat{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:10px 20px;border-radius:999px;background:rgba(255,243,220,.14);border:1px solid rgba(255,243,220,.28);color:#FFF3DC;font-weight:700;backdrop-filter:blur(6px);min-height:46px;visibility:hidden}
.herostat.on{visibility:visible}
.herostat svg{width:20px;height:20px;color:#FFD9A3}
.herostat b{font-size:24px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.herostat[hidden]{display:none}
@media(max-width:700px){.herostat{margin-top:16px;padding:8px 16px;min-height:40px}.herostat b{font-size:20px}}

/* category cards: an icon in the middle (or your picture), the name on a white bar */
.cat{position:relative;overflow:hidden;transition:transform .15s,box-shadow .15s}
.cat:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(20,22,26,.1)}
.cat .catic{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:20px;background:rgba(255,255,255,.78);display:grid;place-items:center;color:var(--greenDark)}
.cat .catic svg{width:34px;height:34px;stroke-width:2}
.cat .catimg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.cat:has(.catimg) .catic{display:none}
.cat div{position:relative;z-index:1}
.cat.on{outline:3px solid var(--green);outline-offset:2px}
.cat.cat-all{background:var(--greenSoft)}
@media(max-width:700px){.cat .catic{width:52px;height:52px;border-radius:16px}.cat .catic svg{width:26px;height:26px}.cat b{font-size:15px}.cat div{padding:10px 12px}}

/* ===== footer ===== */
.sitefoot{background:#14161A;color:#C9CED8;border-radius:28px;padding:48px 44px 26px;margin:72px 0 28px}
.foot-top{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:36px}
.sitefoot .logo{color:#fff;font-size:26px}
.foot-brand p{margin:16px 0 0;max-width:340px;line-height:1.65;color:#A4AAB6;font-size:15px}
.foot-col{display:flex;flex-direction:column;gap:11px}
.foot-col h3{font-size:13px;letter-spacing:.8px;text-transform:uppercase;color:#7E8696;margin:4px 0 4px}
.foot-col a{color:#E4E7EC;font-weight:700;font-size:15px;width:fit-content;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.foot-col a:hover{color:#fff;border-color:var(--green)}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:40px;padding-top:22px;border-top:1px solid #2A2E36;font-size:13.5px;color:#8B93A1;line-height:1.6}
.foot-bottom span:last-child{max-width:560px;text-align:right}
@media(max-width:1100px){.sitefoot{margin-bottom:100px}}
@media(max-width:860px){.foot-top{grid-template-columns:1fr 1fr}.foot-brand{grid-column:1/-1}.sitefoot{padding:34px 24px 22px;border-radius:22px}.foot-bottom span:last-child{text-align:left}}
@media(max-width:700px){.pub .sitefoot{margin-top:48px}}

/* ===== privacy choice banner (named without the word "cookie" so browser filter lists do not hide it) ===== */
#mca-choice{position:fixed;left:50%;transform:translateX(-50%);bottom:20px;width:min(760px,calc(100% - 32px));z-index:80;background:#fff;border:2px solid var(--ink);border-radius:22px;box-shadow:0 24px 70px rgba(20,22,26,.35);padding:24px 28px;display:flex;gap:22px;align-items:center;flex-wrap:wrap}
#mca-choice .mc-text{flex:1 1 320px}#mca-choice b{font-size:22px;font-weight:900}#mca-choice p{margin:8px 0 0;font-size:17px;line-height:1.55;color:var(--ink)}#mca-choice a{text-decoration:underline;font-weight:800}
#mca-choice .mc-btns{display:flex;gap:12px;flex:0 0 auto}#mca-choice .btn{padding:14px 28px;font-size:17px}
@media(max-width:1100px){#mca-choice{bottom:84px}}
@media(max-width:700px){#mca-choice{padding:20px;border-radius:20px}#mca-choice b{font-size:20px}#mca-choice p{font-size:16px}#mca-choice .mc-btns{width:100%}#mca-choice .btn{flex:1}}

/* ===== legal and info pages ===== */
.legal{max-width:860px;margin:0 auto;padding:30px 0 0}
.lhead{text-align:center;margin-bottom:34px}
.lkicker{display:inline-block;background:var(--greenSoft);color:var(--greenDark);font-weight:900;font-size:13px;letter-spacing:.6px;text-transform:uppercase;border-radius:99px;padding:6px 14px}
.lhead h1{font-size:46px;line-height:1.12;margin:16px auto 14px;max-width:760px}
.llead{font-size:19px;line-height:1.65;color:var(--muted);max-width:660px;margin:0 auto}
.ltext{background:#fff;border:1px solid var(--border);border-radius:22px;padding:38px 44px}
.ltext h2{font-size:23px;margin:30px 0 10px}.ltext h2:first-child{margin-top:0}
.ltext p,.ltext li{font-size:16.5px;line-height:1.75;color:#3B4049}
.ltext p{margin:0 0 12px}.ltext ul,.ltext ol{margin:0 0 14px;padding-left:24px}.ltext li{margin-bottom:8px}
.ltext code{background:#F0F1F4;border-radius:6px;padding:1px 6px;font-size:.92em}
.lnote{display:flex;gap:14px;align-items:flex-start;background:var(--greenSoft);border-radius:16px;padding:18px 20px;margin-bottom:26px}
.lnote svg{flex:none;color:var(--greenDark);margin-top:2px}.lnote p{margin:0;color:#24402B}
.lstats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:38px}
.lstats div{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px;text-align:center}
.lstats b{display:block;font-size:38px;font-weight:900;color:var(--greenDark);font-variant-numeric:tabular-nums}.lstats span{color:var(--muted);font-weight:700}
.lsec{margin:0 0 38px}.lsec h2{font-size:28px;margin-bottom:16px}.lsec p{font-size:17px;line-height:1.75;color:#3B4049}
.lgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.lcard{background:#fff;border:1px solid var(--border);border-radius:20px;padding:24px}
.lcard svg{width:30px;height:30px;color:var(--green);margin-bottom:12px}.lcard h3{font-size:19px;margin-bottom:6px}.lcard p{color:var(--muted);line-height:1.65;font-size:15.5px;margin:0}
.lsteps{padding-left:22px}.lsteps li{font-size:17px;line-height:1.7;margin-bottom:8px}
.lcta{background:var(--greenSoft);border-radius:24px;padding:38px 24px;text-align:center}.lcta h2{font-size:28px;margin-bottom:18px}
.lcontact{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:22px;align-items:start}
.lside{display:grid;gap:14px}
.lform{margin:0;padding:30px}.lform h2{font-size:24px;margin-bottom:18px}
@media(max-width:860px){.lcontact{grid-template-columns:1fr}.lgrid{grid-template-columns:1fr}.lhead h1{font-size:34px}.llead{font-size:17px}.ltext{padding:26px 20px}.lstats b{font-size:28px}.lstats div{padding:16px 10px}}

/* the call-to-action above the footer is brand green, so it does not merge with the dark footer */
.cta{background:var(--green);color:#fff}.cta h2{color:#fff}.cta p{color:rgba(255,255,255,.92)}.cta .btn.green{background:#fff;border-color:#fff;color:var(--greenDark)}

/* ===== Dashboard > Mail ===== */
main.mailmain{max-width:1500px}
.mailapp{display:grid;grid-template-columns:200px minmax(280px,380px) minmax(0,1fr);gap:16px;align-items:start}
.mfold{display:flex;flex-direction:column;gap:4px;position:sticky;top:16px}
.mf{display:flex;align-items:center;gap:10px;border:0;background:none;border-radius:12px;padding:11px 14px;font-weight:800;font-size:15px;color:var(--muted);cursor:pointer;text-align:left}
.mf svg{width:19px;height:19px;flex:none}.mf span{flex:1}.mf b{background:var(--green);color:#fff;border-radius:99px;padding:1px 8px;font-size:12px}
.mf:hover{background:#fff;color:var(--ink)}.mf.on{background:var(--greenSoft);color:var(--greenDark)}.mf-sub{margin-top:10px;border-top:1px solid var(--border);border-radius:0 0 12px 12px;font-weight:700;font-size:14px}
.mlist,.mread{background:#fff;border:1px solid var(--border);border-radius:18px;padding:14px;min-width:0}
.mread{padding:20px 22px}
.mt{display:flex;gap:12px;width:100%;text-align:left;border:0;background:none;border-radius:14px;padding:12px;cursor:pointer;border-bottom:1px solid #F0EEE7}
.mt:hover{background:#F6F5F0}.mt.on{background:var(--greenSoft)}
.mav{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;font-style:normal;font-weight:900;font-size:14px}
.mtb{flex:1;min-width:0}.mt1,.mt2{display:flex;gap:8px;align-items:center}.mt1 b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.mt1 small{background:#ECEEF2;border-radius:99px;padding:0 7px;font-weight:800;font-size:12px}.mt1 time{color:var(--faint);font-size:12.5px;white-space:nowrap}.mt1 svg{width:14px;height:14px;color:var(--green);fill:var(--green)}
.mt2 .subj{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14.5px;color:#3B4049}.mt2 svg{width:14px;height:14px;color:var(--faint);flex:none}
.mt3{font-size:13.5px;color:var(--faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.mt.unread .mt1 b,.mt.unread .subj{font-weight:900;color:var(--ink)}.mt.unread:before{content:"";position:absolute}
.mt.unread .mav{box-shadow:0 0 0 3px var(--greenSoft)}
.mav.pic{background-color:var(--border);color:transparent}
.mtag{background:var(--greenSoft);color:var(--greenDark);border-radius:6px;padding:1px 7px;font-size:11.5px;font-weight:900;white-space:nowrap}
.mempty{display:grid;justify-items:center;gap:6px;text-align:center;padding:44px 12px;color:var(--muted)}.mempty svg{width:34px;height:34px;color:var(--faint)}.mempty b{color:var(--ink);font-size:18px}
.mrh h2{font-size:26px;margin:0 0 12px;overflow-wrap:anywhere}
.mrbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.mrbar .btn{padding:9px 16px}.mrbar .ico{padding:9px 12px}
.mmsgs{display:flex;flex-direction:column;gap:14px}
.mm{border:1px solid var(--border);border-radius:16px;padding:16px}.mm.out{background:#F7FBF8;border-color:#D7ECDD}
.mm header{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}.mm header small{color:var(--muted)}.mm header time{color:var(--faint);font-size:13px;white-space:nowrap}
.mbody{width:100%;border:0;display:block;min-height:60px;background:#fff}
.mimg{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0 10px}.mimg .btn{padding:7px 14px;font-size:14px}.mimg small{color:var(--faint)}
.matt{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.mfile{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:#fff;border-radius:99px;padding:6px 14px;font-weight:700;font-size:14px}
.mfile small{color:var(--faint)}.mfile.off{opacity:.6}.mfile svg{width:15px;height:15px}
.mback{display:none;margin-bottom:12px}
@media(max-width:1100px){.mailapp{grid-template-columns:1fr}.mfold{flex-direction:row;overflow-x:auto;position:static;gap:6px;scrollbar-width:none}.mfold::-webkit-scrollbar{display:none}.mf{white-space:nowrap;padding:9px 14px;flex:none;background:#fff;border:1px solid var(--border)}.mf-sub{border-top:1px solid var(--border);margin:0}.mailapp.reading .mlist,.mailapp.reading .mfold{display:none}.mback{display:inline-flex}.mread{padding:16px}}

/* the mail writer */
.mcw{position:fixed;inset:0;z-index:95;display:flex;justify-content:flex-end}
.mcw-bg{position:absolute;inset:0;background:rgba(20,22,26,.5)}
.mcw-box{position:relative;width:min(1100px,100%);height:100%;background:#fff;display:flex;flex-direction:column;box-shadow:-18px 0 50px rgba(20,22,26,.25)}
.mcw-head{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--border)}.mcw-head b{font-size:19px}.mcw-head .btn{padding:8px 12px}
.mcw-body{flex:1;overflow:auto;padding:16px 20px 24px}
.mcw-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #F0EEE7;padding:6px 0}.mcw-row>span{width:62px;font-weight:800;color:var(--muted);font-size:14px;flex:none}
.mcw-row .in{border:0;background:none;padding:9px 4px;font-size:16px;flex:1;min-width:0}.mcw-row .in:focus{outline:none}
.mcw-link{border:0;background:none;color:var(--greenDark);font-weight:800;cursor:pointer}
.mcw-tabs{display:flex;gap:6px;margin:16px 0 12px}.mcw-tabs button{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:#fff;border-radius:99px;padding:9px 18px;font-weight:800;cursor:pointer;color:var(--muted)}.mcw-tabs button.on{background:var(--ink);border-color:var(--ink);color:#fff}
.mcw-tools{display:flex;gap:4px;border:1px solid var(--border);border-bottom:0;border-radius:12px 12px 0 0;padding:6px;background:#FAF9F5}.mcw-tools button{width:36px;height:34px;border:0;background:none;border-radius:8px;cursor:pointer;display:grid;place-items:center;font-size:16px}.mcw-tools button:hover{background:#ECEEF2}.mcw-tools svg{width:17px;height:17px}
.mcw-editor{min-height:260px;border:1px solid var(--border);border-radius:0 0 12px 12px;padding:16px 18px;font-size:16px;line-height:1.65;outline:none;overflow-wrap:anywhere}.mcw-editor:focus{border-color:var(--ink)}
.mcw-sig{border:0}.mcw-sig .in{border:1px solid var(--border);border-radius:10px;padding:10px 12px!important;font-size:15px}
.mcw-tpl{margin-bottom:16px}.mcw-tplgrid{display:flex;flex-direction:column;gap:10px;margin-top:8px}.mcw-tcat small{display:block;font-weight:900;text-transform:uppercase;letter-spacing:.6px;color:var(--faint);margin:6px 0 6px}.mcw-tcat>div{display:flex;gap:8px;flex-wrap:wrap}
.mcw-tcard{display:flex;flex-direction:column;text-align:left;gap:2px;border:1px solid var(--border);background:#fff;border-radius:12px;padding:10px 14px;cursor:pointer;min-width:150px;max-width:210px}.mcw-tcard:hover{border-color:var(--green);background:var(--greenSoft)}.mcw-tcard b{font-size:14.5px}.mcw-tcard span{font-size:12.5px;color:var(--muted);line-height:1.35}
.mcw-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.mcw-block{border:1px solid var(--border);border-radius:14px;padding:12px 14px;margin-bottom:10px;background:#FCFBF8}
.mcw-bh{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-weight:900;font-size:14px}.mcw-bh>span:first-child{display:inline-flex;gap:7px;align-items:center}.mcw-bh svg{width:16px;height:16px;color:var(--greenDark)}
.mcw-bh button{width:30px;height:30px;border:0;background:#fff;border:1px solid var(--border);border-radius:8px;cursor:pointer;display:grid;place-items:center;padding:0}.mcw-bh button:hover{background:#ECEEF2}.mcw-bh button svg{width:15px;height:15px;color:var(--ink)}
.mcw-f{display:block;margin-bottom:8px}.mcw-f>span{display:block;font-size:12.5px;font-weight:800;color:var(--muted);margin-bottom:3px}.mcw-f .in,.mcw-f select{font-size:15px;padding:9px 12px;border-radius:10px}.mcw-f input[type=range]{width:100%;accent-color:var(--green)}
.mcw-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mcw-add{margin:12px 0}.mcw-addbtns{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.mcw-addbtns button{display:inline-flex;gap:6px;align-items:center;border:1px dashed #B9BEC8;background:#fff;border-radius:99px;padding:7px 13px;font-weight:800;font-size:13.5px;cursor:pointer}.mcw-addbtns button:hover{border-color:var(--green);color:var(--greenDark)}.mcw-addbtns svg{width:15px;height:15px}
.mcw-more{margin:10px 0}.mcw-more summary{cursor:pointer;font-weight:800;color:var(--muted)}.mcw-more .mcw-row{margin-top:6px}.mcw-check{display:flex;gap:8px;align-items:center;font-weight:700;font-size:14px;margin-top:8px}
.mcw-prev{position:sticky;top:0}.mcw-prev iframe{width:100%;height:640px;border:1px solid var(--border);border-radius:14px;background:#fff}
.mcw-att{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:16px}.mcw-att .btn{padding:8px 16px;cursor:pointer}.mcw-files{display:flex;gap:8px;flex-wrap:wrap}.mcw-file{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:99px;padding:5px 6px 5px 12px;font-size:14px;font-weight:700}.mcw-file button{border:0;background:#ECEEF2;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;cursor:pointer;padding:0}.mcw-file svg{width:13px;height:13px}
.mcw-foot{display:flex;gap:10px;align-items:center;padding:12px 20px;border-top:1px solid var(--border);flex-wrap:wrap}
@media(max-width:900px){.mcw-split{grid-template-columns:1fr}.mcw-prev{position:static}.mcw-prev iframe{height:520px}.mcw-two{grid-template-columns:1fr}.mcw-body{padding:12px 14px 20px}.mcw-foot{padding:10px 14px}.mcw-row>span{width:52px}}

.mcw-tpl summary{cursor:pointer;font-weight:900;font-size:15px;padding:6px 0}
.mcw-tpl[open] summary{margin-bottom:4px}

/* Dashboard > Google Analytics */
.gagrid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:6px 0 14px}
.gagrid .stat b{display:flex;align-items:center;gap:8px}
.gadot{width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px var(--greenSoft)}
.gachart{width:100%;height:auto;display:block}
.galeg{display:flex;gap:18px;font-weight:800;font-size:13px;color:var(--muted);margin-top:6px}.galeg i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.gacols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gasetup ol{padding-left:22px;line-height:1.7;margin:12px 0}.gasetup code{background:var(--bg);padding:2px 6px;border-radius:6px;font-size:13px;word-break:break-all}
@media(max-width:900px){.gagrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.gacols{grid-template-columns:1fr}.gagrid{grid-template-columns:repeat(2,1fr)}}
.gagrid .stat b{font-size:clamp(20px,2.2vw,28px);white-space:nowrap}.gagrid .stat{min-width:0;padding-left:14px;padding-right:14px}

/* admin users list: one row per person, actions behind a three-dot menu */
.urow{align-items:flex-start;gap:14px;padding:16px 4px;flex-wrap:nowrap}
.urow .uav{width:46px;height:46px;border-radius:50%;background-color:#15a633;color:#fff;display:grid;place-items:center;font-weight:900;flex:none}
.urow .utop{display:flex;align-items:center;gap:6px 8px;flex-wrap:wrap}.urow .utop b{font-size:16px;overflow-wrap:anywhere}
.urow .ttag{padding:2px 10px;font-size:12px}
.urow .umeta{font-size:13.5px;color:var(--muted);margin-top:3px;display:flex;gap:4px 10px;flex-wrap:wrap;overflow-wrap:anywhere}
.urow .umeta a{color:var(--ink);font-weight:800;white-space:nowrap}.urow .uem{min-width:0;overflow-wrap:anywhere}
.umore{flex:none;width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.umore:hover,.umore.on{background:var(--bg);border-color:var(--ink)}.umore i,.umore svg{width:20px;height:20px}
.umenu{position:fixed;z-index:60;min-width:230px;max-width:calc(100vw - 16px);background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 14px 40px rgba(0,0,0,.18);padding:6px}
.umenu-h{display:none}
.umi{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;background:none;border-radius:10px;font:inherit;font-weight:800;color:var(--ink);text-align:left;cursor:pointer;text-decoration:none}
.umi:hover{background:var(--bg)}.umi i,.umi svg{width:18px;height:18px;flex:none}
.umi.danger{color:#B42318}.umi.danger:hover{background:#FDE2E2}.umi.arm{background:#FFF3D6;color:#7A4B00}.umi.danger.arm{background:#E5484D;color:#fff}
.umi:disabled{opacity:.6}
.umenu-sep{height:1px;background:var(--border);margin:6px 4px}
.umenu-back{position:fixed;inset:0;z-index:55;background:transparent}
@media(max-width:700px){
  .umenu-back{background:rgba(0,0,0,.35)}
  .umenu{left:0;right:0;bottom:0;top:auto;max-width:none;border-radius:20px 20px 0 0;padding:8px 12px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -10px 40px rgba(0,0,0,.25)}
  .umenu-h{display:flex;flex-direction:column;padding:8px 6px 10px;border-bottom:1px solid var(--border);margin-bottom:6px}.umenu-h span{color:var(--muted);font-size:14px}
  .umi{padding:15px 12px;font-size:16px}
  .urow{gap:12px}.urow .uav{width:42px;height:42px}
  #sform{max-width:none!important;flex-basis:100%!important}
}

/* page speed: keep the footer below the fold and reserve its height, so it does not jump when the page content and footer are drawn by scripts */
.pubmain{min-height:70vh}
#pubfoot:empty{min-height:420px}

.toolbar[hidden]{display:none}
#tools{margin:0 0 14px}

/* Files tab: a clean table on wide screens, compact cards on phones */
.ftab{container-type:inline-size;margin-top:14px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff}
.fhead,.frow{display:grid;grid-template-columns:minmax(0,2.6fr) 96px 84px 112px 120px 128px;gap:14px;align-items:center;padding:14px 18px}
.fhead{background:var(--bg);color:var(--muted);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding-top:11px;padding-bottom:11px}
.frow{border-top:1px solid var(--border)}.frow.latest{box-shadow:inset 3px 0 0 var(--green)}
.frow:hover{background:#FBFBF8}
.fc-name{display:flex;gap:12px;align-items:flex-start;min-width:0}.fc-name .ic{width:40px;height:40px;border-radius:10px;flex:none;display:grid;place-items:center}
.fn{min-width:0;flex:1}.ftitle{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ftitle b{font-size:16px;overflow-wrap:anywhere}
.fchips{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.fchips:empty{display:none}
.fv{display:inline-block;border:1px solid var(--border);background:var(--bg);border-radius:8px;padding:2px 9px;font-weight:800;font-size:12.5px;line-height:1.5;white-space:nowrap}
.fv.pk{background:#fff;color:var(--muted)}.fv.mcv{background:#1c2026;color:#fff;border-color:#1c2026}
.frow .fnote{margin-top:6px;color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.fc{display:flex;align-items:center;gap:6px;color:var(--muted);font-weight:700;font-size:14.5px;white-space:nowrap}
.fc i{display:none}.fc svg{width:15px;height:15px}.fw{display:none}.faint{color:var(--faint)}
.fgo{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:999px;border:1px solid var(--border);background:#fff;font-weight:800;color:var(--ink)}
.fgo:hover{border-color:var(--green);color:var(--green)}.fgo svg{width:18px;height:18px}
.finfo{display:contents}
@container (max-width:800px){
 .fhead{display:none}
 .frow{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name go" "info info";gap:10px 12px;padding:14px}
 .fc-name{grid-area:name}.fgo{grid-area:go;width:44px;padding:0;align-self:start}.fgo span{display:none}
 .finfo{grid-area:info;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}
 .fc i{display:inline-flex}.fc-mc{order:-1}
}

/* hero artwork credit */
.herocredit{position:absolute;right:12px;bottom:10px;z-index:1;padding:5px 12px;border-radius:999px;background:rgba(30,12,2,.55);color:#FFE9C7;font-size:12.5px;font-weight:800;backdrop-filter:blur(4px)}
.herocredit:hover{background:rgba(30,12,2,.8);color:#fff}
@media(max-width:700px){.herocredit{right:8px;bottom:8px;font-size:11.5px;padding:4px 10px}}
.herostat>span{display:inline-flex;align-items:baseline;gap:7px;line-height:1;font-size:17px}.herostat b{line-height:1}
@media(max-width:700px){.herostat>span{font-size:15px}}

/* No blue/grey flash when tapping things on phones */
*{-webkit-tap-highlight-color:transparent}
a,button,[role=button],label,summary,input,select,textarea{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}

/* Category tiles: the picture fills the card, the name sits on it in a small label */
.cat{border-radius:16px;aspect-ratio:1/1;padding:10px;border:1px solid rgba(20,22,26,.06)}
.cat .catimg{image-rendering:pixelated;transition:transform .25s}
.cat:hover .catimg{transform:scale(1.05)}
.cat div{background:rgba(255,255,255,.94);border-radius:11px;padding:8px 12px;box-shadow:0 2px 6px rgba(20,22,26,.08)}
.cat b{font-size:16px;line-height:1.2}
@media(max-width:700px){.cat{padding:7px;border-radius:14px}.cat div{padding:6px 9px;border-radius:9px}.cat b{font-size:13.5px}}
.cat.cat-all{background:var(--green);color:#fff;align-items:center;justify-content:center}
.cat.cat-all div{background:none;box-shadow:none;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;width:auto}
.cat.cat-all .catic{position:static;transform:none;background:rgba(255,255,255,.2);color:#fff;display:grid}
.cat.cat-all .catic svg{stroke:#fff}
.cat.cat-all:has(.catic){flex-direction:column;gap:10px}

/* How it works: three steps joined by a dotted line */
.how{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;position:relative}
.hstep{position:relative;background:#fff;border:1px solid var(--border);border-radius:18px;padding:22px 22px 24px;display:flex;flex-direction:column;gap:14px}
.hstep:not(:last-child)::after{content:"";position:absolute;top:50%;right:-18px;width:18px;border-top:3px dotted #b9d9c0}
.hnum{position:absolute;top:14px;right:16px;font-weight:900;font-size:44px;line-height:1;color:var(--greenSoft)}
.hic{width:56px;height:56px;border-radius:16px;background:var(--greenSoft);color:var(--greenDark);display:grid;place-items:center}
.hic svg{width:28px;height:28px}
.hstep h3{font-size:21px;font-weight:900;margin-bottom:4px}.hstep p{color:var(--muted)}
@media(max-width:700px){
 .how{grid-template-columns:1fr;gap:12px;padding-left:0}
 .hstep{flex-direction:row;align-items:center;gap:14px;padding:14px 16px}
 .hstep:not(:last-child)::after{top:auto;bottom:-13px;right:auto;left:44px;width:0;height:12px;border-top:0;border-left:3px dotted #b9d9c0}
 .hnum{top:8px;right:12px;font-size:32px}.hic{flex:none;width:48px;height:48px;border-radius:14px}.hstep h3{font-size:18px}.hstep p{font-size:14px}
}

/* Blog: cards, author line, featured post. Whole card clickable through the title link; the author link sits above it. */
.post,.feat{position:relative}
.pl{color:inherit}.pl::after{content:"";position:absolute;inset:0;z-index:1}
.post:hover h3 .pl,.feat:hover h2 .pl{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.feat .img{background-size:cover;background-position:center}
.av{display:inline-grid;place-items:center;flex:none;color:#fff;font-weight:900;font-size:13px;background:#15a633 center/cover no-repeat;border:2px solid #fff;box-shadow:0 0 0 1px var(--border)}
.pmeta2{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;color:var(--muted);font-weight:700;font-size:14px;margin-top:auto}
.pmeta2 .au{position:relative;z-index:2;display:inline-flex;align-items:center;gap:8px;color:var(--ink);padding:2px 10px 2px 2px;border-radius:99px;transition:background .15s}
.pmeta2 a.au:hover{background:var(--greenSoft)}.pmeta2 .au b{font-weight:800}
.pmeta2 .pd{display:inline-flex;align-items:center;gap:5px}.pmeta2 .pd svg{width:15px;height:15px}
.article .pmeta2{margin-top:6px}.article .pmeta2 .av{width:36px;height:36px;font-size:15px}
.article .pmeta2 .au{font-size:15px}
.fi{font-size:18px}
.post .hint{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:700px){
 .posts{grid-template-columns:1fr;gap:16px;margin-bottom:36px}
 .post{border-radius:16px}.post .img{aspect-ratio:16/9}
 .post div.t{padding:16px 16px 18px;gap:8px}.post h3{font-size:20px}.post .hint{font-size:15px}
 .feat{margin:6px 0 22px;border-radius:16px}.feat .img{aspect-ratio:16/9}.feat .txt{padding:18px 16px 20px;gap:10px}.feat h2{font-size:24px}.fi{font-size:15.5px}
 .pmeta2{font-size:13px;gap:4px 12px;padding-top:6px;border-top:1px solid var(--border);margin-top:6px}
 .pmeta2 .pr{margin-left:auto}
 .article h1{font-size:30px}.article .hero-img{border-radius:12px}
 .morep{grid-template-columns:1fr}
}

/* Addon cards, new concept: picture first with glass chips on it, logo floating over the edge, short text below */
.acard.ac2{display:flex;flex-direction:column;border-radius:18px;transition:transform .2s,box-shadow .2s}
.acard.ac2:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(20,22,26,.12)}
.ac2 .th{aspect-ratio:16/10;position:relative;overflow:hidden;display:block}
.ac2 .th img{transition:transform .4s}.ac2:hover .th img{transform:scale(1.06)}
.ac2 .th::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(transparent,rgba(0,0,0,.28));pointer-events:none}
.ac2 .ov{position:absolute;z-index:1;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:99px;background:rgba(18,20,24,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font-weight:800;font-size:12.5px;line-height:1}
.ac2 .ov svg{width:13px;height:13px}.ac2 .ovl{top:10px;left:10px}.ac2 .ovr{top:10px;right:10px}.ac2 .ovr svg{fill:#ffd24a;stroke:#ffd24a}
.ac2 .ov.ovk{top:auto;right:10px;bottom:10px;background:rgba(255,255,255,.92);color:#14161a;-webkit-backdrop-filter:none;backdrop-filter:none}
.ac2 .ct{padding:0 16px 16px;display:flex;flex-direction:column;flex:1}
.ac2 .lg{position:relative;z-index:2;width:52px;height:52px;margin-top:-26px;border-radius:14px;border:3px solid #fff;box-shadow:0 4px 12px rgba(20,22,26,.18);overflow:hidden;flex:none;display:grid;place-items:center;font-weight:900;color:rgba(20,22,26,.45)}
.ac2 h3{margin-top:10px;font-size:17px;line-height:1.25;font-weight:900;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;min-height:2.5em}
.ac2 .meta{display:flex;align-items:center;gap:2px;margin:3px 0 0;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac2 .cline{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:12px;color:var(--greenDark);font-weight:800;font-size:12.5px;min-width:0}
.ac2 .cline i{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none}.ac2 .cline span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac2.skc .lg{border-radius:14px}
@media(max-width:700px){
 .acard.ac2{border-radius:16px}.ac2 .ct{padding:0 12px 13px}.ac2 .lg{width:44px;height:44px;margin-top:-22px;border-radius:12px;font-size:14px}
 .ac2 h3{font-size:15px;margin-top:8px}.ac2 .meta{font-size:12.5px}.ac2 .ov{padding:4px 8px;font-size:11.5px;top:8px}.ac2 .ovl{left:8px}.ac2 .ovr{right:8px}.ac2 .ov.ovk{top:auto;right:8px;bottom:8px}
}

/* Featured blog post: wide picture with the text on it (stacked on phones) */
.feat2{position:relative;border-radius:26px;overflow:hidden;min-height:430px;display:flex;align-items:flex-end;margin:10px 0 34px;color:#fff;background:#14161a;box-shadow:0 18px 40px rgba(20,22,26,.16)}
.feat2 .fbg{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .6s}
.feat2:hover .fbg{transform:scale(1.04)}
.feat2 .fshade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,12,10,.86) 0%,rgba(8,12,10,.55) 45%,rgba(8,12,10,0) 80%),linear-gradient(0deg,rgba(8,12,10,.55),transparent 45%)}
.feat2 .fbody{position:relative;z-index:1;padding:44px 48px;max-width:680px;display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.fbadge{display:inline-flex;align-items:center;gap:7px;background:#ffd24a;color:#3a2b00;font-weight:900;font-size:13px;padding:6px 14px;border-radius:99px}.fbadge svg{width:14px;height:14px;fill:currentColor}
.feat2 h2{font-size:44px;line-height:1.1;font-weight:900;margin:0;letter-spacing:-.5px}
.feat2 .pl{color:#fff}.feat2:hover h2 .pl{text-decoration:none}
.fi2{margin:0;font-size:18px;line-height:1.55;color:rgba(255,255,255,.88);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fmeta{display:flex;align-items:center;flex-wrap:wrap;gap:14px 22px;margin-top:6px}
.feat2 .pmeta2{margin:0;color:rgba(255,255,255,.85);gap:6px 14px}
.feat2 .pmeta2 .au{color:#fff}.feat2 .pmeta2 a.au:hover{background:rgba(255,255,255,.18)}
.fcta{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#0b6e22;font-weight:900;padding:11px 20px;border-radius:99px;transition:gap .2s}.fcta svg{width:18px}
.feat2:hover .fcta{gap:13px}
@media(max-width:700px){
 .feat2{display:block;min-height:0;border-radius:18px;background:#fff;color:var(--ink);border:1px solid var(--border);box-shadow:none;margin:6px 0 24px}
 .feat2 .fbg{position:static;aspect-ratio:16/10;transition:none}.feat2:hover .fbg{transform:none}.feat2 .fshade{display:none}
 .feat2 .fbody{padding:16px 16px 18px;gap:10px;max-width:none}
 .feat2 h2{font-size:25px}.feat2 .pl{color:var(--ink)}.fi2{font-size:15.5px;color:var(--muted)}
 .feat2 .pmeta2{color:var(--muted)}.feat2 .pmeta2 .au{color:var(--ink)}.feat2 .pmeta2 a.au:hover{background:var(--greenSoft)}
 .fcta{background:var(--green);color:#fff;padding:9px 16px;font-size:14px}
 .fmeta{width:100%;gap:10px}
}
.similar{margin-top:34px}
.ac2 .cfoot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:11px;border-top:1px solid var(--border)}
.ac2 .ctag{flex:1;min-width:0;color:var(--muted);font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac2 .cgo{flex:none;width:32px;height:32px;border-radius:50%;background:var(--greenSoft);color:var(--greenDark);display:grid;place-items:center;transition:background .2s,color .2s,transform .2s}
.ac2 .cgo svg{width:17px;height:17px}.ac2:hover .cgo{background:var(--green);color:#fff;transform:rotate(45deg)}
.ac2 .ct{padding-bottom:12px}
@media(max-width:700px){.ac2 .cgo{display:none}.ac2 .ctag{font-size:12.5px}.ac2 .cfoot{padding-top:9px}}
