/* PokeAvalar-inspired theme for Znote AAC (dark glass + violet/cyan/amber) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --bg: #0a0e16;
  --bg2: #070b12;
  --card: rgba(10, 14, 24, 0.82);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #f4f6ff;
  --muted: rgba(236, 240, 255, 0.88);
  --violet: #7c3aed;
  --cyan: #67e8f9;
  --amber: #f59e0b;
  --radius: 16px;
  --bg-scene: url('../images/pokeone-bg-nightroute.png');
}

html {
  height: 100%;
  background-color: #0b1018 !important;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  color: var(--text) !important;
  min-height: 100%;
  background: #0b1018 !important;
  background-image: none !important;
  position: relative;
}

/* Fixed wallpaper — always covers viewport, no scroll cut */
.pdp-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #0b1018;
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 12, 20, 0.28) 0%,
      rgba(8, 12, 20, 0.38) 55%,
      rgba(8, 12, 20, 0.48) 100%
    ),
    radial-gradient(1000px 520px at 80% 14%, rgba(250, 204, 21, 0.12), transparent 60%),
    radial-gradient(820px 480px at 10% 86%, rgba(34, 211, 238, 0.10), transparent 58%),
    var(--bg-scene);
  background-size: auto, auto, auto, cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll, scroll, scroll, scroll;
}

/* Keep old body pseudes off so they don't hide the wallpaper */
body::before,
body::after {
  content: none !important;
  display: none !important;
}

/* Decorative glow orbs — sides + scroll mid (above wallpaper, under content) */
.pdp-scene-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pdp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.38;
  will-change: transform, opacity;
}

.pdp-orb--left {
  left: max(-40px, 2vw);
  top: 28%;
  width: min(220px, 28vw);
  height: min(220px, 28vw);
  background:
    radial-gradient(circle at 40% 40%, rgba(34, 211, 238, 0.45), rgba(34, 211, 238, 0.08) 45%, transparent 70%);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.18);
}

.pdp-orb--right {
  right: max(-40px, 2vw);
  top: 52%;
  width: min(260px, 32vw);
  height: min(260px, 32vw);
  background:
    radial-gradient(circle at 55% 45%, rgba(250, 204, 21, 0.40), rgba(245, 158, 11, 0.10) 48%, transparent 72%);
  box-shadow: 0 0 70px rgba(250, 204, 21, 0.16);
}

.pdp-orb--mid {
  left: 50%;
  top: 18%;
  width: min(180px, 22vw);
  height: min(180px, 22vw);
  margin-left: calc(min(180px, 22vw) / -2);
  background:
    radial-gradient(circle at 50% 45%, rgba(167, 139, 250, 0.50), rgba(124, 58, 237, 0.12) 50%, transparent 72%);
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.22);
  opacity: 0.35;
}

@media (max-width: 720px) {
  .pdp-orb--left,
  .pdp-orb--right {
    opacity: 0.28;
    width: 140px;
    height: 140px;
  }
  .pdp-orb--mid {
    width: 120px;
    height: 120px;
    margin-left: -60px;
  }
}

a, a:hover {
  color: var(--cyan) !important;
  text-decoration: none;
}

a:hover {
  color: #fff !important;
}

h1, h2, h3, h4, h5, h6,
.content h1,
.sidebar h3 {
  color: var(--text) !important;
  font-family: Inter, system-ui, sans-serif !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45) !important;
}

h2 {
  color: var(--cyan) !important;
}

p, li, td, th, label, span {
  color: var(--muted);
}

#main {
  max-width: 1120px;
  position: relative;
  z-index: 1;
  /* Glass over wallpaper — readable, but scene still visible around/through */
  background:
    linear-gradient(
      180deg,
      rgba(8, 12, 20, 0.72) 0%,
      rgba(8, 12, 20, 0.62) 75%,
      rgba(8, 12, 20, 0.22) 94%,
      rgba(8, 12, 20, 0.0) 100%
    ) !important;
  backdrop-filter: blur(12px) saturate(1.08);
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.45);
  overflow: visible;
}

#main::after {
  content: '';
  display: table;
  clear: both;
}

header {
  height: auto !important;
  min-height: 88px;
  background:
    linear-gradient(180deg, rgba(28, 22, 14, 0.82) 0%, rgba(12, 18, 28, 0.78) 100%),
    rgba(10, 14, 22, 0.72) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(250, 204, 21, 0.28) !important;
  border-radius: 0 0 20px 20px;
  margin-bottom: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 180, 0.14),
    0 12px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 100;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.pdp-header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 16px 12px;
  box-sizing: border-box;
}

header::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.45), rgba(250, 204, 21, 0.55), rgba(34, 211, 238, 0.45), transparent);
  pointer-events: none;
  z-index: 2;
}

nav {
  height: auto !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100%;
  background: transparent !important;
  padding: 0;
  overflow: visible !important;
  box-sizing: border-box;
}

#menu_container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(34, 211, 238, 0.08)),
    rgba(8, 12, 20, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

ul.sf-menu {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  float: none !important;
  overflow: visible !important;
}

ul.sf-menu,
ul.sf-menu li,
ul.sf-menu a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

ul.sf-menu > li {
  float: none !important;
  position: relative !important;
}

#logo {
  width: auto !important;
  max-width: none;
  height: auto !important;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0 !important;
  background: none !important;
  filter: none;
}

ul.sf-menu a {
  color: rgba(255, 245, 220, 0.88) !important;
  font-weight: 650;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  text-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

ul.sf-menu a:hover,
ul.sf-menu li:hover > a,
ul.sf-menu li.sfHover > a,
ul.sf-menu li.sfHover a {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(34, 211, 238, 0.14)) !important;
  border: 1px solid rgba(250, 204, 21, 0.28) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Dropdown: padding-top = hover bridge (no gap, no covering parent link).
   Override legacy style.css left:-999999 + margin-top gap. */
ul.sf-menu ul,
ul#nav ul {
  position: absolute !important;
  top: 100% !important;
  left: -9999px !important;
  margin: 0 !important;
  margin-top: 0 !important;
  /* padding-top keeps hover continuous while moving into the list */
  padding: 8px 8px 8px !important;
  min-width: 230px !important;
  width: auto !important;
  background:
    linear-gradient(180deg, rgba(32, 28, 20, 0.97), rgba(14, 20, 32, 0.98)) !important;
  border: 1px solid rgba(250, 204, 21, 0.22) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(34, 211, 238, 0.08) !important;
  z-index: 5000 !important;
  overflow: visible !important;
  pointer-events: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
}

ul.sf-menu > li:hover > ul,
ul.sf-menu > li.sfHover > ul,
ul.sf-menu > li.sf-hover > ul,
ul.sf-menu > li:focus-within > ul,
ul#nav > li:hover > ul,
ul#nav > li.sfHover > ul,
ul#nav > li.sf-hover > ul,
ul#nav > li:focus-within > ul {
  left: 0 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
}

/* Extra hover bridge above dropdown (doesn't cover parent link) */
ul.sf-menu ul::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

ul.sf-menu ul li {
  float: none !important;
  width: 100% !important;
  display: block !important;
}

ul.sf-menu ul li a {
  border-radius: 10px !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  white-space: nowrap;
  display: block !important;
}

ul.sf-menu ul li a:hover,
ul.sf-menu ul li a:focus {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2), rgba(34, 211, 238, 0.12)) !important;
  color: #fff !important;
}

