/* ============================================================
   siteapp47 - PuntVault Apps
   Visual language derived from the puntcasino.net probe:
   deep navy canvas (hsl 222 47% 7%), electric cyan primary
   (hsl 193 100% 50%), warm orange CTA (hsl 27 95% 54%),
   green money accents, Rajdhani-style condensed display
   headings via Segoe UI Semibold stack, cyan card glow.
   Dark mode is the target's native look; light mode is a
   bright marine variant of the same palette.
   ============================================================ */

:root {
  --pv-radius: 10px;
  --pv-radius-lg: 14px;
  --pv-shell: 1180px;
  --pv-font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --pv-display: "Rajdhani", "Segoe UI Semibold", "Segoe UI", "Trebuchet MS", sans-serif;
}

[data-theme="dark"] {
  --pv-canvas: #070c17;
  --pv-canvas-2: #0a1224;
  --pv-surface: #0e172b;
  --pv-surface-2: #111c33;
  --pv-header: rgba(13, 21, 38, 0.95);
  --pv-border: rgba(102, 174, 216, 0.18);
  --pv-text: #eff7ff;
  --pv-muted: #93a7c4;
  --pv-primary: #00c8ff;
  --pv-primary-soft: rgba(0, 200, 255, 0.12);
  --pv-cta: #f97f1a;
  --pv-cta-hover: #ef6c06;
  --pv-cta-ink: #14100b;
  --pv-green: #35c98e;
  --pv-glow: rgba(0, 200, 255, 0.35);
  --pv-cta-glow: rgba(249, 127, 26, 0.4);
  --pv-shadow: 0 14px 34px rgba(1, 5, 16, 0.55);
  --pv-input: #16233d;
  --pv-input-border: rgba(102, 174, 216, 0.28);
}

[data-theme="light"] {
  --pv-canvas: #eaf4fb;
  --pv-canvas-2: #dbeaf6;
  --pv-surface: #ffffff;
  --pv-surface-2: #f2f9fe;
  --pv-header: rgba(255, 255, 255, 0.95);
  --pv-border: rgba(9, 63, 99, 0.16);
  --pv-text: #0b2c46;
  --pv-muted: #4a6a84;
  --pv-primary: #0492ba;
  --pv-primary-soft: rgba(4, 146, 186, 0.1);
  --pv-cta: #d96a10;
  --pv-cta-hover: #bd5a08;
  --pv-cta-ink: #ffffff;
  --pv-green: #0d8f63;
  --pv-glow: rgba(4, 146, 186, 0.22);
  --pv-cta-glow: rgba(217, 106, 16, 0.3);
  --pv-shadow: 0 12px 28px rgba(11, 44, 70, 0.14);
  --pv-input: #ffffff;
  --pv-input-border: rgba(9, 63, 99, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--pv-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--pv-text);
  background:
    radial-gradient(900px 400px at 88% -140px, rgba(0, 200, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--pv-canvas) 0%, var(--pv-canvas-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--pv-display); letter-spacing: 0.3px; }

.pv-page { display: flex; flex-direction: column; min-height: 100vh; }
.pv-shell { width: 100%; max-width: var(--pv-shell); margin: 0 auto; padding: 0 20px; }

/* ---------- CTAs: orange target-style ---------- */
.pv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--pv-radius);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}
.pv-cta-solid {
  background: var(--pv-cta);
  color: var(--pv-cta-ink);
}
.pv-cta-solid:hover { background: var(--pv-cta-hover); box-shadow: 0 0 20px var(--pv-cta-glow); }
.pv-ctabig { padding: 14px 30px; font-size: 16px; }
.pv-cta-line { border-color: var(--pv-primary); color: var(--pv-primary); background: transparent; }
.pv-cta-line:hover { background: var(--pv-primary-soft); text-shadow: 0 0 10px var(--pv-glow); }
.pv-star { color: var(--pv-green); font-weight: 700; }

/* ---------- announcement ticker ---------- */
.pv-ticker {
  background: var(--pv-cta);
  color: var(--pv-cta-ink);
  font-size: 13.5px;
  font-weight: 600;
}
.pv-ticker-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 40px;
  flex-wrap: wrap;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}
.pv-tickmsg i { margin-right: 4px; }

