/* Gamerz Guild visual system 2.0 — intentionally loaded after all legacy theme styles. */
:root {
  --bg: #070711;
  --panel: #0e0d19;
  --panel2: #131122;
  --line: #443552;
  --text: #fbfaff;
  --muted: #b7b1c8;
  --orange: #ffad43;
  --pink: #ff42ab;
  --purple: #a45cff;
  --cyan: #2bd8ff;
  --radius: 14px;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--bg); }
body {
  background:
    radial-gradient(circle at 5% 8%, rgba(116, 34, 173, .22), transparent 31rem),
    radial-gradient(circle at 93% 15%, rgba(0, 164, 214, .15), transparent 34rem),
    #070711;
  color: var(--text);
  font-family: var(--body);
  font-weight: 450;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .btn, button, .button { font-family: var(--display); }
h1, h2, h3, h4 { font-weight: 850; letter-spacing: -.035em; }
.shell { width: min(1340px, calc(100% - 48px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 16, .9);
  border-bottom: 1px solid rgba(147, 90, 207, .42);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(135%);
}
.nav { height: 82px; gap: 34px; }
.brand img { width: 118px; height: 64px; object-fit: contain; }
.brand-copy { display: none; }
.nav-menu { gap: clamp(18px, 2.2vw, 34px); }
.nav-menu a {
  color: #f2eff9;
  font-size: 15px;
  font-weight: 720;
  white-space: nowrap;
  transition: color .18s ease, text-shadow .18s ease;
}
.nav-menu a:hover, .current-menu-item > a {
  color: #fff;
  text-shadow: 0 0 18px rgba(229, 80, 255, .62);
}
.nav-actions { gap: 14px; }
.nav-actions .btn { min-height: 44px; border-color: #76508f; padding-inline: 22px; }
.gg-nav-alert {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--orange);
  text-decoration: none;
  background: rgba(12, 11, 23, .9);
  border: 1px solid rgba(255, 174, 70, .35);
  border-radius: 10px;
}
.gg-nav-alert::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff45ac;
  box-shadow: 0 0 10px #ff45ac;
}
.avatar-link { border-color: #b355e8; background: #11101d; }

.btn, .button, .wp-element-button, input[type="submit"] {
  min-height: 46px;
  border-radius: 10px;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary, input[type="submit"] {
  background: linear-gradient(105deg, #ff9f4d 0%, #ff4b8f 48%, #f000bd 100%);
  box-shadow: 0 9px 32px rgba(255, 45, 166, .21);
}
.btn-ghost { background: rgba(15, 15, 32, .78); border-color: #59466f; }
.btn:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(196, 66, 255, .2); }

/* Shared surface language across the existing site without changing page structure. */
:where(.card, .panel, .filterbar, .detail-cover, .sidebar-panel, .gameplay-panel, .member-card, .profile-hero, .studio-form, .studio-aside, .dashboard-nav, .dash-stat, .notice) {
  background: linear-gradient(145deg, rgba(20, 17, 34, .96), rgba(9, 9, 19, .96));
  border-color: rgba(115, 84, 139, .58);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .025);
}
:where(.card, .panel, .member-card, .dash-stat) { border-radius: var(--radius); }
:where(.card, .member-card, .gg-news-card, .trg-gear-card) {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
:where(.card, .member-card, .gg-news-card, .trg-gear-card):hover {
  transform: translateY(-3px);
  border-color: rgba(210, 83, 255, .7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3), 0 0 28px rgba(197, 61, 255, .09);
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], select, textarea, .field {
  color-scheme: dark;
  background: rgba(8, 8, 18, .94);
  border-color: rgba(101, 78, 126, .7);
}
input:focus, select:focus, textarea:focus {
  border-color: #b15bf3;
  box-shadow: 0 0 0 3px rgba(168, 69, 240, .17), 0 0 24px rgba(185, 62, 255, .1);
}
.site-footer { background: #06060e; border-color: rgba(114, 74, 145, .36); }
.page-hero, .detail-hero { position: relative; }
.page-hero::before, .detail-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 36rem;
  height: 24rem;
  top: -8rem;
  left: -14rem;
  background: radial-gradient(circle, rgba(149, 44, 206, .18), transparent 68%);
  pointer-events: none;
}

/* Homepage */
.home main { overflow: hidden; }
.gg-home-hero {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid rgba(115, 73, 150, .42);
  background:
    radial-gradient(circle at 13% 42%, rgba(127, 34, 187, .25), transparent 27rem),
    radial-gradient(circle at 60% 50%, rgba(0, 131, 196, .18), transparent 30rem),
    linear-gradient(105deg, rgba(8, 7, 19, .98), rgba(7, 9, 24, .95));
}
.gg-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(101, 28, 164, .05) 48%, transparent);
}
.gg-home-hero-grid {
  min-height: 498px;
  padding-block: 44px 42px;
  display: grid;
  grid-template-columns: minmax(400px, .88fr) minmax(620px, 1.42fr);
  gap: clamp(42px, 5vw, 76px);
  align-items: center;
}
.gg-home-hero-grid > *, .gg-home-intro { min-width: 0; }
.gg-home-intro .eyebrow { color: #ffbc30; }
.gg-home-intro h1 {
  max-width: 670px;
  margin: 14px 0 14px;
  font-size: clamp(46px, 4.4vw, 72px);
  line-height: .97;
  letter-spacing: -.058em;
}
.gg-home-intro .gradient-text {
  background-image: linear-gradient(94deg, #ffb64a 0%, #ff638f 39%, #ef42d4 72%, #a869ff 100%);
}
.gg-home-intro p {
  max-width: 600px;
  margin: 0;
  color: #c5bed8;
  font-size: 18px;
  line-height: 1.45;
}
.gg-home-actions { display: flex; gap: 14px; margin-top: 26px; }
.gg-home-actions .btn { padding: 13px 25px; }
.gg-home-feature-grid {
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 12px;
  min-width: 0;
}
.gg-home-feature, .gg-home-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: white;
  text-decoration: none;
  background: #0e0c18;
  border: 1px solid rgba(215, 88, 249, .72);
  border-radius: 13px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .34), 0 0 24px rgba(161, 51, 224, .08);
  transform: translateZ(0);
  min-width: 0;
  max-width: 100%;
}
.gg-home-feature { height: 405px; }
.gg-home-feature img, .gg-home-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}
.gg-home-feature:hover img, .gg-home-tile:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gg-home-feature-shade, .gg-home-tile > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 3, 10, .22) 58%, rgba(5, 4, 12, .97) 100%);
  pointer-events: none;
}
.gg-home-feature-copy {
  position: absolute;
  inset: auto 18px 18px;
  min-width: 0;
  max-width: calc(100% - 36px);
}
.gg-home-feature-copy small {
  display: table;
  margin-bottom: 9px;
  padding: 5px 10px;
  color: #ffc436;
  background: rgba(15, 11, 22, .88);
  border: 1px solid rgba(255, 177, 38, .72);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gg-home-feature-gear .gg-home-feature-copy small { color: #e190ff; border-color: rgba(209, 89, 255, .67); }
.gg-home-feature-copy strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 850;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gg-home-fallback { background: linear-gradient(135deg, #2b183e, #0b2840); }

.gg-home-discovery {
  padding: 34px 0 48px;
  background:
    radial-gradient(circle at 13% 0%, rgba(77, 24, 125, .13), transparent 26rem),
    linear-gradient(180deg, #090916, #070711);
}
.gg-home-discovery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 38px;
}
.gg-home-gear-picks {
  padding-left: 38px;
  border-left: 1px solid rgba(110, 81, 137, .58);
}
.gg-home-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.gg-home-block-head h2 { font-size: clamp(25px, 2.2vw, 32px); letter-spacing: -.035em; }
.gg-home-block-head a { color: #eb6bff; font-size: 13px; font-weight: 760; text-decoration: none; white-space: nowrap; }
.gg-home-news-grid, .gg-home-gear-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gg-home-tile { height: 215px; border-color: rgba(122, 90, 151, .8); }
.gg-home-tile strong {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  overflow: hidden;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gg-home-feature:focus-visible, .gg-home-tile:focus-visible {
  outline: 3px solid #e85aff;
  outline-offset: 3px;
}

.gg-home-activity {
  position: relative;
  padding: 42px 0 72px;
  background:
    radial-gradient(circle at 92% 32%, rgba(0, 179, 219, .09), transparent 25rem),
    radial-gradient(circle at 10% 80%, rgba(166, 49, 226, .1), transparent 25rem),
    #070711;
}
.gg-home-activity::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(153, 77, 197, .55), transparent);
}
.gg-home-activity-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.gg-home-activity-head h2 { margin: 8px 0 5px; font-size: clamp(29px, 2.7vw, 38px); }
.gg-home-activity-head p { margin: 0; color: var(--muted); }
.gg-home-activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.gg-home-activity-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 17, 34, .96), rgba(8, 8, 18, .98));
  border: 1px solid rgba(105, 77, 128, .72);
  border-radius: 14px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gg-home-activity-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(195, 55, 255, .16);
  filter: blur(24px);
  pointer-events: none;
}
.gg-home-activity-card:hover { transform: translateY(-3px); border-color: rgba(215, 84, 255, .75); box-shadow: 0 20px 50px rgba(0, 0, 0, .3), 0 0 28px rgba(196, 57, 255, .08); }
.gg-home-activity-card header, .gg-home-activity-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gg-home-activity-user { display: flex; min-width: 0; align-items: center; gap: 9px; color: #f6f2fb; text-decoration: none; }
.gg-home-activity-user > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #824fea, #f044b2);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}
.gg-home-activity-user b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.gg-home-activity-card time { flex: 0 0 auto; color: #918ba1; font-size: 11px; }
.gg-home-activity-copy { display: block; min-width: 0; margin: 18px 0; color: inherit; text-decoration: none; }
.gg-home-activity-copy small { display: block; overflow: hidden; margin-bottom: 7px; color: #d56bf2; font-size: 11px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.gg-home-activity-copy strong { display: -webkit-box; min-height: 46px; overflow: hidden; font-size: 19px; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gg-home-activity-copy > span { display: block; min-height: 42px; margin-top: 9px; overflow: hidden; color: #aaa4b8; font-size: 13px; line-height: 1.55; }
.gg-home-activity-card footer { padding-top: 14px; border-top: 1px solid rgba(90, 67, 108, .56); }
.gg-home-activity-card footer b { color: #ffbd3a; font-size: 18px; }
.gg-home-activity-card footer b small { color: #928b9e; font-size: 10px; }
.gg-home-activity-card footer > span { color: #ed72ff; font-size: 12px; font-weight: 760; }
.gg-home-activity-empty { display: flex; align-items: center; gap: 18px; padding: 20px; background: linear-gradient(145deg, #151121, #0a0913); border: 1px solid #554263; border-radius: 14px; }
.gg-home-activity-empty > span { display: grid; width: 48px; height: 48px; place-items: center; color: #ef5cff; background: rgba(197, 71, 243, .12); border-radius: 50%; }
.gg-home-activity-empty h3, .gg-home-activity-empty p { margin: 0; }
.gg-home-activity-empty p { color: var(--muted); font-size: 13px; }
.gg-home-activity-empty .btn { margin-left: auto; }

/* Games archive — same visual language as the homepage, with all catalog behaviour intact. */
.post-type-archive-game main {
  position: relative;
  overflow: hidden;
}
.post-type-archive-game main::before,
.post-type-archive-game main::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}
.post-type-archive-game main::before {
  width: 38rem;
  height: 38rem;
  top: 4rem;
  right: -17rem;
  background: rgba(0, 160, 213, .1);
}
.post-type-archive-game main::after {
  width: 34rem;
  height: 34rem;
  top: 30rem;
  left: -18rem;
  background: rgba(154, 46, 211, .09);
}
.post-type-archive-game .page-hero {
  padding-top: 48px;
  padding-bottom: 76px;
}
.post-type-archive-game .page-hero::before { display: none; }
.post-type-archive-game .page-head {
  position: relative;
  min-height: 258px;
  display: flex;
  align-items: center;
  padding: 43px 44px 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(18, 174, 225, .15), transparent 21rem),
    radial-gradient(circle at 16% 55%, rgba(163, 52, 224, .22), transparent 25rem),
    linear-gradient(115deg, rgba(17, 13, 32, .98), rgba(7, 10, 24, .97));
  border: 1px solid rgba(119, 79, 148, .66);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .035);
}
.post-type-archive-game .page-head::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: 4%;
  top: -235px;
  border: 1px solid rgba(224, 87, 255, .25);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(137, 61, 205, .035),
    0 0 0 90px rgba(31, 151, 219, .025),
    0 0 75px rgba(201, 60, 255, .08);
  pointer-events: none;
}
.post-type-archive-game .page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .25) .7px, transparent .7px);
  background-size: 17px 17px;
  mask-image: linear-gradient(90deg, transparent 52%, #000 100%);
}
.post-type-archive-game .page-head > div { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 780px; }
.post-type-archive-game .page-head .eyebrow {
  color: #ffbc3f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
}
.post-type-archive-game .page-head h1 {
  max-width: 820px;
  margin: 13px 0 12px;
  color: #fff;
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.post-type-archive-game .page-head p {
  max-width: 650px;
  margin: 0;
  color: #c3bdd0;
  font-size: 17px;
  line-height: 1.6;
}
.post-type-archive-game .game-filterbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(270px, 1.7fr) repeat(3, minmax(145px, 1fr)) auto;
  gap: 10px;
  margin: -58px 22px 26px;
  padding: 15px;
  background: rgba(10, 9, 21, .9);
  border: 1px solid rgba(116, 82, 140, .74);
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .035);
  backdrop-filter: blur(16px) saturate(135%);
}
.post-type-archive-game .game-filterbar input,
.post-type-archive-game .game-filterbar select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 0 15px;
  color: #f8f5fb;
  background: linear-gradient(145deg, rgba(24, 21, 39, .98), rgba(12, 11, 24, .98));
  border: 1px solid rgba(96, 75, 118, .72);
  border-radius: 10px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.post-type-archive-game .game-filterbar input::placeholder { color: #8f899a; opacity: 1; }
.post-type-archive-game .game-filterbar input:hover,
.post-type-archive-game .game-filterbar select:hover { border-color: rgba(177, 91, 243, .7); }
.post-type-archive-game .game-filterbar input:focus,
.post-type-archive-game .game-filterbar select:focus {
  background: #121020;
  border-color: #c65af3;
  box-shadow: 0 0 0 3px rgba(188, 74, 240, .15), 0 0 24px rgba(200, 61, 255, .1);
}
.post-type-archive-game .game-filterbar .btn {
  min-width: 122px;
  min-height: 52px;
  padding-inline: 19px;
  color: #fff;
  background: linear-gradient(105deg, #ff8f54 0%, #f244ac 48%, #a846ea 100%);
  border: 0;
  box-shadow: 0 10px 30px rgba(218, 55, 208, .2);
}
.post-type-archive-game .archive-count {
  margin: 0 0 18px;
  color: #aaa4b7;
  font-size: 13px;
}
.post-type-archive-game .archive-count strong { color: #f5effb; }
.post-type-archive-game .game-catalog-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.post-type-archive-game .game-catalog-card {
  overflow: hidden;
  background: linear-gradient(155deg, rgba(20, 17, 34, .98), rgba(8, 8, 18, .99));
  border: 1px solid rgba(103, 75, 126, .72);
  border-radius: 15px;
}
.post-type-archive-game .game-catalog-card:hover {
  border-color: rgba(216, 80, 255, .78);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .34), 0 0 34px rgba(197, 61, 255, .11);
}
.post-type-archive-game .game-catalog-card .cover {
  height: 205px;
  aspect-ratio: auto;
  background: linear-gradient(145deg, #40205e, #10122b 58%, #263e58);
}
.post-type-archive-game .game-catalog-card .cover img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease, filter .35s ease;
}
.post-type-archive-game .game-catalog-card:hover .cover img { transform: scale(1.035); filter: saturate(1.08); }
.post-type-archive-game .game-catalog-card .platform {
  padding: 5px 8px;
  color: #fff;
  background: rgba(8, 7, 17, .86);
  border: 1px solid rgba(239, 93, 255, .32);
  border-radius: 7px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}
.post-type-archive-game .game-catalog-card .score-badge {
  color: #0d0912;
  background: linear-gradient(135deg, #ffd158, #ff9948);
  box-shadow: 0 8px 22px rgba(255, 153, 72, .28);
}
.post-type-archive-game .game-catalog-card .card-body { padding: 14px; }
.post-type-archive-game .game-catalog-card h3 {
  overflow: hidden;
  margin-bottom: 7px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.post-type-archive-game .game-catalog-card .meta { color: #a9a2b7; }
.post-type-archive-game .game-card-genres span {
  background: rgba(177, 73, 235, .07);
  border-color: rgba(154, 102, 190, .35);
}
.post-type-archive-game .pagination { margin-top: 34px; }
.post-type-archive-game .pagination .page-numbers {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  color: #cbc4d6;
  background: #100e1c;
  border: 1px solid #493756;
  border-radius: 9px;
  text-decoration: none;
}
.post-type-archive-game .pagination .current,
.post-type-archive-game .pagination a:hover { color: #fff; background: #7138c3; border-color: #a75be8; }

@media (max-width: 1120px) {
  .gg-home-hero-grid { grid-template-columns: .88fr 1.12fr; gap: 30px; }
  .gg-home-feature { height: 355px; }
  .gg-home-intro h1 { font-size: clamp(42px, 5.7vw, 62px); }
  .nav-menu { gap: 16px; }
  .nav-menu a { font-size: 13px; }
  .post-type-archive-game .game-filterbar { grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(125px, 1fr)); }
  .post-type-archive-game .game-filterbar .btn { grid-column: 1 / -1; }
  .post-type-archive-game .game-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { height: 72px; }
  .brand img { width: 98px; height: 58px; }
  .nav-menu { top: 72px; background: rgba(7, 7, 17, .98); border-bottom-color: #5a376d; }
  .gg-home-hero-grid { grid-template-columns: 1fr; padding-block: 52px 44px; }
  .gg-home-intro { max-width: 700px; }
  .gg-home-intro h1 { font-size: clamp(50px, 9vw, 74px); }
  .gg-home-feature { height: 390px; }
  .gg-home-discovery-grid { grid-template-columns: 1fr; gap: 34px; }
  .gg-home-gear-picks { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgba(110, 81, 137, .58); }
  .gg-home-tile { height: 235px; }
  .gg-home-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gg-home-activity-card:last-child { grid-column: 1 / -1; }
  .post-type-archive-game .page-head { padding-right: 34px; padding-left: 34px; }
  .post-type-archive-game .game-filterbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-type-archive-game .game-filterbar > :first-child { grid-column: 1 / -1; }
  .post-type-archive-game .game-filterbar .btn { grid-column: auto; }
  .post-type-archive-game .game-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, 1340px); }
  .nav { height: 66px; gap: 8px; }
  .brand img { width: 82px; height: 52px; }
  .nav-menu { top: 66px; }
  .nav-actions { gap: 7px; }
  .gg-nav-alert, .avatar-link { width: 38px; height: 38px; }
  .nav-actions .btn { display: none; }
  .gg-home-hero-grid { min-height: 0; padding-block: 38px 32px; gap: 34px; }
  .gg-home-intro h1 { margin-top: 12px; font-size: clamp(42px, 13vw, 58px); line-height: .96; }
  .gg-home-intro p { font-size: 16px; }
  .gg-home-intro p { max-width: 100%; overflow-wrap: anywhere; }
  .gg-home-actions { display: grid; grid-template-columns: 1fr; }
  .gg-home-actions .btn { width: 100%; }
  .gg-home-feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .gg-home-feature { height: 288px; }
  .gg-home-feature-gear { height: 235px; }
  .gg-home-feature-copy strong { font-size: 20px; }
  .gg-home-discovery { padding-block: 28px 42px; }
  .gg-home-block-head h2 { font-size: 24px; }
  .gg-home-news-grid, .gg-home-gear-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 3px 3px 13px;
    margin-inline: -3px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #8a42b5 transparent;
  }
  .gg-home-tile { height: 205px; scroll-snap-align: start; }
  .gg-home-activity { padding-block: 34px 48px; }
  .gg-home-activity-head { align-items: start; flex-direction: column; }
  .gg-home-activity-grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
  .gg-home-activity-card:last-child { grid-column: auto; }
  .gg-home-activity-empty { align-items: flex-start; flex-wrap: wrap; }
  .gg-home-activity-empty .btn { width: 100%; margin-left: 0; }
  .post-type-archive-game .page-hero { padding-top: 24px; padding-bottom: 46px; }
  .post-type-archive-game .page-head {
    min-height: 0;
    padding: 30px 22px 88px;
    border-radius: 15px;
  }
  .post-type-archive-game .page-head::before { right: -175px; }
  .post-type-archive-game .page-head h1 {
    max-width: 8ch;
    margin-top: 11px;
    font-size: clamp(37px, 11.5vw, 48px);
    overflow-wrap: normal;
    text-wrap: wrap;
  }
  .post-type-archive-game .page-head p { font-size: 14px; line-height: 1.55; }
  .post-type-archive-game .game-filterbar {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: -64px 10px 24px;
    padding: 10px;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }
  .post-type-archive-game .game-filterbar > :first-child,
  .post-type-archive-game .game-filterbar .btn { grid-column: auto; }
  .post-type-archive-game .game-filterbar input,
  .post-type-archive-game .game-filterbar select,
  .post-type-archive-game .game-filterbar .btn { min-height: 48px; }
  .post-type-archive-game .archive-count { margin-top: 4px; line-height: 1.55; overflow-wrap: anywhere; }
  .post-type-archive-game .page-head,
  .post-type-archive-game .archive-count,
  .post-type-archive-game .game-catalog-grid { width: 100%; min-width: 0; max-width: 100%; }
  .post-type-archive-game .game-catalog-grid { gap: 10px; }
  .post-type-archive-game .game-catalog-card { min-width: 0; }
  .post-type-archive-game .game-catalog-card .cover { height: 178px; }
  .post-type-archive-game .game-catalog-card .card-body { padding: 11px; }
}

@media (max-width: 390px) {
  .gg-nav-alert { display: none; }
  .gg-home-intro h1 { font-size: 39px; }
  .gg-home-block-head a { font-size: 11px; }
  .gg-home-feature { height: 255px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