.pdp-nav-dropdown > a::after,
a.pdp-nav-dropdown__toggle::after {
  content: '▾';
  display: inline-block;
  margin-left: 6px;
  font-size: 0.75em;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.pdp-nav-dropdown:hover > a::after,
.pdp-nav-dropdown.sfHover > a::after,
.pdp-nav-dropdown:focus-within > a::after {
  transform: rotate(180deg);
}

span.sf-arrow {
  display: none !important;
}

header,
#logo,
nav,
#menu_container {
  overflow: visible !important;
}

#site_content {
  width: 100% !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 8px 16px 28px !important;
  box-sizing: border-box;
  overflow: visible !important;
}

#site_content::after {
  content: '';
  display: table;
  clear: both;
}

#sidebar_container {
  width: 260px !important;
  overflow: visible !important;
}

#sidebar_container .sidebar,
.sidebar.pdp-panel {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
}

.content {
  width: calc(100% - 280px) !important;
  font-size: 100% !important;
  color: var(--text);
}

.sidebar,
#changelogTable,
table,
.venore-table,
.content table {
  background: rgba(10, 14, 24, 0.92) !important;
  border: 1px solid rgba(250, 204, 21, 0.14) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  color: var(--text) !important;
}

.pdp-panel {
  margin-bottom: 16px;
  padding: 0 !important;
  overflow: hidden;
  background: rgba(10, 14, 24, 0.92) !important;
  border: 1px solid rgba(250, 204, 21, 0.14);
  border-radius: var(--radius);
}

.pdp-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(34, 211, 238, 0.05));
}

.pdp-panel__head h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  line-height: 1.3;
}

.pdp-panel__head h2 strong {
  color: var(--cyan) !important;
  font-weight: 800;
}

.pdp-panel__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(34, 211, 238, 0.2));
  border: 1px solid var(--stroke);
  flex-shrink: 0;
}

.pdp-panel__body {
  padding: 14px 16px 16px;
}

.sidebar h3,
.sidebar h4 {
  color: var(--text) !important;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 10px !important;
}

.sidebar li a,
.sidebar li a:hover,
.content ul li {
  color: rgba(236, 240, 255, 0.92) !important;
  background: none !important;
  padding-left: 0 !important;
}

/* style.css dokleja pokeball (bullet.png) na kazde .sidebar ul li — wylaczamy to */
.sidebar ul li,
#sidebar_container .sidebar ul li,
.pdp-panel ul li {
  list-style: none !important;
  background: none !important;
  background-image: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.sidebar li a:hover {
  color: #fff !important;
}

.content ul li {
  list-style: disc inside;
  background: none !important;
  background-image: none !important;
  padding-left: 0.25em !important;
}

#changelogTable td,
#changelogTable tr.yellow td,
table td,
table th {
  background: transparent !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}

#changelogTable tr.yellow td {
  color: var(--amber) !important;
  font-weight: 700;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
  background: rgba(4, 8, 16, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
  padding: 10px 12px !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.35) !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

input[type="submit"],
button,
.button,
.btn,
#createaccount {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(34, 211, 238, 0.85)) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  cursor: pointer;
}

input[type="submit"]:hover,
button:hover {
  filter: brightness(1.05);
}

footer {
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.55), rgba(8, 12, 18, 0.78)) !important;
  border-top: 1px solid rgba(250, 204, 21, 0.12) !important;
  color: var(--muted) !important;
  border-radius: 18px 18px 0 0;
  margin-top: 24px;
  backdrop-filter: blur(10px);
}

footer a {
  color: var(--muted) !important;
}

.paperclip {
  display: none;
}

blockquote {
  background: var(--card) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: var(--radius) !important;
  color: var(--muted) !important;
}

#scroll .top {
  filter: brightness(1.2);
}

/* --- Landing / hero --- */

.pdp-top-countdown {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  margin: 0 0 10px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.22), rgba(12, 16, 28, 0.92) 35%, rgba(34, 211, 238, 0.14));
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pdp-top-countdown.is-live {
  border-bottom-color: rgba(34, 197, 94, 0.45);
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.22), rgba(12, 16, 28, 0.92) 40%, rgba(34, 197, 94, 0.12));
}

.pdp-top-countdown__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  box-sizing: border-box;
}

.pdp-top-countdown__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.9) !important;
}

.pdp-top-countdown__time {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: #fbbf24 !important;
  line-height: 1;
}

.pdp-top-countdown.is-live .pdp-top-countdown__time {
  color: #4ade80 !important;
}

.pdp-top-countdown__when {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 245, 220, 0.88) !important;
}

.pdp-top-countdown__status {
  font-size: 0.8rem;
  color: rgba(232, 236, 255, 0.7) !important;
}

@media (max-width: 720px) {
  .pdp-top-countdown__inner {
    gap: 6px 10px;
    padding: 8px 12px;
  }

  .pdp-top-countdown__time {
    font-size: 1.05rem;
  }

  .pdp-top-countdown__status {
    width: 100%;
    text-align: center;
  }
}

.pdp-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 8px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.pdp-server-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pdp-server-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 245, 220, 0.92) !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.pdp-server-strip__item strong {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.pdp-server-strip__label {
  color: rgba(255, 245, 220, 0.62);
  font-weight: 600;
}

.pdp-server-strip__item--muted {
  opacity: 0.92;
}

.pdp-server-strip__item--rates {
  color: rgba(253, 230, 138, 0.92) !important;
  border-color: rgba(34, 211, 238, 0.2);
  background: rgba(34, 211, 238, 0.06);
}

.pdp-server-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7c72;
  flex-shrink: 0;
}

.pdp-server-strip__item.is-online {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
}

.pdp-server-strip__item.is-online .pdp-server-strip__dot {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: pdp-status-pulse 1.8s ease-out infinite;
}

.pdp-server-strip__item.is-offline {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
}

.pdp-server-strip__item.is-offline .pdp-server-strip__dot {
  background: #f87171;
}

@keyframes pdp-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

a.pdp-server-strip__item:hover {
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.1);
}

.pdp-lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.pdp-lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 6px 10px !important;
  border-radius: 9px !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 245, 220, 0.75) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

.pdp-lang-switch__btn:hover,
.pdp-lang-switch__btn.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.35), rgba(34, 211, 238, 0.22)) !important;
  border-color: rgba(250, 204, 21, 0.35) !important;
}

.pdp-download-card {
  margin-bottom: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
}

.pdp-download-card h2 {
  margin: 0 0 8px !important;
  font-size: 1.2rem !important;
}

.pdp-download-meta {
  margin: 10px 0;
  color: var(--muted) !important;
}

.pdp-download-warn {
  color: #fecaca !important;
}

.pdp-download-card--featured {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(15, 23, 42, 0.55));
}

.pdp-download-card--setup {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(15, 23, 42, 0.55));
}

.pdp-setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.pdp-setup-item {
  padding: 14px 16px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.45);
}

.pdp-setup-item h3 {
  margin: 0 0 8px !important;
  font-size: 1rem !important;
}

.pdp-setup-item p {
  margin: 0 0 12px !important;
  color: var(--muted) !important;
  line-height: 1.45;
  font-size: 0.92rem;
}

.pdp-setup-item .pdp-btn {
  margin: 0 8px 8px 0;
}

.pdp-fix-list li {
  margin-bottom: 10px;
  line-height: 1.45;
}

.pdp-download-steps {
  margin-top: 14px;
}

.pdp-download-widget {
  overflow: hidden;
  box-sizing: border-box;
  border-color: rgba(34, 211, 238, 0.3) !important;
  background:
    radial-gradient(260px 180px at 105% 0%, rgba(34, 211, 238, 0.13), transparent 68%),
    rgba(8, 13, 24, 0.96) !important;
}

