:root {
  --navy: #12280e;
  --navy-2: #14c43a;
  --navy-3: #ecffef;
  --gold: #6af584;
  --gold-deep: #0a8a28;
  --copper: #2ee64f;
  --ink: #ecffef;
  --muted: #8fbf6e;
  --text: #eaffed;
  --line: rgba(106, 245, 132, 0.4);
  --radius: 999px;
  --max: 1240px;
  --card: rgba(14, 58, 16, 0.72);
  --glow: 0 22px 48px rgba(8, 40, 12, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #0c3210;
  color: var(--text);
  font-family: "Noto Sans Thai", sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(900px 520px at 8% -12%, rgba(46, 230, 79, 0.72), transparent 60%),
    radial-gradient(760px 440px at 92% 8%, rgba(20, 196, 58, 0.48), transparent 55%),
    radial-gradient(1200px 700px at 50% 120%, rgba(10, 138, 40, 0.55), transparent 62%),
    #114418;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(106, 245, 132, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 245, 132, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 12%, transparent 70%);
}

a { color: inherit; text-decoration: none; }

.pgx-mast,
.pgx-body,
.pgx-foot,
.pgx-dock {
  position: relative;
  z-index: 1;
}

.pgx-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
}

.pgx-mast-shell {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(16, 72, 22, 0.18), transparent 70%),
    rgba(8, 48, 14, 0.94);
  border-bottom: 1px solid rgba(106, 245, 132, 0.16);
  box-shadow:
    0 1px 0 rgba(166, 255, 184, 0.08) inset,
    0 12px 32px rgba(3, 8, 1, 0.45);
  backdrop-filter: blur(18px);
}

.pgx-mast-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(720px, 70vw);
  height: 140px;
  pointer-events: none;
  transform: translate(-50%, -52%);
  background: radial-gradient(ellipse at center, rgba(46, 230, 79, 0.5), transparent 68%);
}

.pgx-mast-inner {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 78px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 16px;
}

.pgx-brand {
  display: flex;
  align-items: center;
  justify-self: start;
  flex: 0 0 auto;
}

.pgx-brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(90, 170, 255, 0.28));
}

.pgx-mast-acts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}

.pgx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: 700 13px/1 "Noto Sans Thai", sans-serif;
  transition: 0.18s ease;
}

.pgx-mast-acts .pgx-btn {
  min-width: 118px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
}

.pgx-btn-line {
  border: 1.5px solid rgba(244, 252, 237, 0.82);
  color: #fff;
  background: transparent;
}

.pgx-btn-line:hover { background: rgba(244, 252, 237, 0.1); }

.pgx-btn-fill {
  border: 0;
  color: #04251c;
  background: linear-gradient(180deg, #a6ffb8 0%, #45e85c 48%, #2ee64f 100%);
  box-shadow:
    0 0 0 1px rgba(244, 255, 180, 0.25) inset,
    0 8px 18px rgba(46, 230, 79, 0.32);
}

.pgx-btn-fill:hover { filter: brightness(1.06); }

.pgx-nav {
  min-width: 0;
  justify-self: center;
}

.pgx-nav-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(106, 245, 132, 0.12);
  border-radius: 14px;
}

.pgx-nav .pgx-nav-row {
  height: 46px;
  padding: 4px 6px 4px 4px;
  gap: 2px;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(198, 236, 150, 0.2);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 24px rgba(0, 0, 0, 0.28);
}

.pgx-nav-row::-webkit-scrollbar { display: none; }

.pgx-nav-row a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  color: #eaffed;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.pgx-nav .pgx-nav-row a {
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ecffef;
  font-size: 13.5px;
}

.pgx-nav-row a:hover,
.pgx-nav-row a:focus-visible {
  color: #ecffef;
  background: rgba(20, 196, 58, 0.12);
}

.pgx-nav .pgx-nav-row a:hover,
.pgx-nav .pgx-nav-row a:focus-visible {
  background: rgba(106, 245, 132, 0.12);
}

.pgx-nav-row a.is-now {
  color: #063028;
  background: #2ee64f;
}

.pgx-nav .pgx-nav-row a.is-now {
  color: #04251c;
  background: linear-gradient(180deg, #a6ffb8, #45e85c);
  box-shadow: 0 4px 12px rgba(142, 230, 28, 0.28);
}

.pgx-nav-home { justify-content: center; padding: 0 13px; }

.pgx-nav .pgx-nav-home {
  width: 38px;
  padding: 0;
  color: #fff;
}

.pgx-nav-home svg {
  display: block;
  width: 16px;
  height: 16px;
}

.pgx-body {
  padding: 16px 0 48px;
}

.pgx-reel-board,
.pgx-pot,
.pgx-story,
.pgx-note-board,
.pgx-faq,
.pgx-crumbs {
  width: min(var(--max), calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
}

.pgx-hero-wrap {
  width: min(1280px, calc(100% - 24px));
  margin: 16px auto 0;
  padding: 0;
}

.pgx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 560px;
  border-radius: 28px;
  background: #083820;
  border: 1px solid rgba(166, 255, 184, 0.18);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.42),
    0 18px 40px rgba(20, 196, 58, 0.12);
}