/* ---------- header ---------- */
.pv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pv-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 200, 255, 0.16);
}
.pv-head-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.pv-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.pv-brand-disc {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #04121e;
  background: linear-gradient(145deg, var(--pv-primary) 0%, #0090bd 100%);
  box-shadow: 0 0 16px var(--pv-glow);
  flex: 0 0 auto;
}
.pv-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.pv-brand-name { font-family: var(--pv-display); font-weight: 700; font-size: 21px; color: var(--pv-text); white-space: nowrap; }
.pv-brand-name .pv-accentword { color: var(--pv-primary); }
.pv-brand-sub { font-size: 10.5px; color: var(--pv-muted); letter-spacing: 1px; text-transform: uppercase; }

.pv-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.pv-nav a {
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pv-muted);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease, text-shadow 0.15s ease;
}
.pv-nav a:hover { color: var(--pv-primary); text-shadow: 0 0 10px var(--pv-glow); }
.pv-nav a.is-active { color: var(--pv-primary); background: var(--pv-primary-soft); }

.pv-headcta { display: flex; align-items: center; gap: 9px; }
.pv-burger {
  display: none;
  background: var(--pv-surface);
  color: var(--pv-text);
  border: 1px solid var(--pv-border);
  border-radius: 8px;
  width: 42px; height: 40px;
  font-size: 17px;
  cursor: pointer;
}

/* dark-mode pill switch inside the ticker */
.pv-mode {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(20, 12, 4, 0.18);
  border: 1px solid rgba(20, 12, 4, 0.28);
  color: inherit;
  border-radius: 999px;
  padding: 4px 12px 4px 5px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
[data-theme="dark"] .pv-mode { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.24); }
.pv-modeorb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ffe9b8 0%, #ffc75a 55%, #b96a00 100%);
  box-shadow: 0 0 7px rgba(255, 199, 90, 0.85);
  transition: background 0.2s ease;
}
[data-theme="dark"] .pv-modeorb {
  background: radial-gradient(circle at 66% 70%, #dff3ff 0%, #9cd6ee 55%, #1e5f84 100%);
  box-shadow: 0 0 7px rgba(150, 214, 255, 0.8);
}
.pv-mode:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- hero (target: left copy + code box, right art) ---------- */
.pv-hero {
  background: var(--pv-canvas-2);
  border-bottom: 1px solid var(--pv-border);
  position: relative;
  overflow: hidden;
}
.pv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 280px at 78% 20%, rgba(0, 200, 255, 0.1), transparent 65%);
  pointer-events: none;
}
.pv-hero-in {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 52px;
  padding-bottom: 52px;
  position: relative;
}
.pv-hero-app { padding-top: 20px; padding-bottom: 16px; }
.pv-hero-app .pv-shell { position: relative; }
.pv-herocopy { flex: 1.2 1 0; min-width: 0; }
.pv-herocopy h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--pv-text);
}
.pv-hl { color: var(--pv-primary); text-shadow: 0 0 18px var(--pv-glow); }
.pv-herosub { margin: 0 0 16px; color: var(--pv-muted); font-size: 17px; max-width: 560px; }
.pv-codebox {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--pv-surface);
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: var(--pv-radius);
  padding: 10px 20px;
  margin-bottom: 18px;
}
.pv-code {
  font-family: var(--pv-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--pv-primary);
}
.pv-codelabel { font-size: 12px; color: var(--pv-muted); text-transform: uppercase; letter-spacing: 1px; }
.pv-herosteps { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.pv-herosteps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pv-text);
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  padding: 7px 15px;
}
.pv-herosteps i { color: var(--pv-primary); }