.pdp-download-widget .pdp-panel__head {
  padding: 16px;
  border-bottom-color: rgba(34, 211, 238, 0.16);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 58, 237, 0.08));
}

.pdp-download-widget__icon {
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  border-color: rgba(34, 211, 238, 0.38);
  background: linear-gradient(145deg, #2563eb, #06b6d4);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.2);
}

.pdp-download-widget__heading {
  min-width: 0;
}

.pdp-download-widget__heading h2 {
  font-size: 1.05rem !important;
}

.pdp-download-widget__platform {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-download-widget .pdp-panel__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px !important;
  box-sizing: border-box;
  min-width: 0;
}

.pdp-download-widget__lead {
  color: #cbd5e1 !important;
  font-size: 0.92rem;
}

.pdp-download-widget .pdp-download-widget__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px !important;
  border: 1px solid rgba(103, 232, 249, 0.5) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #4f46e5, #0891b2) !important;
  box-shadow: 0 10px 26px rgba(8, 145, 178, 0.24);
  text-align: left;
}

.pdp-download-widget__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.32);
}

.pdp-download-widget__cta-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.pdp-download-widget__cta span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pdp-download-widget__cta strong {
  color: #fff !important;
  font-size: 1rem;
}

.pdp-download-widget__cta small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.74rem;
  font-weight: 600;
}

.pdp-download-widget__facts {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.5);
}

.pdp-download-widget__fact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
}

.pdp-download-widget__fact + .pdp-download-widget__fact {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.pdp-download-widget__fact span {
  color: #94a3b8;
  font-size: 0.78rem;
}

.pdp-download-widget__fact strong {
  color: #e2e8f0 !important;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.pdp-download-widget__update {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.07);
}

.pdp-download-widget__check {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #052e16;
  background: #4ade80;
  font-size: 0.78rem;
  font-weight: 900;
}

.pdp-download-widget__update div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pdp-download-widget__update strong {
  color: #bbf7d0 !important;
  font-size: 0.82rem;
}

.pdp-download-widget__update span:last-child {
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.35;
}

.pdp-download-widget__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
}

.pdp-download-widget__links a {
  color: #67e8f9 !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
}

.pdp-download-widget__links a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.pdp-download-widget .pdp-panel__body > p {
  margin: 0 !important;
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.pdp-download-widget .pdp-download-meta {
  margin: 0 !important;
  font-size: 0.9rem;
}

.pdp-download-widget .pdp-btn {
  margin-top: 4px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.pdp-spawnmap-heatmap-notice {
  margin-bottom: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a !important;
}

.pdp-spawnmap-heatmap-notice p {
  margin: 0.4rem 0 0;
  line-height: 1.5;
}

.pdp-spawnmap-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pdp-spawnmap-map-col {
  min-width: 0;
  width: 100%;
}

.pdp-spawnmap-map-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pdp-spawnmap-map-toolbar__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.pdp-spawnmap-zoom-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.pdp-spawnmap-zoom-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

.pdp-spawnmap-zoom-btn--reset {
  font-size: 0.82rem;
  margin-left: 4px;
}

.pdp-spawnmap-zoom-level {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  color: #e8ecff !important;
}

.pdp-spawnmap-map-viewport {
  overflow: auto;
  max-height: min(72vh, 820px);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: #0c1018;
  padding: 12px;
}

.pdp-spawnmap-map-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.pdp-spawnmap-map-stage {
  position: relative;
  transform-origin: top left;
  display: inline-block;
}

.pdp-spawnmap-map-img {
  display: block;
  max-width: none;
  width: auto;
  height: auto;
  user-select: none;
  image-rendering: pixelated;
}

.pdp-spawnmap-map-img--boost {
  filter: contrast(1.25) saturate(1.35) brightness(1.08);
}

#spawnMapOverlay {
  position: absolute;
  left: 0;
  top: 0;
  cursor: crosshair;
}

.pdp-spawnmap-tooltip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(10, 14, 24, 0.92);
  color: #e8ecff !important;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pdp-spawnmap-map-hint {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--muted) !important;
}

.pdp-spawnmap-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdp-spawnmap-field--search {
  position: relative;
}

.pdp-spawnmap-search-wrap {
  position: relative;
}

.pdp-spawnmap-suggest {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 240px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #12182a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.pdp-spawnmap-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--muted) !important;
  cursor: pointer;
  user-select: none;
}

.pdp-spawnmap-toggle input {
  accent-color: #22d3ee;
}

.pdp-spawnmap-area-header,
.pdp-spawnmap-species-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.pdp-spawnmap-area-header .pdp-spawnmap-meta,
.pdp-spawnmap-species-header .pdp-spawnmap-meta {
  margin: 4px 0 0;
}

.pdp-spawnmap-area-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  max-width: 140px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.pdp-spawnmap-species-sprite-wrap {
  flex: 0 0 auto;
}

.pdp-spawnmap-sprite {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pdp-spawnmap-sprite img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.pdp-spawnmap-sprite-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #cbd5ff !important;
  background: rgba(34, 211, 238, 0.12);
}

.pdp-spawnmap-sprite--hero {
  width: 72px;
  height: 72px;
}

.pdp-spawnmap-sprite--card {
  width: 44px;
  height: 44px;
}

.pdp-spawnmap-sprite--suggest {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.pdp-spawnmap-poke-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.pdp-spawnmap-poke-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #e8ecff !important;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pdp-spawnmap-poke-card:hover,
.pdp-spawnmap-poke-card:focus {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.pdp-spawnmap-poke-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.pdp-spawnmap-tag--zone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pdp-spawnmap-zone-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--area-color, #22d3ee);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.pdp-spawnmap-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: #e8ecff !important;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
}

.pdp-spawnmap-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.08);
  color: #e8ecff !important;
  font-size: 0.92rem;
}

.pdp-spawnmap-tag--click {
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.pdp-spawnmap-tag--click:hover,
.pdp-spawnmap-tag--click:focus {
  border-color: rgba(34, 211, 238, 0.65);
  background: rgba(34, 211, 238, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.pdp-spawnmap-suggest-item:hover,
.pdp-spawnmap-suggest-item:focus {
  background: rgba(34, 211, 238, 0.12);
  outline: none;
}

.pdp-spawnmap-panel-hint {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted) !important;
}

.pdp-spawnmap-meta {
  margin: 0 0 16px;
  color: var(--muted) !important;
}

.pdp-spawnmap-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.pdp-spawnmap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
  flex: 1;
}

.pdp-spawnmap-field span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-spawnmap-field select,
.pdp-spawnmap-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: #fff !important;
  font-size: 1rem;
}

.pdp-spawnmap-panel {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
}

.pdp-spawnmap-panel h2 {
  margin: 0 0 6px !important;
  font-size: 1.25rem !important;
}

.pdp-spawnmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pdp-login-links {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.88rem;
}

.pdp-login-links a {
  font-weight: 700;
}

.pdp-login-links__sep {
  margin: 0 6px;
  color: var(--muted) !important;
  opacity: 0.5;
}

.pdp-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-field__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted) !important;
}

.pdp-field input {
  width: 100%;
  box-sizing: border-box;
}

.pdp-btn--block {
  display: flex !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box !important;
  margin-top: 4px;
}

.pdp-btn--sm {
  padding: 8px 12px !important;
  font-size: 0.85rem !important;
}

.pdp-account-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-account-nav__item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--muted) !important;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pdp-account-nav__item:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--stroke) !important;
}

