/* Partnership v2 — Warm Paper Dossier + Agency Clarity (2026-10-22)
   Audi 2026-10-22:
   - "ถ้าไม่ใช้กล่องสีเหมือนพื้นหลังแต่ใช้กล่องกระดาษจะอ่านง่ายกว่าไหม"
   - "📋 CAMPAIGN BRIEF ROUTER ... เอาออกดีกว่าไหม"
   - "แล้วพวก เจาะลึก Research & สร้าง Thesis 100% ... เอาออกดีกว่าไหม"
   - "แล้วตรงนี้ยังแสดงเพี้ยน มี Campaign Brief? ส่งรายละเอียดมาได้เลย ... Brief Checklist"
   1) Reading boxes = Leather cover + Warm Paper page (DESIGN.md §16.2a) in both Dark & Light modes.
   2) Clean, single-layer cards without redundant router boxes or arbitrary percentage bars.
   3) Works = reels on phones, click-to-play player, category filter.
   4) 16-bit pixel accents on section headings + subtle paper-toned data visuals. */

/* ── 1. Reading boxes = Leather cover + Warm Paper page (DESIGN.md §16.2a) ───────────────────── */
body.pd-v2 {
  --pd-cv-a: #8a4b2a;
  --pd-cv-b: #4a2414;
  --pd-paper-a: #fffaf0;
  --pd-paper-b: #f6eedb;
  --pd-paper-c: #efe4cb;
  --pd-stitch: rgba(229, 197, 134, 0.62);
}

body.pd-v2 :is(
  .kit-buyer-dossier,
  .kit-rate,
  .kit-commercial-matrix,
  .kit-series-offer,
  .kit-scenario-read-key,
  .kit-scenario-stack,
  .kit-audience-insight,
  .kit-proof,
  .kit-work-card,
  .kit-more-formats,
  .kit-partner-card,
  .kit-steps,
  .kit-scope,
  .kit-performance-grid,
  .kit-demographic-grid,
  .kit-agency-panel,
  .kit-line-contact,
  .kit-discovery-grid,
  .pd-strip
) {
  --paper: var(--pd-paper-b);
  border: 12px solid transparent !important;
  border-radius: 18px !important;
  outline: 1.5px dashed var(--pd-stitch);
  outline-offset: -7px;
  background:
    radial-gradient(140% 90% at 50% 0%, var(--pd-paper-a), var(--pd-paper-b) 70%, var(--pd-paper-c)) padding-box,
    radial-gradient(120% 80% at 18% 0%, rgba(255, 214, 190, 0.2), transparent 55%) border-box,
    linear-gradient(160deg, var(--pd-cv-a), var(--pd-cv-b)) border-box !important;
  background-color: var(--pd-paper-b) !important;
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(90, 60, 25, 0.25) !important;
}

html[data-theme="light"] body.pd-v2 :is(
  .kit-buyer-dossier,
  .kit-rate,
  .kit-commercial-matrix,
  .kit-series-offer,
  .kit-scenario-read-key,
  .kit-scenario-stack,
  .kit-audience-insight,
  .kit-proof,
  .kit-work-card,
  .kit-more-formats,
  .kit-partner-card,
  .kit-steps,
  .kit-scope,
  .kit-performance-grid,
  .kit-demographic-grid,
  .kit-agency-panel,
  .kit-line-contact,
  .kit-discovery-grid,
  .pd-strip
) {
  box-shadow: 0 28px 50px -30px rgba(74, 36, 20, 0.45), inset 0 0 0 1px rgba(90, 60, 25, 0.25) !important;
}