.pv-heroart { flex: 1 1 0; display: flex; justify-content: center; position: relative; min-height: 230px; }
.pv-heroarcade {
  margin-top: 26px;
  background: linear-gradient(160deg, var(--pv-cta) 0%, var(--pv-cta-hover) 100%);
  color: #fff7ee;
  border-radius: 20px;
  padding: 30px 34px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(249, 127, 26, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
[data-theme="light"] .pv-heroarcade { color: #ffffff; }
.pv-heroarcade b { font-family: var(--pv-display); font-size: 24px; letter-spacing: 2px; }
.pv-heroarcade small { font-size: 12.5px; opacity: 0.9; }
.pv-heroarcade span {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  margin: 2px;
  animation: pv-float 3.2s ease-in-out infinite;
}
.pv-heroarcade span:nth-child(2) { animation-delay: 0.4s; }
.pv-heroarcade span:nth-child(3) { animation-delay: 0.8s; }
@keyframes pv-float {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-9px); opacity: 1; }
}
.pv-chip {
  position: absolute;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  color: #04121e;
  background: radial-gradient(circle at 32% 28%, #e9fbff 0%, var(--pv-primary) 55%, #0077c2 100%);
  box-shadow: 0 10px 22px rgba(0, 150, 200, 0.35);
  animation: pv-float 4s ease-in-out infinite;
}
.pv-chip-a { top: 4px; left: 8%; }
.pv-chip-b { bottom: 0; left: 2%; background: radial-gradient(circle at 32% 28%, #fff3d9 0%, #ffc75a 55%, #b96a00 100%); animation-delay: 1s; }
.pv-chip-c { top: 40%; right: 4%; background: radial-gradient(circle at 32% 28%, #eafff4 0%, #35c98e 55%, #0a7a52 100%); animation-delay: 2s; }

/* ---------- feature strip ---------- */
.pv-featurebar {
  background: var(--pv-surface);
  border-bottom: 1px solid var(--pv-border);
}
.pv-featurein {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.pv-featurein div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
}
.pv-featurein i { color: var(--pv-primary); font-size: 18px; }

/* ---------- breadcrumb ---------- */
.pv-crumb {
  font-size: 13.5px;
  color: var(--pv-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pv-crumb a:hover { color: var(--pv-primary); }
.pv-crumbsep { opacity: 0.55; }
.pv-crumb-plain { max-width: var(--pv-shell); margin: 0 auto; padding: 16px 20px 0; }

/* ---------- sections & grids (target: 2/3/4-col game grid) ---------- */
.pv-framing { padding: 34px 20px 110px; }
.pv-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.pv-postcols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.pv-catalogwrap { padding-top: 28px; padding-bottom: 40px; }
.pv-cathead { background: var(--pv-canvas-2); border-bottom: 1px solid var(--pv-border); padding: 26px 0; }
.pv-cathead h1 { margin: 0 0 4px; font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; }
.pv-cathead p { margin: 0; color: var(--pv-muted); font-size: 14px; }
.pv-backall { margin: 26px 0 0; }

.pv-section { margin-bottom: 38px; }
.pv-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.pv-sechead h2 { margin: 0; font-size: 24px; font-weight: 700; }
.pv-secicon { margin-right: 4px; }
.pv-viewmore { font-size: 13.5px; font-weight: 700; color: var(--pv-primary); white-space: nowrap; }
.pv-viewmore:hover { text-decoration: underline; text-shadow: 0 0 10px var(--pv-glow); }

.pv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ---------- app cards (target: game-card zoom + cyan glow) ---------- */
.pv-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  overflow: hidden;
  padding: 12px 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pv-card:hover {
  transform: scale(1.03);
  border-color: rgba(0, 200, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2), var(--pv-shadow);
}
.pv-cardthumb { display: block; flex: 0 0 auto; }
.pv-cardthumb img {
  width: 56px;
  height: 56px;
  max-width: 64px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: var(--pv-radius);
}
.pv-cardoverlay {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--pv-primary-soft);
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: var(--pv-primary);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 1px;
}
.pv-card:hover .pv-cardoverlay {
  background: var(--pv-primary);
  color: #04121e;
  box-shadow: 0 0 14px var(--pv-glow);
}
.pv-cardbody { padding: 0; min-width: 0; flex: 1 1 auto; }
.pv-cardname { margin: 0 0 5px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pv-cardname a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-cardname a:hover { color: var(--pv-primary); }
.pv-cardmeta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--pv-muted);
  align-items: center;
}

/* ---------- rail ---------- */
.pv-rail, .pv-postrail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; }
.pv-railsearch {
  display: flex;
  background: var(--pv-input);
  border: 1px solid var(--pv-input-border);
  border-radius: 999px;
  overflow: hidden;
}
.pv-railsearch input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--pv-text);
  padding: 10px 16px;
  font-size: 13.5px;
  outline: none;
}
.pv-railsearch input::placeholder { color: var(--pv-muted); }
.pv-railsearch button {
  border: 0;
  background: var(--pv-cta);
  color: var(--pv-cta-ink);
  padding: 0 15px;
  cursor: pointer;
  font-size: 14px;
}
.pv-railsearch button:hover { background: var(--pv-cta-hover); }
.pv-railcard {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-lg);
  padding: 18px;
  box-shadow: var(--pv-shadow);
}
.pv-railcard h2 {
  margin: 0 0 13px;
  font-size: 16.5px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pv-border);
  color: var(--pv-primary);
}
.pv-socialgrid { display: flex; flex-wrap: wrap; gap: 9px; }
.pv-socialgrid a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pv-radius);
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  color: var(--pv-primary);
  font-size: 14.5px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.pv-socialgrid a:hover { background: var(--pv-primary); color: #04121e; transform: translateY(-2px); box-shadow: 0 0 14px var(--pv-glow); }
.pv-raillist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pv-raillist li { border-bottom: 1px dashed var(--pv-border); }
.pv-raillist li:last-child { border-bottom: 0; }
.pv-raillist a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 2px;
  font-size: 13.5px;
  transition: color 0.15s ease;
}
.pv-raillist a:hover { color: var(--pv-primary); }
.pv-raillist a > img { border-radius: 9px; flex: 0 0 auto; }
.pv-raillist li > a:not(:has(img)) { justify-content: space-between; }
.pv-raillist li > span { font-size: 12.5px; color: var(--pv-muted); white-space: nowrap; }
.pv-relname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-relmeta { font-size: 11.5px; color: var(--pv-muted); flex: 0 0 auto; }
.pv-railcta p { margin: 0 0 13px; font-size: 13px; color: var(--pv-muted); }