.pdp-account-nav__item--accent {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(34, 211, 238, 0.15)) !important;
  border-color: rgba(124, 58, 237, 0.35) !important;
  color: var(--text) !important;
}

.pdp-account-nav__item--muted {
  margin-top: 4px;
  font-size: 0.88rem;
  opacity: 0.85;
}

.pdp-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-search-form__input {
  width: 100%;
  box-sizing: border-box;
}

.pdp-server-stats {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-server-stats li {
  color: rgba(236, 240, 255, 0.92) !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  background: none !important;
  background-image: none !important;
  list-style: none !important;
}

.pdp-server-stats li a {
  display: inline;
  color: rgba(236, 240, 255, 0.95) !important;
  background: none !important;
  padding: 0 !important;
  text-decoration: none;
}

.pdp-server-stats li a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.pdp-server-stats strong {
  color: #fff !important;
  font-weight: 700;
}

.pdp-server-stats__status {
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 10px !important;
  border-radius: 10px;
  border: 1px solid var(--stroke);
}

.pdp-server-stats__status.is-online {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.25);
}

.pdp-server-stats__status.is-offline {
  color: #f87171 !important;
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.25);
}

.pdp-server-stats__rates {
  font-size: 0.88rem;
  line-height: 1.45;
}

.pdp-rates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 10px;
}

.pdp-rate-card {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(8, 12, 22, 0.88);
  text-align: center;
}

.pdp-rate-card__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-bottom: 6px;
}

.pdp-rate-card__value {
  display: block;
  font-size: 1.55rem;
  color: #fde68a !important;
}

.pdp-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.pdp-info-table th,
.pdp-info-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted) !important;
}

.pdp-info-table th {
  color: var(--text) !important;
  font-size: 0.85rem;
}

.pdp-info-table code {
  color: #67e8f9 !important;
  background: rgba(0, 0, 0, 0.28);
  padding: 2px 6px;
  border-radius: 8px;
}

.pdp-muted {
  color: var(--muted) !important;
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .pdp-rates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pdp-top-players {
  margin: 0;
  padding: 0 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-top-players li {
  color: var(--muted) !important;
  list-style: decimal;
}

.pdp-top-players li span {
  opacity: 0.75;
  font-size: 0.88rem;
}

.pdp-muted {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.9rem;
}

.content form > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.content form > ul > li {
  list-style: none;
  color: var(--muted) !important;
}

.content form > ul input[type="text"],
.content form > ul input[type="password"],
.content form > ul input[type="email"],
.content form > ul select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}

.content form > ul input[type="submit"] {
  margin-top: 6px;
}

.pdp-form-card {
  max-width: 460px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pdp-form-card > ul {
  max-width: none;
}

#sidebar_container .sidebar {
  margin-bottom: 16px;
}

.pdp-login-errors {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca !important;
  font-size: 0.92rem;
}

.pdp-login-errors ul {
  margin: 0;
  padding-left: 18px;
}

.pdp-staff-login-teaser {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(248, 113, 113, 0.22);
}

.pdp-btn--staff {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(245, 158, 11, 0.28));
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca !important;
  font-weight: 800;
}

.pdp-btn--staff:hover {
  color: #fff !important;
  border-color: #f87171;
}

.pdp-staff-login {
  display: flex;
  justify-content: center;
  padding: 12px 0 28px;
}

.pdp-staff-login__card {
  width: min(100%, 460px);
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.pdp-staff-login__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pdp-staff-login__card h1 {
  margin: 0 0 8px;
  color: #fff;
}

.pdp-staff-login__card p {
  margin: 0 0 16px;
  color: #cbd5e1;
}

.pdp-staff-login__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-staff-login__hint {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(71, 85, 105, 0.45);
  color: #94a3b8 !important;
  font-size: 0.88rem;
}

.pdp-staff-login__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pdp-staff-login__alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.pdp-staff-login__alert--err {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca !important;
}

.pdp-staff-login__alert--ok {
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0 !important;
}

.pdp-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 28px 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background:
    radial-gradient(600px 280px at 10% 0%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(500px 260px at 90% 20%, rgba(245, 158, 11, 0.14), transparent 65%),
    rgba(8, 12, 20, 0.55);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.pdp-hero__glow {
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 70%);
  pointer-events: none;
}

.pdp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.pdp-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan) !important;
}

.pdp-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  line-height: 1.1;
  color: var(--text) !important;
}

.pdp-hero__badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 999px;
}

.pdp-hero__lead {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted) !important;
}

.pdp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
  padding: 11px 18px !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.pdp-btn:hover {
  color: #fff !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.pdp-btn--primary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(34, 211, 238, 0.85)) !important;
}

.pdp-btn--ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text) !important;
}

.pdp-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pdp-stat-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.22);
}

.pdp-stat-card__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted) !important;
}

.pdp-stat-card__value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text) !important;
}

.pdp-stat-card__value.is-online {
  color: #4ade80 !important;
}

.pdp-stat-card__value.is-offline {
  color: #f87171 !important;
}

.pdp-stat-card__value.is-closed,
.pdp-server-strip__item.is-closed,
.pdp-server-stats__status.is-closed {
  color: #fbbf24 !important;
}

.pdp-server-strip__item.is-closed .pdp-server-strip__dot {
  background: #fbbf24;
}

.pdp-features-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.pdp-feature-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pdp-feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem !important;
  color: var(--text) !important;
}

.pdp-feature-card p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.pdp-feature-card a {
  font-weight: 700;
}

.pdp-feature-card--highlight {
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.35), rgba(15, 23, 42, 0.9));
  box-shadow: 0 12px 40px rgba(88, 28, 135, 0.35);
}

.pdp-howto {
  margin: 8px 0 28px;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    radial-gradient(ellipse at top right, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.88));
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
}

.pdp-howto__eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc !important;
  font-weight: 700;
}

.pdp-howto__title {
  margin: 0 0 8px;
  font-size: 1.45rem !important;
  color: var(--text) !important;
}

.pdp-howto__lead {
  margin: 0 0 18px;
  max-width: 52rem;
  line-height: 1.55;
  color: var(--muted, #cbd5e1) !important;
}

.pdp-howto__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pdp-howto__step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 14px 12px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--stroke);
  background: rgba(2, 6, 23, 0.35);
}

.pdp-howto__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-weight: 800;
  color: #0f172a !important;
  background: linear-gradient(145deg, #7dd3fc, #38bdf8);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.pdp-howto__step h3 {
  margin: 2px 0 6px;
  font-size: 1.05rem !important;
  color: var(--text) !important;
}

.pdp-howto__step p {
  margin: 0 0 8px;
  line-height: 1.5;
  font-size: 0.94rem;
}

.pdp-howto__meta {
  margin: 0 0 10px !important;
  font-size: 0.86rem !important;
  color: #94a3b8 !important;
}

.pdp-howto__note {
  margin: 16px 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #bae6fd !important;
}

.pdp-howto__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 720px) {
  .pdp-howto {
    padding: 16px;
  }

  .pdp-howto__step {
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }

  .pdp-howto__num {
    width: 36px;
    height: 36px;
  }
}

.pdp-guide-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.pdp-guide-hub__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pdp-guide-hub__card:hover {
  border-color: rgba(168, 85, 247, 0.55);
  transform: translateY(-1px);
}

.pdp-guide-hub__card strong {
  font-size: 1.02rem;
  color: var(--text);
}

.pdp-guide-hub__card span {
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.85;
}

.pdp-guide-subtitle {
  margin: 22px 0 10px;
  font-size: 1.1rem !important;
  color: var(--text) !important;
}

.pdp-page-intro {
  margin-bottom: 24px;
}

