.pgub {
  --pgub-gold: #ffd700;
  --pgub-gold-soft: rgba(255, 215, 0, .36);
  --pgub-panel: rgba(4, 7, 12, .9);
  --pgub-muted: #bbbcc2;
  box-sizing: border-box;
  width: 100%;
  margin: 28px auto 38px;
  color: #f7f7f8;
  font-family: inherit;
}

.pgub *, .pgub *::before, .pgub *::after { box-sizing: border-box; }
.pgub img { max-width: 100%; }

.pgub-section-head,
.pgub-archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.pgub-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 215, 0, .78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.pgub-archive-head h2 {
  margin: 0;
  color: #f8f5ec;
  font-family: Iceberg, Orbitron, sans-serif;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .8);
}

.pgub-section-head p,
.pgub-archive-head p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #c9c9cd;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.pgub-schedule-link,
.pgub-sidebar-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 215, 0, .7);
  border-radius: 5px;
  background: rgba(255, 215, 0, .055);
  color: #ffe45b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.pgub-schedule-link:hover,
.pgub-schedule-link:focus-visible,
.pgub-sidebar-more:hover,
.pgub-sidebar-more:focus-visible {
  border-color: #ffe45b;
  background: rgba(255, 215, 0, .12);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.pgub-carousel {
  position: relative;
  padding: 0 44px;
}

.pgub-carousel-track {
  position: relative;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 3px 15px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.pgub-carousel-track::-webkit-scrollbar { display: none; }

.pgub-carousel-arrow {
  position: absolute;
  z-index: 15;
  top: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 76px;
  margin-top: -38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pgub-gold);
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 4px 12px #000;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.pgub-carousel-arrow:hover,
.pgub-carousel-arrow:focus-visible { color: #fff; outline: none; transform: scale(1.08); }
.pgub-carousel-arrow:disabled { opacity: .24; cursor: default; transform: none; }
.pgub-carousel-arrow--prev { left: 0; }
.pgub-carousel-arrow--next { right: 0; }

.pgub-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 10px;
  margin-top: 2px;
}

.pgub-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 215, 0, .58);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.pgub-carousel-dots button.is-active { width: 25px; background: var(--pgub-gold); }

.pgub-banner {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, .32);
  border-radius: 9px;
  background:
    radial-gradient(circle at 85% 0, rgba(255, 215, 0, .07), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 32%),
    var(--pgub-panel);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .43), inset 0 1px rgba(255, 255, 255, .035);
}

.pgub-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(255, 215, 0, .65);
}

.pgub-banner--home {
  flex: 0 0 calc((100% - 20px) / 2);
  padding: 17px 18px 18px;
  scroll-snap-align: start;
}

.pgub-banner--archive { padding: 20px 22px 22px; }
.pgub-status-active { border-color: rgba(94, 255, 128, .42); }
.pgub-status-active::before { background: #5eff80; box-shadow: 0 0 15px rgba(94, 255, 128, .72); }
.pgub-status-past { border-color: rgba(255, 255, 255, .14); filter: saturate(.82); }
.pgub-status-past::before { background: rgba(255, 255, 255, .25); }

/* The homepage shortcode sits directly on the Blocksy page canvas. Its
   structure comes from spacing and typography rather than card containers. */
.pgub-layout-full { margin: 0 auto 26px; }
.pgub-home-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pgub-layout-full .pgub-banner--home {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.pgub-layout-full .pgub-banner--home::before { display: none; }
.pgub-layout-full .pgub-banner--home .pgub-banner-details { border-top: 0; }

.pgub-banner-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.pgub-banner-date {
  color: #ffe029;
  font-family: Iceberg, Orbitron, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .85);
}

.pgub-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin-top: 7px;
  color: #aeb0b7;
  font-size: 10px;
  font-weight: 750;
}

.pgub-status-badge {
  flex: 0 0 auto;
  padding: 5px 7px 4px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 3px;
  color: #d9d9dc;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
}

.pgub-status-next .pgub-status-badge { border-color: rgba(255, 215, 0, .72); color: #ffe13e; }
.pgub-status-active .pgub-status-badge { border-color: rgba(94, 255, 128, .66); color: #68ff8b; }

.pgub-banner-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.pgub-banner--archive .pgub-banner-body {
  grid-template-columns: minmax(0, 1fr) minmax(220px, .36fr);
  align-items: center;
  gap: 26px;
}

.pgub-hero-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(64px, 100px));
  justify-content: center;
  align-items: start;
  gap: 14px;
  min-width: 0;
  padding: 2px 7px 3px;
}