/* ---------- summary card (detail) ---------- */
.pv-sumcard {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-lg);
  box-shadow: var(--pv-shadow);
  padding: 22px;
  margin-bottom: 24px;
}
.pv-sumhead { display: flex; gap: 17px; align-items: center; margin-bottom: 17px; }
.pv-sumicon {
  width: 84px; height: 84px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.25), 0 10px 24px rgba(0, 0, 0, 0.35);
  flex: 0 0 auto;
}
.pv-sumident { min-width: 0; }
.pv-sumname { margin: 0 0 6px; font-size: 24px; font-weight: 700; line-height: 1.22; }
.pv-summeta { margin: 0 0 13px; font-size: 13px; color: var(--pv-muted); }
.pv-dlbtn { font-size: 15px; padding: 12px 24px; }
.pv-facts { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.pv-facts tr { border-bottom: 1px dashed var(--pv-border); }
.pv-facts tr:last-child { border-bottom: 0; }
.pv-facts th {
  text-align: left;
  font-weight: 600;
  color: var(--pv-muted);
  font-size: 13px;
  padding: 8px 0;
  width: 42%;
}
.pv-facts td { font-weight: 700; font-size: 13.5px; }
.pv-discover {
  border-top: 1px solid var(--pv-border);
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}
.pv-discover b { font-size: 13.5px; }
.pv-discbtns { display: flex; gap: 8px; }
.pv-discbtns a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pv-radius);
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  color: var(--pv-primary);
  font-weight: 800; font-size: 12.5px;
  transition: background 0.15s ease, color 0.15s ease;
}
.pv-discbtns a:hover { background: var(--pv-primary); color: #04121e; }

/* ---------- article / toc ---------- */
.pv-postbody {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-lg);
  padding: 22px;
  box-shadow: var(--pv-shadow);
}
.pv-toc {
  border: 1px solid rgba(0, 200, 255, 0.25);
  background: var(--pv-surface-2);
  border-radius: var(--pv-radius);
  padding: 15px 18px;
  margin-bottom: 20px;
}
.pv-tochead {
  font-family: var(--pv-display);
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pv-primary);
}
.pv-toc ol { margin: 0; padding-left: 20px; font-size: 13.5px; }
.pv-toc ol ol { margin-top: 4px; }
.pv-toc a { color: var(--pv-muted); }
.pv-toc a:hover { color: var(--pv-primary); text-decoration: underline; }