.pdp-page-intro h1 {
  margin-bottom: 8px;
}

.pdp-feature-section {
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--card);
}

.pdp-feature-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pdp-stoneforge-icon,
.pdp-guide-hub__icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.28));
}

.pdp-stoneforge-icon {
  width: 40px;
  height: 40px;
}

.pdp-guide-hub__icon {
  width: 30px;
  height: 30px;
}

.pdp-feature-section h2 {
  margin: 0 !important;
  font-size: 1.35rem !important;
}

.pdp-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: rgba(124, 58, 237, 0.85);
  border-radius: 999px;
}

.pdp-tag--amber {
  background: rgba(245, 158, 11, 0.9);
}

.pdp-tag--cyan {
  background: rgba(34, 211, 238, 0.85);
  color: #06202a !important;
}

.pdp-tag--purple {
  background: rgba(168, 85, 247, 0.9);
}

.pdp-list {
  margin: 0;
  padding-left: 1.2rem;
}

.pdp-list li {
  margin-bottom: 6px;
  color: var(--muted) !important;
  list-style: disc;
}

.pdp-list--ordered {
  padding-left: 1.4rem;
}

.pdp-list--ordered li {
  list-style: decimal;
}

.pdp-list code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--cyan) !important;
  font-size: 0.9em;
}

.pdp-site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 8px;
  text-decoration: none !important;
}

.pdp-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin: 0 0 10px;
  box-sizing: border-box;
}

.pdp-header-bar #logo {
  flex: 0 1 auto;
  min-width: 0;
  z-index: 2;
}

.pdp-header-art {
  position: relative;
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 460px;
  height: 88px;
  margin-left: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 180, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.35);
  background: #0b1220;
}

.pdp-header-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 14, 22, 0.55) 0%, transparent 28%, transparent 72%, rgba(10, 14, 22, 0.35) 100%);
}

.pdp-header-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.04);
}

.pdp-nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.14), rgba(34, 211, 238, 0.1));
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 236, 180, 0.12);
}

.pdp-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fde68a;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.pdp-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pdp-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.pdp-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pdp-site-logo__mark {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: none;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.4), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.pdp-site-logo__text strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text) !important;
  line-height: 1.1;
}

.pdp-site-logo__text span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content h1.pdp-section-title {
  margin: 0 0 16px;
  font-size: 1.2rem !important;
  color: var(--muted) !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* News thumbnails + one cohesive scenic layer across content cards */
.pdp-news-preview,
.pdp-news-detail,
.pdp-feature-section,
.pdp-guide-hub__card,
.pdp-howto,
.pdp-launch-banner,
.pdp-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pdp-news-preview::before,
.pdp-news-detail::before,
.pdp-feature-section::before,
.pdp-guide-hub__card::before,
.pdp-howto::before,
.pdp-launch-banner::before,
.pdp-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(8, 12, 22, 0.94), rgba(8, 12, 22, 0.74)),
    url('../images/pokeone-client-scene.png') center / cover no-repeat;
  opacity: 0.16;
}

.pdp-news-preview {
  margin-bottom: 16px !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pdp-news-preview:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.34) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(124, 58, 237, 0.12);
}

.pdp-news-preview__layout {
  display: grid;
  grid-template-columns: minmax(190px, 34%) 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 5px;
}

.pdp-news-preview__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.pdp-news-preview__copy > p:first-child {
  margin-top: 0;
  line-height: 1.65;
}

.pdp-news-thumb {
  position: relative;
  display: block;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(8, 12, 22, 0.08), rgba(8, 12, 22, 0.68)),
    url('../images/pokeone-client-scene.png') 68% center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px rgba(0, 0, 0, 0.3);
}

.pdp-news-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 34%, rgba(103, 232, 249, 0.22), transparent 38%);
}

.pdp-news-thumb img {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 8px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.7));
  transform: scale(1.08);
  transition: transform 0.18s ease;
}

.pdp-news-thumb--forge img {
  image-rendering: auto;
}

.pdp-news-thumb:hover img {
  transform: scale(1.16) translateY(-2px);
}

.pdp-news-thumb__label {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 92px);
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(5, 9, 18, 0.78);
  backdrop-filter: blur(8px);
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-news-thumb--shiny { background-position: 88% 42%; box-shadow: inset 0 0 42px rgba(168, 85, 247, 0.2), 0 14px 28px rgba(0, 0, 0, 0.3); }
.pdp-news-thumb--radar { background-position: 10% 45%; box-shadow: inset 0 0 42px rgba(34, 211, 238, 0.18), 0 14px 28px rgba(0, 0, 0, 0.3); }
.pdp-news-thumb--client { background-position: 53% 36%; box-shadow: inset 0 0 42px rgba(250, 204, 21, 0.17), 0 14px 28px rgba(0, 0, 0, 0.3); }
.pdp-news-thumb--tasks { background-position: 64% 26%; box-shadow: inset 0 0 42px rgba(249, 115, 22, 0.18), 0 14px 28px rgba(0, 0, 0, 0.3); }
.pdp-news-thumb--launch { background-position: 42% 42%; box-shadow: inset 0 0 42px rgba(244, 114, 182, 0.18), 0 14px 28px rgba(0, 0, 0, 0.3); }

.pdp-news-thumb--wide {
  min-height: 220px;
  margin: 4px 4px 22px;
  background-position: center;
}

.pdp-news-thumb--wide img {
  right: 6%;
  bottom: 12px;
  width: 132px;
  height: 132px;
}

