/* PlayStor Library v3 — catalog inspired by the supplied mockup. */
body.games-mode .pl-library-page{gap:16px;--pl-blue:#12c6ff;--pl-dark:#07192b;min-width:0}
body.games-mode .pl-library-page>.gx-page-head{
 position:relative;overflow:hidden;min-height:96px;display:flex;align-items:center;justify-content:space-between;
 background:radial-gradient(ellipse at 80% 0%,#0c3a6d9c,transparent 50%),linear-gradient(105deg,#06192a,#0b2946);
 border:0;border-radius:0;padding:19px 19px 12px;gap:22px}
body.games-mode .pl-library-page>.gx-page-head::before{content:'';pointer-events:none;position:absolute;right:0;top:-120px;width:375px;height:270px;
 background:url('/brand/consoles/playstation-evan-amos.webp') center/contain no-repeat;opacity:.08;filter:saturate(.4)}
body.games-mode .pl-library-page>.gx-page-head>div{position:relative;min-width:0}
body.games-mode .pl-library-page .gx-page-head p{color:#25ceff;font-weight:900;letter-spacing:.16em;font-size:10px;margin:0 0 6px}
body.games-mode .pl-library-page .gx-page-head h1{font-size:clamp(28px,3.4vw,42px);color:#f6fbff;margin:0;line-height:1.05;letter-spacing:-.045em}
body.games-mode .pl-library-page .gx-page-head .pl-subheading{display:block;color:#a1c4db;font-size:11px;line-height:1.5;margin:9px 0 0}
body.games-mode .pl-library-page .gx-page-head .gx-search{z-index:1;align-self:center;margin:0;
 border:1px solid #27618b;background:linear-gradient(135deg,#102f4c,#081c31);
 border-radius:11px;min-height:42px;max-width:340px}
body.games-mode .pl-library-page .gx-page-head .gx-search span{font-size:19px;color:#d9efff}
body.games-mode .pl-library-page .gx-page-head .gx-search input{font-size:12px}
body.games-mode .pl-library-page .gx-page-head .gx-search input:focus{outline:0}
body.games-mode .pl-library-page .pl-platform-filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));
 gap:10px;overflow:visible;padding:0!important;border:0!important;border-radius:0!important;background:none!important}
body.games-mode .pl-library-page .pl-platform-filters>button{
 min-width:0;min-height:49px;display:flex;align-items:center;justify-content:flex-start;gap:8px;
 padding:7px 10px;border:1px solid #21486a;border-radius:12px;background:linear-gradient(145deg,#0e2942,#071b2e);
 color:#dbeeff;white-space:nowrap;box-shadow:0 4px 13px #0004;transition:background .15s,box-shadow .15s,border-color .15s}
body.games-mode .pl-library-page .pl-platform-filters>button:is(:hover,.active){
 color:#fff;background:linear-gradient(140deg,#0b3c67,#0a2949);border-color:#19cfff;
 box-shadow:inset 0 0 0 1px #27c9ef4d,0 0 16px #02b5f96a}
.pl-platform-icon{flex:none;display:grid;place-items:center;width:39px;height:34px}
.pl-platform-icon svg{width:39px;height:34px;filter:drop-shadow(0 3px 5px #0007)}
.pl-filter-label{flex:1;text-align:left;font-size:12px;font-weight:850;min-width:0;overflow:hidden;text-overflow:ellipsis}
body.games-mode .pl-library-page .pl-platform-filters i{min-width:27px;text-align:center;margin-left:0;
 border-radius:18px;background:#153a58!important;color:#bad6ea;padding:6px 8px;font-size:10px;font-weight:750}
body.games-mode .pl-library-page .pl-platform-filters>button.active i{background:#114875!important;color:#dff7ff}
body.games-mode .pl-feature{position:relative;isolation:isolate;min-height:165px;overflow:hidden;
 display:flex;align-items:center;border:1px solid #117eb9;border-radius:12px;
 background:linear-gradient(110deg,#07142b 1%,#0a1e48 35%,#1b2867 70%,#082347 100%);
 box-shadow:0 11px 28px #0007,inset 0 0 20px #008fff20}
body.games-mode .pl-feature[hidden]{display:none}
.pl-feature::before{content:'';position:absolute;inset:0;z-index:-2;
 background:radial-gradient(ellipse at 72% 30%,#2679f498,transparent 45%),radial-gradient(circle at 52% 95%,#6418a779,transparent 45%);
 opacity:.7}
.pl-feature::after{content:'';position:absolute;inset:0;z-index:-1;background:
 linear-gradient(90deg,#050f24e6 0%,#06152edb 36%,#07163722 64%,#050d22bc 100%);pointer-events:none}
.pl-feature[data-theme=genesis]{background:linear-gradient(110deg,#08132a,#1a1144 40%,#411563 75%,#06172c)}
.pl-feature[data-theme=gba]{background:linear-gradient(110deg,#071f2a,#063e55 45%,#125678 80%,#0a1e38)}
.pl-feature[data-theme=snes]{background:linear-gradient(110deg,#0e1640,#291d50 45%,#365b9e 80%,#0b2246)}
.pl-feature[data-theme=arcade]{background:linear-gradient(110deg,#09172b,#371d55 60%,#0b3259)}
.pl-feature-content{z-index:2;position:relative;max-width:54%;padding:20px 22px}
.pl-feature-content small{font-size:10px;font-weight:900;letter-spacing:.1em;color:#ffd36a}
.pl-feature-content h2{font-size:clamp(19px,2.1vw,29px);font-weight:900;margin:7px 0 4px;
 color:#f4fbff;letter-spacing:-.04em;text-shadow:0 3px 9px #000c}
.pl-feature-content p{max-width:460px;font-size:11px;line-height:1.45;margin:0 0 12px;color:#b9cee2}
.pl-explore{background:linear-gradient(150deg,#0599ee,#0064a0);border:1px solid #33d5ff;border-radius:8px;color:white;
 font-size:11px;font-weight:900;padding:9px 13px;cursor:pointer;box-shadow:0 0 15px #08a6e867}
.pl-explore span{font-size:19px;margin-left:10px;vertical-align:middle;line-height:0}
.pl-explore:hover{filter:brightness(1.2)}
.pl-console-photo{position:absolute;z-index:-1;right:6%;top:-38%;height:177%;width:56%;object-fit:contain;
 object-position:center;filter:drop-shadow(0 15px 27px #0008) saturate(1.04);pointer-events:none}
.pl-feature[data-theme=gba] .pl-console-photo{top:-23%;height:160%;width:47%;right:11%}
.pl-feature-lights{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.pl-feature-lights i{position:absolute;width:22px;height:22px;border:3px solid #25c7fa;
 transform:rotate(45deg);opacity:.55;box-shadow:0 0 13px #14cafa5c}
.pl-feature-lights i:nth-child(1){left:43%;top:15%;border-color:#8045ef;width:12px;height:12px}
.pl-feature-lights i:nth-child(2){right:8%;top:13%;border-color:#f1488a;width:17px;height:17px}
.pl-feature-lights i:nth-child(3){left:66%;bottom:13%;border-color:#26ebff;width:21px;height:21px}
.pl-feature-lights i:nth-child(4){right:17%;bottom:25%;width:16px;height:16px;border-color:#7f59f7}
.pl-slide-dots{position:absolute;z-index:3;right:15px;bottom:12px;display:flex;gap:7px}
.pl-slide-dots button{height:8px;width:8px;padding:0;cursor:pointer;border:0;background:#38749e;border-radius:50%}
.pl-slide-dots button.active{background:#5be2ff;box-shadow:0 0 7px #47daff}
.pl-slide-dots button:hover{background:#b2efff}
body.games-mode .pl-library-page .pl-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 0 1px}
.pl-result-count{color:#8dcaec;font-size:11px;margin:0}
.pl-tool-actions{display:flex;align-items:center;gap:12px}
.pl-sort-label{display:flex;align-items:center;gap:5px;border:1px solid #2a6387;border-radius:9px;
 background:#081f35;min-height:37px;padding:0 7px;color:#bbd9e9;font-size:10px;white-space:nowrap}
.pl-sort-label span{padding:0 5px}
.pl-sort-label select{appearance:auto;min-width:118px;font-size:11px;color:#d6ecfb;border:0;background:#0b2945;padding:8px 4px;
 outline:0;cursor:pointer}
.pl-view-switch{display:flex;align-items:center;gap:4px;border:1px solid #25628d;border-radius:9px;padding:4px;background:#081d30}
.pl-view-switch button{width:37px;height:29px;border-radius:7px;border:0;background:transparent;color:#8aaec9;
 font-size:19px;cursor:pointer}
.pl-view-switch button.active{background:linear-gradient(#0d87c4,#065c8c);border:1px solid #21cafa;color:white;box-shadow:0 0 10px #0089caa8}
.pl-view-switch button:focus-visible,.pl-sort-label select:focus-visible,.pl-slide-dots button:focus-visible{
 outline:2px solid #55e6ff;outline-offset:2px}
body.games-mode .pl-library-page .gx-grid.pl-grid{grid-template-columns:repeat(5,minmax(0,1fr));
 gap:13px;align-items:stretch}
body.games-mode .pl-library-page .gx-grid.pl-grid .gx-card{max-width:none;min-width:0;display:flex;flex-direction:column;
 border:1px solid #215779;border-radius:12px;background:linear-gradient(180deg,#091e34,#051526);
 padding:0 0 8px;overflow:hidden;box-shadow:0 9px 23px #0006}
body.games-mode .pl-library-page .gx-card:hover{border-color:#19c7ff;box-shadow:0 0 17px #00a6fa4d;transform:translateY(-2px)}
body.games-mode .pl-library-page .gx-card>button[data-game-open]{text-align:left;min-width:0;color:inherit;flex:1;display:block}
body.games-mode .pl-library-page .gx-card .gx-cover{aspect-ratio:1/1.08;width:100%;border-radius:10px 10px 5px 5px;
 box-shadow:none;background:#132642;overflow:hidden}
body.games-mode .pl-library-page .gx-card .gx-cover img{object-fit:cover;object-position:center top}
body.games-mode .pl-library-page .gx-card strong{padding:0 9px;font-size:11px;margin:8px 0 0;line-height:1.3;
 height:30px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#edf8ff}
body.games-mode .pl-library-page .gx-card small{padding:0 9px;margin:4px 0 2px;min-height:16px;color:#7797b0;font-size:9px}
body.games-mode .pl-library-page .gx-card small b{padding:3px 6px;background:#482076;border-radius:5px;color:#c3a2ff}
body.games-mode .pl-library-page .gx-card .gx-heart{z-index:5;top:8px;right:8px;bottom:auto;background:#091a29cb;
 border:1px solid #397594;color:#cdeafb;width:29px;height:29px}
body.games-mode .pl-library-page .gx-card .gx-heart.on{color:#ff7895}
.pl-system-chip{position:absolute;bottom:7px;left:8px;z-index:2;font-size:9px;
 background:#451d89;color:#e7c6ff;border-radius:5px;padding:4px 7px;
 font-weight:900;box-shadow:0 3px 6px #0008}
.pl-system-chip[data-system=ps1]{background:#5b2457;color:#ffbad6}
.pl-system-chip[data-system=gen],.pl-system-chip[data-system=genesis]{background:#2a3878;color:#bcd9ff}
.pl-card-more{position:absolute;top:calc(min(100vw,260px) * .84);right:9px;z-index:4;background:#08182dba;
 border:1px solid #39769c;border-radius:8px;width:29px;height:27px;color:#e5f6ff;font-size:22px;line-height:14px;cursor:pointer}
.pl-card-more{top:auto;bottom:60px}
.pl-card-footer{margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) 33px;gap:8px;padding:7px 8px 0}
.pl-card-footer button{min-height:35px;border:1px solid #2c769e;border-radius:8px;background:#0c2c48;color:#e5f4ff;font-size:11px;
 cursor:pointer}
.pl-card-footer button.pl-play{font-weight:900;background:linear-gradient(135deg,#0b3f66,#09263e)}
.pl-card-footer button:hover{border-color:#28caff;background:#13558b;box-shadow:0 0 12px #02a4ee42}
.pl-card-footer button:disabled{opacity:.6;cursor:wait}
body.games-mode .pl-library-page .gx-grid.pl-list{display:grid;grid-template-columns:1fr;gap:9px}
body.games-mode .pl-library-page .pl-list .gx-card{display:flex;flex-direction:row;align-items:center;
 max-width:none;min-width:0;min-height:98px;border:1px solid #245779;border-radius:11px;background:#0a253e;
 padding:7px 10px;gap:8px}
body.games-mode .pl-library-page .pl-list .gx-card>button[data-game-open]{
 display:grid;grid-template-columns:75px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:0 12px;flex:1;min-width:0}
body.games-mode .pl-library-page .pl-list .gx-card .gx-cover{width:75px;height:83px;aspect-ratio:auto;grid-row:span 2;border-radius:7px}
body.games-mode .pl-library-page .pl-list .gx-card strong{height:auto;min-height:0;font-size:14px;align-self:end;margin:0;padding:0}
body.games-mode .pl-library-page .pl-list .gx-card small{padding:0;align-self:start}
body.games-mode .pl-library-page .pl-list .gx-card .gx-heart{position:static;flex:none;order:2}
body.games-mode .pl-library-page .pl-list .gx-card .pl-card-more{position:static;order:3}
body.games-mode .pl-library-page .pl-list .gx-card .pl-card-footer{margin:0;min-width:170px;order:1;padding:0}
body.games-mode .pl-library-page .pl-list .gx-card .pl-bookmark{display:none}
@media(min-width:1750px){
 body.games-mode .pl-library-page .gx-grid.pl-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:1370px){
 body.games-mode .pl-library-page .gx-grid.pl-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.games-mode .pl-library-page .pl-platform-filters{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}
 .pl-feature-content{max-width:62%}
}
@media(max-width:1100px){
 body.games-mode .pl-library-page .gx-grid.pl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.games-mode .pl-library-page .pl-platform-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:850px){
 body.games-mode .pl-library-page>.gx-page-head{padding:17px 10px;min-height:95px}
 body.games-mode .pl-library-page .gx-grid.pl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.games-mode .pl-library-page .pl-feature{min-height:165px}
}
@media(max-width:560px){
 body.games-mode .pl-library-page>.gx-page-head{display:flex;flex-direction:column;align-items:stretch;gap:14px}
 body.games-mode .pl-library-page .gx-page-head .gx-search{width:100%;max-width:none}
 body.games-mode .pl-library-page .pl-platform-filters{display:flex!important;overflow-x:auto;padding:3px 0 7px!important;
  scroll-snap-type:x mandatory;scrollbar-width:thin}
 body.games-mode .pl-library-page .pl-platform-filters>button{min-width:116px;flex:0 0 auto;scroll-snap-align:start}
 .pl-platform-icon,.pl-platform-icon svg{width:30px;height:30px}
 .pl-feature-content{max-width:68%;padding:16px}
 .pl-feature-content h2{font-size:19px}
 .pl-feature-content p{font-size:10px}
 .pl-console-photo{right:-16%;width:80%;height:155%;top:-13%;opacity:.85}
 .pl-feature::after{background:linear-gradient(90deg,#07172bea,#08162fbe 53%,#0a174646 100%)}
 .pl-tool-actions{gap:6px}
 .pl-sort-label{padding:0 4px}
 .pl-sort-label span{display:none}
 .pl-sort-label select{min-width:110px}
 .pl-result-count{font-size:10px}
 body.games-mode .pl-library-page .gx-grid.pl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.games-mode .pl-library-page .gx-grid.pl-grid .gx-card{min-width:0}
 body.games-mode .pl-library-page .pl-list .gx-card .pl-card-footer{min-width:87px;grid-template-columns:minmax(0,1fr)}
 body.games-mode .pl-library-page .pl-list .gx-card .pl-card-more,body.games-mode .pl-library-page .pl-list .gx-card .gx-heart{display:none}
 body.games-mode .pl-library-page .pl-list .gx-card strong{font-size:11px}
 body.games-mode .pl-library-page .pl-list .gx-card>button[data-game-open]{grid-template-columns:60px minmax(0,1fr)}
 body.games-mode .pl-library-page .pl-list .gx-card .gx-cover{width:60px;height:70px}
}
@media(prefers-reduced-motion:reduce){
 body.games-mode .pl-library-page .gx-card,body.games-mode .pl-library-page .pl-platform-filters>button{transition:none}
}

body.games-mode .pl-library-page .gx-grid.pl-grid .gx-card{container-type:inline-size}
body.games-mode .pl-library-page .gx-grid.pl-grid .pl-card-more{top:calc(108cqw - 36px);bottom:auto}

.pl-platform-icon .pl-filter-console{width:41px;height:33px;max-width:100%;object-fit:contain;filter:drop-shadow(0 1px 4px #68bfff88)}
.pl-carousel-controls{position:absolute;top:50%;left:10px;right:10px;transform:translateY(-50%);
 display:flex;align-items:center;justify-content:space-between;pointer-events:none;z-index:6}
.pl-carousel-controls button{pointer-events:auto;display:grid;place-items:center;cursor:pointer;
 height:34px;width:34px;padding:0;border:1px solid #2589b6;border-radius:50%;
 background:#082238c9;color:#e4fbff;font-size:27px;line-height:1;box-shadow:0 0 12px #002a5180}
.pl-carousel-controls button:hover,.pl-carousel-controls button:focus-visible{border-color:#3addff;background:#075f8d}
.pl-carousel-controls .pl-next{margin-left:auto}
.pl-feature-content{padding-left:48px}
@media(max-width:560px){.pl-carousel-controls{left:5px;right:5px}.pl-carousel-controls button{height:27px;width:27px;font-size:21px}.pl-feature-content{padding-left:29px;padding-right:10px}.pl-slide-dots{bottom:5px;right:10px}}
