.standalone{margin:0;background:#171c22;color:#f6ecd9;font:17px/1.55 system-ui,sans-serif;color-scheme:dark}.standalone main{max-width:1060px;margin:auto;padding:clamp(18px,5vw,70px)}.standalone header{border-bottom:1px solid #62605c;margin-bottom:22px}.standalone h1{font-size:clamp(30px,5vw,56px);line-height:1.15;letter-spacing:-.035em;margin:28px 0 12px}.standalone h1 span,.standalone small,.cm small{color:#ffb571}.standalone a,.cm a,.community-jump{color:#ffbf86}.community-jump{display:inline-block;padding:.65em 1em;background:#26303a;border-radius:9px;font-weight:700}.standalone form,.teams{display:flex;gap:16px;flex-wrap:wrap}.standalone label{display:grid;gap:6px;flex:1 1 180px}.standalone input,.standalone select{font:inherit;padding:12px;background:#222b34;color:#fff;border:1px solid #73808a;border-radius:8px;min-width:0}.standalone #games{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:14px}.standalone .game,.cm article{background:#252e37;color:#fff1df;border-radius:12px;padding:15px}.standalone .game{display:flex;align-items:center;gap:15px;text-decoration:none}.standalone .game:hover,.standalone .game:focus-visible{outline:2px solid #ffae65}.game img{width:66px;height:95px;object-fit:cover;border-radius:5px}.game h2,.cm h3{font-size:20px;margin:.24em 0;line-height:1.24}.game p{margin:0;font-size:14px;color:#d6d1ca}.cm{scroll-margin-top:85px;background:#19232e;color:#fff1df;border-radius:14px;padding:clamp(16px,3vw,32px);margin:20px auto;max-width:1100px;box-sizing:border-box}.cm h2{color:#fff1df;font-size:clamp(22px,3vw,32px)}.cm article{flex:1 1 235px;min-width:0;overflow-wrap:anywhere}.cm h3{color:#fff1df}.cm footer{margin-top:20px}.cm a{text-decoration:underline}.cm small{font-weight:700}.cm .release-card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;background:#1d2730;border-radius:8px;padding:12px;margin:16px 0}.release-card dd{margin:0}.release-card dt,.cm .directory-source{color:#d1c6b6}.cm .release-card h4{color:#ffbc83;margin:18px 0 4px}.cm .release-card p{margin:4px 0 12px;max-width:75ch}.release-links{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.release-links a{padding:8px 12px;border:1px solid #a57953;border-radius:8px}.cm .directory-source{font-size:.85em}
.price-pill{display:inline-block;color:#ffdda4;background:#382c22;padding:2px 8px;border-radius:6px;margin-top:6px;font-size:.85rem;font-weight:700}.purchase{padding:14px 0;margin-top:12px;border-top:1px solid #62605c}.purchase a{display:inline-block;margin:3px 9px}
.game img{width:72px;height:108px;object-fit:contain;background:#16202a;flex:none}.uncle-launcher,#uncle-side{position:fixed;right:max(12px,env(safe-area-inset-right));z-index:990;border:1px solid #a17951;box-shadow:0 4px 20px #0c111955}.uncle-launcher{bottom:max(14px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:7px;border-radius:32px;padding:4px 15px 4px 5px;background:#ffd292;color:#202631;font:700 15px/1.2 system-ui;cursor:pointer}.uncle-launcher img{border-radius:50%;object-fit:cover}.uncle-launcher:focus-visible,.uncle-bar a:focus-visible{outline:3px solid #559fff}#uncle-side:not([hidden]){display:flex;flex-direction:column}#uncle-side{bottom:calc(max(14px,env(safe-area-inset-bottom)) + 58px);background:#17212a;color:#fff0dd;border-radius:16px;overflow:hidden;width:min(375px,calc(100vw - 24px));height:min(520px,calc(100dvh - 90px))}.uncle-bar{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#27323d;font:700 14px/1.4 system-ui}.uncle-bar a{margin-left:auto;color:#ffcb90;text-decoration:underline}.uncle-bar button{font:24px system-ui;color:white;background:none;border:none;cursor:pointer;width:36px}.uncle-bar+iframe{border:0;min-height:0;width:100%;flex:1}body:has(.uncle-launcher){padding-bottom:70px}
.cover-frame{position:relative;display:block;overflow:hidden;border-radius:8px;flex:none}.game .case-art{display:block;width:84px;height:126px}.creator-badges{position:absolute;bottom:5px;left:5px;display:flex;align-items:center;gap:2px}.creator-badges>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;box-sizing:border-box;background:#243542;color:#fff6df;border:2px solid #ffedcc;box-shadow:0 1px 4px #111a;font:700 10px system-ui;overflow:hidden}.creator-badges>span>img,.game .creator-badges img,.cc-cases .creator-badges img{width:100%;height:100%;aspect-ratio:1;object-fit:contain;background:#fff}.detail-case{width:115px;margin:0 0 14px}.detail-case .case-art{width:100%;aspect-ratio:2/3;object-fit:contain;display:block}
.team-face{display:inline-grid;box-sizing:border-box;place-items:center;width:46px;height:46px;flex:none;overflow:hidden;border-radius:50%;border:1px solid #ad9477;background:#304354;color:#fff1db}.team-face img{display:block;width:100%;height:100%;object-fit:contain}.cm a.team-heading,.author-tile{display:flex;align-items:center;gap:12px;text-decoration:none}.cm a.team-heading:hover,.author-tile:hover strong{text-decoration:underline}.author-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:12px}.author-tile{padding:16px;border:1px solid #43515f;background:#24303c;border-radius:10px;overflow-wrap:anywhere}.author-tile small{display:block}.author-tile[hidden]{display:none}

/* Search directory */
.mod-directory main{max-width:1176px;padding-block:clamp(18px,3vw,46px)}
.directory-head nav{display:flex;gap:24px;align-items:center}
.directory-head nav a,.result-bar a,#pages a{display:inline-flex;min-height:44px;align-items:center;text-underline-offset:.22em}
.mod-directory .directory-head{border:0;margin-bottom:18px}
.directory-head h1{margin:12px 0 4px}.directory-head p{margin:0;color:#c8c2b7}
.mod-directory #filters{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(260px,1fr);align-items:end;border-block:1px solid #39434d;padding:16px 0}
.mod-directory #extra-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mod-directory #extra-filters[hidden],.mod-directory [hidden]{display:none}
.mod-directory #filters label{min-width:0;font-size:.87rem;color:#e7ddcf}
.mod-directory #filters :is(select,input,button){width:100%;box-sizing:border-box;font:inherit;min-height:44px}
.mod-directory #filters input{background:#293540;border-color:#9c8a72;font-size:1rem}
.mod-directory button{border:1px solid #746956;color:#ffcf98;background:#242c34;border-radius:8px;cursor:pointer}
.result-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.9rem}.result-bar p{margin:14px 0}
.mod-directory .game{min-width:0;border:1px solid #37444e;align-items:flex-start;overflow-wrap:anywhere}
.mod-directory .game h2{margin:0 0 .35em;line-height:1.25}.mod-directory .game small{font-size:.83rem}
.mod-directory .price-pill{color:#d4c5ac;background:transparent;padding:0;font-size:.8rem;font-weight:500}
#pages{padding-block:20px}.standalone :focus-visible{outline:3px solid #ffbf7f;outline-offset:2px}
.cm .release-links a:first-child{color:#202830;background:#ffbe7d;border-color:#ffbe7d;font-weight:700;text-decoration:none}
@media(max-width:650px){
.mod-directory #filters{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0}
.mod-directory #filter-toggle{padding:0 12px}.mod-directory #extra-filters{grid-column:1/-1;grid-template-columns:minmax(0,1fr)}
.directory-head nav{gap:18px}.directory-head h1{font-size:32px;margin:6px 0}.mod-directory .directory-head{margin-bottom:12px}
.mod-directory .game{padding:11px;gap:12px}.mod-directory .game .case-art{width:68px;height:102px}
}
.mod-directory .game .price-pill{display:block;color:#ffbf86;font-size:1rem;font-weight:750;margin:0 0 4px}
.studio-home .cc-cases .price-pill{color:#ffbf86;font-size:.95rem;font-weight:750}
.game-buy{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(128px,max-content);align-items:center;gap:12px 20px;margin:14px 0 16px;padding:clamp(12px,1.6vw,22px);border:1px solid #a96e3c;border-inline-start:4px solid #ffae62;border-radius:12px;color:#fff2df;background:#17212a;max-width:600px;min-width:0;text-align:start}
.game-buy h2{margin:0;font-size:.92rem;line-height:1.35;color:#ffe0b6;font-weight:700}
.game-buy .game-buy-price{display:block;margin-top:2px;color:#fff5e7;font-size:clamp(1.65rem,3vw,2.65rem);line-height:1.12;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.game-buy p{margin:3px 0;font-size:.9rem;color:#f6dfc2;overflow-wrap:anywhere}
.game-buy [data-buy-checked]{display:block;color:#c9b9a7;font-size:.75rem;font-weight:400}.game-buy [data-buy-checked]:empty{display:none}
.game-buy-actions{display:grid;gap:4px;min-width:0}
.game-buy :is(.game-buy-primary,.game-buy-compare){display:flex;align-items:center;justify-content:center;min-height:38px;text-align:center;text-underline-offset:3px;color:#ffe2c3}
.game-buy .game-buy-primary{min-height:46px;padding:6px 13px;border-radius:8px;background:#ffb36b;color:#222027;font-weight:750;text-decoration:none}
.game-buy .game-buy-primary:hover{background:#ffcc96}.game-buy a:focus-visible{outline:3px solid #ffd6a7;outline-offset:3px}
.modpage-container>.nn-store-comparison{margin:20px 0}.modpage-container #nnStoreHeading{scroll-margin-top:100px}
@media(max-width:460px){.game-buy{gap:8px;grid-template-columns:minmax(0,1fr) minmax(92px,auto)}.game-buy .game-buy-primary{padding-inline:8px;font-size:.83rem}.game-buy .game-buy-compare{font-size:.79rem}.game-buy p{font-size:.81rem}}
@media(max-width:460px){
.modpage-hero-banner:has(.game-buy){padding:14px 12px}
.modpage-hero-inner:has(.game-buy),.modpage-hero-details:has(.game-buy){padding:0;min-width:0}
.game-buy{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
.game-buy-actions{justify-self:stretch}
.game-buy :is(.game-buy-primary,.game-buy-compare){overflow-wrap:anywhere}
}
@media(max-width:460px){
.modpage-hero-inner:has(.game-buy){display:grid;grid-template-columns:minmax(0,1fr)}
.modpage-hero-details:has(.game-buy){width:100%}
.modpage-hero-inner:has(.game-buy) .modpage-poster-wrap{width:60px;min-width:0}
.modpage-hero-inner:has(.game-buy) .modpage-poster-img{width:100%;height:auto;aspect-ratio:2/3}
}
@media(max-width:460px){
.modpage-hero-details .game-buy{clear:both;width:100%;margin-inline:0}
.modpage-hero-inner:has(.game-buy) .modpage-poster-wrap{float:none!important;margin:0 0 8px}
.modpage-hero-inner:has(.game-buy){display:block}
}
.nn-store-comparison [data-store-offers]{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.nn-store-comparison [data-store-offers]>a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:space-between;gap:5px 12px;min-height:44px}
.nn-store-comparison [data-store-offers]>a small{text-align:right}
.nn-store-comparison [data-store-offers]>a.nn-store-featured{border-color:#ffae62;border-width:2px}
.nn-store-featured-tag,.game-buy [data-buy-featured]{background:#ffbb79;color:#221a13;border-radius:5px;padding:2px 6px;font-size:.72rem;font-weight:750;white-space:nowrap}
.nn-store-featured-tag{grid-column:1/-1;justify-self:start}
.game-buy [data-buy-featured]{display:inline-block;margin-inline-start:4px}.game-buy [data-buy-featured][hidden]{display:none}
@media(max-width:460px){.nn-store-comparison [data-store-offers]>a{grid-template-columns:minmax(0,1fr)}.nn-store-comparison [data-store-offers]>a small{text-align:start}}
.store-gallery{margin:18px 0;min-width:0;padding:clamp(12px,2vw,22px);background:#19232e;border-radius:12px;color:#fff1df}
.store-gallery[hidden]{display:none}.store-gallery h2,.store-gallery h3{margin:0;color:#fff1df}
.store-gallery h2{font-size:clamp(20px,2vw,28px)}.store-gallery h3{font-size:1rem}
.store-gallery [data-store-media]>section{margin-top:13px}
.store-gallery header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0 0 6px;border:0}.store-gallery a{color:#ffca96}.store-gallery p{font-size:.8rem;margin:0 0 8px}
.store-shot-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.store-shot-grid>a{border-radius:7px;overflow:hidden;display:block;background:#283540;outline-offset:2px}.store-shot-grid>a:focus-visible{outline:2px solid #ffbf86}
.store-shot-grid img{width:100%;aspect-ratio:16/9;display:block;object-fit:cover}
@media(max-width:850px){.store-shot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.store-shot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep the cover slot filled when no storefront artwork is available. */
.cc-cases .cover-frame{width:100%;aspect-ratio:2/3}
.mod-directory .game .cover-frame{width:68px;aspect-ratio:2/3}
:is(.cc-cases,.mod-directory) .cover-frame>.case-fallback{
 position:absolute;inset:0;display:grid;place-items:center;text-align:center;
 padding:8% 8% 25%;overflow-wrap:anywhere;line-height:1.2;font-weight:700;
 color:#ffdfb8;background:linear-gradient(150deg,#374555,#121b25 65%);
}
.mod-directory .cover-frame>.case-fallback{font-size:.7rem}
:is(.cc-cases,.mod-directory) .cover-frame>img.case-art{
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#16202a;
}
:is(.cc-cases,.mod-directory) .cover-frame>img.case-art[hidden]{display:none}

/* Compact discount block inspired by storefront offer bars. */
.game-buy .game-buy-deal{grid-column:1/-1;display:grid;gap:8px;min-width:0}
.game-buy .game-buy-row{
 --store-accent:#f4ad71;--store-panel:#3b271c;--store-bright:#ffd5ae;
 display:grid;grid-template-columns:auto minmax(0,1fr) minmax(128px,auto);
 overflow:hidden;border:1px solid var(--store-accent);border-radius:8px;background:#131b23;color:#fff;
}
.game-buy [data-store-theme="steam"]{--store-accent:#b9e574;--store-panel:#273a22;--store-bright:#c8ff77}
.game-buy [data-store-theme="gamersgate"]{--store-accent:#f78694;--store-panel:#4d1d2a;--store-bright:#ffb0bc}
.game-buy [data-store-theme="digitalgame2u"]{--store-accent:#8dbbfa;--store-panel:#203950;--store-bright:#b7d7ff}
.game-buy [data-store-theme="gamesrig"]{--store-accent:#62ffff;--store-panel:#173c43;--store-bright:#9dffff}
.game-buy .game-buy-row--price{grid-template-columns:minmax(0,1fr) minmax(128px,auto)}
.game-buy .game-buy-deal[hidden],.game-buy--store-rows :is([data-buy-price],[data-buy-store],.game-buy-primary){display:none}
.game-buy .game-buy-percent{
 display:grid;place-items:center;padding:6px clamp(7px,1.5vw,16px);background:var(--store-panel);
 color:var(--store-bright);font-size:clamp(1.15rem,3vw,1.8rem);font-weight:800;line-height:1.1;white-space:nowrap;
}
.game-buy .game-buy-deal-prices{
 display:grid;align-content:center;justify-items:end;gap:2px;padding:7px clamp(5px,1.5vw,14px);
 font-variant-numeric:tabular-nums;line-height:1.1;white-space:nowrap;
}
.game-buy .game-buy-deal-prices s{color:#bdc6b8;font-size:.76rem}
.game-buy .game-buy-deal-prices strong{font-size:clamp(1.05rem,2.5vw,1.45rem);color:#fff}
.game-buy .game-buy-deal-link{
 display:grid;place-items:center;min-height:48px;padding:7px clamp(6px,1.6vw,18px);
 background:var(--store-accent);color:#111922;font-weight:750;text-align:center;text-decoration:none;
 font-size:clamp(.78rem,1.4vw,1rem);line-height:1.25;overflow-wrap:anywhere;
}
.game-buy .game-buy-deal-link:hover{filter:brightness(1.12)}
.game-buy .game-buy-deal-link:focus-visible{outline-offset:-4px;outline-color:#142009}

@media(max-width:460px){
 .game-buy .game-buy-row{grid-template-columns:auto minmax(0,1fr) minmax(76px,36%)}
 .game-buy .game-buy-row--price{grid-template-columns:auto minmax(0,1fr)}
 .game-buy .game-buy-deal-link{min-width:0}
}

.game-buy-deal-prices small{white-space:normal;overflow-wrap:anywhere;line-height:1.25;color:#d6e1eb;font-size:.78rem}
.game-buy-deal-link:not([href]){background:var(--store-panel);color:var(--store-bright)}
@media(max-width:460px){
 .game-buy .game-buy-row--price{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}
 .game-buy .game-buy-deal-prices:has(s){min-width:0}
}

.price-pill[data-card-price][hidden]{display:none}

.cm .release-artwork {
  margin: 12px 0;
  max-width: 480px;
}

.cm .release-artwork > img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.cm .release-artwork > figcaption {
  margin-top: 4px;
  font-size: .85em;
}