@media (max-width: 720px) {
  .pdp-news-preview__layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pdp-news-thumb {
    min-height: 132px;
  }

  .pdp-news-thumb--wide {
    min-height: 170px;
  }

  .pdp-news-thumb--wide img {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 980px) {
  #main {
    width: min(100%, calc(100% - 16px)) !important;
    margin: 0 auto !important;
    padding: 0 0 24px !important;
  }

  header {
    border-radius: 0 0 14px 14px;
    margin-bottom: 10px;
    padding: 0 4px;
  }

  .pdp-header-inner {
    padding: 10px 12px 12px;
  }

  .pdp-header-top {
    padding: 0 0 8px;
    gap: 8px;
  }

  .pdp-server-strip {
    gap: 6px;
    width: calc(100% - 90px);
  }

  .pdp-server-strip__item {
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .pdp-server-strip__item--rates {
    display: none;
  }

  .pdp-server-strip__label {
    font-size: 0.68rem;
  }

  .pdp-header-art {
    display: none;
  }

  .pdp-site-logo {
    padding: 10px 0;
    gap: 12px;
  }

  .pdp-site-logo__mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .pdp-site-logo__text strong {
    font-size: 1.25rem;
  }

  .pdp-site-logo__text span {
    font-size: 0.72rem;
  }

  .pdp-nav-toggle {
    display: inline-flex;
  }

  #pdp-nav {
    display: none;
    width: 100%;
    margin: 0 0 12px;
    padding: 8px;
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 16px;
    background: rgba(10, 14, 22, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 236, 180, 0.1);
  }

  #pdp-nav.is-open {
    display: block;
  }

  #menu_container {
    width: 100% !important;
  }

  ul.sf-menu {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 4px !important;
    justify-content: flex-start !important;
  }

  ul.sf-menu > li {
    width: 100% !important;
  }

  ul.sf-menu > li > a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    font-size: 0.98rem !important;
  }

  ul.sf-menu ul {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    padding: 4px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  ul.sf-menu > li:hover > ul,
  ul.sf-menu > li.sfHover > ul,
  ul.sf-menu > li.sf-hover > ul,
  ul.sf-menu > li:focus-within > ul {
    display: none !important;
  }

  ul.sf-menu > li.sfHover > ul,
  ul.sf-menu > li.sf-hover > ul {
    display: block !important;
  }

  ul.sf-menu ul li a {
    min-height: 42px;
    padding: 10px 12px !important;
  }

  #site_content {
    width: min(100%, calc(100% - 16px)) !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px !important;
  }

  /* Flatten sidebar so Fire Event + Login can sit above hero */
  #sidebar_container {
    display: contents;
    float: none !important;
    width: 100% !important;
    margin-top: 0;
  }

  #sidebar_container > .sidebar {
    width: 100% !important;
  }

  .pdp-fire-widget {
    order: -30;
  }

  .pdp-launch-widget {
    order: -35;
  }

  .pdp-login-panel,
  .pdp-logged-panel,
  .pdp-gm-widget {
    order: -20;
  }

  .content {
    order: 0;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }

  .pdp-search-widget {
    order: 10;
  }

  .pdp-top-widget {
    order: 20;
  }

  .pdp-download-widget,
  .pdp-server-widget {
    order: 30;
  }

  .pdp-btn--mobile-hide {
    display: none !important;
  }

  .pdp-hero {
    margin-bottom: 16px;
    padding: 22px 18px 18px;
  }

  .pdp-hero__inner,
  .pdp-features-preview {
    grid-template-columns: 1fr;
  }

  .pdp-hero__lead {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }

  .pdp-hero__actions {
    gap: 8px;
  }

  .pdp-hero__actions .pdp-btn {
    flex: 1 1 calc(50% - 8px);
    min-height: 46px;
    padding: 12px 14px !important;
  }

  .pdp-hero__actions .pdp-btn--primary {
    flex: 1 1 100%;
  }

  .pdp-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .pdp-stat-card {
    padding: 12px 10px;
  }

  .pdp-stat-card__label {
    font-size: 0.68rem;
  }

  .pdp-stat-card__value {
    font-size: 1rem;
  }

  .pdp-features-preview {
    gap: 10px;
    margin-bottom: 18px;
  }

  .pdp-feature-card {
    padding: 16px;
  }

  .pdp-panel__head {
    padding: 12px 14px 8px;
  }

  .pdp-panel__body {
    padding: 12px 14px 14px;
  }

  .content form > ul input[type="text"],
  .content form > ul input[type="password"],
  .content form > ul input[type="email"],
  .content form > ul select,
  .content form > ul input[type="submit"],
  .pdp-btn {
    min-height: 44px;
  }

  .content table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .pdp-hero__stats {
    grid-template-columns: 1fr;
  }

  .pdp-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }

  .pdp-stat-card__label {
    margin: 0;
  }

  .pdp-site-logo__text span {
    max-width: 18ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* First viewport: Event + Login; hide redundant widgets lower down */
  .pdp-download-widget,
  .pdp-server-widget {
    display: none;
  }

  .pdp-fire-widget {
    margin-bottom: 0;
  }

  .pdp-fire-widget .pdp-panel__body {
    padding: 10px 14px 12px;
  }

  .pdp-fire-widget__hint {
    display: none;
  }

  .pdp-fire-widget__time {
    margin: 0 0 4px;
    font-size: 0.85rem;
  }

  .pdp-fire-widget__countdown {
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    margin: 2px 0 6px;
    line-height: 1.15;
  }

  .pdp-fire-widget__status {
    margin: 0 0 6px;
    font-size: 0.88rem;
  }

  .pdp-fire-widget__link {
    font-size: 0.85rem;
  }

  .pdp-login-panel .pdp-panel__body {
    padding: 12px 14px 14px;
  }

  .pdp-login-panel .pdp-field__label,
  .pdp-logged-panel .pdp-panel__head h2 {
    font-size: 0.95rem;
  }

  .pdp-login-form {
    gap: 10px;
  }

  .pdp-login-form .pdp-btn,
  .pdp-login-form input {
    min-height: 46px;
    font-size: 1rem;
  }
}

.pdp-nav-shop {
  color: #fde68a !important;
  font-weight: 800 !important;
}

.pdp-logged-points {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a !important;
  font-size: 0.9rem;
}

.pdp-logged-points strong {
  font-size: 1.15rem;
  color: #fff !important;
}

.pdp-account-nav__item--shop {
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fde68a !important;
  font-weight: 800;
}

.pdp-nav-events,
.pdp-nav-events:hover {
  color: #fecaca !important;
}

/* --- Server launch countdown --- */
.pdp-launch-banner {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.35);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(245, 158, 11, 0.22), transparent 70%),
    radial-gradient(420px 160px at 100% 100%, rgba(34, 211, 238, 0.16), transparent 65%),
    rgba(12, 16, 28, 0.75);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pdp-launch-banner.is-live {
  border-color: rgba(34, 197, 94, 0.45);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(34, 197, 94, 0.2), transparent 70%),
    rgba(12, 16, 28, 0.75);
}

.pdp-launch-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.pdp-launch-banner__tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a !important;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.pdp-launch-banner.is-live .pdp-launch-banner__tag {
  color: #bbf7d0 !important;
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.4);
}

.pdp-launch-banner__title {
  margin: 0 0 6px !important;
  font-size: 1.45rem !important;
  color: #fff !important;
}

.pdp-launch-banner__when,
.pdp-launch-banner__status {
  margin: 0 0 4px;
  color: var(--muted) !important;
}

.pdp-launch-banner__when strong {
  color: #fde68a !important;
}

.pdp-launch-banner__timer {
  text-align: right;
  min-width: 160px;
}

.pdp-launch-banner__timer-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 236, 255, 0.65) !important;
}

.pdp-launch-banner__countdown {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fbbf24 !important;
  font-variant-numeric: tabular-nums;
}

.pdp-launch-banner.is-live .pdp-launch-banner__countdown {
  color: #4ade80 !important;
}

.pdp-launch-widget__when {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

.pdp-launch-widget__when strong {
  display: block;
  margin-top: 2px;
  color: #fde68a !important;
}

.pdp-launch-widget__countdown {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fbbf24 !important;
  font-variant-numeric: tabular-nums;
}

.pdp-launch-widget.is-live .pdp-launch-widget__countdown {
  color: #4ade80 !important;
}

.pdp-launch-widget__status {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .pdp-launch-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdp-launch-banner__timer {
    text-align: left;
  }

  .pdp-launch-banner__countdown {
    font-size: 1.65rem;
  }
}

.pdp-nav-gm,
.pdp-nav-gm:hover {
  color: #fecaca !important;
  font-weight: 800 !important;
}

.pdp-events-card {
  border-left: 4px solid #ef4444;
}

.pdp-events-reward {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a !important;
}

.pdp-fire-widget__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-fire-widget__time {
  margin: 0;
  color: #cbd5e1 !important;
  font-size: 13px;
}

.pdp-fire-widget__time strong {
  color: #fde68a !important;
  font-size: 18px;
}

.pdp-fire-widget__countdown {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f87171 !important;
  font-variant-numeric: tabular-nums;
}

.pdp-fire-widget__body.is-register .pdp-fire-widget__countdown {
  color: #4ade80 !important;
}

.pdp-fire-widget__status {
  margin: 0;
  color: #e2e8f0 !important;
  font-size: 13px;
  line-height: 1.4;
}

.pdp-fire-widget__hint {
  margin: 0;
  color: #94a3b8 !important;
  font-size: 12px;
}

.pdp-fire-widget__link {
  margin-top: 4px;
  font-size: 12px;
  color: #fca5a5 !important;
}

.pdp-fire-schedule {
  border-left: 4px solid #ef4444;
  margin-bottom: 20px;
}

.pdp-fire-schedule__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.pdp-fire-schedule__box {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  text-align: center;
}

.pdp-fire-schedule__box--main {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(127, 29, 29, 0.18);
}

.pdp-fire-schedule__label {
  display: block;
  margin-bottom: 6px;
  color: #94a3b8 !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-fire-schedule__box strong {
  color: #f8fafc !important;
  font-size: 20px;
}

.pdp-fire-schedule__timer {
  display: block;
  font-size: 36px !important;
  color: #f87171 !important;
  font-variant-numeric: tabular-nums;
}

.pdp-fire-schedule.is-register .pdp-fire-schedule__timer {
  color: #4ade80 !important;
}

.pdp-fire-schedule__phase {
  display: block;
  margin-top: 8px;
  color: #cbd5e1 !important;
  font-size: 13px;
}

@media (max-width: 720px) {
  .pdp-fire-schedule__grid {
    grid-template-columns: 1fr;
  }
}

.pdp-shop-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.22);
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(245, 158, 11, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.04);
}