.pgx-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.pgx-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.pgx-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  transform: scale(1.04);
  animation: pgxDrift 18s ease-in-out infinite alternate;
}

@keyframes pgxDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.4%, 1.2%, 0); }
}

.pgx-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 36, 10, 0.92) 0%, rgba(4, 36, 10, 0.72) 32%, rgba(4, 36, 10, 0.18) 62%, transparent 82%),
    linear-gradient(180deg, rgba(4, 36, 10, 0.2) 0%, transparent 28%, rgba(4, 36, 10, 0.55) 78%, rgba(4, 36, 10, 0.86) 100%);
}

.pgx-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(100%, 620px);
  padding: 40px 36px 34px;
}

.pgx-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: rgba(10, 52, 14, 0.55);
  border: 1px solid rgba(166, 255, 184, 0.28);
  backdrop-filter: blur(10px);
  color: #a6ffb8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pgx-hero-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ee64f;
  box-shadow: 0 0 0 0 rgba(46, 230, 79, 0.7);
  animation: pgxPulse 1.4s infinite;
}

.pgx-hero-title {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  text-align: left;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.pgx-hero-lead {
  max-width: 38em;
  color: #eaffed;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.pgx-hero-acts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 0;
}

.pgx-hero-acts .pgx-btn {
  min-width: 148px;
  height: 50px;
}

.pgx-hero-acts .pgx-btn-line {
  background: rgba(10, 52, 14, 0.38);
  backdrop-filter: blur(8px);
}

.pgx-hero-acts .pgx-btn-fill {
  box-shadow: 0 10px 24px rgba(20, 196, 58, 0.38);
}

.pgx-hero-acts .pgx-btn-fill:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.pgx-hero-acts .pgx-btn-line:hover {
  transform: translateY(-2px);
}

.pgx-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.pgx-hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(10, 52, 14, 0.5);
  border: 1px solid rgba(166, 255, 184, 0.16);
  backdrop-filter: blur(10px);
}

.pgx-hero-meta svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #6af584;
}

.pgx-hero-meta strong {
  display: block;
  color: #ecffef;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.pgx-hero-meta span {
  display: block;
  margin-top: 2px;
  color: #9dc9b8;
  font-size: 11px;
}

.pgx-reel-board {
  margin-top: 22px;
  padding: 20px 22px 18px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(20, 196, 58, 0.14), transparent 55%),
    #072c16;
  border: 1px solid rgba(166, 255, 184, 0.16);
  box-shadow: var(--glow);
}

.pgx-reel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.pgx-reel-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #6af584;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.pgx-reel-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ee64f;
  box-shadow: 0 0 0 0 rgba(46, 230, 79, 0.65);
  animation: pgxPulse 1.4s infinite;
}

.pgx-reel-head h2 {
  color: #fff;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.pgx-reel-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.pgx-reel-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(12, 22, 5, 0.72);
  border: 1px solid rgba(106, 245, 132, 0.22);
}

.pgx-reel-lead span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #2ee64f;
  color: #04251c;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pgx-reel-lead strong {
  flex: 0 0 auto;
  color: #a6ffb8;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.pgx-reel-lead b {
  min-width: 0;
  color: #ecffef;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pgx-reel-stage { position: relative; }

