/* Full injected theme CSS - pixel-perfect styles (mobile-first) */
/* =========================
       Variables & base
       ========================= */
    :root{
      --bg:#ffffff;
      --muted:#6b6b6b;
      --accent:#111;
      --line:#eaeaea;
      --card-radius:10px;
      --container-max:1200px;
      --gap:18px;
      --score-high:#36b37e;
      --score-mid:#f0c94c;
      --score-low:#f2a94b;
      --shadow: 0 8px 24px rgba(0,0,0,0.06);
      --brand:#f8b334;
      --tap:48px;
      --focus: 3px solid rgba(59,130,246,0.12);
    }

    *{box-sizing:border-box}
    html,body{height:100%;background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
    body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:var(--accent);line-height:1.35}
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}

    /* prevent horizontal overflow */
    html,body{overflow-x:hidden}

    /* =========================
       Header: desktop + mobile
       ========================= */
    .site-header{
      position:sticky;top:0;z-index:100;background:#0b0b0b;color:#fff;border-bottom:1px solid rgba(255,255,255,0.03);
      box-shadow:0 2px 6px rgba(0,0,0,0.06);
    }
    .header-inner{
      max-width:var(--container-max);
      margin:0 auto;
      display:flex;
      align-items:center;
      gap:12px;
      padding:10px 16px;
    }

    /* left area: logo + (desktop) mini branding */
    .header-left{display:flex;align-items:center;gap:12px;flex:0 0 auto}
    .brand{display:flex;align-items:center;gap:12px}
    .brand .logo{
      width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,#f6c85f,#ffb03b);
      display:grid;place-items:center;font-weight:800;color:#111;font-size:18px;
    }
    .brand .title{font-weight:800;color:#fff;font-size:18px}

    /* main nav (desktop) */
    .main-nav{
      display:none; /* mobile-first hidden; shown on wide screens */
      gap:22px;margin-left:12px;align-items:center;font-weight:600;color:#e6e6e6;
      flex:0 0 auto;
    }
    .main-nav a{color:#fff;padding:6px 0}
    .main-nav a:hover{color:#fff}

    /* center area contains search (centered on desktop) */
    .header-center{
      display:flex;
      align-items:center;
      justify-content:center;
      flex:1 1 auto;
      min-width:0;
      padding:0 12px;
    }
    .search-full form div{
      width:100%;
      max-width:520px;
      display:none; /* only show on desktop >=920 */
      align-items:center;
      background:#fff;
      border-radius:6px;
      overflow:hidden;
      box-shadow:0 6px 18px rgba(0,0,0,0.12);
    }
    .search-full input{
      border:0;padding:10px 12px;width:100%;outline:0;font-size:14px;
    }
    .search-full button{
      border:0;padding:10px 12px;background:transparent;cursor:pointer;color:#111;font-weight:700;
    }

    /* right header: login/register + hamburger (mobile) */
    .header-right{display:flex;align-items:center;gap:10px;flex:0 0 auto}
    .auth{display:flex;gap:8px;align-items:center}
    .login{background:transparent;border:1px solid rgba(255,255,255,0.06);color:#fff;padding:8px 10px;border-radius:8px;cursor:pointer}
    .register{background:var(--brand);padding:8px 12px;border-radius:8px;font-weight:700;color:#111;border:none;cursor:pointer}
    .hamburger{
      display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:rgba(255,255,255,0.04);border:none;color:#fff;font-size:20px;
    }
    .hamburger:focus{outline:var(--focus)}

    /* drawer (mobile) */
    .drawer-root{display:flex;position:fixed;inset:0;z-index:200;pointer-events:none}
    .drawer-panel{
      transform:translateX(-110%);transition:transform .28s cubic-bezier(.2,.9,.3,1);
      background:#fff;color:#111;width:86%;max-width:360px;height:100vh;box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;
    }
    .drawer-root.open{pointer-events:auto}
    .drawer-root.open .drawer-panel{transform:translateX(0)}
    .drawer-close{margin-left:auto;background:#f3f3f3;padding:8px;border-radius:8px;border:none;cursor:pointer}

    .drawer-nav{display:flex;flex-direction:column;gap:8px;margin-top:18px}
    .drawer-nav a{padding:12px 8px;border-radius:6px;color:#111;font-weight:700}

    .drawer-actions{margin-top:auto;display:flex;gap:8px;flex-direction:column}

    .drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.36);opacity:0;pointer-events:none;transition:opacity .25s;z-index:199}
    .drawer-overlay.show{opacity:1;pointer-events:auto}

    /* =========================
       Page container & hero
       ========================= */
    .container{max-width:var(--container-max);margin:0 auto;padding:16px}
    .hero{display:flex;gap:14px;align-items:center;background:linear-gradient(90deg,#31b37b,#f39c3b);color:#fff;padding:18px;border-radius:12px;box-shadow:var(--shadow)}
    .hero .left{flex:1}
    .hero h1{margin:0;font-size:18px}
    .hero p{margin:.5rem 0 0;color:rgba(255,255,255,0.95);font-size:13px}
    .hero .cta{margin-top:10px;background:#fff;color:#111;padding:10px 12px;border-radius:8px;border:none;font-weight:700;cursor:pointer}
    .hero .right{min-width:110px;text-align:center;background:rgba(255,255,255,0.08);padding:10px;border-radius:8px}

    /* =========================
       Sections & carousel
       ========================= */
    .section{margin-top:18px;margin-bottom:18px}
    .section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
    .title{font-size:16px;font-weight:700}
    .sub{font-size:13px;color:var(--muted);margin-top:6px}

    .carousel-wrap{position:relative;padding-top:8px}
    .carousel{display:flex;gap:12px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
    .carousel::-webkit-scrollbar{height:8px}
    .carousel::-webkit-scrollbar-thumb{background:#eee;border-radius:999px}
    .carousel:focus{outline:var(--focus)}

    .arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:1px solid rgba(0,0,0,0.08);background:#fff;display:grid;place-items:center;cursor:pointer;z-index:5;box-shadow:var(--shadow)}
    .arrow.left{left:-10px}
    .arrow.right{right:-10px}
    .arrow:focus{outline:var(--focus)}

    /* cards */
    .card{flex:0 0 160px;border-radius:10px;background:#fff;box-shadow:var(--shadow);overflow:hidden;scroll-snap-align:start;display:flex;flex-direction:column}
    .poster{width:100%;height:96px;object-fit:cover;display:block}
    .card-body{padding:10px;display:flex;flex-direction:column;gap:8px;flex:1}
    .badge{font-size:11px;padding:6px 8px;border-radius:8px;background:#f4f4f4;color:var(--muted);display:inline-block}
    .title-sm,.title-sm a{font-weight:700;font-size:14px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
    .meta{font-size:12px;color:var(--muted)}
    .metascore{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
    .score-box{min-width:44px;min-height:44px;border-radius:8px;display:grid;place-items:center;font-weight:800;font-size:15px;color:#fff}
    .score-desc{font-size:12px;color:var(--muted);margin-bottom:6px}
    .scorebar{height:6px;width:100%;background:#f1f1f1;border-radius:6px;overflow:hidden}
    .scorebar>i{display:block;height:100%;width:40%;background:var(--score-high)}

    /* editorial */
    .spot-card{flex:0 0 180px;background:#fff;border-radius:10px;padding:8px;box-shadow:var(--shadow);scroll-snap-align:start}
    .spot-poster{width:100%;height:104px;object-fit:cover;border-radius:6px}
    .spot-title{font-weight:700;font-size:13px;margin-top:8px}

    /* videos */
    .videos-grid{display:grid;grid-template-columns:1fr 220px;gap:12px;align-items:start}
    .video-main{background:#000;border-radius:8px;overflow:hidden}
    .video-main img{width:100%;height:220px;object-fit:cover;display:block}
    .video-side{display:flex;flex-direction:column;gap:10px}
    .video-thumb{display:flex;gap:10px;align-items:center;background:#fff;padding:8px;border-radius:6px;box-shadow:var(--shadow)}
    .video-thumb img{width:72px;height:48px;object-fit:cover;border-radius:6px}

    /* news grid */
    .news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
    .news-item{background:#fff;padding:12px;border-radius:8px;box-shadow:var(--shadow)}

    /* footer (we'll style columns later) */
    .site-footer{margin-top:28px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:14px}

    /* helpers */
    .muted{color:var(--muted)}
    .center{display:flex;align-items:center;justify-content:center}
    .btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:8px 12px;border-radius:8px;border:none;cursor:pointer}

    /* =========================
       Desktop / tablet breakpoints
       ========================= */
    @media (min-width:640px){
      .container{padding:20px}
      .card{flex:0 0 200px}
      .poster{height:120px}
      .spot-card{flex:0 0 200px}
      .videos-grid{grid-template-columns:1fr 260px}
      .video-main img{height:260px}
      .news-grid{grid-template-columns:repeat(2,1fr)}
    }

    @media (min-width:920px){
      .container{padding:28px}
      .card{flex:0 0 260px}
      .poster{height:140px}
      .spot-card{flex:0 0 220px}
      .videos-grid{grid-template-columns:1fr 320px}
      .video-main img{height:320px}
      .news-grid{grid-template-columns:repeat(4,1fr)}

      /* desktop visibility rules */
      .main-nav{display:flex}
      .hamburger{display:none}
      .drawer-root{display:none}
      .search-full form div {display:flex}
    }

    /* =========================
       Mobile polish tweaks
       ========================= */
    @media (max-width:820px){
      .hero{flex-direction:column;align-items:flex-start;padding:16px}
      .hero h1{font-size:18px}
      .hero .right{width:100%;height:80px;margin-top:8px}
      .header .register{display:none}
    }
    @media (max-width:640px){
      .card{flex:0 0 150px}
      .poster{height:100px}
      .score-box{min-width:40px;min-height:40px;font-size:14px}
      .arrow{display:none}
      .news-grid{grid-template-columns:1fr}
      .container{padding:12px}
      .title{font-size:15px}
      .videos-grid{grid-template-columns:1fr}
      .video-main img{height:200px}
      .video-side{display:flex;flex-direction:row;overflow-x:auto;padding-top:6px}
    }

    /* focus states */
    a:focus, button:focus, .card:focus { outline: none; box-shadow: var(--focus) }

    /* =========================
       Footer columns (Option C - Metacritic-style)
       ========================= */
    .footer-cols{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:20px;
      margin-top:18px;
		justify-items: center;  /* <<< THIS CENTERS EACH COLUMN */
  text-align: center;   
    }
    .footer-col h4{margin:0 0 12px 0;font-size:15px}
    .footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
    .footer-col a{color:var(--muted);font-size:14px}
    .footer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:18px;border-top:1px solid var(--line);padding-top:12px;font-size:13px;color:var(--muted)}

    @media (max-width:900px){
      .footer-cols{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:520px){
      .footer-cols{grid-template-columns:1fr}
      .footer-bottom{flex-direction:column;gap:8px;align-items:flex-start}
    }



/* single-game styles (basic, adapt to your theme variables) */
/* ===========================================
   GLOBAL RESPONSIVE WRAPPER
=========================================== */
.single-game {
  max-width: 1200px;
  margin: auto;
  padding: 16px;
  font-family: Inter, sans-serif;
}

/* FLEX WRAPPER */
.game-top {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

/* SIDEBAR */
.game-top aside {
  width: 360px;
  flex-shrink: 0;
}

/* HERO IMAGE */
.game-hero img, 
.game-hero div > img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

/* CRITIC SCROLLER */
.critic-teaser-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.critic-teaser {
  scroll-snap-align: start;
  min-width: 260px;
}

/* USER REVIEWS */
.user-review-item {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
}

/* RELATED GAMES */
.related-games {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
}

/* RELATED NEWS */
.related-news {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
}

/* DETAILS AREA */
.details-grid {
  display: flex;
  gap: 20px;
}
.details-grid > div {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* SCORE BOXES */
.score-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border-radius: 8px;
  color: #fff;
}

/* MOBILE BREAKPOINT */
@media (max-width: 900px) {

  .game-top {
    flex-direction: column;
  }

  .game-top aside {
    width: 100%;
    order: 10;
  }

  .critic-teaser {
    flex: 0 0 240px;
  }

  /* Hero shrink */
  .game-hero div img {
    max-height: 260px;
  }

  .details-grid {
    flex-direction: column;
  }

  .details-grid > div {
    width: 100%;
  }
}

/* SMALL MOBILE */
@media (max-width: 540px) {

  .critic-teaser {
    min-width: 200px;
  }

  .score-box {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .game-hero div img {
    max-height: 200px;
  }
}


/* Section Title */
.section-title {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 700;
}

/* Wrapper with arrows */
.critic-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

/* Desktop Arrows */
.critic-arrow {
  display: none;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 1px solid #ddd;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.critic-arrow.left { left: -20px; }
.critic-arrow.right { right: -20px; }

/* Slider container */
.critic-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.critic-slider::-webkit-scrollbar { display:none; }

/* Individual card */
.critic-card {
  flex: 0 0 280px;
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  scroll-snap-align: start;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Content */
.critic-left {
  width: 70%;
}
.critic-title {
  font-weight: 700;
  font-size: 16px;
}
.critic-outlet {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}
.critic-excerpt {
  font-size: 13px;
  margin-bottom: 8px;
}
.critic-link {
  font-weight: 600;
  font-size: 13px;
 /* color: #0077FF;*/
}

/* Score badge */
.critic-score {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.critic-score.high { background:#36b37e; }
.critic-score.mid  { background:#f0c94c; color:#111; }
.critic-score.low  { background:#e67e22; }

/* Show arrows only on desktop */
@media (min-width: 900px) {
  .critic-arrow { display:flex; }
}

/* Mobile adjustments */
/* MOBILE FIX — place AFTER other CSS (so it overrides earlier rules) */
@media (max-width: 600px) {
  /* make sure selector matches exactly your markup */
  .critic-slider .critic-card,
  .critic-card {
    /* prefer percent widths for responsive cards */
    flex: 0 0 85% !important;
    -webkit-flex: 0 0 85% !important;
    max-width: 320px !important;
   
    box-sizing: border-box;
  }

  /* if you want a little padding at ends so first/last card aren't flush */
  .critic-slider {
    padding-left: 12px;
    padding-right: 12px;
  }
}


.universal-archive { padding-bottom:60px; }
.h2{font-size:22px;font-weight:800;margin:16px 0}
.carousel { scroll-behavior: smooth; }
.u-card img { transition: transform .25s ease; }
.u-card:hover img { transform: scale(1.03); }

.img-cover {
    width: 100%;
    height: 250px; /* set height you want */
    object-fit: cover;
    object-position: center;
    display: block;
}





.s-icon {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: 0.2s ease;
}

.s-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.s-icon:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.footer-col .title a{ font-size:24px;}

[id] {
  scroll-margin-top: 70px; /* adjust to your sticky header height */
}