.pgub-banner--archive .pgub-hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(90px, 116px));
  justify-content: start;
  gap: 17px;
}

.pgub-hero-card { min-width: 0; padding-left: 6px; }
.pgub-hero-link { position: relative; z-index: 1; display: block; color: inherit; text-decoration: none; transition: transform 260ms ease; }
.pgub-hero-link--disabled { cursor: default; }

.pgub-hero-frame {
  --pgub-rarity-rgb: 255, 203, 54;
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  overflow: visible;
  border-radius: 6px;
  background: #090b10;
  box-shadow: 0 8px 14px rgba(0, 0, 0, .6);
  transform: translateZ(0);
  transition: box-shadow 260ms ease, transform 260ms ease;
}

.pgub-rarity-legendary { --pgub-rarity-rgb: 255, 203, 54; }
.pgub-rarity-epic { --pgub-rarity-rgb: 178, 77, 255; }
.pgub-rarity-rare { --pgub-rarity-rgb: 54, 151, 255; }

.pgub-hero-frame::before {
  content: "";
  position: absolute;
  z-index: 15;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 2px rgba(var(--pgub-rarity-rgb), .82),
    inset 0 0 0 3px rgba(7, 8, 11, .86),
    inset 0 1px 0 4px rgba(255, 255, 255, .12);
  pointer-events: none;
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.pgub-hero-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #090b10;
}

.pgub-hero-canvas::after {
  content: "";
  position: absolute;
  z-index: 8;
  top: -25%;
  bottom: -25%;
  left: -65%;
  width: 25%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .44), rgba(var(--pgub-rarity-rgb), .24), transparent);
  transform: skewX(-17deg);
  pointer-events: none;
}

.pgub-hero-rarity-bg,
.pgub-hero-portrait,
.pgub-hero-vignette { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pgub-hero-rarity-bg { z-index: 1; object-fit: cover; pointer-events: none; }
.pgub-hero-portrait { z-index: 2; overflow: hidden; }

.pgub-hero-image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center top;
  transform: scale(1);
  transform-origin: center center;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, .7));
  transition: transform 1000ms cubic-bezier(.22, .61, .36, 1), filter 600ms ease;
}