.pgx-reel-case {
  padding: 14px 14px 12px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #14802c 0%, #0e3a18 42%, #072818 100%);
  border: 1px solid rgba(216, 255, 106, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(244, 252, 237, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.pgx-reel-glass {
  position: relative;
  overflow: hidden;
  height: 348px;
  padding: 8px;
  border-radius: 18px;
  background: #052010;
  box-shadow: inset 0 0 0 2px rgba(106, 245, 132, 0.12);
}

.pgx-reel-line {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  z-index: 4;
  height: 116px;
  transform: translateY(-50%);
  pointer-events: none;
  border-radius: 12px;
  border: 2px solid rgba(216, 255, 106, 0.85);
  box-shadow:
    0 0 18px rgba(46, 230, 79, 0.28),
    inset 0 0 18px rgba(216, 255, 106, 0.08);
}

.pgx-reel-line b {
  position: absolute;
  top: 50%;
  left: -2px;
  transform: translate(-100%, -50%);
  display: none;
}

.pgx-reel-bank {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
}

.pgx-reel-col {
  overflow: hidden;
  height: 100%;
  border-radius: 12px;
  background: #0c2e14;
}

.pgx-reel-strip {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pgx-reel-col.is-rolling .pgx-reel-strip {
  animation: pgxRoll 0.82s cubic-bezier(0.2, 0.8, 0.2, 1) var(--pgx-lag, 0ms) both;
}

@keyframes pgxRoll {
  0% { transform: translateY(0); filter: blur(0); }
  25% { transform: translateY(-32%); filter: blur(5px); }
  70% { transform: translateY(6%); filter: blur(2px); }
  100% { transform: translateY(0); filter: blur(0); }
}

.pgx-reel-strip > li {
  height: 110px;
  padding: 4px 0;
}

.pgx-reel-pool {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pgx-reel-cell {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #165424;
  border: 1px solid rgba(166, 255, 184, 0.12);
}

.pgx-reel-cell::before {
  content: attr(data-rank);
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(8, 36, 10, 0.82);
  color: #eaffed;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.pgx-reel-strip > li:nth-child(2) .pgx-reel-cell {
  border-color: rgba(216, 255, 106, 0.55);
  box-shadow: 0 0 16px rgba(46, 230, 79, 0.22);
}

.pgx-reel-strip > li:nth-child(2) .pgx-reel-cell::before {
  background: #2ee64f;
  color: #04251c;
}

.pgx-reel-strip > li:not(:nth-child(2)) .pgx-reel-cell {
  opacity: 0.48;
  filter: saturate(0.7);
}

.pgx-reel-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pgx-reel-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 1px;
  padding: 22px 8px 7px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.pgx-reel-name {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pgx-reel-rtp {
  color: #a6ffb8;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pgx-reel-bar { display: none; }

.pgx-reel-cell.is-peak::after { content: none; }

.pgx-reel-cell.is-dim .pgx-reel-rtp { color: #e8d48a; }

.pgx-reel-legend {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 4px 0;
  color: #7aa898;
  font-size: 11px;
}

.pgx-reel-legend strong {
  color: #a6ffb8;
  font-size: 12px;
  font-weight: 800;
}

.pgx-reel-legend span:last-child { text-align: right; }

.pgx-pot {
  --pgx-fill: 55%;
  --pgx-t: 0.55;
  --pgx-heat: 0.16;
  margin-top: 22px;
  padding: 24px 26px 22px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 58% 40% at 50% 86%, rgba(251, 191, 36, var(--pgx-heat)), transparent 62%),
    radial-gradient(ellipse 90% 60% at 50% 6%, rgba(20, 196, 58, 0.16), transparent 58%),
    linear-gradient(180deg, #186428 0%, #0d3214 62%, #0e3a18 100%);
  border: 1px solid rgba(166, 255, 184, 0.16);
  box-shadow: var(--glow);
  transition: box-shadow 0.4s ease;
}

.pgx-pot.is-heating { --pgx-heat: 0.28; }
.pgx-pot.is-maxed { --pgx-heat: 0.42; }

.pgx-pot.is-burst {
  --pgx-heat: 0.62;
  box-shadow: 0 0 90px rgba(251, 191, 36, 0.46), var(--glow);
}

.pgx-pot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pgx-pot-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pgx-pot-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.pgx-pot-title h2 {
  color: #fff;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.pgx-pot-title p {
  color: #c4f0c8;
  font-size: 13px;
}

.pgx-pot-stage {
  position: relative;
  margin-top: 4px;
}

.pgx-pot-read {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-top: 8px;
  text-align: center;
}

.pgx-pot-chip {
  color: #a6ffb8;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.pgx-pot-read strong.pgx-pot-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  font-size: 0;
  filter: none;
  background: none;
}

.pgx-pot-read small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pgx-pot-delta {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.pgx-pot-delta.is-plus {
  color: #bbf7d0;
  background: rgba(20, 196, 58, 0.28);
}

.pgx-pot-delta.is-minus {
  color: #ffe1e1;
  background: rgba(231, 76, 60, 0.3);
}




.pgx-pot-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pgx-tile-frame {
  display: flex;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #1e7030 0%, #165424 48%, #0c2a12 100%);
  border: 1px solid rgba(212, 196, 140, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 28px rgba(0, 0, 0, 0.38);
}

.pgx-tile-board {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 8px;
  perspective: 700px;
}

.pgx-tile {
  position: relative;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 92px;
  border-radius: 10px;
  background: #143820;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 0 #062814;
  transform-style: preserve-3d;
}

.pgx-tile-dot { flex: 0.42 1 0; }
.pgx-tile-sym { flex: 0.88 1 0; }

.pgx-tile-face {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  overflow: hidden;
}

.pgx-tile-face.pgx-face-up {
  top: 0;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, #1a5028, #144020);
}

.pgx-tile-face.pgx-face-dn {
  bottom: 0;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, #0e2a14, #184828);
}

.pgx-tile-face i {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6e7a3;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.pgx-tile-face.pgx-face-up i { top: 0; }
.pgx-tile-face.pgx-face-dn i { bottom: 0; }

.pgx-tile::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  z-index: 4;
  height: 2px;
  margin-top: -1px;
  background: #062814;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pgx-tile-pin {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 5;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2d7040;
  box-shadow: inset 0 0 0 1px #0c3210;
}

.pgx-tile.is-pin .pgx-tile-pin {
  background: #f5d76e;
  box-shadow: 0 0 8px rgba(245, 215, 110, 0.7);
}

.pgx-tile.is-pin .pgx-tile-face i { color: #ffe9a0; }

.pgx-tile.is-snap .pgx-tile-face.pgx-face-up {
  transform-origin: bottom center;
  animation: pgxTileUp 0.36s ease-in;
}

.pgx-tile.is-snap .pgx-tile-face.pgx-face-dn {
  transform-origin: top center;
  animation: pgxTileDn 0.36s ease-out;
}

.pgx-pot.is-heating .pgx-tile-frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 24px rgba(245, 215, 110, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.38);
}

.pgx-pot.is-maxed .pgx-tile-frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 36px rgba(245, 215, 110, 0.32),
    0 14px 28px rgba(0, 0, 0, 0.38);
}

.pgx-pot.is-maxed .pgx-tile-num:not(.is-pin) {
  animation: pgxTileIdle 0.7s ease-in-out infinite;
}

.pgx-pot.is-burst .pgx-tile-frame {
  box-shadow:
    0 0 48px rgba(245, 215, 110, 0.5),
    0 14px 28px rgba(0, 0, 0, 0.38);
}

.pgx-pot.is-burst .pgx-tile {
  animation: pgxTileBurst 0.16s linear 10;
}

.pgx-pot.is-burst .pgx-tile .pgx-tile-face i { color: #fff6c8; }

.pgx-pot-note {
  margin: 8px 0 0;
  color: #c4f0c8;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.pgx-pot-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.pgx-pot-stats div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(12, 22, 4, 0.28);
  border: 1px solid rgba(166, 255, 184, 0.14);
}

.pgx-pot-stats span {
  display: block;
  color: #8fbf6e;
  font-size: 11px;
  margin-bottom: 4px;
}

.pgx-pot-stats b {
  color: #ecffef;
  font-size: 16px;
  font-weight: 800;
}

.pgx-pot-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #bbf7d0 !important;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.pgx-pot-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ee64f;
  box-shadow: 0 0 0 0 rgba(46, 230, 79, 0.7);
  animation: pgxPulse 1.4s infinite;
}

@keyframes pgxPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 79, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 79, 0); }
}




@keyframes pgxTileUp {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(-90deg); }
}

@keyframes pgxTileDn {
  0% { transform: rotateX(90deg); }
  100% { transform: rotateX(0deg); }
}

@keyframes pgxTileIdle {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.16); }
}

@keyframes pgxTileBurst {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.pgx-story {
  position: relative;
  margin-top: 22px;
  padding: 36px 36px 32px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(680px 300px at 84% -12%, rgba(46, 230, 79, 0.36), transparent 62%),
    linear-gradient(165deg, rgba(22, 150, 48, 0.94) 0%, rgba(10, 70, 22, 0.96) 58%);
  border: 1px solid rgba(166, 255, 184, 0.16);
  box-shadow: var(--glow);
  columns: 2;
  column-gap: 46px;
  column-rule: 1px solid rgba(106, 245, 132, 0.12);
}

.pgx-story::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2ee64f 18%, #a6ffb8 50%, #14c43a 82%, transparent);
}

.pgx-story::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(106, 245, 132, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 245, 132, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 60%);
}

.pgx-story h1 {
  column-span: all;
  position: relative;
  display: block;
  margin: 0 0 24px;
  padding: 2px 0 18px 20px;
  color: #fff;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.01em;
  text-align: left;
}

.pgx-story h1::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 26px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a6ffb8, #14c43a);
}

.pgx-story h1::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(106, 245, 132, 0.55), rgba(106, 245, 132, 0.08) 58%, transparent);
}

