/* PandaGames NOIR GOLD — automatically updated guides + shared brandmark.
 * Applies across the homepage, sidebar, all category heroes and search hero.
 * Styling is scoped; no game article bodies are changed. */

/* Shared archive/search watermark. Replaces the old decorative pale circle. */
body.category .pg-archive-hero,
body.search .pg-search-hero {position:relative;isolation:isolate}
body.category .pg-archive-page .pg-archive-hero::after{
 width:auto!important;height:auto!important;border-radius:0!important;
 background:none!important;box-shadow:none!important;
}
body.search .pg-search-hero::after{
 content:""!important;width:0!important;height:0!important;
 background:none!important;border-radius:0!important;
}
body.category .pg-archive-hero .pg-archive-brandmark,
body.search .pg-search-hero .pg-archive-brandmark {
 position:absolute;top:28px;right:64px;
 z-index:0;display:grid;place-items:center;
 width:218px;height:218px;max-width:40%;
 border-radius:50%;
 pointer-events:none;overflow:hidden;
 background:radial-gradient(circle,rgba(222,195,140,.055) 0%,rgba(197,168,115,.035) 58%,transparent 71%);
 border:1px solid rgba(226,198,144,.06);
 box-shadow:inset 0 0 0 9px rgba(214,190,142,.018);
 opacity:.96;
}
body.category .pg-archive-brandmark img,
body.search .pg-archive-brandmark img {
 display:block;width:96%;height:96%;
 object-fit:contain;border-radius:50%;
 opacity:.23;
 filter:grayscale(1) sepia(.78) saturate(.6) brightness(1.62) contrast(.9);
 mix-blend-mode:screen;
 -webkit-mask-image:radial-gradient(circle,#000 0%,#000 59%,transparent 79%);
 mask-image:radial-gradient(circle,#000 0%,#000 59%,transparent 79%);
}
body.category .pg-archive-hero-main,
body.search .pg-search-hero > :not(.pg-archive-brandmark) {
 position:relative;z-index:1;
}
body.category .pg-archive-count{position:relative;z-index:2}
@media(max-width:800px) {
 body.category .pg-archive-hero .pg-archive-brandmark,
 body.search .pg-search-hero .pg-archive-brandmark {
  right:20px;top:42px;width:155px;height:155px;opacity:.7;
 }
}
@media(max-width:620px) {
 body.category .pg-archive-hero .pg-archive-brandmark,
 body.search .pg-search-hero .pg-archive-brandmark {
  right:8px;top:49px;width:115px;height:115px;max-width:32%;
  opacity:.5;
 }
 body.category .pg-archive-brandmark img,
 body.search .pg-archive-brandmark img {opacity:.18}
}

/* Homepage, immediately following the popular rankings. */
.pgb-home[data-pg-variant="17"] .pgb-auto-guide-section{
 position:relative;margin-top:4px!important;padding-top:20px!important;
 border-top:1px solid #e2d9c8!important;
}
.pgb-home[data-pg-variant="17"] .pgb-auto-guide-section .pgb-cards{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:15px!important;
}
.pgb-home[data-pg-variant="17"] .pgb-auto-guide-section .pgb-card{
 min-width:0;
}
.pgb-home[data-pg-variant="17"] .pgb-auto-guide-section .pgb-card-content{
 padding:16px!important;
 min-height:150px;
}
.pgb-home[data-pg-variant="17"] .pgb-auto-guide-section .pgb-card-content h3{
 font-size:clamp(13px,1.2vw,16px)!important;
 line-height:1.65!important;
}
@media(max-width:950px) {
 .pgb-home[data-pg-variant="17"] .pgb-auto-guide-section .pgb-cards{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:440px) {
 .pgb-home[data-pg-variant="17"] .pgb-auto-guide-section .pgb-cards{
  grid-template-columns:1fr!important;
 }
}

/* Latest four auto-updated posts directly beneath the sidebar's genre shortcuts. */
body:not(.home) #sidebar .pg-sidebar-auto-guides{
 position:relative;overflow:hidden;
 margin:17px 0 23px;padding:20px 17px 17px;
 border:1px solid #88714d!important;border-radius:5px;
 background:linear-gradient(145deg,#212726,#1b2221 74%,#2e2d26)!important;
 color:#f6f0e5!important;
 box-shadow:0 12px 25px rgba(31,27,20,.10);
}
body:not(.home) #sidebar .pg-sidebar-auto-guides:before{
 content:"";position:absolute;top:0;left:20px;width:66px;height:2px;
 background:#c8ab73;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-heading>span{
 display:block;margin-bottom:9px;
 color:#d5bb86!important;
 font:800 10px/1.6 Georgia,"Times New Roman",serif;letter-spacing:.16em;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-heading h2{
 margin:0 0 7px!important;padding:0!important;
 color:#f2dfb6!important;border:0!important;background:none!important;
 font-size:19px!important;font-weight:900!important;line-height:1.4!important;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-heading p{
 font-size:11px!important;line-height:1.7!important;
 margin:0 0 14px!important;color:#d0ccc0!important;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-list{
 list-style:none!important;margin:0!important;padding:0!important;
 display:grid;gap:8px;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-list li{
 list-style:none!important;margin:0!important;padding:0!important;
 border-bottom:1px solid rgba(204,174,120,.14);
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-list li:last-child{border-bottom:none}
body:not(.home) #sidebar .pg-sidebar-auto-guides-list li>a{
 display:flex;gap:11px;align-items:center;
 min-height:70px;padding:7px 0!important;
 text-decoration:none!important;color:#f9f4e9!important;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-thumb{
 display:grid;place-items:center;flex:0 0 61px;width:61px;height:61px;
 overflow:hidden;border-radius:4px;
 border:1px solid rgba(213,179,109,.48);
 background:#303630;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-thumb img{
 display:block;width:100%;height:100%;object-fit:cover;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-thumb-fallback{
 font:900 18px/1 Georgia,serif;letter-spacing:.03em;color:#d4b276;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-copy{
 display:flex;flex:1;flex-direction:column;gap:5px;min-width:0;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-copy small{
 font:700 9px/1.3 Georgia,serif;letter-spacing:.12em;
 color:#cba768!important;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-copy strong{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 overflow:hidden;line-height:1.55;
 color:#faf4e6!important;font-size:12px!important;font-weight:800!important;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-arrow{
 color:#dab77e!important;font-size:15px!important;margin-left:auto;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-list a:hover strong{
 color:#f2cf92!important;
}
body:not(.home) #sidebar .pg-sidebar-auto-guides-more{
 display:inline-flex;gap:14px;align-items:center;
 border-bottom:1px solid rgba(227,194,127,.55);
 padding-bottom:4px;margin-top:15px;
 color:#e6c78a!important;font-size:12px!important;font-weight:900!important;
 text-decoration:none!important;
}