.pgub-hero-placeholder { display: grid; place-items: center; height: 100%; color: #ffe23b; font-size: 32px; font-weight: 900; }
.pgub-hero-vignette { z-index: 3; background: linear-gradient(to bottom, transparent 58%, rgba(3, 5, 9, .13) 72%, rgba(3, 5, 9, .82) 100%); pointer-events: none; }

.pgub-hero-light {
  position: absolute;
  z-index: 7;
  inset: -16%;
  display: block;
  opacity: 0;
  background:
    radial-gradient(circle at var(--pgub-pointer-x, 50%) var(--pgub-pointer-y, 42%),
      rgba(255, 255, 255, .38) 0,
      rgba(var(--pgub-rarity-rgb), .26) 13%,
      rgba(var(--pgub-rarity-rgb), .11) 27%,
      transparent 53%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: scale(.88);
  transition: opacity 180ms ease, transform 320ms cubic-bezier(.2, .8, .2, 1);
  will-change: opacity, transform;
}

.pgub-hero-nameplate {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  min-width: 0;
  padding: 5px 3px 4px;
  overflow: hidden;
  border: 1px solid rgba(var(--pgub-rarity-rgb), .68);
  border-radius: 8px 8px 5px 5px;
  background: linear-gradient(180deg, rgba(72, 80, 91, .96), rgba(28, 34, 43, .98) 40%, rgba(7, 10, 15, .99) 56%, rgba(16, 20, 27, .99));
  box-shadow: 0 3px 8px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 255, 255, .34), inset 0 -1px rgba(var(--pgub-rarity-rgb), .22);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(8px, .82vw, 11px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 5px #000;
  text-transform: uppercase;
}

.pgub-hero-title-text {
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
  transform: translateX(0);
}

.pgub-hero-nameplate.is-truncated { text-align: left; }

.pgub-hero-badge,
.pgub-lord-crown {
  position: absolute;
  z-index: 20;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

.pgub-hero-badge img,
.pgub-lord-crown img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 320ms cubic-bezier(.2, .8, .2, 1), filter 260ms ease; }

.pgub-hero-badge--faction { left: 0; width: 38%; height: auto; aspect-ratio: 1; transform: translateX(-31%); }
.pgub-hero-badge--faction-1 { top: 3%; }
.pgub-hero-badge--faction-2 { top: 31%; }
.pgub-hero-badge--damage,
.pgub-hero-badge--class { right: 4%; width: 22%; height: auto; aspect-ratio: 1; }
.pgub-hero-badge--damage { top: 5%; }
.pgub-hero-badge--class { top: 23%; }
.pgub-lord-crown { top: -3%; left: 0; width: 32%; height: auto; aspect-ratio: 128 / 179; transform: translateX(-35%); z-index: 21; }

.pgub-hero-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 90;
  top: 50%;
  left: calc(100% + 6px);
  width: max-content;
  max-width: 160px;
  padding: 5px 7px;
  border: 1px solid rgba(var(--pgub-rarity-rgb), .65);
  border-radius: 4px;
  background: rgba(5, 8, 13, .98);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  opacity: 0;
  pointer-events: none;
  transform: translate(3px, -50%);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.pgub-hero-badge--damage::after,
.pgub-hero-badge--class::after { right: calc(100% + 6px); left: auto; }
.pgub-hero-badge:hover::after { opacity: 1; transform: translate(0, -50%); }

.pgub-collaboration-logo {
  position: absolute;
  z-index: 14;
  bottom: 23%;
  left: 5px;
  display: block;
  max-width: 55%;
  max-height: 16%;
  pointer-events: none;
}

.pgub-collaboration-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: left bottom; }
.pgub-test-badge { position: absolute; z-index: 13; top: 2px; left: 50%; padding: 2px 4px; border-radius: 2px; background: rgba(180, 15, 25, .92); color: #fff; font-size: 6px; font-weight: 900; transform: translateX(-50%); }

.pgub-rank {
  --pgub-rank: #ffc928;
  --pgub-rank-dark: #a75a00;
  position: absolute;
  z-index: 13;
  right: 8%;
  bottom: 18%;
  color: var(--pgub-rank);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(14px, 1.45vw, 21px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.7px;
  -webkit-text-fill-color: var(--pgub-rank);
  -webkit-text-stroke: .55px rgba(0, 0, 0, .96);
  text-shadow: 1px 1px 0 var(--pgub-rank-dark), 0 2px 3px rgba(0, 0, 0, .9);
  pointer-events: none;
}

.pgub-rank--sss { --pgub-rank: #ff3b31; --pgub-rank-dark: #7d0008; }
.pgub-rank--ss-plus { --pgub-rank: #ff6328; --pgub-rank-dark: #9a1600; }
.pgub-rank--ss { --pgub-rank: #ff851f; --pgub-rank-dark: #9d2800; }
.pgub-rank--s-plus, .pgub-rank--s { --pgub-rank: #ffd423; --pgub-rank-dark: #a46300; }
.pgub-rank--a-plus { --pgub-rank: #ed56ff; --pgub-rank-dark: #72138c; }
.pgub-rank--a { --pgub-rank: #a95cff; --pgub-rank-dark: #461889; }
.pgub-rank--b { --pgub-rank: #36bfff; --pgub-rank-dark: #075183; }
.pgub-rank--c { --pgub-rank: #5dd758; --pgub-rank-dark: #17631c; }
.pgub-rank--d { --pgub-rank: #c98a42; --pgub-rank-dark: #66401d; }
.pgub-rank--f { --pgub-rank: #b83239; --pgub-rank-dark: #52070b; }

/* Keep hover/focus animation available even when a browser reports a hybrid
   pointer device. Touch alone does not trigger :hover, so no JS gate is needed. */
@media (min-width: 0px) {
  .pgub-hero-link:not(.pgub-hero-link--disabled):hover,
  .pgub-hero-link:not(.pgub-hero-link--disabled):focus-visible { z-index: 30; outline: none; transform: translateY(-3px) scale(1.012); }
  .pgub-hero-link:hover .pgub-hero-frame,
  .pgub-hero-link:focus-visible .pgub-hero-frame { box-shadow: 0 12px 20px rgba(0, 0, 0, .66), 0 0 12px rgba(var(--pgub-rarity-rgb), .42); }
  .pgub-hero-link:hover .pgub-hero-frame::before,
  .pgub-hero-link:focus-visible .pgub-hero-frame::before { border-color: #fff; box-shadow: inset 0 0 0 2px rgb(var(--pgub-rarity-rgb)), inset 0 0 0 3px rgba(7, 8, 11, .82), inset 0 1px 0 4px rgba(255, 255, 255, .18), inset 0 0 12px rgba(var(--pgub-rarity-rgb), .14); }
  .pgub-hero-link:hover .pgub-hero-image,
  .pgub-hero-link:focus-visible .pgub-hero-image { transform: scale(1.1); filter: drop-shadow(0 6px 7px rgba(0, 0, 0, .76)) drop-shadow(0 0 7px rgba(var(--pgub-rarity-rgb), .38)); }
  .pgub-hero-link:hover .pgub-hero-canvas::after,
  .pgub-hero-link:focus-visible .pgub-hero-canvas::after { opacity: 1; animation: pgub-sheen 1.9s ease-in-out infinite; }
  .pgub-hero-link:hover .pgub-hero-light,
  .pgub-hero-link:focus-visible .pgub-hero-light { opacity: .9; transform: scale(1); }
  .pgub-hero-link:hover .pgub-hero-nameplate,
  .pgub-hero-link:focus-visible .pgub-hero-nameplate { border-color: rgba(255, 255, 255, .8); box-shadow: 0 4px 12px rgba(0, 0, 0, .75), 0 0 10px rgba(var(--pgub-rarity-rgb), .5), inset 0 1px rgba(255, 255, 255, .38), inset 0 -1px rgba(var(--pgub-rarity-rgb), .3); }
  .pgub-hero-link:hover .pgub-hero-badge,
  .pgub-hero-link:focus-visible .pgub-hero-badge { filter: drop-shadow(0 0 5px rgba(var(--pgub-rarity-rgb), .58)); }
  .pgub-hero-link:hover .pgub-hero-badge img,
  .pgub-hero-link:focus-visible .pgub-hero-badge img,
  .pgub-hero-link:hover .pgub-lord-crown img,
  .pgub-hero-link:focus-visible .pgub-lord-crown img { transform: scale(1.1); filter: brightness(1.08) saturate(1.08); }
  .pgub-hero-link:hover .pgub-rank,
  .pgub-hero-link:focus-visible .pgub-rank { filter: drop-shadow(0 0 4px rgba(var(--pgub-rarity-rgb), .72)); }
  .pgub-hero-link:hover .pgub-hero-nameplate.is-truncated .pgub-hero-title-text,
  .pgub-hero-link:focus-visible .pgub-hero-nameplate.is-truncated .pgub-hero-title-text { animation: pgub-title-marquee var(--pgub-marquee-duration, 3.5s) ease-in-out infinite; }
}

.pgub-hero-link:not(.pgub-hero-link--disabled):active { transform: translateY(2px) scale(.975); filter: brightness(.9); }

@keyframes pgub-sheen { from { left: -65%; } to { left: 135%; } }

@keyframes pgub-title-marquee {
  0%, 12% { transform: translateX(0); }
  68%, 84% { transform: translateX(calc(-1 * var(--pgub-marquee-distance, 0px))); }
  100% { transform: translateX(0); }
}

.pgub-banner-details { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding-top: 12px; border-top: 1px solid rgba(255, 215, 0, .15); }
.pgub-banner--archive .pgub-banner-details { align-items: flex-start; flex-direction: column; justify-content: center; padding: 0 0 0 22px; border-top: 0; border-left: 1px solid rgba(255, 215, 0, .18); }
.pgub-type-list { display: flex; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
.pgub-type-list > span { display: inline-flex; align-items: center; gap: 5px; color: #d7d7db; font-size: 10px; font-style: italic; font-weight: 750; white-space: nowrap; }
.pgub-crystal { display: inline-flex; flex: 0 0 auto; width: 21px; height: 21px; }
.pgub-crystal img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pgub-countdown { flex: 0 0 auto; text-align: right; text-transform: uppercase; }
.pgub-countdown-label { display: block; margin-bottom: 2px; color: #c9c9cc; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.pgub-countdown strong { display: block; color: #ffe02b; font-size: 12px; font-weight: 950; letter-spacing: .02em; line-height: 1.1; white-space: nowrap; }
.pgub-banner--archive .pgub-countdown { text-align: left; }
.pgub-banner--archive .pgub-countdown strong { font-size: 20px; }
.pgub-banner--archive .pgub-type-list { flex-direction: column; }
.pgub-banner--archive .pgub-type-list > span { font-size: 13px; }
.pgub-banner--archive .pgub-crystal { width: 25px; height: 25px; }

.pgub-layout-sidebar { max-width: 100%; margin: 0 0 28px; }
.pgub-sidebar-stack { display: flex; flex-direction: column; gap: 16px; }
.pgub-banner--sidebar { padding: 13px 9px 14px; border-width: 0 0 1px; border-radius: 0; background: rgba(0, 0, 0, .14); box-shadow: none; }
.pgub-banner--sidebar::before { display: none; }
.pgub-banner--sidebar .pgub-banner-date { font-size: 18px; }
.pgub-banner--sidebar .pgub-banner-meta { display: none; }
.pgub-banner--sidebar .pgub-hero-grid { grid-template-columns: repeat(3, minmax(58px, 84px)); gap: 12px; }
.pgub-banner--sidebar .pgub-banner-details { align-items: center; flex-direction: column; }
.pgub-banner--sidebar .pgub-type-list { justify-content: center; }
.pgub-banner--sidebar .pgub-countdown { text-align: center; }
.pgub-sidebar-more { width: 100%; margin-top: 18px; }

.pgub-archive-head { display: block; margin-bottom: 22px; }
.pgub-filters { margin-bottom: 18px; padding: 17px 18px 16px; border: 1px solid rgba(255, 215, 0, .28); border-radius: 8px; background: rgba(4, 7, 12, .76); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.pgub-view-tabs { display: flex; gap: 6px; margin-bottom: 15px; }
.pgub-view-tabs button { min-height: 40px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px; background: rgba(255, 255, 255, .025); color: #d4d4d7; font-size: 11px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; cursor: pointer; }
.pgub-view-tabs button.is-active { border-color: rgba(255, 215, 0, .75); background: rgba(255, 215, 0, .12); color: #ffe13d; }
.pgub-filter-grid { display: grid; grid-template-columns: minmax(220px, 1fr) 170px 170px; gap: 12px; }
.pgub-filter-grid label > span,
.pgub-type-filters legend { display: block; margin-bottom: 6px; color: #d4d4d7; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pgub-filter-grid input,
.pgub-filter-grid select { width: 100%; min-height: 43px; padding: 8px 11px; border: 1px solid rgba(255, 215, 0, .35); border-radius: 4px; background: rgba(2, 5, 9, .92); color: #fff; font: inherit; font-size: 13px; }
.pgub-filter-grid input:focus,
.pgub-filter-grid select:focus { border-color: #ffe02e; outline: 2px solid rgba(255, 215, 0, .14); outline-offset: 1px; }
.pgub-type-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; border: 0; }
.pgub-type-filters legend { width: 100%; }
.pgub-type-filters label { position: relative; cursor: pointer; }
.pgub-type-filters input { position: absolute; opacity: 0; pointer-events: none; }
.pgub-type-filters label > span { display: inline-flex; align-items: center; gap: 6px; min-height: 37px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 4px; background: rgba(255, 255, 255, .025); color: #cfd0d4; font-size: 10px; font-weight: 800; }
.pgub-type-filters input:checked + span { border-color: rgba(255, 215, 0, .72); background: rgba(255, 215, 0, .1); color: #ffe13d; }
.pgub-type-filters input:focus-visible + span { outline: 2px solid rgba(255, 215, 0, .55); outline-offset: 2px; }
.pgub-type-filters .pgub-crystal { width: 19px; height: 19px; }
.pgub-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .09); }
.pgub-result-count { color: #bcbec4; font-size: 11px; font-weight: 750; }
.pgub-result-count strong { margin-right: 3px; color: #ffe03b; font-size: 20px; }
.pgub-filter-actions > div:last-child { display: flex; align-items: center; gap: 10px; }
.pgub-filter-actions a { color: #cfd0d3; font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.pgub-filter-actions button { min-height: 42px; padding: 9px 16px; border: 1px solid #ffe45b; border-radius: 4px; background: linear-gradient(180deg, #ffe15b, #c89000); color: #080a0e; font-size: 11px; font-weight: 950; letter-spacing: .045em; text-transform: uppercase; cursor: pointer; }
.pgub-schedule-note { margin: 0 0 20px; padding: 8px 0 8px 12px; border-left: 3px solid rgba(255, 215, 0, .72); color: #c5c6ca; font-size: 12px; font-weight: 700; line-height: 1.4; }
.pgub-archive-list { display: flex; flex-direction: column; gap: 20px; }
.pgub-empty { padding: 28px; border: 1px solid rgba(255, 215, 0, .28); border-radius: 7px; background: rgba(3, 6, 10, .7); color: #fff; font-weight: 800; text-align: center; }
.pgub-empty--archive { display: flex; flex-direction: column; gap: 7px; }
.pgub-empty--archive strong { color: #ffe13b; font-size: 22px; }
.pgub-empty--archive span { color: #bebfc3; font-size: 13px; }
.pgub-pagination { margin-top: 26px; }
.pgub-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pgub-pagination a,
.pgub-pagination span { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px; background: rgba(4, 7, 12, .75); color: #e3e3e5; font-size: 12px; font-weight: 850; text-decoration: none; }
.pgub-pagination .current { border-color: rgba(255, 215, 0, .72); background: rgba(255, 215, 0, .13); color: #ffe13e; }

@media (max-width: 1180px) {
  .pgub-banner--home { flex-basis: 100%; }
  .pgub-banner--home .pgub-hero-grid { grid-template-columns: repeat(5, minmax(82px, 112px)); }
}

@media (max-width: 820px) {
  .pgub-home-heading { align-items: stretch; flex-direction: column; }
  .pgub { margin-top: 23px; }
  .pgub-section-head { align-items: flex-start; flex-direction: column; gap: 13px; }
  .pgub-schedule-link { width: 100%; }
  .pgub-carousel { padding: 0; }
  .pgub-carousel-arrow { display: none; }
  .pgub-banner--home { padding: 16px 14px 17px; }
  .pgub-banner--archive { padding: 17px 14px 18px; }
  .pgub-banner--archive .pgub-banner-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pgub-banner--archive .pgub-hero-grid { grid-template-columns: repeat(5, minmax(72px, 104px)); justify-content: center; }
  .pgub-banner--archive .pgub-banner-details { align-items: center; flex-direction: row; justify-content: space-between; padding: 13px 0 0; border-top: 1px solid rgba(255, 215, 0, .18); border-left: 0; }
  .pgub-banner--archive .pgub-type-list { flex-direction: row; }
  .pgub-filter-grid { grid-template-columns: minmax(0, 1fr) 1fr 1fr; }
  .pgub-search-field { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .pgub-archive-head h2 { font-size: 28px; }
  .pgub-section-head p, .pgub-archive-head p { font-size: 13px; }
  .pgub-banner-head { gap: 9px; }
  .pgub-banner-date { font-size: 21px; }
  .pgub-banner-meta { font-size: 9px; }
  .pgub-banner--home .pgub-hero-grid,
  .pgub-banner--archive .pgub-hero-grid { grid-template-columns: repeat(3, minmax(0, 104px)); justify-content: center; gap: 16px 12px; padding-right: 5px; padding-left: 5px; }
  .pgub-hero-nameplate { font-size: 9px; }
  .pgub-rank { font-size: 18px; }
  .pgub-banner-details,
  .pgub-banner--archive .pgub-banner-details { align-items: center; flex-direction: column; }
  .pgub-type-list,
  .pgub-banner--archive .pgub-type-list { justify-content: center; }
  .pgub-countdown,
  .pgub-banner--archive .pgub-countdown { text-align: center; }
  .pgub-banner--archive .pgub-countdown strong { font-size: 16px; }
  .pgub-view-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
  .pgub-view-tabs button { min-width: 0; padding: 7px 5px; font-size: 9px; }
  .pgub-filter-grid { grid-template-columns: 1fr 1fr; }
  .pgub-search-field { grid-column: 1 / -1; }
  .pgub-type-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .pgub-type-filters legend { grid-column: 1 / -1; }
  .pgub-type-filters label > span { width: 100%; min-width: 0; justify-content: flex-start; padding: 6px 7px; font-size: 9px; }
  .pgub-filter-actions { align-items: stretch; flex-direction: column; }
  .pgub-filter-actions > div:last-child { display: grid; grid-template-columns: .45fr 1fr; }
  .pgub-filter-actions a { display: grid; place-items: center; min-height: 42px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 4px; }
}

@media (max-width: 374px) {
  .pgub-banner--home .pgub-hero-grid,
  .pgub-banner--archive .pgub-hero-grid { grid-template-columns: repeat(2, minmax(0, 116px)); gap: 17px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgub *, .pgub *::before, .pgub *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 1ms !important; }
  .pgub-hero-light { display: none !important; }
}