.pgx-story p {
  color: #b8e8d4;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
  text-align: justify;
  break-inside: avoid;
}

.pgx-story p + p { margin-top: 0; }

.pgx-story a {
  padding: 1px 4px;
  border-radius: 5px;
  color: #6af584;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, transparent 62%, rgba(46, 230, 79, 0.3) 62%);
  transition: color 0.2s ease, background 0.2s ease;
}

.pgx-story a:hover {
  color: #04251c;
  background: linear-gradient(180deg, #a6ffb8, #2ee64f);
}

.pgx-note-board { margin-top: 22px; }

.pgx-note-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pgx-clip-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #6af584;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.pgx-clip-chip i,
.pgx-clip-fire i,
.pgx-clip-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ee64f;
  box-shadow: 0 0 0 0 rgba(46, 230, 79, 0.65);
  animation: pgxPulse 1.4s infinite;
}

.pgx-note-head h2 {
  color: #fff;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.pgx-note-head > div > p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.pgx-clip-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pgx-clip-fire,
.pgx-note-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(46, 230, 79, 0.18), rgba(20, 196, 58, 0.08));
  border: 1px solid rgba(106, 245, 132, 0.26);
  color: #8fbf6e;
  font-size: 12px;
  font-weight: 700;
}

.pgx-clip-fire {
  color: #a6ffb8;
  font-family: Outfit, sans-serif;
  letter-spacing: 0.14em;
}