.pv-guide { font-size: 15px; }
.pv-guide > p:first-child { font-size: 16.5px; font-weight: 600; color: var(--pv-text); }
.pv-guide p { margin: 0 0 13px; color: var(--pv-muted); }
.pv-guide h2 { margin: 26px 0 12px; font-size: 20.5px; font-weight: 700; padding-left: 13px; position: relative; }
.pv-guide h2::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--pv-primary), var(--pv-cta));
}
.pv-guide h3 { margin: 20px 0 10px; font-size: 16.5px; font-weight: 700; color: var(--pv-primary); }
.pv-guide ul, .pv-guide ol { margin: 0 0 15px; padding-left: 24px; color: var(--pv-muted); }
.pv-guide li { margin-bottom: 7px; }
.pv-guide .pv-faq, .pv-guide details.pv-faq {
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  background: var(--pv-surface-2);
  margin-bottom: 11px;
  overflow: hidden;
}
.pv-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 15px;
  list-style-position: inside;
  color: var(--pv-text);
}
.pv-faq summary:hover { color: var(--pv-primary); }
.pv-faq p { padding: 0 15px 13px; margin: 0; }

/* ---------- winners strip (target: Recent Winners cards) ---------- */
.pv-winners {
  background: var(--pv-canvas-2);
  border-top: 1px solid var(--pv-border);
  padding: 40px 0 34px;
}
.pv-winners h2 { margin: 0 0 18px; font-size: 24px; font-weight: 700; }
.pv-wingrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pv-wincard {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius);
  padding: 12px 14px;
}
.pv-wincard img { border-radius: 9px; flex: 0 0 auto; }
.pv-winmain { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.pv-winmain b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-winmain small { color: var(--pv-muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-winamt { color: var(--pv-green); font-weight: 800; font-size: 13.5px; white-space: nowrap; }

/* ---------- how-to (target: 3-step guide) ---------- */
.pv-howto { background: var(--pv-canvas); border-top: 1px solid var(--pv-border); padding: 44px 0 50px; text-align: center; }
.pv-howto h2 { margin: 0 0 26px; font-size: 26px; font-weight: 700; }
.pv-howgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 940px;
  margin: 0 0 26px;
}
.pv-howcard p { margin: 0; color: var(--pv-muted); font-size: 13.5px; }
.pv-hownum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  margin-bottom: 12px;
  font-family: var(--pv-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--pv-primary);
  background: var(--pv-primary-soft);
  border: 1px solid rgba(0, 200, 255, 0.35);
}
.pv-howcard h3 { margin: 0 0 7px; font-size: 17px; font-weight: 700; }

/* ---------- trust row ---------- */
.pv-trustrow {
  background: var(--pv-surface);
  border-top: 1px solid var(--pv-border);
  font-size: 13px;
  color: var(--pv-muted);
}
.pv-trustin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.pv-trustin i { color: var(--pv-primary); margin-right: 5px; }

/* ---------- comments ---------- */
.pv-comments { padding-bottom: 115px; }
.pv-comments h2 { font-size: 23px; font-weight: 700; margin: 0 0 15px; }
.pv-comments form {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-lg);
  padding: 20px;
  box-shadow: var(--pv-shadow);
}
.pv-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 13px; }
.pv-comments label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--pv-muted); }
.pv-comments input, .pv-comments textarea {
  background: var(--pv-input);
  border: 1px solid var(--pv-input-border);
  border-radius: 8px;
  color: var(--pv-text);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}
.pv-comments input:focus, .pv-comments textarea:focus { border-color: var(--pv-primary); }
.pv-comments button { margin-top: 14px; }
.pv-formok { margin: 13px 0 0; font-weight: 700; color: var(--pv-green); }

/* ---------- 404 ---------- */
.pv-notfoundwrap { text-align: center; padding: 60px 20px 140px; }
.pv-nfcode { margin: 0; font-family: var(--pv-display); font-size: 86px; font-weight: 700; color: var(--pv-primary); text-shadow: 0 0 30px var(--pv-glow); }
.pv-nftitle { font-size: 21px; font-weight: 700; margin: 8px 0 4px; }
.pv-nftip { color: var(--pv-muted); margin: 0 0 22px; }