.pdp-shop-hero--compact {
  margin-bottom: 18px;
}

.pdp-shop-hero h1 {
  margin: 0 0 8px !important;
}

.pdp-shop-hero p {
  margin: 0;
  color: var(--muted) !important;
  max-width: 52ch;
}

.pdp-shop-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 180px;
}

.pdp-shop-balance--guest {
  align-items: flex-start;
}

.pdp-shop-balance__label {
  font-size: 0.82rem;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-shop-balance__value {
  font-size: 2rem;
  line-height: 1;
  color: #fde68a !important;
}

.pdp-shop-balance__unit {
  font-size: 0.88rem;
  color: var(--muted) !important;
}

.pdp-shop-balance__buy {
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a !important;
  font-weight: 700;
  text-decoration: none !important;
}

.pdp-shop-flash {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
}

.pdp-shop-flash--ok {
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0 !important;
}

.pdp-shop-flash--error {
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca !important;
}

.pdp-shop-flash--info {
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
  color: #cffafe !important;
}

.pdp-shop-hint {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
}

.pdp-shop-hint p {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.92rem;
}

.pdp-shop-section {
  margin-bottom: 28px;
}

.pdp-shop-section__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px !important;
}

.pdp-shop-section__count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.pdp-shop-section__badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff !important;
}

