:root{--bg:#151515;--card:#202020;--pill:#262626;--tile:#2d2d2d;--btn:#303030;--mute:rgba(255,255,255,.52);--gold:#e8c34e}
*{box-sizing:border-box}html{background:var(--bg)}
/* nothing shows until the page is built, so the first thing on screen is the site's own look (app.js lifts this; if
   something fails, it lifts itself after 3 seconds) */
html.boot body{visibility:hidden;animation:boot 0s 3s forwards}@keyframes boot{to{visibility:visible}}
body{margin:0;background:var(--bg);color:#fff;min-height:calc(100vh / var(--z,1))}
a{color:inherit;text-decoration:none;cursor:pointer}u{text-underline-offset:2px}
#bg{position:fixed;inset:0 0 auto 0;height:640px;background-size:cover;background-position:center 20%;transform:scale(1.2);opacity:0;transition:opacity .4s;z-index:0;-webkit-mask-image:linear-gradient(#000 30%,transparent);mask-image:linear-gradient(#000 30%,transparent)}
#bg.on{opacity:1}header,.shell{position:relative;z-index:1}
header{display:flex;align-items:center;gap:20px;}

.rate{background:#fff;color:#151515;border-radius:4px;padding:3px 8px;font-size:14px;font-weight:500;white-space:nowrap}
.search{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:0 16px;color:var(--mute);margin-left:4px}
.search input{flex:1;min-width:0;background:none;border:0;outline:0;color:inherit;font:inherit}
kbd{font:12px monospace;border:1px solid var(--mute);border-radius:3px;padding:1px 5px}
header nav{display:flex;font-weight:500;font-size:14px}
.shell{display:flex;padding:0 40px 60px;gap:0}
aside{width:220px;flex:none;padding-top:30px}
aside h4,aside .top{display:block;font-weight:700}
aside h4+a{margin-top:0}
aside a{display:flex;align-items:center;font-size:16px}
.dim{color:var(--mute)}
.ic{width:32px;height:32px;border-radius:6px;display:grid;place-items:center;font:700 14px Roboto,"Segoe UI",system-ui,sans-serif;font-style:normal;color:#fff;flex:none}
.dim .ic{color:var(--mute);background:#222}
main{flex:1;min-width:0;padding-left:0}
h1{font-weight:700;margin:0;letter-spacing:-1px;}.sub{margin:8px 0 22px}
.bar{display:flex;align-items:center;gap:10px;margin-bottom:34px}.grow{flex:1}.lbl{color:var(--mute);font-size:14px;margin-right:6px}
.pill{border:0;display:flex;align-items:center;color:#fff;font:inherit;cursor:pointer}
.pill select{background:none;border:0;color:#fff;font:inherit;outline:0;cursor:pointer;appearance:none;-webkit-appearance:none}label.pill:after{content:"⌄";margin-left:8px;color:var(--mute);font-size:20px;line-height:1;transform:translateY(-4px)}.pill option{background:#202020}
.pill b{margin-left:4px}.dv{justify-content:center;}.dv:after{display:none}
.grid .card{break-inside:avoid;margin-bottom:calc(24px + var(--cudh,0px))}
.card{display:block;position:relative;background:var(--card);}
.im{position:relative;aspect-ratio:16/9;background:#2b2b2b;overflow:hidden}
.im img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.ph{height:100%;display:grid;place-items:center;padding:16px;text-align:center;color:var(--mute)}
.seg{position:absolute;left:16px;right:16px;bottom:12px;display:none;gap:6px}.seg i{flex:1;height:3px;background:rgba(255,255,255,.4);border-radius:2px}
.grid .card:hover .seg,body.mobile .grid .card.tap .seg{display:flex}
.pls svg{fill:#fff}.pl{font:700 italic 11px Roboto,"Segoe UI",system-ui,sans-serif;color:#fff}
.card h3{font-weight:700}
.add{display:inline-flex;align-items:center;gap:6px;border-radius:4px;padding:0 8px;height:24px;font-size:13px;font-weight:500}.add:before{content:"✚";}
.meta{font-size:14px}.meta div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #303030}.meta span{color:var(--mute)}.meta b{font-weight:500}
.smt{display:flex;justify-content:space-between;padding:12px 14px;margin-top:8px;color:#fff}
.grid .meta{display:none;position:absolute;left:0;right:0;top:100%;background:var(--card);padding:0 16px 16px;border-radius:0 0 var(--gr,14px) var(--gr,14px)}
.grid .card:hover,body.mobile .grid .card.tap{transform:scale(1.02);z-index:5}.grid .card:hover .meta,body.mobile .grid .card.tap .meta{display:block}.grid .card:hover .im,body.mobile .grid .card.tap .im{border-radius:var(--gr,14px) var(--gr,14px) 0 0}
.more{display:block;margin:40px auto 0;width:200px;height:48px;border:0;border-radius:4px;background:#fff;color:#151515;font:500 16px Roboto,"Segoe UI",system-ui,sans-serif;cursor:pointer}
.empty{color:var(--mute)}
/* game page */
.game{display:grid;grid-template-columns:minmax(0,527px) 384px;gap:49px;margin-left:53px;padding-top:50px}
.crumb{font-size:11px;letter-spacing:1.5px;color:var(--mute);margin-bottom:34px}
.tags{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase}.dt{background:#fff;color:#151515;font-weight:700;padding:2px 8px;border-radius:3px}
.tags .pls{margin:0}.tags .pls svg{width:18px;height:18px}
.gt{margin:8px 0 28px;line-height:1.08}
.btns{display:flex;gap:16px;align-items:center;margin-bottom:34px}
.btns>*{font-size:12px;line-height:1.1}.btns b{display:block;font-size:18px;font-weight:500}
.b1{background:#fff;color:#151515;border-radius:4px;padding:8px 12px;width:180px;position:relative}.b1 i{position:absolute;right:0;top:0;bottom:0;width:30px;margin:auto;height:30px;border-radius:50%;background:#6dc849;color:#fff;font:700 24px/30px Roboto,"Segoe UI",system-ui,sans-serif;text-align:center;right:4px}
.b2{border:1px solid #fff;border-radius:4px;padding:8px 12px;width:142px}.b3{width:110px}
.stats{display:flex;margin-bottom:26px}.stats>div{padding:0 28px;border-left:1px solid #444}.stats>div:first-child{padding-left:0;border:0}
.stats b{display:block;font-size:30px;font-weight:700}.stats small{font-size:11px;letter-spacing:2px;color:var(--mute);border-bottom:1px solid var(--mute)}
.rb{display:flex;height:50px;border-radius:6px 0 0 6px;overflow:hidden;margin:8px 0 14px}.rb i{display:block}
.lg{display:flex;gap:22px;font-size:14px;font-weight:500;margin-bottom:30px}.lg span:before{content:"●";margin-right:6px}.lg em{font-style:normal;color:var(--mute);margin-left:4px}
.gb{display:flex;gap:10px;margin-bottom:30px}.gb span{background:var(--btn);color:var(--mute);border-radius:4px;padding:14px 20px;font-size:16px}
.game h2{font-size:28px;margin:0 0 10px}.dg{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin-top:20px}.dg small{display:block;color:var(--mute);font-size:14px}
.cover{width:100%;border-radius:12px;display:block}.edit{background:#fff;color:#151515;border-radius:4px;text-align:center;padding:15px;font-weight:500;margin-top:20px}
#sb{position:fixed;top:0;left:0;right:0;height:96px;background:#000;z-index:30;display:none;align-items:center;gap:14px;padding:0 24px}#sb.on{display:flex}
#sb .up{font-size:26px}.th{width:56px;height:72px;border-radius:6px;background-size:cover;background-position:center}
#sb .si b{display:block;font-size:20px}#sb nav{margin-left:auto;display:flex;gap:20px;font-size:14px;text-decoration:underline}
@media(max-width:1000px){:where(html:not(.dforce)) aside,:where(html:not(.dforce)) header nav{display:none}:where(html:not(.dforce)) .game{grid-template-columns:1fr;margin:0}:where(html:not(.dforce)) .shell{padding:0 16px}}

/* game page 1001-1279px: a narrower cover column and tighter gaps, so the info column keeps about the room it has at 1280 (unchanged from 1280 up) */
@media(min-width:1001px) and (max-width:1279px){.game{grid-template-columns:minmax(0,1fr) clamp(160px,calc(100vw / var(--z,1)) - 870px,384px);gap:32px;margin-left:24px}}
.pc{position:absolute;left:50%;top:50%;translate:-50% -50%;width:auto;height:auto;background:none;border:0;padding:0;color:#fff;cursor:pointer;display:grid;place-items:center;filter:drop-shadow(0 2px 6px rgba(0,0,0,.7));transition:transform .15s}.pc svg{width:40px;height:40px}.pc:hover{transform:scale(1.12)}.pc:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:6px}
.act{display:flex;gap:6px;align-items:center}.ib{display:none;align-items:center;justify-content:center;height:24px;min-width:34px;border-radius:4px;background:var(--btn);font-size:12px}
/* the card buttons fade in on hover (0.3 s, like RAWG); hidden ones keep their place and can't be clicked */
.grid .card>.bd .act .ib{display:inline-flex;opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}.grid .card:hover>.bd .act .ib,body.mobile .grid .card.tap>.bd .act .ib{opacity:1;visibility:visible;transition:opacity .3s}
/* === values taken from RAWG's own stylesheet === */
body{font:14px/normal -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif}
header{height:60px;padding:24px 40px}.logo{font-size:18px;font-weight:900;letter-spacing:5px;width:auto;margin-right:12px}
header nav{gap:0}header nav a{text-transform:uppercase;font-weight:500;margin-right:16px;padding-bottom:3px;border-bottom:2px solid transparent;white-space:nowrap}header nav a:hover{border-color:#fff}
@media(min-width:1001px) and (max-width:1100px){header nav a{margin-right:12px}}/* keeps LOG IN / SIGN UP on one line near 1024px */
.search{height:44px;border-radius:24px;background:rgba(255,255,255,.16)}.search:focus-within,.search:hover{background:#fff;color:#151515}
/* every heading (a section name, or a top link like Home and your name) has the same space above and below it */
aside h4,aside .top{font-size:24px;line-height:28px;margin:28px 0 16px}aside .sbtop+.top,aside>.top:first-child{margin-top:0}aside a{height:32px;margin-bottom:8px;gap:0}aside a.top{height:auto}
.ic{background:rgba(255,255,255,.1);margin-right:8px;transition:.3s}.ic.g{background:linear-gradient(135deg,#777,#2b2b2b)}
aside a:not(.top):hover{color:#fff}aside a:not(.top):hover .ic:not(.g){background:#fff;color:#151515}
h1{font-size:50px;line-height:1.1}.gt{font-size:72px}
.pill{background:rgba(255,255,255,.07);border-radius:8px;padding:10px 16px;height:auto;font-size:14px;min-width:150px}.dv{min-width:0;width:48px;height:48px;padding:0;background:rgba(255,255,255,.07)}.dv.on{background:#444}
.card{border-radius:var(--gr,12px);box-shadow:0 10px 20px rgba(0,0,0,.07);transition:transform .3s}.im{border-radius:var(--gr,12px) var(--gr,12px) 0 0}
.bd{padding:16px 16px 24px}.pls svg{width:12px;height:12px}
.smt{border-radius:8px;background:rgba(255,255,255,.07);font-size:14px;transition:.3s}.smt:hover{color:#fad860}

.attr{position:relative;z-index:1;text-align:center;color:rgba(255,255,255,.3);font-size:12px;padding:0 0 40px}.attr a{text-decoration:underline}
.shots{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.shots img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.desc{line-height:1.5;margin-top:14px;font-size:16px;white-space:pre-line}
/* real RAWG icons */
.ic svg{width:18px;height:18px;fill:#fff;transition:.3s}.ic svg path{fill:#fff}
.ic .discover-sidebar__icon_year-top-svg{width:20px;height:20px}.ic .discover-sidebar__icon_all-time-top-svg{width:22px;height:22px}
.ic.tg svg{width:8px;height:auto;transform:rotate(var(--r))}
aside a:not(.top):hover .ic svg,aside a:not(.top):hover .ic svg path{fill:#151515}
.pls{gap:0}.pi{display:inline-flex;margin-right:6px}.pi svg{height:12px;width:auto;display:block}.tags .pi svg{height:16px}

header{box-sizing:content-box}
.smt{cursor:pointer}.meta .smt{border:0;padding:12px 14px}
.grid .card:hover,body.mobile .grid .card.tap{border-radius:var(--gr,12px) var(--gr,12px) 0 0}.grid .card:hover .meta,body.mobile .grid .card.tap .meta{border-radius:0 0 var(--gr,12px) var(--gr,12px)}
.meta .smt,.meta .smt span{color:#fff}.meta .smt:hover,.meta .smt:hover span{color:#fad860}
.lg span:before{color:var(--c)}#bg{filter:blur(28px) brightness(.32)}
/* feature switches */
.no-sidebar aside{display:none}.no-ratebtn .rate{display:none}.no-display .dv,.no-display .lbl{display:none}
.no-stickybar #sb{display:none!important}.no-gamebg #bg{display:none}.no-video .pc,.no-video [data-vid]{display:none!important}
.no-hover .grid .card:hover,body.mobile.no-hover .grid .card.tap{transform:none}.no-hover .grid .card:hover .meta,.no-hover .grid .card:hover .ib,body.mobile.no-hover .grid .card.tap .meta,body.mobile.no-hover .grid .card.tap .ib{display:none!important}
.no-customize #cz-btn{display:none}.attr{display:none}.attr-on .attr{display:block}
.features{display:grid;gap:8px;max-width:760px}.fr{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#202020;border-radius:12px;padding:16px 20px;cursor:pointer}
.fr b{font-size:16px;font-weight:500}.fr small{display:block;color:rgba(255,255,255,.45);margin-top:3px;font-size:13px}
.sw{appearance:none;-webkit-appearance:none;width:44px;height:26px;border-radius:13px;background:#444;position:relative;cursor:pointer;transition:.2s;flex:none;margin:0}
.sw:before{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s}.sw:checked{background:var(--gold)}.sw:checked:before{left:21px}
.fb{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.fb .pill{min-width:0;text-decoration:none}
/* design editor */
body.cz-on{user-select:none}
#cz-btn{position:fixed;right:18px;z-index:120;border-radius:50%;border:0;background:#fff;cursor:pointer;}
.cz-on #cz-btn{right:318px}
#cz-ui{position:fixed;top:0;right:0;bottom:0;width:300px;z-index:110;background:#1b1b1b;color:#fff;font:12px/1.3 sans-serif;display:none;flex-direction:column;border-left:1px solid #333}
.cz-on #cz-ui{display:flex}#cz-ui.left{right:auto;left:0;border-left:0;border-right:1px solid #333}.cz-on #cz-ui.left~#cz-btn,.cz-on:has(#cz-ui.left) #cz-btn{right:18px}
#cz-ui.fold{bottom:auto}.fold #cz-body,.fold #cz-foot{display:none}
#cz-top{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #333;font-size:14px}
#cz-body{flex:1;overflow:auto;padding:8px 12px}#cz-foot{display:flex;gap:6px;padding:10px 12px;border-top:1px solid #333}
#cz-ui button:not(:where(#gldock *)){background:#333;color:#fff;border:0;border-radius:5px;padding:5px 8px;cursor:pointer;font:inherit}#cz-ui button:not(:where(#gldock *)):hover{background:#4a4a4a}
.czh{margin:6px 0 8px;font-size:14px}.czh small{display:block;color:#888;font-size:11px}.czr{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0;align-items:center}.scope{flex-direction:column;align-items:flex-start}
#cz-ui details:not(:where(#gldock *)){border-top:1px solid #2c2c2c;padding:6px 0}#cz-ui summary:not(:where(#gldock *)){cursor:pointer;font-weight:700;padding:4px 0}
.czf{display:grid;grid-template-columns:92px 1fr 54px 14px;gap:6px;align-items:center;margin:5px 0}.czf>span{color:#bbb}.czf input[type=range]{width:100%;min-width:0}
.czf input[type=color]{grid-column:2/4;width:100%;height:24px;padding:0;border:0;background:none}.czf select{grid-column:2/4;background:#333;color:#fff;border:0;padding:4px;border-radius:4px}
.czf input[type=file]{grid-column:2/4;width:100%;font-size:11px}.czf i{color:#777;cursor:pointer;font-style:normal;grid-column:4}.czf output{color:#999;text-align:right}
.czm{color:#aaa;line-height:1.6}
#cz-sel,#cz-hov{position:fixed;pointer-events:none;z-index:100;display:none;box-sizing:border-box}
#cz-sel{border:2px solid #6dc849;background:rgba(109,200,73,.06)}#cz-hov{border:1px dashed rgba(255,255,255,.7)}
#cz-h{position:fixed;width:14px;height:14px;background:#6dc849;border-radius:3px;z-index:101;display:none;cursor:nwse-resize}
/* accounts */
#au{position:fixed;inset:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:200;display:grid;place-items:center}
.aum{position:relative;width:360px;max-width:calc(92vw / var(--z,1));background:#202020;border-radius:12px;padding:28px;display:flex;flex-direction:column;gap:12px}
.aum h2{margin:0 0 6px;font-size:28px}.aum input{background:rgba(255,255,255,.07);border:0;border-radius:8px;padding:13px 14px;color:#fff;font:inherit;outline:0}.aum input:focus{background:rgba(255,255,255,.14)}
.aum small{color:rgba(255,255,255,.45)}.aue{color:#fc4b37;min-height:18px}.auk{background:#fff;color:#151515;border:0;border-radius:8px;padding:13px;font:inherit;font-weight:500;cursor:pointer}
.aus{color:rgba(255,255,255,.6);text-align:center;cursor:pointer;text-decoration:underline}
.aun{margin:0;font-size:13px;line-height:1.5;color:rgba(255,255,255,.7)}.aun b{color:#fff;font-weight:500}.auo{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.4;color:rgba(255,255,255,.85);cursor:pointer}.auo input{margin:2px 0 0;accent-color:#fff}
.srvbox{max-width:640px;background:#202020;border-radius:12px;padding:16px 18px;margin:0 0 18px}.srvbox p{margin:0 0 12px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.75)}.srvbox p b{color:#fff;font-weight:500}.srvbox .fr{margin:0;padding:0}
.pcset p{display:flex;flex-direction:column;gap:2px;margin:0 0 10px;font-size:13px;overflow-wrap:anywhere}.pcset p small{color:rgba(255,255,255,.5)}.pcset p b{font-weight:500}.aux{position:absolute;right:14px;top:12px;background:none;border:0;color:#fff;font-size:18px;cursor:pointer}
.uchip{display:inline-flex;align-items:center;gap:8px;text-transform:none}.av{width:26px;height:26px;border-radius:50%;display:inline-grid;place-items:center;font:700 13px sans-serif;font-style:normal;color:#fff}.av.big{width:84px;height:84px;font-size:36px}
.prof{display:flex;align-items:center;gap:22px;margin:10px 0 28px}.prof b{font-size:32px;display:block}.prof small{color:rgba(255,255,255,.45)}
.no-admin a[href="#/features"]{display:none}.no-accounts #a-in,.no-accounts #a-up,.no-accounts #a-out,.no-accounts #a-user{display:none!important}
/* inline rating */
.pls{display:flex;align-items:center;height:auto;min-height:24px;margin-bottom:6px}.pls .rt{margin-left:auto}
.rt{display:inline-flex;align-items:center;white-space:nowrap}
.rs{display:inline-flex;align-items:center;font-size:var(--rs,24px);line-height:1;margin-right:var(--rg,4px);cursor:pointer;color:var(--rtc,#f5c518);font-style:normal;filter:grayscale(1);opacity:var(--rf,.28);transition:opacity .15s,filter .15s,transform .15s}
.rs:last-child{margin-right:0}.rs img,.rt.rated img{height:var(--rs,24px);width:auto;display:block}
.rt:hover .rs{opacity:1;filter:none}.rt .rs:hover~.rs{opacity:var(--rf,.28);filter:grayscale(1)}.rt .rs:hover{transform:scale(1.2)}
.rt.editing .rs.cur{border-radius:6px}
.rt.rated{font-size:var(--rs,24px);line-height:1;cursor:pointer;font-style:normal}
.rt.rated.fresh.a-pop{animation:rpop .4s cubic-bezier(.2,1.7,.4,1)}.rt.rated.fresh.a-spin{animation:rspin .55s ease-out}.rt.rated.fresh.a-bounce{animation:rbounce .6s}
@keyframes rpop{from{transform:scale(.2);opacity:.2}to{transform:scale(1);opacity:1}}
@keyframes rspin{from{transform:rotate(-360deg) scale(.2)}to{transform:none}}
@keyframes rbounce{0%{transform:scale(.6)}40%{transform:translateY(-12px) scale(1.15)}70%{transform:translateY(2px)}100%{transform:none}}
.yr{margin:0 0 18px}.yr small{display:block;color:rgba(255,255,255,.4);font-size:11px;letter-spacing:2px;margin-bottom:8px}.game .rt{zoom:1.4}
.rs-grid{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:start;max-width:980px}
.rs-prev{background:#202020;border-radius:12px;padding:18px;position:sticky;top:16px}.rs-prev small{display:block;color:rgba(255,255,255,.4);letter-spacing:2px;font-size:11px;margin-bottom:14px}
#rs-ed{display:grid;gap:10px}.rs-sec{background:#202020;border-radius:12px;padding:16px 18px}.rs-sec h4{margin:0 0 10px;font-size:15px}
.rs-f{display:grid;gap:10px;align-items:center;margin:8px 0}.rs-f>span{color:rgba(255,255,255,.55)}
.rs-sec input[type=text],.rs-sec select{background:rgba(255,255,255,.08);border:0;border-radius:6px;padding:8px 10px;color:#fff;font:inherit;min-width:0}
.rs-f input[type=text]:not(.rs-sec *){background:rgba(255,255,255,.08);border:0;border-radius:6px;padding:8px 10px;color:#fff;font:inherit;min-width:0}.rs-sec select option{background:#202020}.rs-f output{color:rgba(255,255,255,.5);text-align:right}
.rs-lv{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.rs-lv>b{color:rgba(255,255,255,.4);font-weight:500}.rs-lv>input[data-k=label]{flex:1;min-width:90px}
.rs-ic{display:flex;align-items:center;gap:8px}.rs-pi{width:36px;height:36px;display:grid;place-items:center;font-size:24px;background:rgba(255,255,255,.06);border-radius:8px;overflow:hidden;flex:none}.rs-pi img{max-width:100%;max-height:100%}
.sm{padding:6px 10px;min-width:0;height:auto;font-size:13px}.rs-note{color:rgba(255,255,255,.5);margin:0 0 10px}
.rs-lv input[type=color]{width:34px;height:30px;padding:0;border:0;background:none}

label.pill.sm:after{display:none}.bar{flex-wrap:wrap}.bar .pill{min-width:0}.bar label.pill{min-width:0;padding:8px 12px}.bar .pill select{field-sizing:content}
/* library behavior */
.card{cursor:default}.card h3 a{color:inherit}
.pls{justify-content:space-between}.pls .rt{margin:0 auto}
.sc{border:1px solid #6dc849;border-radius:4px;padding:0 6px;font-size:14px;font-weight:700;line-height:20px}
.add{cursor:pointer;transition:.15s}
.add.on{padding:0}.add.on:before{content:none}.add.on i{font-style:normal;display:inline-flex;align-items:center;gap:4px;height:24px;}
.add.on:hover .lv{border-color:#ccc}
.ib{cursor:pointer}.ib:hover{background:#fff;color:#151515}.ib.on{background:#fff;color:#151515}.ib svg{display:block}
.b1,.b2,.b3{cursor:pointer}.b1.on{background:#fff;color:#151515;outline:2px solid #6dc849;outline-offset:-2px}.b2.on{background:#fff;color:#151515}.btns em{font-style:normal;opacity:.5;font-size:12px;margin-left:4px}
.mn{position:absolute;z-index:150;min-width:260px;max-width:300px;border-radius:10px;overflow:hidden;font-size:14px}
.mi{display:flex;gap:12px;align-items:flex-start;padding:11px 14px;cursor:pointer}.mi>i{font-style:normal;width:18px;text-align:center;margin-top:1px}
.mi b{display:block;font-weight:500}.mi small{display:block;font-size:12px;margin-top:1px}.mi.del{border-top:1px solid #e3e3e3;font-weight:500}
.mi.nc{gap:8px;border-top:1px solid #e3e3e3;cursor:default}.mi.nc:hover{background:none}.mi.nc input{flex:1;min-width:0;border:1px solid #ddd;border-radius:6px;padding:7px 9px;font:inherit}.mi.nc button{border:0;border-radius:6px;padding:7px 12px;cursor:pointer;font:inherit}
#toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#fff;color:#151515;padding:11px 20px;border-radius:8px;z-index:300;font-weight:500;box-shadow:0 8px 30px rgba(0,0,0,.5)}
.aum textarea{background:rgba(255,255,255,.07);border:0;border-radius:8px;padding:13px 14px;color:#fff;font:inherit;outline:0;resize:vertical}.aum.rv{width:520px}.aum.rv h2{font-size:26px}
.myrev{background:#202020;border-radius:12px;padding:16px 20px;margin:0 0 24px}.myrev small{color:rgba(255,255,255,.4);letter-spacing:2px;font-size:11px}.myrev b{display:block;margin:6px 0;font-size:18px}.myrev p{margin:0 0 8px;white-space:pre-line;color:rgba(255,255,255,.8)}.myrev a{text-decoration:underline;cursor:pointer;color:rgba(255,255,255,.6)}
.gb span[data-lb]{cursor:pointer}
.ctiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}.ctile{background:#202020;border-radius:12px;padding:14px;display:block}.ctile b{display:block;font-size:18px;margin-top:10px}.ctile small{color:rgba(255,255,255,.4);letter-spacing:1px}
.cth{display:grid;grid-template-columns:1fr 1fr;gap:4px}.cth img,.cth i{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;background:#2b2b2b;display:block}
aside .uh{display:flex;align-items:center;gap:10px}aside .uh .av{width:28px;height:28px}.no-library .act .add,.no-library .act .ib,.no-library #su,.no-library .ul{display:none!important}
.add b:empty{display:none}.add:has(b:empty):not(.on){gap:0}
/* fixes + sidebar pages */
.rt.editing .rs.cur{outline:none}
.pill.on{background:rgba(255,255,255,.07);color:#fff}.pill.tab.on{background:#fff;color:#151515}.pill.dv.on{background:#444;color:#fff}.pill.tab{text-decoration:none}
.ic svg path{transition:fill .3s}
aside a.cur{font-weight:700}aside a.cur .ic{background:#fff}aside a.cur .ic svg,aside a.cur .ic svg path{fill:#151515}aside a.cur .ic{color:#151515}
.mn{background:#262626;color:#f1f1f1;border:1px solid #363636;box-shadow:0 12px 40px rgba(0,0,0,.65)}
.mi:hover{background:#313131}.mi>i{color:#8d8d8d}.mi small{color:#8a8a8a}.mi.del{color:#ff6b6b;border-top-color:#363636}
.mi .sel{margin-left:auto;color:#6dc849;font-style:normal;font-weight:700;align-self:center}
.mi.nc{border-top-color:#363636}.mi.nc input{background:#1b1b1b;border-color:#3a3a3a;color:#fff}.mi.nc button{background:#fff;color:#151515}
.gl a,.dg a,.meta .gl a{text-decoration:underline;text-underline-offset:2px}.gl a:hover{color:#fad860}
.rvf{flex-wrap:wrap}.rfq{background:rgba(255,255,255,.07);border:0;border-radius:8px;padding:10px 16px;color:#fff;font:inherit;font-size:14px;outline:0;min-width:200px}.rfq:focus{background:rgba(255,255,255,.14)}.rfq::placeholder{color:rgba(255,255,255,.5)}
#rv-list,#rvlist{max-width:760px}#rvlist h2{margin:36px 0 14px}#rvlist h2 small{color:rgba(255,255,255,.4);font-size:16px;font-weight:400}
.rvc{background:#202020;border-radius:12px;padding:18px 20px;margin:0 0 16px}.rvc>.rvt{margin-bottom:12px}
.rvh{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.rvr{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:24px;line-height:1}.rvr img{height:24px}.rvr em{font-style:normal;font-size:13px;color:rgba(255,255,255,.55)}
.rvo .bl-rvb{margin-left:0}.rvo h3{margin:0 0 6px;font-size:18px}.rvo p{margin:0 0 14px;white-space:pre-line;line-height:1.5;color:rgba(255,255,255,.85);font-size:15px}
.rvo footer{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,.5);font-size:13px}.rvo footer b{color:#fff;font-weight:500}.rvo footer a{margin-left:auto;text-decoration:underline;cursor:pointer}.rvo footer a.un{margin-left:0;text-decoration:none}.rvo footer a.un:hover b{text-decoration:underline}
.rvt{display:flex;align-items:center;gap:12px}.rvt img{width:46px;height:46px;border-radius:8px;object-fit:cover}.rvt b{font-size:18px}.rvt:hover b{text-decoration:underline}
/* icon-based library, owned platforms, rating next to title, display icons */
.add.on .sti{display:inline-flex;align-items:center;font-size:14px;line-height:1}.add.on .sti img{height:14px}.add.on .lc{gap:6px}
.plw{display:inline-flex;align-items:center;cursor:pointer;gap:0}.pi.off{opacity:.3}.plw:hover .pi.off{opacity:.7}
.ownl{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:4px}.oc{display:inline-flex;align-items:center;gap:6px}.oc svg{height:14px;width:auto;fill:#fff}
.sg{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:10px}.sg.pg{grid-template-columns:repeat(6,1fr);border-top:1px solid #363636;padding-top:10px}
#mn .si{font-size:24px;line-height:1;background:#303030;border:1px solid transparent;border-radius:10px;height:46px;cursor:pointer;color:#fff;display:grid;place-items:center}#mn .si:hover{background:#3b3b3b}#mn .si.sel{border-color:#6dc849;background:#2d3a28}#mn .si img{height:24px;width:auto}
.pc2{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:46px;background:#2c2c2c;border:1px solid transparent;border-radius:10px;cursor:pointer;color:#fff;padding:0}.pc2:hover{background:#3b3b3b}.pc2 svg{height:14px;width:auto;fill:#fff}.pc2 em{font-style:normal;font-size:10px;color:#aaa}.pc2.on{border-color:#6dc849;background:#2d3a28}.pc2.on em{color:#cfe9c4}
.cf{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border-top:1px solid #363636;color:#8d8d8d;font-size:12px}.cf .tr{background:none;border:0;cursor:pointer;font-size:16px;color:#fff;padding:2px 4px;border-radius:6px}.cf .tr:hover{background:#3b3b3b}
.pls .rt.rerate{opacity:0;transition:opacity .15s}.pls:hover .rt.rerate,.card.rerating .rt.rerate{opacity:1}.rt.rerate:not(:hover) .rs.lit{opacity:1;filter:none}
.rm{display:inline-block;font-size:.9em;line-height:1;cursor:pointer;vertical-align:baseline}.rm img{height:.95em;width:auto;vertical-align:-.1em}
.rm.fresh.a-pop{animation:rpop .4s cubic-bezier(.2,1.7,.4,1)}.rm.fresh.a-spin{animation:rspin .55s ease-out}.rm.fresh.a-bounce{animation:rbounce .6s}
.dv{overflow:hidden}.dv svg{display:block;color:rgba(255,255,255,.5)}.dv.on svg{color:#fff}
/* card titles: no underline, and the big single-column title leaves room for the button and wraps */
.card h3 a,.card h3 a:hover{text-decoration:none}
/* the last word of a title and its rating icon always stay together */
.tl{white-space:nowrap}.tl .rm{margin-left:.3em}
/* game music */
.no-music #mpanel,.no-music #mp{display:none!important}
.mpn{background:#202020;border-radius:12px;padding:14px 16px;margin:20px 0 0}.mph{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.mph b{font-size:15px}
.mph button,.mpt button,.mpa button{background:none;border:0;color:#fff;cursor:pointer;font-size:15px;padding:4px 7px;border-radius:6px}.mph button:hover,.mpt button:hover,.mpa button:hover{background:#333}
.mpt{display:flex;align-items:center;gap:6px;padding:4px 0}.mpt .mtn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.mpt.cur .mtn{color:#6dc849;font-weight:500}.mpt button.on{color:#fad860}.mdef{color:#fad860;padding:4px 7px}
.mpe{color:rgba(255,255,255,.45);margin:4px 0 8px;font-size:13px;line-height:1.4}.mpa{display:flex;gap:6px;margin-top:8px}.mpa input{flex:1;min-width:0;background:rgba(255,255,255,.07);border:0;border-radius:8px;padding:9px 12px;color:#fff;font:inherit;font-size:13px;outline:0}.mpa input:focus{background:rgba(255,255,255,.14)}.mpa button{background:#fff;color:#151515;font-weight:700}
#mp{position:fixed;left:18px;bottom:18px;width:200px;background:#202020;border-radius:12px;box-shadow:0 10px 36px rgba(0,0,0,.6);z-index:90;display:none;overflow:hidden}#mp.on{display:block}
.mph2{display:flex;align-items:center;gap:4px;padding:5px 6px 5px 10px;font-size:12px}.mph2 b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.mpc{display:flex;gap:2px}.mpc button{background:none;border:0;color:#fff;cursor:pointer;padding:2px 5px;border-radius:6px;font-size:13px}.mpc button:hover{background:#333}
.mpb{width:200px;height:200px;background:#000}.mpb iframe{display:block}#mp-msg{padding:0 12px;font-size:12px;color:#fad860}#mp-msg:not(:empty){padding:8px 12px}
#pubn{color:#ffcf5c!important;cursor:pointer;white-space:nowrap}#pubn:hover{text-decoration:underline}
#vbar{position:fixed;left:50%;bottom:16px;translate:-50% 0;z-index:120;display:flex;align-items:center;gap:10px;padding:7px 8px 7px 12px;border-radius:999px;background:#1c1c1c;box-shadow:0 0 0 1px rgba(255,255,255,.2),0 8px 24px rgba(0,0,0,.55);font-size:14px;white-space:nowrap}#vbar .av{width:24px;height:24px}body.visiting #toast{bottom:74px}body.mobile #vbar{bottom:70px}body.mobile.visiting #toast{bottom:128px}
.members{margin:0 0 22px}.members small{display:block;color:rgba(255,255,255,.4);letter-spacing:2px;font-size:11px;margin-bottom:10px}.members a{display:inline-flex;align-items:center;gap:8px;background:#202020;border-radius:20px;padding:5px 14px 5px 6px;margin:0 8px 8px 0}
.cth1 img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}
/* ===== glass cards ===== */
:root{--gb:20px;--ga:.45;--gt:20,20,20;--gsh:1;--gts:.55}
.cbgw{display:none}
.glass .card{background:transparent;box-shadow:0 14px 34px rgba(0,0,0,.38)}
.glass .cbgw{display:block;position:absolute;left:0;right:0;top:0;height:100%;z-index:0;pointer-events:none;background:linear-gradient(160deg,#3c3c3c,#1a1a1a);clip-path:inset(0 round var(--gr,12px))}
.glass .grid .card:hover .cbgw,body.mobile.glass .grid .card.tap .cbgw{clip-path:inset(0 round var(--gr,12px) var(--gr,12px) 0 0)}
.no-hover.glass .grid .card:hover .cbgw,body.mobile.no-hover.glass .grid .card.tap .cbgw{clip-path:inset(0 round var(--gr,12px))}
.glass .cbgw img{display:block}
.glass .card>.im,.glass .card>.bd{position:relative;z-index:1}
.glass .im{background:transparent}.glass .im>img{opacity:0}.glass .im .ph{background:transparent}
.glass .bd{background:transparent;}
.glass .bd::before,.glass .grid .meta::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:0 0 var(--gr,12px) var(--gr,12px);background:linear-gradient(115deg,rgba(255,255,255,calc(.13*var(--gsh))),rgba(255,255,255,0) 40%),rgba(var(--gt),var(--ga));-webkit-backdrop-filter:blur(var(--gb)) saturate(1.7);backdrop-filter:blur(var(--gb)) saturate(1.7);box-shadow:inset 0 1px 0 rgba(255,255,255,calc(.3*var(--gsh))),inset 0 0 0 1px rgba(255,255,255,calc(.07*var(--gsh)))}
.glass .grid .card:hover .bd::before,body.mobile.glass .grid .card.tap .bd::before{border-radius:0}
.glass .grid .meta{background:transparent;z-index:0}.glass .grid .meta::before{box-shadow:inset 0 0 0 1px rgba(255,255,255,calc(.07*var(--gsh)))}
.glass .bd .add:not(.on),.glass .bd .ib{background:rgba(255,255,255,.16)}.glass .bd .add:not(.on):hover,.glass .bd .ib:hover{background:#fff;color:#151515}
.glass .smt{background:rgba(255,255,255,.14)}.glass .meta div{border-top-color:rgba(255,255,255,.14)}.glass .meta span{color:rgba(255,255,255,.68)}
.glass .sc{background:rgba(0,0,0,.28)}.glass .card .sc{background:rgba(12,10,6,.74);text-shadow:0 0 2px rgba(0,0,0,.7)}/* a darker backing keeps the score readable on light art */
/* glass popover */
.mn.glm{padding:14px 16px;font-size:13px}.glh{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.glh b{font-size:15px;font-weight:500}
.glsw input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}.glsw input:focus-visible+i{outline:2px solid #fff;outline-offset:2px}.glsw i{display:block;width:40px;height:24px;border-radius:12px;background:#4a4a4a;position:relative;cursor:pointer;transition:.2s}.glsw i:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s}.glsw input:checked+i{background:var(--gold)}.glsw input:checked+i:after{left:19px}
.glr{width:100%;accent-color:#fff;margin:0}.gll{display:flex;justify-content:space-between;color:#a9a9a9;font-size:11px;margin:4px 0 10px}
.glp details{border-top:1px solid #363636;padding-top:8px}.glp summary{cursor:pointer;color:#cfcfcf;padding:4px 0}
.glf{display:grid;grid-template-columns:86px 1fr 44px;gap:8px;align-items:center;margin:8px 0;color:#d2d2d2}.glf input[type=range]{width:100%;accent-color:#fff}.glf output{color:#a9a9a9}.glf input[type=color]{grid-column:2/4;width:100%;height:26px;padding:0;border:0;background:none}.glf input[type=checkbox]{justify-self:start}
.glb{display:flex;justify-content:flex-end;margin-top:10px}.glb button{background:#3a3a3a;color:#fff;border:0;border-radius:6px;padding:6px 10px;cursor:pointer;font:inherit}.glb button:hover{background:#4a4a4a}
.glass .bd{text-shadow:0 1px 3px rgba(0,0,0,var(--gts)),0 0 16px rgba(0,0,0,calc(var(--gts) * .9))}
/* glass art: fit the card's width exactly (no zoom); a tall cover simply continues below, under the hover panel */
.glass .cbgw img{width:100%;height:auto;min-height:100%;object-fit:cover;object-position:center top}
.glass .grid .cbgw img{min-height:calc(100% - 240px)}
/* ===== standard art shape + cards that fit the art ===== */
:root{--car:3 / 4}
body.stdart .cover{aspect-ratio:var(--car);object-fit:cover;object-position:center top;width:100%;background:#202020}
body.stdart.artwhole .cover{object-fit:contain}
/* the card takes its shape from the art: the cover's own shape (Original) or the chosen standard shape. Known before images load, so nothing jumps */
body.glass.fitart .card{display:flex;flex-direction:column;aspect-ratio:var(--ca,0.75)}
body.glass.fitart.stdart .card{aspect-ratio:var(--car)}
body.glass.fitart .cbgw,body.glass.fitart .grid .cbgw,body.glass.fitart .grid .card:hover .cbgw,body.mobile.glass.fitart .grid .card.tap .cbgw{position:absolute;inset:0;height:auto;aspect-ratio:auto;clip-path:inset(0 round var(--gr,12px));overflow:hidden}
body.glass.fitart .cbgw img,body.glass.fitart .grid .cbgw img{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:center top;display:block}

body.glass.fitart.artwhole .cbgw img,body.glass.fitart.artwhole .grid .cbgw img{object-fit:contain}
body.glass.fitart.artwhole .cbgw::before{content:"";position:absolute;inset:-24px;background:var(--art) center/cover no-repeat;filter:blur(22px) brightness(.65)}
body.glass.fitart .im{flex:1 1 auto;aspect-ratio:auto;min-height:0;height:auto;border-radius:var(--gr,12px) var(--gr,12px) 0 0}
body.glass.fitart .im>img{display:none}
body.glass.fitart .bd{flex:none}
body.glass.fitart .card .bd::before,body.glass.fitart .grid .card:hover .bd::before,body.mobile.glass.fitart .grid .card.tap .bd::before{border-radius:0 0 var(--gr,12px) var(--gr,12px)}
body.glass.fitart .grid .card:hover,body.mobile.glass.fitart .grid .card.tap{border-radius:var(--gr,12px)}
body.glass.fitart .grid .meta{display:block;position:static;max-height:0;opacity:0;overflow:hidden;padding:0;margin:0;background:transparent;border-radius:0;transition:max-height .28s ease,opacity .2s ease}
body.glass.fitart .grid .meta::before{display:none}
body.glass.fitart .grid .card:hover .meta,body.mobile.glass.fitart .grid .card.tap .meta{max-height:340px;opacity:1}
body.glass.fitart.no-hover .grid .card:hover .meta,body.mobile.glass.fitart.no-hover .grid .card.tap .meta{max-height:0;opacity:0}
/* ===== Hover text (Card style > Hover text): how the stats read over a poster on Fit to art + glass cards. --hts is the strength, 0 to 1 ===== */
/* Chips: every stat sits on its own small dark pill, the poster stays visible around them */
body.glass.fitart.ht-chips .grid .meta>div:first-child{margin-top:6px}
body.glass.fitart.ht-chips .grid .meta>div{display:flex;width:fit-content;max-width:100%;margin:0 0 clamp(3px,2.4cqi,5px);padding:clamp(2px,1.4cqi,3px) clamp(5px,4.6cqi,9px);gap:clamp(4px,3cqi,8px);border:0;border-radius:clamp(5px,3.6cqi,7px);background:rgba(10,10,12,calc(.28 + .62*var(--hts)));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-shadow:none}
body.glass.fitart.ht-chips .grid .meta>div *{text-shadow:none}
body.glass.fitart.ht-chips .grid .meta span{color:rgba(255,255,255,.82)}
body.glass.fitart.ht-chips .grid .meta .smt{display:flex;justify-content:space-between;margin:2px 0 0;border-radius:clamp(6px,4.4cqi,9px);background:rgba(10,10,12,calc(.28 + .62*var(--hts)));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-shadow:none}
/* Fade: a soft dark gradient rises under the text while you hover */
body.glass.fitart.ht-fade .bd::after{content:"";position:absolute;left:0;right:0;bottom:0;top:-90px;z-index:-1;pointer-events:none;border-radius:0 0 var(--gr,12px) var(--gr,12px);background:linear-gradient(to top,rgba(0,0,0,calc(.3 + 1.1*var(--hts))),rgba(0,0,0,calc(.15 + 1.1*var(--hts))) 55%,rgba(0,0,0,0));opacity:0;transition:opacity .25s}
body.glass.fitart.ht-fade .grid .card:hover .bd::after,body.mobile.glass.fitart.ht-fade .grid .card.tap .bd::after{opacity:1}
body.glass.fitart.ht-fade.no-hover .grid .card:hover .bd::after,body.mobile.glass.fitart.ht-fade.no-hover .grid .card.tap .bd::after{opacity:0}
body.glass.fitart.ht-fade .grid .meta span{color:rgba(255,255,255,.9)}
/* Outline: the text gets a dark edge, nothing else changes */
body.glass.fitart.ht-outline .bd,body.glass.fitart.ht-outline .bd *{-webkit-text-stroke:calc(1px + 2.4px*var(--hts)) rgba(0,0,0,.82);paint-order:stroke fill;text-shadow:0 1px 3px rgba(0,0,0,.9),0 0 10px rgba(0,0,0,.6)}
body.glass.fitart.ht-outline .meta span{color:#fff}
body.glass.fitart.ht-outline .meta>div{border-top-color:rgba(255,255,255,.4)}
/* Float: the stats pop up in a glass panel on the lower part of the poster you point at (see hfShow and hfPlace in glass.js).
   It sits inside the card, just above the stars and buttons, so it zooms with the card and never covers the games next to it. Sizes follow the card's width. */
body.glass.fitart.ht-float .grid .card:hover .meta,body.mobile.glass.fitart.ht-float .grid .card.tap .meta{max-height:0;opacity:0}
#htf{position:absolute;z-index:3;box-sizing:border-box;padding:clamp(2px,1.4cqi,4px) clamp(8px,5cqi,14px) clamp(6px,3.6cqi,12px);border-radius:clamp(9px,5.4cqi,14px);background:rgba(var(--gt),calc(.4 + .5*var(--hts)));-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);box-shadow:0 12px 34px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.1);color:#fff;font-size:clamp(10.5px,5.7cqi,13px);line-height:1.25;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s,transform .15s,visibility 0s .15s;pointer-events:none}
#htf.on{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition-delay:0s}
#htf.scr{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#htf div{display:flex;justify-content:space-between;gap:clamp(6px,4cqi,12px);padding:clamp(3px,2cqi,8px) 0;border-top:1px solid rgba(255,255,255,.14);min-width:0}#htf div:first-child{border-top:0}
#htf span{color:rgba(255,255,255,.72)}#htf b{font-weight:500}#htf a{color:#fff}#htf .gl a{text-decoration:underline;text-underline-offset:2px}#htf .gl{overflow-wrap:anywhere;text-align:right;min-width:0}
#htf .smt{display:flex;justify-content:space-between;gap:6px;margin-top:clamp(3px,2cqi,6px);padding:clamp(5px,3cqi,10px) clamp(8px,4.6cqi,12px);font-size:clamp(10.5px,6cqi,14px);white-space:nowrap;overflow:hidden;border-radius:clamp(7px,4.4cqi,9px);background:rgba(255,255,255,.14);text-decoration:none}#htf .smt:hover,#htf .smt:hover span{color:#fad860}
/* the panel covers the bottom of the picture, so Play full video moves to the top corner */
#htf .smt i{font-style:normal;overflow:hidden;text-overflow:ellipsis}#htf .smt .ss{display:none}
/* narrow cards: the values on their own (the labels would wrap) and the shorter button text */
@container card (max-width:175px){#htf>div>span:first-child{display:none}#htf>div{justify-content:flex-start}#htf .gl{text-align:left}#htf .smt .sl{display:none}#htf .smt .ss{display:inline}}
@container card (max-width:130px){#htf{padding:2px 6px 5px}#htf>div{padding:2px 0}#htf .smt{justify-content:center;margin-top:2px;padding:4px 6px}#htf .smt span{display:none}}

/* ===== Titles hidden (Card style > Titles): the cover already carries the game's name. The title stays for screen readers, shows again when it has keyboard focus,
   on tap in the phone layout, and for games with no cover. Clicking the poster opens the game (glass.js). ===== */
body.glass.fitart.notitle .grid .card:not(:has(.cbgw.nocv)) h3:not(:focus-within){position:absolute!important;width:1px;height:1px;margin:-1px!important;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* (phones used to show the hidden title on a tapped card; now a tap opens exactly what hovering opens on a computer) */
/* card-style panel controls */
.glrow{display:grid;grid-template-columns:78px 1fr;gap:8px;align-items:center;margin:8px 0;color:#d2d2d2}
.gsg{display:flex;background:#1b1b1b;border-radius:8px;padding:2px;gap:2px}.gsg button{flex:1;background:none;border:0;color:#cfcfcf;font:inherit;font-size:12px;padding:6px 4px;border-radius:6px;cursor:pointer;white-space:nowrap}
.gsg button:hover{background:#333}.gsg button.on{background:#fff;color:#151515;font-weight:500}.gsg.dis{opacity:.4}.gsg.dis button{cursor:default}
.mn.glm{min-width:340px;max-width:360px}
/* ===== RAWG art mode (landscape images); Classic and Fit to art keep your covers ===== */
.im .iml{display:none}.cbgw .ld{display:none}
body.rawgart .im.hasl .imc{display:none}body.rawgart .im.hasl .iml,.im.nocv .iml{display:block}
body.glass.rawgart .cbgw.hasl .cv{display:none}
body.glass.rawgart .cbgw.hasl .ld,body.glass.rawgart .grid .cbgw.hasl .ld,body.glass:not(.fitart) .cbgw.nocv .ld,body.glass:not(.fitart) .grid .cbgw.nocv .ld{display:block;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:16 / 9;object-fit:cover;object-position:center}
body.glass.rawgart .cbgw.hasl::before,body.glass:not(.fitart) .cbgw.nocv.hasl::before{content:"";position:absolute;}
body.glass.fitart .cbgw.nocv img.ld,body.glass.fitart .grid .cbgw.nocv img.ld{display:block}
.glnote{color:#a9a9a9;font-size:11px;margin:2px 0 6px;line-height:1.4}
/* in-page dialogs */
:root{color-scheme:dark}
#dlg{position:fixed;inset:0;z-index:400;background:rgba(0,0,0,.6);display:grid;place-items:center;padding:16px}
.dlgb{width:380px;max-width:100%;background:#202020;color:#fff;border-radius:12px;padding:22px;box-shadow:0 16px 48px rgba(0,0,0,.6);display:flex;flex-direction:column;gap:14px}.dlgb.wide{width:560px}
.dlgb p{margin:0;font-size:15px;line-height:1.45}.dlgb small{color:rgba(255,255,255,.6);font-size:13px}
.dlgp{display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,.75)}.dlgp select{flex:1;color-scheme:dark}
.dlgb input,.dlgb select,.dlgb textarea{background:rgba(255,255,255,.08);border:0;border-radius:8px;padding:11px 12px;color:#fff;font:inherit;outline:0;width:100%;box-sizing:border-box}.dlgb textarea{font:12px ui-monospace,Menlo,monospace;resize:vertical}
.dlga{display:flex;justify-content:flex-end;gap:8px}.dlga button{border:0;border-radius:8px;padding:9px 16px;font:inherit;font-weight:500;cursor:pointer}
.dlgc{background:rgba(255,255,255,.1);color:#fff}.dlgk{background:#fff;color:#151515}.dlgk.danger{background:#e5484d;color:#fff}.dlga button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.in-frame a[href="fetch-data.html"]{display:none}
/* Fit to art shows your cover; the landscape image only stands in for games that have no cover */
body.glass.fitart .cbgw:not(.nocv) img.ld,body.glass.fitart .grid .cbgw:not(.nocv) img.ld{display:none}
body.glass:not(.rawgart) .cbgw:not(.nocv) img.ld,body.glass:not(.rawgart) .grid .cbgw:not(.nocv) img.ld{display:none}
/* standard art shapes crop from the top, where covers keep their title/logo */
body.glass.fitart.stdart .cbgw img,body.glass.fitart.stdart .grid .cbgw img{object-position:center top}
/* RAWG art is landscape: under the glass there is no more picture, so show a soft colour wash of it, never a second recognisable copy */
body.glass.rawgart .cbgw.hasl::before,body.glass:not(.fitart) .cbgw.nocv.hasl::before{inset:-40px;background:var(--artl) center/cover no-repeat;filter:blur(34px) brightness(.78) saturate(1.2)}
/* screenshot slideshow */
.ssv{position:absolute;inset:0;background-repeat:no-repeat;opacity:0;transition:opacity .12s ease;pointer-events:none}
.ssv.on{opacity:1}
.seg i:first-child{background:rgba(255,255,255,.4)}.seg i.on,.seg i.on:first-child{background:#fff}
.no-slides .seg,.no-slides .ssv{display:none!important}
/* grid columns: chosen in Card style (default 4); small screens still drop to 2, then 1 */
:root{--cols:4}


/* keep the blurred wash inside its card so the page never scrolls sideways */
body.glass .cbgw{overflow:hidden}
.imps{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin:0 0 22px}.imp{background:#202020;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:4px}.imp b{font-size:18px}.imp small{color:#999}.imp .impst{color:#9a9a9a;font-size:13px}.imp .fb{margin:8px 0 0;flex-wrap:wrap}
.psb{display:inline-flex;align-items:center;justify-content:center;font:800 10px/1 Inter,system-ui,sans-serif;letter-spacing:.02em;color:#1a1200;background:#f5c518;border-radius:3px;padding:2px 4px;margin-right:6px;vertical-align:middle}
.tags .psb{font-size:12px;padding:3px 5px}.oc .psb{margin-right:6px}.pc2.psp .psb{font-size:12px;padding:4px 6px;margin:0}.pc2.psp:not(.on) .psb{filter:grayscale(1);opacity:.55}
/* ================= Phone layout (body.mobile) ================= */
#mnav,#mback,aside .mtop{display:none}
.lay{display:flex;align-items:center;gap:12px}.lay>span{color:var(--mute,#999);font-size:14px}.lay .gsg{display:inline-flex;background:rgba(255,255,255,.07);border-radius:8px;padding:3px;gap:2px}
.lay .gsg button{background:none;border:0;color:#ddd;font:inherit;font-size:14px;padding:8px 14px;border-radius:6px;cursor:pointer}.lay .gsg button.on{background:#fff;color:#151515}
.fb.flay{margin:0 0 14px}
body.mobile{-webkit-text-size-adjust:100%;overflow-x:hidden}
body.mobile header{height:auto;padding:12px 16px;gap:10px;flex-wrap:nowrap}
body.mobile header .logo{font-size:18px;letter-spacing:4px}
body.mobile header .rate,body.mobile header nav,body.mobile .search kbd{display:none!important}
body.mobile .search{height:40px;min-width:0;margin:0;padding:0 14px}body.mobile .search input{min-width:0;width:100%;}
body.mobile #a-user{margin-left:0}body.mobile #a-user>:not(.av){display:none}
body.mobile #mnav{display:flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;flex:none;background:none;border:0;padding:8px;cursor:pointer;order:-1;margin-left:-8px}
body.mobile #mnav i{display:block;height:2px;border-radius:2px;background:#fff}
body.mobile .shell{display:block;padding:0 16px 80px}
body.mobile aside{position:fixed;z-index:160;top:0;left:0;bottom:0;width:min(calc(84vw / var(--z,1)),330px);padding:18px 20px 40px;background:var(--bg,#151515);overflow-y:auto;transform:translateX(-102%);display:block!important;box-shadow:10px 0 40px rgba(0,0,0,.5);box-sizing:border-box}
body.mobile.navopen aside{transform:none}
body.mobile #mback{display:block;position:fixed;inset:0;z-index:155;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:opacity .25s}
body.mobile.navopen #mback{opacity:1;pointer-events:auto}body.mobile.navopen{overflow:hidden}
body.mobile aside .mtop{display:block;margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.1)}
body.mobile .mlinks{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mlinks a{background:rgba(255,255,255,.08);border-radius:8px;padding:10px 14px;font-size:14px;font-weight:600;cursor:pointer;text-transform:uppercase;letter-spacing:.5px}
body.mobile aside a{min-height:40px}
body.mobile main h1,body.mobile .gt{font-size:clamp(34px,calc(10vw / var(--z,1)),48px)!important;line-height:1.05;letter-spacing:-.5px;overflow-wrap:anywhere}
body.mobile main h1:not(.gt){font-size:clamp(24px,calc(7vw / var(--z,1)),34px)!important}
body.mobile .sub{font-size:14px}
body.mobile .bar{gap:8px;margin-bottom:20px}body.mobile .bar .pill,body.mobile .bar label.pill{min-width:0;flex:1 1 calc(50% - 8px);padding:10px 12px;font-size:14px}
body.mobile .bar .pill select{width:100%;font-size:14px}body.mobile .bar .lbl,body.mobile .bar .grow{display:none}
body.mobile .bar .dv,body.mobile .bar .pill.dv{flex:0 0 auto;padding:6px}
body.mobile .grid,body.mobile:not(.x) .grid{column-count:var(--mcols,1)!important;column-gap:12px}
body.mobile .card:hover,body.mobile.mobile .card.tap{transform:none}
body.mobile .card .im{touch-action:pan-y}
body.mobile .card .ib,body.mobile .card .act>*{min-height:32px;min-width:36px}
/* phones: tap areas of at least 24x24px for the stars and the + button, with no change to how they look (a transparent pad; ratings.js picks the star nearest the finger) */
body.mobile .rt .rs,body.mobile .act .add:not(.on){position:relative}
body.mobile .rt .rs::before,body.mobile .act .add:not(.on)::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,24px);height:max(100%,24px);transform:translate(-50%,-50%)}
body.mobile .card .seg{display:flex}
body.mobile .game{display:block;margin:0!important;padding-top:16px}
body.mobile .game>div:last-child{margin-top:28px}
body.mobile .cover{max-width:300px;margin:0 auto}
body.mobile .crumb{font-size:11px;overflow-wrap:anywhere}
body.mobile .tags{flex-wrap:wrap;row-gap:8px}
body.mobile .btns{flex-wrap:wrap;gap:10px}body.mobile .btns>*{flex:1 1 calc(50% - 10px);min-width:0}

body.mobile .gb{flex-wrap:wrap}body.mobile .gb span{flex:1 1 auto;text-align:center}
body.mobile .dg{grid-template-columns:1fr 1fr;gap:14px 16px}
body.mobile .fb{flex-wrap:wrap}
body.mobile #sb{height:60px;padding:0 12px;gap:10px}body.mobile #sb nav{display:none}body.mobile #sb .th{width:36px;height:46px}body.mobile #sb .si b{font-size:16px}
/* menus and panels become bottom sheets */
body.mobile #mn{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;min-width:0;max-width:none!important;max-height:calc(82vh / var(--z,1));overflow-y:auto;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom,0);z-index:170}
body.mobile #mn::before{content:"";display:block;width:40px;height:4px;border-radius:4px;background:rgba(255,255,255,.25);margin:8px auto 4px}
body.mobile #cz-ui{top:auto;left:0;right:0;width:auto;height:calc(52vh / var(--z,1));border-radius:16px 16px 0 0}body.mobile #cz-ui.fold{height:auto}
body.mobile #cz-btn{right:14px;}
body.mobile #mp{left:10px;right:70px;bottom:10px;width:auto}
body.mobile #au .aum,body.mobile #dlg>*{width:calc(calc(100vw / var(--z,1)) - 32px)!important;max-width:420px;box-sizing:border-box}
body.mobile #toast{bottom:76px;max-width:calc(calc(100vw / var(--z,1)) - 32px)}
body.mobile .rvt{flex-wrap:wrap}body.mobile .rvr{font-size:20px}
body.mobile .imps{grid-template-columns:1fr}
body.mobile .features .fr{gap:12px}
body.mobile .lg{flex-wrap:wrap;gap:8px 16px}body.mobile #bg{left:0;right:0;width:auto;overflow:hidden}
body.mobile .yr .rt{flex-wrap:wrap}
body.mobile .search{font-size:0}body.mobile .search input{font-size:16px}body.mobile .search svg{flex:none}
body.mobile .bar button.pill,body.mobile .bar .pill.dv{flex:0 0 auto!important;min-width:0;padding:6px 8px}
body.mobile .bar label.pill{white-space:nowrap;overflow:hidden}body.mobile .bar label.pill b{min-width:0;overflow:hidden}
body.mobile .stats{flex-wrap:nowrap;gap:0}body.mobile .stats>div{flex:1 1 0;min-width:0;padding:0 10px;margin:0!important}body.mobile .stats>div:first-child{padding-left:0!important;flex:1.6 1 0}
body.mobile .stats b{font-size:clamp(17px,calc(5vw / var(--z,1)),22px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.mobile .stats small{font-size:10px;letter-spacing:1px}
body.mobile .bar label.pill{font-size:13px;padding:10px}body.mobile .bar label.pill select{font-size:13px}
body.mobile .stats>div:first-child b{white-space:normal;font-size:clamp(16px,calc(4.6vw / var(--z,1)),20px)!important}
/* phone: compact cards at 2 and 3 columns */
body.mobile .card .rt{flex-wrap:nowrap}

body.mobile.mc2 .grid .card,body.mobile.mc3 .grid .card{margin-bottom:calc(10px + var(--cudh,0px));border-radius:var(--gr,10px)}
body.mobile.mc2 .grid .bd{padding:8px 10px 10px}body.mobile.mc3 .grid .bd{padding:6px 7px 8px}
body.mobile.mc2 .grid .card h3{font-size:15px;line-height:18px;margin:4px 0 6px;letter-spacing:0}
body.mobile.mc3 .grid .card h3{font-size:12px;line-height:15px;margin:3px 0 2px;letter-spacing:0}
body.mobile.mc2 .grid .card h3,body.mobile.mc3 .grid .card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body.mobile.mc2 .grid .pls{gap:4px;min-height:16px}body.mobile.mc3 .grid .pls{gap:2px;min-height:14px}
body.mobile.mc2 .grid .pi svg{height:10px}body.mobile.mc3 .grid .pi svg{height:9px}body.mobile.mc2 .grid .pi,body.mobile.mc3 .grid .pi{margin-right:3px}
body.mobile.mc2 .grid .card .rt{--rs:13px!important;--rg:2px!important}
body.mobile.mc2 .grid .rt.rated,body.mobile.mc3 .grid .rt.rated{font-size:14px}
body.mobile.mc2 .grid .sc{font-size:11px;line-height:15px;padding:0 4px}body.mobile.mc3 .grid .sc{font-size:10px;line-height:13px;padding:0 3px}
body.mobile.mc2 .grid .card .ib,body.mobile.mc2 .grid .card .act>*{min-height:26px;min-width:30px;height:26px;font-size:12px}
body.mobile.mc2 .grid .act{gap:4px}
body.mobile.mc2 .grid .psb,body.mobile.mc3 .grid .psb{font-size:8px;padding:1px 3px;margin-right:3px}
/* 3 columns: platform, score and title only; tap the card for stars and buttons */
body.mobile.mc3 .grid .card:not(.tap) .pls .rt:not(.rated),body.mobile.mc3 .grid .card:not(.tap) .act{display:none}

body.mobile.mc3 .grid .card.tap .act>*,body.mobile.mc3 .grid .card.tap .ib{min-height:24px;min-width:26px;height:24px;font-size:11px}
body.mobile.mc2 .grid .seg,body.mobile.mc3 .grid .seg{bottom:6px;left:8px;right:8px}
body.mobile.mc2 .grid .pc svg,body.mobile.mc3 .grid .pc svg{width:28px;height:28px}
body.mobile.mc2 .grid .meta,body.mobile.mc3 .grid .meta{font-size:11px}
body.mobile.mc3 .grid .meta .smt{font-size:11px;padding:6px}
/* phone: keep the art inside the card's own frame (the 240px under-panel extension stops cards splitting into columns on narrow screens) */
body.mobile.glass .grid .cbgw,body.mobile.glass .grid .card.tap .cbgw,body.mobile.glass .grid .card:hover .cbgw,body.mobile.mobile.glass .grid .card.tap .cbgw{height:100%;clip-path:inset(0 round var(--gr,10px))}
body.mobile.glass .grid .cbgw img{min-height:100%}
body.mobile.glass:not(.fitart) .grid .meta{z-index:6}
body.mobile.mc3 .grid .card .rt{--rs:10px;--rg:1px}body.mobile.mc3 .grid .meta{font-size:10px}body.mobile.mc3 .grid .meta>div{gap:4px}
.czlay{background:#242424;border:1px solid #333;border-radius:8px;padding:8px 10px;margin:0 0 10px}.czlay>b{display:block;font-size:13px}.czlay>small{display:block;color:#9a9a9a;margin:2px 0 4px}
.czlay.czph{border-color:#3d5a2a;background:#1f2a19}.czlay .czr{margin-top:4px}
#cz-ui .czlay{display:block;text-align:left;padding:7px 10px}#cz-ui .czlay>small{font-size:11px;margin:1px 0 0}
#cz-ui .czlay .czf{margin:6px 0 0}#cz-ui .czlay .czr{margin:6px 0 0}
body.mobile.cz-on #cz-btn{display:none}
#layft{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 18px;padding:26px 16px 34px;margin-top:10px;border-top:1px solid rgba(255,255,255,.08)}
#layft .layt{background:rgba(255,255,255,.1);color:#fff;border:0;border-radius:999px;padding:12px 22px;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
#layft .layt:hover{background:#fff;color:#151515}#layft .laym{color:rgba(255,255,255,.45);font-size:13px}#layft .laym a{color:rgba(255,255,255,.75);text-decoration:underline;cursor:pointer}
body.mobile #layft{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
/* phone layout chosen on a wide screen: preview it at phone width, centred */
body.mobile.mwide{--pfl:max(0px,calc(calc(50vw / var(--z,1)) - 215px))}
body.mobile.mwide header,body.mobile.mwide .shell,body.mobile.mwide #layft,body.mobile.mwide footer.attr{max-width:430px;margin-left:auto;margin-right:auto;box-sizing:border-box}
body.mobile.mwide::before{content:"";position:fixed;top:0;bottom:0;left:var(--pfl);right:var(--pfl);border-left:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08);pointer-events:none;z-index:0}
body.mobile.mwide aside{left:var(--pfl);width:min(330px,calc(calc(100vw / var(--z,1)) - 2 * var(--pfl)))}
/* the dimmed backdrop behind the open menu covers the whole window, so a tap in the side margins closes it too */
body.mobile.mwide #mn{left:var(--pfl)!important;right:var(--pfl)!important}
body.mobile.mwide #cz-ui{left:var(--pfl);right:var(--pfl)}
body.mobile.mwide #sb{left:var(--pfl);right:var(--pfl)}
body.mobile.mwide #cz-btn{right:calc(var(--pfl) + 14px)}
body.mobile.mwide #mp{left:calc(var(--pfl) + 10px);right:calc(var(--pfl) + 70px)}
body.mobile aside{visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}body.mobile.navopen aside{visibility:visible;transition:transform .25s ease,visibility 0s}
body.mobile aside .ic,body.mobile aside .ic svg{transition:background-color .3s,color .3s,fill .3s}
#syncst{position:relative;z-index:2;pointer-events:none;text-align:center;font-size:13px;color:rgba(255,255,255,.55);padding:0 16px 22px;margin-top:-18px}
#syncst[data-s=error],#syncst[data-s=full]{color:#fdca52}body.mobile #syncst{margin-top:-70px;padding-bottom:84px}
.stsets{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px}.stsets>span{color:var(--mute,#999)}.stsets small{color:rgba(255,255,255,.45);flex-basis:100%}
.stsets .pill{gap:4px;min-width:0}.stsets .pill img,.stsets .pill span{height:22px;width:auto;font-size:18px;line-height:22px}.stsets em{font-style:normal;margin-left:6px}
.rs-pi img,.rs-ic img{height:28px;width:auto}
img.ico{height:1.25em;width:auto;vertical-align:-.25em;display:inline-block}
#mn .si img.ico{height:30px}.btns img.ico{height:26px}.act img.ico,.ib img.ico{height:16px}.rs-pi img.ico,.rs-ic img.ico{height:28px}.tab img.ico{height:20px}
.rs img.ico,.rt.rated img.ico{height:var(--rs,24px)}
/* ---- Card style dock ---- */
#gl-btn{position:fixed;right:18px;z-index:119;border-radius:50%;border:0;background:#2b2b2b;color:#fff;cursor:pointer;}
#gl-btn:hover,#gl-btn.on{background:#fff;color:#151515}
.no-glass #gl-btn,.no-glass #gldock,.cz-on #gl-btn{display:none!important}
#gldock{position:fixed;z-index:140;width:340px;max-height:calc(calc(100vh / var(--z,1)) - 32px);display:flex;flex-direction:column;background:#262626;color:#f1f1f1;border:1px solid #363636;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.6);font-size:13px;overflow:hidden;box-sizing:border-box}
#gldock .gd-h{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 12px;cursor:grab;user-select:none;touch-action:none;border-bottom:1px solid #333;flex:none}
#gldock .gd-h:active{cursor:grabbing}#gldock .gd-grip{color:#777;font-size:15px}#gldock .gd-h b{flex:1;font-size:14px}
#gldock .gd-btns{display:flex;gap:4px}#gldock .gd-btns button{width:30px;height:28px;border-radius:7px;border:0;background:#333;color:#eee;cursor:pointer;font:inherit;font-size:14px;line-height:1}#gldock .gd-btns button:hover,#gldock .gd-btns button.on{background:#fff;color:#151515}
#gldock .gd-b{overflow-y:auto;padding:12px 16px 14px}#gldock .glp .glh b{font-size:13px}
#gldock.col .gd-b,#gldock.col .gd-pins{display:none}#gldock.col{width:230px}#gldock.col .gd-h{border-bottom:0}
#gldock .gd-pins{padding:10px 12px;border-bottom:1px solid #333;display:flex;align-items:center;gap:12px}#gldock .gd-pins[hidden]{display:none}#gldock .gd-pins small{color:#aaa}
.gd-grid{display:grid;grid-template-columns:repeat(3,30px);gap:4px}.gd-grid.phone{grid-template-columns:repeat(3,30px)}
.gd-grid button{width:30px;height:24px;border-radius:5px;border:1px solid #444;background:#1c1c1c;cursor:pointer;position:relative;padding:0}.gd-grid button.on,.gd-grid button:hover{border-color:#6dc849;background:#23301c}
.gd-grid i{position:absolute;background:#bbb;border-radius:1px}.gd-grid button.on i{background:#6dc849}
.gp-tl{left:3px;top:3px;width:9px;height:7px}.gp-tr{right:3px;top:3px;width:9px;height:7px}.gp-bl{left:3px;bottom:3px;width:9px;height:7px}.gp-br{right:3px;bottom:3px;width:9px;height:7px}
.gp-top{left:3px;right:3px;top:3px;height:6px}.gp-bottom{left:3px;right:3px;bottom:3px;height:6px}.gp-left{left:3px;top:3px;bottom:3px;width:7px}.gp-right{right:3px;top:3px;bottom:3px;width:7px}
.gp-free{left:9px;top:7px;width:10px;height:8px;outline:1px dashed #bbb;outline-offset:2px;background:transparent!important}.gd-grid button.on .gp-free{outline-color:#6dc849}
#gldock.p-tl{top:16px;left:16px}#gldock.p-tr{top:16px;right:16px}#gldock.m-desktop.p-tr{top:116px;max-height:calc(calc(100vh / var(--z,1)) - 132px)}/* top right (the default) sits below the header, so it doesn't cover the header links */#gldock.p-bl{bottom:16px;left:16px}#gldock.p-br{bottom:16px;right:80px}
#gldock.p-top{top:12px;left:50%;transform:translateX(-50%)}#gldock.p-bottom{bottom:12px;left:50%;transform:translateX(-50%)}
#gldock.p-left,#gldock.p-right{top:0;bottom:0;max-height:none;border-radius:0;border-top:0;border-bottom:0}#gldock.p-left{left:0}#gldock.p-right{right:0}
#gldock.p-left.col,#gldock.p-right.col{bottom:auto;border-radius:0 0 12px 0}#gldock.p-right.col{border-radius:0 0 0 12px}
body.gl-left{padding-left:340px}body.gl-right{padding-right:340px}body.gl-left #sb{left:340px}body.gl-right #sb{right:340px}body.gl-right #gl-btn,body.gl-right #cz-btn{right:358px}
/* phone layout: full-width at the top or bottom, or free */
body.mobile #gl-btn{right:14px;}body.mobile.mwide #gl-btn{right:calc(var(--pfl) + 14px)}
#gldock.m-phone{width:auto;max-height:calc(62vh / var(--z,1))}#gldock.m-phone.p-top{top:8px;left:8px;right:8px;transform:none}#gldock.m-phone.p-bottom{bottom:8px;left:8px;right:8px;transform:none}
#gldock.m-phone.p-free{width:min(340px,calc(calc(100vw / var(--z,1)) - 16px))}#gldock.m-phone.col{width:auto}#gldock.m-phone.p-free.col{width:230px}
body.mobile.mwide #gldock.m-phone.p-top,body.mobile.mwide #gldock.m-phone.p-bottom{left:calc(var(--pfl) + 8px);right:calc(var(--pfl) + 8px)}
/* narrow cards (pinned sidebar, narrow window, many columns): shrink the card text to fit the card */
.gps{margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid #363636}.gps-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.gps-h span{font-weight:700;font-size:13px}
.gpa{background:#333;color:#eee;border:0;border-radius:6px;padding:5px 9px;font:inherit;font-size:12px;cursor:pointer}.gpa:hover{background:#fff;color:#151515}
.gpl{display:flex;flex-wrap:wrap;gap:6px}.gpc{background:#1c1c1c;color:#ddd;border:1px solid #444;border-radius:999px;padding:5px 11px;font:inherit;font-size:12px;cursor:pointer}.gpc:hover{border-color:#aaa}.gpc.on{background:#fff;color:#151515;border-color:#fff}
.gpm{margin-top:8px}.gpm summary{cursor:pointer;color:#aaa;font-size:12px}.gpr{display:flex;align-items:center;gap:4px;padding:5px 0;border-top:1px solid #303030}.gpr .gpn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gpr small{color:#888;margin-right:4px}
.gpr button{background:#333;color:#eee;border:0;border-radius:5px;min-width:26px;height:24px;padding:0 6px;font:inherit;font-size:11px;cursor:pointer}.gpr button:hover,.gpr button.on{background:#fff;color:#151515}
/* ================= Fluid card text =================
   Everything in a card's text area scales with that card's own width (1cqi = 1% of the card), smoothly between a
   minimum and a maximum, so 2 to 6 columns, a pinned sidebar or a narrow window all keep the same proportions. */
.card{container:card / inline-size}
.card .bd{padding:clamp(6px,5.6cqi,16px) clamp(7px,5.6cqi,16px) clamp(8px,6.4cqi,18px)!important}
.card h3{font-size:calc(clamp(12px,8.2cqi,24px) * var(--tz,1))!important;line-height:1.17!important;margin:clamp(3px,2.6cqi,8px) 0 clamp(4px,3.2cqi,10px)!important;letter-spacing:0}
.card h3 .rt,.card h3 .rt.rated{--rs:.92em;font-size:.92em}
.card .pls{gap:clamp(2px,1.6cqi,6px)!important;min-height:clamp(12px,7.4cqi,24px)}
.card .pls .rt{--rs:clamp(9px,7cqi,var(--rsmax,24px))!important;--rg:clamp(1px,1.3cqi,var(--rgmax,4px))!important}
.card .pls .pi{margin-right:clamp(2px,2cqi,6px)!important}.card .pls .pi svg{height:clamp(8px,4.4cqi,12px)!important}
.card .sc{font-size:clamp(9px,4.9cqi,14px)!important;line-height:1.45!important;padding:0 clamp(2px,2cqi,6px)!important;border-radius:clamp(2px,1.4cqi,4px)}
.card .psb{font-size:clamp(7px,3.4cqi,10px)!important;padding:1px clamp(2px,1.4cqi,4px);margin-right:clamp(2px,1.8cqi,6px)!important}
.card .act{gap:clamp(3px,2cqi,6px)!important}
.card .act .add,.card .act .ib{height:clamp(20px,10cqi,26px)!important;min-height:0!important;font-size:clamp(10px,4.8cqi,13px)!important;padding:0 clamp(5px,3cqi,8px);min-width:clamp(22px,12cqi,32px)!important;box-sizing:border-box;justify-content:center}
.card .act .add.on{padding:0!important}.card .act svg{width:clamp(10px,5.2cqi,14px);height:auto}
.card .meta{font-size:clamp(10px,4.8cqi,14px)}.card .meta>div{gap:clamp(4px,3cqi,12px);padding-top:clamp(4px,3cqi,9px);padding-bottom:clamp(4px,3cqi,9px);min-width:0}
.card .meta .gl{overflow-wrap:anywhere;text-align:right;min-width:0}.card .meta .smt{padding:clamp(6px,4cqi,12px) clamp(8px,4.6cqi,14px);font-size:clamp(10px,4.8cqi,14px)}
/* very narrow cards (about 150px and less): titles stop at three lines */
@container card (max-width:150px){.card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}}/* tiny cards (about 125px and less): platform, score and a 2-line title; stars and buttons appear on hover */
@container card (max-width:125px){.card h3{-webkit-line-clamp:2}.card:not(:hover):not(.tap) .pls .rt:not(.rated),.card:not(:hover):not(.tap) .act{display:none!important}
  .card:hover .pls .plw,.card.tap .pls .plw,body.mobile .card.tap .pls .plw{display:none}.card .pls .pi:nth-child(n+3){display:none}}
/* card grids are laid out in real columns (masonry.js): the requested column count is always filled */
.grid{display:flex!important;align-items:flex-start;column-count:auto;column-gap:24px;gap:0 24px}
.grid>.gcol{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
.grid>.card{visibility:hidden}
body.mobile .grid{column-gap:12px;gap:0 12px}body.mobile.mc2 .grid{column-gap:10px;gap:0 10px}body.mobile.mc3 .grid{column-gap:8px;gap:0 8px}
/* half steps: the left half of an icon is ½. Half-lit icons keep their right half faded */
.rt.hv .rs.hh:hover,.rt.rerate:not(:hover) .rs.hl{opacity:1;filter:none;-webkit-mask-image:linear-gradient(90deg,#000 var(--hp,50%),rgba(0,0,0,var(--rf,.28)) var(--hp,50%));mask-image:linear-gradient(90deg,#000 var(--hp,50%),rgba(0,0,0,var(--rf,.28)) var(--hp,50%))}
.rt.rated.hm>*,.rm.hm>*{-webkit-mask-image:linear-gradient(90deg,#000 var(--hp,50%),rgba(0,0,0,.3) var(--hp,50%));mask-image:linear-gradient(90deg,#000 var(--hp,50%),rgba(0,0,0,.3) var(--hp,50%))}
.rt.rated-row{cursor:pointer}
.rtm{cursor:pointer;font-size:var(--rs,20px);line-height:1;font-weight:700}.rtm .rs{margin:0}.rtm:hover .rs,.rtm:focus-visible .rs{opacity:1;filter:none}
#mn .rtg{display:grid;grid-template-columns:repeat(var(--rc,7),1fr);gap:4px}#mn .rtg .si{font-weight:700;font-size:15px;min-width:34px}
/* icon library picker */
#iclib{position:fixed;z-index:2147483000;width:min(420px,calc(calc(100vw / var(--z,1)) - 16px));max-height:min(440px,calc(calc(100vh / var(--z,1)) - 16px));overflow:auto;background:#202020;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:12px 14px;box-shadow:0 12px 40px rgba(0,0,0,.6);color:#fff}
#iclib .icl-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}#iclib .icl-x{background:none;border:0;color:#fff;font-size:16px;cursor:pointer;padding:4px 6px}
#iclib .icl-g{margin:10px 0}#iclib small{display:block;color:rgba(255,255,255,.45);font-size:11px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px}
#iclib .icl-r{display:flex;flex-wrap:wrap;gap:6px}#iclib .icl-r button{width:40px;height:40px;display:grid;place-items:center;font-size:24px;line-height:1;background:rgba(255,255,255,.06);border:0;border-radius:8px;cursor:pointer;color:#f5c518;padding:0}
#iclib .icl-r button:hover,#iclib .icl-r button:focus-visible{background:rgba(255,255,255,.18);outline:2px solid rgba(255,255,255,.5)}
#iclib .icl-r img.ico{height:28px;width:auto}#iclib .icl-n{color:rgba(255,255,255,.4);font-size:12px;margin:8px 0 0}
body.mobile #iclib{left:8px!important;right:8px;width:auto;top:auto!important;bottom:8px}
/* slide dashes on card art are hidden; the slideshow itself still works on hover */
body:not(.show-seg) .seg{display:none!important}
/* Art shape + Art fit for Classic cards (glass on or off) and for Fit to art without glass.
   (Before, these rules pointed at an element the cards no longer have, so the buttons did nothing there.) */
body:not(.glass).fitart:not(.rawgart) .im{aspect-ratio:var(--ca,.75)}
body.stdart:not(.rawgart):not(.glass.fitart) .im{aspect-ratio:var(--car)}
body.glass.stdart:not(.fitart):not(.rawgart) .im>img.imc{opacity:1}
body:not(.glass).fitart:not(.rawgart) .im>img.imc,body.stdart:not(.rawgart):not(.glass.fitart) .im>img.imc{object-position:center top}
body.stdart.artwhole:not(.rawgart):not(.glass.fitart) .im{isolation:isolate}
body.stdart.artwhole:not(.rawgart):not(.glass.fitart) .im::before{content:"";position:absolute;inset:-24px;z-index:-1;background:var(--art) center/cover no-repeat;filter:blur(22px) brightness(.65)}
body.stdart.artwhole:not(.rawgart):not(.glass.fitart) .im>img.imc{object-fit:contain;object-position:center}
#gldock .glf.dis,#gldock .gll.dis,#gldock .glr:disabled{opacity:.4}#gldock .glf.dis input{cursor:not-allowed}
/* ===== Whole-app glass (Card style ▸ Glass ▸ Whole app). Same slider, blur, tint and edge shine as the cards.
   Everything here is under body.aglass, so turning it off restores the solid look. Customize-editor rules (!important) still win. */
#agl{display:none}
body.aglass #agl{display:block;position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:var(--bg,#151515)}
#agl i{position:absolute;inset:-90px;background:center/cover no-repeat;filter:blur(72px) saturate(1.4) brightness(.5);opacity:0;transition:opacity 2.6s ease;transform:translateZ(0)}
#agl i.on{opacity:1}
#agl::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.35) 70%,rgba(0,0,0,.5))}
body.mobile.aglass #agl i{filter:blur(48px) saturate(1.35) brightness(.48)}
@media (prefers-reduced-motion: reduce){#agl i{transition:none}}
body.aglass{--agS:rgba(var(--gt),var(--gaa));--agM:rgba(var(--gt),var(--gam));--agF:blur(max(var(--gba,var(--gb)),14px)) saturate(1.5);--agFM:blur(max(var(--gba,var(--gb)),22px)) saturate(1.5);--agE:rgba(255,255,255,calc(.07 + .09*var(--gsh)));--agH:inset 0 1px 0 rgba(255,255,255,calc(.16*var(--gsh)))}
/* bars and sections */
body.aglass:not(.mobile) header{margin:16px 24px 0;padding:12px 18px;border-radius:18px}
body.aglass header,
body.aglass:not(.mobile) aside,
body.aglass .rs-sec,body.aglass .rs-prev,body.aglass .fr,body.aglass .myrev,body.aglass .rvc,body.aglass .ctile,body.aglass .mpn,body.aglass .imp,body.aglass .members a{
  background:var(--agS);-webkit-backdrop-filter:var(--agF);backdrop-filter:var(--agF);border:1px solid var(--agE);box-shadow:var(--agH)}
body.aglass:not(.mobile) aside{box-sizing:border-box;width:236px;padding:20px 14px 22px;margin:30px 16px 0 -16px;border-radius:18px;align-self:flex-start}
body.aglass:not(.mobile) .shell{padding-top:0}
/* menus, panels and dialogs: a little more tint so what's under them doesn't fight the text */
body.aglass .mn,body.aglass .dlgb,body.aglass .aum,body.aglass #gldock,body.aglass #iclib,body.aglass #mp,body.mobile.aglass aside{
  background:var(--agM);-webkit-backdrop-filter:var(--agFM);backdrop-filter:var(--agFM);border:1px solid var(--agE);box-shadow:var(--agH),0 14px 44px rgba(0,0,0,.5)}
body.aglass .mi:hover{background:rgba(255,255,255,.1)}
body.aglass #mn .si:not(.sel),body.aglass .pc2:not(.on),body.aglass .gsg,body.aglass .gpc:not(.on),body.aglass .gd-grid button:not(.on):not(:hover){background:rgba(255,255,255,.07)}
body.aglass #mn .si:not(.sel):hover,body.aglass .pc2:not(.on):hover,body.aglass .gpc:not(.on):hover{background:rgba(255,255,255,.16)}
body.aglass #mn .si.sel,body.aglass .pc2.on{background:rgba(109,200,73,.22)}
body.aglass #gldock{background:rgba(var(--gt),max(var(--gam),.84))}/* the Card style panel keeps at least this much tint behind its text */
body.aglass #gldock .gd-btns button:not(.on):not(:hover),body.aglass .gpa:not(:hover),body.aglass .gpr button:not(.on):not(:hover),body.aglass .glb button:not(:hover){background:rgba(255,255,255,.1)}
body.aglass .glb button:hover{background:rgba(255,255,255,.22)}
body.aglass #dlg,body.aglass #au,body.mobile.aglass #mback{background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
/* buttons, pills, search */
body.aglass .pill:not(.on):not(.card *),body.aglass .smt:not(.card *),body.aglass .dv:not(.on),body.aglass .mlinks a,body.aglass #layft .layt,body.aglass #gl-btn:not(.on):not(:hover),body.aglass .rfq,body.aglass .gb>span,body.aglass .search:not(:focus-within):not(:hover),body.aglass .b2:not(.on){
  background:rgba(255,255,255,calc(.06 + var(--gaa)*.25));-webkit-backdrop-filter:var(--agF);backdrop-filter:var(--agF);box-shadow:var(--agH)}
body.aglass .pill.tab.on,body.aglass .dv.on{background:rgba(255,255,255,.9);color:#151515}
body.aglass .b2:not(.on){border-color:rgba(255,255,255,.55)}
/* the white "primary" buttons stay white, frosted */
body.aglass .b1,body.aglass .more,body.aglass .rate,body.aglass .edit,body.aglass .auk,body.aglass .dlgk:not(.danger),body.aglass #toast{background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
#gldock .glf.glapp small{grid-column:1/-1;color:rgba(255,255,255,.62);font-size:11px;line-height:1.35;margin-top:-4px}
#iclib .icl-mine small{display:flex;align-items:center;gap:8px}#iclib .icl-ac{margin-left:auto;display:flex;gap:6px;text-transform:none;letter-spacing:0}
#iclib .icl-ac button{background:rgba(255,255,255,.1);color:#fff;border:0;border-radius:6px;padding:4px 9px;font:inherit;font-size:12px;cursor:pointer}#iclib .icl-ac button:hover{background:#fff;color:#151515}
#iclib.icl-rm .icl-r button.mine{outline:2px solid #e5484d;outline-offset:-2px;position:relative}#iclib.icl-rm .icl-r button.mine::after{content:"✕";position:absolute;top:-5px;right:-5px;width:16px;height:16px;border-radius:50%;background:#e5484d;color:#fff;font-size:10px;line-height:16px;text-align:center}
#iclib.icl-rm .icl-g:not(.icl-mine){opacity:.35;pointer-events:none}
/* Save / Undo / Redo / Reset bar (every customization menu) */
.dbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.dbar button{background:rgba(255,255,255,.1);color:#fff;border:0;border-radius:7px;padding:6px 11px;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.dbar button:hover:not(:disabled){background:rgba(255,255,255,.2)}.dbar button:disabled{opacity:.35;cursor:default}
.dbar .dbs{flex:1;min-width:90px;font-size:12px;color:rgba(255,255,255,.5);text-align:center}
.dbar.dirty .dbs{color:#f5c518}.dbar .dbsave:not(:disabled){background:var(--gold);color:#1b1608;font-weight:600}.dbar .dbsave:not(:disabled):hover{background:#f2d679}
.dbar.dpage{position:sticky;top:10px;z-index:25;margin:0 0 18px;max-width:900px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:rgba(20,20,20,.72)}
#gldock .dbar{margin-top:10px}
#cz-dbar .dbar{margin:0 10px 8px;border-radius:8px}#cz-dbar .dbar button{padding:5px 8px;font-size:12px}#cz-dbar .dbs{min-width:70px;font-size:11px}
body.mobile .dbar.dpage{top:64px}
/* narrow places (Card style panel, Customize editor, phone): status on its own line, buttons in one row with Save at the end */
#gldock .dbar .dbs,#cz-dbar .dbar .dbs,body.mobile .dbar .dbs{flex-basis:100%;order:-1;text-align:left;min-width:0}
#gldock .dbar [data-db="reset"],#cz-dbar .dbar [data-db="reset"],body.mobile .dbar [data-db="reset"]{margin-left:auto}
body.mobile .dbar button{padding:6px 10px}
#cz-dbar .dbar .dbsave:not(:disabled){background:var(--gold);color:#1b1608;font-weight:600}#cz-dbar .dbar .dbsave:not(:disabled):hover{background:#f2d679}
/* preset locks */
.gpc .gplk{font-style:normal;font-size:10px;margin-left:4px;opacity:.75}
.gpr button:disabled{opacity:.3;cursor:not-allowed}.gpr .gplk2{font-size:11px;opacity:.7}
.gpr.lk .gpn::after{content:"";}
#rs-lock.on{background:rgba(245,197,24,.18);color:#f5c518}
/* preset rows: name on its own line, buttons below */
#gldock .gpr{flex-wrap:wrap;row-gap:5px}#gldock .gpr .gpn{flex:1 1 auto;min-width:0;max-width:calc(100% - 70px);overflow:visible;white-space:normal}
#gldock .gpr small{margin-left:auto}#gldock .gpr small+button{margin-left:0}
#gldock .gpr::after{content:"";flex-basis:100%;order:2}#gldock .gpr>button,#gldock .gpr>.gplk2{order:3}
.pill:disabled{opacity:.4;cursor:not-allowed}
/* the preset you're working from stays marked while you change things */
#gldock .gpc.edited{box-shadow:inset 0 0 0 1.5px #fff;color:#fff}
#gldock .gpc.edited::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#f5c518;margin-left:6px;vertical-align:1px}
.gpst{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 2px;font-size:12px;color:rgba(255,255,255,.6)}
.gpst b{color:#fff;font-weight:600}.gpst em{font-style:normal;color:#f5c518}
.gpsb{display:flex;flex-wrap:wrap;gap:5px;width:100%}
.gpsb button{background:rgba(255,255,255,.1);color:#fff;border:0;border-radius:6px;padding:5px 9px;font:inherit;font-size:12px;cursor:pointer}
.gpsb button:hover{background:#fff;color:#151515}
/* ===== Backloggd card shape (every card style except RAWG art) =====
   Measured from Backloggd's own grid: 3:4 art, 4px corners, a 1px outline (#3b414e) and 16px gaps.
   The outline is drawn inside the card, so the card keeps its size. RAWG art keeps its own corners and spacing. */
body:not(.rawgart){--gr:var(--grx,4px)}
body:not(.rawgart).cbd .card::after{content:"";position:absolute;inset:0;border:var(--gbw,1px) solid var(--gbc,#3b414e);border-radius:inherit;pointer-events:none;z-index:4}
body:not(.rawgart):not(.mobile) .grid{column-gap:var(--ggp,24px)!important;gap:0 var(--ggp,24px)!important}
body:not(.rawgart):not(.mobile) .grid .card{margin-bottom:calc(var(--ggp,24px) + var(--cudh,0px))}
/* the outline adds its width to the card's height, as Backloggd's does: a 170px card is 229px tall, so the art area stays an exact 3:4 */
body:not(.rawgart).glass.fitart.stdart .card{box-sizing:content-box;padding-bottom:calc(var(--gbw,1px)*2)}
body:not(.rawgart).glass.fitart.stdart .card .bd{margin-bottom:calc(var(--gbw,1px)*-2)}
.glf output{min-width:34px;text-align:right}
.glbl{display:flex;justify-content:flex-end;margin:2px 0 6px}.glbl button{background:transparent;color:inherit;border:1px solid rgba(255,255,255,.28);border-radius:6px;padding:4px 10px;font:inherit;font-size:12.5px;cursor:pointer}.glbl button:hover{background:rgba(255,255,255,.1)}.glbl button:disabled{opacity:.4;cursor:not-allowed;background:transparent}
/* ===== Card style: locks =====
   A locked preset greys every control out. The small lock beside an option freezes just that option inside the preset you're on. */
#gldock .glrow{grid-template-columns:74px 1fr 22px;gap:6px}
#gldock .glf{grid-template-columns:86px 1fr 44px 22px}
#gldock .glf input[type=color]{grid-column:2/4}
#gldock .glf.glapp{grid-template-columns:1fr auto auto}
#gldock .glf>.ol{grid-column:4}
#gldock .glf.glapp>.ol{grid-column:3}
#gldock .glrow>.ol{grid-column:3}
.ol{width:22px;height:22px;padding:0;border:0;border-radius:6px;background:transparent;color:#fff;font-size:12px;line-height:22px;text-align:center;cursor:pointer;opacity:.4;transition:opacity .15s,background .15s;filter:grayscale(1)}
.ol:hover,.ol:focus-visible{opacity:1;background:rgba(255,255,255,.12)}
.ol.on{opacity:1;filter:none;background:rgba(245,197,24,.18)}
.ol.na{opacity:.18;cursor:not-allowed}.ol.na:hover{opacity:.3;background:transparent}
.glhr{display:flex;align-items:center;gap:8px}
.glrg{display:grid;grid-template-columns:1fr 22px;gap:8px;align-items:center}
/* greyed out: the option's own controls, never its lock button */
#gldock .lkd>*:not(.ol){opacity:.4;cursor:not-allowed}
#gldock .lkd input,#gldock .lkd button:not(.ol){cursor:not-allowed}
#gldock .glsw.lkd i{opacity:.4;cursor:not-allowed}
.gplkn{font-style:normal;color:rgba(255,255,255,.5)}
.gpst>span:first-child{flex:1 1 100%}
.gpst .gpsb{margin-top:2px}
#gldock .glrow>.gsg{min-width:0}#gldock .glrow>.gsg button{min-width:0;padding:6px 3px}
#gldock .glrow>.gsg button[data-gs^="ratio:"],#gldock .glrow>.gsg button[data-gs^="ht:"]{flex:1 1 auto}/* these rows have a longer label (Original, Outline): size to the labels so none is cut */
#gldock .glrow>.ol,#gldock .glf>.ol,#gldock .glrg>.ol{justify-self:end}
/* ===== Display options: card view presets, smaller icons ===== */
/* Grid, Feed and the preset buttons are about 5% smaller than before (48px -> 46px; on a phone 34px -> 32px) */
.bar .dv{position:relative;width:46px;height:46px}.bar .dv svg{width:46px;height:46px}
body.mobile .bar .dv svg{width:32px;height:32px}
/* the label, Grid, Feed and the presets travel together, so they never split across two lines */
.dvps{display:contents}
/* a preset you've changed since you picked it gets a gold dot, like its chip in the Card style panel */
.dv.edited::before{content:"";position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:50%;background:#f5c518}
.bar .dv:not(.on) svg{color:rgba(255,255,255,.66)}.bar .dv:not(.on):hover{background:#3a3a3a}.bar .dv:not(.on):hover svg{color:#fff}
/* the lit button on the whole-app glass look is white, so its picture goes dark */
body.aglass .dv.on svg{color:#151515}
/* ===== Corner buttons (Customize mode and Card style) =====
   The bubble is 27px (25px on a phone) and the picture inside it matches. An invisible 4px margin keeps them easy to click. */
#cz-btn,#gl-btn{width:27px;height:27px;padding:0;display:grid;place-items:center;line-height:1;box-shadow:0 3px 10px rgba(0,0,0,.45)}
#cz-btn{font-size:15px;bottom:18px}
#gl-btn{bottom:53px}#gl-btn svg{width:29px;height:29px}
#cz-btn::before,#gl-btn::before{content:"";position:absolute;inset:-4px;border-radius:50%}
body.mobile #cz-btn,body.mobile #gl-btn{width:25px;height:25px}
body.mobile #cz-btn{font-size:14px;bottom:14px}
body.mobile #gl-btn{bottom:47px}body.mobile #gl-btn svg{width:27px;height:27px}
/* on a phone the five buttons take their own row, spread across it */
/* ===== The + status button is the icon itself: no bubble =====
   A game with a status shows its icon, the player count and the menu arrow; a game without one shows a bare plus.
   The tap area stays the same size, and a soft shadow keeps it readable on light cover art. */
.add,.add.on,.glass .bd .add:not(.on){background:transparent;color:#fff;text-shadow:0 0 1px #000,0 0 3px rgba(0,0,0,.95),0 1px 4px rgba(0,0,0,.8)}
.add:hover,.add.on:hover,.glass .bd .add:not(.on):hover{background:transparent;color:var(--gold)}
.add:before{font-size:15px}
.add.on i{padding:0 2px}
.add.on .lv,.add.on:hover .lv{border-left:0;padding:0 2px}
.add .sti{transition:transform .15s}.add:hover .sti{transform:scale(1.12)}
.add .sti img{filter:drop-shadow(0 1px 2px rgba(0,0,0,.7))}
.card .act .add{padding:0 2px!important;justify-content:flex-start}

/* ===== Score badge: gold for 90-100, shading through amber and orange to red as the score drops (colour set per badge) ===== */
.sc,.sc.y,.sc.r{border-color:var(--scc,var(--gold));color:var(--scc,var(--gold))}
/* ===== Card style panel: separate card and app transparency ===== */
.glsl{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0 6px;color:#d2d2d2;font-size:13px}
.glsl.dis{opacity:.4}
.glst{font-style:normal;color:#a9a9a9;font-size:11.5px}
.glmt{background:none;border:0;padding:0;font:inherit;font-size:12px;color:var(--gold);cursor:pointer}.glmt:hover{text-decoration:underline}.glmt:disabled{opacity:.4;cursor:not-allowed;text-decoration:none}
/* Float panel on cards too short for it: tighter rows (it scrolls inside if even that doesn't fit) */
#htf.tight{padding-top:2px;padding-bottom:5px}#htf.tight>div{padding:2px 0}#htf.tight .smt{margin-top:2px;padding-top:4px;padding-bottom:4px}
/* ===== Rating editor: half-step rows and the colour-shift box ===== */
.rs-lv>b{width:26px}
.rs-hf{margin-left:14px;padding-left:10px;border-left:2px solid rgba(255,255,255,.1)}.rs-hf>b{color:rgba(255,255,255,.32)}
.rs-hf>input[data-k=hlabel]{flex:1;min-width:90px}
.rs-fx{position:relative}.rs-fx>summary{list-style:none;cursor:pointer;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.08);font-size:15px}.rs-fx>summary::-webkit-details-marker{display:none}
.rs-fx[open]>summary{background:#fff}
.rs-fxb{position:absolute;z-index:6;top:36px;left:0;display:grid;gap:6px;padding:10px 12px;border-radius:10px;background:#1d1d1d;box-shadow:0 10px 28px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.08);min-width:250px}
.rs-fxr{display:grid;gap:8px;align-items:center;font-size:12px;color:#bbb}.rs-fxr output{text-align:right;color:#ddd}
.rs-fxb .pill{justify-self:start}
.rs-pvm{display:inline-block;margin-left:12px;font-size:26px;vertical-align:middle}.rs-pvm .rm img{height:26px}
/* ===== Card style panel: score colour palettes ===== */
.scsl{margin-top:14px}
.scpal{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 8px}
.scpal button{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:6px 2px 5px;border-radius:8px;border:1px solid transparent;background:rgba(255,255,255,.06);color:#d2d2d2;font:inherit;font-size:10.5px;letter-spacing:-.1px;cursor:pointer;min-width:0}
.scpal button i{display:block;height:8px;border-radius:4px}.scpal button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}
.scpal button:hover{background:rgba(255,255,255,.12)}.scpal button.on{border-color:#fff;background:rgba(255,255,255,.16);color:#fff}
.scpal.dis button{opacity:.4;cursor:not-allowed}
.scpc{display:flex;gap:8px}.scpc input{width:44px;height:28px;padding:0;border:0;background:none}
/* ===== Keyboard and screen readers (no change to the look at rest) ===== */
.srh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
[role="button"]:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
label.pill:has(select:focus-visible){box-shadow:0 0 0 2px rgba(255,255,255,.85)!important}
/* the hover panel, the wishlist / ••• buttons and a rated row open while the keyboard is inside the card, so focus never sits on hidden links */
body.glass.fitart .grid .card:has(:focus-visible) .meta{max-height:340px;opacity:1}body.glass.fitart.ht-fade .grid .card:has(:focus-visible) .bd::after{opacity:1}
.grid .card.kbf>.bd .act .ib{opacity:1;visibility:visible}.pls .rt.rerate:has(:focus-visible){opacity:1}
/* stars: the focused one lights the row up to it, as hovering does (half steps show the half), with a gold ring */
.rt:has(.rs:focus-visible) .rs{opacity:1;filter:none}.rt:has(.rs:focus-visible) .rs:focus-visible~.rs{opacity:var(--rf,.28);filter:grayscale(1)}
.rt.hv .rs.hh:focus-visible{opacity:1;filter:none;-webkit-mask-image:linear-gradient(90deg,#000 var(--hp,50%),rgba(0,0,0,var(--rf,.28)) var(--hp,50%));mask-image:linear-gradient(90deg,#000 var(--hp,50%),rgba(0,0,0,var(--rf,.28)) var(--hp,50%))}
.rs:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* Desktop layout forced on a narrow window: the header search shrinks instead of overflowing (real desktop widths unchanged) */
@media(max-width:700px){:where(html:not(.dforce)) body:not(.mobile) header{flex-wrap:wrap;height:auto;row-gap:12px}:where(html:not(.dforce)) body:not(.mobile) .search{min-width:0;flex:1 1 160px}:where(html:not(.dforce)) body:not(.mobile) .search input{min-width:0;width:100%}:where(html:not(.dforce)) body:not(.mobile) .search kbd,:where(html:not(.dforce)) body:not(.mobile) .search kbd+span{display:none}}
@media (prefers-reduced-motion: reduce){.grid .card,.grid .card:hover,.rt .rs,.rt .rs:hover,.add .sti,.add:hover .sti,body.mobile .grid .card.tap{transform:none!important;transition:none!important}.rt.rated.fresh,.rm.fresh{animation:none!important}}
/* ===== Admin panel: the Admin page's tools and switches, docked like the Card style panel ===== */
#addock{position:fixed;z-index:140;width:340px;max-height:calc(calc(100vh / var(--z,1)) - 32px);display:flex;flex-direction:column;background:#262626;color:#f1f1f1;border:1px solid #363636;border-radius:12px;box-shadow:0 12px 40px rgba(0,0,0,.6);font-size:13px;overflow:hidden;box-sizing:border-box}
#addock .gd-h{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 12px;cursor:grab;user-select:none;touch-action:none;border-bottom:1px solid #333;flex:none}
#addock .gd-h:active{cursor:grabbing}#addock .gd-grip{color:#777;font-size:15px}#addock .gd-h b{flex:1;font-size:14px}
#addock .gd-btns{display:flex;gap:4px}#addock .gd-btns button{width:30px;height:28px;border-radius:7px;border:0;background:#333;color:#eee;cursor:pointer;font:inherit;font-size:14px;line-height:1}#addock .gd-btns button:hover,#addock .gd-btns button.on{background:#fff;color:#151515}
#addock .gd-b{overflow-y:auto;padding:12px 16px 14px}#addock .glp .glh b{font-size:13px}
#addock.col .gd-b,#addock.col .gd-pins{display:none}#addock.col{width:230px}#addock.col .gd-h{border-bottom:0}
#addock .gd-pins{padding:10px 12px;border-bottom:1px solid #333;display:flex;align-items:center;gap:12px}#addock .gd-pins[hidden]{display:none}#addock .gd-pins small{color:#aaa}
#addock.p-tl{top:16px;left:16px}#addock.p-tr{top:16px;right:16px}#addock.m-desktop.p-tr{top:116px;max-height:calc(calc(100vh / var(--z,1)) - 132px)}/* top right (the default) sits below the header, so it doesn't cover the header links */#addock.p-bl{bottom:16px;left:16px}#addock.p-br{bottom:16px;right:80px}
#addock.p-top{top:12px;left:50%;transform:translateX(-50%)}#addock.p-bottom{bottom:12px;left:50%;transform:translateX(-50%)}
#addock.p-left,#addock.p-right{top:0;bottom:0;max-height:none;border-radius:0;border-top:0;border-bottom:0}#addock.p-left{left:0}#addock.p-right{right:0}
#addock.p-left.col,#addock.p-right.col{bottom:auto;border-radius:0 0 12px 0}#addock.p-right.col{border-radius:0 0 0 12px}
#addock.m-phone{width:auto;max-height:calc(62vh / var(--z,1))}#addock.m-phone.p-top{top:8px;left:8px;right:8px;transform:none}#addock.m-phone.p-bottom{bottom:8px;left:8px;right:8px;transform:none}
#addock.m-phone.p-free{width:min(340px,calc(calc(100vw / var(--z,1)) - 16px))}#addock.m-phone.col{width:auto}#addock.m-phone.p-free.col{width:230px}
body.mobile.mwide #addock.m-phone.p-top,body.mobile.mwide #addock.m-phone.p-bottom{left:calc(var(--pfl) + 8px);right:calc(var(--pfl) + 8px)}
#addock.m-desktop.p-tl{top:116px;max-height:calc(calc(100vh / var(--z,1)) - 132px)}/* top left (the default) sits below the header, like Card style on the right */
body.ad-left{padding-left:340px}body.ad-right{padding-right:340px}body.ad-left #sb{left:340px}body.ad-right #sb{right:340px}
body.ad-right #gl-btn,body.ad-right #cz-btn,body.ad-right #ad-btn,body.gl-right #ad-btn{right:358px}
#ad-btn{position:fixed;right:18px;bottom:88px;z-index:119;width:27px;height:27px;border-radius:50%;border:0;background:#2b2b2b;color:#fff;cursor:pointer;display:grid;place-items:center;padding:0;box-shadow:0 3px 10px rgba(0,0,0,.45)}
#ad-btn svg{width:17px;height:17px}#ad-btn:hover,#ad-btn.on{background:#fff;color:#151515}
#ad-btn::before{content:"";position:absolute;inset:-4px;border-radius:50%}
.no-admin #ad-btn,.no-admin #addock,.cz-on #ad-btn{display:none!important}
body.mobile #ad-btn{width:25px;height:25px;right:14px;bottom:80px}body.mobile.mwide #ad-btn{right:calc(var(--pfl) + 14px)}body.mobile #ad-btn svg{width:16px;height:16px}
body.aglass #addock{background:rgba(var(--gt),max(var(--gam),.84));-webkit-backdrop-filter:var(--agFM);backdrop-filter:var(--agFM);border:1px solid var(--agE);box-shadow:var(--agH),0 14px 44px rgba(0,0,0,.5)}
body.aglass #addock .gd-btns button:not(.on):not(:hover){background:rgba(255,255,255,.1)}
body.aglass #ad-btn:not(.on):not(:hover){background:rgba(20,20,20,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
#addock .adsec{margin:0 0 16px}#addock .adsec h4{margin:0 0 8px;font-size:11px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;color:#a9a9a9}
#addock .adtools{display:grid;grid-template-columns:1fr 1fr;gap:6px}
#addock .adtools button,#addock .adlink{background:#333;color:#eee;border:0;border-radius:8px;padding:8px 9px;font:inherit;font-size:12.5px;text-align:left;cursor:pointer;line-height:1.25;text-decoration:none}
#addock .adtools button:hover,#addock .adlink:hover{background:#fff;color:#151515}#addock .adtools button:disabled{opacity:.4;cursor:not-allowed;background:#333;color:#eee}
body.aglass #addock .adtools button:not(:hover),body.aglass #addock .adlink:not(:hover){background:rgba(255,255,255,.1)}
.in-frame #addock .adlink{display:none}
#addock .lay{gap:10px}#addock .lay>span{display:none}#addock .lay .gsg button{padding:6px 12px;font-size:13px}
#addock .adfs{display:grid;gap:4px;margin-top:8px}
#addock .adf{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.04);cursor:pointer}
#addock .adf b{display:block;font-size:13px;font-weight:500}#addock .adf small{display:block;color:#a9a9a9;font-size:11px;line-height:1.35;margin-top:2px}
#addock .adf .sw{flex:none}
#addock .dbar{margin-top:2px}
#addock .adfull{display:inline-block;margin-top:2px;color:#d2d2d2;font-size:12.5px}#addock .adfull:hover{color:#fff}
/* ===== Rating and status icons scale with the card (about 9% of its width; at least 16px, at most 30px) ===== */
.card .act .add.on .sti img{height:1em}
.card .act .add{height:clamp(24px,13cqi,40px)!important}
.card .act .add.on .lv{font-size:clamp(11px,5.4cqi,17px)}
.card .act .add:before{font-size:clamp(14px,7.5cqi,24px)}
.card .tl .rm{font-size:1.05em}
/* the rating icon at the end of the button row: shown only when the card look hides titles */
.card .act .rmact{display:none;margin-left:auto;align-self:center;font-size:clamp(16px,9cqi,30px);line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.card .act .rmact .rm{font-size:1em}.card .act .rmact .rm img{height:1em;vertical-align:middle}.card .act .rmact:empty{display:none!important}
body.glass.fitart.notitle .grid .card:not(:has(.cbgw.nocv)) .act .rmact{display:inline-flex}body.glass.fitart.notitle .grid .card:not(:has(.cbgw.nocv)) .tl .rmslot{display:none}
/* rating editor: a real card as the preview */
.rs-pvg{display:block!important;columns:auto;margin:0}.rs-pvg .gcol{width:100%}.rs-pvg .card{margin:0;cursor:default}.rs-pvn{margin:10px 2px 0;color:rgba(255,255,255,.5);font-size:12px}
body.mobile .grid .card .act>.rmact,body.mobile.mc2 .grid .card .act>.rmact,body.mobile.mc3 .grid .card.tap .act>.rmact{font-size:clamp(16px,9cqi,30px);height:auto;min-height:0;min-width:0;align-items:center}
/* ===== Card layout editor (Customize mode) and the card overlay that moved icons sit in ===== */
.card>.clo{position:absolute!important;inset:0!important;z-index:6;display:block!important;margin:0!important;padding:0;gap:0!important;height:auto!important;min-height:0!important;background:none!important;border:0!important;pointer-events:none}
.card>.clo>*{pointer-events:auto}
#cz-ui .clentry{flex-direction:column;align-items:stretch;gap:4px;margin:8px 0 4px;padding:8px 10px;border-radius:8px;background:#232323}#cz-ui .clentry button{font-size:13px;padding:7px 10px;background:#e8c34e;color:#1b1608;font-weight:600}#cz-ui .clentry button:hover{background:#f2d679}#cz-ui .clentry small{color:#a9a9a9}
#cz-ui .clh{display:flex;align-items:center;gap:8px;margin:4px 0 2px;font-size:14px}#cz-ui .clh button{width:28px;padding:4px 0}
#cz-ui .clfor,#cz-ui .clhint{display:block;color:#a9a9a9;font-size:11px;line-height:1.35;margin:4px 0 8px}#cz-ui .clfor b{color:#eee}
#cz-ui .clpv{display:block!important;columns:auto!important;padding:0}#cz-ui .clpv .gcol{width:100%}#cz-ui .clpv .card{margin:0}
#cz-ui .clpv .card .ib{display:inline-flex!important;opacity:1!important;visibility:visible!important}#cz-ui .clpv #htf{display:none!important}#cz-ui .clpv [data-clp]{cursor:grab;touch-action:none}#cz-ui .clpv .card{cursor:default}
#cz-ui .clparts{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 8px}#cz-ui .clparts button{font-size:11.5px;padding:5px 8px;background:#2c2c2c;border:1px solid transparent}
#cz-ui .clparts button.set{border-color:rgba(232,195,78,.55)}#cz-ui .clparts button.on{background:#fff;color:#151515}
#cz-ui .clctl{background:#232323;border-radius:8px;padding:8px 10px;margin:0 0 8px}#cz-ui .clctl>b{display:block;margin:0 0 6px;font-size:13px}
#cz-ui .clplace{align-items:center}#cz-ui .clgrid{display:grid;grid-template-columns:repeat(3,22px);gap:3px}
#cz-ui .clgrid button{width:22px;height:18px;padding:0;border-radius:4px;background:#1b1b1b;border:1px solid #444;position:relative}
#cz-ui .clgrid button i{position:absolute;width:6px;height:5px;border-radius:1px;background:#999}
#cz-ui .clgrid button:nth-child(3n+1) i{left:2px}#cz-ui .clgrid button:nth-child(3n+2) i{left:7px}#cz-ui .clgrid button:nth-child(3n) i{right:2px}
#cz-ui .clgrid button:nth-child(-n+3) i{top:2px}#cz-ui .clgrid button:nth-child(n+4):nth-child(-n+6) i{top:5.5px}#cz-ui .clgrid button:nth-child(n+7) i{bottom:2px}
#cz-ui .clgrid button.on{border-color:#e8c34e}#cz-ui .clgrid button.on i{background:#e8c34e}
#cz-ui .clplace>button{font-size:11px;padding:4px 7px;margin-left:6px}#cz-ui .clplace>button.on{background:#fff;color:#151515}
#cz-ui .clfoot{flex-wrap:wrap;gap:6px}
#cz-ui .czf.clplace{grid-template-columns:92px auto 1fr}#cz-ui .clplace>button{justify-self:start}
#cz-ui .clpv{max-width:220px;margin:6px auto 4px!important}body.mobile #cz-ui .clpv{max-width:170px}
body.mobile #cz-ui:has(.clpv){height:calc(80vh / var(--z,1))}
#cz-ui fieldset.clctl{border:0;min-width:0;margin:0 0 8px}#cz-ui fieldset.clctl[disabled]{opacity:.45}#cz-ui .cllk span{white-space:normal}#cz-ui .cllkn{margin:4px 0;color:#e8c34e}#cz-ui .clfoot button:disabled{opacity:.45}
#cz-ui .czf.cllk{grid-template-columns:1fr auto;gap:8px}#cz-ui .czf.cllk span{width:auto}
#cz-ui .clpv .tl .rm{cursor:grab;touch-action:none}
#cz-ui .clpv .meta,#cz-ui .clpv .smt{display:none!important}
/* card layout: the card layer sits under the overlay, the overlay layer on top of it; stand-ins keep the overlay's size */
.card>.clo.clk{z-index:1}
.card>.clo.clv{z-index:6}
.card .clph{visibility:hidden!important;pointer-events:none!important}
.card .clph *{animation:none!important}
.card>.clo.clv>[data-clp]{transition-property:background-color,color,border-color,box-shadow,opacity,filter!important}
#cz-ui .clpv .card>.bd{outline:1.5px dashed rgba(232,195,78,.7);outline-offset:-2px}
#cz-ui .clctl .cllay{display:block;color:#b9b9b9;margin:2px 0 6px;font-size:11px}
/* the status button hugs its icon, and its count and arrow scale with the icon, like the other card icons (phones keep their bigger touch targets) */
.card{--ci:clamp(16px,9cqi,30px)}
body:not(.mobile) .card .act .add.on{height:auto!important;min-height:0!important;line-height:1;align-self:center}
body:not(.mobile) .card .act .add.on i{height:auto;line-height:1;padding:0 1px}
body:not(.mobile) .card .act .add.on .lc{gap:calc(var(--ci)*.22)}
.card .act .add.on .sti{font-size:var(--ci)}
body:not(.mobile) .card .act .add.on .lv{font-size:max(10px,calc(var(--ci)*.6))}
/* rating page on narrow screens: the preview card can't push the page wider than the screen */
.rs-grid>*{min-width:0}
@media(max-width:900px){:where(html:not(.dforce)) .rs-grid{grid-template-columns:minmax(0,1fr)}:where(html:not(.dforce)) .rs-pvg{max-width:300px;margin:0 auto!important}}
.rs-f{grid-template-columns:120px minmax(0,1fr) 40px}
.rs-ic{flex-wrap:wrap;min-width:0}
.rs-fxr{grid-template-columns:92px minmax(0,1fr) 44px}
@media(max-width:600px){:where(html:not(.dforce)) .rs-f{grid-template-columns:88px minmax(0,1fr) 34px;gap:8px}:where(html:not(.dforce)) .rs-sec{padding:14px 12px}:where(html:not(.dforce)) .rs-lv>input[data-k=label]{min-width:70px}}
.rs-fxb{max-width:100%;box-sizing:border-box}
@media(max-width:600px){:where(html:not(.dforce)) .rs-fxr{grid-template-columns:64px minmax(0,1fr) 38px}}
@media(max-width:600px){:where(html:not(.dforce)) .rs-fx{flex-basis:100%}:where(html:not(.dforce)) .rs-fxb{position:static;min-width:0;margin-top:6px}}
/* game page button: only when titles are hidden on Fit to art cards (otherwise the title is the link) */
/* status presets */
fieldset.spf{border:0;margin:0;padding:0;min-width:0}
fieldset.spf[disabled]{opacity:.55}
.rs-f.sp-name{max-width:520px;grid-template-columns:120px minmax(0,1fr)}
/* Card layout: an icon you placed shows where you put it all the time, not only on hover (same as the layout preview) */
.card>.clo>.ib{display:inline-flex}
/* Card style lives inside the Customize panel (its own corner button only shows when Customize mode is switched off) */
body:not(.no-customize) #gl-btn{display:none!important}
#cz-ui #gldock.emb{position:static;inset:auto;transform:none;width:auto;max-height:none;display:block;background:none!important;border:0;border-radius:0;box-shadow:none;overflow:visible;color:#f1f1f1;font:13px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;z-index:auto}
#cz-ui #gldock.emb .gd-b{overflow:visible;padding:2px 0 10px}
#cz-ui .glentry button{display:flex;align-items:center;justify-content:center;gap:7px}
#cz-ui .glentry .gle-i{display:inline-grid;width:18px;height:18px}
#cz-ui .glentry .gle-i svg{width:18px;height:18px}
/* a little wider while Card style is open, so its rows fit like they did in the floating panel; the bottom bar saves Card style */
body:not(.mobile) #cz-ui.glw{width:344px}
body:not(.mobile).cz-on:has(#cz-ui.glw:not(.left)) #cz-btn{right:362px}
#cz-ui #gldock.emb .dbar[data-dbar="card"]{display:none}
/* Wishlist and More on cards: unclicked is a white button with a dark icon; clicked (in your wishlist / its menu open)
   and hover use the dark look. Card layout can recolour each state (Wishlist / More → Unclicked, Clicked). */
body .card .ib[data-lb="more"]{background:#fff;color:#151515}
body .card .ib[data-lb="more"][aria-expanded="true"],body .card .ib[data-lb="more"]:hover{background:var(--btn);color:#fff}
body.glass .card .bd .ib[data-lb="more"][aria-expanded="true"],body.glass .card .bd .ib[data-lb="more"]:hover{background:rgba(255,255,255,.16)}
#cz-ui .clst{border-top:1px solid #333;margin:6px 0 0;padding:6px 0 0}
#cz-ui .clsth{display:flex;align-items:center;justify-content:space-between;gap:8px}
#cz-ui .clsth b{font-size:12px}
#cz-ui .clsth button{font-size:11px;padding:3px 8px}
#cz-ui .clsts{display:block;color:#a9a9a9;font-size:11px;line-height:1.35;margin:2px 0 0}
/* Title links: the title printed on a poster cover opens the game (titlelinks.js). The box never takes clicks itself. */
.card>.ttz{position:absolute;z-index:2;pointer-events:none;border-radius:12px;display:block;box-sizing:border-box;transition:background-color .15s,box-shadow .15s}
.card>.ttz[hidden]{display:none}
.card>.ttz>.h{display:none}
.card>.ttz.on{background:radial-gradient(farthest-side,rgba(255,255,255,.55),rgba(255,255,255,.26) 55%,rgba(255,255,255,.08) 82%,rgba(255,255,255,0));mix-blend-mode:screen;filter:blur(4px)}
.card.ttzon,.card.ttzon>.im,.card.ttzon>.bd,.card.ttzon>.bd *:not(:is(a,button,[role="button"],[data-lb],.rt,.rt *)){cursor:pointer}
.card.ttzhot>.bd{opacity:.12!important}
/* the editor: every box visible and draggable on the page */
.ttz-ed .card>.ttz{pointer-events:auto;z-index:8;cursor:move;touch-action:none;border:2px dashed;mix-blend-mode:normal;transition:none}
.ttz-ed .card>.ttz[data-k="auto"]{border-color:#3ddc84;background:rgba(61,220,132,.16)}
.ttz-ed .card>.ttz[data-k="guess"]{border-color:#f5b84a;background:rgba(245,184,74,.2)}
.ttz-ed .card>.ttz[data-k="fix"]{border-color:#5aa9ff;background:rgba(90,169,255,.18)}
.ttz-ed .card>.ttz.sel{border-style:solid;box-shadow:0 0 0 2px rgba(0,0,0,.65),0 0 0 4px #fff}
.ttz-ed .card>.ttz>.h{display:block;position:absolute;right:-8px;bottom:-8px;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #111;cursor:nwse-resize;box-sizing:border-box}
.ttz-ed .card .meta{max-height:0!important;opacity:0!important}
.ttz-ed .card .ssv{opacity:0!important}
#cz-ui .tlkey{display:flex;flex-direction:column;gap:5px;margin:8px 0;padding:8px 10px;border-radius:8px;background:#232323;font-size:11.5px}
#cz-ui .tlkey span{display:flex;align-items:center;gap:7px}
#cz-ui .tlkey i{width:14px;height:10px;border-radius:3px;border:2px dashed;flex:none}
#cz-ui .tlkey .tk-a{border-color:#3ddc84;background:rgba(61,220,132,.16)}
#cz-ui .tlkey .tk-q{border-color:#f5b84a;background:rgba(245,184,74,.2)}
#cz-ui .tlkey .tk-f{border-color:#5aa9ff;background:rgba(90,169,255,.18)}
#cz-ui .tlsel small{display:block;color:#a9a9a9;font-size:11px;margin:2px 0 6px}
#cz-ui .tlwarn{color:#f5b84a}
.ttz-ed .grid .card:hover,body.mobile.ttz-ed .grid .card.tap{transform:none}
/* a screenshot showing on a card's picture is a link to the game (slides.js) */
body:not(.cz-on):not(.no-shotlinks) .card .im:has(>.ssv.on){cursor:pointer}
#cz-ui .tlsw{margin:8px 0}
#cz-ui .tlsw[disabled]{opacity:.6}
#cz-ui .tlswr{grid-template-columns:1fr auto}
#cz-ui .tlsw>small{display:block;color:#a9a9a9;font-size:11px;line-height:1.35;margin:4px 0 0}
#cz-ui .tlsw .dbar{margin-top:8px}
/* Full-card slideshow (slides.js): on square (Glass) poster cards, and poster cards too small for screenshots above the
   open info panel, the screenshots fill the whole card. With a mouse the info panel pops up on hover as on any card (the
   screenshots show behind it); on phones the picture is for sliding, so the details open from the icons row (.ssinfo /
   a tap there) and a phone's leftover "hover" after a touch doesn't open them. */
body.mobile.glass.fitart .grid .card.ssfull:not(.ssinfo):not(.tap):hover .meta{max-height:0;opacity:0}
body.mobile.glass.fitart.ht-fade .grid .card.ssfull:not(.ssinfo):not(.tap):hover .bd::after{opacity:0}
.card.ssfull>.ssv{inset:0;border-radius:var(--gr,12px);pointer-events:none}
.card.ssfull>.im>.seg{top:10px;bottom:auto}
body.mobile .card.ssfull{touch-action:pan-y}
/* ── phone touch sizes ────────────────────────────────────────────────────────
   Phone fingers need bigger targets than a mouse pointer. These grow the touch box of small controls with an
   invisible ::after (nothing moves on screen), make dropdowns and the search box as tall as the pill around them,
   and keep every text field at 16px so an iPhone doesn't zoom the page when one is tapped. */
body.mobile :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select,textarea){font-size:16px!important}
body.mobile .search input{align-self:stretch;height:auto}
body.mobile label.pill{min-height:40px;padding-top:0!important;padding-bottom:0!important;align-items:center}
body.mobile label.pill>select,body.mobile label.pill>b{align-self:stretch}body.mobile label.pill>b{display:flex;min-width:0}
body.mobile label.pill select{min-height:40px;line-height:normal}
/* "Order by: Release date" needs a whole row at 16px; Platforms and the games filter share the next one */
#p-rs{margin-left:6px}body.mobile .rfq{flex:1 1 100%;min-width:0}
body.mobile :is(.lv,.ib,.bl-act,.bl-spb,[data-bl=readrv],[data-bl=readsum],header .logo,.tags .plw,.bl-un,.rvo footer a,#layft .laym a,footer.attr a){position:relative}
body.mobile .bl-det a{display:inline-block;padding:3px 0}
body.mobile :is(.ib,.bl-act,.bl-spb,[data-bl=readrv],[data-bl=readsum],header .logo,.tags .plw,.bl-un,.rvo footer a,#layft .laym a,footer.attr a)::after{content:"";position:absolute;inset:-8px -6px}
body.mobile .lv::after{content:"";position:absolute;inset:0 -10px 0 -2px}body.mobile .ib::after{inset:-8px -2px}
/* the sticky game bar on a phone: platforms over the title, the count beside it */
body.mobile #sb .si{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"p a" "t a";column-gap:10px;align-items:center;min-width:0;flex:1}
body.mobile #sb .si .pls{grid-area:p;line-height:1;min-height:0;display:flex;justify-content:flex-start;gap:6px;justify-self:start}body.mobile #sb .si .pls:empty{display:none}
body.mobile #sb .si b{grid-area:t;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.mobile #sb .si .add{grid-area:a}
body.mobile input[type=range]{min-height:30px}
body.mobile #cz-top button{min-width:34px;min-height:34px}
body.mobile #cz-ui .clgrid{zoom:1.45}
body.mobile #cz-ui .ol{position:relative}body.mobile #cz-ui .ol::after{content:"";position:absolute;inset:-5px 0}
/* scrolling inside the phone menu, a dialog or the customize panel stops at its end instead of dragging the page behind it */
body.mobile :is(aside,#au,#dlg,#cz-body,#addock,#mn,#bl-lb){overscroll-behavior:contain}

/* Size slider (thumbnail size): a thin track, white up to the handle, a dot for the handle */
.dvsz{gap:12px;height:46px;padding:0 16px;cursor:default}.dvsz:after{display:none}.dvsz span{color:rgba(255,255,255,.8)}
.dvsz input{-webkit-appearance:none;appearance:none;width:130px;height:18px;margin:0;background:none;cursor:pointer}
.dvsz input::-webkit-slider-runnable-track{height:2px;border-radius:1px;background:linear-gradient(90deg,#fff var(--p),rgba(255,255,255,.22) var(--p))}
.dvsz input::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;margin-top:-5px;border-radius:50%;background:#fff;border:0}
.dvsz input::-moz-range-track{height:2px;border-radius:1px;background:rgba(255,255,255,.22)}
.dvsz input::-moz-range-progress{height:2px;border-radius:1px;background:#fff}
.dvsz input::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#fff;border:0}
.dvsz input:disabled{opacity:.4;cursor:default}
.dvsz input:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:4px}
body.aglass .dvsz span{color:inherit}
body.mobile .dvsz,.no-display .dvsz{display:none}

/* Customize precision: number boxes, align buttons, and the overlay (other selected things, size, snapping guides, gaps) */
.czf input[type=number]{width:100%;min-width:0;box-sizing:border-box;background:#333;color:#fff;border:0;border-radius:4px;padding:3px 4px;font:inherit;font-size:12px;text-align:right}
.czal{display:grid!important;grid-template-columns:repeat(3,1fr);gap:4px}.czal button:disabled{opacity:.35;cursor:default}
#cz-g{position:fixed;inset:0;pointer-events:none;z-index:102}
#cz-g u{position:absolute;box-sizing:border-box;border:2px solid #6dc849;background:rgba(109,200,73,.06)}
#cz-g i{position:absolute;background:#ff3d7f}#cz-g i.czgl{background:#ff3df5}
#cz-g b{position:absolute;transform:translate(-50%,-50%);background:#ff3d7f;color:#fff;font:600 11px/1 system-ui,sans-serif;padding:2px 4px;border-radius:3px;white-space:nowrap}
#cz-g b.czsz{background:#6dc849;color:#0d1a08}
/* GOG Galaxy-style toolbar (browse.js): quick toggles, Filter with its count, and the view menu; menus open below, their
   lists to the side (on a phone, under the row you tap); group headers fold */
/* the browse bar sits above the page below it: Customize moves things with translate, which gives each its own layer, and
   its filter / sort menus must stay over the cards */
.gbar{gap:12px;--brA:#c4a5ff;--brM:#1d1d1d;position:relative;z-index:30}
.gbar>.pill,.brm>.pill,.brvs{min-width:0;height:46px;padding:0;gap:0}
.brq button,.brfb button,.brvb{background:none;border:0;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;height:100%;display:flex;align-items:center;gap:8px}
.brq{padding:0 4px!important}.brq button{padding:0 12px}.brq button.on,.brfb.on button{color:var(--brA)}
.brfb button{padding:0 16px}.brfb.on #br-f{padding-right:6px}#br-fx{padding:0 14px 0 6px;font-size:19px;font-weight:400}#br-fx[hidden]{display:none}
.brvb{width:46px;justify-content:center}.brq button:hover:not(.on),.brfb:not(.on) button:hover,.brvb:hover{color:rgba(255,255,255,.75)}
.brm{position:relative;display:flex}
.brp,.brs{background:var(--brM);border-radius:8px;padding:6px 0;box-shadow:0 12px 32px rgba(0,0,0,.55);color:#fff}
.brp{position:absolute;top:calc(100% + 8px);left:0;z-index:60;min-width:250px}.brp[hidden]{display:none}
.brp hr{border:0;border-top:1px solid rgba(255,255,255,.1);margin:6px 0}
.brr{position:relative}
.brc,.bro{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;color:#fff;font:inherit;font-size:15px;padding:9px 16px;cursor:pointer;text-align:left}
.brc>span,.bro>span{flex:1;white-space:nowrap}.brc>i,.bro>i{font-style:normal;color:var(--mute);min-width:12px;text-align:center}.bro>i{color:#fff}
.brc:hover,.brr.open>.brc,.bro:hover,.brk:hover{background:rgba(255,255,255,.07)}
.brn,.brv{background:rgba(0,0,0,.5);border-radius:4px;font-size:12px;font-weight:600;line-height:20px}.brn{min-width:20px;text-align:center}.brv{padding:0 8px;font-weight:500;white-space:nowrap}
.brs{display:none;position:absolute;left:100%;top:-6px;z-index:1;min-width:220px;max-height:min(440px,70vh);overflow:auto}.brr.left>.brs{left:auto;right:100%}.brr.open>.brs{display:block}
.brk{display:flex;align-items:center;gap:12px;padding:8px 16px;cursor:pointer;font-size:15px;white-space:nowrap}
.brk input{width:18px;height:18px;margin:0;accent-color:var(--brA);flex:none}.brk .ico,.brh .ico{height:18px;width:auto}
.brp .dv{width:40px;height:40px}.brp .dv svg{width:40px;height:40px}.no-display .brdisp{display:none}
.brg{margin-bottom:26px}
.brh{display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--mute);font:inherit;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;padding:4px 0;margin-bottom:14px}
.brh>i{font-style:normal;display:inline-block;transition:transform .15s}.brh[aria-expanded=false]>i{transform:rotate(-90deg)}.brh em{font-style:normal;font-weight:500}.brh:hover{color:#fff}
body.mobile .brm{position:static}body.mobile .brp{left:0;right:0;min-width:0}
body.mobile .brs{position:static;box-shadow:none;border-radius:0;background:rgba(255,255,255,.04);max-height:50vh}
body.mobile .gbar>.brq{flex:1 1 auto;justify-content:space-evenly}body.mobile .gbar .brm>.pill{flex:none}
/* List view: one row per game (cover, title, then the columns you keep), the header row sorts */
.list{display:flex;flex-direction:column}
.brl{display:grid;grid-template-columns:var(--lc);align-items:center;gap:16px;padding:6px 10px;min-height:52px;border-radius:6px;font-size:15px}
.brl:not(.brlh):hover{background:rgba(255,255,255,.05)}.brl>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brlh{min-height:0;padding-bottom:8px;color:var(--mute);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.brlh button,.brlh span{background:none;border:0;padding:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer;display:flex;gap:6px}.brlh span{cursor:default}
.brlh button:hover,.brlh button.on{color:#fff}.brlh i{font-style:normal}
.brlt{display:flex;align-items:center;gap:14px;min-width:0;color:#fff;text-decoration:none;font-weight:600}.brlt span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brlt:hover span{text-decoration:underline}
.brlt img,.brlt i{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;background:rgba(255,255,255,.08)}
.brl-y,.brl-t,.brl-tag{color:var(--mute)}.brl-u{display:flex}.brls{cursor:pointer;font-size:20px;line-height:1;display:flex}.brls .ico{height:24px}.brls.add{width:24px;height:24px;border-radius:50%;justify-content:center;align-items:center;background:rgba(255,255,255,.08);font-size:17px}
.brl-m .rt{margin:0;--rs:18px!important;--rg:3px!important}.brl-m .rt.rated{font-size:18px}.brl>.brl-m{overflow:visible}.brl-o .pi svg{height:14px}
.brgs.list>.brlh{margin-bottom:6px}.brg>.list{margin-top:-6px}
body.mobile .brl{--lc:minmax(0,1fr) auto auto auto!important;gap:10px;padding:6px 4px}body.mobile .brl:is(.brlh){display:none}
body.mobile .brl>:is(.brl-y,.brl-s,.brl-x,.brl-t,.brl-tag,.brl-o){display:none}
/* Favorites heart (ghostly white; red when it's a favorite; a custom emoji or picture is greyed out until then) and the
   Users score, in the strip under each card */
.fvb{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:rgba(255,255,255,.42);font-size:20px;line-height:1;transition:color .15s,transform .15s,filter .15s,opacity .15s}
.fvb svg{display:block}.fvb img{height:1em;width:auto;display:block}.fvb:hover{color:rgba(255,255,255,.75);transform:scale(1.12)}
.fvb.on,.fvb.on:hover{color:#ff3b4f}.fvb.fvc:not(.on){filter:grayscale(1);opacity:.45}.fvb.fvc:not(.on):hover{opacity:.75}
.fvb:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:4px}
/* the strip under a card is as tall as the rating stars in it (their size comes from the rating style: --rsz) */
body{--cuh:max(30px,calc(var(--rsz,24px)*var(--stk,1)*1.15 + 6px))}body.mobile{--cuh:max(26px,calc(var(--rsz,24px)*var(--stk,1)*1.15 + 4px))}
.cud{display:flex;align-items:center;justify-content:space-between;gap:8px;height:var(--cuh);padding:6px 4px 0;box-sizing:border-box}
/* in a grid the strip hangs just under the card (the space under each card grows to fit it), so nothing placed on the card moves */
.grid .card{--cudh:var(--cuh)}.grid .card>.cud{position:absolute;top:100%;left:0;right:0}
.glass .card .cud{background:transparent}.card .cud .fvb{font-size:19px}
.agg{display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:700;color:#fff}.agg .ico,.agg>span{font-size:15px;height:16px;line-height:16px}
.tags .fvb{font-size:20px}.tags .agg{margin-left:4px}
.brl-fav,.brl-x{display:flex;align-items:center}
.fvset{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.fvset .fvb{font-size:24px;cursor:default}.fvset .fvb:hover{transform:none}
.fvset input{width:150px;background:rgba(255,255,255,.07);border:0;border-radius:8px;color:#fff;font:inherit;padding:9px 12px}.fvset .pill{min-width:0}
.adnote{display:block;color:var(--mute);font-size:12px;margin-top:8px}
body.mobile .cud{padding-top:4px}body.mobile .card .cud .fvb{font-size:17px}body.mobile .agg{font-size:12px}
/* profile pictures: the uploaded picture fills the circle; on your profile, the big one is a button to change it */
.av{overflow:hidden;flex:none}.av img{width:100%;height:100%;object-fit:cover;display:block}
.avw{display:flex;flex-direction:column;align-items:center;gap:8px}
.avup{position:relative;background:none;border:0;padding:0;border-radius:50%;cursor:pointer;color:inherit}.avup .av.big{width:96px;height:96px;font-size:40px}
.avup>.avc{position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;background:#2c2c2c;display:grid;place-items:center;font-style:normal;font-size:15px;box-shadow:0 2px 8px rgba(0,0,0,.5);transition:transform .15s}
.avup:hover>.avc,.avup:focus-visible>.avc{transform:scale(1.12)}.avup:hover .av{filter:brightness(.85)}.avup:focus-visible{outline:2px solid #fff;outline-offset:3px}
.avrm{background:none;border:0;color:var(--mute);font:inherit;font-size:12px;cursor:pointer;text-decoration:underline}.avrm:hover{color:#fff}
.uhd{display:flex;align-items:center;gap:20px;margin-bottom:6px}.uhd h1{margin:0}
/* the sidebar's fold button, the folded strip of icons, and headings that fold their sections */
.sbt{display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0 0 10px -4px;background:none;border:0;border-radius:8px;color:var(--mute);cursor:pointer}
.sbt:hover{background:rgba(255,255,255,.08);color:#fff}.sbt:focus-visible{outline:2px solid #fff}
aside .tic{display:none}aside .sbf{display:none!important}
aside h4{cursor:pointer;user-select:none;display:flex!important;align-items:center;gap:8px}aside h4::after{content:"⌄";font-size:16px;color:var(--mute);transition:transform .15s;margin-top:-6px}
aside h4[aria-expanded=false]::after{transform:rotate(-90deg);margin-top:0}aside h4:hover::after{color:#fff}aside h4:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:4px}
body.sbmin:not(.mobile) aside{width:56px!important;padding-left:8px!important;padding-right:8px!important;overflow:hidden auto;scrollbar-width:none}
body.sbmin:not(.mobile) aside .tic{display:grid}
body.sbmin:not(.mobile) aside a{font-size:0;justify-content:center;height:40px;margin:0 0 6px;gap:0}body.sbmin:not(.mobile) aside a .ic{margin:0;width:36px;height:36px}
body.sbmin:not(.mobile) aside a.top{margin:0 0 6px}body.sbmin:not(.mobile) aside .nrk{display:none}
body.sbmin:not(.mobile) aside h4{font-size:0;height:1px;margin:10px 4px;padding:0;background:rgba(255,255,255,.12);pointer-events:none}body.sbmin:not(.mobile) aside h4::after{display:none}
body.sbmin:not(.mobile) aside .sbf:not(.sbx):not(.sbxs){display:flex!important}body.sbmin:not(.mobile) aside a.dim{display:none!important}
body.sbmin:not(.mobile) aside .uh{font-size:0}body.sbmin:not(.mobile) aside .uh .av{width:34px;height:34px;font-size:15px}
body.sbmin:not(.mobile) aside .ic.g::before{content:attr(data-l);font-size:15px}body.sbmin:not(.mobile) .sbt{margin:0 auto 10px}
.no-display .brvw{display:none}
/* the view controls in the toolbar: size slider, your looks, Grid / List / Single column */
.brvw{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gbar .dvsz{height:46px}
.brvs{padding:0 4px!important}.brvs button{background:none;border:0;color:rgba(255,255,255,.5);width:38px;height:100%;display:grid;place-items:center;cursor:pointer;border-radius:6px}
.brvs button:hover{color:rgba(255,255,255,.85)}.brvs button.on{color:#fff}.brvs button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
body.mobile .gbar .brvw{order:5;flex:1 1 100%;justify-content:space-between}body.mobile .gbar .brvs{flex:none}
#main>.gbar:first-child{margin-top:26px}
.dvsz.lku{cursor:pointer}.dvsz.lk input{pointer-events:none}
/* admin: switching sidebar items off (✎ shows a switch on each; switched-off items stay visible, faded, while editing) */
.sbtop{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px -4px}.sbtop .sbt{margin:0}
.sbe{background:none;border:0;border-radius:8px;color:var(--mute);font:inherit;font-size:13px;padding:6px 10px;cursor:pointer}.sbe:hover{background:rgba(255,255,255,.08);color:#fff}
.sbe[aria-pressed=true]{background:#fff;color:#151515;font-weight:700}.no-admin .sbe,body.sbmin:not(.mobile) .sbe{display:none}
body.sbmin:not(.mobile) .sbtop{justify-content:center;margin-left:0}
aside .sbx,aside .sbxs{display:none!important}
body.sbedit aside .sbx,body.sbedit aside .sbxs{display:flex!important;opacity:.4}
body.sbedit aside>a,body.sbedit aside>h4{cursor:pointer}body.sbedit aside .sbsw{margin-left:auto;pointer-events:none;transform:scale(.8);transform-origin:right center}
body.sbedit aside h4::after{display:none}
/* the video player: over the page, 16:9, the game's name, Open on YouTube, and × (or Esc, or a click outside) to close */
#vp{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:24px}
.vpb{width:min(1100px,100%,calc((100vh - 120px) * 16 / 9));background:#151515;border-radius:12px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.6)}
.vph{display:flex;align-items:center;gap:14px;padding:10px 10px 10px 18px}.vph b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vpy{color:var(--mute);font-size:13px;text-decoration:none;white-space:nowrap}.vpy:hover{color:#fff;text-decoration:underline}
.vpx{width:34px;height:34px;border:0;border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer}.vpx:hover{background:rgba(255,255,255,.16)}
.vpf{aspect-ratio:16/9;background:#000;display:grid;place-items:center}.vpf iframe{width:100%;height:100%;border:0;display:block}.vpf p{color:var(--mute)}
.bl-act[data-vid]{background:none;border:0;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.bl-act[data-vid] svg{width:18px;height:18px}
body.mobile .sbt{display:none}
body.sbedit aside>a.top{display:flex;align-items:center}
/* Back, at the start of the header */
.hback{display:grid;place-items:center;width:38px;height:38px;margin:0 -8px 0 -10px;flex:none;background:none;border:0;border-radius:50%;color:#fff;cursor:pointer;transition:background .15s}
.hback:hover:not(:disabled){background:rgba(255,255,255,.1)}.hback:disabled{opacity:.3;cursor:default}.hback:focus-visible{outline:2px solid #fff}
body.mobile .hback{width:34px;height:34px;margin:0 -10px 0 -6px}
.adfv{margin:10px 0 14px}.adfv>b{display:block;margin-bottom:8px;font-size:13px}

/* Profile → Your rating */
.rme{margin:0 0 24px;max-width:780px}.rme-pv{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:12px 14px;border-radius:10px;background:rgba(255,255,255,.05);margin-bottom:14px}
.rme-t{font-weight:700;font-size:17px}.rme-g{margin:0 0 14px}.rme-g h4{margin:0 0 6px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.55)}
.rme-g>small{display:block;color:rgba(255,255,255,.5);margin-bottom:8px}.rme-r{display:flex;align-items:center;gap:10px;margin:4px 0}.rme-r>span{width:64px;color:rgba(255,255,255,.7)}.rme-r input[type=range]{width:min(200px,45vw)}
.rme-v{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:6px;margin-bottom:8px}
.rme-c{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 6px;padding:6px 8px;border-radius:8px;background:rgba(255,255,255,.05)}
.rme-c b{grid-column:1/-1;font-size:11px;color:rgba(255,255,255,.55);font-weight:600}.rme-i{font-size:18px;min-width:24px;text-align:center;font-weight:700}.rme-i img{height:18px}
.rme-c input[type=text]{width:100%;min-width:0;background:#1d1d1d;border:1px solid #333;color:#fff;border-radius:6px;padding:3px 5px;font:inherit}
.rme-c input[type=color],.rme-r input[type=color]{width:28px;height:24px;padding:0;border:0;background:none;cursor:pointer}
.member #cz-btn,.member #gl-btn,.member #gldock{display:none!important}
/* the sidebar scrolls on its own (its height follows the window: pages.js) */
body:not(.mobile) aside{position:sticky;top:16px;align-self:flex-start;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.cud .rt{margin:0 auto 0 0}
/* Customize → Add: panels, text, game info, pictures, links placed anywhere */
#main{position:relative}.czadd{position:absolute;left:0;top:0;z-index:6;box-sizing:border-box;color:#fff;text-decoration:none;line-height:1.2}
.czback{z-index:-1}#main:has(>.czback),.card:has(>.czback){isolation:isolate}
.czadd-panel{width:240px;height:120px;background:rgba(255,255,255,.12);border-radius:12px}.czadd-text{font-size:18px;font-weight:700;white-space:pre-wrap;width:max-content;max-width:640px}
.czadd-info{font-size:14px;width:max-content;max-width:100%}.czadd-img{width:96px;height:96px;font-size:56px;display:grid;place-items:center}.czadd-img img{width:100%;height:100%;object-fit:contain;display:block}
.czadd-link{display:inline-flex;align-items:center;padding:10px 18px;border-radius:999px;background:#fff;color:#151515;font-weight:700;white-space:pre-wrap}
#cz-ui .czff input[list]{flex:1;min-width:0}#cz-ui .czff button,#cz-ui .czr button[data-addk]{font-size:11.5px}#cz-ui .czall output{min-width:42px;text-align:right}
#cz-ui .czadd-ctl textarea{flex:1;min-width:0;resize:vertical;font:inherit;background:#1d1d1d;color:#fff;border:1px solid #333;border-radius:6px;padding:4px 6px}
.card>.czadd:not(.czadd-panel):not(.czadd-link){text-shadow:0 1px 3px rgba(0,0,0,.85)}
.card .act .fvb{font-size:19px;display:inline-flex;align-items:center;cursor:pointer}body.mobile .card .act .fvb{font-size:17px}
/* the strip under a card: the star row in the middle, the Users score at the right */
.cud{display:grid!important;grid-template-columns:1fr auto 1fr}.cud .rt,.cud .clph{grid-column:2;margin:0!important}.cud .agg{grid-column:3;justify-self:end}
/* the icons at the bottom of a card share one size (--cbi, following the card's width): heart, status, buttons, rating, platforms, score */
.card{--cbi:clamp(14px,8cqi,22px)}
.card .act .fvb,.card .act .rmact,.card .act .sti{font-size:var(--cbi)!important;line-height:1}
.card .act .rmact .rm img,.card .act .sti img,.card .act .fvb img{height:1em!important;width:auto}
.card .act .ib,.card .act .add{height:calc(var(--cbi) + 4px)!important;min-height:0!important}
.card .act .ib svg{width:calc(var(--cbi)*.72)!important;height:calc(var(--cbi)*.72)!important}.card .act .ib[data-lb="more"]{font-size:calc(var(--cbi)*.62)!important}
.card .pls .pi svg,.card .pls .pi img{height:calc(var(--cbi)*.8)!important;width:auto}
.card .sc{font-size:calc(var(--cbi)*.64)!important;line-height:calc(var(--cbi) - 2px)!important}
.card .act .fvb svg{width:1.18em!important;height:1.18em!important}
/* a card's text, icons and info panel scale with the card (the Size slider; --ck from masonry.js) */
body:not(.mobile) .grid .card>:is(.bd,.cud,.clo,.czadd){zoom:var(--ck,1)}body:not(.mobile) .grid .card{--cudh:calc(var(--cuh) * var(--ck,1))}
/* the info list that drops below a card on hover opens under the strip (stars, Users score), which then joins it */
.grid .card:has(>.cud) .bd>.meta{top:calc(100% + var(--cuh))}
/* classic cards: the star row sits in the card under the title (no strip under the card), the users' score at its end;
   a row whose parts were all moved elsewhere (Card layout) closes up instead of leaving a gap */
.bd>.cud{display:flex!important;justify-content:flex-start;gap:10px;height:auto;padding:0;margin:0 0 8px}.bd>.cud .rt{margin:0!important}.bd>.cud .agg{margin-left:auto}
body .grid .card:not(:has(>.cud)){--cudh:0px}
body:not(.fitart) .grid .bd>.pls:not(:has(>:not(.clph))){display:none}
body:not(.fitart) .grid .card:hover>.cud{background:var(--card)}body.glass:not(.fitart) .grid .card:hover>.cud{background:rgba(var(--gt),max(var(--ga),.55));-webkit-backdrop-filter:blur(max(var(--gb),18px)) saturate(1.7);backdrop-filter:blur(max(var(--gb),18px)) saturate(1.7)}
/* rows of one plain symbol (rtx): unreached steps are outlines, a part-step is filled only as far as it goes */
.rtx .rs{-webkit-text-fill-color:transparent;-webkit-text-stroke:max(1px,calc(var(--rs,24px)*.06)) currentColor}
.rtx .rs.lit,.rtx:hover .rs,.rtx:has(.rs:focus-visible) .rs,.rtx.rerate:not(:hover) .rs.lit{-webkit-text-fill-color:currentColor}
.rtx .rs:hover~.rs,.rtx:has(.rs:focus-visible) .rs:focus-visible~.rs{-webkit-text-fill-color:transparent}
/* (no text shadow on a part-filled step: a shadow is drawn over the background that fills it, and would hide the fill) */
.rtx .rs.hl,.rtx.rerate:not(:hover) .rs.hl,.rtx.hv .rs.hh:hover,.rtx.hv .rs.hh:focus-visible{-webkit-mask-image:none;mask-image:none;text-shadow:none;-webkit-text-fill-color:transparent;background:linear-gradient(90deg,currentColor var(--hp,50%),transparent var(--hp,50%));-webkit-background-clip:text;background-clip:text}
.rtx:hover .rs.hl:not(:hover){background:none;-webkit-text-fill-color:currentColor}.rtx .rs:hover~.rs.hl{background:none;-webkit-text-fill-color:transparent}
/* platform icons in their own colours */
.pi[data-pf=pc] svg *{fill:#00a4ef}.pi[data-pf=ps] svg *{fill:#2f7fe0}.pi[data-pf=xbox] svg *{fill:#3cb043}.pi[data-pf=nin] svg *{fill:#e60012}
.pi[data-pf=mac] svg *,.pi[data-pf=ios] svg *{fill:#c4c9cc}.pi[data-pf=play] svg [fill]:not([fill=none]){fill:#34a853}.pi[data-pf=play] svg [stroke]{stroke:#34a853}
/* the info that drops below a glass card is glass too: the card under it shows only blurred, behind at least a 55% tint, so the text stays readable over light art */
body.glass:not(.fitart) .grid .meta::before{display:none}body.glass:not(.fitart) .grid .meta{background:rgba(var(--gt),max(var(--ga),.55));-webkit-backdrop-filter:blur(max(var(--gb),18px)) saturate(1.7);backdrop-filter:blur(max(var(--gb),18px)) saturate(1.7);box-shadow:inset 0 0 0 1px rgba(255,255,255,calc(.07*var(--gsh)))}
body.glass:not(.fitart) .grid .meta{text-shadow:0 1px 2px rgba(0,0,0,.55)}
/* each card keeps its layers to itself, so a hovered card (and the info it drops) is never covered by the card below */
.grid .card{isolation:isolate}.grid .card:hover,body.mobile .grid .card.tap{z-index:20}

/* ---- Profile: a header (picture, name, your numbers), then one card per subject; in a card, each thing is a row: what it is
   on the left, its buttons on the right */
.pf{max-width:880px}.pf-hd{align-items:center;gap:26px;margin:6px 0 26px}.pf-id{min-width:0;flex:1}.pf-id h1{margin:0;overflow-wrap:anywhere}.pf-id .sub{margin:4px 0 14px}
.pf-st{display:flex;flex-wrap:wrap;gap:8px}.pf-st a{min-width:84px;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.06);text-decoration:none;color:#fff;transition:background .2s}.pf-st a:hover{background:rgba(255,255,255,.12)}
.pf-st b{display:block;font-size:22px;line-height:1.1}.pf-st small{color:rgba(255,255,255,.55);font-size:12px}
.pf-s{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:20px 22px;margin:0 0 16px}.pf-s h2{margin:0 0 4px;font-size:20px}.pf-d{margin:0 0 14px;color:rgba(255,255,255,.55);font-size:14px}
.pf-s .pill{min-width:0}.pf-sel{display:inline-flex;margin:0 0 12px}.pf-s .rme{margin:0;max-width:none}
.pf-r{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;padding:14px 0;border-top:1px solid rgba(255,255,255,.08)}.pf-r>div:first-child{flex:1 1 260px;min-width:0}
.pf-r b{display:block;font-size:15px}.pf-r small{display:block;color:rgba(255,255,255,.55);font-size:13px;line-height:1.45;margin-top:2px}.pf-a{display:flex;flex-wrap:wrap;gap:8px}
.pf-imp{padding-bottom:10px}.pf-s .imps{margin:0}.pf-s .imp .fb{margin-top:10px}.pf-s .srvbox,.pf-s .pcset{max-width:none;margin:0;background:none;padding:0}
.pf-acc{align-items:center}.pf-del{margin-left:auto;background:none;color:#ff8a8f;box-shadow:inset 0 0 0 1px rgba(229,72,77,.5)}.pf-del:hover{background:rgba(229,72,77,.16)}.pf-s .members{margin:18px 0 0}
.rme-more>summary{cursor:pointer;display:inline-block;padding:8px 14px;border-radius:8px;background:rgba(255,255,255,.07);font-size:14px;list-style:none;margin:0 0 4px}.rme-more>summary::-webkit-details-marker{display:none}
.rme-more>summary::after{content:" ▾";opacity:.6}.rme-more[open]>summary{margin-bottom:14px}.rme-more[open]>summary::after{content:" ▴"}.pf-s .rme-pv{margin-bottom:12px}
#p-csv-up:after{display:none}#p-csv-up{cursor:pointer}
.pf-o{display:block;width:100%;text-align:left;border:0;border-radius:10px;padding:12px 14px;background:rgba(255,255,255,.08);color:#fff;font:inherit;cursor:pointer}.pf-o:hover,.pf-o:focus-visible{background:rgba(255,255,255,.16);outline:0}
.pf-o b{display:block}.pf-o small{display:block;margin-top:2px}.pf-o.danger b{color:#ff8a8f}
body.mobile .pf-hd{flex-direction:column;align-items:flex-start;gap:14px}body.mobile .pf-s{padding:16px 14px}body.mobile .pf-st a{flex:1 1 28%;min-width:0}body.mobile .pf-del{margin-left:0}

/* ---- Friends, laid out like Backloggd's: picture + name, a bar of tabs, Following / Followers, one person per row */
.frp{max-width:1110px}.fr-hd{display:flex;align-items:center;gap:16px;margin:6px 0 16px}.fr-hd .av.big{width:96px;height:96px;border-radius:6px;font-size:40px;flex:none}.fr-hd .av.big img{border-radius:6px}
.fr-hd h1{margin:0 0 6px;font-size:28px;line-height:1.1;overflow-wrap:anywhere}.fr-edit,.fr-fb{display:inline-block;background:#2f3645;color:#dfe5ee;border:0;border-radius:4px;padding:3px 8px;font:inherit;font-size:15px;cursor:pointer;text-decoration:none}.fr-edit:hover,.fr-fb:hover{background:#3d465a;color:#fff}
.fr-tabs{display:flex;flex-wrap:wrap;gap:0 2px;background:#242832;border-radius:4px;padding:0 6px}.fr-tabs a{position:relative;padding:6px 12px;color:#dfe5ee;font-weight:500;text-decoration:none}.fr-tabs a:hover{color:#fff}
.fr-tabs a.on::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:2px;background:#ea377a}
.fr-sw{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 10px;margin:22px 0 16px;font-size:26px;font-weight:500}.fr-sw a{color:rgba(255,255,255,.5);text-decoration:none;padding-bottom:2px}.fr-sw a:hover{color:#fff}
.fr-sw a.on{color:#fff;border-bottom:2px solid #fff}.fr-sw i{font-style:normal;color:rgba(255,255,255,.5)}
.fr-list{max-width:825px}.fr-row{display:flex;align-items:center;gap:15px;padding:8px 36px 8px 0;border-bottom:1px solid rgba(255,255,255,.1)}.fr-row>div{flex:1;min-width:0}
.fr-av .av{width:60px;height:60px;border-radius:4px;font-size:26px;display:grid;place-items:center}.fr-av .av img{border-radius:4px}
.fr-n{display:block;font-size:22px;color:#dfe5ee;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fr-n:hover{color:#fff}.fr-row small{color:rgba(255,255,255,.45);font-size:15px}
.fr-fb{flex:none;font-size:16px;padding:4px 8px}.fr-fb.on{background:#ea377a;color:#fff}.fr-none{color:rgba(255,255,255,.55);margin:18px 0}.fr-none a{color:#fff;text-decoration:underline}
.fr-pg{display:flex;align-items:center;justify-content:space-between;max-width:825px;margin:26px 0 10px;color:rgba(255,255,255,.4)}.fr-pg a{color:#dfe5ee;text-decoration:none}.fr-pg a:hover{color:#fff}
.fr-pg b{display:flex;gap:6px;font-weight:400}.fr-pg b i,.fr-pg b a{font-style:normal;min-width:30px;height:30px;display:grid;place-items:center;border-radius:4px}.fr-pg b i{background:#4a5e8d;color:#fff}
.uhd .fr-fb{margin-top:8px}
body.mobile .fr-hd .av.big{width:72px;height:72px}body.mobile .fr-sw{font-size:20px}body.mobile .fr-row{padding-right:0;gap:10px}body.mobile .fr-n{font-size:18px}body.mobile .fr-av .av{width:48px;height:48px}body.mobile .fr-tabs a{padding:6px 8px;font-size:14px}

/* Card layout: the lines a dragged part snapped to, and the space around the selected part */
/* (the sample card doesn't grow under the pointer, so what you line up stays lined up) */
#cz-ui .clpv .card,#cz-ui .clpv .card:hover{transform:none!important;scale:none!important}
.clgd{position:absolute;inset:0;z-index:60;pointer-events:none;font:700 9px/1 system-ui,sans-serif}
.clgd i{position:absolute;display:block}.clgd i.v{top:0;bottom:0;width:0;border-left:1px solid #e8c34e}.clgd i.h{left:0;right:0;height:0;border-top:1px solid #e8c34e}
.clgd i.gh{height:0;border-top:1px dashed #ff5fa2}.clgd i.gv{width:0;border-left:1px dashed #ff5fa2}
.clgd i b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#ff5fa2;color:#fff;border-radius:3px;padding:1px 3px;font-style:normal;white-space:nowrap}
#cz-ui .clgap{display:block;color:#ff9cc4;font-variant-numeric:tabular-nums;margin:2px 0 6px}#cz-ui .clgap:empty{display:none}
/* classic cards (the art doesn't fill the card) are all one height, so parts placed on them land in the same spot on every
   card: the title always takes two lines (a longer one ends in …, a short one leaves its second line empty) */
body:not(.fitart) .grid .card>.bd>h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.34em}
/* (and the rows above and below it are one height whether the game is in your library or not) */
body:not(.fitart) .grid .card>.bd>.act{min-height:34px;align-items:center}body:not(.fitart) .grid .card>.bd>.pls{min-height:21px}

/* ---- Compact buttons (Features → Compact buttons, on by default): smaller and narrower, like GOG's, each with a thin outline,
   a lit top edge and a soft shadow so it sits a little above the page; it rises a pixel under the pointer and settles when pressed */
body:not(.no-slimbtn){--b3d:inset 0 1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.2),0 2px 0 rgba(0,0,0,.45),0 3px 8px rgba(0,0,0,.35);
  --b3dh:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.32),0 3px 0 rgba(0,0,0,.4),0 6px 14px rgba(0,0,0,.4)}
body:not(.no-slimbtn) .pill{min-width:0;padding:6px 12px;font-size:13px;border-radius:6px}
body:not(.no-slimbtn) :is(.pill,.dv,.more,.layt,.dlgc,.dlgk,.fr-fb,.fr-edit,.dbsave,.bl-logbtn,.bl-spb){box-shadow:var(--b3d);transition:box-shadow .15s,transform .15s,background-color .15s}
body:not(.no-slimbtn):not(.cz-on) :is(.pill,.dv,.more,.layt,.dlgc,.dlgk,.fr-fb,.fr-edit,.dbsave,.bl-logbtn,.bl-spb):not(:disabled):not(.dvsz):hover{box-shadow:var(--b3dh);transform:translateY(-1px)}
body:not(.no-slimbtn) :is(.pill,.dv,.more,.layt,.dlgc,.dlgk,.fr-fb,.fr-edit,.dbsave,.bl-logbtn,.bl-spb):not(:disabled):active{transform:none;box-shadow:var(--b3d)}
body.aglass:not(.no-slimbtn) :is(.pill,.dv,.layt):not(.card *){box-shadow:var(--b3d)}
/* the toolbar above the games: 36 px high instead of 46 */
body:not(.no-slimbtn) .gbar>.pill,body:not(.no-slimbtn) .brm>.pill,body:not(.no-slimbtn) .brvs,body:not(.no-slimbtn) .gbar .dvsz,body:not(.no-slimbtn) .dvsz{height:36px}
body:not(.no-slimbtn) .dvsz{padding:0 12px}body:not(.no-slimbtn) :is(.bar,.brp) .dv,body:not(.no-slimbtn) .dv{width:36px;height:36px}body:not(.no-slimbtn) :is(.bar,.brp) .dv svg{flex:none;width:44px;height:44px;margin:-4px}
body:not(.no-slimbtn) .more{width:auto;height:36px;padding:0 22px;font-size:14px;border-radius:6px}
body:not(.no-slimbtn) #layft .layt{padding:7px 14px;font-size:13px;border-radius:6px}
body:not(.no-slimbtn) .dlga button{padding:7px 14px;font-size:13px;border-radius:6px}
body.mobile:not(.no-slimbtn) .bar .pill,body.mobile:not(.no-slimbtn) .bar label.pill{padding:6px 10px;font-size:13px}
body:not(.no-slimbtn) label.pill select{margin-left:4px}
aside .ic{box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.rm.rmu{color:rgba(255,255,255,.9);filter:drop-shadow(0 1px 2px rgba(0,0,0,.7));transition:color .15s}.rm.rmu:hover,.rm.rmu:focus-visible{color:#fff}
.rmu-i{width:1em;height:1em;vertical-align:-.12em;display:inline-block}
#mn:has(.rtg){max-width:440px}#mn .rtg+.cf{display:flex;align-items:center;gap:10px}
#mn .rtu{display:inline-flex;flex:none;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:13px;font-weight:600}#mn .rtu .rmu-i{width:15px;height:15px}
/* the wishlist gift: no box, white with a soft shadow; an outline until it's on your wishlist, then filled */
.gift .gf,.on>.gift .go,.on>.bl-sti>.gift .go{display:none}.on>.gift .gf,.on>.bl-sti>.gift .gf{display:inline}
body :is(.card,#bl-log) .ib[data-lb="wish"]{background:transparent;color:#fff;min-width:0;padding:0 2px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.75))}#bl-log .ib[data-lb="wish"]{transition:transform .15s}
body :is(.card,#bl-log) .ib[data-lb="wish"]:hover{background:transparent;color:#fff;transform:scale(1.12)}
#bl-log .ib[data-lb="wish"] svg{width:1.55em;height:1.55em}.card .act .ib[data-lb="wish"] svg{width:calc(var(--cbi)*.9)!important;height:calc(var(--cbi)*.9)!important}
/* the Video box (beside Music), and the "Default" tag both show on what the admin set for everyone */
.mdl{font-size:11px;font-weight:600;color:rgba(255,255,255,.55);background:rgba(255,255,255,.08);border-radius:4px;padding:2px 6px;margin-left:6px;vertical-align:2px}
.mpd{display:block;margin-top:6px;font-size:12px;color:rgba(255,255,255,.45)}
/* a card's hover preview: under the screenshots and the play button, faded in once it's really playing */
.hvp{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity .35s;pointer-events:none;border-radius:inherit;background:#000}
.hvp iframe{position:absolute;left:50%;top:50%;translate:-50% -50%;border:0;pointer-events:none}
.hvon .hvp{opacity:1}
/* with previews on (not on phones), a card's picture plays its video: no ▶, and the picture takes the click */
body:not(.mobile):not(.no-vprev):not(.no-video) .card .pc{display:none!important}body:not(.mobile):not(.no-vprev):not(.no-video) .card:has(.pc) .im{cursor:pointer}
/* the Art box on a game page: a thumbnail of the cover and banner, with Change… for your own */
.art-r{gap:10px}.art-th{flex:none;border-radius:4px;background:#2b2b2b center/cover no-repeat}.art-c{width:30px;height:40px}.art-l{width:52px;height:30px}
.art-ch{flex:none;cursor:pointer;font-size:13px;padding:4px 9px;border-radius:6px;background:rgba(255,255,255,.08)}.art-ch:hover{background:rgba(255,255,255,.16)}.art-ch:focus-within{outline:2px solid #fff}
/* the game page button: top right of a card's picture, seen on hover (always on phones) */
.gpb{position:absolute;top:8px;right:8px;z-index:3;display:block;color:#fff;line-height:0}.card .gpb svg{fill:none;width:20px!important;height:20px!important}
.gpb>i{display:grid;place-items:center;width:28px;height:28px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.85));opacity:0;transition:opacity .15s}
.card:hover .gpb>i,.card:focus-within .gpb>i,body.mobile .gpb>i,.clpv .gpb>i{opacity:.8}
.card .gpb:hover>i{opacity:1}
.gpb:focus-visible{outline:none}.gpb:focus-visible>i{opacity:1;outline:2px solid #fff;border-radius:6px}
.card.ssfull .gpb{top:24px}
/* list view: the rating's value icon, a size to read and click */
.brl-m .rm{font-size:20px}.brl-m .rm img{height:22px;width:auto;vertical-align:middle}.brl-m .rmu-i{width:22px;height:22px;vertical-align:middle}
/* list view: column headings can be dragged wider or narrower (the edge on their right); a set Title width lets the list scroll sideways */
.brhc{position:relative;display:flex;min-width:0;overflow:visible!important}.brhc>button,.brhc>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brz{position:absolute;top:-4px;bottom:-4px;right:-12px;width:8px;cursor:col-resize;z-index:2;touch-action:none}
.brz::after{content:"";position:absolute;left:3px;top:2px;bottom:2px;width:2px;border-radius:1px;background:rgba(255,255,255,.22);opacity:0;transition:opacity .15s}
.brlh:hover .brz::after{opacity:.6}.brz:hover::after,body.brzing .brz::after{opacity:1;background:#fff}
body.brzing,body.brzing *{cursor:col-resize!important;user-select:none}
#list.brfix{overflow-x:auto}#list.brfix .brl{width:max-content;min-width:100%}
/* moving list columns: the heading being dragged, and the line where it will go */
.brlh{position:relative}.brlh>.brhc:not(:first-child)>button,.brlh>.brhc:not(:first-child)>span{cursor:grab}
.brhc.brmv{opacity:.45}body.brmving,body.brmving *{cursor:grabbing!important;user-select:none}
.brdrop{position:absolute;top:-4px;bottom:2px;width:2px;margin-left:-1px;border-radius:1px;background:#fff;box-shadow:0 0 6px rgba(255,255,255,.6);pointer-events:none}
/* list view headings may take two lines (Critics rating, Aggregate rating) rather than be cut off */
.brlh{align-items:end}.brlh>.brhc>button,.brlh>.brhc>span{white-space:normal;line-height:1.25;text-overflow:clip}
/* a rating row set to show only what's rated: the rest of the row appears (as outlines, for text icons) on hover, focus or tap */
/* (hidden only while nothing is pointed at; never forced visible, so a hidden copy of the row stays hidden) */
:is(.card,.brl,.bl-logbox):not(:hover):not(.tap) .rt.rlo:not(:has(.rs:focus-visible)) .rs:not(.lit):not(.hl){visibility:hidden}
.rtx.rlo .rs:not(.lit):not(.hl){opacity:.85;filter:none}
/* music and video lists: move up / down */
.mpt .mth{color:#8a8a8a;padding:4px 3px;font-size:14px}.mpt .mth.on{color:#fad860}.mpt .mth.auto{opacity:.55}.mpt .mth:disabled{cursor:default;background:none}
.mvb{display:inline-flex}.mpt .mvb button{padding:4px 4px;font-size:13px;opacity:.75}.mpt .mvb button:hover{opacity:1}.mpt .mvb button:disabled{opacity:.2;cursor:default;background:none}
/* who added a link (unless you); 🔒 the admin's, which only the admin can change */
.mby{flex:none;font-size:11px;opacity:.6;max-width:7em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fr-sw small{font-size:.6em;opacity:.55;align-self:center}