/* ---------- footer (target: 4-column + payment row) ---------- */
.pv-footer {
  margin-top: auto;
  background: #050a13;
  border-top: 1px solid var(--pv-border);
}
[data-theme="light"] .pv-footer { background: #dcebf5; }
.pv-footgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 26px;
}
.pv-foothead { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--pv-text); }
.pv-footlinks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.pv-footlinks a { color: var(--pv-muted); transition: color 0.15s ease; }
.pv-footlinks a:hover { color: var(--pv-primary); text-shadow: 0 0 8px var(--pv-glow); }
.pv-socialrow { display: flex; gap: 9px; flex-wrap: wrap; }
.pv-socialpill {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pv-radius);
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  color: var(--pv-primary);
  font-weight: 800; font-size: 13px;
}
.pv-socialpill:hover { background: var(--pv-primary); color: #04121e; }
.pv-footabout { color: var(--pv-muted); font-size: 13px; margin: 0; max-width: 320px; }
.pv-footbase { border-top: 1px solid var(--pv-border); padding: 16px 0; font-size: 12.5px; color: var(--pv-muted); }
.pv-footbase p { margin: 0 0 4px; }
.pv-basebrand { color: var(--pv-primary); font-weight: 700; }
.pv-fine { font-size: 11.5px; opacity: 0.75; }

/* ---------- floating login/register dock ---------- */
.pv-floatdock {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  gap: 10px;
  background: var(--pv-header);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 10px 30px rgba(1, 5, 16, 0.6);
  backdrop-filter: blur(8px);
}
.pv-floatdock .pv-cta { padding: 8px 20px; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pv-cols, .pv-postcols { grid-template-columns: 1fr; }
  .pv-rail, .pv-postrail { position: static; }
  .pv-postrail { order: 2; border-top: 1px solid var(--pv-border); padding-top: 8px; }
  .pv-wingrid { grid-template-columns: repeat(2, 1fr); }
  .pv-footgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 785px) {
  .pv-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--pv-header);
    border-bottom: 1px solid var(--pv-border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 14px 14px;
  }
  .pv-header { position: sticky; }
  .pv-head-in { position: relative; flex-wrap: wrap; }
  .pv-nav.open { display: flex; }
  .pv-burger { display: inline-flex; align-items: center; justify-content: center; }
  .pv-headcta { margin-left: auto; }
  .pv-hero-in { flex-direction: column; text-align: center; padding-top: 36px; padding-bottom: 36px; gap: 22px; }
  .pv-herosub { margin-left: auto; margin-right: auto; }
  .pv-herosteps { justify-content: center; }
  .pv-heroart { width: 100%; min-height: 200px; }
  .pv-grid { grid-template-columns: 1fr; }
  .pv-formgrid { grid-template-columns: 1fr; }
  .pv-footgrid { grid-template-columns: 1fr; gap: 22px; }
  .pv-featurein { grid-template-columns: repeat(2, 1fr); }
  .pv-howgrid { grid-template-columns: 1fr; }
  .pv-wingrid { grid-template-columns: 1fr; }
  .pv-framing { padding: 22px 14px 120px; }
  .pv-floatdock { bottom: 10px; }
  .pv-floatdock .pv-cta { padding: 7px 15px; font-size: 12px; }
  .pv-trustin { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-heroarcade span, .pv-chip { animation: none; }
  .pv-card, .pv-cta { transition: none; }
}

/* ============================================================
   siteapp47 - v2 contract pieces
   Description box, category tag row, shared v2 download action
   and delay zone, landing page, language pill. All colours come
   from the theme's own palette variables.
   ============================================================ */

/* ---------- language pill (multi-locale sites only) ---------- */
.pv-lang {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(20, 12, 4, 0.16);
  border: 1px solid rgba(20, 12, 4, 0.26);
}
[data-theme="dark"] .pv-lang { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.pv-lang-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.8;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.pv-lang-seg:hover { opacity: 1; }
.pv-lang-seg.is-active {
  background: var(--pv-primary);
  color: #04121e;
  opacity: 1;
  box-shadow: 0 0 12px var(--pv-glow);
}

/* ---------- app description box (app_site_details.description) ---------- */
.pv-appdesc {
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  border-left: 4px solid var(--pv-primary);
  border-radius: var(--pv-radius);
  padding: 15px 18px;
  margin-bottom: 16px;
}
.pv-appdesc-head {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--pv-primary);
}
.pv-appdesc p { margin: 0; font-size: 14.5px; color: var(--pv-muted); line-height: 1.68; }

/* ---------- category tag row (every assigned category) ---------- */
.pv-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.pv-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--pv-border);
  background: transparent;
  color: var(--pv-muted);
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pv-tag:hover {
  border-color: var(--pv-primary);
  color: var(--pv-primary);
  background: var(--pv-primary-soft);
}
.pv-tag.is-active {
  background: var(--pv-primary);
  border-color: var(--pv-primary);
  color: #04121e;
  box-shadow: 0 0 14px var(--pv-glow);
}