.pgx-note-count b {
  color: #a6ffb8;
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.pgx-clip-pass {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(20, 80, 64, 0.28), transparent 55%),
    linear-gradient(180deg, #165828 0%, #0c2e14 42%, #0a2410 100%);
  border: 1px solid rgba(166, 255, 184, 0.16);
  box-shadow: var(--glow);
}

.pgx-clip-bar {
  position: relative;
  z-index: 2;
  height: 16px;
  margin: 0 6px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #c4ecc0 0%, #4aa050 28%, #2d7040 62%, #165424 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 8px 0 #072c16;
}

.pgx-clip-bar span {
  position: absolute;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c8ffd4, #3a7a32 55%, #1a4218);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 0 #0c3210;
}

.pgx-clip-bar span:first-child { left: 10px; }
.pgx-clip-bar span:last-child { right: 10px; }

.pgx-clip-rail {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0 4px;
}

.pgx-clip-rail > li { min-width: 0; }

.pgx-clip-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 18px 6px 10px;
  border: 0;
  border-radius: 0 0 4px 4px;
  background:
    repeating-linear-gradient(180deg, rgba(8, 42, 34, 0.04) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #eef8f3, #d4efe4);
  color: #0a3a16;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform-origin: top center;
  box-shadow: 0 10px 16px rgba(4, 8, 1, 0.35);
  transition: transform 0.25s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.pgx-clip-tab::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 10px;
  height: 18px;
  margin-left: -5px;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, #c8ecc4, #4d7a6a);
  box-shadow: 0 1px 0 #0c2e14;
}

.pgx-clip-tab::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  left: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #0a3a16 0 4px, transparent 4px 8px);
  opacity: 0.22;
}

.pgx-clip-tab { width: 100%; }

.pgx-clip-rail > li:nth-child(odd) .pgx-clip-tab { transform: rotate(-1.6deg); }
.pgx-clip-rail > li:nth-child(even) .pgx-clip-tab { transform: rotate(1.3deg); }
.pgx-clip-rail > li:nth-child(3n) .pgx-clip-tab { transform: rotate(-0.6deg); }

.pgx-clip-tab:hover {
  filter: brightness(1.06);
  z-index: 2;
}

.pgx-clip-rail > li .pgx-clip-tab.is-now {
  transform: rotate(0deg) translateY(8px);
  filter: brightness(0.72);
  box-shadow: none;
}

