:root{
  --mf-bg:#050b12;--mf-bg-2:#07121d;--mf-panel:#0a1723;--mf-panel-2:#0d1d2b;--mf-card:#0b1926;--mf-border:rgba(119,164,196,.15);--mf-border-strong:rgba(102,181,192,.26);--mf-text:#f2f8ff;--mf-muted:#8ea4bb;--mf-muted-2:#667f98;--mf-green:#42e891;--mf-green-bright:#62ffa5;--mf-green-dark:#143e31;--mf-violet:#9e76ff;--mf-blue:#65aaff;--mf-radius:15px;--mf-shadow:0 18px 60px rgba(0,0,0,.22);--mf-sidebar:244px;--mf-right:276px;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body.mf-body{margin:0;background:radial-gradient(ellipse at 52% -15%,rgba(23,62,82,.24),transparent 42%),var(--mf-bg);color:var(--mf-text);font:13px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.012em}
button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--mf-green);outline-offset:3px}
.mf-app{min-height:100vh}.mf-topbar{height:70px;position:sticky;top:0;z-index:80;display:grid;grid-template-columns:var(--mf-sidebar) minmax(180px,1fr) auto;align-items:center;gap:30px;padding:0 27px 0 26px;background:rgba(5,12,20,.93);border-bottom:1px solid var(--mf-border);backdrop-filter:blur(18px)}
.mf-brand{display:flex;align-items:center;gap:11px;min-width:0}.mf-brand__mark{width:39px;height:42px;display:grid;place-items:center;flex:0 0 auto}.mf-brand__mark img{width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(64,237,145,.22))}.mf-brand__text{display:flex;flex-direction:column;line-height:1.2}.mf-brand__text strong{font-weight:800;font-size:18px;letter-spacing:-.05em}.mf-brand__text small{font-size:10px;color:#8da4bb;margin-top:4px;letter-spacing:0}.mf-top-search{max-width:760px;width:100%;height:39px;display:flex;align-items:center;gap:12px;padding:0 12px;border:1px solid rgba(128,165,199,.13);background:linear-gradient(100deg,#111f30,#101d2c);border-radius:11px;color:var(--mf-muted);box-shadow:inset 0 1px rgba(255,255,255,.02)}.mf-search-icon{font-size:27px;line-height:1;transform:rotate(-20deg);color:#b2c6da}.mf-top-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--mf-text);font-size:12px}.mf-top-search input::placeholder{color:#7c91a8}.mf-top-search kbd{white-space:nowrap;font-size:10px;color:#92a5ba;border:1px solid #34475b;border-radius:5px;padding:2px 6px;background:#0d1725}.mf-top-actions{display:flex;align-items:center;gap:10px}.mf-icon-button{width:36px;height:36px;border:1px solid transparent;border-radius:50%;background:transparent;color:#bbcee0;display:grid;place-items:center;font-size:20px;position:relative}.mf-icon-button:hover{background:#112334;border-color:var(--mf-border)}.mf-notifications i{position:absolute;top:5px;right:4px;width:6px;height:6px;border-radius:50%;background:var(--mf-green);box-shadow:0 0 0 3px #07121d}.mf-user{height:42px;display:flex;gap:9px;align-items:center;padding:3px 12px 3px 5px;border:1px solid var(--mf-border);border-radius:12px;background:linear-gradient(110deg,#111f2d,#0c1826);min-width:168px}.mf-user img{width:34px;height:34px;border-radius:9px;object-fit:cover}.mf-user>span:nth-child(2){display:flex;flex-direction:column;line-height:1.35;min-width:0}.mf-user b{font-size:11px;font-weight:650;white-space:nowrap}.mf-user small{font-size:10px;color:var(--mf-green);white-space:nowrap}.mf-chevron{margin-left:auto;font-size:16px;color:#91a6bb}.mf-mobile-toggle{display:none;border:1px solid var(--mf-border);background:#0d1b29;color:var(--mf-text);border-radius:9px;height:38px;width:40px;font-size:19px}
.mf-layout{display:grid;grid-template-columns:var(--mf-sidebar) minmax(0,1fr) var(--mf-right);align-items:start;gap:0;max-width:1920px;margin:0 auto}.mf-sidebar{min-height:calc(100vh - 70px);height:calc(100vh - 70px);position:sticky;top:70px;overflow-y:auto;overscroll-behavior:contain;padding:16px 13px 17px 17px;border-right:1px solid var(--mf-border);display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(7,18,29,.96),rgba(5,13,21,.92))}.mf-sidebar::-webkit-scrollbar,.mf-rightbar::-webkit-scrollbar{width:5px}.mf-sidebar::-webkit-scrollbar-thumb,.mf-rightbar::-webkit-scrollbar-thumb{background:#22394c;border-radius:10px}.mf-nav{display:flex;flex-direction:column;gap:4px}.mf-nav-link{min-height:36px;display:flex;align-items:center;gap:11px;padding:7px 11px;border-radius:9px;color:#a9bed3;font-size:12px;transition:background .2s,color .2s}.mf-nav-link:hover{background:#0e2030;color:#e9f6ff}.mf-nav-link.is-active{background:linear-gradient(100deg,rgba(50,233,143,.18),rgba(34,141,109,.09));box-shadow:inset 2px 0 var(--mf-green);color:#77f5ae;font-weight:650}.mf-nav-ico{width:19px;text-align:center;font-size:20px;line-height:1;color:#99b5cd}.mf-nav-link.is-active .mf-nav-ico{color:var(--mf-green)}.mf-nav-caret{margin-left:auto;color:#8da5bb}.mf-tree{padding:0 0 7px 6px;margin:0 0 4px 10px;border-left:1px solid rgba(109,145,174,.2)}.mf-tree-group,.mf-tree-version,.mf-tree-category{min-width:0}.mf-tree summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:25px;padding:3px 5px;border-radius:7px;color:#8ca5bc;font-size:10.5px;cursor:pointer}.mf-tree summary::-webkit-details-marker{display:none}.mf-tree summary:hover{background:rgba(92,143,167,.08);color:#dcebf8}.mf-tree summary.is-current{color:var(--mf-green-bright)}.tree-symbol{width:12px;text-align:center;flex:0 0 auto;color:#6e8ba3}.mf-tree-children{padding-left:12px;margin:2px 0 5px 8px;border-left:1px solid rgba(102,158,185,.17);display:flex;flex-direction:column;gap:2px}.mf-tree-children a{display:block;padding:5px 8px;border-radius:6px;color:#9ab0c5;font-size:10.5px;transition:.18s}.mf-tree-children a:hover,.mf-tree-children a.is-current{background:rgba(48,227,141,.1);color:#66f6a6}.mf-tree-loader a{padding-left:20px;position:relative}.mf-tree-loader a:before{content:'›';position:absolute;left:8px;color:#7595ad}.mf-tree-more{display:block;padding:7px 5px;color:#8da5bc;font-size:10px}.mf-side-promo{position:relative;margin:25px 0 18px;padding:15px 13px 14px;border:1px solid rgba(68,203,136,.2);border-radius:12px;background:linear-gradient(140deg,rgba(25,83,61,.28),rgba(11,27,33,.94) 70%);overflow:hidden}.mf-side-promo:after{content:'';position:absolute;width:120px;height:120px;right:-45px;top:-55px;border-radius:50%;background:rgba(58,244,152,.08);filter:blur(5px)}.mf-side-promo__icon{width:43px;height:43px;margin-bottom:9px}.mf-side-promo__icon img{width:100%;height:100%;object-fit:contain}.mf-side-promo>b{display:block;font-size:12px;margin-bottom:5px}.mf-side-promo p{font-size:10px;color:#8fa8bf;line-height:1.5;margin:0 0 12px}.mf-button{min-height:35px;border:0;border-radius:8px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:750;font-size:10.5px;transition:transform .2s,filter .2s,box-shadow .2s}.mf-button:hover{transform:translateY(-1px);filter:brightness(1.06)}.mf-button--green{color:#052316;background:linear-gradient(110deg,#44e88f,#67ffa5);box-shadow:0 5px 17px rgba(52,229,137,.13)}.mf-button--outline{color:#8cf6b6;background:rgba(28,115,78,.18);border:1px solid rgba(66,232,145,.22);width:100%;font-size:10px;gap:8px}.mf-sidebar-footer{display:flex;align-items:center;gap:9px;margin-top:auto;padding:20px 5px 0;color:#7892a9;font-size:10px}.mf-sidebar-footer span:last-child{display:flex;flex-direction:column}.mf-sidebar-footer b{color:#adc0d2;font-size:10.5px;font-weight:550}.mf-sidebar-footer small{font-size:9px}.mf-online-dot{width:7px;height:7px;border-radius:50%;background:var(--mf-green);box-shadow:0 0 12px rgba(66,232,145,.65)}
.mf-main{min-width:0;padding:17px 16px 0}.mf-main-inner{min-width:0;max-width:1130px;margin:0 auto}.mf-breadcrumb{color:#7891a9;font-size:10px;min-height:0;overflow:hidden;margin:0 0 8px}.mf-story-page,.mf-engine-page{min-width:0}.mf-engine-page{padding:0 0 18px}.mf-story-page>.mf-full-mod{width:100%}.mf-hero{position:relative;isolation:isolate;min-height:302px;border-radius:14px;border:1px solid rgba(104,177,198,.2);overflow:hidden;background:#0b1c27;margin-bottom:16px;box-shadow:0 12px 35px rgba(0,0,0,.15)}.mf-hero-bg{position:absolute;z-index:-3;inset:0;background-image:url('../images/hero-minecraft.webp');background-size:cover;background-position:center 50%;transform:scale(1.006);transition:background-image .45s}.mf-hero-shade{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(3,12,17,.98) 0%,rgba(4,14,21,.88) 25%,rgba(6,16,22,.42) 53%,rgba(6,16,22,.06) 100%),linear-gradient(0deg,rgba(3,12,17,.45),transparent 44%)}.mf-hero-content{position:relative;z-index:1;padding:25px 22px 17px;max-width:590px}.mf-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:9px;font-weight:800;letter-spacing:.16em;color:#c1d7e3}.mf-eyebrow i{display:inline-block;width:6px;height:6px;background:var(--mf-green);border-radius:50%;box-shadow:0 0 13px var(--mf-green)}.mf-hero h1{margin:8px 0 8px;font-size:clamp(30px,2.8vw,44px);line-height:1.03;letter-spacing:-.055em;font-weight:850;text-shadow:0 3px 18px rgba(0,0,0,.28)}.mf-hero h1 span{color:#55f18f;text-shadow:0 0 27px rgba(67,243,141,.12)}.mf-hero p{font-size:12px;line-height:1.55;color:#c2d2df;margin:0 0 14px}.mf-hero-search{height:42px;width:min(100%,470px);padding:4px;display:flex;align-items:center;gap:11px;border:1px solid rgba(73,235,151,.24);border-radius:11px;background:rgba(8,23,32,.83);box-shadow:0 10px 28px rgba(0,0,0,.17);backdrop-filter:blur(10px)}.mf-hero-search>span{font-size:24px;color:#b8ccdd;margin-left:8px}.mf-hero-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--mf-text);font-size:11px}.mf-hero-search input::placeholder{color:#8199ad}.mf-hero-search button{flex:0 0 33px;height:33px;border:0;border-radius:8px;background:linear-gradient(145deg,#48e993,#81ffb4);color:#052317;font-size:23px;line-height:1;transition:transform .18s}.mf-hero-search button:hover{transform:translateX(2px)}.mf-popular-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px}.mf-popular-tags>span{color:#b9c9d9;font-size:9.5px;margin-right:1px}.mf-popular-tags button,.mf-tag-cloud button{border:1px solid rgba(135,177,206,.12);border-radius:999px;background:rgba(14,31,47,.83);padding:5px 9px;color:#a9bfd3;font-size:9px;line-height:1.15;transition:.18s}.mf-popular-tags button:hover,.mf-tag-cloud button:hover{color:#72f5ab;border-color:rgba(66,232,145,.3);background:rgba(34,112,75,.23)}.mf-hero-stat{position:absolute;right:17px;top:17px;padding:12px 13px;display:flex;gap:10px;align-items:center;border:1px solid rgba(111,197,187,.19);border-radius:11px;background:rgba(5,18,27,.75);backdrop-filter:blur(13px);box-shadow:0 10px 32px rgba(0,0,0,.19)}.mf-hero-stat img{width:32px;height:32px;object-fit:contain}.mf-hero-stat span{display:flex;flex-direction:column}.mf-hero-stat b{font-size:13px}.mf-hero-stat small{font-size:9px;color:#93aabd}.mf-hero-pager{position:absolute;right:15px;bottom:13px;display:flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(168,202,226,.14);border-radius:8px;background:rgba(5,15,23,.7);color:#c0d2e1;font-size:9px}.mf-hero-pager span{padding:0 7px}.mf-hero-pager button{width:23px;height:23px;border:0;border-radius:5px;background:rgba(111,153,182,.14);color:#ecf7ff;font-size:16px}
.mf-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 0 21px;padding:11px 8px;background:linear-gradient(110deg,#0c1a28,#0b1925);border:1px solid var(--mf-border);border-radius:11px}.mf-benefit{display:flex;align-items:center;gap:10px;padding:0 9px;min-width:0;border-right:1px solid var(--mf-border)}.mf-benefit:last-child{border-right:0}.mf-benefit-icon{width:37px;height:37px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;font-size:22px;font-weight:800;background:#14213c;color:#a98bff}.mf-benefit-icon.is-green{background:#11352e;color:#65f0a7}.mf-benefit-icon.is-blue{background:#152d4d;color:#78b0ff}.mf-benefit-icon.is-cyan{background:#10303e;color:#6be7ff}.mf-benefit>span:last-child{min-width:0;display:flex;flex-direction:column;line-height:1.4}.mf-benefit b{font-size:10px;font-weight:700;color:#e7f1f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mf-benefit small{font-size:9px;color:#809ab0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mf-mod-section{margin-bottom:21px}.mf-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 1px 13px}.mf-section-heading>div{display:flex;align-items:center;gap:11px;min-width:0}.mf-section-icon{width:29px;height:29px;display:grid;place-items:center;font-size:25px;color:#6ff4a9}.mf-section-heading h2{margin:0;font-size:17px;line-height:1.2;letter-spacing:-.035em;font-weight:800}.mf-section-heading p{margin:3px 0 0;font-size:9.5px;color:#8199b0}.mf-section-heading>a,.mf-panel-heading>a{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#54ef9b;font-size:10px}.mf-section-heading>a span{font-size:17px;line-height:1}.mf-tabs{display:flex;align-items:center;gap:4px;margin:0 0 12px;padding:4px;width:max-content;max-width:100%;background:#0b1825;border:1px solid var(--mf-border);border-radius:10px;overflow-x:auto}.mf-tabs button{min-height:27px;padding:5px 12px;white-space:nowrap;color:#8fa7bd;border:0;border-radius:7px;background:transparent;font-size:9.5px}.mf-tabs button:hover{color:#e4f2fc}.mf-tabs button.is-active{background:linear-gradient(110deg,#3ae18a,#68f8a6);color:#062819;font-weight:800;box-shadow:0 3px 12px rgba(66,232,145,.14)}.mf-mod-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}.mf-mod-card{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(116,164,195,.19);border-radius:12px;background:linear-gradient(145deg,rgba(14,29,44,.98),rgba(8,20,32,.98));box-shadow:0 6px 17px rgba(0,0,0,.1);transition:transform .2s,border-color .2s,box-shadow .2s;--cover-image:url('../images/mod-create.webp')}.mf-mod-card:hover{transform:translateY(-3px);border-color:rgba(76,236,150,.42);box-shadow:0 15px 28px rgba(0,0,0,.23),0 0 0 1px rgba(66,232,145,.04)}.mf-mod-card:nth-child(8n+1){--cover-image:url('../images/mod-create.webp')}.mf-mod-card:nth-child(8n+2){--cover-image:url('../images/mod-mobs.webp')}.mf-mod-card:nth-child(8n+3){--cover-image:url('../images/mod-biomes.webp')}.mf-mod-card:nth-child(8n+4){--cover-image:url('../images/mod-workshop.webp')}.mf-mod-card:nth-child(8n+5){--cover-image:url('../images/mod-nether.webp')}.mf-mod-card:nth-child(8n+6){--cover-image:url('../images/mod-caves.webp')}.mf-mod-card:nth-child(8n+7){--cover-image:url('../images/mod-castle.webp')}.mf-mod-card:nth-child(8n){--cover-image:url('../images/mod-aether.webp')}.mf-card-visual{height:auto;aspect-ratio:1.6/1;display:block;position:relative;overflow:hidden;background-image:linear-gradient(0deg,rgba(4,15,23,.35),transparent 60%),var(--cover-image);background-position:center;background-size:cover}.mf-card-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,14,21,.34),transparent 42%);pointer-events:none}.mf-card-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s;z-index:0}.mf-mod-card:hover .mf-card-visual>img{transform:scale(1.05)}.mf-card-label{position:absolute;left:8px;top:8px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid rgba(255,255,255,.15);border-radius:7px;background:rgba(5,16,23,.75);backdrop-filter:blur(7px);font-size:8px;color:#f0fff8;text-transform:uppercase;letter-spacing:.05em}.mf-card-label i{width:5px;height:5px;background:var(--mf-green);border-radius:50%;box-shadow:0 0 8px var(--mf-green)}.mf-card-bookmark{position:absolute;z-index:3;top:7px;right:7px;width:27px;height:27px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:7px;background:rgba(3,12,20,.6);color:#eaf4ff;font-size:16px;line-height:1}.mf-card-bookmark.is-saved{color:#65f7a9;background:rgba(10,75,47,.85);border-color:rgba(66,232,145,.4)}.mf-card-body{padding:9px 10px 10px}.mf-card-title-row{display:flex;align-items:center;gap:6px}.mf-card-title-row h3{font-size:12px;line-height:1.35;letter-spacing:-.025em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-weight:750}.mf-card-title-row h3 a:hover{color:#64f4a5}.mf-card-more{font-size:14px;color:#91abc2}.mf-card-description{margin:3px 0 7px;color:#829bb1;font-size:9.3px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;min-height:13px}.mf-card-tags{display:flex;gap:4px;flex-wrap:wrap;min-height:20px;max-height:42px;overflow:hidden}.mf-mini-tag{display:inline-flex;align-items:center;gap:3px;padding:3px 5px;border-radius:5px;background:#142538;border:1px solid rgba(134,174,205,.08);color:#a4bacd;font-size:8px;line-height:1.25;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.mf-card-stats{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:8px 0 9px;color:#90a8bd;font-size:8.7px;white-space:nowrap;overflow:hidden}.mf-card-stats span{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden;text-overflow:ellipsis}.mf-card-stats b{font-weight:600;color:#c1d1df;overflow:hidden;text-overflow:ellipsis}.mf-card-rating{color:#ffca55!important}.mf-card-rating b{color:#eaf3fa}.mf-card-actions{display:flex;gap:7px}.mf-card-install{display:flex;justify-content:center;align-items:center;gap:6px;min-width:0;flex:1;min-height:31px;padding:6px 7px;border-radius:7px;background:linear-gradient(110deg,#3bdc87,#67f4a2);color:#052416;font-weight:800;font-size:9.5px;transition:filter .18s,transform .18s}.mf-card-install:hover{filter:brightness(1.08);transform:translateY(-1px)}.mf-card-install span{font-size:13px}.mf-card-like{width:32px;flex:0 0 32px;display:grid;place-items:center;border:1px solid var(--mf-border);border-radius:7px;background:#101f30;color:#a8bfd2;font-size:14px}.mf-card-like:hover{color:#67f4a2;border-color:rgba(66,232,145,.3)}.mf-pagination{padding:14px 0 5px;display:flex;justify-content:center}.mf-page-nav{display:flex;align-items:center;justify-content:center;gap:5px;color:#8ea5bb}.mf-page-nav a,.mf-page-nav span,.mf-page-nav>span{min-width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;padding:0 8px;border:1px solid var(--mf-border);border-radius:7px;background:#0c1a28;color:#a6bacd;font-size:10px}.mf-page-nav a:hover,.mf-page-nav .active,.mf-page-nav span.nav-current{background:rgba(54,224,136,.15);color:var(--mf-green);border-color:rgba(66,232,145,.3)}
.mf-pack-shelf{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,1.7fr);gap:12px;margin:18px 0 25px;padding:12px;border:1px solid var(--mf-border-strong);border-radius:14px;background:linear-gradient(115deg,#0a1825,#0a1622)}.mf-pack-feature{position:relative;min-height:190px;overflow:hidden;border-radius:10px;background:#0b1721}.mf-pack-feature>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mf-pack-feature-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,16,23,.96),rgba(5,16,23,.62) 54%,rgba(5,16,23,.08)),linear-gradient(0deg,rgba(5,16,23,.35),transparent)}.mf-pack-feature-content{position:relative;z-index:1;padding:16px}.mf-pack-feature .mf-eyebrow{color:#83f7b2;font-size:8px}.mf-pack-feature h2{font-size:25px;line-height:1.02;margin:7px 0 8px;letter-spacing:-.05em}.mf-pack-feature p{font-size:10px;line-height:1.45;color:#b4c5d3;margin:0 0 13px}.mf-pack-feature .mf-button{font-size:9px;min-height:30px}.mf-pack-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.mf-pack-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-radius:9px;border:1px solid var(--mf-border);background:#0b1a28;transition:.2s}.mf-pack-card:hover{transform:translateY(-2px);border-color:rgba(66,232,145,.35)}.mf-pack-card img{width:100%;aspect-ratio:1.45/1;object-fit:cover}.mf-pack-card b{font-size:9px;padding:7px 7px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mf-pack-card small{padding:0 7px 8px;font-size:8px;color:#839bb0;line-height:1.3}.mf-lower-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 1px 21px;padding:13px 14px;border:1px solid var(--mf-border);border-radius:11px;background:linear-gradient(100deg,rgba(12,29,43,.85),rgba(8,20,31,.4))}.mf-lower-strip>div{display:flex;align-items:center;gap:10px;min-width:0}.mf-lower-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(64,235,143,.12);color:var(--mf-green);font-size:19px}.mf-lower-strip h2{margin:0;font-size:12px}.mf-lower-strip p{margin:2px 0 0;color:#839bb0;font-size:9px}.mf-lower-strip>a{white-space:nowrap;color:#5df1a0;font-size:9px}.mf-lower-strip>a span{font-size:15px}.mf-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--mf-border);padding:15px 3px 18px;color:#748ba0;font-size:9px}.mf-footer-brand{display:flex;align-items:center;gap:7px;flex:0 0 auto}.mf-footer-brand img{width:27px;height:27px}.mf-footer-brand>span{display:flex;flex-direction:column}.mf-footer-brand b{font-size:10px;color:#b8c9d9}.mf-footer-brand small{font-size:8px}.mf-footer nav{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.mf-footer nav a:hover{color:#e7f5ff}.mf-copyright{white-space:nowrap}
.mf-rightbar{min-width:0;padding:17px 17px 18px 4px;display:flex;flex-direction:column;gap:13px}.mf-panel{border:1px solid var(--mf-border);border-radius:13px;background:linear-gradient(145deg,#0a1724,#08131e);overflow:hidden;box-shadow:0 9px 25px rgba(0,0,0,.08)}.mf-filter-panel{padding:13px 12px 12px}.mf-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}.mf-panel-heading h2{font-size:13px;line-height:1.2;margin:0;font-weight:800;letter-spacing:-.025em}.mf-panel-heading h2 span{color:#8fbdff;margin-right:5px}.mf-panel-heading>button{border:0;background:transparent;color:#58f2a1;font-size:9px;padding:2px}.mf-panel-heading>a{font-size:9px}.mf-filter-block{margin:0 0 13px}.mf-filter-block>label,.mf-filter-label{display:block;color:#c5d5e3;font-size:10px;font-weight:600;margin:0 0 6px}.mf-filter-block select{width:100%;height:32px;border:1px solid rgba(126,169,200,.17);border-radius:8px;padding:0 9px;background:#122436;color:#d4e3f0;font-size:10px;outline:0}.mf-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 6px}.mf-check-grid label,.mf-filter-nested>label{display:flex;align-items:center;gap:7px;color:#91a9bd;font-size:10px;cursor:pointer}.mf-check-grid input,.mf-filter-nested input{appearance:none;width:14px;height:14px;border:1px solid #35536a;border-radius:4px;background:#0e2030;position:relative;flex:0 0 auto;margin:0}.mf-check-grid input:checked,.mf-filter-nested input:checked{background:var(--mf-green);border-color:var(--mf-green)}.mf-check-grid input:checked:after,.mf-filter-nested input:checked:after{content:'✓';position:absolute;inset:-1px;color:#052819;font-size:11px;font-weight:900;text-align:center;line-height:14px}.mf-filter-search{height:30px;border:1px solid rgba(126,169,200,.14);border-radius:8px;background:#0e2030;display:flex;align-items:center;gap:6px;padding:0 8px;margin-bottom:7px}.mf-filter-search span{font-size:19px;color:#89a4ba}.mf-filter-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#e4f0fa;font-size:10px}.mf-filter-search input::placeholder{color:#67839a}.mf-filter-tree{display:flex;flex-direction:column;gap:2px}.mf-filter-tree details{border-radius:7px;overflow:hidden}.mf-filter-tree summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:27px;padding:5px 6px;cursor:pointer;color:#8ea9bf;font-size:10px}.mf-filter-tree summary::-webkit-details-marker{display:none}.mf-filter-tree summary:hover{background:#102334;color:#e3f0fb}.mf-filter-tree summary span{flex:1}.mf-filter-tree summary i{font-style:normal;color:#637f96}.mf-filter-tree details[open]>summary{color:#d1e4f1}.mf-filter-nested{padding:3px 7px 8px 9px;background:rgba(4,12,20,.28)}.mf-filter-nested>label{padding:4px 0}.mf-loader-pills{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.mf-loader-pills button{font-size:8px;padding:4px 6px;border:1px solid rgba(128,168,200,.15);border-radius:5px;background:#102234;color:#8ca6bc}.mf-loader-pills button.is-selected{background:rgba(49,203,125,.15);border-color:rgba(66,232,145,.28);color:#6df4a8}.mf-tag-cloud{display:flex;flex-wrap:wrap;gap:5px}.mf-tag-cloud button{padding:5px 7px;font-size:8px}.mf-apply-filters{width:100%;margin-top:0;min-height:33px}.mf-author-panel{padding:13px 12px}.mf-author-panel .mf-panel-heading{margin-bottom:10px}.mf-author{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid rgba(111,156,187,.09)}.mf-author:first-of-type{border-top:0}.mf-author img{width:34px;height:34px;object-fit:cover;border-radius:10px;border:1px solid rgba(114,173,205,.22)}.mf-author>span{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}.mf-author b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mf-author small{font-size:8px;color:#8098ad}.mf-author button{width:27px;height:27px;display:grid;place-items:center;border:1px solid rgba(117,164,197,.14);border-radius:7px;background:#102236;color:#b3c8da;font-size:17px}.mf-author button.is-following{color:var(--mf-green);border-color:rgba(66,232,145,.3);background:rgba(49,203,125,.12)}.mf-join-card{position:relative;isolation:isolate;min-height:230px;overflow:hidden;padding:17px 14px;border:1px solid rgba(81,180,156,.2);border-radius:13px;background:linear-gradient(145deg,#0d2a2a,#091824 72%)}.mf-join-glow{position:absolute;z-index:-1;width:170px;height:170px;right:-72px;top:-38px;border-radius:50%;background:radial-gradient(circle,rgba(67,241,148,.17),transparent 68%);filter:blur(4px)}.mf-join-badge{display:inline-flex;border:1px solid rgba(65,234,146,.2);background:rgba(49,204,122,.1);padding:4px 6px;border-radius:5px;font-size:7px;color:#69f6a7;letter-spacing:.13em;font-weight:800}.mf-join-card h2{font-size:22px;line-height:1.08;letter-spacing:-.05em;margin:13px 0 9px}.mf-join-card p{font-size:10px;color:#a0b7c8;line-height:1.5;margin:0 0 13px;max-width:175px}.mf-join-card .mf-button{min-height:32px}.mf-join-graphic{position:absolute;right:5px;bottom:-29px;font-size:142px;color:rgba(67,238,146,.06);transform:rotate(-15deg);pointer-events:none}
.mf-toast{position:fixed;z-index:200;left:50%;bottom:22px;transform:translate(-50%,20px);max-width:min(420px,calc(100vw - 30px));padding:11px 15px;border:1px solid rgba(67,239,146,.35);border-radius:10px;background:#0b201c;color:#cffff0;box-shadow:0 16px 55px rgba(0,0,0,.35);font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.mf-toast.is-visible{opacity:1;transform:translate(-50%,0)}.mf-mod-card[hidden],.mf-filter-tree [data-category-item][hidden]{display:none!important}.mf-mod-grid>.error,.mf-mod-grid>.ok,.mf-mod-grid>.info,.mf-mod-grid>.warning,.mf-mod-grid>.notice{grid-column:1/-1;min-width:0}.mf-mod-grid>.mf-full-mod,.mf-mod-grid>.error,.mf-mod-grid>.ok,.mf-mod-grid>.info,.mf-mod-grid>.warning{grid-column:1/-1;min-width:0;width:100%}
/* Article detail */
.mf-full-mod{min-width:0}.mf-full-hero{position:relative;min-height:260px;overflow:hidden;border:1px solid var(--mf-border);border-radius:14px;background:#0b1b27;margin:0 0 15px;isolation:isolate}.mf-full-image,.mf-full-overlay{position:absolute;inset:0;z-index:-2}.mf-full-image img{width:100%;height:100%;object-fit:cover}.mf-full-overlay{z-index:-1;background:linear-gradient(90deg,rgba(4,12,20,.95),rgba(4,12,20,.7) 54%,rgba(4,12,20,.12)),linear-gradient(0deg,rgba(4,12,20,.5),transparent 55%)}.mf-full-heading{padding:35px 25px 28px;max-width:720px}.mf-full-heading h1{font-size:clamp(27px,3vw,44px);line-height:1.05;margin:12px 0;letter-spacing:-.045em}.mf-full-byline{display:flex;gap:13px;flex-wrap:wrap;color:#a2b7c9;font-size:10px}.mf-full-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px}.mf-full-content{min-width:0;padding:16px;border:1px solid var(--mf-border);border-radius:13px;background:#0a1723}.mf-full-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.mf-full-tags span{background:#132b3e;border:1px solid var(--mf-border);border-radius:7px;padding:5px 8px;color:#a6bfd2;font-size:10px}.mf-article-content{color:#c0d0de;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.mf-article-content h2,.mf-article-content h3{color:#f1f7fc;line-height:1.25}.mf-article-content img{max-width:100%;height:auto;border-radius:8px}.mf-article-content a{color:#69efa5;text-decoration:underline}.mf-download-box{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;margin-top:20px;border:1px solid rgba(66,232,145,.21);border-radius:11px;background:linear-gradient(110deg,rgba(24,87,59,.25),rgba(10,27,34,.8))}.mf-download-box>div{display:flex;align-items:center;gap:9px}.mf-download-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(66,232,145,.14);color:var(--mf-green);font-size:20px}.mf-download-box>div div{display:flex;flex-direction:column;gap:3px}.mf-download-box b{font-size:11px}.mf-download-box small{font-size:9px;color:#91a9bd}.mf-full-meta{display:flex;gap:15px;flex-wrap:wrap;padding-top:13px;margin-top:15px;border-top:1px solid var(--mf-border);color:#8098ad;font-size:10px}.mf-full-side .mf-panel{padding:13px}.mf-full-side h3{font-size:12px;margin:0 0 12px}.mf-full-side dl{display:grid;grid-template-columns:1fr;gap:4px;margin:0}.mf-full-side dt{font-size:9px;color:#7892a9}.mf-full-side dd{margin:0 0 7px;color:#d3e4f1;font-size:10px}.mf-comments{margin-top:19px}.mf-comments>h2{font-size:16px}.mf-comment{display:flex;gap:10px;padding:13px;margin:9px 0;border:1px solid var(--mf-border);border-radius:10px;background:#0a1723}.mf-comment-avatar{width:35px;flex:0 0 35px;height:35px;overflow:hidden;border-radius:50%;background:#112336}.mf-comment-avatar img{width:100%;height:100%;object-fit:cover}.mf-comment-main{min-width:0;flex:1}.mf-comment-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mf-comment-head b{font-size:11px}.mf-comment-head time{font-size:9px;color:#7892a9}.mf-comment-text{margin-top:6px;color:#b4c5d5;font-size:11px}.mf-comment-controls{margin-top:7px;font-size:10px;color:#66f0a5}.mf-add-comment{padding:16px;border:1px solid var(--mf-border);border-radius:11px;background:#0a1723}.mf-add-comment h3{margin:0 0 12px;font-size:14px}.mf-add-comment-fields textarea,.mf-add-comment-fields input[type=text]{width:100%;padding:10px;border:1px solid var(--mf-border);border-radius:8px;background:#0d2030;color:var(--mf-text)}.mf-add-comment-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.mf-static-page{padding:18px;border:1px solid var(--mf-border);border-radius:13px;background:#0a1723}.mf-static-heading h1{font-size:28px;margin:9px 0 18px}.mf-login-form{display:flex;flex-direction:column;gap:12px;max-width:430px}.mf-login-form>label{display:flex;flex-direction:column;gap:5px;color:#a4bbcd;font-size:11px}.mf-login-form>label input{height:37px;padding:0 10px;border:1px solid var(--mf-border);border-radius:8px;background:#0d2030;color:var(--mf-text)}.mf-login-options{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;color:#8ea5ba}.mf-login-options label{display:flex;align-items:center;gap:5px}.mf-login-options a,.mf-login-register{color:#66f2a5}.mf-login-register{text-align:center;font-size:11px}.mf-logged-user{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.mf-logged-user img{border-radius:10px}
/* Optional light theme, toggled by JS */
body.mf-body.theme-light{--mf-bg:#eaf2f5;--mf-bg-2:#edf4f6;--mf-panel:#fff;--mf-panel-2:#f7fbfc;--mf-card:#fff;--mf-border:rgba(22,74,96,.14);--mf-text:#0d2632;--mf-muted:#5c7687;color-scheme:light;background:var(--mf-bg);color:var(--mf-text)}body.theme-light .mf-topbar,body.theme-light .mf-sidebar{background:rgba(244,250,252,.95)}body.theme-light .mf-top-search,body.theme-light .mf-user,body.theme-light .mf-panel,body.theme-light .mf-mod-card,body.theme-light .mf-benefits,body.theme-light .mf-tabs,body.theme-light .mf-full-content,body.theme-light .mf-static-page{background:#f8fcfd;color:#102b37}body.theme-light .mf-nav-link,body.theme-light .mf-tree summary,body.theme-light .mf-tree-children a,body.theme-light .mf-benefit b,body.theme-light .mf-card-title-row h3,body.theme-light .mf-panel-heading h2{color:#18394a}body.theme-light .mf-hero-shade{background:linear-gradient(90deg,rgba(4,12,17,.88),rgba(4,14,21,.65) 25%,rgba(6,16,22,.25) 53%,rgba(6,16,22,.02) 100%)}body.theme-light .mf-card-description,body.theme-light .mf-card-stats,body.theme-light .mf-benefit small{color:#617c8d}body.theme-light .mf-filter-search,body.theme-light .mf-filter-block select,body.theme-light .mf-check-grid input{background:#e5f1f6;color:#193c4e}body.theme-light .mf-pack-shelf,body.theme-light .mf-lower-strip{background:#f5fbfd}
@media (min-width:1700px){.mf-main{padding-left:22px;padding-right:22px}.mf-rightbar{padding-left:0;padding-right:22px}.mf-mod-grid{gap:15px}.mf-card-body{padding:11px 12px 12px}.mf-hero{min-height:320px}}
@media (max-width:1450px){:root{--mf-sidebar:224px;--mf-right:260px}.mf-topbar{gap:20px;padding:0 18px}.mf-main{padding-left:13px;padding-right:13px}.mf-rightbar{padding-right:12px}.mf-sidebar{padding-left:13px;padding-right:11px}.mf-mod-grid{gap:10px}.mf-card-body{padding:8px}.mf-card-stats{font-size:8px}.mf-benefit{padding:0 6px;gap:7px}.mf-benefit-icon{width:32px;height:32px}}
@media (max-width:1240px){:root{--mf-right:245px;--mf-sidebar:215px}.mf-mod-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mf-card-body{padding:10px}.mf-hero{min-height:290px}.mf-hero-stat{right:12px;top:12px}.mf-hero-content{max-width:540px}.mf-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 0}.mf-benefit:nth-child(2){border-right:0}.mf-benefit:nth-child(3),.mf-benefit:nth-child(4){padding-top:7px;border-top:1px solid var(--mf-border)}}
@media (max-width:1020px){.mf-layout{grid-template-columns:var(--mf-sidebar) minmax(0,1fr)}.mf-rightbar{display:none}.mf-main{padding-right:16px}.mf-mod-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mf-topbar{grid-template-columns:var(--mf-sidebar) minmax(120px,1fr) auto}.mf-user{min-width:0}.mf-user>span:nth-child(2){display:none}.mf-chevron{display:none}}
@media (max-width:760px){.mf-topbar{height:62px;display:flex;gap:10px;padding:0 12px}.mf-brand{width:auto;flex:0 0 auto}.mf-brand__mark,.mf-brand__mark img{width:33px;height:34px}.mf-brand__text strong{font-size:15px}.mf-brand__text small{display:none}.mf-top-search{height:36px;flex:1;min-width:0;padding:0 8px;gap:5px}.mf-top-search kbd{display:none}.mf-search-icon{font-size:22px}.mf-top-actions{gap:2px}.mf-top-actions .mf-icon-button{display:none}.mf-user{border:0;background:transparent;padding:0;width:34px;height:36px}.mf-user img{width:32px;height:32px}.mf-mobile-toggle{display:block;flex:0 0 37px;width:37px;height:36px}.mf-layout{display:block}.mf-sidebar{position:fixed;z-index:100;top:62px;bottom:0;left:0;width:min(290px,86vw);height:auto;min-height:0;transform:translateX(-105%);transition:transform .25s ease;box-shadow:14px 0 45px rgba(0,0,0,.35);padding-bottom:22px}.mf-sidebar.is-open{transform:translateX(0)}body.mf-menu-open:after{content:'';position:fixed;z-index:90;inset:62px 0 0;background:rgba(0,0,0,.52);backdrop-filter:blur(2px)}.mf-main{padding:12px 12px 0}.mf-hero{min-height:310px;margin-bottom:12px}.mf-hero-bg{background-position:58% center}.mf-hero-shade{background:linear-gradient(90deg,rgba(3,12,17,.97),rgba(4,14,21,.8) 48%,rgba(6,16,22,.23)),linear-gradient(0deg,rgba(3,12,17,.55),transparent 45%)}.mf-hero-content{padding:22px 16px 16px;max-width:100%}.mf-hero h1{font-size:clamp(29px,8vw,39px)}.mf-hero p{font-size:11px;max-width:370px}.desktop-only{display:none}.mf-hero-stat{display:none}.mf-hero-pager{right:10px;bottom:9px}.mf-popular-tags{max-width:100%;padding-right:54px}.mf-benefits{margin-bottom:17px;padding:10px 6px}.mf-benefit{padding:0 6px;gap:7px}.mf-benefit-icon{width:30px;height:30px;font-size:18px}.mf-benefit b{font-size:9px}.mf-benefit small{font-size:8px}.mf-section-heading h2{font-size:16px}.mf-section-heading p{display:none}.mf-mod-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mf-card-body{padding:8px}.mf-card-title-row h3{font-size:11px}.mf-card-description{font-size:8.5px}.mf-card-tags{gap:3px}.mf-mini-tag{font-size:7.5px}.mf-card-stats{font-size:7.7px;gap:4px}.mf-card-actions{gap:5px}.mf-card-install{font-size:9px}.mf-card-like{width:29px;flex-basis:29px}.mf-pack-shelf{grid-template-columns:1fr;padding:9px;margin-top:14px}.mf-pack-feature{min-height:180px}.mf-pack-list{grid-template-columns:repeat(4,minmax(0,1fr))}.mf-pack-card b{font-size:8px;padding-left:5px;padding-right:5px}.mf-pack-card small{font-size:7px;padding-left:5px;padding-right:5px}.mf-lower-strip{align-items:flex-start;flex-direction:column}.mf-lower-strip>a{padding-left:44px}.mf-footer{flex-wrap:wrap}.mf-footer nav{order:3;flex:1 0 100%;justify-content:flex-start;gap:12px}.mf-copyright{font-size:8px}.mf-full-layout{grid-template-columns:1fr}.mf-full-side{display:none}}
@media (max-width:420px){.mf-brand__text{display:none}.mf-topbar{gap:7px}.mf-top-search input{font-size:10px}.mf-hero{min-height:330px}.mf-hero-search{gap:5px}.mf-popular-tags button{padding:5px 7px}.mf-benefits{grid-template-columns:1fr 1fr;gap:8px 0}.mf-benefit{min-height:34px}.mf-benefit:nth-child(odd){border-right:1px solid var(--mf-border)}.mf-benefit:nth-child(even){border-right:0}.mf-benefit:nth-child(3),.mf-benefit:nth-child(4){padding-top:6px}.mf-mod-grid{gap:8px}.mf-card-body{padding:7px}.mf-card-stats span:nth-child(3){display:none}.mf-card-install{min-height:29px}.mf-card-like{display:none}.mf-card-label{left:5px;top:5px;font-size:7px;padding:4px 5px}.mf-card-bookmark{top:5px;right:5px;width:24px;height:24px}.mf-pack-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mf-pack-card img{aspect-ratio:1.7/1}.mf-pack-card b{font-size:9px}.mf-pack-card small{font-size:8px}.mf-tabs button{padding:5px 9px;font-size:9px}.mf-download-box{align-items:flex-start;flex-direction:column}.mf-download-box .mf-button{width:100%}.mf-full-heading{padding:25px 16px}.mf-full-hero{min-height:230px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}


/* ModKlad 1.0.2 hotfix: keep the top bar in normal document flow and isolate DLE {login}. */
.mf-app{display:flex;flex-direction:column;min-width:0}
.mf-topbar{position:sticky;top:0;z-index:500;flex:0 0 70px;width:100%;min-width:0;margin:0;transform:none}
.mf-layout{flex:1 0 auto;width:100%;min-width:0;position:relative}
.mf-top-actions{min-width:0}
.mf-auth{position:relative;flex:0 0 auto;min-width:0}
.mf-user{appearance:none;-webkit-appearance:none;cursor:pointer;color:var(--mf-text);font-family:inherit;text-align:left;width:100%;border:1px solid var(--mf-border);}
.mf-auth-popover{display:none;position:absolute;top:calc(100% + 10px);right:0;z-index:1000;width:min(380px,calc(100vw - 28px));max-height:min(78vh,640px);overflow:auto;padding:14px;border:1px solid rgba(104,160,190,.24);border-radius:15px;background:linear-gradient(145deg,#0d1c2a,#07121d);box-shadow:0 24px 70px rgba(0,0,0,.52);}
.mf-auth.is-open .mf-auth-popover{display:block}
.mf-login-form{display:flex;flex-direction:column;gap:11px;width:100%;max-width:none;margin:0;padding:0;color:var(--mf-text)}
.mf-login-title{display:flex;flex-direction:column;gap:3px;margin:0 0 2px}
.mf-login-title b{font-size:15px;color:#f3f8ff}.mf-login-title small{font-size:10px;color:#91a7bc}
.mf-login-form>label{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;color:#a4bbcd;font-size:11px}
.mf-login-form>label input{display:block;width:100%;max-width:none;height:39px;margin:0;padding:0 11px;border:1px solid rgba(119,164,196,.24);border-radius:8px;background:#091522;color:#f2f8ff;box-shadow:none}
.mf-login-form input[type=checkbox]{width:14px;height:14px;accent-color:var(--mf-green)}
.mf-login-options{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;font-size:10px;color:#8ea5ba}
.mf-login-options label{display:flex;align-items:center;gap:6px}
.mf-login-options a,.mf-login-register{color:#66f2a5}
.mf-login-form .mf-button{width:100%;min-height:39px;border:0}
.mf-login-register{display:block;text-align:center;font-size:11px;padding:3px}
.mf-logged-user{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.mf-logged-head{display:flex;align-items:center;gap:10px;padding:2px 2px 10px;border-bottom:1px solid var(--mf-border);margin-bottom:4px}
.mf-logged-head img{width:42px;height:42px;object-fit:cover;border-radius:10px}
.mf-logged-head span{display:flex;flex-direction:column;gap:3px;min-width:0}
.mf-logged-head small{color:#83a0b8;font-size:10px}
.mf-logged-user>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:8px;color:#c4d6e5;font-size:12px}
.mf-logged-user>a:hover{background:rgba(66,232,145,.09);color:var(--mf-green-bright)}
.mf-full-tags span{max-width:100%}
@media(max-width:760px){.mf-topbar{flex-basis:62px;height:62px}.mf-auth-popover{top:calc(100% + 8px);right:-44px}.mf-user-label{display:none}.mf-auth .mf-user{min-width:34px;padding:2px;background:transparent;border:0}.mf-auth .mf-user img{width:32px;height:32px}.mf-auth .mf-chevron{display:none}}

.mf-full-image{background-image:url('../images/mod-create.webp');background-position:center;background-size:cover}

/* ModKlad 1.0.3 layout fix: remove the capped centered column that caused large empty gutters. */
.mf-main-inner{width:100%;max-width:none;margin:0}


/* ModKlad 1.0.4: screenshots gallery and DLE comments */
.mf-screenshots{margin-top:16px;padding:16px;border:1px solid var(--mf-border);border-radius:14px;background:linear-gradient(145deg,rgba(10,25,37,.98),rgba(6,17,27,.98));min-width:0}
.mf-screenshots-heading,.mf-comments-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.mf-screenshots-heading>div,.mf-comments-heading>div{display:flex;align-items:center;gap:10px;min-width:0}
.mf-screenshots-heading h2,.mf-comments-heading h2{margin:0;color:var(--mf-text);font-size:16px;line-height:1.25}
.mf-screenshots-heading p,.mf-comments-heading p{margin:3px 0 0;color:var(--mf-muted);font-size:10px}
.mf-section-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:10px;background:rgba(66,232,145,.1);color:var(--mf-green);font-size:19px}
.mf-screenshots-count{flex:0 0 auto;padding:5px 8px;border:1px solid var(--mf-border);border-radius:7px;background:rgba(14,35,49,.72);color:var(--mf-muted);font-size:9px}
.mf-screenshot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mf-screenshot-card{min-width:0;margin:0;overflow:hidden;border:1px solid var(--mf-border);border-radius:11px;background:#081521}
.mf-screenshot-picture{position:relative;isolation:isolate;aspect-ratio:16/9;overflow:hidden;background:#0c1f2d}
.mf-screenshot-fallback,.mf-screenshot-real,.mf-screenshot-real img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mf-screenshot-fallback{z-index:0;opacity:.9;transition:transform .3s ease}
.mf-screenshot-real{z-index:1;display:block;background:#0c1f2d}
.mf-screenshot-real img{display:block;transition:transform .35s ease}
.mf-screenshot-card:hover .mf-screenshot-real img,.mf-screenshot-card:hover .mf-screenshot-fallback{transform:scale(1.035)}
.mf-screenshot-number{position:absolute;z-index:3;left:9px;top:9px;padding:4px 7px;border:1px solid rgba(255,255,255,.18);border-radius:6px;background:rgba(4,12,18,.8);color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em;backdrop-filter:blur(8px)}
.mf-screenshot-card figcaption{display:flex;flex-direction:column;gap:3px;padding:10px 11px}
.mf-screenshot-card figcaption b{font-size:11px;color:var(--mf-text)}
.mf-screenshot-card figcaption span{font-size:9px;color:var(--mf-muted)}
.mf-screenshots-note{margin:11px 0 0;color:var(--mf-muted-2);font-size:9px;line-height:1.5}
.mf-comments{margin-top:20px;min-width:0;scroll-margin-top:85px}
.mf-comments-heading{justify-content:flex-start;margin-bottom:12px}
.mf-comments-counter{display:inline-grid;place-items:center;min-width:23px;height:21px;margin-left:5px;padding:0 6px;border:1px solid var(--mf-border);border-radius:7px;background:#102536;color:var(--mf-green);font-size:10px;vertical-align:2px}
.mf-comments-empty{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:14px;border:1px dashed rgba(119,164,196,.24);border-radius:11px;background:rgba(9,23,35,.62)}
.mf-comments-empty-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:rgba(66,232,145,.1);color:var(--mf-green);font-size:20px}
.mf-comments-empty b{font-size:11px;color:var(--mf-text)}
.mf-comments-empty p{margin:3px 0 0;color:var(--mf-muted);font-size:10px;line-height:1.55}
.mf-comments-list{display:grid;gap:9px;min-width:0}
.mf-comments-list:empty{display:none}
.mf-comments .navigation,.mf-comments-list .navigation{margin:12px 0}
.mf-comment{align-items:flex-start;gap:11px;padding:13px;border:1px solid var(--mf-border);border-radius:11px;background:linear-gradient(140deg,#0b1a27,#081521);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.mf-comment-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--mf-border);border-radius:11px;background:#102538;color:var(--mf-green);overflow:hidden}
.mf-comment-avatar img{width:100%;height:100%;object-fit:cover}
.mf-comment-main{flex:1;min-width:0}
.mf-comment-head{gap:8px}
.mf-comment-head b{font-size:11px;color:var(--mf-text)}
.mf-comment-head time{margin-right:auto;color:var(--mf-muted-2);font-size:9px}
.mf-comment-text{color:#c1d0de;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.mf-comment-text img{max-width:100%;height:auto;border-radius:7px}
.mf-comment-controls{display:flex;gap:10px;flex-wrap:wrap}
.mf-comment-controls a{color:var(--mf-green)}
.mf-comment-form-wrap{margin-top:12px;min-width:0}
.mf-add-comment{padding:16px;border:1px solid rgba(66,232,145,.2);border-radius:13px;background:linear-gradient(145deg,rgba(10,28,36,.98),rgba(7,18,28,.98));min-width:0}
.mf-add-comment-heading h3{margin:0;color:var(--mf-text);font-size:14px}
.mf-add-comment-heading p{margin:4px 0 13px;color:var(--mf-muted);font-size:10px}
.mf-add-comment-fields{min-width:0}
.mf-add-comment-fields textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:135px;padding:11px 12px;border:1px solid var(--mf-border-strong);border-radius:9px;background:#071522;color:var(--mf-text);line-height:1.6;resize:vertical}
.mf-add-comment-fields input[type=text],.mf-add-comment-fields input[type=email]{box-sizing:border-box;max-width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--mf-border-strong);border-radius:7px;background:#071522;color:var(--mf-text);font-size:11px}
.mf-add-comment-fields textarea:focus,.mf-add-comment-fields input:focus{border-color:rgba(66,232,145,.55);outline:2px solid rgba(66,232,145,.1)}
.mf-add-comment-fields .bb-editor,.mf-add-comment-fields .wysibb,.mf-add-comment-fields .editor{max-width:100%;min-width:0}
.mf-add-comment-fields iframe{max-width:100%}
.mf-comment-sec-code{margin-top:12px;color:var(--mf-muted);font-size:10px}
.mf-comment-sec-code-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:6px}
.mf-comment-sec-code-row img{max-width:170px;height:auto;border-radius:6px}
.mf-comment-sec-code-row input{min-width:150px;min-height:36px;padding:0 10px;border:1px solid var(--mf-border);border-radius:8px;background:#071522;color:var(--mf-text)}
.mf-add-comment-question{margin-top:10px}
.mf-add-comment-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px}
.mf-comment-form-hint{color:var(--mf-muted-2);font-size:9px}
.mf-add-comment-submit .mf-button{min-height:38px;padding:0 14px}
.mf-comments .mf-button{border:0}
@media(max-width:760px){.mf-screenshots{padding:12px}.mf-screenshot-grid{gap:8px}.mf-screenshot-card figcaption{padding:8px}.mf-screenshot-card figcaption b{font-size:9px}.mf-screenshot-card figcaption span{font-size:8px}.mf-screenshots-heading h2,.mf-comments-heading h2{font-size:14px}.mf-screenshot-number{left:6px;top:6px}.mf-add-comment{padding:12px}}
@media(max-width:480px){.mf-screenshot-grid{grid-template-columns:1fr}.mf-screenshot-picture{aspect-ratio:16/8.5}.mf-screenshot-card figcaption{padding:9px 10px}.mf-screenshot-card figcaption b{font-size:10px}.mf-screenshots-count{display:none}.mf-comments-empty{align-items:flex-start;padding:11px}}


/* ModKlad 1.0.5: compact three-shot gallery directly below the mod information card */
.mf-full-layout{grid-template-columns:minmax(0,1fr) 238px;gap:14px;align-items:start}
.mf-full-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.mf-full-side .mf-mod-info{width:100%;min-width:0}
.mf-side-gallery{width:100%;min-width:0;min-height:215px;padding:12px;border:1px solid var(--mf-border);border-radius:13px;background:linear-gradient(145deg,rgba(10,26,38,.98),rgba(6,17,27,.98));box-shadow:0 8px 24px rgba(0,0,0,.12);overflow:hidden}
.mf-side-gallery-heading{display:flex;align-items:center;gap:9px;margin:0 0 10px;min-width:0}
.mf-side-gallery-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(66,232,145,.16);border-radius:9px;background:rgba(66,232,145,.09);color:var(--mf-green);font-size:18px}
.mf-side-gallery-heading>div{min-width:0}
.mf-side-gallery-heading h3{margin:0 0 2px!important;font-size:12px!important;line-height:1.25;color:var(--mf-text)}
.mf-side-gallery-heading p{margin:0;color:var(--mf-muted);font-size:9px;line-height:1.3}
.mf-side-gallery-list{display:grid;gap:7px;min-width:0}
.mf-side-shot{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:50px;margin:0;padding:5px;border:1px solid rgba(119,164,196,.13);border-radius:9px;background:rgba(12,29,43,.74);transition:border-color .18s,background .18s}
.mf-side-shot:hover{border-color:rgba(66,232,145,.35);background:rgba(16,42,49,.86)}
.mf-side-shot-media{position:relative;isolation:isolate;width:78px;aspect-ratio:1.95/1;min-width:0;overflow:hidden;border-radius:6px;background:#0a1925}
.mf-side-shot-fallback,.mf-side-shot-real,.mf-side-shot-real img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mf-side-shot-fallback{z-index:0;transition:transform .25s}
.mf-side-shot-real{z-index:1;display:block}
.mf-side-shot-real img{display:block;transition:transform .25s}
.mf-side-shot:hover .mf-side-shot-real img,.mf-side-shot:hover .mf-side-shot-fallback{transform:scale(1.05)}
.mf-side-shot-number{position:absolute;z-index:3;left:4px;bottom:4px;padding:2px 4px;border:1px solid rgba(255,255,255,.15);border-radius:4px;background:rgba(4,12,18,.8);color:#fff;font-size:8px;font-weight:800;line-height:1.2}
.mf-side-shot figcaption{display:flex;flex-direction:column;gap:3px;min-width:0}
.mf-side-shot figcaption b{overflow:hidden;color:var(--mf-text);font-size:9.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.mf-side-shot figcaption span{overflow:hidden;color:var(--mf-muted);font-size:8.5px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
body.theme-light .mf-side-gallery{background:linear-gradient(145deg,#f8fcfd,#eef7f8)}
body.theme-light .mf-side-shot{background:#f0f7fa}
@media(max-width:1100px){.mf-full-layout{grid-template-columns:minmax(0,1fr) 220px}}
@media(max-width:760px){.mf-full-layout{grid-template-columns:minmax(0,1fr)}.mf-full-side{display:flex;flex-direction:column;gap:12px}.mf-side-gallery{min-height:0}.mf-side-shot{grid-template-columns:104px minmax(0,1fr)}.mf-side-shot-media{width:104px;aspect-ratio:16/9}.mf-side-shot figcaption b{font-size:10.5px}.mf-side-shot figcaption span{font-size:9px}}

/* ModKlad 1.0.6 — native XFields layout */
.mf-full-image{overflow:hidden}
.mf-full-image img{display:block;width:100%;height:100%;object-fit:cover}
.mf-full-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.mf-side-gallery-list{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0}
.mf-side-shot{grid-template-columns:78px minmax(0,1fr)}
.mf-side-shot-real img{display:block}
.mf-download-action{display:flex;align-items:center;justify-content:flex-end;max-width:100%;min-width:0;color:var(--mf-text);font-size:11px;overflow-wrap:anywhere}
.mf-download-action a,
.mf-download-action .download-link,
.mf-download-action .attachment-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:34px;padding:8px 13px;border:1px solid rgba(66,232,145,.18);border-radius:8px;background:linear-gradient(135deg,#39d98a,#5af5ae);color:#042014!important;font-weight:800;text-decoration:none!important;overflow-wrap:anywhere}
.mf-download-action a:hover{filter:brightness(1.06);transform:translateY(-1px)}
.mf-download-box--empty{border-color:rgba(119,164,196,.14);background:rgba(12,29,43,.55)}
.mf-download-box--empty .mf-download-icon{background:rgba(119,164,196,.10);color:#9bb2c6}
@media(max-width:760px){
  .mf-full-layout{grid-template-columns:minmax(0,1fr)}
  .mf-full-side{display:grid;grid-template-columns:minmax(0,1fr);align-content:start}
  .mf-side-gallery-list{grid-template-columns:minmax(0,1fr)}
  .mf-download-box{align-items:flex-start;flex-direction:column}
  .mf-download-action{justify-content:flex-start;width:100%}
}


/* ModKlad 1.0.7 — compact real download button and screenshot lightbox carousel */
.mf-download-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 1 auto;min-width:0;max-width:100%;min-height:39px;margin-left:auto;padding:8px 14px;border:1px solid rgba(66,232,145,.24);border-radius:9px;background:linear-gradient(135deg,#35d987,#5af5ae);color:#052116!important;font-size:11px;font-weight:800;text-decoration:none!important;white-space:nowrap;box-shadow:0 5px 18px rgba(33,215,126,.08);transition:filter .18s,transform .18s}
.mf-download-link:hover{filter:brightness(1.07);transform:translateY(-1px)}
.mf-download-link-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:rgba(2,49,29,.12);font-size:17px;line-height:1}
.mf-download-link-label{overflow:hidden;text-overflow:ellipsis}
.mf-download-link-arrow{font-size:13px;opacity:.75}
.mf-side-shot-real{cursor:zoom-in}
.mf-lightbox{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(2,8,14,.91);backdrop-filter:blur(12px)}
.mf-lightbox.is-open{display:flex}
.mf-lightbox-dialog{position:relative;display:flex;flex-direction:column;width:min(1100px,94vw);max-height:92vh;padding:15px;border:1px solid rgba(125,161,190,.25);border-radius:16px;background:linear-gradient(145deg,#0b1b2a,#06111b);box-shadow:0 25px 90px rgba(0,0,0,.5)}
.mf-lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 46px 12px 4px;color:#d9e8f4;font-size:12px}
.mf-lightbox-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mf-lightbox-count{flex:none;color:#7eeeb2;font-variant-numeric:tabular-nums}
.mf-lightbox-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:120px;overflow:hidden;border-radius:10px;background:#02070d}
.mf-lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(92vh - 110px);object-fit:contain}
.mf-lightbox-button{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(185,211,232,.25);border-radius:12px;background:rgba(10,28,43,.9);color:#eef7fd;font-size:22px;line-height:1;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.mf-lightbox-button:hover{border-color:rgba(66,232,145,.6);background:rgba(17,54,48,.95);transform:translateY(-1px)}
.mf-lightbox-close{position:absolute;top:12px;right:12px;z-index:3;width:36px;height:36px;font-size:20px}
.mf-lightbox-prev,.mf-lightbox-next{position:absolute;top:50%;z-index:2;transform:translateY(-50%)}
.mf-lightbox-prev:hover,.mf-lightbox-next:hover{transform:translateY(calc(-50% - 1px))}
.mf-lightbox-prev{left:12px}.mf-lightbox-next{right:12px}
.mf-lightbox-button:disabled{opacity:.35;cursor:default;transform:none}
body.mf-lightbox-open{overflow:hidden}
body.theme-light .mf-lightbox-dialog{background:linear-gradient(145deg,#f8fcff,#eaf3f8)}
body.theme-light .mf-lightbox-top{color:#193248}
@media(max-width:760px){.mf-download-link{width:100%;margin-left:0}.mf-lightbox{padding:10px}.mf-lightbox-dialog{width:100%;max-height:94vh;padding:9px;border-radius:12px}.mf-lightbox-image{max-height:calc(94vh - 95px)}.mf-lightbox-prev{left:7px}.mf-lightbox-next{right:7px}.mf-lightbox-button{width:36px;height:36px}.mf-lightbox-close{top:8px;right:8px}}

/* ModKlad 1.0.8 — version-aware download variants driven by DLE 21 dynamic XFields */
.mf-download-manager{display:grid;gap:13px;margin-top:20px;padding:15px;border:1px solid rgba(66,232,145,.2);border-radius:13px;background:linear-gradient(145deg,rgba(10,29,38,.98),rgba(7,18,28,.98));min-width:0;overflow:hidden}
.mf-download-manager [hidden]{display:none!important}
.mf-download-manager-heading,.mf-download-manager-heading>div{display:flex;align-items:center;gap:11px;min-width:0}
.mf-download-manager-heading{justify-content:space-between}
.mf-download-manager-heading>div{flex:1}
.mf-download-manager-heading h2{margin:0;color:var(--mf-text);font-size:14px;line-height:1.3}
.mf-download-manager-heading p{margin:4px 0 0;color:var(--mf-muted);font-size:10px;line-height:1.5}
.mf-download-manager-count{flex:0 0 auto;padding:5px 8px;border:1px solid rgba(66,232,145,.17);border-radius:7px;background:rgba(66,232,145,.07);color:var(--mf-green);font-size:9px;font-weight:800;white-space:nowrap}
.mf-download-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mf-download-select{display:grid;gap:6px;min-width:0;color:var(--mf-muted);font-size:10px;font-weight:700}
.mf-download-select select{display:block;width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#0b1c2a;color:var(--mf-text);font:inherit;font-size:11px;outline:none}
.mf-download-select select:focus{border-color:rgba(66,232,145,.62);box-shadow:0 0 0 3px rgba(66,232,145,.08)}
.mf-download-build-list{display:grid;gap:8px;min-width:0}
.mf-build-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px;border:1px solid var(--mf-border);border-radius:10px;background:linear-gradient(125deg,rgba(18,39,55,.82),rgba(10,23,35,.82));transition:border-color .18s,background .18s}
.mf-build-option:hover{border-color:rgba(66,232,145,.34);background:linear-gradient(125deg,rgba(19,48,57,.9),rgba(10,26,38,.9))}
.mf-build-option[hidden]{display:none!important}
.mf-build-option-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.mf-build-option-icon{display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px;border-radius:9px;background:rgba(66,232,145,.1);color:var(--mf-green);font-size:19px;font-weight:800}
.mf-build-option-copy{display:grid;gap:4px;min-width:0}
.mf-build-option-copy strong{color:var(--mf-text);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.mf-build-option-meta{color:var(--mf-muted);font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.mf-build-download{flex:0 0 auto;margin-left:0;min-height:35px;padding:6px 10px;font-size:10px}
.mf-build-download .mf-download-link-icon{width:18px;height:18px;font-size:14px}
.mf-download-no-results,.mf-download-empty{display:grid;gap:4px;padding:14px;border:1px dashed rgba(119,164,196,.25);border-radius:9px;background:rgba(9,23,35,.55)}
.mf-download-no-results b,.mf-download-empty b{color:var(--mf-text);font-size:11px}
.mf-download-no-results span,.mf-download-empty span{color:var(--mf-muted);font-size:10px;line-height:1.5}
.mf-download-legacy{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:11px;border:1px solid rgba(66,232,145,.19);border-radius:10px;background:rgba(14,43,36,.4)}
.mf-download-legacy>div{display:flex;align-items:center;gap:10px;min-width:0}
.mf-download-legacy>div>div{display:grid;gap:3px;min-width:0}
.mf-download-legacy b{color:var(--mf-text);font-size:11px}
.mf-download-legacy small{color:var(--mf-muted);font-size:9px;line-height:1.4}
.mf-download-legacy .mf-download-link{flex:0 0 auto}
@media(max-width:760px){.mf-download-manager{padding:12px}.mf-download-controls{gap:8px}.mf-build-option{gap:8px;padding:8px}.mf-build-download{padding:6px 8px}}
@media(max-width:480px){.mf-download-controls{grid-template-columns:1fr}.mf-build-option{align-items:flex-start;flex-direction:column}.mf-build-download,.mf-download-legacy .mf-download-link{width:100%}.mf-download-legacy{align-items:stretch;flex-direction:column}.mf-download-legacy>div{align-items:flex-start}}
/* DLE attachment XFields render their own anchor: style that anchor instead of nesting an href. */
.mf-file-output{display:flex;align-items:center;justify-content:flex-end;min-width:0;max-width:100%}
.mf-file-output a{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;max-width:100%;min-height:35px;padding:7px 11px;border:1px solid rgba(66,232,145,.24);border-radius:9px;background:linear-gradient(135deg,#35d987,#5af5ae);color:#052116!important;font-size:0;line-height:1.2;font-weight:800;text-decoration:none!important;overflow-wrap:anywhere;box-shadow:0 5px 18px rgba(33,215,126,.08);transition:filter .18s,transform .18s}
.mf-file-output a::after{content:'Скачать';font-size:10px}
.mf-file-output a:hover{filter:brightness(1.07);transform:translateY(-1px)}
.mf-file-output.is-enhanced a{font-size:10px}
.mf-file-output.is-enhanced a::after{content:none}
.mf-file-output.is-enhanced .mf-download-link-icon{display:grid;place-items:center;width:18px;height:18px;border-radius:6px;background:rgba(2,49,29,.12);font-size:14px;line-height:1}
.mf-file-output.is-enhanced .mf-download-link-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mf-file-output.is-enhanced .mf-download-link-arrow{font-size:12px;opacity:.75}
.mf-build-file-output{flex:0 0 auto}
.mf-legacy-file-output{flex:0 1 auto;max-width:100%}
@media(max-width:760px){.mf-file-output{justify-content:flex-start;width:100%}.mf-file-output a{width:100%}.mf-download-legacy .mf-legacy-file-output{width:100%}}


/* ModKlad 1.0.9 — gallery-first sidebar, larger full-width previews, no screenshot labels */
.mf-full-side{gap:12px;min-width:0}
.mf-full-side .mf-mod-info{display:none!important}
.mf-full-side .mf-side-gallery{width:100%;min-height:0;margin-top:0;padding:12px}
.mf-side-gallery-heading{margin-bottom:12px}
.mf-side-gallery-heading p{font-size:9px;line-height:1.4}
.mf-side-gallery-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0}
.mf-side-shot{display:block;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;border:1px solid rgba(119,164,196,.18);border-radius:10px;background:rgba(12,29,43,.74)}
.mf-side-shot-media{position:relative;isolation:isolate;width:100%;aspect-ratio:16/9;min-width:0;overflow:hidden;border-radius:0;background:#071522}
.mf-side-shot-real{position:absolute;inset:0;display:block;width:100%;height:100%;cursor:zoom-in}
.mf-side-shot-real img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.mf-side-shot:hover .mf-side-shot-real img{transform:scale(1.04)}
.mf-side-shot-number,.mf-side-shot figcaption{display:none!important}
@media(max-width:760px){.mf-side-gallery-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mf-side-shot-media{aspect-ratio:16/10}}
@media(max-width:480px){.mf-side-gallery-list{grid-template-columns:minmax(0,1fr)}.mf-side-shot-media{aspect-ratio:16/9}}

/* XFields metadata used by shortstory.tpl */
.mf-card-byline{display:flex;align-items:center;min-width:0;margin:1px 0 6px;color:#829bb1;font-size:8.7px;line-height:1.35}.mf-card-byline>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mf-mini-tag--version{border-color:rgba(92,168,255,.2);color:#9bcaff}.mf-mini-tag--build{border-color:rgba(66,232,145,.2);color:#7cebb2}.mf-mini-tag--screenshots{border-color:rgba(127,175,255,.18);color:#a6c7ff}.mf-mini-tag--file{border-color:rgba(66,232,145,.2);color:#78e7a8}

/* ModKlad 1.0.11 — cleaner shortstory cards: remove author/date/screenshots; show build compatibility clearly. */
.mf-card-compatibility{margin:8px 0 9px;padding:8px;border:1px solid rgba(66,232,145,.16);border-radius:8px;background:linear-gradient(135deg,rgba(20,54,47,.45),rgba(12,27,39,.78));min-width:0}
.mf-card-compatibility__heading{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 0 6px;color:#b8cbd9;font-size:8.5px;font-weight:750;letter-spacing:.01em}
.mf-card-compatibility__count{padding:2px 5px;border:1px solid rgba(66,232,145,.19);border-radius:4px;color:#65eda6;font-size:7px;font-weight:700;white-space:nowrap}
.mf-card-compatibility__list{display:flex;flex-direction:column;gap:4px;min-width:0}
.mf-card-compatibility__item{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:5px 6px;border:1px solid rgba(113,157,188,.1);border-radius:5px;background:rgba(7,18,29,.5)}
.mf-card-compatibility__versions{min-width:0;color:#dceaf5;font-size:8.2px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.mf-card-compatibility__loader{flex:0 0 auto;max-width:48%;padding:3px 5px;border:1px solid rgba(66,232,145,.17);border-radius:4px;background:rgba(39,180,112,.08);color:#73ecaa;font-size:7.6px;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.mf-card-stats--compact{justify-content:flex-start;margin:7px 0 9px}
.mf-card-stats--compact span{width:auto;max-width:100%}


/* ModKlad 1.0.12 — DLE login, registration, search and profile templates */
.mf-auth{position:relative;flex:0 0 auto}
.mf-auth-popover{z-index:1200}
.mf-login-panel{display:grid;gap:13px;color:var(--mf-text);min-width:0}
.mf-login-title{display:grid;gap:5px;padding-bottom:12px;border-bottom:1px solid rgba(111,156,187,.16)}
.mf-login-kicker{width:max-content;max-width:100%;padding:4px 7px;border:1px solid rgba(66,232,145,.23);border-radius:5px;background:rgba(66,232,145,.08);color:var(--mf-green);font-size:8px;font-weight:800;letter-spacing:.09em}
.mf-login-title>b{font-size:18px;line-height:1.2;color:#f3f8ff}
.mf-login-title>small{font-size:10px;line-height:1.5;color:#94aabd}
.mf-login-form{gap:12px}
.mf-login-form>label>span{font-size:10px;color:#a4bbcd;font-weight:650}
.mf-login-form>label input{width:100%;box-sizing:border-box;height:39px;padding:0 11px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#091827;color:#ecf7ff;font:inherit;font-size:12px;outline:none;transition:border-color .18s,box-shadow .18s}
.mf-login-form>label input:focus{border-color:rgba(66,232,145,.65);box-shadow:0 0 0 3px rgba(66,232,145,.08)}
.mf-login-options{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.mf-login-options>a,.mf-login-register-row a{color:#67e9a5;font-size:10px;text-decoration:none}
.mf-login-options>a:hover,.mf-login-register-row a:hover{color:#b4ffd6}
.mf-login-remember{display:flex;align-items:center;gap:6px;color:#91a8bd;font-size:9px}
.mf-login-remember input{accent-color:#39e996}
.mf-login-submit{width:100%;justify-content:center;min-height:39px}
.mf-login-separator{display:flex;align-items:center;gap:9px;color:#7890a6;font-size:9px}
.mf-login-separator:before,.mf-login-separator:after{content:"";height:1px;flex:1;background:rgba(111,156,187,.15)}
.mf-login-socials{display:flex;flex-wrap:wrap;gap:7px}
.mf-login-social{display:grid;place-items:center;flex:1 1 38px;min-width:38px;height:34px;border:1px solid rgba(113,157,188,.2);border-radius:8px;background:rgba(19,39,55,.72);color:#e0effa;font-size:11px;font-weight:800;text-decoration:none;transition:border-color .18s,background .18s,transform .18s}
.mf-login-social:hover{border-color:rgba(66,232,145,.35);background:rgba(27,69,58,.72);color:#fff;transform:translateY(-1px)}
.mf-login-register-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:11px;border-top:1px solid rgba(111,156,187,.15);font-size:10px;color:#8ca2b6}
.mf-login-register-row a{font-weight:800;white-space:nowrap}
.mf-logged-user{display:grid;gap:7px;min-width:0;color:var(--mf-text)}
.mf-logged-head{display:flex;align-items:center;gap:10px;padding:3px 2px 12px;border-bottom:1px solid rgba(111,156,187,.15);min-width:0}
.mf-logged-head>img{width:44px;height:44px;flex:0 0 44px;border:1px solid rgba(66,232,145,.26);border-radius:11px;object-fit:cover;background:#0b1d2b}
.mf-logged-head>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}
.mf-logged-head b{overflow:hidden;color:#f0f7fd;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.mf-logged-head small{color:#7f98ae;font-size:9px}
.mf-logged-status{width:8px;height:8px;border-radius:50%;background:#3be892;box-shadow:0 0 0 4px rgba(59,232,146,.1)}
.mf-login-menu-link{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 8px;border:1px solid transparent;border-radius:9px;color:#bed0df;text-decoration:none;transition:background .18s,border-color .18s}
.mf-login-menu-link:hover{border-color:rgba(66,232,145,.16);background:rgba(25,55,68,.55);color:#fff}
.mf-login-menu-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:rgba(66,232,145,.08);color:#63e9a4;font-size:16px}
.mf-login-menu-link>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.mf-login-menu-link b{font-size:10px;font-weight:750}
.mf-login-menu-link small{color:#8198ad;font-size:9px;line-height:1.35}
.mf-login-menu-link>i{color:#7590a6;font-style:normal;font-size:13px}
.mf-login-menu-profile{background:rgba(66,232,145,.055);border-color:rgba(66,232,145,.15)}
.mf-logged-footer{margin-top:5px;padding-top:9px;border-top:1px solid rgba(111,156,187,.15)}
.mf-logged-footer a{display:flex;justify-content:space-between;align-items:center;padding:7px 5px;color:#f5a5a5;font-size:10px;text-decoration:none}
.mf-logged-footer a:hover{color:#ffc4c4}
.mf-user{cursor:pointer}
.mf-user:focus-visible,.mf-login-form a:focus-visible,.mf-login-form button:focus-visible{outline:2px solid #4beaa0;outline-offset:3px}

/* Registration page */
.mf-account-page{width:100%;max-width:100%;min-width:0;margin:0 0 22px;color:var(--mf-text)}
.mf-account-page-head{margin:0 0 16px;padding:22px 24px;border:1px solid var(--mf-border);border-radius:14px;background:radial-gradient(ellipse at 88% 0,rgba(52,224,143,.08),transparent 42%),linear-gradient(145deg,#0c1b29,#08131e)}
.mf-account-page-head .mf-eyebrow{display:flex;align-items:center;gap:7px;color:#a9c0d1;font-size:9px;font-weight:800;letter-spacing:.1em}
.mf-account-page-head .mf-eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--mf-green);box-shadow:0 0 12px rgba(66,232,145,.65)}
.mf-account-page-head h1{margin:10px 0 7px;color:#f0f7fe;font-size:clamp(22px,3vw,30px);line-height:1.12;letter-spacing:-.035em}
.mf-account-page-head p{max-width:700px;margin:0;color:#9db2c4;font-size:11px;line-height:1.65}
.mf-account-card{min-width:0;padding:18px;border:1px solid var(--mf-border);border-radius:13px;background:linear-gradient(145deg,rgba(11,26,39,.98),rgba(8,19,29,.98));color:var(--mf-text)}
.mf-account-card-heading{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:16px}
.mf-account-card-icon{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border:1px solid rgba(66,232,145,.16);border-radius:10px;background:rgba(66,232,145,.09);color:var(--mf-green);font-size:18px}
.mf-account-card-heading>div{min-width:0}
.mf-account-card-heading h2{margin:0;color:#eff7ff;font-size:14px;line-height:1.3}
.mf-account-card-heading p{margin:4px 0 0;color:#8da5ba;font-size:10px;line-height:1.45}
.mf-form-notice{margin:0 0 15px;padding:10px 12px;border:1px solid rgba(100,166,207,.14);border-radius:8px;background:rgba(23,48,66,.38);color:#a8bdcf;font-size:10px;line-height:1.5}
.mf-form-notice a,.mf-form-legal a{color:#66e8a5;text-decoration:none}
.mf-form-notice a:hover,.mf-form-legal a:hover{text-decoration:underline}
.mf-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px;margin:0;padding:0;list-style:none}
.mf-form-field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;padding:0;color:#b6c8d8;font-size:10px;line-height:1.4}
.mf-form-field>label,.mf-form-field>label:first-child{color:#b9cbd9;font-size:10px;font-weight:750}
.mf-form-field em{color:#5bf1a3;font-style:normal}
.mf-form-field input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),.mf-form-field textarea,.mf-form-field select{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:39px;padding:10px 11px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#081725;color:#eaf4fc;font:inherit;font-size:12px;outline:none}
.mf-form-field textarea{min-height:95px;resize:vertical}
.mf-form-field input:focus,.mf-form-field textarea:focus,.mf-form-field select:focus{border-color:rgba(66,232,145,.62);box-shadow:0 0 0 3px rgba(66,232,145,.07)}
.mf-form-field input[type=file]{max-width:100%;padding:8px;border:1px dashed var(--mf-border-strong);border-radius:8px;background:#081725;color:#a9becf;font-size:10px}
.mf-form-field small{color:#8199ae;font-size:9px;line-height:1.45}
.mf-reg-login-row{display:flex;gap:8px;min-width:0}
.mf-reg-login-row input{flex:1;min-width:0}
.mf-reg-login-row .mf-button{flex:0 0 auto;min-height:38px;padding:7px 10px;font-size:10px}
.mf-reg-result{color:#85edb7;font-size:10px}
.mf-form-field--captcha{grid-column:1/-1}
.mf-captcha-field{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mf-captcha-field img{max-width:100%;height:auto}
.mf-captcha-field input{flex:1;min-width:150px}
.mf-form-field--xfields{grid-column:1/-1}
.mf-xfields{display:grid;gap:11px;min-width:0}
.mf-xfields>div{display:grid;gap:6px;min-width:0}
.mf-xfields label{color:#a9c0d1;font-size:10px}
.mf-xfields input:not([type=checkbox]):not([type=radio]),.mf-xfields textarea,.mf-xfields select{width:100%;box-sizing:border-box;min-height:38px;padding:8px 10px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#081725;color:#eaf4fc;font:inherit;font-size:12px}
.mf-form-submit{display:flex;justify-content:flex-end;margin-top:17px}
.mf-form-submit .mf-button{min-width:205px;justify-content:center;min-height:41px}
.mf-form-legal{margin-top:12px;color:#7890a5;font-size:9px;line-height:1.5;text-align:right}

/* Full user profile and edit form */
.mf-profile-hero{display:flex;align-items:center;gap:17px;min-width:0;margin-bottom:13px;padding:20px;border:1px solid var(--mf-border);border-radius:14px;background:radial-gradient(ellipse at 90% 0,rgba(66,232,145,.1),transparent 45%),linear-gradient(140deg,#0d1e2d,#07131e)}
.mf-profile-avatar{display:grid;place-items:center;flex:0 0 86px;width:86px;height:86px;padding:3px;border:1px solid rgba(66,232,145,.35);border-radius:23px;background:linear-gradient(145deg,rgba(66,232,145,.24),rgba(91,137,255,.13))}
.mf-profile-avatar img{display:block;width:100%;height:100%;border-radius:19px;object-fit:cover;background:#102235}
.mf-profile-titleblock{flex:1;min-width:0}
.mf-profile-titleblock .mf-eyebrow{display:flex;align-items:center;gap:6px;color:#91aabd;font-size:8px;font-weight:800;letter-spacing:.1em}
.mf-profile-titleblock .mf-eyebrow i{width:5px;height:5px;border-radius:50%;background:var(--mf-green)}
.mf-profile-titleblock h1{margin:8px 0 3px;color:#f2f8ff;font-size:clamp(22px,3vw,29px);line-height:1.1;overflow-wrap:anywhere}
.mf-profile-fullname{margin:0 0 8px;color:#9eb4c7;font-size:11px}
.mf-profile-status{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.mf-status-pill,.mf-online-pill,.mf-offline-pill,.mf-banned-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid rgba(112,154,183,.17);border-radius:6px;background:rgba(15,34,49,.68);color:#9bb2c5;font-size:8px;font-weight:750}
.mf-online-pill{color:#65e9a4;border-color:rgba(66,232,145,.2);background:rgba(66,232,145,.06)}
.mf-online-pill i{width:5px;height:5px;border-radius:50%;background:#42e891}
.mf-banned-pill{color:#ffa8a8;border-color:rgba(255,100,100,.25)}
.mf-profile-time-limit{margin:8px 0 0;color:#a0b4c5;font-size:9px}
.mf-profile-edit-toggle{flex:0 0 auto;max-width:100%}
.mf-profile-edit-toggle a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 10px;border:1px solid rgba(66,232,145,.23);border-radius:8px;background:rgba(66,232,145,.09);color:#69eaa8;font-size:10px;font-weight:800;text-decoration:none}
.mf-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px}
.mf-profile-stat{display:grid;align-content:start;gap:6px;min-width:0;padding:12px;border:1px solid var(--mf-border);border-radius:10px;background:#0a1723}
.mf-profile-stat>span{color:#8da4b8;font-size:9px}
.mf-profile-stat>b{color:#ecf6ff;font-size:17px;font-weight:800;overflow-wrap:anywhere}
.mf-profile-stat>small{color:#7590a6;font-size:8px;line-height:1.35;overflow-wrap:anywhere}
.mf-profile-stat>small a{color:#74e8aa;text-decoration:none}
.mf-profile-stat>small a:hover{text-decoration:underline}
.mf-profile-content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(235px,.85fr);align-items:start;gap:13px}
.mf-profile-about,.mf-profile-actions-card{min-width:0}
.mf-profile-info{color:#b2c5d5;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.mf-profile-info--empty{color:#758ca0}
.mf-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px;padding-top:14px;border-top:1px solid rgba(111,156,187,.13)}
.mf-profile-details>div{display:grid;gap:4px;min-width:0}
.mf-profile-details span,.mf-profile-signature>span{color:#7f98ad;font-size:9px}
.mf-profile-details b{color:#c9d9e6;font-size:10px;overflow-wrap:anywhere}
.mf-profile-signature{display:grid;gap:6px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(111,156,187,.13)}
.mf-profile-signature>div{color:#9db3c6;font-size:10px;line-height:1.6;overflow-wrap:anywhere}
.mf-profile-ban{margin-top:14px;padding:12px;border:1px solid rgba(255,103,103,.22);border-radius:8px;background:rgba(92,27,36,.14);color:#ffb1b1}
.mf-profile-ban b{font-size:11px}.mf-profile-ban p,.mf-profile-ban small{font-size:10px;line-height:1.5}
.mf-profile-actions-card{display:grid;gap:6px}
.mf-profile-action{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 8px;border:1px solid rgba(111,156,187,.12);border-radius:9px;background:rgba(14,30,44,.6);color:#b9ccdb;text-decoration:none}
.mf-profile-action>span:first-child{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:8px;background:rgba(66,232,145,.08);color:#6be8a8;font-size:14px}
.mf-profile-action>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.mf-profile-action b{font-size:10px;color:#e1eef8}
.mf-profile-action small{color:#7f96aa;font-size:8px;line-height:1.4;overflow-wrap:anywhere}
.mf-profile-action i{color:#6e8aa1;font-size:12px;font-style:normal}
.mf-profile-action:hover{border-color:rgba(66,232,145,.25);background:rgba(20,47,57,.7)}
.mf-profile-generated-action{display:flex}
.mf-profile-generated-action a{display:inline-flex;align-items:center;gap:5px;color:#66e8a5;font-size:10px;text-decoration:none}
.mf-profile-generated-action a:hover{text-decoration:underline}
.mf-profile-delete{padding-top:8px}
.mf-profile-delete a{color:#f2a2a2;font-size:10px;text-decoration:none}
.mf-profile-edit-card{margin-top:13px}
.mf-profile-edit-fields{min-width:0}
.mf-profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.mf-profile-edit-grid>label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#a9bdce;font-size:10px;font-weight:700}
.mf-profile-edit-grid input:not([type=checkbox]):not([type=file]),.mf-profile-edit-grid textarea,.mf-profile-edit-grid select{width:100%;box-sizing:border-box;min-width:0;min-height:38px;padding:9px 10px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#071725;color:#edf7ff;font:inherit;font-size:11px}
.mf-profile-edit-grid textarea{min-height:92px;resize:vertical}
.mf-profile-edit-grid input[type=file]{max-width:100%;padding:8px;border:1px dashed var(--mf-border-strong);border-radius:8px;background:#081725;color:#a9becf;font-size:10px}
.mf-profile-edit-grid input:focus,.mf-profile-edit-grid textarea:focus,.mf-profile-edit-grid select:focus{border-color:rgba(66,232,145,.62);outline:none;box-shadow:0 0 0 3px rgba(66,232,145,.07)}
.mf-profile-edit-wide{grid-column:1/-1}
.mf-profile-check{display:flex;align-items:center;gap:7px;font-size:10px;color:#a3b9cb}
.mf-profile-check input{accent-color:#39e996}
.mf-profile-edit-grid .mf-xfields h3{margin:0;color:#e1edf7;font-size:12px}
.mf-profile-edit-grid .mf-hidemail input{accent-color:#39e996}
.mf-profile-advanced{grid-column:1/-1;padding:10px;border:1px solid rgba(111,156,187,.16);border-radius:8px;background:rgba(12,26,39,.55)}
.mf-profile-advanced summary{color:#aac0d1;font-size:10px;cursor:pointer}
.mf-profile-advanced>div{display:grid;gap:10px;margin-top:12px}
.mf-profile-advanced label{display:grid;gap:6px;color:#99b0c2;font-size:10px}
.mf-profile-edit-fields .mf-form-submit{justify-content:flex-end}
.mf-profile-edit-fields .mf-form-submit .mf-button{min-width:205px}
.mf-breadcrumb{display:flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}
.mf-breadcrumb-mark{color:#5ce9a2;font-size:14px}
.mf-speedbar-inner{min-width:0;color:#849db2;font-size:10px;line-height:1.6}
.mf-speedbar-inner a{color:#a8bfd1;text-decoration:none}
.mf-speedbar-inner a:hover{color:#68e9a5}

/* Search form generated by DLE search.tpl. Keep engine controls intact but style them to match the theme. */
.mf-search-page{display:grid;gap:15px;width:100%;min-width:0;margin:0 0 18px;padding:18px;border:1px solid var(--mf-border);border-radius:14px;background:linear-gradient(145deg,#0b1a28,#08131e);color:var(--mf-text)}
.mf-search-page-head{display:grid;gap:7px}
.mf-search-page-head .mf-eyebrow{display:flex;align-items:center;gap:6px;color:#98b0c3;font-size:8px;font-weight:800;letter-spacing:.1em}
.mf-search-page-head .mf-eyebrow i{width:5px;height:5px;border-radius:50%;background:var(--mf-green);box-shadow:0 0 10px rgba(66,232,145,.4)}
.mf-search-page-head h1{margin:0;color:#f0f7ff;font-size:23px;line-height:1.2;letter-spacing:-.025em}
.mf-search-page-head p{margin:0;color:#8ea5ba;font-size:10px;line-height:1.55}
.mf-search-simple-row{display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border:1px solid var(--mf-border-strong);border-radius:10px;background:#071623}
.mf-search-field-wrap{display:block;min-width:0;width:100%}
.mf-search-field-wrap input:not([type=checkbox]):not([type=radio]){display:block;box-sizing:border-box;width:100%;min-width:0;min-height:39px;padding:9px 11px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#0b1d2b;color:#eef7ff;font:inherit;font-size:11px;outline:none}
.mf-search-field-wrap input:focus{border-color:rgba(66,232,145,.62);box-shadow:0 0 0 3px rgba(66,232,145,.07)}
.mf-search-status{flex:0 0 auto;color:#8ba4b9;font-size:9px}
.mf-search-advanced-link{justify-self:start;color:#68e9a5;font-size:10px;text-decoration:none}
.mf-search-advanced-link span{margin-left:4px}
.mf-search-advanced-link:hover{text-decoration:underline}
.mf-search-extended-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mf-search-box{display:grid;align-content:start;gap:11px;min-width:0;padding:13px;border:1px solid rgba(111,156,187,.15);border-radius:10px;background:rgba(9,22,34,.58)}
.mf-search-box--wide{grid-column:1/-1}
.mf-search-box h2{margin:0;padding-bottom:8px;border-bottom:1px solid rgba(111,156,187,.13);color:#e6f1fa;font-size:12px}
.mf-search-label{display:grid;gap:6px;color:#9fb5c8;font-size:10px;font-weight:700}
.mf-search-option-row,.mf-search-option-area{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;color:#a5bacb;font-size:10px;line-height:1.65}
.mf-search-option-area{display:grid;gap:7px}
.mf-search-inline-option{display:flex;align-items:center;gap:6px;color:#9db3c6;font-size:9px}
.mf-search-subfield{display:grid;gap:7px;min-width:0;padding:9px 0;border-bottom:1px solid rgba(111,156,187,.1);color:#9fb5c8;font-size:9px}
.mf-search-subfield:last-child{border-bottom:0}
.mf-search-subfield>span{font-size:10px;font-weight:750;color:#c3d3e0}
.mf-search-page input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]),.mf-search-page select,.mf-search-page textarea{max-width:100%;box-sizing:border-box;border:1px solid var(--mf-border-strong);border-radius:7px;background:#081725;color:#e9f5ff;padding:8px 9px;font:inherit;font-size:10px}
.mf-search-page input[type=checkbox],.mf-search-page input[type=radio]{accent-color:#3de995}
.mf-search-page fieldset{min-width:0;padding:10px;border:1px solid rgba(111,156,187,.16);border-radius:8px}
.mf-search-page legend{padding:0 5px;color:#b6cbdb;font-size:10px;font-weight:750}
.mf-search-page label{max-width:100%}
.mf-search-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:3px}
.mf-search-actions input{min-height:35px;padding:7px 14px;border:1px solid rgba(111,156,187,.2);border-radius:8px;background:#132536;color:#c5d7e5;font:inherit;font-size:10px;font-weight:750;cursor:pointer}
.mf-search-actions input[name=dosearch]{border-color:rgba(66,232,145,.25);background:linear-gradient(135deg,#39df90,#5df6ad);color:#062316}
.mf-search-actions input:hover{filter:brightness(1.08)}
.mf-search-content-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:13px;min-width:0}
/* Search form must occupy a complete row; result cards start below it. */
#dle-content.mf-search-content-wrap>.mf-search-page,
.mf-search-content-wrap>.mf-search-page--simple,
.mf-search-content-wrap>.mf-search-page--extended{grid-column:1 / -1!important;justify-self:stretch;width:100%;max-width:none;min-width:0}
.mf-search-page--simple,.mf-search-page--extended{grid-column:1 / -1!important}
@media(max-width:1100px){.mf-search-content-wrap{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.mf-search-content-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:480px){.mf-search-content-wrap{grid-template-columns:minmax(0,1fr)}}
body.theme-light .mf-login-title>b,body.theme-light .mf-logged-head b,body.theme-light .mf-account-page-head h1,body.theme-light .mf-profile-titleblock h1,body.theme-light .mf-search-page-head h1{color:#17394c}
body.theme-light .mf-login-title>small,body.theme-light .mf-logged-head small,body.theme-light .mf-account-page-head p,body.theme-light .mf-form-notice,body.theme-light .mf-profile-info,body.theme-light .mf-search-page-head p{color:#527187}
body.theme-light .mf-account-page-head,body.theme-light .mf-account-card,body.theme-light .mf-profile-hero,body.theme-light .mf-search-page{background:linear-gradient(145deg,#f8fcff,#eaf3f8);border-color:#d4e2eb}
body.theme-light .mf-form-field input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),body.theme-light .mf-form-field textarea,body.theme-light .mf-form-field select,body.theme-light .mf-login-form>label input,body.theme-light .mf-profile-edit-grid input:not([type=checkbox]):not([type=file]),body.theme-light .mf-profile-edit-grid textarea,body.theme-light .mf-profile-edit-grid select,body.theme-light .mf-search-page input,body.theme-light .mf-search-page select,body.theme-light .mf-search-page textarea{background:#fff;color:#18394a;border-color:#cadce7}
@media(max-width:900px){.mf-profile-content-grid{grid-template-columns:minmax(0,1fr)}.mf-profile-actions-card{grid-template-columns:1fr 1fr}.mf-profile-actions-card .mf-account-card-heading{grid-column:1/-1}}
@media(max-width:760px){.mf-account-page-head{padding:18px}.mf-account-card{padding:14px}.mf-profile-hero{align-items:flex-start;flex-wrap:wrap;padding:15px;gap:12px}.mf-profile-avatar{flex-basis:66px;width:66px;height:66px;border-radius:18px}.mf-profile-avatar img{border-radius:14px}.mf-profile-titleblock{flex-basis:calc(100% - 82px)}.mf-profile-edit-toggle{margin-left:78px}.mf-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mf-profile-actions-card{grid-template-columns:1fr}.mf-profile-actions-card .mf-account-card-heading{grid-column:auto}.mf-search-page{padding:14px}.mf-search-extended-grid{grid-template-columns:1fr}.mf-search-box--wide{grid-column:auto}.mf-search-simple-row{align-items:stretch;flex-direction:column}.mf-search-status{flex:initial}.mf-form-fields{grid-template-columns:1fr}.mf-form-field--captcha,.mf-form-field--xfields{grid-column:auto}.mf-form-submit .mf-button{width:100%;min-width:0}.mf-form-legal{text-align:left}.mf-profile-edit-grid{grid-template-columns:1fr}.mf-profile-edit-wide,.mf-profile-advanced{grid-column:auto}}
@media(max-width:480px){.mf-auth-popover{right:-46px;width:min(350px,calc(100vw - 20px));padding:12px}.mf-login-title>b{font-size:16px}.mf-profile-stats{gap:7px}.mf-profile-stat{padding:10px}.mf-profile-details{grid-template-columns:1fr}.mf-captcha-field{align-items:stretch;flex-direction:column}.mf-captcha-field input{min-width:0;width:100%}}


.mf-inline-link{display:inline;padding:0;border:0;background:transparent;color:#66e8a5;font:inherit;font-weight:800;cursor:pointer;text-decoration:none}
.mf-inline-link:hover{color:#b4ffd6;text-decoration:underline}


/* Search results and live suggestions (DLE searchresult.tpl / fastsearchresult.tpl) */
#searchsuggestions{z-index:1400!important;width:min(430px,calc(100vw - 24px));max-height:min(70vh,520px);overflow:auto;padding:7px;border:1px solid rgba(107,163,194,.25);border-radius:12px;background:linear-gradient(145deg,#0d1d2b,#07121c);box-shadow:0 22px 60px rgba(0,0,0,.5);color:#e9f5ff}
.mf-fast-search-item{display:flex;align-items:center;gap:10px;min-width:0;padding:8px;border-radius:8px;color:#d7e8f5;text-decoration:none;transition:background .16s}
.mf-fast-search-item:hover,.mf-fast-search-item:focus{background:rgba(66,232,145,.08);color:#fff;outline:none}
.mf-fast-search-thumb{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;overflow:hidden;border:1px solid rgba(112,160,190,.2);border-radius:7px;background:#102333}
.mf-fast-search-thumb img{width:100%;height:100%;object-fit:cover}
.mf-fast-search-copy{display:grid;gap:4px;min-width:0;flex:1}
.mf-fast-search-copy strong{overflow:hidden;color:#eff7ff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.mf-fast-search-copy small{display:-webkit-box;overflow:hidden;color:#8ea7bb;font-size:9px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mf-fast-search-arrow{color:#5ceaa0;font-size:14px}
.mf-search-short-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid var(--mf-border);border-radius:9px;background:#0a1723;color:#a8bfd1;font-size:11px}
.mf-search-short-result a{color:#e3eff8;text-decoration:none}
.mf-search-short-result a:hover{color:#66e9a4}
.mf-search-short-result>span{flex:0 0 auto;color:#77e8aa;font-size:9px}
.mf-search-comment-result{padding:13px;border:1px solid var(--mf-border);border-radius:10px;background:#0a1723;color:#afc1d0}
.mf-search-comment-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}
.mf-search-comment-heading a{color:#eaf5fd;font-size:11px;font-weight:750;text-decoration:none}
.mf-search-comment-heading span,.mf-search-comment-meta{color:#7892a8;font-size:9px}
.mf-search-comment-text{font-size:10px;line-height:1.65;overflow-wrap:anywhere}
.mf-search-comment-meta{margin-top:7px}
body.theme-light #searchsuggestions{background:linear-gradient(145deg,#fff,#eff7fb);border-color:#ccdeea}
body.theme-light .mf-fast-search-copy strong,body.theme-light .mf-search-short-result a,body.theme-light .mf-search-comment-heading a{color:#18394a}
body.theme-light .mf-search-short-result,body.theme-light .mf-search-comment-result{background:#fff;border-color:#d5e4ed}

.mf-search-submit{flex:0 0 auto;min-height:39px;justify-content:center;padding:8px 14px;font-size:10px}
@media(max-width:760px){.mf-search-submit{width:100%}}


/* ModKlad 1.0.14 — registration field sizing, single breadcrumb marker and working DLE comment controls */
.mf-registration-page,.mf-registration-page .mf-account-card{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.mf-registration-page .mf-form-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.mf-registration-page .mf-form-fields .mf-form-field--login,
.mf-registration-page .mf-form-fields .mf-form-field--password,
.mf-registration-page .mf-form-fields .mf-form-field--password-repeat,
.mf-registration-page .mf-form-fields .mf-form-field--email,
.mf-registration-page .mf-form-fields .mf-form-field--captcha,
.mf-registration-page .mf-form-fields .mf-form-field--xfields{grid-column:1/-1}
.mf-registration-page .mf-form-field input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),
.mf-registration-page .mf-form-field select,
.mf-registration-page .mf-form-field textarea{display:block!important;width:100%!important;max-width:100%;box-sizing:border-box;min-height:46px;padding:11px 13px;font-size:14px;line-height:1.4}
.mf-registration-page .mf-reg-login-row{width:100%;align-items:stretch}
.mf-registration-page .mf-reg-login-row input{flex:1 1 auto;width:100%!important;min-width:0}
.mf-registration-page .mf-reg-login-row .mf-button{flex:0 0 auto;min-height:46px;white-space:nowrap}
.mf-registration-page .mf-form-field textarea{min-height:110px}
.mf-comments{scroll-margin-top:90px}
.mf-comment-guest-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
.mf-comment-guest-fields>label,.mf-add-comment-question>label{display:grid;gap:6px;min-width:0;color:#a9bfce;font-size:10px;font-weight:750}
.mf-comment-guest-fields input,.mf-add-comment-question input,.mf-comment-sec-code-row input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#071522;color:var(--mf-text);font:inherit;font-size:12px}
.mf-add-comment-fields textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:135px;padding:12px;border:1px solid var(--mf-border-strong);border-radius:9px;background:#071522;color:var(--mf-text);font:inherit;font-size:12px;line-height:1.65;resize:vertical}
.mf-add-comment-fields input[type=text],.mf-add-comment-fields input[type=email]{min-height:40px;padding:9px 11px;font-size:12px;resize:none}
.mf-add-comment-fields .bb-editor,.mf-add-comment-fields .editor,.mf-add-comment-fields .wysibb{width:100%;max-width:100%;min-width:0}
.mf-comment-sec-code-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mf-comment-sec-code-row img{display:block;max-width:180px;height:auto}
.mf-comment-sec-code-row input{width:min(100%,240px)}
.mf-add-comment-question{display:grid;gap:6px;margin-top:12px}
.mf-comment-recaptcha{margin-top:12px;max-width:100%;overflow-x:auto}
.mf-comment-subscribe{display:flex;align-items:center;gap:8px;margin-top:12px;color:#9eb4c6;font-size:10px}
.mf-comment-subscribe input{accent-color:#42e891}
.mf-add-comment-submit{margin-top:15px}
.mf-add-comment-submit .mf-button{min-height:42px}
@media(max-width:760px){.mf-registration-page .mf-account-card{max-width:none}.mf-registration-page .mf-form-fields{grid-template-columns:minmax(0,1fr)}.mf-registration-page .mf-form-fields .mf-form-field--login,.mf-registration-page .mf-form-fields .mf-form-field--password,.mf-registration-page .mf-form-fields .mf-form-field--password-repeat,.mf-registration-page .mf-form-fields .mf-form-field--email,.mf-registration-page .mf-form-fields .mf-form-field--captcha,.mf-registration-page .mf-form-fields .mf-form-field--xfields{grid-column:1}.mf-comment-guest-fields{grid-template-columns:minmax(0,1fr)}}


/* ModKlad 1.0.15 — fixes for DLE comment template, editor textarea, registration width/check and validation dialogs */
.mf-registration-page{display:block;width:100%;max-width:none}
.mf-registration-page .mf-account-card{display:block;width:100%;max-width:none;margin-inline:0}
.mf-registration-page .mf-reg-login-row{display:flex;align-items:stretch;gap:9px;width:100%;min-width:0}
.mf-registration-page .mf-reg-login-row input#name{flex:1 1 auto;width:1%;min-width:0}
.mf-registration-page .mf-reg-login-row .mf-button--outline{width:auto!important;min-width:104px;flex:0 0 auto;align-self:stretch;padding-inline:14px;white-space:nowrap}
.mf-registration-page .mf-reg-result:empty{display:none}
.mf-registration-page .mf-reg-result:not(:empty){display:block;margin-top:8px;padding:9px 11px;border:1px solid rgba(93,173,213,.28);border-radius:8px;background:rgba(21,54,76,.45);color:#c7e6f7;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.mf-registration-page #result-registration .error,.mf-registration-page #result-registration .ok,.mf-registration-page #result-registration .info{display:block;margin:0;padding:0;border:0;background:transparent;color:inherit}
.mf-comment{display:flex;align-items:flex-start;gap:11px;min-width:0}
.mf-comment-avatar{flex:0 0 42px;width:42px;height:42px;overflow:hidden;border:1px solid var(--mf-border);border-radius:11px;background:#102538}
.mf-comment-avatar img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.mf-comment-main{flex:1 1 auto;min-width:0}
.mf-comment-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:7px}
.mf-comment-head time{margin-left:auto;color:var(--mf-muted-2);font-size:9px}
.mf-comment-controls{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px}
.mf-comment-controls a{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid rgba(112,157,189,.16);border-radius:7px;background:rgba(17,39,55,.55);color:#a9c2d5;text-decoration:none;font-size:10px;line-height:1.2;transition:background .18s,border-color .18s,color .18s}
.mf-comment-controls a:hover{border-color:rgba(66,232,145,.3);background:rgba(33,112,75,.18);color:#75f4ad}
.mf-comment-controls .mf-comment-action--delete,.mf-comment-controls .mf-comment-action--complaint{color:#e3a4a8}
.mf-comment-controls a .mf-comment-action{display:inline}
.mf-add-comment-fields textarea[name="comments"],.mf-add-comment-fields #comments{box-sizing:border-box;width:100%;max-width:100%;min-height:135px;padding:12px;border:1px solid var(--mf-border-strong);border-radius:9px;background:#071522;color:var(--mf-text);font:inherit;font-size:12px;line-height:1.65}
/* DLE jQuery UI alert/dialog: readable validation errors and one obvious close control */
.ui-widget-overlay{z-index:99990!important;background:rgba(1,7,13,.76)!important;backdrop-filter:blur(3px)}
.ui-dialog{z-index:99991!important;box-sizing:border-box;max-width:calc(100vw - 28px);overflow:hidden;border:1px solid rgba(94,145,177,.36)!important;border-radius:14px!important;background:#0a1926!important;color:#d7e6f2!important;box-shadow:0 24px 80px rgba(0,0,0,.58)!important;font-family:inherit!important}
.ui-dialog-titlebar{position:relative;display:flex;align-items:center;gap:10px;min-height:45px;padding:12px 54px 12px 16px!important;border:0!important;border-bottom:1px solid rgba(106,153,184,.2)!important;border-radius:0!important;background:linear-gradient(110deg,#132b3d,#0d202f)!important;color:#f3f8fd!important}
.ui-dialog-title{float:none!important;display:block;min-width:0;color:#f3f8fd!important;font-size:13px!important;font-weight:800!important;line-height:1.35}
.ui-dialog-titlebar-close{position:absolute!important;top:8px!important;right:9px!important;display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,128,137,.42)!important;border-radius:9px!important;background:rgba(255,84,98,.13)!important;background-image:none!important;color:#ffe0e2!important;text-indent:0!important;opacity:1!important;overflow:hidden!important;box-shadow:none!important}
.ui-dialog-titlebar-close span{display:none!important}
.ui-dialog-titlebar-close:before{content:"×";display:block;color:#ffe0e2;font:700 24px/1 Arial,sans-serif;text-indent:0}
.ui-dialog-titlebar-close:hover{background:rgba(255,84,98,.25)!important;border-color:rgba(255,128,137,.7)!important}
.ui-dialog-content{box-sizing:border-box;padding:17px!important;max-height:70vh;overflow:auto!important;background:#0a1926!important;color:#c4d6e4!important;font-size:12px!important;line-height:1.65!important;overflow-wrap:anywhere}
.ui-dialog-content .error,.ui-dialog-content .ui-state-error,.ui-dialog-content .dle-error{padding:10px 12px;border:1px solid rgba(255,105,116,.35);border-radius:8px;background:rgba(124,35,48,.22);color:#ffc4c8}
.ui-dialog-buttonpane{margin:0!important;padding:11px 15px 15px!important;border:0!important;border-top:1px solid rgba(106,153,184,.18)!important;background:#0a1926!important}
.ui-dialog-buttonpane button,.ui-dialog .ui-button{min-height:36px;padding:8px 15px!important;border:1px solid rgba(66,232,145,.35)!important;border-radius:8px!important;background:linear-gradient(110deg,#43e58e,#68fba5)!important;color:#042417!important;font-family:inherit!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;cursor:pointer}
#dlepopup,.dle-alert{color:#c4d6e4;overflow-wrap:anywhere}
@media(max-width:760px){.mf-registration-page .mf-account-card{width:100%;max-width:none;padding:14px}.mf-registration-page .mf-reg-login-row{flex-wrap:wrap}.mf-registration-page .mf-reg-login-row input#name{flex:1 1 160px;width:auto}.mf-registration-page .mf-reg-login-row .mf-button--outline{min-width:104px}.ui-dialog{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important}}


/* ModKlad 1.0.16 — taxonomy navigation follows the DLE category URL table. */
.mf-taxonomy-group{display:block;margin:0 0 3px;min-width:0}
.mf-taxonomy-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:2px;align-items:center;min-width:0}
.mf-taxonomy-row>.mf-nav-link{min-width:0;width:100%;padding-right:7px}
.mf-nav-tree-toggle,.mf-tax-node-toggle{display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;background:transparent;color:#7d9ab0;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.mf-nav-tree-toggle{width:27px;height:30px;font-size:13px}
.mf-nav-tree-toggle:hover,.mf-tax-node-toggle:hover{background:rgba(49,225,140,.1);border-color:rgba(60,229,145,.2);color:#62f1a2}
.mf-nav-tree-toggle[aria-expanded="true"] span,.mf-tax-node-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.mf-nav-tree-toggle span,.mf-tax-node-toggle span{display:inline-block;transition:transform .18s}
.mf-taxonomy-panel{margin:2px 0 7px 10px;padding:3px 0 4px 7px;border-left:1px solid rgba(109,145,174,.2);min-width:0}
.mf-taxonomy-panel[hidden],.mf-tax-node-children[hidden]{display:none!important}
.mf-tax-node{min-width:0;margin:1px 0}
.mf-tax-node-row{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:1px;align-items:center;min-width:0}
.mf-tax-node-link,.mf-tree-leaf{min-width:0;display:flex;align-items:flex-start;gap:6px;padding:5px 5px;border-radius:6px;color:#9ab0c5;font-size:10.5px;line-height:1.35;overflow-wrap:anywhere;transition:background .18s,color .18s}
.mf-tax-node-link:hover,.mf-tree-leaf:hover{background:rgba(48,227,141,.1);color:#66f6a6}
.mf-tax-node-link>span:last-child,.mf-tree-leaf>span:last-child{min-width:0;flex:1}
.mf-tax-node-toggle{width:23px;height:23px;font-size:11px}
.mf-tax-node-children{margin:1px 0 4px 10px;padding:2px 0 2px 8px;border-left:1px solid rgba(102,158,185,.17);display:flex;flex-direction:column;gap:1px}
.mf-tree-leaf{font-size:10px;padding:5px 7px}
.mf-tree-leaf .tree-symbol{width:auto;flex:0 0 auto}
.mf-sidebar .mf-taxonomy-panel a:focus-visible,.mf-sidebar button[data-nav-tree-toggle]:focus-visible{outline:2px solid var(--mf-green);outline-offset:2px}
@media(max-width:760px){.mf-taxonomy-panel{margin-left:7px}.mf-tax-node-link,.mf-tree-leaf{font-size:11px;padding-top:7px;padding-bottom:7px}}


/* ModKlad 1.0.18 — refined accordion sidebar: no category search/counts, right-facing chevrons, smooth expansion. */
.mf-nav{gap:4px}
.mf-nav-section{display:flex;flex-direction:column;gap:3px;min-width:0}
.mf-nav-section--quick{padding-bottom:13px;margin-bottom:11px;border-bottom:1px solid rgba(119,164,196,.12)}
.mf-nav-section-label{padding:8px 10px 6px;color:#68839a;font-size:9px;font-weight:850;letter-spacing:.13em;line-height:1.2}
.mf-nav-section--catalog>.mf-nav-section-label{padding-top:2px;margin-bottom:5px}
.mf-nav-link{min-height:40px;font-size:11.5px;border:1px solid transparent;transition:background .18s,border-color .18s,color .18s,transform .18s}
.mf-nav-section--quick .mf-nav-link{padding:7px 10px}
.mf-nav-section--quick .mf-nav-link:hover{transform:translateX(2px)}
.mf-nav-link.is-active{border-color:rgba(66,232,145,.12)}

/* Each top-level content type is a subtle accordion row, not a numbered card. */
.mf-taxonomy-group{display:block;min-width:0;margin:2px 0;padding:2px;border:1px solid transparent;border-radius:12px;background:transparent;transition:background .2s,border-color .2s,box-shadow .2s}
.mf-taxonomy-group:hover{background:rgba(12,29,42,.55);border-color:rgba(119,164,196,.1)}
.mf-taxonomy-group:has(>.mf-taxonomy-row .mf-nav-tree-toggle[aria-expanded="true"]){background:linear-gradient(145deg,rgba(15,42,49,.56),rgba(8,24,36,.3));border-color:rgba(66,232,145,.17);box-shadow:inset 2px 0 0 rgba(66,232,145,.5)}
.mf-taxonomy-row{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:4px;align-items:center;min-width:0}
.mf-taxonomy-row>.mf-nav-link{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:44px;padding:7px 8px;border:1px solid transparent;border-radius:9px}
.mf-taxonomy-row>.mf-nav-link:hover{background:rgba(66,232,145,.055);border-color:rgba(66,232,145,.09)}
.mf-taxonomy-row .mf-nav-ico{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(119,164,196,.12);border-radius:9px;background:linear-gradient(145deg,rgba(33,58,76,.58),rgba(16,35,49,.58));color:#a5bacb;font-size:15px;line-height:1;transition:color .18s,background .18s,border-color .18s}
.mf-taxonomy-row>.mf-nav-link:hover .mf-nav-ico,.mf-taxonomy-row>.mf-nav-link[aria-current="page"] .mf-nav-ico{border-color:rgba(66,232,145,.24);background:rgba(66,232,145,.09);color:var(--mf-green)}
.mf-taxonomy-row>.mf-nav-link>span:nth-child(2){flex:1;min-width:0;font-size:11.5px;font-weight:750;line-height:1.35}
.mf-nav-count,.mf-tax-count{display:none!important}

/* A small right-chevron sits quietly until the user expands the branch. */
.mf-nav-tree-toggle,.mf-tax-node-toggle{display:grid;place-items:center;align-self:center;flex:0 0 auto;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#7893a8;cursor:pointer;transition:background .18s,color .18s,border-color .18s,transform .18s}
.mf-nav-tree-toggle{width:30px;height:32px}
.mf-tax-node-toggle{width:27px;height:29px}
.mf-nav-tree-toggle>span,.mf-tax-node-toggle>span{display:block;font-family:Arial,sans-serif;font-size:25px;font-weight:400;line-height:.8;transform:translateX(1px) rotate(0deg);transition:transform .22s cubic-bezier(.2,.75,.25,1),color .18s}
.mf-tax-node-toggle>span{font-size:21px}
.mf-nav-tree-toggle:hover,.mf-tax-node-toggle:hover{background:rgba(66,232,145,.08);border-color:rgba(66,232,145,.15);color:#76f6aa}
.mf-nav-tree-toggle[aria-expanded="true"],.mf-tax-node-toggle[aria-expanded="true"]{background:rgba(66,232,145,.08);border-color:rgba(66,232,145,.18);color:var(--mf-green)}
.mf-nav-tree-toggle[aria-expanded="true"]>span,.mf-tax-node-toggle[aria-expanded="true"]>span{transform:translateX(1px) rotate(90deg)}

/* Nested levels slide open under their parent with a clear indentation rail. */
.mf-taxonomy-panel{display:flex;flex-direction:column;gap:2px;min-width:0;margin:1px 0 6px 18px;padding:4px 0 3px 12px;border-left:1px solid rgba(88,143,167,.23)}
.mf-taxonomy-panel[hidden],.mf-tax-node-children[hidden]{display:none!important}
.mf-tax-node{min-width:0;margin:1px 0;padding:0}
.mf-tax-node-row{display:grid;grid-template-columns:minmax(0,1fr) 27px;gap:3px;align-items:center;min-width:0;padding-right:1px}
.mf-tax-node-link{display:flex;align-items:center;gap:8px;min-width:0;min-height:36px;padding:6px 7px;border:1px solid transparent;border-radius:8px;color:#a9bfd0;font-size:10.8px;line-height:1.35;overflow-wrap:anywhere;transition:background .18s,color .18s,border-color .18s}
.mf-tax-node-link:hover{background:rgba(66,232,145,.065);border-color:rgba(66,232,145,.11);color:#d8f9e5}
.mf-tax-node-icon{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border:1px solid rgba(119,164,196,.12);border-radius:8px;background:rgba(18,39,54,.7);color:#91aec4;font-size:12px;line-height:1;transition:background .18s,color .18s,border-color .18s}
.mf-tax-node-link:hover .mf-tax-node-icon{border-color:rgba(66,232,145,.23);background:rgba(66,232,145,.08);color:var(--mf-green)}
.mf-tax-node-link>span:last-child{flex:1;min-width:0}
.mf-tax-node-children{display:flex;flex-direction:column;gap:2px;min-width:0;margin:1px 0 5px 13px;padding:3px 0 3px 11px;border-left:1px dashed rgba(102,158,185,.22)}
.mf-tree-leaf{display:flex;align-items:center;gap:8px;min-width:0;min-height:32px;padding:6px 8px;border:1px solid transparent;border-radius:7px;color:#8fa9bd;font-size:10.5px;line-height:1.35;overflow-wrap:anywhere;transition:background .18s,border-color .18s,color .18s}
.mf-tree-leaf .tree-symbol{display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border:1px solid rgba(119,164,196,.1);border-radius:6px;background:rgba(22,44,59,.48);color:#7899b0;font-size:13px;line-height:1}
.mf-tree-leaf:hover{background:rgba(66,232,145,.06);border-color:rgba(66,232,145,.1);color:#d9f9e7}
.mf-tree-leaf:hover .tree-symbol{background:rgba(66,232,145,.1);border-color:rgba(66,232,145,.17);color:var(--mf-green)}
.mf-sidebar .mf-nav a[aria-current="page"],.mf-sidebar .mf-nav a[aria-current="location"]{color:var(--mf-green-bright);background:rgba(66,232,145,.085);border-color:rgba(66,232,145,.15)}
.mf-sidebar .mf-nav a:focus-visible,.mf-sidebar button[data-nav-tree-toggle]:focus-visible{outline:2px solid var(--mf-green);outline-offset:2px}
@media(max-width:1000px){.mf-tax-node-link{font-size:11px}}
@media(max-width:760px){.mf-nav-section--quick{padding-bottom:10px;margin-bottom:8px}.mf-taxonomy-row>.mf-nav-link{min-height:46px}.mf-taxonomy-row .mf-nav-ico{width:32px;height:32px;flex-basis:32px}.mf-tax-node-link{min-height:41px;padding:8px}.mf-tree-leaf{min-height:38px;padding:8px}.mf-taxonomy-panel{margin-left:12px;padding-left:10px}}
@media(prefers-reduced-motion:reduce){.mf-taxonomy-group,.mf-taxonomy-row>.mf-nav-link,.mf-nav-tree-toggle,.mf-tax-node-toggle,.mf-tax-node-link,.mf-tree-leaf{transition:none!important}}


/* ModKlad 1.0.19 — loaders shelf, popular mods, full-width footer */
.mf-loaders-section{position:relative;margin:19px 0 27px;padding:18px;border:1px solid rgba(91,160,190,.22);border-radius:16px;background:radial-gradient(ellipse at 0 0,rgba(38,107,111,.16),transparent 48%),linear-gradient(135deg,#0a1824 0%,#08131e 100%);box-shadow:0 14px 36px rgba(0,0,0,.12);overflow:hidden}
.mf-loaders-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.mf-loaders-heading__title{display:flex;align-items:center;gap:11px;min-width:0}
.mf-loaders-heading .mf-section-icon{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border:1px solid rgba(66,232,145,.2);border-radius:12px;background:rgba(66,232,145,.09);color:var(--mf-green);font-size:21px}
.mf-loaders-heading h2{margin:0;color:#f1f8ff;font-size:16px;line-height:1.25;letter-spacing:-.035em}
.mf-loaders-heading p{margin:3px 0 0;color:#839bb0;font-size:10px;line-height:1.45}
.mf-loaders-kicker{flex:0 0 auto;padding:6px 9px;border:1px solid rgba(112,154,185,.16);border-radius:7px;background:rgba(16,35,50,.6);color:#7894a9;font-size:8px;font-weight:800;letter-spacing:.12em}
.mf-loader-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.mf-loader-card{--loader-accent:#ed9a58;--loader-glow:rgba(237,154,88,.12);position:relative;display:flex;min-width:0;min-height:166px;flex-direction:column;align-items:flex-start;gap:9px;padding:13px 13px 12px;overflow:hidden;border:1px solid rgba(110,155,188,.17);border-radius:12px;background:linear-gradient(145deg,rgba(17,35,50,.94),rgba(8,22,34,.98));transition:transform .2s ease,border-color .2s ease,background .2s ease}
.mf-loader-card:before{position:absolute;content:"";width:104px;height:104px;right:-42px;top:-43px;border-radius:50%;background:var(--loader-glow);filter:blur(3px);pointer-events:none}
.mf-loader-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--loader-accent) 48%,transparent);background:linear-gradient(145deg,rgba(19,42,58,.98),rgba(8,22,34,.99))}
.mf-loader-card:focus-visible{outline:2px solid var(--loader-accent);outline-offset:3px}
.mf-loader-card--forge{--loader-accent:#f3a05e;--loader-glow:rgba(243,160,94,.16)}
.mf-loader-card--neoforge{--loader-accent:#48d8bc;--loader-glow:rgba(72,216,188,.15)}
.mf-loader-card--fabric{--loader-accent:#70adff;--loader-glow:rgba(112,173,255,.16)}
.mf-loader-card--quilt{--loader-accent:#bd91ff;--loader-glow:rgba(189,145,255,.16)}
.mf-loader-card__top{position:relative;z-index:1;display:flex;width:100%;align-items:center;justify-content:space-between;gap:7px}
.mf-loader-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid color-mix(in srgb,var(--loader-accent) 32%,transparent);border-radius:11px;background:color-mix(in srgb,var(--loader-accent) 10%,#0a1723);color:var(--loader-accent);font-size:20px;font-weight:900;letter-spacing:-.06em;text-shadow:0 0 20px color-mix(in srgb,var(--loader-accent) 35%,transparent)}
.mf-loader-card--fabric .mf-loader-mark{font-size:14px}
.mf-loader-kind{border:1px solid rgba(117,154,181,.14);border-radius:5px;padding:4px 6px;color:#7893a9;font-size:7px;font-weight:800;letter-spacing:.08em}
.mf-loader-card>strong{position:relative;z-index:1;color:#eff7ff;font-size:15px;letter-spacing:-.035em}
.mf-loader-card__desc{position:relative;z-index:1;display:block;min-height:30px;color:#91a9bd;font-size:9px;line-height:1.5}
.mf-loader-card__more{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:8px;border-top:1px solid rgba(111,156,187,.1);color:var(--loader-accent);font-size:9px;font-weight:700}
.mf-loader-card__more i{font-size:14px;font-style:normal;transition:transform .2s}
.mf-loader-card:hover .mf-loader-card__more i{transform:translate(2px,-2px)}
.mf-popular-panel{padding:13px 12px}
.mf-popular-panel .mf-panel-heading{margin-bottom:9px}
.mf-popular-panel .mf-panel-heading h2{font-size:13px}
.mf-popular-panel .mf-panel-heading>a{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:9px;color:#58f2a1}
.mf-popular-list{display:flex;flex-direction:column;gap:7px}
.mf-popular-mod{display:grid;grid-template-columns:62px minmax(0,1fr);gap:9px;align-items:center;min-width:0;padding:7px;border:1px solid rgba(110,155,188,.13);border-radius:10px;background:rgba(11,27,40,.75);transition:border-color .2s,background .2s}
.mf-popular-mod:hover{border-color:rgba(66,232,145,.28);background:rgba(15,36,49,.9)}
.mf-popular-mod__visual{position:relative;display:block;width:62px;height:62px;overflow:hidden;border:1px solid rgba(112,159,192,.2);border-radius:8px;background:linear-gradient(135deg,#173c41,#111f31);isolation:isolate}
.mf-popular-mod__fallback{position:absolute;inset:0;display:grid;place-items:center;color:rgba(86,239,159,.48);font-size:25px;z-index:-1}
.mf-popular-mod__visual img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.mf-popular-mod:hover .mf-popular-mod__visual img{transform:scale(1.06)}
.mf-popular-mod__body{display:flex;flex-direction:column;gap:5px;min-width:0}
.mf-popular-mod__title{display:block;overflow:hidden;color:#e9f4fc;font-size:10px;font-weight:800;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
.mf-popular-mod__title:hover{color:var(--mf-green-bright)}
.mf-popular-mod__meta{display:flex;align-items:center;gap:7px;min-width:0;color:#7f9bb1;font-size:8px}
.mf-popular-mod__meta>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mf-popular-mod__version{padding:2px 5px;border:1px solid rgba(112,154,185,.13);border-radius:4px;background:rgba(15,35,50,.7)}
.mf-popular-mod__open{display:flex;align-items:center;gap:4px;color:#51e99b;font-size:8px;font-weight:700}
.mf-footer--wide{position:relative;z-index:1;width:100%;display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(220px,1fr);align-items:center;gap:24px;margin-top:0;padding:19px clamp(18px,2.2vw,38px) 23px;border-top:1px solid rgba(112,155,186,.15);background:linear-gradient(180deg,rgba(7,17,27,.78),rgba(5,11,18,.98));color:#748ba0;font-size:10px}
.mf-footer--wide .mf-footer-brand{justify-self:start}
.mf-footer--wide nav{justify-self:center;gap:clamp(12px,1.7vw,25px)}
.mf-footer--wide .mf-copyright{justify-self:end;text-align:right}
.mf-footer--wide .mf-footer-brand b{font-size:11px;color:#c5d7e5}
.mf-footer--wide .mf-footer-brand small{font-size:9px}
@media(max-width:1240px){.mf-loader-grid{gap:8px}.mf-loader-card{padding:11px;min-height:160px}.mf-loader-mark{width:34px;height:34px}.mf-loader-kind{font-size:6.5px;padding:4px}.mf-footer--wide{grid-template-columns:1fr auto;gap:14px}.mf-footer--wide nav{grid-row:2;grid-column:1/-1;justify-self:start}.mf-footer--wide .mf-copyright{grid-row:1;grid-column:2}}
@media(max-width:1020px){.mf-footer--wide{grid-template-columns:1fr auto}.mf-footer--wide nav{grid-row:2;grid-column:1/-1}}
@media(max-width:760px){.mf-loaders-section{margin:15px 0 21px;padding:13px;border-radius:13px}.mf-loaders-heading{align-items:flex-start;margin-bottom:12px}.mf-loaders-heading .mf-section-icon{width:34px;height:34px;flex-basis:34px}.mf-loaders-heading h2{font-size:14px}.mf-loaders-heading p{font-size:9px}.mf-loaders-kicker{font-size:7px;padding:5px}.mf-loader-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mf-loader-card{min-height:154px;padding:10px}.mf-loader-card>strong{font-size:14px}.mf-loader-card__desc{font-size:9px;min-height:27px}.mf-loader-card__more{font-size:8px}.mf-popular-mod{grid-template-columns:54px minmax(0,1fr);gap:8px}.mf-popular-mod__visual{width:54px;height:54px}.mf-footer--wide{grid-template-columns:1fr;gap:13px;padding:17px 15px 20px}.mf-footer--wide .mf-footer-brand,.mf-footer--wide nav,.mf-footer--wide .mf-copyright{grid-row:auto;grid-column:auto;justify-self:start}.mf-footer--wide nav{gap:12px 16px}.mf-footer--wide .mf-copyright{text-align:left;white-space:normal}.mf-footer--wide nav a{font-size:9px}}
@media(max-width:390px){.mf-loader-grid{grid-template-columns:1fr}.mf-loader-card{min-height:0;display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;row-gap:4px;align-items:start}.mf-loader-card__top{grid-row:1/4;grid-column:1;flex-direction:column;align-items:flex-start}.mf-loader-kind{display:none}.mf-loader-card>strong,.mf-loader-card__desc,.mf-loader-card__more{grid-column:2}.mf-loader-card__more{padding-top:6px}.mf-loader-card__desc{min-height:0}}
@media(prefers-reduced-motion:reduce){.mf-loader-card,.mf-loader-card__more i,.mf-popular-mod__visual img{transition:none!important}}
.mf-popular-list{counter-reset:mf-popular-rank}
.mf-popular-mod{counter-increment:mf-popular-rank}
.mf-popular-mod__visual:after{content:counter(mf-popular-rank,decimal-leading-zero);position:absolute;z-index:3;left:4px;top:4px;padding:2px 4px;border:1px solid rgba(135,177,198,.2);border-radius:4px;background:rgba(4,13,20,.82);color:#e7f4ff;font-size:8px;font-weight:900;line-height:1.2;letter-spacing:.03em;backdrop-filter:blur(7px)}


/* ModKlad 1.0.20 — catalogue CTA, clean pagination, story installation help, and comment metadata */
.mf-section-heading > .mf-catalog-button {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:36px; padding:8px 12px; flex:0 0 auto;
  border:1px solid rgba(66,232,145,.28); border-radius:9px;
  background:linear-gradient(135deg,rgba(40,179,112,.16),rgba(17,56,48,.38));
  color:#72f5ad; font-size:10px; font-weight:800; line-height:1;
  text-decoration:none; box-shadow:inset 0 1px rgba(255,255,255,.025);
  transition:background .18s,border-color .18s,transform .18s,box-shadow .18s;
}
.mf-section-heading > .mf-catalog-button:hover {
  background:linear-gradient(135deg,rgba(52,216,139,.24),rgba(19,70,54,.52));
  border-color:rgba(66,232,145,.5); transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(22,179,105,.09);
}
.mf-catalog-button svg {width:16px;height:16px;display:block;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.mf-catalog-button:hover svg {transform:translateX(2px)}
@media(max-width:540px){.mf-section-heading{align-items:flex-start}.mf-section-heading>.mf-catalog-button{min-height:33px;padding:7px 9px;font-size:9px}.mf-section-heading>.mf-catalog-button svg{width:14px;height:14px}}

/* DLE page list is wrapped separately so the previous/next controls cannot distort it. */
.mf-pagination{padding:18px 0 7px;display:flex;justify-content:center;min-width:0}
.mf-page-nav{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;max-width:100%;color:#8ea5bb}
.mf-page-nav__numbers{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;min-width:0;max-width:100%;}
.mf-page-nav__numbers .navigation,.mf-page-nav__numbers .pages,.mf-page-nav__numbers .nav-pages,.mf-page-nav__numbers .page-nav{display:flex!important;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;width:auto!important}
.mf-page-nav__numbers a,.mf-page-nav__numbers span,.mf-page-nav__numbers strong,.mf-page-nav__numbers b{box-sizing:border-box;min-width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid rgba(119,164,196,.18);border-radius:9px;background:linear-gradient(180deg,#0e1d2b,#0a1723);color:#a9bed0;font-size:10px;font-weight:650;line-height:1;text-decoration:none;white-space:nowrap;transition:background .16s,border-color .16s,color .16s,transform .16s}
.mf-page-nav__numbers a:hover{border-color:rgba(66,232,145,.38);background:#102b25;color:#7bf4b0;transform:translateY(-1px)}
.mf-page-nav__numbers .active,.mf-page-nav__numbers .nav-current,.mf-page-nav__numbers .nav_current,.mf-page-nav__numbers .nav_active,.mf-page-nav__numbers .current,.mf-page-nav__numbers strong,.mf-page-nav__numbers b{border-color:rgba(66,232,145,.4);background:linear-gradient(135deg,#38d98a,#65f4a5);color:#062317;font-weight:850}
.mf-page-nav__numbers .nav_ext,.mf-page-nav__numbers .nav_ext span{min-width:20px;padding:0 3px;border-color:transparent;background:transparent;color:#6f879c}
.mf-page-nav__arrow{width:35px;height:35px;flex:0 0 35px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(119,164,196,.2);border-radius:9px;background:linear-gradient(180deg,#0e1d2b,#0a1723);color:#b6cadb;text-decoration:none;transition:background .16s,border-color .16s,color .16s,transform .16s}
.mf-page-nav__arrow svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mf-page-nav__arrow:hover{border-color:rgba(66,232,145,.4);background:#102b25;color:#70f4ab;transform:translateY(-1px)}

/* Keep cards aligned after removing view counts from short news. */
.mf-mod-card{display:flex;flex-direction:column}
.mf-mod-card .mf-card-body{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}
.mf-mod-card .mf-card-actions{margin-top:auto;padding-top:9px}

/* Installation notes are a per-news XField, displayed before the download selector. */
.mf-install-help{display:grid;gap:13px;margin:18px 0 0;padding:15px;border:1px solid rgba(103,170,255,.24);border-radius:12px;background:linear-gradient(135deg,rgba(20,48,73,.56),rgba(8,24,36,.92));box-shadow:inset 0 1px rgba(255,255,255,.025);min-width:0;overflow-wrap:anywhere}
.mf-install-help-heading{display:flex;align-items:center;gap:10px;min-width:0}
.mf-install-help-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border:1px solid rgba(106,174,255,.27);border-radius:10px;background:rgba(66,137,220,.14);color:#8fc2ff;font-size:18px;font-weight:900;font-family:Georgia,serif}
.mf-install-help-heading>div{display:grid;gap:3px;min-width:0;flex:1}
.mf-install-help-heading h2{margin:0;color:#eff7ff;font-size:14px;line-height:1.3;font-weight:800}
.mf-install-help-heading p{margin:0;color:#8da9c1;font-size:10px;line-height:1.45}
.mf-install-help-badge{flex:0 0 auto;padding:5px 7px;border:1px solid rgba(106,174,255,.23);border-radius:7px;background:rgba(66,137,220,.1);color:#9dcaff;font-size:8px;font-weight:850;letter-spacing:.04em}
.mf-install-help-content{min-width:0;color:#c5d7e6;font-size:11px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}
.mf-install-help-content p{margin:0 0 8px}.mf-install-help-content p:last-child{margin-bottom:0}
.mf-install-help-content ul,.mf-install-help-content ol{margin:7px 0;padding-left:21px;white-space:normal}
.mf-install-help-content li{margin:4px 0;padding-left:2px}
.mf-install-help-content li::marker{color:#65b4ff}
.mf-install-help-content a{color:#73eaa8;text-decoration:underline;text-underline-offset:2px}
.mf-install-help-content code{padding:2px 5px;border:1px solid rgba(120,165,198,.15);border-radius:5px;background:rgba(5,16,26,.65);color:#bde2ff;font-size:.95em}
@media(max-width:540px){.mf-install-help{padding:12px}.mf-install-help-heading{align-items:flex-start;flex-wrap:wrap}.mf-install-help-badge{margin-left:44px}.mf-install-help-heading>div{flex-basis:calc(100% - 50px)}}

/* Comment date belongs to the author's metadata, not the far edge of the card. */
.mf-comment-head{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:4px 9px;margin-bottom:7px}
.mf-comment-head time,.mf-comment-head .mf-comment-date{display:inline-flex;align-items:center;margin-left:0!important;color:#7f9bb2;font-size:9px;line-height:1.4;font-weight:500;white-space:normal}
.mf-comment-head time::before{content:"·";padding-right:1px;color:#4c6d84;font-size:14px;line-height:0}
@media(max-width:460px){.mf-comment-head{align-items:flex-start;gap:3px 7px}.mf-comment-head time{font-size:8.5px}}

/* Pagination specificity guard: reset the legacy span styling on the page-number wrapper. */
.mf-page-nav > .mf-page-nav__numbers{box-sizing:border-box;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;display:flex!important;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;max-width:100%;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important}
.mf-page-nav a.mf-page-nav__arrow{box-sizing:border-box;width:35px!important;min-width:35px!important;height:35px!important;min-height:35px!important;flex:0 0 35px;display:inline-flex!important;align-items:center;justify-content:center;padding:0!important;border:1px solid rgba(119,164,196,.2)!important;border-radius:9px!important;background:linear-gradient(180deg,#0e1d2b,#0a1723)!important;color:#b6cadb!important;font-size:0!important;line-height:1!important;text-decoration:none!important}
.mf-page-nav a.mf-page-nav__arrow:hover{border-color:rgba(66,232,145,.4)!important;background:#102b25!important;color:#70f4ab!important}
.mf-page-nav a.mf-page-nav__arrow svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}


/* ModKlad 1.0.21 — compact card compatibility, readable excerpts */
.mf-card-description{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:calc(1.4em * 2);
  max-height:calc(1.4em * 3);
  line-height:1.4;
  overflow-wrap:anywhere;
}
.mf-card-compatibility{margin:7px 0 8px;padding:7px;}
.mf-card-compatibility__heading{margin-bottom:5px;}
.mf-card-compatibility__list{gap:4px;}
.mf-card-compatibility__item{align-items:flex-start;padding:5px 6px;}
.mf-card-compatibility__versions{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  max-height:calc(1.35em * 2);
  line-height:1.35;
  overflow-wrap:anywhere;
}
.mf-card-compatibility__more{margin-top:5px;border-top:1px solid rgba(105,157,187,.14);}
.mf-card-compatibility__more>summary{
  min-height:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:5px 2px 1px;
  cursor:pointer;
  list-style:none;
  color:#72efab;
  font-size:8.5px;
  font-weight:750;
  line-height:1.35;
  user-select:none;
}
.mf-card-compatibility__more>summary::-webkit-details-marker{display:none;}
.mf-card-compatibility__more-icon{
  width:7px;height:7px;flex:0 0 7px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .18s ease;
}
.mf-card-compatibility__more[open] .mf-card-compatibility__more-icon{transform:rotate(225deg) translate(-1px,-1px);}
.mf-card-compatibility__list--extra{padding-top:5px;}
.mf-card-compatibility__list--extra .mf-card-compatibility__item{background:rgba(5,16,26,.58);}
@media(max-width:760px){
  .mf-card-description{-webkit-line-clamp:3;min-height:calc(1.4em * 2);max-height:calc(1.4em * 3);}
  .mf-card-compatibility__versions{-webkit-line-clamp:2;}
}


/* ModKlad 1.0.22 — functioning right filters, muted light mode, and addnews submission page */
[data-card-category-source]{display:none!important}
.mf-filter-category{border:1px solid transparent;border-radius:9px;overflow:hidden;transition:border-color .16s,background .16s}
.mf-filter-category[open]{border-color:var(--mf-border);background:rgba(17,39,52,.28)}
.mf-filter-category>summary{display:flex;align-items:center;gap:9px;min-height:37px;padding:7px 8px;cursor:pointer;list-style:none;color:#b9cbd9;font-size:10px;font-weight:700;user-select:none}
.mf-filter-category>summary::-webkit-details-marker{display:none}
.mf-filter-category>summary:hover{background:rgba(66,232,145,.055);color:#eefaf4}
.mf-filter-category__icon{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border:1px solid rgba(118,165,190,.16);border-radius:7px;background:#102332;color:#86b7d1;font-size:13px}
.mf-filter-chevron{width:13px;height:13px;margin-left:auto;flex:0 0 13px;fill:none;stroke:#7795a9;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.mf-filter-category[open] .mf-filter-chevron{transform:rotate(180deg);stroke:var(--mf-green)}
.mf-filter-category .mf-filter-nested{display:grid;gap:3px;padding:0 8px 9px 41px}
.mf-filter-option{display:flex;align-items:flex-start;gap:7px;min-width:0;padding:5px 6px;border-radius:6px;color:#92aabe;font-size:9px;line-height:1.35;cursor:pointer}
.mf-filter-option:hover{background:rgba(75,133,155,.09);color:#d9e8f0}
.mf-filter-option input{flex:0 0 auto;margin:1px 0 0;accent-color:var(--mf-green);cursor:pointer}
.mf-filter-option--parent{color:#68e9a5;font-weight:750}
.mf-check-grid--loaders{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px}
.mf-check-grid--loaders label{min-width:0}
.mf-filter-tree{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:3px;max-height:390px;overflow:auto;overscroll-behavior:contain;padding:0 3px 0 0;min-width:0;box-sizing:border-box}
.mf-filter-tree>.mf-filter-category{width:100%;min-width:0;box-sizing:border-box;align-self:start}
.mf-filter-tree::-webkit-scrollbar{width:4px}.mf-filter-tree::-webkit-scrollbar-thumb{background:#294356;border-radius:5px}
.mf-filter-empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:190px;padding:26px;border:1px dashed var(--mf-border-strong);border-radius:14px;background:var(--mf-panel);color:var(--mf-muted);text-align:center}
.mf-filter-empty-state[hidden]{display:none!important}
.mf-filter-empty-state__icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--mf-border);border-radius:13px;color:var(--mf-green);font-size:23px}
.mf-filter-empty-state strong{color:var(--mf-text);font-size:13px}.mf-filter-empty-state>span:last-child{max-width:280px;font-size:10px;line-height:1.5}
.mf-nav-link--submit{margin-top:5px;border:1px solid rgba(66,232,145,.18);background:rgba(29,117,78,.12);color:#8cf3b7}
.mf-nav-link--submit .mf-nav-ico{color:var(--mf-green);font-weight:800}
.mf-nav-link--submit:hover{border-color:rgba(66,232,145,.35);background:rgba(29,143,87,.18);color:#b8ffd5}

/* Addnews page — keep DLE input names and outer form supplied by DLE unchanged. */
.mf-submit-page{display:grid;gap:14px;min-width:0;width:100%;max-width:1040px;margin:0 auto 26px;color:var(--mf-text)}
.mf-submit-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;padding:22px 24px;border:1px solid rgba(77,172,134,.24);border-radius:15px;background:radial-gradient(ellipse at 90% 10%,rgba(57,216,140,.11),transparent 38%),linear-gradient(130deg,#0b1d29,#0a1722 62%,#10271f);color:#edf8ff}
.mf-submit-hero__copy{position:relative;z-index:1;min-width:0;max-width:680px}
.mf-submit-eyebrow{display:flex;align-items:center;gap:7px;margin-bottom:9px;color:#72e8aa;font-size:8px;font-weight:850;letter-spacing:.14em}
.mf-submit-eyebrow i{width:6px;height:6px;border-radius:50%;background:#46e993;box-shadow:0 0 12px rgba(66,232,145,.7)}
.mf-submit-hero h1{margin:0 0 7px;color:#f5fbff;font-size:clamp(23px,3vw,31px);font-weight:850;letter-spacing:-.055em;line-height:1.08}
.mf-submit-hero p{max-width:630px;margin:0;color:#9eb4c5;font-size:11px;line-height:1.65}
.mf-submit-hero__badge{display:flex;flex:0 0 125px;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;border:1px solid rgba(74,226,151,.2);border-radius:12px;background:rgba(5,24,26,.55);text-align:center}
.mf-submit-hero__badge>span{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:rgba(60,220,138,.12);color:#56e99c;font-size:22px}
.mf-submit-hero__badge b{color:#d9f8e7;font-size:10px}.mf-submit-hero__badge small{color:#84a69b;font-size:8px}
.mf-submit-card{display:grid;gap:15px;min-width:0;padding:19px;border:1px solid var(--mf-border);border-radius:13px;background:linear-gradient(145deg,rgba(11,25,37,.98),rgba(8,20,30,.98));box-shadow:0 8px 24px rgba(0,0,0,.08)}
.mf-submit-card__heading{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid var(--mf-border)}
.mf-submit-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(65,230,145,.18);border-radius:10px;background:rgba(31,120,83,.18);color:#61eaa3;font-size:10px;font-weight:900}
.mf-submit-card__heading h2{margin:0;color:#f0f8ff;font-size:14px;font-weight:800;letter-spacing:-.02em}
.mf-submit-card__heading p{margin:3px 0 0;color:#819cb0;font-size:9px;line-height:1.4}
.mf-submit-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px;min-width:0}
.mf-submit-field{display:grid;align-content:start;gap:7px;min-width:0}
.mf-submit-field--wide{grid-column:1/-1}
.mf-submit-field>label,.mf-submit-security-field>label{display:block;color:#b9cedd;font-size:10px;font-weight:750}
.mf-submit-field>label b{color:#5be9a0}
.mf-submit-field input.wide,.mf-submit-field textarea.wide,.mf-submit-field select,.mf-submit-category-select select,.mf-submit-security-field input[type=text],.mf-submit-security-field input.wide,.mf-submit-vote-fields input,.mf-submit-vote-fields textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:40px;padding:10px 12px;border:1px solid rgba(117,161,190,.22);border-radius:8px;background:#071522;color:#edf7ff;font:inherit;font-size:11px;line-height:1.45;box-shadow:inset 0 1px rgba(255,255,255,.015);outline:none;transition:border-color .18s,box-shadow .18s}
.mf-submit-field textarea.wide,.mf-submit-vote-fields textarea{min-height:130px;resize:vertical}
.mf-submit-field input:focus,.mf-submit-field textarea:focus,.mf-submit-field select:focus,.mf-submit-category-select select:focus,.mf-submit-security-field input:focus,.mf-submit-vote-fields input:focus,.mf-submit-vote-fields textarea:focus{border-color:rgba(66,232,145,.58);box-shadow:0 0 0 3px rgba(66,232,145,.08)}
.mf-submit-field>small{color:#7894aa;font-size:9px;line-height:1.5}
.mf-submit-category-select select{appearance:auto}
.mf-submit-page .bb-editor{min-width:0;padding:8px;border:1px solid var(--mf-border);border-radius:9px;background:rgba(5,15,24,.56)}
.mf-submit-page .bb-editor textarea[name="short_story"],.mf-submit-page .bb-editor textarea[name="full_story"]{width:100%;max-width:100%;min-height:150px;border:1px solid rgba(117,161,190,.18);border-radius:7px;background:#071522;color:#edf7ff;padding:10px;box-sizing:border-box}
.mf-submit-field--fullstory{margin-top:2px}
.mf-submit-xfields{display:grid;gap:10px;min-width:0}
.mf-submit-xfields>div,.mf-submit-xfields .xfield,.mf-submit-xfields .form-group{box-sizing:border-box;min-width:0;max-width:100%;padding:12px;border:1px solid rgba(117,161,190,.13);border-radius:9px;background:rgba(8,23,34,.58)}
.mf-submit-xfields label,.mf-submit-xfields .xfieldslabel{color:#c0d1de;font-size:10px;font-weight:700}
.mf-submit-xfields input:not([type=checkbox]):not([type=radio]):not([type=file]),.mf-submit-xfields select,.mf-submit-xfields textarea{box-sizing:border-box;max-width:100%;width:100%;min-height:38px;padding:9px 11px;border:1px solid rgba(117,161,190,.22);border-radius:7px;background:#071522;color:#edf7ff;font-size:11px}
.mf-submit-xfields textarea{min-height:95px;resize:vertical}
.mf-submit-tip{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid rgba(86,172,255,.18);border-radius:9px;background:rgba(44,101,153,.09)}
.mf-submit-tip b{flex:0 0 auto;color:#a4d2ff;font-size:10px}.mf-submit-tip span{color:#92abc0;font-size:9px;line-height:1.6}.mf-submit-tip code{color:#c4e3ff;font-size:9px}
.mf-submit-vote{display:grid;gap:10px}
.mf-submit-vote-toggle{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;min-height:36px;padding:7px 11px;border:1px solid rgba(66,232,145,.2);border-radius:8px;background:rgba(31,120,83,.13);color:#75edaa;font-size:10px;font-weight:750;cursor:pointer}
.mf-submit-vote-toggle>span:first-child{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:rgba(66,232,145,.14);font-size:15px}
.mf-submit-vote-toggle svg{width:13px;height:13px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}
.mf-submit-vote-toggle.is-active svg{transform:rotate(180deg)}
.mf-submit-vote-fields{padding:13px;border:1px solid var(--mf-border);border-radius:9px;background:rgba(5,15,24,.4)}
.mf-submit-vote-fields[hidden]{display:none!important}
.mf-submit-checkbox{display:flex!important;align-items:center;gap:8px;margin-top:9px;color:#9ab1c3!important;font-weight:500!important;font-size:10px!important}.mf-submit-checkbox input{accent-color:var(--mf-green)}
.mf-submit-admin-options{color:#a4bbcc;font-size:10px;line-height:1.7}
.mf-submit-security-card{gap:13px}
.mf-submit-security-field{min-width:0;color:#aac1d2;font-size:10px}
.mf-submit-security-field input[type=text],.mf-submit-security-field input.wide{margin-top:7px}
.mf-submit-captcha{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.mf-submit-captcha>div{padding:5px;border:1px solid var(--mf-border);border-radius:7px;background:#fff}.mf-submit-captcha>label{flex:1 1 220px;min-width:0;color:#b9cedd;font-size:10px}
.mf-submit-required-note{margin:0;color:#7995aa;font-size:9px;line-height:1.55}.mf-submit-required-note b{color:#56e99c}
.mf-submit-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:5px}
.mf-submit-primary{min-width:220px;min-height:43px;font-size:11px}.mf-submit-primary span{font-size:15px}
.mf-submit-preview{min-height:43px;border:1px solid rgba(112,156,186,.22);background:rgba(19,39,55,.7);color:#bcd0df}
.mf-layout:has(.mf-submit-page){grid-template-columns:var(--mf-sidebar) minmax(0,1fr)}
.mf-layout:has(.mf-submit-page) .mf-rightbar{display:none}

/* Restrained light mode: soft grey-green surfaces, no glaring white panels. */
body.mf-body.theme-light{--mf-bg:#d8dfdd;--mf-bg-2:#e0e5e2;--mf-panel:#e4e9e6;--mf-panel-2:#dce3df;--mf-card:#dfe6e2;--mf-border:rgba(37,61,53,.17);--mf-border-strong:rgba(41,97,69,.28);--mf-text:#20332d;--mf-muted:#65766f;--mf-muted-2:#7a8982;--mf-green:#2b8c61;--mf-green-bright:#43a977;--mf-green-dark:#d2e1d7;background:linear-gradient(135deg,#dfe4e1,#d4dcda 58%,#dce2df);color:var(--mf-text)}
body.theme-light .mf-topbar,body.theme-light .mf-sidebar{background:rgba(218,225,221,.97)!important;border-color:rgba(45,66,58,.16)!important}
body.theme-light .mf-topbar{box-shadow:0 5px 22px rgba(40,59,51,.05)}
body.theme-light .mf-layout{background:transparent}
body.theme-light .mf-top-search,body.theme-light .mf-user,body.theme-light .mf-panel,body.theme-light .mf-mod-card,body.theme-light .mf-benefits,body.theme-light .mf-tabs,body.theme-light .mf-full-content,body.theme-light .mf-static-page,body.theme-light .mf-account-card,body.theme-light .mf-account-page-head,body.theme-light .mf-profile-hero,body.theme-light .mf-search-page{background:#e3e9e5!important;border-color:rgba(44,66,58,.16)!important;color:#243730!important;box-shadow:0 6px 22px rgba(38,55,48,.04)}
body.theme-light .mf-card-body,body.theme-light .mf-card-compatibility,body.theme-light .mf-card-compatibility__item,body.theme-light .mf-popular-mod,body.theme-light .mf-filter-category[open],body.theme-light .mf-filter-empty-state{background:#dce4df!important;border-color:rgba(45,70,60,.16)!important}
body.theme-light .mf-top-search,body.theme-light .mf-filter-search,body.theme-light .mf-filter-block select,body.theme-light .mf-check-grid input,body.theme-light .mf-form-field input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),body.theme-light .mf-form-field textarea,body.theme-light .mf-form-field select,body.theme-light .mf-login-form>label input,body.theme-light .mf-profile-edit-grid input:not([type=checkbox]):not([type=file]),body.theme-light .mf-profile-edit-grid textarea,body.theme-light .mf-profile-edit-grid select,body.theme-light .mf-search-page input,body.theme-light .mf-search-page select,body.theme-light .mf-search-page textarea{background:#d4ddd8!important;color:#243a31!important;border-color:rgba(42,69,58,.2)!important}
body.theme-light .mf-top-search input,body.theme-light .mf-user b,body.theme-light .mf-nav-link,body.theme-light .mf-tree summary,body.theme-light .mf-tree-children a,body.theme-light .mf-tax-node-link,body.theme-light .mf-filter-category>summary,body.theme-light .mf-filter-option,body.theme-light .mf-panel-heading h2,body.theme-light .mf-card-title-row h3,body.theme-light .mf-popular-mod__title,body.theme-light .mf-benefit b{color:#263d33!important}
body.theme-light .mf-nav-link:hover,body.theme-light .mf-tax-node-link:hover,body.theme-light .mf-filter-option:hover{background:rgba(56,130,91,.09)!important;color:#1c6744!important}
body.theme-light .mf-nav-link.is-active{background:linear-gradient(100deg,rgba(45,151,99,.16),rgba(44,123,89,.07))!important;color:#226f49!important;box-shadow:inset 2px 0 #399a6b}
body.theme-light .mf-nav-ico,body.theme-light .mf-tax-node-icon{color:#557b68}
body.theme-light .mf-card-description,body.theme-light .mf-card-stats,body.theme-light .mf-benefit small,body.theme-light .mf-submit-card__heading p,body.theme-light .mf-filter-block label,body.theme-light .mf-filter-label{color:#62756b!important}
body.theme-light .mf-card-tags .mf-mini-tag,body.theme-light .mf-filter-category__icon{background:#d2dcd6!important;border-color:rgba(45,75,60,.15)!important;color:#466957!important}
body.theme-light .mf-catalog-button{background:#e1e8e3!important;border-color:rgba(45,140,97,.3)!important;color:#246d49!important}
body.theme-light .mf-hero-shade{background:linear-gradient(90deg,rgba(5,14,18,.94),rgba(4,14,21,.72) 33%,rgba(6,16,22,.35) 68%,rgba(6,16,22,.08) 100%)}
body.theme-light .mf-pack-shelf,body.theme-light .mf-lower-strip{background:#e0e6e2!important;border-color:rgba(44,66,58,.14)!important}
body.theme-light .mf-submit-card{background:linear-gradient(145deg,#e3e9e5,#dce3df)!important;border-color:rgba(44,70,58,.17)!important;box-shadow:0 8px 24px rgba(38,55,48,.04)}
body.theme-light .mf-submit-hero{background:radial-gradient(ellipse at 90% 10%,rgba(57,216,140,.10),transparent 38%),linear-gradient(130deg,#29433a,#263830 70%,#2f4e40)!important}
body.theme-light .mf-submit-card__heading h2,body.theme-light .mf-submit-field>label,body.theme-light .mf-submit-security-field>label,body.theme-light .mf-submit-xfields label{color:#354d40!important}
body.theme-light .mf-submit-field input.wide,body.theme-light .mf-submit-field textarea.wide,body.theme-light .mf-submit-field select,body.theme-light .mf-submit-category-select select,body.theme-light .mf-submit-security-field input[type=text],body.theme-light .mf-submit-vote-fields input,body.theme-light .mf-submit-vote-fields textarea,body.theme-light .mf-submit-page .bb-editor textarea[name="short_story"],body.theme-light .mf-submit-page .bb-editor textarea[name="full_story"],body.theme-light .mf-submit-xfields input:not([type=checkbox]):not([type=radio]):not([type=file]),body.theme-light .mf-submit-xfields select,body.theme-light .mf-submit-xfields textarea{background:#d3ddd6!important;color:#263b30!important;border-color:rgba(42,72,57,.2)!important}
body.theme-light .mf-submit-xfields>div,body.theme-light .mf-submit-xfields .xfield,body.theme-light .mf-submit-xfields .form-group,body.theme-light .mf-submit-vote-fields{background:#dce4de!important;border-color:rgba(44,72,57,.15)!important}
body.theme-light .mf-submit-field>small,body.theme-light .mf-submit-tip span,body.theme-light .mf-submit-required-note{color:#65796d!important}
body.theme-light .mf-submit-preview{background:#d4ded7!important;color:#315541!important;border-color:rgba(44,72,57,.2)!important}
body.theme-light #searchsuggestions{background:#e3e9e5!important;border-color:rgba(44,66,58,.16)!important;color:#243730!important}
body.theme-light .mf-fast-search-copy strong,body.theme-light .mf-search-short-result a,body.theme-light .mf-search-comment-heading a{color:#243b31!important}
body.theme-light .mf-search-short-result,body.theme-light .mf-search-comment-result{background:#e0e7e2!important;border-color:rgba(44,66,58,.16)!important;color:#354c40!important}
.mf-layout:has(.mf-submit-page) .mf-main-inner{max-width:1180px}
@media(max-width:760px){.mf-submit-hero{align-items:flex-start;padding:17px;gap:12px}.mf-submit-hero__badge{flex-basis:88px;padding:10px 6px}.mf-submit-hero__badge>span{width:29px;height:29px}.mf-submit-card{padding:13px;gap:12px}.mf-submit-fields-grid{grid-template-columns:1fr}.mf-submit-field--wide{grid-column:auto}.mf-submit-actions{align-items:stretch;flex-direction:column}.mf-submit-actions .mf-button{width:100%;min-width:0}.mf-submit-tip{flex-direction:column;gap:5px}.mf-filter-tree{max-height:310px}}
@media(max-width:420px){.mf-submit-hero{flex-direction:column}.mf-submit-hero__badge{display:none}.mf-submit-hero p{font-size:10px}.mf-submit-card__heading h2{font-size:13px}.mf-submit-icon{width:30px;height:30px;flex-basis:30px}}


/* DLE 21 XFields: preserve the native table output while presenting each row as a card. */
.mf-submit-xfields-table{width:100%;max-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 8px;color:var(--mf-text)}
.mf-submit-xfields-table tr td{vertical-align:top;min-width:0;padding:12px;background:rgba(8,23,34,.58);border-top:1px solid rgba(117,161,190,.13);border-bottom:1px solid rgba(117,161,190,.13);overflow-wrap:anywhere}
.mf-submit-xfields-table tr td:first-child{width:235px;border-left:1px solid rgba(117,161,190,.13);border-radius:9px 0 0 9px}
.mf-submit-xfields-table tr td:last-child{border-right:1px solid rgba(117,161,190,.13);border-radius:0 9px 9px 0}
.mf-submit-xfields-table tr td:only-child{border-right:1px solid rgba(117,161,190,.13);border-radius:9px}
.mf-submit-xfields-table td, .mf-submit-xfields-table td *{min-width:0;max-width:100%;box-sizing:border-box}
.mf-submit-xfields-table td input:not([type=checkbox]):not([type=radio]):not([type=file]),.mf-submit-xfields-table td select,.mf-submit-xfields-table td textarea{display:block;width:100%;max-width:100%;min-height:38px;padding:9px 11px;border:1px solid rgba(117,161,190,.22);border-radius:7px;background:#071522;color:#edf7ff;font-size:11px}
.mf-submit-xfields-table td textarea{min-height:95px;resize:vertical}
.mf-submit-xfields-table td input[type=file]{max-width:100%;color:var(--mf-muted)}
body.theme-light .mf-submit-xfields-table tr td{background:#dce4de!important;border-color:rgba(44,72,57,.16)!important;color:#354d40!important}
body.theme-light .mf-submit-xfields-table td input:not([type=checkbox]):not([type=radio]):not([type=file]),body.theme-light .mf-submit-xfields-table td select,body.theme-light .mf-submit-xfields-table td textarea{background:#d3ddd6!important;color:#263b30!important;border-color:rgba(42,72,57,.2)!important}
@media(max-width:680px){.mf-submit-xfields-table,.mf-submit-xfields-table tbody,.mf-submit-xfields-table tr{display:block;width:100%}.mf-submit-xfields-table tr{margin:0 0 9px;border:1px solid rgba(117,161,190,.13);border-radius:9px;overflow:hidden}.mf-submit-xfields-table tr td,.mf-submit-xfields-table tr td:first-child,.mf-submit-xfields-table tr td:last-child,.mf-submit-xfields-table tr td:only-child{display:block;width:100%!important;border:0;border-radius:0;padding:10px 11px}.mf-submit-xfields-table tr td+td{padding-top:0}.mf-submit-xfields-table tr td:first-child{padding-bottom:5px;font-weight:750}.mf-submit-xfields-table tr td:last-child{padding-top:5px;padding-bottom:12px}}


/* ModKlad 1.0.23 — native DLE favorites, compact XFields, info messages and muted graphite light theme. */
/* Modern DLE (19+) renders {xfields} as block elements; style those blocks directly instead of forcing a table. */
.mf-submit-xfields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:9px;min-width:0;max-width:100%}
.mf-submit-xfields>*{min-width:0;max-width:100%;margin:0!important;padding:10px 12px!important;border:1px solid rgba(117,161,190,.15)!important;border-radius:10px!important;background:rgba(8,23,34,.54)!important;color:var(--mf-text);box-shadow:none!important}
.mf-submit-xfields label,.mf-submit-xfields .xfieldslabel,.mf-submit-xfields b,.mf-submit-xfields strong{display:block;margin:0 0 5px;color:#c7d7e3;font-size:10px;font-weight:750;line-height:1.4}
.mf-submit-xfields input:not([type=checkbox]):not([type=radio]):not([type=file]),.mf-submit-xfields select,.mf-submit-xfields textarea{display:block;width:100%;max-width:100%;min-height:36px;padding:8px 10px;border:1px solid rgba(117,161,190,.22);border-radius:7px;background:#071522;color:#edf7ff;font-size:11px}
.mf-submit-xfields textarea{min-height:74px;resize:vertical}
.mf-submit-xfields select[multiple]{min-height:82px;max-height:115px;padding:5px 7px}
.mf-submit-xfields input[type=file]{display:block;width:100%;max-width:100%;min-height:34px;padding:5px 0;color:var(--mf-muted);font-size:10px}
/* The extra-field descriptions are already explained by the concise section hint; don't repeat them under every control. */
.mf-submit-xfields small,.mf-submit-xfields p,.mf-submit-xfields .xfielddesc,.mf-submit-xfields .xfield-descr,.mf-submit-xfields .xfield-description,.mf-submit-xfields .xfieldsdescr,.mf-submit-xfields .xfields-description,.mf-submit-xfields [class*="xfielddesc"],.mf-submit-xfields [class*="xfield-desc"],.mf-submit-xfields [class*="field-description"]{display:none!important}
.mf-submit-xfields [class*="button"],.mf-submit-xfields button,.mf-submit-xfields input[type=button]{min-height:25px;padding:4px 8px;border-radius:6px;border:1px solid rgba(66,232,145,.22);background:rgba(25,79,56,.72);color:#73f3aa;font-size:10px}
.mf-submit-tip--compact{display:flex;align-items:center;gap:9px;margin:0;padding:9px 11px;border-radius:9px}
.mf-submit-tip--compact .mf-submit-tip__mark{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:6px;background:rgba(66,232,145,.12);color:var(--mf-green);font-size:11px;font-weight:800}
.mf-submit-tip--compact>span:last-child{font-size:10px;line-height:1.4}

/* DLE-native bookmarks: the engine wraps the inner heart with an anchor. */
.mf-card-bookmark-slot{position:absolute;z-index:5;top:7px;right:7px;width:29px;height:29px}
.mf-card-bookmark-slot>a{display:block;width:100%;height:100%;border-radius:8px;text-decoration:none}
.mf-card-bookmark{position:static;width:100%;height:100%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(3,12,20,.72);color:#eff8ff;font-size:17px;line-height:1;backdrop-filter:blur(8px);transition:background .16s,border-color .16s,color .16s,transform .16s}
.mf-card-bookmark-slot>a:hover .mf-card-bookmark{transform:translateY(-1px);border-color:rgba(66,232,145,.5)}
.mf-card-bookmark.is-saved{color:#66f4a5;background:rgba(10,75,47,.9);border-color:rgba(66,232,145,.45)}
/* Full-story favorites are positioned over the cover, top-right. */
.mf-full-hero{position:relative}
.mf-full-heading{padding:52px 180px 28px 25px;max-width:760px}
.mf-full-favorite-slot{position:absolute;top:15px;right:15px;z-index:5;display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:calc(100% - 30px);margin:0}
.mf-full-favorite-slot>a{display:inline-flex;max-width:100%;text-decoration:none;line-height:1}
.mf-full-favorite{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 11px;border:1px solid rgba(117,164,196,.28);border-radius:9px;background:rgba(5,17,25,.78);box-shadow:0 5px 16px rgba(0,0,0,.18);backdrop-filter:blur(9px);color:#d5e4ef;font-size:10px;font-weight:750;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,transform .18s}
.mf-full-favorite-slot>a:hover .mf-full-favorite{border-color:rgba(66,232,145,.48);color:#78f4b0;transform:translateY(-1px)}
.mf-full-favorite.is-saved{border-color:rgba(66,232,145,.38);background:rgba(18,73,49,.82);color:#6cf0a5}
@media(max-width:600px){.mf-full-heading{padding:66px 16px 22px;max-width:none}.mf-full-favorite-slot{top:11px;right:11px;max-width:calc(100% - 22px)}.mf-full-favorite{min-height:31px;padding:7px 9px;font-size:9px}.mf-full-hero{min-height:230px}}

/* Site-wide DLE info.tpl message card. */
.mf-info-card{display:flex;align-items:flex-start;gap:13px;margin:0 0 16px;padding:16px 18px;border:1px solid var(--mf-border-strong);border-radius:13px;background:linear-gradient(135deg,rgba(12,31,43,.96),rgba(8,22,32,.96));color:var(--mf-text);box-shadow:0 12px 28px rgba(0,0,0,.12)}
.mf-info-card__icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:rgba(66,232,145,.11);color:var(--mf-green)}
.mf-info-card__icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mf-info-card__body{min-width:0;flex:1}.mf-info-card__body h2{margin:1px 0 5px;font-size:14px;line-height:1.35;font-weight:800;color:var(--mf-text)}
.mf-info-card__message{font-size:11px;line-height:1.65;color:var(--mf-muted);overflow-wrap:anywhere}.mf-info-card__message p{margin:0 0 7px}.mf-info-card__message p:last-child{margin-bottom:0}.mf-info-card__message a{color:var(--mf-green-bright);text-decoration:underline;text-underline-offset:2px}.mf-info-card__message ul,.mf-info-card__message ol{margin:7px 0;padding-left:20px}

/* Calm light theme: neutral stone-grey with restrained green, not bright mint/white. */
body.mf-body.theme-light{--mf-bg:#b9c0bb;--mf-bg-2:#c0c7c1;--mf-panel:#c6ccc7;--mf-panel-2:#bdc5bf;--mf-card:#c2c9c3;--mf-border:rgba(37,53,45,.20);--mf-border-strong:rgba(39,95,65,.3);--mf-text:#26332d;--mf-muted:#526159;--mf-muted-2:#657169;--mf-green:#287b55;--mf-green-bright:#329365;--mf-green-dark:#bdc9bf;--mf-shadow:0 12px 32px rgba(35,47,40,.11);color-scheme:light;background:linear-gradient(135deg,#c1c7c2,#b5bdb7 55%,#bec5bf);color:var(--mf-text)}
body.theme-light .mf-topbar,body.theme-light .mf-sidebar{background:rgba(188,196,190,.98)!important;border-color:rgba(42,58,49,.2)!important}
body.theme-light .mf-topbar{box-shadow:0 5px 22px rgba(34,47,39,.08)}
body.theme-light .mf-top-search,body.theme-light .mf-user,body.theme-light .mf-panel,body.theme-light .mf-mod-card,body.theme-light .mf-benefits,body.theme-light .mf-tabs,body.theme-light .mf-full-content,body.theme-light .mf-static-page,body.theme-light .mf-account-card,body.theme-light .mf-account-page-head,body.theme-light .mf-profile-hero,body.theme-light .mf-search-page{background:#c9cec9!important;border-color:rgba(42,58,49,.19)!important;color:#26332d!important;box-shadow:0 5px 17px rgba(33,48,39,.06)}
body.theme-light .mf-card-body,body.theme-light .mf-card-compatibility,body.theme-light .mf-card-compatibility__item,body.theme-light .mf-popular-mod,body.theme-light .mf-filter-category[open],body.theme-light .mf-filter-empty-state{background:#bfc7c1!important;border-color:rgba(42,58,49,.18)!important}
body.theme-light .mf-top-search,body.theme-light .mf-filter-search,body.theme-light .mf-filter-block select,body.theme-light .mf-check-grid input,body.theme-light .mf-form-field input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),body.theme-light .mf-form-field textarea,body.theme-light .mf-form-field select,body.theme-light .mf-login-form>label input,body.theme-light .mf-profile-edit-grid input:not([type=checkbox]):not([type=file]),body.theme-light .mf-profile-edit-grid textarea,body.theme-light .mf-profile-edit-grid select,body.theme-light .mf-search-page input,body.theme-light .mf-search-page select,body.theme-light .mf-search-page textarea{background:#b5beb7!important;color:#27352e!important;border-color:rgba(42,58,49,.23)!important}
body.theme-light .mf-top-search input,body.theme-light .mf-user b,body.theme-light .mf-nav-link,body.theme-light .mf-tree summary,body.theme-light .mf-tree-children a,body.theme-light .mf-tax-node-link,body.theme-light .mf-filter-category>summary,body.theme-light .mf-filter-option,body.theme-light .mf-panel-heading h2,body.theme-light .mf-card-title-row h3,body.theme-light .mf-popular-mod__title,body.theme-light .mf-benefit b{color:#26332d!important}
body.theme-light .mf-nav-link:hover,body.theme-light .mf-tax-node-link:hover,body.theme-light .mf-filter-option:hover{background:rgba(39,110,75,.10)!important;color:#1d6241!important}
body.theme-light .mf-nav-link.is-active{background:linear-gradient(100deg,rgba(40,123,85,.17),rgba(44,107,78,.08))!important;color:#205d40!important;box-shadow:inset 2px 0 #287b55}
body.theme-light .mf-nav-ico,body.theme-light .mf-tax-node-icon{color:#4e6f5e}
body.theme-light .mf-card-description,body.theme-light .mf-card-stats,body.theme-light .mf-benefit small,body.theme-light .mf-submit-card__heading p,body.theme-light .mf-filter-block label,body.theme-light .mf-filter-label{color:#526159!important}
body.theme-light .mf-card-tags .mf-mini-tag,body.theme-light .mf-filter-category__icon{background:#b5beb7!important;border-color:rgba(42,58,49,.15)!important;color:#41584a!important}
body.theme-light .mf-catalog-button{background:#c9d0ca!important;border-color:rgba(39,123,85,.33)!important;color:#205f41!important}
body.theme-light .mf-pack-shelf,body.theme-light .mf-lower-strip{background:#c3cac4!important;border-color:rgba(42,58,49,.17)!important}
body.theme-light .mf-submit-card{background:linear-gradient(145deg,#c9cfca,#bec6bf)!important;border-color:rgba(42,58,49,.18)!important;box-shadow:0 8px 20px rgba(33,48,39,.06)}
body.theme-light .mf-submit-hero{background:radial-gradient(ellipse at 90% 10%,rgba(57,216,140,.10),transparent 38%),linear-gradient(130deg,#354d41,#34453c 70%,#40564a)!important}
body.theme-light .mf-submit-card__heading h2,body.theme-light .mf-submit-field>label,body.theme-light .mf-submit-security-field>label,body.theme-light .mf-submit-xfields label,body.theme-light .mf-submit-xfields .xfieldslabel,body.theme-light .mf-submit-xfields b,body.theme-light .mf-submit-xfields strong{color:#304238!important}
body.theme-light .mf-submit-field input.wide,body.theme-light .mf-submit-field textarea.wide,body.theme-light .mf-submit-field select,body.theme-light .mf-submit-category-select select,body.theme-light .mf-submit-security-field input[type=text],body.theme-light .mf-submit-vote-fields input,body.theme-light .mf-submit-vote-fields textarea,body.theme-light .mf-submit-page .bb-editor textarea[name="short_story"],body.theme-light .mf-submit-page .bb-editor textarea[name="full_story"],body.theme-light .mf-submit-xfields input:not([type=checkbox]):not([type=radio]):not([type=file]),body.theme-light .mf-submit-xfields select,body.theme-light .mf-submit-xfields textarea{background:#b4bdb6!important;color:#26352e!important;border-color:rgba(42,58,49,.22)!important}
body.theme-light .mf-submit-xfields>*{background:#c0c8c1!important;border-color:rgba(42,58,49,.18)!important;color:#304238!important}
body.theme-light .mf-submit-field>small,body.theme-light .mf-submit-tip span,body.theme-light .mf-submit-required-note{color:#526159!important}
body.theme-light .mf-submit-preview{background:#b6c0b8!important;color:#315541!important;border-color:rgba(42,58,49,.22)!important}
body.theme-light #searchsuggestions{background:#c8cec9!important;border-color:rgba(42,58,49,.19)!important;color:#26332d!important}
body.theme-light .mf-fast-search-copy strong,body.theme-light .mf-search-short-result a,body.theme-light .mf-search-comment-heading a{color:#263a2e!important}
body.theme-light .mf-search-short-result,body.theme-light .mf-search-comment-result{background:#c0c8c1!important;border-color:rgba(42,58,49,.18)!important;color:#34463a!important}
body.theme-light .mf-info-card{background:linear-gradient(135deg,#c8cec9,#bdc6bf)!important;border-color:rgba(39,95,65,.26)!important;box-shadow:0 9px 22px rgba(33,48,39,.07)}
body.theme-light .mf-info-card__body h2{color:#29382f!important}body.theme-light .mf-info-card__message{color:#4d5e53!important}body.theme-light .mf-info-card__message a{color:#216b47!important}
body.theme-light .mf-full-favorite{background:rgba(179,191,181,.9);color:#2e4236;border-color:rgba(42,58,49,.22)}
@media(max-width:760px){.mf-submit-xfields{grid-template-columns:1fr}.mf-submit-xfields>*{padding:10px!important}.mf-submit-tip--compact{align-items:flex-start}}


/* ModKlad 1.0.23 refinement: purpose-built XField layout for DLE addnews form. */
.mf-submit-xfields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.mf-submit-xfield{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;max-width:100%;padding:11px 12px;border:1px solid rgba(117,161,190,.15);border-radius:10px;background:rgba(8,23,34,.54);color:var(--mf-text)}
.mf-submit-xfield--wide{grid-column:1/-1}.mf-submit-xfield__head{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;line-height:1.35}.mf-submit-xfield__head b{font-size:10px;font-weight:800;color:#c7d7e3}.mf-submit-xfield__head small{font-size:9px;color:#8198aa}.mf-submit-xfield__head em{color:#ff9e9e;font-style:normal}
.mf-submit-xfield>*:not(.mf-submit-xfield__head){min-width:0;max-width:100%}
.mf-submit-xfield input:not([type=checkbox]):not([type=radio]):not([type=file]),.mf-submit-xfield select,.mf-submit-xfield textarea{display:block;width:100%;max-width:100%;min-height:36px;padding:8px 10px;border:1px solid rgba(117,161,190,.22);border-radius:7px;background:#071522;color:#edf7ff;font-size:11px}
.mf-submit-xfield textarea{min-height:78px;resize:vertical}.mf-submit-xfield select[multiple]{min-height:92px;max-height:122px;padding:5px 7px}
.mf-submit-xfield input[type=file]{display:block;width:100%;max-width:100%;min-height:34px;color:var(--mf-muted);font-size:10px}
.mf-submit-xfield [class*="add"],.mf-submit-xfield button,.mf-submit-xfield input[type=button]{min-height:25px;padding:4px 8px;border-radius:6px;border:1px solid rgba(66,232,145,.22);background:rgba(25,79,56,.72);color:#73f3aa;font-size:10px}
/* Hide duplicated descriptions generated by XFields; the design supplies concise labels above each field. */
.mf-submit-xfield .xfielddesc,.mf-submit-xfield .xfield-descr,.mf-submit-xfield .xfield-description,.mf-submit-xfield .xfieldsdescr,.mf-submit-xfield [class*="field-description"],.mf-submit-xfield p{display:none!important}
body.theme-light .mf-submit-xfield{background:#c0c8c1;border-color:rgba(42,58,49,.18);color:#304238}
body.theme-light .mf-submit-xfield__head b{color:#304238}
body.theme-light .mf-submit-xfield__head small{color:#59685e}
body.theme-light .mf-submit-xfield input:not([type=checkbox]):not([type=radio]):not([type=file]),body.theme-light .mf-submit-xfield select,body.theme-light .mf-submit-xfield textarea{background:#b4bdb6;color:#26352e;border-color:rgba(42,58,49,.22)}
.mf-popular-mod{position:relative}.mf-popular-mod__favorite{position:absolute;right:7px;top:7px;z-index:5}.mf-popular-mod__favorite>a{display:block;text-decoration:none}.mf-popular-mod__heart{display:grid;place-items:center;width:22px;height:22px;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:rgba(3,12,20,.78);color:#eef8ff;font-size:14px;line-height:1}.mf-popular-mod__heart.is-saved{background:rgba(10,75,47,.9);color:#66f4a5;border-color:rgba(66,232,145,.4)}
body.theme-light .mf-popular-mod__heart{background:rgba(173,187,177,.94);color:#33483b;border-color:rgba(42,58,49,.22)}body.theme-light .mf-popular-mod__heart.is-saved{background:#b1c9b9;color:#216b47}
@media(max-width:680px){.mf-submit-xfields-grid{grid-template-columns:1fr}.mf-submit-xfield--wide{grid-column:auto}}

/* 1.0.24: cover-overlay favorite button in light mode keeps contrast over all posters. */
body.theme-light .mf-full-favorite{background:rgba(31,47,39,.86);color:#f2fbf5;border-color:rgba(255,255,255,.24);box-shadow:0 5px 16px rgba(21,31,25,.22)}
body.theme-light .mf-full-favorite.is-saved{background:rgba(18,89,56,.92);color:#b9ffd5;border-color:rgba(91,244,163,.55)}


/* ModKlad 1.0.25: native DLE news complaint action stacked below favorites. */
.mf-full-favorite-slot{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:8px;flex-wrap:nowrap;width:max-content;max-width:calc(100% - 30px)}
.mf-full-favorite-slot>a{display:inline-flex;align-items:center;justify-content:center;max-width:100%;text-decoration:none;line-height:1;cursor:pointer}
.mf-full-favorite,.mf-full-complaint{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 11px;border-radius:9px;background:rgba(5,17,25,.82);box-shadow:0 5px 16px rgba(0,0,0,.18);backdrop-filter:blur(9px);font-size:10px;font-weight:750;white-space:nowrap;transition:background .18s,border-color .18s,color .18s,transform .18s}
.mf-full-favorite{border:1px solid rgba(117,164,196,.28);color:#d5e4ef}
.mf-full-complaint{border:1px solid rgba(222,151,117,.34);color:#f0c7ad}
.mf-full-complaint__icon{display:grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:900;line-height:1}
.mf-full-favorite-slot>a:hover .mf-full-favorite,.mf-full-favorite-slot>a:hover .mf-full-complaint{transform:translateY(-1px)}
.mf-full-favorite-slot>a:hover .mf-full-favorite{border-color:rgba(66,232,145,.48);color:#78f4b0}
.mf-full-favorite-slot>a:hover .mf-full-complaint{border-color:rgba(243,173,133,.7);background:rgba(62,35,26,.92);color:#ffe0cb}
.mf-full-favorite.is-saved{border-color:rgba(66,232,145,.38);background:rgba(18,73,49,.82);color:#6cf0a5}
body.theme-light .mf-full-complaint{background:rgba(43,51,47,.9);border-color:rgba(255,218,198,.5);color:#ffe2d1}
@media(max-width:600px){.mf-full-heading{padding-top:99px}.mf-full-favorite-slot{top:11px;right:11px;max-width:calc(100% - 22px);gap:6px}.mf-full-favorite,.mf-full-complaint{min-height:31px;padding:7px 9px;font-size:9px}.mf-full-hero{min-height:250px}}

/* ModKlad 1.0.26 — straighten the DLE dialog close icon and space dialog actions. */
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close,
.ui-dialog .ui-dialog-titlebar-close.ui-button {
  position:absolute!important;top:8px!important;right:9px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
  border:1px solid rgba(129,164,188,.34)!important;border-radius:9px!important;
  background:#142a3a!important;background-image:none!important;
  color:#e6f2f8!important;font-size:0!important;line-height:0!important;text-indent:0!important;
  text-shadow:none!important;opacity:1!important;overflow:hidden!important;box-shadow:none!important;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover,
.ui-dialog .ui-dialog-titlebar-close.ui-button:hover {
  border-color:rgba(66,232,145,.48)!important;background:#1a394b!important;color:#fff!important;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close>span,
.ui-dialog .ui-dialog-titlebar-close .ui-icon,
.ui-dialog .ui-dialog-titlebar-close .ui-button-icon {
  display:none!important;background:none!important;background-image:none!important;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:before,
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:after,
.ui-dialog .ui-dialog-titlebar-close.ui-button:before,
.ui-dialog .ui-dialog-titlebar-close.ui-button:after {
  content:""!important;position:absolute!important;display:block!important;
  top:50%!important;left:50%!important;width:13px!important;height:2px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:2px!important;
  background:#e7f1f7!important;box-shadow:none!important;
  transform-origin:center!important;text-indent:0!important;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:before,
.ui-dialog .ui-dialog-titlebar-close.ui-button:before {transform:translate(-50%,-50%) rotate(45deg)!important;}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:after,
.ui-dialog .ui-dialog-titlebar-close.ui-button:after {transform:translate(-50%,-50%) rotate(-45deg)!important;}
.ui-dialog-buttonpane .ui-dialog-buttonset {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:10px!important;float:none!important;margin:0!important;
}
.ui-dialog-buttonpane .ui-dialog-buttonset button {margin:0!important;}
.ui-dialog-buttonpane .ui-dialog-buttonset button+button {margin-left:2px!important;}
@media(max-width:480px){.ui-dialog-buttonpane .ui-dialog-buttonset{gap:8px!important;flex-wrap:wrap!important}.ui-dialog-buttonpane .ui-dialog-buttonset button{min-width:82px!important}}


/* ModKlad hero refresh — new-catalog copy and no placeholder search/statistics */
.mf-hero-content{max-width:620px;padding-bottom:24px}
.mf-hero p{max-width:560px;line-height:1.55;margin-bottom:0}
.mf-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}
.mf-hero-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:9px 15px;border-radius:11px;font-size:11px;font-weight:800;line-height:1.2;text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,background .18s ease;white-space:nowrap}
.mf-hero-button:hover{transform:translateY(-1px)}
.mf-hero-button--primary{border:1px solid rgba(117,255,180,.45);background:linear-gradient(145deg,#38e797,#5af5a5);color:#052719!important;box-shadow:0 9px 24px rgba(30,223,129,.16)}
.mf-hero-button--primary:hover{background:linear-gradient(145deg,#55f4a5,#7bffb7);color:#052719!important}
.mf-hero-button--secondary{border:1px solid rgba(53,237,145,.55);background:rgba(3,17,26,.68);color:#ecf7ff!important;backdrop-filter:blur(8px)}
.mf-hero-button--secondary:hover{border-color:rgba(83,255,166,.9);background:rgba(13,44,43,.78);color:#fff!important}
.mf-hero-button-icon{font-size:19px;line-height:1}
.mf-hero-button-arrow{font-size:20px;line-height:1;margin-left:3px}
.mf-hero-button-plus{color:#4bf09a;font-size:24px;line-height:1}
.mf-hero-stat{max-width:270px;gap:11px;padding:10px 13px}
.mf-hero-stat .mf-hero-stat-icon{display:grid;flex-direction:row;place-items:center;flex:0 0 32px;width:32px;height:32px;font-size:25px;line-height:1}
.mf-hero-stat b{font-size:12px;line-height:1.3}
.mf-hero-stat small{display:block;max-width:195px;white-space:normal;font-size:9px;line-height:1.4;margin-top:3px}
.mf-benefit{min-height:48px}
.mf-benefit small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.4}
@media(max-width:1020px){
  .mf-hero-content{max-width:100%;padding-right:18px}
  .mf-hero p{max-width:440px}
  .mf-hero-stat{display:none}
  .mf-hero-actions{margin-top:16px}
}
@media(max-width:760px){
  .mf-hero{min-height:320px}
  .mf-hero-content{padding:22px 16px 18px}
  .mf-hero p{max-width:390px;font-size:11px}
  .mf-hero-actions{gap:8px;margin-top:16px}
  .mf-hero-button{min-height:40px;padding:9px 12px;font-size:10px}
  .mf-benefit{min-height:48px;align-items:flex-start;padding:7px 6px;gap:7px}
  .mf-benefit b{white-space:normal;line-height:1.3}
  .mf-benefit small{font-size:8px;line-height:1.35}
}
@media(max-width:480px){
  .mf-hero{min-height:350px}
  .mf-hero-content{padding:19px 13px 17px}
  .mf-hero h1{font-size:clamp(29px,8.5vw,37px)}
  .mf-hero-actions{display:grid;grid-template-columns:minmax(0,1fr);max-width:230px;justify-items:stretch}
  .mf-hero-button{width:100%;box-sizing:border-box}
  .mf-benefits{grid-template-columns:1fr;gap:0;padding:5px 8px}
  .mf-benefit,.mf-benefit:nth-child(2),.mf-benefit:nth-child(3),.mf-benefit:nth-child(4){min-height:0;padding:9px 4px;border-right:0;border-top:1px solid var(--mf-border)}
  .mf-benefit:first-child{border-top:0}
  .mf-benefit-icon{width:32px;height:32px;flex-basis:32px}
  .mf-benefit b{font-size:10px}
  .mf-benefit small{font-size:9px}
}


/* ModKlad 1.0.27 — profile links, private messages and avatar fallback */
.mf-profile-actions-card{grid-template-columns:minmax(0,1fr);align-content:start}
.mf-profile-actions-card .mf-account-card-heading{grid-column:1/-1}
.mf-profile-action{width:100%;text-align:left;appearance:none;font:inherit}
.mf-profile-action.is-muted{opacity:.72;cursor:default}
.mf-profile-action.is-muted:hover{border-color:rgba(111,156,187,.12);background:rgba(14,30,44,.6)}
.mf-profile-action--contact{border-color:rgba(66,232,145,.16);background:rgba(13,38,39,.55)}
.mf-profile-action--contact>span:first-child{background:rgba(66,232,145,.12)}

/* Private messages: keep DLE-generated form fields and controls usable. */
.mf-pm-page{display:grid;gap:13px;min-width:0}
.mf-pm-page .mf-account-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.mf-pm-page .mf-account-page-head h1{margin:0;color:#f1f8ff;font-size:clamp(21px,2.4vw,28px);line-height:1.15}
.mf-pm-page .mf-account-page-head p{margin:5px 0 0;color:#8ea5ba;font-size:11px;line-height:1.55}
.mf-pm-capacity{display:grid;gap:6px;flex:0 0 min(260px,42%);min-width:150px;color:#91a8bb;font-size:9px}
.mf-pm-capacity>div{min-width:0}
.mf-pm-capacity .pm-progress-bar,.mf-pm-capacity .pm_progress_bar,.mf-pm-capacity .pm-progress,.mf-pm-capacity .pm_progress{display:block;width:100%;height:7px;overflow:hidden;border:1px solid rgba(111,156,187,.17);border-radius:99px;background:#071521}
.mf-pm-capacity .pm-progress-bar span,.mf-pm-capacity .pm_progress_bar span,.mf-pm-capacity .pm-progress span,.mf-pm-capacity .pm_progress span,.mf-pm-capacity .pm_progress_bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#36d982,#6dffb1)}
.mf-pm-capacity p{margin:0!important;color:#8ea5ba!important;font-size:9px!important}
.mf-pm-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:7px;border:1px solid var(--mf-border);border-radius:11px;background:rgba(9,22,33,.78)}
.mf-pm-nav>a{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border:1px solid transparent;border-radius:8px;color:#a7bdcf;text-decoration:none;font-size:10px;font-weight:750}
.mf-pm-nav>a:hover{background:rgba(66,232,145,.08);color:#6ff1a9}
.mf-pm-nav span{display:inline-flex;align-items:center;gap:7px}
.mf-pm-nav span:before{content:'✉';color:var(--mf-green);font-size:13px}
.mf-pm-list,.mf-pm-compose,.mf-pm-conversation{min-width:0;padding:16px;border:1px solid var(--mf-border);border-radius:13px;background:linear-gradient(145deg,#0b1a28,#08131e);color:var(--mf-text)}
.mf-pm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}
.mf-pm-section-heading h2,.mf-pm-compose h2,.mf-pm-conversation h2{margin:0;color:#f0f7ff;font-size:15px;line-height:1.25}
.mf-pm-section-heading p{margin:4px 0 0;color:#8199ae;font-size:10px}
.mf-pm-list-content{width:100%;min-width:0;overflow-x:auto}
.mf-pm-list .pm{width:100%;margin:0;border-collapse:separate;border-spacing:0;font-size:10px}
.mf-pm-list .pm th{padding:10px 9px;border-bottom:1px solid rgba(111,156,187,.19);background:rgba(12,30,44,.85);color:#91a9bd;font-size:9px;text-align:left;white-space:nowrap}
.mf-pm-list .pm td{padding:11px 9px;border-bottom:1px solid rgba(111,156,187,.1);background:rgba(7,20,31,.54);color:#c6d7e4;vertical-align:middle}
.mf-pm-list .pm tr:hover td{background:rgba(18,42,55,.68)}
.mf-pm-list .pm a{color:#dcebf6;text-decoration:none}
.mf-pm-list .pm a:hover{color:#63ed9f}
.mf-pm-list .pm input[type=checkbox]{accent-color:#42e891}
.mf-pm-list .pm_navigation{margin-top:12px;text-align:center}
.mf-pm-list .navigation{display:inline-flex;gap:4px;flex-wrap:wrap}
.mf-pm-list .navigation a,.mf-pm-list .navigation span{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;padding:5px 8px;border:1px solid var(--mf-border);border-radius:7px;background:#102334;color:#c5d8e6}
.mf-pm-list .navigation span{border-color:rgba(66,232,145,.3);background:rgba(66,232,145,.12);color:#70efaa}
.mf-pm-compose{display:grid;gap:14px}
.mf-pm-compose h2{margin:0}
.mf-pm-recipient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mf-pm-field{display:grid;gap:6px;min-width:0;color:#a4bbce;font-size:10px;font-weight:700}
.mf-pm-page input[type=text],.mf-pm-page input[type=email],.mf-pm-page input[type=password],.mf-pm-page textarea,.mf-pm-page select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:38px;padding:9px 11px;border:1px solid var(--mf-border-strong);border-radius:8px;background:#071725;color:#eaf5fd;font:inherit;font-size:11px}
.mf-pm-page textarea{min-height:140px;resize:vertical}
.mf-pm-page .mf-pm-editor,.mf-pm-page .bb-editor,.mf-pm-page .editor,.mf-pm-page .wysibb{min-width:0;max-width:100%}
.mf-pm-page .mf-pm-editor iframe,.mf-pm-page .bb-editor iframe,.mf-pm-page .editor iframe,.mf-pm-page .wysibb iframe{max-width:100%}
.mf-pm-page .mf-pm-security{display:grid;gap:10px;padding:12px;border:1px solid rgba(111,156,187,.13);border-radius:9px;background:rgba(7,20,31,.55);color:#9db4c6;font-size:10px}
.mf-pm-page .mf-pm-security img{max-width:100%;height:auto;border-radius:6px}
.mf-pm-submit-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mf-pm-submit-row button,.mf-pm-submit-row input[type=submit],.mf-pm-submit-row input[type=button]{min-height:36px;padding:8px 13px;border:1px solid rgba(111,156,187,.2);border-radius:8px;background:#102436;color:#cde0ed;font-size:10px;font-weight:750;cursor:pointer}
.mf-pm-submit-row button[type=submit],.mf-pm-submit-row input[name=add],.mf-pm-submit-row input[name=submit]{border-color:transparent;background:linear-gradient(135deg,#39df90,#67f7aa);color:#052418}
.mf-pm-conversation{display:grid;gap:13px}
.mf-pm-dialog-caption{margin:5px 0 0;color:#8ea5ba;font-size:10px}
.mf-pm-messages{display:grid;gap:9px;min-width:0}
.mf-pm-message{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;padding:12px;border:1px solid rgba(111,156,187,.14);border-radius:10px;background:rgba(7,20,31,.62);min-width:0}
.mf-pm-message.is-mine{border-color:rgba(66,232,145,.2);background:rgba(14,41,39,.45)}
.mf-pm-message-avatar{width:38px;height:38px;overflow:hidden;border:1px solid var(--mf-border);border-radius:10px;background:#102538}
.mf-pm-message-avatar img{width:100%;height:100%;object-fit:cover}
.mf-pm-message-main{min-width:0}
.mf-pm-message-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:7px}
.mf-pm-message-head b{color:#e7f3fc;font-size:10px}
.mf-pm-message-head time{color:#768fa5;font-size:9px}
.mf-pm-message-text{color:#bfd0de;font-size:11px;line-height:1.7;overflow-wrap:anywhere;word-break:break-word}
.mf-pm-message-text img{max-width:100%;height:auto}
.mf-pm-message-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:9px}
.mf-pm-message-actions a{color:#6ceca6;font-size:9px;text-decoration:none}
.mf-pm-message-actions a:hover{text-decoration:underline}
.mf-pm-reply{display:grid;gap:10px;margin-top:3px;padding-top:14px;border-top:1px solid rgba(111,156,187,.15)}
.mf-pm-reply h3{margin:0;color:#e4f0f9;font-size:12px}
body.theme-light .mf-pm-list,body.theme-light .mf-pm-compose,body.theme-light .mf-pm-conversation{background:linear-gradient(145deg,#f8fcff,#eaf3f8);border-color:#d4e2eb;color:#243730}
body.theme-light .mf-pm-section-heading h2,body.theme-light .mf-pm-compose h2,body.theme-light .mf-pm-conversation h2{color:#17394c}
body.theme-light .mf-pm-page input[type=text],body.theme-light .mf-pm-page input[type=email],body.theme-light .mf-pm-page input[type=password],body.theme-light .mf-pm-page textarea,body.theme-light .mf-pm-page select{background:#fff;color:#18394a;border-color:#cadce7}
@media(max-width:900px){.mf-profile-actions-card{grid-template-columns:minmax(0,1fr)}.mf-profile-actions-card .mf-account-card-heading{grid-column:1/-1}}
@media(max-width:760px){.mf-pm-page .mf-account-page-head{align-items:stretch;flex-direction:column}.mf-pm-capacity{flex-basis:auto;width:100%}.mf-pm-recipient-grid{grid-template-columns:1fr}.mf-pm-list,.mf-pm-compose,.mf-pm-conversation{padding:12px}.mf-pm-message{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:9px}.mf-pm-message-avatar{width:32px;height:32px}}


/* ModKlad 1.0.28 — search form row, advanced-search CTA, and filter wrapping */
#dle-content.mf-search-content-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start;
  gap: 13px;
  min-width: 0;
}
#dle-content.mf-search-content-wrap > .mf-search-page,
#dle-content.mf-search-content-wrap > .mf-search-page--simple,
#dle-content.mf-search-content-wrap > .mf-search-page--extended,
#dle-content.mf-search-content-wrap > *:has(> .mf-search-page--simple),
#dle-content.mf-search-content-wrap > *:has(> .mf-search-page--extended) {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.mf-search-page--simple,
.mf-search-page--extended {
  box-sizing: border-box;
}
.mf-search-simple-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.mf-search-simple-row .mf-search-field-wrap {
  width: 100%;
  min-width: 0;
}
.mf-search-simple-row .mf-search-submit {
  min-width: 96px;
  min-height: 39px;
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  white-space: nowrap;
}
.mf-search-simple-row .mf-search-submit span {
  display: inline-block;
  margin-left: 5px;
  font-size: 15px;
  line-height: 1;
}
.mf-search-advanced-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(66, 232, 145, .28);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(26, 87, 66, .28), rgba(12, 32, 41, .72));
  color: #75f2ad !important;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.3;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.mf-search-advanced-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 13px;
  line-height: 1;
}
.mf-search-advanced-link:hover {
  border-color: rgba(66, 232, 145, .58);
  background: rgba(30, 105, 73, .32);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ModKlad 1.0.29 — stable category filters and aligned icon/title/chevron columns. */
.mf-filter-category {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.mf-filter-category > summary {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) 13px !important;
  align-items: center;
  column-gap: 8px !important;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 7px 8px;
  box-sizing: border-box;
}
.mf-filter-category > summary > .mf-filter-category__icon {
  grid-column: 1;
  justify-self: start;
  width: 25px;
  height: 25px;
  min-width: 25px;
  margin: 0;
  flex: none;
}
.mf-filter-category > summary > span:not(.mf-filter-category__icon) {
  grid-column: 2;
  display: block;
  min-width: 0 !important;
  width: auto;
  max-width: 100%;
  margin: 0;
  flex: none;
  color: inherit;
  font-size: 10px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.mf-filter-category > summary > .mf-filter-chevron {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  width: 13px;
  height: 13px;
  margin: 0 !important;
  flex: none;
}
.mf-filter-category .mf-filter-nested {
  min-width: 0;
  box-sizing: border-box;
  padding: 0 8px 9px 42px;
}
.mf-filter-category .mf-filter-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  line-height: 1.4;
}
.mf-filter-category .mf-filter-option > input {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}
.mf-filter-category .mf-filter-option > span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mf-panel-heading,
.mf-panel-heading h2 {
  min-width: 0;
}
.mf-panel-heading h2 {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mf-panel-heading h2 > span {
  flex: 0 0 auto;
  margin: 0 !important;
  line-height: 1;
}
.mf-panel-heading > button {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  #dle-content.mf-search-content-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  #dle-content.mf-search-content-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  .mf-search-simple-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .mf-search-simple-row .mf-search-submit {
    width: 100%;
  }
  .mf-search-page--simple,
  .mf-search-page--extended {
    padding: 14px;
  }
}
@media (max-width: 480px) {
  #dle-content.mf-search-content-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .mf-search-advanced-link {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 360px) {
  .mf-filter-category > summary {
    grid-template-columns: 24px minmax(0, 1fr) 12px !important;
    column-gap: 6px !important;
    padding: 7px 6px;
  }
  .mf-filter-category > summary > .mf-filter-category__icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  .mf-filter-category .mf-filter-nested {
    padding-left: 36px;
    padding-right: 6px;
  }
}


/* ModKlad 1.0.30 — compact catalogue sorting row after removing the redundant heading/CTA. */
.mf-mod-section > .mf-tabs{margin:0 0 14px;position:relative;z-index:1}
.mf-tabs button{flex:0 0 auto;min-height:31px;padding:7px 14px;font-size:10px;transition:background .18s,color .18s,box-shadow .18s}
.mf-tabs button:focus-visible{outline:2px solid var(--mf-green);outline-offset:2px}
.mf-tabs button.is-active{box-shadow:0 3px 12px rgba(66,232,145,.14),inset 0 1px rgba(255,255,255,.12)}
.mf-card-sort-meta[hidden]{display:none!important}
@media(max-width:540px){.mf-mod-section > .mf-tabs{width:100%;gap:3px;padding:4px}.mf-mod-section > .mf-tabs button{flex:1 1 auto;min-width:0;padding:7px 8px;font-size:9px}}
@media(max-width:390px){.mf-mod-section > .mf-tabs{overflow-x:auto;justify-content:flex-start}.mf-mod-section > .mf-tabs button{flex:0 0 auto}}


/* ModKladDLE 1.0.31 — render DLE-generated profile links without nested anchors. */
.mf-profile-actions-card .mf-profile-action--generated {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  cursor: default;
  text-align: left;
}
.mf-profile-action--generated .mf-profile-action-copy {
  display: grid;
  align-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.mf-profile-action--generated .mf-profile-action-copy > a {
  position: static;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  color: #e1eef8;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: normal;
}
.mf-profile-action--generated .mf-profile-action-copy > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.mf-profile-action--generated .mf-profile-action-copy > a:hover {
  color: #74edaf;
  text-decoration: none;
}
.mf-profile-action--generated .mf-profile-action-copy > small {
  display: block;
  min-width: 0;
  color: #7f96aa;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.mf-profile-action--generated > i {
  flex: 0 0 auto;
  margin-left: auto;
  pointer-events: none;
  color: #6e8aa1;
  font-size: 12px;
  font-style: normal;
}
.mf-profile-action--news,
.mf-profile-action--comments { cursor: pointer; }
.mf-profile-action--news:hover,
.mf-profile-action--comments:hover,
.mf-profile-action--contact:hover {
  border-color: rgba(66,232,145,.25);
  background: rgba(20,47,57,.7);
}
body.theme-light .mf-profile-action--generated .mf-profile-action-copy > a { color: #17394c; }
body.theme-light .mf-profile-action--generated .mf-profile-action-copy > small { color: #527187; }
body.theme-light .mf-profile-action--generated > i { color: #527187; }
@media (max-width: 480px) {
  .mf-profile-actions-card .mf-profile-action--generated { padding: 10px 8px; }
  .mf-profile-action--generated .mf-profile-action-copy > a { font-size: 10px; }
}


/* ModKladDLE 1.0.32 — unified typography: Manrope for headings, Inter for UI/body. */
:root {
  --mf-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mf-font-heading: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.mf-body {
  font-family: var(--mf-font-body);
  font-size: 14px;
  line-height: 1.58;
  letter-spacing: -0.005em;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body.mf-body :is(h1,h2,h3,h4,h5,h6,
  .mf-brand__text strong,
  .mf-card-title-row h3,
  .mf-popular-mod__title,
  .mf-loader-card > strong,
  .mf-user b,
  .mf-benefit b,
  .mf-profile-action b,
  .mf-profile-action-copy > a,
  .mf-submit-card__heading h2) {
  font-family: var(--mf-font-heading);
  font-optical-sizing: auto;
}
/* Brand and primary page titles */
.mf-brand__text strong { font-size: 19px; font-weight: 800; letter-spacing: -0.045em; }
.mf-brand__text small { font-size: 10px; letter-spacing: 0.005em; }
.mf-hero h1 { font-family: var(--mf-font-heading); font-size: clamp(31px, 2.9vw, 45px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.07; }
.mf-account-page-head h1,
.mf-profile-titleblock h1,
.mf-pm-page .mf-account-page-head h1,
.mf-full-heading h1,
.mf-static-heading h1 { font-family: var(--mf-font-heading); font-weight: 750; letter-spacing: -0.035em; line-height: 1.16; }
.mf-section-heading h2 { font-size: 18px; font-weight: 750; letter-spacing: -0.025em; }
.mf-account-card-heading h2,
.mf-pm-section-heading h2,
.mf-pm-compose h2,
.mf-pm-conversation h2,
.mf-loaders-heading h2,
.mf-submit-card__heading h2,
.mf-install-help-heading h2 { font-family: var(--mf-font-heading); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.mf-panel-heading h2 { font-family: var(--mf-font-heading); font-size: 14px; font-weight: 750; letter-spacing: -0.02em; }
.mf-card-title-row h3 { font-size: 12.5px; font-weight: 700; letter-spacing: -0.018em; line-height: 1.38; }
.mf-popular-mod__title { font-size: 11px; font-weight: 700; line-height: 1.38; }
/* Body copy and navigation: slightly roomier, but keep metadata compact. */
.mf-nav-link { font-size: 12.5px; line-height: 1.45; }
.mf-tree summary,
.mf-tree-children a,
.mf-tax-node-link,
.mf-filter-category > summary { line-height: 1.45; }
.mf-breadcrumb { font-size: 10.5px; line-height: 1.5; }
.mf-hero p { font-size: 13px; line-height: 1.65; }
.mf-section-heading p,
.mf-account-page-head p,
.mf-account-card-heading p,
.mf-loaders-heading p,
.mf-install-help-heading p,
.mf-pm-page .mf-account-page-head p { font-size: 11px; line-height: 1.6; }
.mf-benefit b { font-size: 10.5px; font-weight: 700; line-height: 1.4; }
.mf-benefit small { font-size: 9.5px; line-height: 1.45; }
.mf-card-description { font-size: 10px; line-height: 1.5; }
.mf-card-tags .mf-mini-tag { font-size: 8.5px; }
.mf-card-stats { font-size: 9px; }
.mf-section-heading > a,
.mf-panel-heading > a { font-size: 10.5px; font-weight: 600; }
.mf-tabs button { font-family: var(--mf-font-body); font-size: 10px; font-weight: 600; letter-spacing: 0; }
.mf-button { font-family: var(--mf-font-body); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.mf-top-search input,
.mf-hero-search input { font-family: var(--mf-font-body); font-size: 12px; }
.mf-profile-info { font-size: 12px; line-height: 1.75; }
.mf-profile-action b,
.mf-profile-action--generated .mf-profile-action-copy > a { font-size: 11px; font-weight: 650; line-height: 1.45; }
.mf-profile-action small,
.mf-profile-action--generated .mf-profile-action-copy > small { font-size: 9px; line-height: 1.5; }
.mf-form-field,
.mf-form-field > label,
.mf-xfields label,
.mf-profile-edit-grid > label,
.mf-pm-field { font-size: 11px; line-height: 1.5; }
.mf-form-field small,
.mf-form-legal,
.mf-form-notice { font-size: 10px; line-height: 1.55; }
.mf-form-field input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=file]),
.mf-form-field textarea,
.mf-form-field select,
.mf-xfields input:not([type=checkbox]):not([type=radio]),
.mf-xfields textarea,
.mf-xfields select { font-family: var(--mf-font-body); font-size: 12px; line-height: 1.5; }
.mf-pm-nav > a,
.mf-pm-submit-row button,
.mf-pm-submit-row input[type=submit],
.mf-pm-submit-row input[type=button] { font-family: var(--mf-font-body); font-size: 11px; font-weight: 650; }
.mf-pm-message-text { font-size: 12px; line-height: 1.7; }
.mf-add-comment-fields textarea { font-family: var(--mf-font-body); font-size: 13px; line-height: 1.65; }
.mf-add-comment-fields input[type=text],
.mf-add-comment-fields input[type=email] { font-family: var(--mf-font-body); font-size: 12px; }
.mf-footer--wide nav a { font-size: 10.5px; }
/* Search/filter pages and DLE result blocks follow the same readable scale. */
.mf-filter-category > summary { font-family: var(--mf-font-body); font-size: 11px; font-weight: 600; }
.mf-filter-option, .mf-filter-label, .mf-filter-block label { font-family: var(--mf-font-body); font-size: 10.5px; line-height: 1.5; }
.mf-search-page { font-family: var(--mf-font-body); font-size: 13px; line-height: 1.6; }
.mf-search-page h1, .mf-search-page h2, .mf-search-page h3 { font-family: var(--mf-font-heading); font-weight: 700; letter-spacing: -0.025em; }
.mf-search-short-result a, .mf-search-comment-heading a { font-family: var(--mf-font-heading); font-size: 11.5px; font-weight: 650; }
.mf-search-short-result p, .mf-search-comment-text { font-size: 10.5px; line-height: 1.55; }
.mf-comment-item, .mf-comment-text, .mf-full-story-content, .mf-full-story-content p { line-height: 1.7; }
.mf-full-story-content, .mf-full-story-content p { font-size: 13px; }
.mf-static-content { font-size: 13px; line-height: 1.75; }
.mf-static-content h1, .mf-static-content h2, .mf-static-content h3 { font-family: var(--mf-font-heading); font-weight: 700; letter-spacing: -0.02em; }
/* Reduce tight tracking on narrow screens and keep long headings from clipping. */
@media (max-width: 760px) {
  body.mf-body { font-size: 14px; line-height: 1.6; }
  .mf-hero h1 { font-size: clamp(29px, 8.2vw, 38px); line-height: 1.08; }
  .mf-section-heading h2 { font-size: 17px; }
  .mf-account-page-head h1,
  .mf-profile-titleblock h1,
  .mf-pm-page .mf-account-page-head h1 { letter-spacing: -0.025em; }
  .mf-profile-info { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.mf-body { text-rendering: auto; }
}


/* ModKlad 1.0.36 — accessible error-report dialog and status feedback. */
.mf-full-favorite-slot .mf-favorite-form{display:block;margin:0;padding:0;line-height:1}.mf-full-favorite-slot .mf-favorite-form button{margin:0}.mf-full-favorite-slot .mf-full-complaint{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 11px;border:1px solid rgba(222,151,117,.34);border-radius:9px;background:rgba(5,17,25,.86);color:#f0c7ad;box-shadow:0 5px 16px rgba(0,0,0,.18);backdrop-filter:blur(9px);font:750 10px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;white-space:nowrap;cursor:pointer;transition:background .18s,border-color .18s,color .18s,transform .18s}
.mf-full-favorite-slot .mf-full-complaint:hover{border-color:rgba(243,173,133,.7);background:rgba(62,35,26,.92);color:#ffe0cb;transform:translateY(-1px)}
.mf-report-modal{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
.mf-report-modal.is-open{display:flex}
.mf-report-backdrop{position:fixed;inset:0;background:rgba(2,8,14,.82);backdrop-filter:blur(9px)}
.mf-report-dialog{position:relative;z-index:1;width:min(560px,100%);max-height:min(92vh,860px);overflow:auto;padding:24px;border:1px solid rgba(111,170,193,.25);border-radius:17px;background:linear-gradient(145deg,#0d1d2a,#07121c);box-shadow:0 30px 110px rgba(0,0,0,.58);color:var(--mf-text)}
.mf-report-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:33px;height:33px;border:1px solid var(--mf-border);border-radius:9px;background:#102332;color:#cad8e4;font-size:22px;line-height:1;cursor:pointer}
.mf-report-close:hover{border-color:rgba(66,232,145,.45);color:var(--mf-green)}
.mf-report-eyebrow{display:block;margin-bottom:8px;color:var(--mf-green);font-size:9px;font-weight:800;letter-spacing:.13em}
.mf-report-dialog h2{margin:0 42px 7px 0;color:var(--mf-text);font:750 22px/1.2 Manrope,Inter,sans-serif;letter-spacing:-.035em}
.mf-report-intro{margin:0 0 18px;color:var(--mf-muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.mf-report-form{display:grid;gap:13px}
.mf-report-field{display:grid;gap:6px;min-width:0;color:#c3d5e3;font-size:11px;font-weight:650}
.mf-report-field input,.mf-report-field select,.mf-report-field textarea{display:block;width:100%;min-width:0;border:1px solid rgba(119,164,196,.22);border-radius:9px;background:#091925;color:var(--mf-text);padding:10px 11px;font:400 12px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;outline:none}
.mf-report-field input,.mf-report-field select{min-height:40px}
.mf-report-field textarea{resize:vertical;min-height:116px}
.mf-report-field input:focus,.mf-report-field select:focus,.mf-report-field textarea:focus{border-color:rgba(66,232,145,.65);box-shadow:0 0 0 3px rgba(66,232,145,.08)}
.mf-report-field small{color:var(--mf-muted-2);font-size:10px;font-weight:400}
.mf-report-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mf-report-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:3px}
.mf-report-cancel,.mf-report-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:9px 14px;border-radius:9px;font-size:11px;font-weight:750;cursor:pointer;transition:filter .18s,transform .18s}
.mf-report-cancel{border:1px solid var(--mf-border);background:#102130;color:#c8d8e4}
.mf-report-submit{border:1px solid rgba(66,232,145,.45);background:linear-gradient(125deg,#31d686,#63f5aa);color:#052116}
.mf-report-cancel:hover,.mf-report-submit:hover{filter:brightness(1.08);transform:translateY(-1px)}
.mf-report-privacy{margin:0;color:var(--mf-muted-2);font-size:10px;line-height:1.5}
.mf-report-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mf-report-modal-open{overflow:hidden}
.mf-report-status{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--mf-border);border-radius:10px;font-size:12px;line-height:1.5}
.mf-report-status--success{border-color:rgba(66,232,145,.28);background:rgba(18,73,49,.35);color:#8cf4b9}
.mf-report-status--warning{border-color:rgba(242,190,91,.28);background:rgba(82,61,20,.22);color:#f0d28a}
.mf-report-status--error{border-color:rgba(243,125,125,.28);background:rgba(83,25,32,.22);color:#ffb7b7}
body.theme-light .mf-report-dialog{background:linear-gradient(145deg,#f4faf7,#e9f2ed);color:#193328;border-color:rgba(42,58,49,.2)}
body.theme-light .mf-report-dialog h2{color:#183328}
body.theme-light .mf-report-intro,body.theme-light .mf-report-field{color:#526b5d}
body.theme-light .mf-report-field input,body.theme-light .mf-report-field select,body.theme-light .mf-report-field textarea{background:#f9fdfb;color:#173329;border-color:rgba(42,58,49,.22)}
body.theme-light .mf-report-close,body.theme-light .mf-report-cancel{background:#e2ece5;color:#2d493b;border-color:rgba(42,58,49,.2)}
@media(max-width:600px){.mf-report-dialog{padding:19px 15px;border-radius:14px}.mf-report-dialog h2{font-size:19px}.mf-report-contact-grid{grid-template-columns:1fr}.mf-report-actions{display:grid;grid-template-columns:1fr}.mf-report-cancel,.mf-report-submit{width:100%}.mf-full-favorite-slot .mf-full-complaint{min-height:31px;padding:7px 9px;font-size:9px}}


/* All supported Minecraft versions stay visible in the card metadata. */
.mf-card-tags{max-height:none;overflow:visible;align-items:flex-start}
.mf-mini-tag--version-list{display:inline-flex;min-width:0;max-width:100%;flex:0 1 auto;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}

/* Turn numbered installation notes entered in the submission form into clear step cards. */
.mf-install-help-content.mf-install-steps,.mf-install-help-content.mf-install-bullets{min-width:0;margin:0;padding:0;white-space:normal;list-style:none}
.mf-install-help-content.mf-install-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;counter-reset:mf-install-step}
.mf-install-help-content.mf-install-steps>li{counter-increment:mf-install-step;display:flex;align-items:flex-start;gap:10px;min-width:0;margin:0;padding:11px 12px;border:1px solid rgba(103,170,255,.15);border-radius:10px;background:linear-gradient(145deg,rgba(20,48,73,.43),rgba(8,22,33,.78));color:#d0dfeb;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.mf-install-help-content.mf-install-steps>li:before{content:counter(mf-install-step,decimal-leading-zero);display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid rgba(66,232,145,.23);border-radius:8px;background:linear-gradient(145deg,rgba(66,232,145,.2),rgba(35,133,94,.12));color:#72f2aa;font-size:10px;font-weight:850;letter-spacing:.02em}
.mf-install-help-content.mf-install-bullets{display:grid;gap:7px}
.mf-install-help-content.mf-install-bullets>li{position:relative;margin:0;padding:9px 11px 9px 31px;border:1px solid rgba(103,170,255,.12);border-radius:9px;background:rgba(9,24,36,.56);color:#cbdbe8;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.mf-install-help-content.mf-install-bullets>li:before{content:"";position:absolute;left:13px;top:16px;width:6px;height:6px;border-radius:50%;background:#62ed9f;box-shadow:0 0 10px rgba(66,232,145,.3)}
@media(max-width:640px){.mf-install-help-content.mf-install-steps{grid-template-columns:minmax(0,1fr)}.mf-install-help-content.mf-install-steps>li{padding:10px}}