/* Joined evidence grids: one leather cover around the grid; cells are pages separated by hairlines. */
body.pd-v2 :is(.kit-performance-grid, .kit-demographic-grid) {
  overflow: hidden;
}
body.pd-v2 :is(.kit-performance-grid > .kit-performance-card, .kit-demographic-grid > .kit-demographic-card) {
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(90, 60, 25, 0.2) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
body.pd-v2 :is(.kit-performance-grid > .kit-performance-card:last-child, .kit-demographic-grid > .kit-demographic-card:last-child) {
  border-right: 0 !important;
}

/* Recommended package: gold-foil ring outside the leather so agencies spot the flagship tier immediately. */
body.pd-v2 main .kit-rate.is-recommended {
  box-shadow: 0 0 0 3px #e2c98f, 0 0 40px rgba(229, 197, 134, 0.25), 0 34px 60px -30px rgba(0, 0, 0, 0.85) !important;
}

body.pd-v2 .kit-partners {
  background: transparent !important;
}
html[data-theme="light"] body.pd-v2 .kit-partners .kit-h2 {
  color: #14233a;
}
html[data-theme="light"] body.pd-v2 .kit-partners :is(.kit-intro-note, .kit-partner-note) {
  color: #445269;
}

/* ── 2. 16-bit pixel accents on headings & hero mascot ───────────────────────────────────────── */
body.pd-v2 .pd-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.pd-v2 .pd-title.is-center {
  justify-content: center;
}
body.pd-v2 .pd-title > span:last-child {
  min-width: 0;
}
body.pd-v2 .pd-px,
html[data-theme="light"] body.pd-v2 .pd-px {
  flex: 0 0 auto;
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 214, 190, 0.25), transparent 60%), linear-gradient(160deg, #8a4b2a, #4a2414);
  border: 1px solid rgba(229, 197, 134, 0.6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
body.pd-v2 .pd-px-svg {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}
@keyframes pd-blink {
  0%, 70% { filter: none; }
  71%, 85% { filter: brightness(1.45) saturate(1.3); }
  86%, 100% { filter: none; }
}
@keyframes pd-spin {
  0% { transform: scaleX(1); }
  25% { transform: scaleX(0.5); }
  50% { transform: scaleX(-1); }
  75% { transform: scaleX(-0.5); }
  100% { transform: scaleX(1); }
}
@keyframes pd-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
body.pd-v2 .pd-px-blink { animation: pd-blink 2.4s steps(1) infinite; }
body.pd-v2 .pd-px-spin { animation: pd-spin 2.8s steps(4) infinite; }
body.pd-v2 .pd-px-bob { animation: pd-bob 1.6s steps(2) infinite; }

body.pd-v2 .kit-buyer-dossier {
  position: relative;
  overflow: visible !important;
}
body.pd-v2 .pd-hero-mascot {
  position: absolute;
  z-index: 3;
  right: -26px;
  top: -92px;
  width: 118px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
  animation: pd-hop 2.2s steps(2) infinite;
}
@keyframes pd-hop {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

/* Subtle story wave inside the paper buyer dossier */
body.pd-v2 .pd-story-conduit {
  padding: 6px 18px 0;
  border-top: 1px solid rgba(90, 60, 25, 0.16);
  background: linear-gradient(180deg, rgba(138, 75, 42, 0.05), transparent);
}
body.pd-v2 .pd-story-wave-svg {
  display: block;
  width: 100%;
  height: 44px;
}
@keyframes pd-wave-flow {
  from { stroke-dashoffset: 268; }
  to { stroke-dashoffset: 0; }
}
body.pd-v2 .pd-story-wave-pulse {
  stroke: #8a4b2a;
  animation: pd-wave-flow 4.2s linear infinite;
}

/* ── 3. Interactive Industry Scenario Filter + Clean Scenario Cards on Paper ─────────────────── */
body.pd-v2 .pd-industry-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 18px;
}
body.pd-v2 .pd-industry-bar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, #26355a, #172340);
  color: #eef2f8;
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
body.pd-v2 .pd-industry-bar button b {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font: 700 0.78rem 'AK Thai','Google Sans','Outfit', sans-serif;
}
body.pd-v2 .pd-industry-bar button:hover {
  transform: translateY(-2px);
}
body.pd-v2 .pd-industry-bar button[aria-pressed="true"] {
  background: linear-gradient(135deg, #684812 0%, #3b2708 100%) !important;
  color: #f8fafc !important;
  border-color: #e5c586 !important;
  box-shadow: 0 0 0 1px rgba(229, 197, 134, 0.45), 0 8px 20px rgba(0, 0, 0, 0.35) !important;
  font-weight: 700;
}
body.pd-v2 .pd-industry-bar button[aria-pressed="true"] b {
  background: rgba(229, 197, 134, 0.22) !important;
  color: #f1d79c !important;
}
html[data-theme="light"] body.pd-v2 .pd-industry-bar button:not([aria-pressed="true"]) {
  background: linear-gradient(160deg, #ffffff, #e8eef6);
  color: #1b2b40;
  border-color: #b8c7dc;
}
html[data-theme="light"] body.pd-v2 .pd-industry-bar button:not([aria-pressed="true"]) b {
  background: #dfe7f1;
}
body.pd-v2 .kit-scenario-card {
  transition: opacity 0.22s ease, background-color 0.22s ease;
}
body.pd-v2 .kit-scenario-card.is-industry-focus {
  background: rgba(201, 165, 74, 0.14);
  border-radius: 12px;
}
body.pd-v2 .kit-scenario-card.is-industry-dim {
  opacity: 0.42;
}

/* ── 4. Real-Data Visual Accents on Paper (#audience) ────────────────────────────────────────── */
body.pd-v2 .pd-discovery-visual {
  display: flex;
  align-items: center;
  gap: 16px;
}
body.pd-v2 .pd-arc-gauge {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  transform: rotate(-90deg);
}
body.pd-v2 .pd-arc-track {
  stroke: rgba(90, 60, 25, 0.15);
}
body.pd-v2 .pd-arc-fill {
  transition: stroke-dasharray 0.6s ease;
}

/* Skyline mini-bars inside .kit-performance-card (frameless single-baseline on warm paper) */
body.pd-v2 .pd-perf-skyline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  height: 72px;
  margin: 12px 0 20px;
  padding: 6px 4px 20px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(90, 60, 25, 0.22);
}
body.pd-v2 .pd-perf-skyline > span {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}
body.pd-v2 .pd-perf-skyline > span::before {
  content: '';
  width: 100%;
  max-width: 26px;
  height: var(--h, 50%);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--c, #1f3d66), rgba(31, 61, 102, 0.28));
}
body.pd-v2 .pd-perf-skyline > span > i {
  position: absolute;
  bottom: -16px;
  font: 700 0.72rem/1 'AK Thai','Google Sans','Outfit', sans-serif;
  color: #353d50;
  font-style: normal;
}

/* Age staircase bars inside .kit-demographic-card (dark ink on warm paper) */
body.pd-v2 .pd-age-staircase {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(90, 60, 25, 0.22);
}
body.pd-v2 .pd-age-staircase > div {
  display: grid;
  grid-template-columns: 76px 1fr 46px;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}
body.pd-v2 .pd-age-staircase span {
  color: #353d50 !important;
  font-weight: 600;
}
body.pd-v2 .pd-age-staircase i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(90, 60, 25, 0.12);
  position: relative;
  overflow: hidden;
}
body.pd-v2 .pd-age-staircase i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: 999px;
  background: var(--c, #1f3d66);
}
body.pd-v2 .pd-age-staircase b {
  text-align: right;
  color: #1c1f2a !important;
  font: 700 0.82rem 'AK Thai','Google Sans','Outfit', sans-serif;
}

/* ── 5. Works: filter chips + phone reels + player dialog ───────────────────────────────────── */
body.pd-v2 {
  --pd-research: #4f8fe8;
  --pd-research-deep: #1e4f9c;
  --pd-education: #e0b04a;
  --pd-education-deep: #8a5d10;
  --pd-thinking: #b26ad9;
  --pd-thinking-deep: #5b2580;
}
body.pd-v2 .pd-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
body.pd-v2 .pd-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, #26355a, #172340);
  color: #eef2f8;
  font: 600 1rem var(--font-body);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body.pd-v2 .pd-filter button b {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font: 700 0.88rem 'AK Thai','Google Sans','Outfit', sans-serif;
}
body.pd-v2 .pd-filter button:hover { transform: translateY(-2px); }
body.pd-v2 .pd-filter button:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.28); }
body.pd-v2 .pd-filter button[aria-pressed="true"] {
  background: linear-gradient(135deg, #684812 0%, #3b2708 100%) !important;
  color: #f8fafc !important;
  border-color: #e5c586 !important;
  box-shadow: 0 0 0 1px rgba(229, 197, 134, 0.45), 0 8px 20px rgba(0, 0, 0, 0.35) !important;
}
body.pd-v2 .pd-filter button[aria-pressed="true"] b {
  background: rgba(229, 197, 134, 0.22) !important;
  color: #f1d79c !important;
}
body.pd-v2 .pd-filter button.pd-cat-research:not([aria-pressed="true"]) { border-color: rgba(79, 143, 232, 0.6); }
body.pd-v2 .pd-filter button.pd-cat-education:not([aria-pressed="true"]) { border-color: rgba(224, 176, 74, 0.6); }
body.pd-v2 .pd-filter button.pd-cat-thinking:not([aria-pressed="true"]) { border-color: rgba(178, 106, 217, 0.65); }
html[data-theme="light"] body.pd-v2 .pd-filter button:not([aria-pressed="true"]) {
  background: linear-gradient(160deg, #ffffff, #e8eef6);
  color: #1b2b40;
  box-shadow: inset 0 -3px 0 rgba(20, 35, 60, 0.1);
}
html[data-theme="light"] body.pd-v2 .pd-filter button:not([aria-pressed="true"]) b { background: #dfe7f1; }
body.pd-v2 .pd-filter button:focus-visible { outline: 3px solid #f1d79c; outline-offset: 3px; }

/* Works: grid + cards */
body.pd-v2 .kit-work-grid.pd-works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
body.pd-v2 .pd-work {
  --cat: var(--pd-research);
  --cat-deep: var(--pd-research-deep);
  display: grid !important;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.pd-v2 .pd-work.pd-cat-education { --cat: var(--pd-education); --cat-deep: var(--pd-education-deep); }
body.pd-v2 .pd-work.pd-cat-thinking { --cat: var(--pd-thinking); --cat-deep: var(--pd-thinking-deep); }
body.pd-v2 .pd-work:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 2px rgba(229, 197, 134, 0.7), 0 34px 60px -26px rgba(0, 0, 0, 0.85) !important;
}
body.pd-v2 .pd-work[hidden] { display: none !important; }
body.pd-v2 .pd-work.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
body.pd-v2 .pd-work .kit-work-body { padding: 26px 26px 24px; min-width: 0; }
body.pd-v2 .pd-work .kit-work-body h3 { font-size: 1.3rem; line-height: 1.45; margin-top: 2px; }
body.pd-v2 .pd-work .kit-work-body > p { font-size: 1rem !important; line-height: 1.7 !important; }
body.pd-v2 .pd-work .kit-work-body > p.kit-work-kicker {
  margin: 10px 0 0;
  color: #6b4e0f !important;
  font: 600 0.95rem/1.6 var(--font-body) !important;
  letter-spacing: 0;
  text-transform: none;
}
body.pd-v2 .pd-tag {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 10px !important;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--cat), var(--cat-deep));
  color: #fff !important;
  font: 700 0.86rem/1.3 var(--font-body) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}
body.pd-v2 .pd-work.pd-cat-education .pd-tag {
  color: #1d1300 !important;
  text-shadow: none;
  background: linear-gradient(150deg, #f3cf7a, #c99632);
}

/* Phone = the reel on the device a sponsor is actually buying for. */
body.pd-v2 .kit-work-cover.pd-phone {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  max-width: 148px;
  aspect-ratio: 9 / 16;
  height: auto;
  align-self: start;
  margin: 22px auto 22px 18px;
  border-radius: 22px;
  padding: 6px;
  cursor: pointer;
  isolation: isolate;
  background: linear-gradient(160deg, #39445e, #0c111d 60%, #262f45);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 16px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.pd-v2 .kit-work-cover.pd-phone::after { content: none; }
body.pd-v2 .kit-work-cover.pd-phone::before {
  content: '';
  position: absolute;
  z-index: 3;
  inset: auto;
  top: 10px;
  left: 50%;
  width: 34%;
  height: 6px;
  translate: -50% 0;
  border-radius: 99px;
  background: #05070c;
}
body.pd-v2 .pd-phone-screen {
  position: absolute;
  inset: 6px;
  overflow: hidden;
  border-radius: 17px;
  background: #0a1020;
}
body.pd-v2 .pd-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
body.pd-v2 .pd-phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 30%), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px);
}
body.pd-v2 .pd-phone-play {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  translate: -50% -50%;
  border-radius: 12px;
  background: rgba(10, 16, 32, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpath fill='%23f2c94c' d='M2 1h1v6H2zM3 2h1v4H3zM4 3h1v2H4z'/%3E%3C/svg%3E") center / 26px no-repeat;
  border: 2px solid #f2c94c;
  box-shadow: 0 0 0 3px rgba(10, 16, 32, 0.55), 0 6px 16px rgba(0, 0, 0, 0.5);
  image-rendering: pixelated;
  transition: transform 0.2s steps(2);
}
body.pd-v2 .pd-phone-play.is-fb {
  background: #fff url("/assets/social-facebook.svg") center / 30px no-repeat;
  border-color: #1877f2;
  border-radius: 50%;
}
body.pd-v2 .pd-phone-len {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 22px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(5, 8, 15, 0.82);
  color: #fff;
  font: 700 0.78rem 'AK Thai','Google Sans','Outfit', sans-serif;
  letter-spacing: 0.02em;
}
body.pd-v2 .pd-phone-bar {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
}
body.pd-v2 .pd-phone-bar i { display: block; width: 0; height: 100%; background: #f2c94c; }
body.pd-v2 .pd-work:hover .pd-phone, body.pd-v2 .pd-phone:focus-visible { transform: translateY(-4px) rotate(-2deg); }
body.pd-v2 .pd-work:hover .pd-phone-play, body.pd-v2 .pd-phone:focus-visible .pd-phone-play { transform: scale(1.12); }
body.pd-v2 .pd-work:hover .pd-phone-screen img { transform: scale(1.06); }
body.pd-v2 .pd-work:hover .pd-phone-bar i, body.pd-v2 .pd-phone:focus-visible .pd-phone-bar i { width: 100%; transition: width 2.4s steps(12); }
body.pd-v2 .pd-phone:focus-visible { outline: 3px solid #f2c94c; outline-offset: 4px; }

/* Stock Arc: three phones in a row */
body.pd-v2 .pd-arc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 14px 18px;
  min-width: 0;
  background: radial-gradient(80% 70% at 50% 40%, rgba(79, 143, 232, 0.18), transparent 70%);
}
body.pd-v2 .pd-arc-ep {
  display: grid;
  justify-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 168px;
}
body.pd-v2 .pd-arc .kit-work-cover.pd-phone { margin: 0 auto; max-width: 150px; }
body.pd-v2 .pd-arc-label {
  display: grid;
  justify-items: center;
  color: var(--ink-muted);
  font: 500 0.92rem/1.35 var(--font-body);
  text-align: center;
}
body.pd-v2 .pd-arc-label b {
  color: var(--ink);
  font: 700 1rem 'AK Thai','Google Sans','Outfit', var(--font-body);
}
body.pd-v2 .pd-arc-arrow {
  flex: 0 0 18px;
  height: 14px;
  margin-bottom: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 7' shape-rendering='crispEdges'%3E%3Cpath fill='%23f2c94c' d='M0 3h6v1H0zM4 1h1v5H4zM5 2h1v3H5zM6 3h1v1H6z'/%3E%3C/svg%3E") center / contain no-repeat;
  image-rendering: pixelated;
}
body.pd-v2 .pd-arc .pd-phone:hover { transform: translateY(-6px) rotate(-2deg); }
body.pd-v2 .pd-work.is-featured:hover .pd-phone { transform: none; }
body.pd-v2 .pd-work.is-featured .pd-arc .pd-phone:hover { transform: translateY(-6px) rotate(-2deg); }

/* Actions */
body.pd-v2 .pd-work .kit-work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  margin-top: auto;
}
body.pd-v2 .pd-play, body.pd-v2 .pd-fb, body.pd-v2 .kit-post-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font: 700 0.98rem var(--font-body);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
body.pd-v2 .pd-play {
  border: 0;
  background: linear-gradient(160deg, #f1d79c, #d9b46a);
  color: #111620;
  box-shadow: 0 6px 18px rgba(229, 197, 134, 0.28), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
body.pd-v2 .pd-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(229, 197, 134, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}
body.pd-v2 .pd-play:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18); }
body.pd-v2 :is(.pd-work .pd-fb, .kit-post-link) {
  border: 1px solid #b9a27a !important;
  background: #fffdf7 !important;
  color: #2a2118 !important;
}
body.pd-v2 :is(.pd-work .pd-fb, .kit-post-link):hover {
  border-color: #1877f2 !important;
  background: #eef4fe !important;
  transform: translateY(-2px);
}
body.pd-v2 :is(.pd-play, .pd-fb, .kit-post-link) img { width: 18px; height: 18px; }
body.pd-v2 :is(.pd-play, .pd-fb, .kit-post-link):focus-visible { outline: 3px solid #f1d79c; outline-offset: 3px; }

body.pd-v2 .kit-more-formats { margin-top: 22px; }
body.pd-v2 .kit-more-formats .kit-work-kicker {
  color: #6b4e0f;
  font: 600 0.95rem var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

@keyframes pd-pop {
  from { opacity: 0.3; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
body.pd-v2 .pd-work.pd-pop { animation: pd-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1); }

/* ── Player dialog ─────────────────────────────────────────────────────────────── */
.pd-player {
  margin: auto;
  inset: 0;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #eef2f8;
  overflow: visible;
}
.pd-player::backdrop {
  background: rgba(3, 7, 16, 0.78);
  backdrop-filter: blur(6px);
}
.pd-player-box {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(90% 60% at 100% 0%, rgba(229, 197, 134, 0.16), transparent 50%), linear-gradient(145deg, #1f2b47, #0b1020);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.pd-player-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.pd-player-close:hover { background: rgba(255, 255, 255, 0.18); }
.pd-player-close:focus-visible { outline: 3px solid #f1d79c; outline-offset: 2px; }
.pd-player-phone {
  position: relative;
  width: min(330px, 62dvh * 9 / 16, calc(100vw - 84px));
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  padding: 8px;
  background: linear-gradient(160deg, #3d4862, #0a0e18 60%, #283149);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.pd-player-poster, .pd-player-embed, .pd-player-embed iframe {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border-radius: 23px;
  border: 0;
  object-fit: cover;
}
.pd-player-poster { filter: brightness(0.55); }
.pd-player-embed iframe { inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.25s ease; background: #000; }
.pd-player.is-loaded .pd-player-embed iframe { opacity: 1; }
.pd-player-loading {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #f2c94c;
  font: 700 0.9rem 'AK Thai','Google Sans','Outfit', monospace;
  letter-spacing: 0.2em;
}
.pd-player-loading i {
  display: block;
  width: 120px;
  height: 10px;
  border: 2px solid #f2c94c;
  background: linear-gradient(90deg, #f2c94c 0 0) left / 0 100% no-repeat;
  animation: pd-load 1.6s steps(8) infinite;
}
@keyframes pd-load { to { background-size: 100% 100%; } }
.pd-player.is-loaded .pd-player-loading { display: none; }
.pd-player-side { min-width: 0; padding-right: 30px; }
.pd-player-meta { margin: 0 0 6px; color: #c4ccd9; font: 600 0.95rem var(--font-body); }
.pd-player-title { margin: 0 0 18px; font: 600 1.45rem/1.4 var(--font-head); color: #fff; }
.pd-player-eps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-ep {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #eef2f8;
  font: 700 0.95rem var(--font-body);
  cursor: pointer;
}
.pd-ep[aria-pressed="true"] {
  background: linear-gradient(160deg, #f1d79c, #c9a25a);
  color: #141a28;
  border-color: #f1d79c;
}
.pd-ep:focus-visible { outline: 3px solid #f1d79c; outline-offset: 2px; }
.pd-player-slow {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(242, 201, 76, 0.12);
  color: #ffe7a6;
  font-size: 0.95rem;
  line-height: 1.6;
}
.pd-player .pd-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #1877f2;
  color: #fff;
  font: 700 0.98rem var(--font-body);
  text-decoration: none;
}
.pd-player .pd-fb img { width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.pd-player .pd-fb:focus-visible { outline: 3px solid #f1d79c; outline-offset: 3px; }
.pd-player-hint { margin: 0 0 16px; color: #c4ccd9; font-size: 0.92rem; line-height: 1.6; }

/* ── 6. Workflow conduit + Whole page in one tone (#agency, #contact, #audience) ─────────────── */
body.pd-v2 .pd-workflow-conduit {
  margin: 18px 0 -8px;
  padding: 0 12px;
}
body.pd-v2 .pd-workflow-svg {
  display: block;
  width: 100%;
  height: 32px;
}

body.pd-v2 .kit-partner-grid > .kit-partner-card:last-child {
  border: 12px solid transparent !important;
  border-radius: 18px !important;
}

/* Paper inks for boxes that used to be navy panels */
body.pd-v2 :is(.kit-agency-panel, .kit-line-contact, .kit-discovery-grid, .pd-strip) {
  --ink: #1c1f2a;
  --ink-muted: #353d50;
  --text: #1c1f2a;
  --text-muted: #353d50;
  --desk-ink: #1c1f2a;
  --desk-muted: #353d50;
  --desk-blue: #1f3d66;
  --desk-gold: #7a5a12;
  --gold-light: #7a5a12;
  --kit-line: rgba(90, 60, 25, 0.2);
  --desk-line: rgba(90, 60, 25, 0.2);
  color: #1c1f2a;
}

/* #agency reference: cognac leather cover + warm paper page; open by default for fast AE reading */
body.pd-v2 #agency.kit-agency-panel {
  border: 12px solid transparent !important;
  border-radius: 18px !important;
  outline: 1.5px dashed var(--pd-stitch);
  outline-offset: -7px;
  background:
    radial-gradient(140% 90% at 50% 0%, var(--pd-paper-a), var(--pd-paper-b) 70%, var(--pd-paper-c)) padding-box,
    radial-gradient(120% 80% at 18% 0%, rgba(255, 214, 190, 0.2), transparent 55%) border-box,
    linear-gradient(160deg, var(--pd-cv-a), var(--pd-cv-b)) border-box !important;
  background-color: var(--pd-paper-b) !important;
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(90, 60, 25, 0.25) !important;
}
body.pd-v2 .kit-agency-head > div:first-child > div:first-child {
  border: 1px solid rgba(31, 61, 102, 0.3) !important;
  background: #eef2f8 !important;
  color: #1f3d66 !important;
}
body.pd-v2 .kit-agency-head span[style] {
  color: #1f3d66 !important;
}
body.pd-v2 .kit-agency-head > div:first-child {
  border-color: rgba(90, 60, 25, 0.25) !important;
  background: rgba(90, 60, 25, 0.08) !important;
  color: #8a5a12 !important;
}
body.pd-v2 .kit-agency-details > summary {
  border-color: #b9a27a !important;
  background: #fffdf7 !important;
  color: #2a2118 !important;
}
body.pd-v2 .kit-agency-details > summary:hover {
  background: #f6eedb !important;
}
body.pd-v2 :is(.kit-agency-grid > div, .kit-agency-rights) {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(90, 60, 25, 0.2) !important;
  border-radius: 0 !important;
  padding: 16px 0 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
body.pd-v2 .kit-agency-group-title {
  margin: 20px 0 4px !important;
  padding: 10px 14px !important;
  background: rgba(201, 165, 74, 0.14) !important;
  border-left: 4px solid #8a5a12 !important;
  border-bottom: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  color: #1f3d66 !important;
  font: 700 clamp(1.22rem, 1.55vw, 1.38rem)/1.35 var(--font-head) !important;
  letter-spacing: -0.01em !important;
}
body.pd-v2 .kit-agency-group-title + div,
body.pd-v2 .kit-agency-group-title + div + div {
  border-top: 0 !important;
  padding-top: 4px !important;
}
body.pd-v2 .kit-agency-grid > div > strong {
  font-size: 1.06rem !important;
  margin-bottom: 8px !important;
  color: #1c1f2a !important;
}
body.pd-v2 .kit-agency-grid > div > span {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: #353d50 !important;
}
body.pd-v2 .kit-term-option {
  border-bottom-color: rgba(90, 60, 25, 0.16) !important;
}
body.pd-v2 .kit-term-option b {
  font-size: 0.96rem !important;
  color: #1c1f2a !important;
}
body.pd-v2 .kit-term-option span {
  font-size: 0.95rem !important;
  line-height: 1.62 !important;
  color: #353d50 !important;
}
body.pd-v2 .kit-term-option small strong {
  color: #1c1f2a !important;
}
body.pd-v2 .kit-term-option small {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: #353d50 !important;
}
body.pd-v2 .kit-agency-rights {
  margin-top: 28px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}
body.pd-v2 .kit-agency-rights > strong {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 10px 14px !important;
  background: rgba(201, 165, 74, 0.14) !important;
  border-left: 4px solid #8a5a12 !important;
  border-bottom: 0 !important;
  border-radius: 0 8px 8px 0 !important;
  color: #1f3d66 !important;
  font: 700 clamp(1.22rem, 1.55vw, 1.38rem)/1.35 var(--font-head) !important;
}
body.pd-v2 .kit-agency-rights > div > div {
  border-left: 0 !important;
  border-top: 1px solid rgba(90, 60, 25, 0.18) !important;
  padding: 14px 0 0 !important;
}
body.pd-v2 .kit-agency-rights > div > div > strong {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 1.02rem !important;
  color: #1c1f2a !important;
}
body.pd-v2 .kit-agency-rights > div > div > p {
  font-size: 0.94rem !important;
  line-height: 1.62 !important;
  color: #353d50 !important;
}
body.pd-v2 #agency :is(span[style], p[style], li, dd) {
  color: #353d50 !important;
}
body.pd-v2 #agency :is(h3, strong, b) {
  color: #1c1f2a !important;
}
body.pd-v2 #agency :is(h4.kit-agency-group-title, .kit-agency-rights > strong) {
  color: #1f3d66 !important;
}

/* #contact = Oxblood leather cover + Warm Paper page (DESIGN.md §16.2a: write-to-Audi) */
body.pd-v2 .kit-line-contact {
  --pd-cv-a: #7a2e3e;
  --pd-cv-b: #3e1520;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 44px) !important;
  text-align: center;
}
body.pd-v2 .kit-line-contact::before { content: none; }
body.pd-v2 .kit-line-contact .kit-contact-star { display: none; }
body.pd-v2 .kit-line-contact :is(.kit-h2, p, strong) {
  color: #1c1f2a !important;
}
body.pd-v2 #contact .kit-h2.pd-title.is-center {
  max-width: none !important;
}
body.pd-v2 .kit-line-contact .pd-contact-lead {
  max-width: 620px;
  margin: 14px auto 0 !important;
  color: #353d50 !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}
body.pd-v2 .kit-contact-email {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 !important;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 46, 62, 0.35);
  background: #fffdf7;
  color: #7a2e3e !important;
  font: 700 1rem/1.3 var(--font-body);
  text-decoration: none;
}
body.pd-v2 .kit-contact-email:hover {
  background: #7a2e3e;
  color: #fffaf0 !important;
}
body.pd-v2 .pd-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
}
body.pd-v2 .kit-contact-reference {
  color: #1f3d66 !important;
}
body.pd-v2 .kit-line-contact .kit-line-fast {
  border-color: #1f9d55 !important;
  background: #effaf3 !important;
  color: #0b6b37 !important;
}
body.pd-v2 .kit-line-contact .kit-line-fast:hover {
  background: #0c7130 !important;
  color: #fff !important;
}
body.pd-v2 .pd-checklist {
  max-width: 820px;
  margin: 28px auto 0 !important;
  padding: 22px 4px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid rgba(90, 60, 25, 0.25) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  text-align: left;
}
body.pd-v2 .pd-checklist-title {
  display: block;
  margin-bottom: 14px;
  color: #1c1f2a !important;
  font: 700 1rem/1.4 var(--font-body);
}
body.pd-v2 #contact .kit-contact-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 0 !important;
}
body.pd-v2 #contact .kit-contact-checklist > div {
  padding: 12px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(90, 60, 25, 0.22) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.pd-v2 #contact .kit-contact-checklist dt {
  margin-bottom: 5px;
  color: #1f3d66 !important;
  font: 700 0.96rem/1.35 var(--font-body) !important;
}
body.pd-v2 #contact .kit-contact-checklist dd {
  margin: 0;
  color: #353d50 !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}

/* Discovery strip & volume strip on paper */
body.pd-v2 .kit-discovery-grid {
  overflow: hidden;
  margin-bottom: 18px !important;
}
body.pd-v2 .kit-discovery-grid > * {
  border-color: rgba(90, 60, 25, 0.2) !important;
  padding: 20px 22px !important;
}
body.pd-v2 .kit-discovery-grid .kit-channel-link {
  border-color: #b9a27a !important;
  background: #fffdf7 !important;
  color: #2a2118 !important;
}
body.pd-v2 .kit-discovery-grid [style*="#d1d5db"] { color: #1c1f2a !important; }
body.pd-v2 .kit-discovery-grid [style*="#1877F2"] { color: #1456b8 !important; }
body.pd-v2 .kit-discovery-grid [style*="#E4405F"] { color: #b3304c !important; }
body.pd-v2 .kit-discovery-grid img[src*="tiktok"] {
  filter: none !important;
  opacity: 1 !important;
}
body.pd-v2 .pd-strip {
  padding: 14px 20px !important;
  margin-top: 18px;
  text-align: center;
}
body.pd-v2 .pd-strip p {
  color: #353d50 !important;
}

/* Partners: relation type colour-coded */
body.pd-v2 .kit-partner-type {
  color: #fff !important;
  background: linear-gradient(150deg, #1f3d66, #13264a) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
body.pd-v2 .kit-partner-type.is-sponsored {
  background: linear-gradient(150deg, #f3cf7a, #c99632) !important;
  color: #2b2212 !important;
}
body.pd-v2 .kit-partner-type.is-affiliate {
  background: linear-gradient(150deg, #3f7fd8, #1e4f9c) !important;
}
body.pd-v2 .kit-partner-type.is-agency {
  background: linear-gradient(150deg, #9b55c4, #5b2580) !important;
}
body.pd-v2 .kit-partner-card {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
body.pd-v2 .kit-partner-card:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  box-shadow: 0 0 0 2px rgba(229, 197, 134, 0.7), 0 34px 60px -26px rgba(0, 0, 0, 0.85) !important;
}
body.pd-v2 .kit-partner-card .kit-partner-logo {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.pd-v2 .kit-partner-card:hover .kit-partner-logo {
  transform: scale(1.06) rotate(-3deg);
}

/* Series offer leather frame */
body.pd-v2 .kit-multi-clip-strip > .kit-series-offer {
  background:
    radial-gradient(140% 90% at 50% 0%, var(--pd-paper-a), var(--pd-paper-b) 70%, var(--pd-paper-c)) padding-box,
    radial-gradient(120% 80% at 18% 0%, rgba(255, 214, 190, 0.2), transparent 55%) border-box,
    linear-gradient(160deg, var(--pd-cv-a), var(--pd-cv-b)) border-box !important;
  border: 12px solid transparent !important;
}
body.pd-v2 .kit-series-volume-note {
  flex: 1 1 100%;
  margin: 4px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid rgba(90, 60, 25, 0.22) !important;
  color: #353d50 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}
body.pd-v2 .kit-series-volume-note strong {
  color: #1c1f2a !important;
}

/* ── 7. Light theme overrides for outer canvas & headings ────────────────────────────────────── */
html[data-theme="light"] body.pd-v2 {
  --desk-ink: #14233a;
  --desk-muted: #3d4a5e;
}
html[data-theme="light"] body.pd-v2 :is(
  .kit-intro-note,
  .kit-scenario-head > p,
  .kit-scenario-foot,
  .kit-scope-panel > header > p,
  .kit-library-cta > p,
  main .kit-eyebrow
) {
  color: #3d4a5e !important;
}
html[data-theme="light"] body.pd-v2 :is(
  .kit-intro-note strong,
  .kit-scenario-foot strong,
  .kit-scenario-foot a
) {
  color: #14233a !important;
}
html[data-theme="light"] body.pd-v2 .kit-hero {
  background: radial-gradient(circle at 82% 18%, rgba(229, 197, 134, 0.28), transparent 32%), radial-gradient(circle at 15% 90%, rgba(120, 160, 210, 0.18), transparent 40%) !important;
}
html[data-theme="light"] body.pd-v2 .kit-hero::after { border-color: rgba(138, 90, 18, 0.18); }
html[data-theme="light"] body.pd-v2 .kit-h1 { color: #14233a !important; }
html[data-theme="light"] body.pd-v2 .kit-key-message { color: #8a5a12 !important; }
html[data-theme="light"] body.pd-v2 .kit-hero .kit-lead { color: #3d4a5e !important; }
html[data-theme="light"] body.pd-v2 .kit-hero-meta span { color: #4a5568 !important; }
html[data-theme="light"] body.pd-v2 .kit-hero .kit-btn-secondary {
  border-color: #9fb0c6 !important;
  background: #ffffff !important;
  color: #14233a !important;
}
html[data-theme="light"] body.pd-v2 .kit-hero .kit-btn-secondary:hover { border-color: #8a5a12 !important; }
html[data-theme="light"] body.pd-v2 .kit-hero .kit-text-link { color: #14233a !important; }
html[data-theme="light"] body.pd-v2 :is(.kit-scenario-comparison h3, #scenario-comparison-title, #workflow h3, #scope h2) {
  color: #14233a !important;
}
html[data-theme="light"] body.pd-v2 .kit-jump-links a { color: #2a3a52 !important; }
html[data-theme="light"] body.pd-v2 .kit-jump-links a:is(:hover, [aria-current="true"], .is-current) { color: #8a5a12 !important; }
body.pd-v2 .kit-jump .kit-jump-brand { display: none !important; }
body.pd-v2 :is(.kit-library-cta .kit-btn-primary, .kit-line-contact .kit-btn-primary) {
  border-color: rgba(229, 197, 134, 0.55) !important;
  background: linear-gradient(135deg, #684812 0%, #3b2708 100%) !important;
  color: #f8fafc !important;
}
body.pd-v2 :is(.kit-library-cta .kit-btn-primary, .kit-line-contact .kit-btn-primary):hover {
  border-color: #e5c586 !important;
  background: linear-gradient(135deg, #7c5616 0%, #462f0a 100%) !important;
  color: #ffffff !important;
}

/* ── 8. Responsive & Typography Polish ───────────────────────────────────────────────────────── */
body.pd-v2 .kit-h1 { line-height: 1.4 !important; }
body.pd-v2 :is(.kit-h2, main h3, main h4, .kit-buyer-dossier h2) { line-height: 1.45 !important; }
body.pd-v2 :is(#scope h2, .kit-rate-badge) { line-height: 1.5 !important; }
body.pd-v2 .pd-title .kit-key-message,
body.pd-v2 .pd-nowrap { white-space: nowrap; }
body.pd-v2 :is(.pd-play, .pd-fb, .kit-post-link) { white-space: nowrap; }
body.pd-v2 .pd-work.is-featured .kit-work-cover.pd-phone {
  aspect-ratio: 9 / 16 !important;
  min-height: 0 !important;
  height: auto !important;
}
body.pd-v2 .kit-method-route {
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
}
body.pd-v2 .kit-method-route span {
  white-space: nowrap;
  padding-inline: 4px 12px;
}
body.pd-v2 .kit-dossier-fact { padding-inline: 10px; }
body.pd-v2 .kit-dossier-fact b { white-space: nowrap; font-size: 0.95rem; }

@media (min-width: 1900px) {
  body.pd-v2 .kit-wrap { width: min(1680px, calc(100% - 120px)); }
  body.pd-v2 { font-size: 1.06rem; }
}
@media (max-width: 1099px) {
  body.pd-v2 .pd-work.is-featured { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  body.pd-v2 .kit-buyer-dossier { margin-top: 64px; }
  body.pd-v2 #rates .kit-rate-grid { gap: 28px; }
}
@media (max-width: 860px) {
  body.pd-v2 .kit-work-grid.pd-works { grid-template-columns: minmax(0, 1fr); }
  body.pd-v2 #contact .kit-contact-checklist { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.pd-v2 .kit-buyer-dossier { margin-top: 52px; }
  body.pd-v2 .pd-work { grid-template-columns: 112px minmax(0, 1fr); }
  body.pd-v2 .pd-work .kit-work-cover.pd-phone { max-width: 100px; margin: 18px auto 18px 12px; border-radius: 18px; padding: 5px; }
  body.pd-v2 .pd-phone-screen { inset: 5px; border-radius: 14px; }
  body.pd-v2 .pd-phone-play { width: 38px; height: 38px; background-size: 20px; }
  body.pd-v2 .pd-phone-len { display: none; }
  body.pd-v2 .pd-work .kit-work-body { padding: 18px 16px 18px 6px; }
  body.pd-v2 .pd-work .kit-work-body h3 { font-size: 1.12rem; }
  body.pd-v2 .pd-work.is-featured .kit-work-body { padding: 4px 18px 20px; }
  body.pd-v2 .pd-arc { padding: 20px 8px 14px; gap: 2px; }
  body.pd-v2 .pd-arc .kit-work-cover.pd-phone { max-width: 96px; margin: 0 auto; }
  body.pd-v2 .pd-arc-arrow { flex-basis: 12px; }
  body.pd-v2 .pd-work .kit-work-links > * { flex: 1 1 100%; }
  body.pd-v2 .pd-title:not(.is-center) { flex-direction: column; align-items: flex-start; gap: 14px; }
  body.pd-v2 .pd-title.is-center { flex-direction: column; gap: 12px; }
  body.pd-v2 .pd-px { width: 46px; height: 46px; border-radius: 12px; }
  body.pd-v2 .pd-px-svg { width: 32px; height: 32px; }
  body.pd-v2 .pd-hero-mascot { width: 80px; right: -4px; top: -76px; }
  body.pd-v2 .pd-workflow-conduit { display: none; }
  body.pd-v2 .pd-copy-spec-btn { width: 100%; justify-content: center; }
  body.pd-v2 .pd-contact-actions .kit-btn { width: 100%; }
  .pd-player-box { grid-template-columns: 1fr; justify-items: center; gap: 16px; padding: 18px 16px 20px; }
  .pd-player-phone { width: min(260px, 52dvh * 9 / 16); }
  .pd-player-side { padding-right: 0; text-align: center; }
  .pd-player-eps { justify-content: center; }
  .pd-player-title { font-size: 1.2rem; margin-bottom: 12px; }
}
@media (max-width: 360px) {
  body.pd-v2 :is(.pd-play, .pd-fb) { padding-inline: 12px; font-size: 0.9rem; }
  body.pd-v2 .pd-work { grid-template-columns: 96px minmax(0, 1fr); }
  body.pd-v2 .pd-work .kit-work-cover.pd-phone { max-width: 84px; margin-left: 8px; }
  body.pd-v2 .kit-h1 { font-size: 2.15rem !important; }
  body.pd-v2 :is(.kit-h1 .kit-key-message, .pd-title .kit-key-message) { white-space: nowrap; }
  body.pd-v2 .kit-h2 { font-size: 1.8rem !important; }
  body.pd-v2 .kit-series-price strong { font-size: 1.75rem !important; line-height: 1.3 !important; white-space: nowrap; }
  body.pd-v2 #audience .kit-audience-key { font-size: 1.25rem !important; white-space: nowrap; }
  body.pd-v2 #contact .kit-btn { font-size: 0.92rem; padding-inline: 12px; white-space: nowrap; }
  body.pd-v2 .kit-demographic-card h3 { font-size: 1.05rem !important; white-space: nowrap; }
  body.pd-v2 .pd-work :is(.pd-play, .pd-fb) { font-size: 0.84rem; padding-inline: 10px; gap: 6px; min-width: 0; }
}

/* Pause / reduced motion / hidden tab */
html[data-motion="paused"] body.pd-v2 :is(.pd-px-svg, .pd-hero-mascot, .pd-work, .pd-player-loading i, .pd-story-wave-pulse),
html.pd-tab-hidden body.pd-v2 :is(.pd-px-svg, .pd-hero-mascot, .pd-player-loading i, .pd-story-wave-pulse) {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.pd-v2 :is(.pd-px-svg, .pd-hero-mascot, .pd-work, .pd-player-loading i, .pd-story-wave-pulse) { animation: none !important; }
  body.pd-v2 :is(.pd-work, .pd-phone, .pd-phone-screen img, .pd-phone-play, .pd-phone-bar i, .kit-partner-card, .kit-partner-card .kit-partner-logo) { transition: none !important; }
}
html[data-motion="paused"] body.pd-v2 :is(.kit-partner-card, .kit-partner-card .kit-partner-logo) { transition: none; }