.pgx-clip-tab.is-now::after {
  content: "ดึง";
  top: auto;
  bottom: 6px;
  height: auto;
  opacity: 1;
  background: none;
  color: #4f7d6c;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

.pgx-clip-tab .pgx-clip-no {
  color: #3a7a32;
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pgx-clip-tab strong,
.pgx-clip-tab em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pgx-clip-tab strong {
  margin-top: 2px;
  color: #063816;
  font-size: 12px;
  font-weight: 800;
}

.pgx-clip-tab em {
  color: #4a7a68;
  font-size: 10px;
  font-style: normal;
}

.pgx-clip-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 2px 12px;
}

.pgx-clip-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a6ffb8;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pgx-clip-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pgx-note-nav {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(166, 255, 184, 0.22);
  border-radius: 12px;
  background: rgba(12, 84, 28, 0.7);
  color: #6af584;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pgx-note-nav svg { width: 18px; height: 18px; }

.pgx-note-nav:hover {
  background: linear-gradient(180deg, #a6ffb8, #14c43a);
  border-color: transparent;
  color: #063816;
  transform: scale(1.07);
}

.pgx-note-nav:active { transform: scale(0.97); }

.pgx-note-index {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(46, 230, 79, 0.1);
  border: 1px solid rgba(106, 245, 132, 0.18);
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.pgx-note-index b {
  color: #a6ffb8;
  font-family: Outfit, sans-serif;
}

.pgx-note-view { min-width: 0; }

.pgx-note-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pgx-note-list > li { display: none; }

.pgx-note-list > li.is-now { display: block; }

.pgx-note-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.pgx-note-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pgx-note-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(166, 255, 184, 0.26);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.pgx-note-dots button:hover { background: rgba(166, 255, 184, 0.5); }

.pgx-note-dots button.is-now {
  width: 26px;
  background: linear-gradient(90deg, #a6ffb8, #14c43a);
  box-shadow: 0 0 10px rgba(46, 230, 79, 0.5);
}

.pgx-note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 24px 28px;
  overflow: hidden;
  background:
    repeating-linear-gradient(180deg, rgba(8, 42, 34, 0.045) 0 28px, transparent 28px 56px),
    linear-gradient(180deg, #f0faf6 0%, #d5f0e4 100%);
  color: #0a3a16;
  border-radius: 2px 2px 6px 6px;
  box-shadow:
    0 18px 32px rgba(4, 8, 1, 0.45),
    inset 0 0 0 1px rgba(8, 42, 34, 0.08);
  animation: pgxClipDrop 0.35s ease;
}

.pgx-note-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 16px;
  left: 16px;
  height: 10px;
  background: radial-gradient(circle at 8px 6px, transparent 4px, #0c2e14 4.5px);
  background-size: 16px 10px;
  opacity: 0.55;
}

.pgx-note-card::after {
  content: "";
  display: block;
  height: 28px;
  margin-top: 6px;
  background: repeating-linear-gradient(
    90deg,
    #0a3a16 0 2px,
    transparent 2px 5px,
    #0a3a16 5px 7px,
    transparent 7px 11px,
    #0a3a16 11px 12px,
    transparent 12px 16px
  );
  opacity: 0.55;
}

@keyframes pgxClipDrop {
  from { transform: translateY(-18px); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}

.pgx-note-top {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 12px;
  border-bottom: 2px dashed rgba(26, 40, 12, 0.18);
}

.pgx-note-ava {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: #063816;
  color: #a6ffb8;
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px #2ee64f;
}

.pgx-note-top > div { min-width: 0; }

.pgx-note-top strong {
  display: block;
  overflow: hidden;
  color: #063816;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pgx-note-top div span {
  display: block;
  overflow: hidden;
  color: #3a7a32;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pgx-note-stars {
  position: relative;
  padding: 6px 10px;
  border-radius: 4px;
  background: #063816;
  color: #6af584;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.pgx-note-stars span {
  display: block;
  width: 5.4em;
  color: rgba(106, 245, 132, 0.28);
}

.pgx-note-stars[data-score="4"] { --pgx-score: 4; }
.pgx-note-stars[data-score="5"] { --pgx-score: 5; }

.pgx-note-stars i {
  position: absolute;
  top: 6px;
  left: 10px;
  overflow: hidden;
  width: calc(var(--pgx-score, 5) * 1.08em);
  height: 1em;
  color: #6af584;
  white-space: nowrap;
}

.pgx-note-stars i::before { content: "★★★★★"; }

.pgx-note-card > p {
  color: #14352c;
  font-size: 15px;
  line-height: 1.9;
}

.pgx-note-card b {
  padding: 1px 5px;
  border-radius: 3px;
  color: #04251c;
  font-weight: 800;
  background: #45e85c;
}

@media (prefers-reduced-motion: reduce) {
  .pgx-note-card,
  .pgx-note-stars i,
  .pgx-note-ava,
  .pgx-reel-cell,
  .pgx-reel-bar {
    transition: none;
  }

  .pgx-reel-col.is-rolling .pgx-reel-strip { animation: none; }

  .pgx-dock-item.pgx-dock-cta { animation: none; }

  .pgx-dock {
    animation: none;
    opacity: 1;
  }

  .pgx-note-card {
    opacity: 1;
    transform: none;
  }

  .pgx-clip-chip i,
  .pgx-clip-fire i,
  .pgx-clip-status i { animation: none; }

  .pgx-note-card { animation: none; }

  .pgx-hero-media img { animation: none; transform: none; }

  .pgx-hero-wrap { padding: 0; }

  .pgx-tile,
  .pgx-tile-face.pgx-face-up,
  .pgx-tile-face.pgx-face-dn { animation: none !important; }
}

.pgx-faq { margin-top: 22px; }

.pgx-faq h2 {
  margin-bottom: 14px;
  color: #fff;
  font-family: Outfit, "Noto Sans Thai", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.pgx-faq-list {
  display: grid;
  gap: 10px;
}

.pgx-faq-list details {
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(12, 84, 28, 0.72);
  border: 1px solid rgba(166, 255, 184, 0.16);
}

.pgx-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  color: #a6ffb8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

.pgx-faq-list summary::-webkit-details-marker { display: none; }

.pgx-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 196, 58, 0.18);
  color: #6af584;
  font-size: 18px;
  font-weight: 700;
}

.pgx-faq-list details[open] summary::after { content: "–"; }

.pgx-faq-list details p {
  padding: 0 0 16px;
  color: #ecffef;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

.pgx-crumbs { margin-top: 22px; }

.pgx-crumbs .pgx-nav-row {
  width: fit-content;
  max-width: 100%;
  list-style: none;
}

.pgx-crumbs li {
  display: contents;
}

.pgx-foot {
  margin-top: 28px;
  padding: 36px 0 28px;
  background:
    linear-gradient(180deg, rgba(20, 196, 58, 0.1), transparent 22%),
    #072c16;
  border-top: 1px solid rgba(106, 245, 132, 0.16);
}

.pgx-foot-wrap {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
}

.pgx-foot-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 24px;
  padding-bottom: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(106, 245, 132, 0.16);
}

.pgx-foot-col h3,
.pgx-foot-col h4 {
  color: #a6ffb8;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.pgx-foot-col h4 { margin-top: 22px; }

.pgx-foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pgx-foot-col a,
.pgx-foot-col span {
  color: #8fbf6e;
  font-size: 13px;
  line-height: 1.45;
}

.pgx-foot-col a:hover { color: #ecffef; }

.pgx-foot-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pgx-foot-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.pgx-foot-copy {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-align: right;
}

.pgx-dock {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 136px;
  padding: 10px 8px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 128, 42, 0.72), rgba(8, 40, 14, 0.84));
  border: 1px solid rgba(106, 245, 132, 0.2);
  box-shadow:
    0 20px 44px rgba(4, 10, 2, 0.52),
    inset 0 1px 0 rgba(236, 255, 239, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  animation: pgxDockIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pgxDockIn {
  from { opacity: 0; transform: translate(-20px, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}

.pgx-dock-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 8px 5px 5px;
  border-radius: 14px;
  background: transparent;
  border: 0;
  color: #c4f0c8;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pgx-dock-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #a6ffb8, #2ee64f);
  transform: translateY(-50%);
  transition: height 0.22s ease;
}

.pgx-dock-item:hover {
  background: rgba(106, 245, 132, 0.12);
  color: #fff;
  transform: translateX(2px);
}

.pgx-dock-item:hover::before { height: 20px; }

.pgx-dock-ico {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(106, 245, 132, 0.14);
  border: 1px solid rgba(106, 245, 132, 0.16);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pgx-dock-item:hover .pgx-dock-ico {
  background: rgba(106, 245, 132, 0.26);
  border-color: rgba(106, 245, 132, 0.42);
}

.pgx-dock-ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pgx-dock-item.pgx-dock-cta {
  min-height: 50px;
  margin: 4px 0;
  padding: 6px 8px 6px 6px;
  color: #063816;
  font-size: 12.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #c8ffd4 0%, #6af584 42%, #14c43a 100%);
  animation: pgxDockGlow 2.6s ease-in-out infinite;
  z-index: 2;
}

.pgx-dock-item.pgx-dock-cta::before { display: none; }

.pgx-dock-item.pgx-dock-cta .pgx-dock-ico {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  background: rgba(8, 42, 34, 0.14);
  border-color: rgba(8, 42, 34, 0.2);
}

.pgx-dock-item.pgx-dock-cta .pgx-dock-ico svg {
  width: 18px;
  height: 18px;
  stroke: #063816;
}

.pgx-dock-item.pgx-dock-cta:hover {
  transform: translateX(2px) scale(1.02);
  color: #063816;
  background: linear-gradient(135deg, #ecffef 0%, #6af584 42%, #2ee64f 100%);
}

.pgx-dock-item.pgx-dock-cta:hover .pgx-dock-ico {
  background: rgba(8, 42, 34, 0.2);
  border-color: rgba(8, 42, 34, 0.28);
}

.pgx-dock-item.pgx-dock-line .pgx-dock-ico {
  background: rgba(6, 199, 85, 0.2);
  border-color: rgba(6, 199, 85, 0.34);
  color: #7ff0a8;
}

.pgx-dock-item.pgx-dock-line .pgx-dock-ico svg {
  fill: currentColor;
  stroke: none;
}

.pgx-dock-item.pgx-dock-chat .pgx-dock-ico {
  background: rgba(46, 230, 79, 0.2);
  border-color: rgba(46, 230, 79, 0.36);
  color: #a6ffb8;
}

@keyframes pgxDockGlow {
  0%, 100% { box-shadow: 0 10px 22px rgba(20, 196, 58, 0.3); }
  50% { box-shadow: 0 12px 30px rgba(20, 196, 58, 0.58); }
}

@media (max-width: 1180px) {
  .pgx-mast-inner {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
  }

  .pgx-brand { grid-column: 1; grid-row: 1; }
  .pgx-mast-acts { grid-column: 2; grid-row: 1; }

  .pgx-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  .pgx-nav .pgx-nav-row { width: 100%; }
}

@media (max-width: 1100px) {
  .pgx-nav-row a { font-size: 12px; padding: 0 10px; }
  .pgx-nav .pgx-nav-row a { font-size: 12.5px; padding: 0 11px; }
  .pgx-reel-lead strong { font-size: 20px; }
  .pgx-hero { min-height: 500px; }
  .pgx-hero-copy { padding: 28px 22px 26px; gap: 12px; }
  .pgx-hero-title { font-size: 28px; }
}

@media (max-width: 820px) {
  .pgx-tile { height: 62px; border-radius: 8px; }
  .pgx-tile-face i { font-size: clamp(22px, 7vw, 34px); }
  .pgx-tile-board { gap: 4px; }
  .pgx-tile-frame { padding: 10px 10px; width: 100%; }
  .pgx-pot-read strong { font-size: clamp(28px, 9vw, 40px); }
  .pgx-hero-wrap {
    margin-top: 16px;
    padding: 0;
  }
  .pgx-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .pgx-hero-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .pgx-hero-media img {
    animation: none;
    transform: none;
    object-fit: contain;
    object-position: center center;
  }
  .pgx-hero-veil { display: none; }
  .pgx-hero-copy {
    width: 100%;
    padding: 18px 16px 16px;
    background: linear-gradient(180deg, #165424 0%, #0c2a12 100%);
    border-top: 1px solid rgba(106, 245, 132, 0.14);
  }
  .pgx-hero-acts {
    flex-direction: row;
    width: 100%;
  }
  .pgx-hero-acts .pgx-btn { flex: 1; min-width: 0; }
  .pgx-reel-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .pgx-reel-lead {
    width: 100%;
    max-width: 100%;
  }
  .pgx-reel-glass { height: 312px; }
  .pgx-reel-strip > li { height: 98px; }
  .pgx-reel-line { height: 104px; }
  .pgx-story {
    columns: 1;
    column-rule: none;
    padding: 28px 24px 26px;
  }
  .pgx-story p + p { margin-top: 16px; }
  .pgx-story h1 { font-size: 23px; }
  .pgx-clip-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .pgx-clip-rail > li { flex: 0 0 92px; }
  .pgx-clip-tab { width: 100%; }
}

@media (max-width: 768px) {
  body { padding-bottom: 78px; }

  .pgx-mast-inner {
    width: calc(100% - 16px);
    min-height: 64px;
    grid-template-columns: 1fr auto;
    gap: 10px 8px;
    padding: 10px 0 12px;
  }

  .pgx-brand img { height: 34px; max-width: 118px; }

  .pgx-brand { grid-column: 1; grid-row: 1; }
  .pgx-mast-acts { grid-column: 2; grid-row: 1; }

  .pgx-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  .pgx-nav .pgx-nav-row,
  .pgx-nav-row { width: 100%; }

  .pgx-mast-acts {
    gap: 5px;
    max-width: none;
    flex-wrap: nowrap;
  }

  .pgx-mast-acts .pgx-btn {
    height: 34px;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0 11px;
    font-size: 12px;
    white-space: nowrap;
  }

  .pgx-hero-wrap,
  .pgx-hero,
  .pgx-reel-board,
  .pgx-pot,
  .pgx-story,
  .pgx-note-board,
  .pgx-faq,
  .pgx-crumbs,
  .pgx-foot-wrap {
    width: calc(100% - 16px);
  }

  .pgx-hero-wrap {
    margin-top: 14px;
    padding: 0;
  }

  .pgx-hero {
    width: 100%;
    margin-top: 0;
    padding: 0;
    border-radius: 22px;
    min-height: 0;
  }

  .pgx-hero-copy { padding: 16px 14px 14px; }
  .pgx-hero-title { font-size: 22px; }
  .pgx-hero-lead { font-size: 14px; }
  .pgx-hero-acts .pgx-btn { flex: 1; }
  .pgx-hero-meta li { padding: 8px 10px; gap: 6px; }
  .pgx-hero-meta svg { width: 16px; height: 16px; }

  .pgx-reel-board { padding: 16px 12px 12px; }
  .pgx-reel-head h2 { font-size: 20px; }
  .pgx-reel-lead strong { font-size: 18px; }
  .pgx-reel-case { padding: 10px 8px 8px; }
  .pgx-reel-glass { height: 276px; padding: 6px; }
  .pgx-reel-strip > li { height: 88px; }
  .pgx-reel-line { height: 92px; }
  .pgx-reel-name { font-size: 10px; }
  .pgx-reel-rtp { font-size: 12px; }
  .pgx-reel-legend { font-size: 10px; gap: 6px; }

  .pgx-pot { padding: 16px 14px; }
  .pgx-pot-read strong { font-size: 28px; }
  .pgx-pot-stats { gap: 8px; }
  .pgx-pot-stats div { padding: 10px 10px; }
  .pgx-pot-title h2 { font-size: 20px; }

  .pgx-story { padding: 22px 16px 20px; }
  .pgx-note-head { flex-wrap: wrap; }
  .pgx-note-nav { width: 34px; height: 34px; }
  .pgx-clip-pass { padding: 14px 12px 14px; }
  .pgx-clip-stage { flex-wrap: wrap; }
  .pgx-note-card { padding: 18px 16px 22px; }
  .pgx-note-card > p { font-size: 14px; }
  .pgx-story h1 {
    font-size: 19px;
    margin-bottom: 18px;
    padding: 2px 0 14px 14px;
  }
  .pgx-story h1::before { bottom: 20px; width: 3px; }
  .pgx-story p,
  .pgx-faq-list summary,
  .pgx-faq-list details p { font-size: 14px; }

  .pgx-foot-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgx-foot-brand { flex-direction: column; align-items: flex-start; }
  .pgx-foot-copy { text-align: left; white-space: normal; }

  .pgx-dock {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    animation: none;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-around;
    gap: 0;
    width: 100%;
    padding: 8px 8px 10px;
    background: linear-gradient(180deg, rgba(10, 50, 18, 0.88), rgba(8, 40, 12, 0.95));
    border: 0;
    border-top: 1px solid rgba(106, 245, 132, 0.28);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 30px rgba(8, 48, 14, 0.5);
  }

  .pgx-dock-item {
    flex: 1;
    display: flex;
    min-width: 0;
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 4px;
    padding: 4px 2px;
    background: transparent;
    font-size: 10px;
    transform: none;
  }

  .pgx-dock-item::before { display: none; }

  .pgx-dock-item:hover {
    background: transparent;
    transform: none;
  }

  .pgx-dock-ico {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .pgx-dock-item.pgx-dock-cta {
    top: -18px;
    width: auto;
    height: auto;
    margin: 0;
    min-width: 74px;
    max-width: 86px;
    padding: 8px 6px 10px;
    border-radius: 20px;
    color: #063816;
    font-size: 11px;
    box-shadow: 0 10px 22px rgba(20, 196, 58, 0.45);
  }

  .pgx-dock-item.pgx-dock-cta .pgx-dock-ico {
    width: 28px;
    height: 28px;
  }

  .pgx-dock-item.pgx-dock-cta .pgx-dock-ico svg { stroke: #063816; }
}