.pdp-shop-section__badge--vip { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pdp-shop-section__badge--balls { background: linear-gradient(135deg, #ef4444, #dc2626); }
.pdp-shop-section__badge--stones { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.pdp-shop-section__badge--supplies { background: linear-gradient(135deg, #22c55e, #16a34a); }
.pdp-shop-section__badge--account { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.pdp-shop-section__badge--boots { background: linear-gradient(135deg, #f97316, #ea580c); }
.pdp-shop-section__badge--rings { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.pdp-shop-section__badge--boosts { background: linear-gradient(135deg, #ec4899, #db2777); }
.pdp-shop-section__badge--house { background: linear-gradient(135deg, #a16207, #854d0e); }
.pdp-shop-section__badge--misc { background: linear-gradient(135deg, #64748b, #475569); }

.pdp-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.pdp-shop-grid--payments {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.pdp-shop-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pdp-shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.35);
}

.pdp-shop-card--vip { border-left: 4px solid #f59e0b; }
.pdp-shop-card--balls { border-left: 4px solid #ef4444; }
.pdp-shop-card--stones { border-left: 4px solid #8b5cf6; }
.pdp-shop-card--supplies { border-left: 4px solid #22c55e; }
.pdp-shop-card--account { border-left: 4px solid #22d3ee; }
.pdp-shop-card--boots { border-left: 4px solid #f97316; }
.pdp-shop-card--rings { border-left: 4px solid #38bdf8; }
.pdp-shop-card--boosts { border-left: 4px solid #ec4899; }
.pdp-shop-card--house { border-left: 4px solid #a16207; }
.pdp-shop-card--misc { border-left: 4px solid #64748b; }

.pdp-shop-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff !important;
  margin: 16px 16px 0;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.pdp-shop-card__itemimg {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  object-fit: contain;
  display: block;
}

.pdp-shop-card__icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pdp-shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 0;
  flex: 1;
}

.pdp-shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pdp-shop-card__icon--vip { background: rgba(245, 158, 11, 0.25); color: #fde68a !important; }
.pdp-shop-card__icon--balls { background: rgba(239, 68, 68, 0.2); color: #fecaca !important; }
.pdp-shop-card__icon--stones { background: rgba(139, 92, 246, 0.22); color: #ddd6fe !important; }
.pdp-shop-card__icon--supplies { background: rgba(34, 197, 94, 0.2); color: #bbf7d0 !important; }
.pdp-shop-card__icon--account { background: rgba(34, 211, 238, 0.18); color: #cffafe !important; }
.pdp-shop-card__icon--boots { background: rgba(249, 115, 22, 0.22); color: #fed7aa !important; }
.pdp-shop-card__icon--rings { background: rgba(56, 189, 248, 0.2); color: #bae6fd !important; }
.pdp-shop-card__icon--boosts { background: rgba(236, 72, 153, 0.2); color: #fbcfe8 !important; }
.pdp-shop-card__icon--house { background: rgba(161, 98, 7, 0.22); color: #fde68a !important; }
.pdp-shop-card__icon--misc { background: rgba(148, 163, 184, 0.2); }

.pdp-shop-card__title {
  margin: 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  color: #fde68a !important;
}

.pdp-shop-card__detail {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #cbd5e1 !important;
}

.pdp-shop-card__usage {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: #67e8f9 !important;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.pdp-shop-card__usage span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #22d3ee !important;
}

.pdp-shop-card__meta {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted) !important;
}

.pdp-shop-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.pdp-shop-card__price strong {
  font-size: 1.4rem;
  color: #fde68a !important;
}

.pdp-shop-card__price span {
  font-size: 0.85rem;
  color: var(--muted) !important;
}

.pdp-shop-card__form {
  margin: 0;
  flex: 1;
  max-width: 140px;
}

.pdp-shop-card__btn {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111 !important;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
}

.pdp-shop-card__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pdp-shop-card__btn--ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: #e8ecff !important;
}

.pdp-shop-pay-card {
  max-width: 420px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--card);
}

.pdp-shop-pay-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-shop-pay-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-shop-pay-field span {
  font-size: 0.82rem;
  color: var(--muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdp-shop-pay-field input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.2);
  color: #fff !important;
}

.pdp-shop-pay-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted) !important;
}

.pdp-guide-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.pdp-guide-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(8, 12, 22, 0.88);
}

.pdp-guide-card h2 {
  margin: 0 0 8px !important;
  font-size: 1.05rem !important;
}

.pdp-guide-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--muted) !important;
}

.pdp-guide-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #d7dcff !important;
}

.pdp-guide-card--boost { border-color: rgba(245, 158, 11, 0.28); }
.pdp-guide-card--vit { border-color: rgba(34, 197, 94, 0.28); }
.pdp-guide-card--level { border-color: rgba(34, 211, 238, 0.28); }
.pdp-guide-card--love { border-color: rgba(236, 72, 153, 0.28); }
.pdp-guide-card--premium { border-color: rgba(168, 85, 247, 0.32); }
.pdp-guide-card--guild { border-color: rgba(99, 102, 241, 0.28); }
.pdp-guide-card--house { border-color: rgba(14, 165, 233, 0.28); }

.pdp-guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdp-guide-section {
  margin-bottom: 32px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 22, 0.88);
}

.pdp-guide-steps,
.pdp-guide-steps li,
.pdp-guide-section p,
.pdp-guide-section li {
  color: rgba(240, 244, 255, 0.92) !important;
}

.pdp-guide-section h2 {
  margin-top: 0 !important;
}

.pdp-guide-section h3 {
  margin: 0 0 8px !important;
  font-size: 1.05rem !important;
}

.pdp-guide-steps {
  margin: 0 0 18px;
  padding-left: 22px;
  line-height: 1.55;
}

.pdp-guide-steps li {
  margin-bottom: 8px;
}

.pdp-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
}

@media (max-width: 800px) {
  .pdp-guide-layout {
    grid-template-columns: 1fr;
  }
}

.pdp-guide-machine {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.pdp-guide-machine__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 12px;
  border-radius: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  text-align: center;
}

.pdp-guide-machine__slot span {
  font-weight: 800;
  color: #fff !important;
}

.pdp-guide-machine__slot small {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted) !important;
}

.pdp-guide-machine__slot--stone {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.35);
}

.pdp-guide-machine__slot--ball {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.35);
}

.pdp-guide-machine__slot--btn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.pdp-guide-note {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
}

.pdp-guide-note p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #fde68a !important;
}

.pdp-guide-table-wrap {
  overflow: auto;
  margin: 14px 0;
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

.pdp-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pdp-guide-table th,
.pdp-guide-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.pdp-guide-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #fde68a !important;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pdp-guide-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.pdp-guide-formula {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted) !important;
}

.pdp-guide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 700px) {
  .pdp-guide-split {
    grid-template-columns: 1fr;
  }
}

.pdp-list--check li::marker {
  color: #22c55e;
}

.pdp-tutorial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(15, 23, 42, 0.55);
  position: sticky;
  top: 8px;
  z-index: 5;
}

.pdp-tutorial-tabs__link {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  color: var(--muted) !important;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pdp-tutorial-tabs__link:hover,
.pdp-tutorial-tabs__link:focus {
  color: #e8ecff !important;
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.12);
}

.pdp-shop-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.pdp-shop-cats__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-size: 0.82rem;
  color: var(--muted) !important;
  text-decoration: none !important;
}

.pdp-shop-cats__link:hover {
  color: #e8ecff !important;
  border-color: rgba(245, 158, 11, 0.4);
}

.pdp-shop-cats__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
}

.pdp-account-nav__item--gm {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(245, 158, 11, 0.18));
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-weight: 700;
}

.pdp-gm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pdp-gm__hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.pdp-gm__hero h1 {
  margin: 0 0 8px;
  color: #fef2f2;
}

.pdp-gm__hero p {
  margin: 0;
  color: #cbd5e1;
}

.pdp-gm__badge {
  min-width: 140px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(127, 29, 29, 0.35);
  border: 1px solid rgba(248, 113, 113, 0.35);
  text-align: center;
}

.pdp-gm__badge span {
  display: block;
  font-size: 0.75rem;
  color: #fca5a5;
}

.pdp-gm__badge strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
}

.pdp-gm__badge small {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
}

.pdp-gm__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.pdp-gm__card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.pdp-gm__card--wide {
  grid-column: 1 / -1;
}

.pdp-gm__card h2,
.pdp-gm__card h3 {
  margin: 0 0 8px;
  color: #f8fafc;
}

.pdp-gm__card p {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 0.92rem;
}

.pdp-gm__card label {
  display: block;
  margin: 10px 0 4px;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.pdp-gm__card input[type="text"],
.pdp-gm__card input[type="number"],
.pdp-gm__card select {
  width: 100%;
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.65);
  color: #f8fafc;
}

.pdp-gm__card button {
  margin-top: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pdp-gm__card button.pdp-gm__danger {
  background: linear-gradient(135deg, #991b1b, #7f1d1d);
}

.pdp-gm__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
}

.pdp-gm__inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-gm__inline input {
  flex: 1;
  min-width: 180px;
}

.pdp-gm__preview,
.pdp-gm__banlist {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.pdp-gm__preview ul,
.pdp-gm__banlist ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #e2e8f0;
}

.pdp-gm__alert {
  padding: 12px 14px;
  border-radius: 10px;
}

.pdp-gm__alert--ok {
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.pdp-gm__alert--err {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.pdp-gm__adminlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pdp-gm__adminlinks a {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(51, 65, 85, 0.65);
  color: #e2e8f0;
  text-decoration: none;
}

.pdp-gm__subform {
  padding: 14px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.pdp-gm__muted {
  color: #94a3b8;
}

.pdp-admin-sql-debug {
  clear: both;
  max-width: 1120px;
  margin: 0 auto 24px;
  padding: 0 16px;
}

.pdp-admin-sql-debug details {
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

.pdp-admin-sql-debug summary {
  cursor: pointer;
  padding: 12px 16px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  list-style: none;
}

.pdp-admin-sql-debug summary::-webkit-details-marker {
  display: none;
}

.pdp-admin-sql-debug summary::before {
  content: '▸ ';
  color: #f87171;
}

.pdp-admin-sql-debug details[open] summary::before {
  content: '▾ ';
}

.pdp-admin-sql-debug__body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.pdp-admin-sql-debug__hint {
  margin: 12px 0 8px !important;
  padding: 0 !important;
  font-size: 0.8rem;
  color: #64748b !important;
}

.pdp-admin-sql-debug pre {
  margin: 0;
  padding: 12px;
  max-height: 320px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 0.75rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* —— Site theme music (YouTube) —— */
.pdp-bgm {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 4500;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.pdp-bgm__host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.pdp-bgm__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.92));
  color: #f8fafc;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pdp-bgm__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.65);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(250, 204, 21, 0.12);
}

.pdp-bgm__btn.is-playing {
  border-color: rgba(74, 222, 128, 0.55);
}

.pdp-bgm__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b 55%, #b45309);
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

.pdp-bgm__btn.is-playing .pdp-bgm__icon {
  animation: pdp-bgm-pulse 1.4s ease-in-out infinite;
  background: radial-gradient(circle at 35% 30%, #bbf7d0, #22c55e 55%, #15803d);
  color: #052e16;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.45);
}

.pdp-bgm__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
  line-height: 1.2;
}

.pdp-bgm__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
}

.pdp-bgm__btn.is-playing .pdp-bgm__label {
  color: #86efac;
}

.pdp-bgm__track {
  font-size: 0.78rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.pdp-bgm--was-on .pdp-bgm__btn {
  animation: pdp-bgm-nudge 2.2s ease-in-out 2;
}

@keyframes pdp-bgm-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes pdp-bgm-nudge {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
  50% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(250, 204, 21, 0.35); }
}

@media (max-width: 640px) {
  .pdp-bgm {
    left: 10px;
    bottom: 10px;
  }

  .pdp-bgm__track {
    max-width: 140px;
  }
}

/* News screenshots — smaller, softer, less eye strain */
#news .news-shot-link {
  display: block;
  max-width: 520px;
  margin: 10px auto 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.25);
}

#news .news-shot {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  opacity: 0.88;
  filter: brightness(0.88) contrast(0.92) saturate(0.85);
}

#news .news-shot-link:hover .news-shot {
  opacity: 1;
  filter: brightness(0.95) contrast(0.96) saturate(0.9);
}

@media (max-width: 640px) {
  #news .news-shot-link,
  #news .news-shot {
    max-width: 100%;
  }
}