/* ---------- shared v2 download action ---------- */
.pv-apphead-cta { margin-top: 12px; }
.app-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pv-cta);
  color: var(--pv-cta-ink);
  border: 0;
  border-radius: var(--pv-radius);
  padding: 12px 26px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--pv-cta-glow);
  transition: background 0.15s ease, box-shadow 0.2s ease;
}
.app-dl-btn:hover {
  background: var(--pv-cta-hover);
  color: var(--pv-cta-ink);
  text-decoration: none;
  box-shadow: 0 0 22px var(--pv-cta-glow);
}
.app-dl-btn.is-direct, .app-dl-btn.is-landing { text-decoration: none; }

/* ---------- shared v2 delay zone ---------- */
.app-dl-zone {
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-lg);
  box-shadow: var(--pv-shadow);
  padding: 20px 22px;
  margin: 24px 0 0;
}
.app-dl-zone[data-dl-state="idle"] .app-dl-progress { display: none; }
.app-dl-progress span {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 9px;
  color: var(--pv-primary);
}
.app-dl-bar {
  display: block;
  height: 10px;
  background: var(--pv-surface-2);
  border: 1px solid var(--pv-border);
  border-radius: 999px;
  overflow: hidden;
  font-style: normal;
}
.app-dl-bar b {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pv-primary), var(--pv-cta));
  border-radius: 999px;
}
.app-dl-install { margin: 14px 0 0; font-size: 13.5px; color: var(--pv-muted); }
.app-dl-install b { color: var(--pv-text); display: block; margin-bottom: 7px; }
.app-dl-install ol { margin: 0; padding-left: 22px; }
.app-dl-install li { margin: 5px 0; }
.app-dl-final {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  background: var(--pv-cta);
  color: var(--pv-cta-ink);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--pv-radius);
  box-shadow: 0 4px 14px var(--pv-cta-glow);
}
.app-dl-final:hover { background: var(--pv-cta-hover); color: var(--pv-cta-ink); text-decoration: none; }
.app-dl-final[hidden] { display: none; }

/* ---------- landing (v2 intermediate page) ---------- */
.pv-landwrap { display: flex; justify-content: center; }
.pv-landbox {
  width: 100%;
  max-width: 720px;
  background: var(--pv-surface);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-lg);
  box-shadow: var(--pv-shadow);
  padding: 26px;
}
.pv-landhead { display: flex; gap: 17px; align-items: center; margin-bottom: 16px; }
.pv-landchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pv-landchip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pv-primary-soft);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--pv-primary);
  font-size: 12px;
  font-weight: 700;
}
.pv-landactions { display: flex; flex-wrap: wrap; gap: 11px; margin: 20px 0 4px; }
.pv-landbtn { font-size: 15px; padding: 12px 26px; }
.pv-landsteps {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--pv-border);
  font-size: 13.5px;
  color: var(--pv-muted);
}
.pv-landsteps b { color: var(--pv-text); display: block; margin-bottom: 8px; }
.pv-landsteps ol { margin: 0 0 14px; padding-left: 22px; }
.pv-landsteps li { margin: 5px 0; }
.pv-landback { color: var(--pv-primary); font-weight: 700; font-size: 13.5px; }
.pv-landback:hover { text-decoration: underline; }

/* ---------- misc detail helpers ---------- */
.pv-railtip { margin: 11px 0 0; font-size: 12px; color: var(--pv-muted); }
.pv-sourceline { margin: 22px 0 0; font-size: 13px; color: var(--pv-muted); }
.pv-sourceline a { color: var(--pv-primary); }
.pv-sourceline a:hover { text-decoration: underline; }
.pv-related li a { align-items: center; gap: 10px; }
.pv-related li a > img { width: 44px; height: 44px; object-fit: contain; border-radius: 9px; }

/* ---------- responsive additions ---------- */
@media (max-width: 785px) {
  .pv-lang-seg { min-width: 30px; padding: 3px 8px; font-size: 10.5px; }
  .pv-appdesc { padding: 13px 15px; }
  .pv-landbox { padding: 18px; }
  .pv-landactions .pv-landbtn { flex: 1 1 100%; }
}
