/* Partnership v2 (2026-10-17, Audi: "ออกแบบหน้านี้ให้ดีขึ้น … มีลูกเล่น … อ่านง่าย … ใส่ 16bit")
   Scope = look only; section order, packages, prices and scope text are unchanged (the 2026-10-04
   structural redesign was rejected). Remove `pd-v2` from <body> to fall back to the cream look.
   1) Reading boxes: leather cover + paper page (Design.md §16.2a), both themes.
   2) Works = reels on phones, click-to-play player, category filter.
   3) 16-bit accents only on the hero + three key titles. */

/* ── 1. Reading boxes = leather cover + paper page (Design.md §16.2a, site default since 2026-10-17:
   Audi "luxury blue ฉันว่ามันไม่สวย … เปลี่ยนสี default" → picked B; then on this page "มันกลืนกับพื้นหลังไป").
   Same object in both themes, like journal.html. Cover = cognac (research / tools, a business dossier).
   The decision-desk paper inks (#1c1f2a / #4a4d57 / #1f3d66) already suit paper, so no ink overrides here. */
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,.62); }
body.pd-v2 :is(.kit-buyer-dossier, .kit-package-paths, .kit-package-confirmation, .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,.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,.85), inset 0 0 0 1px rgba(90,60,25,.25) !important;
}
html[data-theme=light] body.pd-v2 :is(.kit-buyer-dossier, .kit-package-paths, .kit-package-confirmation, .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,.45), inset 0 0 0 1px rgba(90,60,25,.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,.2) !important; border-radius: 0 !important; box-shadow: none !important; outline: 0 !important; }
/* Recommended package: gold-foil ring outside the leather (the one thing that must stand out). */
body.pd-v2 main .kit-rate.is-recommended { box-shadow: 0 0 0 3px #e2c98f, 0 0 40px rgba(229,197,134,.25), 0 34px 60px -30px rgba(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 accents ──────────────────────────────────────────────────────────── */
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; }
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; }
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,255,255,.16), transparent 60%), linear-gradient(145deg, #2c3d63, #121b30);
  border: 1px solid rgba(229,197,134,.4); box-shadow: 0 8px 20px rgba(0,0,0,.35), inset 0 -3px 0 rgba(0,0,0,.25); }
html[data-theme=light] body.pd-v2 .pd-px { background: linear-gradient(145deg, #ffffff, #e5edf7); border-color: #a9b8cc; box-shadow: 0 6px 14px rgba(20,35,60,.12), inset 0 -3px 0 rgba(20,35,60,.08); }
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(.5); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(-.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,.45)); animation: pd-hop 2.2s steps(2) infinite; }
@keyframes pd-hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ── 3. Works: filter chips ─────────────────────────────────────────────────────── */
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,.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,.28); transition: transform .15s ease, box-shadow .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,.14); font: 700 .88rem '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,.28); }
body.pd-v2 .pd-filter button[aria-pressed=true] { background: linear-gradient(160deg, #f1d79c, #c9a25a); color: #141a28; border-color: #f1d79c; }
body.pd-v2 .pd-filter button[aria-pressed=true] b { background: rgba(20,26,40,.16); }
body.pd-v2 .pd-filter button.pd-cat-research:not([aria-pressed=true]) { border-color: rgba(79,143,232,.6); }
body.pd-v2 .pd-filter button.pd-cat-education:not([aria-pressed=true]) { border-color: rgba(224,176,74,.6); }
body.pd-v2 .pd-filter button.pd-cat-thinking:not([aria-pressed=true]) { border-color: rgba(178,106,217,.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,.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 .2s ease, box-shadow .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); }
body.pd-v2 .pd-work:hover { box-shadow: 0 0 0 2px rgba(229,197,134,.7), 0 34px 60px -26px rgba(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, .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 .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 .86rem/1.3 var(--font-body) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3); text-shadow: 0 1px 1px rgba(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,.18), 0 16px 30px rgba(0,0,0,.5), inset 0 0 0 1px rgba(0,0,0,.6);
  transition: transform .25s cubic-bezier(.2,.8,.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; }
/* screen glare + scanlines (a light 16-bit touch on top of the real poster) */
body.pd-v2 .pd-phone-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0 18%, transparent 30%), repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); mix-blend-mode: normal; }
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,.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,.55), 0 6px 16px rgba(0,0,0,.5); image-rendering: pixelated; transition: transform .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,.82); color: #fff; font: 700 .78rem 'Outfit', sans-serif; letter-spacing: .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,.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 = the series at a glance */
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,.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 .92rem/1.35 var(--font-body); text-align: center; }
body.pd-v2 .pd-arc-label b { color: var(--ink); font: 700 1rem '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 .98rem var(--font-body); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .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,.28), inset 0 -3px 0 rgba(0,0,0,.18); }
body.pd-v2 .pd-play:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(229,197,134,.4), inset 0 -3px 0 rgba(0,0,0,.18); }
body.pd-v2 .pd-play:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0,0,0,.18); }
/* secondary on paper: quiet outlined chip with dark ink */
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 .95rem var(--font-body); letter-spacing: 0; text-transform: none; }

/* pop-in when a filter shows a card */
@keyframes pd-pop { from { opacity: .3; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
body.pd-v2 .pd-work.pd-pop { animation: pd-pop .45s cubic-bezier(.16,1,.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,.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,.15);
  background: radial-gradient(90% 60% at 100% 0%, rgba(229,197,134,.16), transparent 50%), linear-gradient(145deg, #1f2b47, #0b1020); box-shadow: 0 30px 80px rgba(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,.22); background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; }
.pd-player-close:hover { background: rgba(255,255,255,.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,.2), 0 18px 40px rgba(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(.55); }
.pd-player-embed iframe { inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .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 .9rem 'Outfit', monospace; letter-spacing: .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 .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,.22); background: rgba(255,255,255,.06); color: #eef2f8; font: 700 .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,.12); color: #ffe7a6; font-size: .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,.22); background: #1877f2; color: #fff; font: 700 .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; }

/* ── Responsive ────────────────────────────────────────────────────────────────── */
@media (max-width: 1099px) {
  body.pd-v2 .pd-work.is-featured { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body.pd-v2 .kit-work-grid.pd-works { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  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; }
  .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; }
}

/* Pause / reduced motion / hidden tab: everything settles to its final frame. */
html[data-motion=paused] body.pd-v2 :is(.pd-px-svg, .pd-hero-mascot, .pd-work, .pd-player-loading i),
html.pd-tab-hidden body.pd-v2 :is(.pd-px-svg, .pd-hero-mascot, .pd-player-loading i) { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  body.pd-v2 :is(.pd-px-svg, .pd-hero-mascot, .pd-work, .pd-player-loading i) { animation: none !important; }
  body.pd-v2 :is(.pd-work, .pd-phone, .pd-phone-screen img, .pd-phone-play, .pd-phone-bar i) { transition: none !important; }
}

/* Thai display lines need room for tone marks (render_sweep crampAudit, 2026-10-17). */
body.pd-v2 .kit-h1 { line-height: 1.3 !important; }
body.pd-v2 :is(.kit-h2, main h3, main h4, .kit-buyer-dossier h2) { line-height: 1.45 !important; }
body.pd-v2 :is(.pd-play, .pd-fb, .kit-post-link) { white-space: nowrap; }
@media (max-width: 360px) {
  body.pd-v2 :is(.pd-play, .pd-fb) { padding-inline: 12px; font-size: .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 { line-height: 1.4 !important; }
body.pd-v2 :is(#scope h2, .kit-rate-badge) { line-height: 1.5 !important; }
body.pd-v2 .pd-title .kit-key-message { white-space: nowrap; }
.pd-player-hint { margin: 0 0 16px; color: #c4ccd9; font-size: .92rem; line-height: 1.6; }
/* The legacy featured-cover rule (aspect 16:9 under 1099px) outranks the phone; keep the reel upright. */
body.pd-v2 .pd-work.is-featured .kit-work-cover.pd-phone { aspect-ratio: 9 / 16 !important; min-height: 0 !important; height: auto !important; }

/* Narrow phones (≤360px, e.g. 320 wide): keep short values and labels on one line (render_sweep crampAudit 2026-10-17). */
@media (max-width: 360px) {
  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: .92rem; padding-inline: 12px; white-space: nowrap; }
}
body.pd-v2 .pd-nowrap { white-space: nowrap; }
/* Big monitors: use more of the width instead of a 1180px strip (render_sweep "narrow" at 2517). */
@media (min-width: 1900px) {
  body.pd-v2 .kit-wrap { width: min(1680px, calc(100% - 120px)); }
  body.pd-v2 { font-size: 1.06rem; }
}
/* Leather frame narrows the dossier: keep its short labels on one line. */
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: .95rem; }
@media (max-width: 360px) { body.pd-v2 .kit-demographic-card h3 { font-size: 1.05rem !important; white-space: nowrap; } }
@media (max-width: 360px) { body.pd-v2 .pd-work :is(.pd-play, .pd-fb) { font-size: .84rem; padding-inline: 10px; gap: 6px; min-width: 0; } }

/* ── Whole page in one tone (Audi 2026-10-17: "ทำไมทั้งหน้ามันยังไม่ไปในโทนเดียวกัน") ── */
/* Investing.com sat in :last-child, whose old 1px border outranked the leather frame. */
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: #4a4d57; --text: #1c1f2a; --text-muted: #4a4d57; --desk-ink: #1c1f2a; --desk-muted: #4a4d57;
  --desk-blue: #1f3d66; --desk-gold: #7a5a12; --gold-light: #7a5a12; --kit-line: rgba(90,60,25,.2); --desk-line: rgba(90,60,25,.2); color: #1c1f2a; }
/* contact = a letter to Audi -> oxblood cover (Design.md 16.2a: write-to-Audi) */
body.pd-v2 .kit-line-contact { --pd-cv-a: #7a2e3e; --pd-cv-b: #3e1520; }
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 .kit-line-contact > p { color: #353d50 !important; }
body.pd-v2 .kit-contact-email { color: #7a2e3e !important; }
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 { background: transparent !important; border: 0 !important; border-top: 1px solid rgba(90,60,25,.25) !important; border-radius: 0 !important; padding: 18px 4px 0 !important; box-shadow: none !important; outline: 0 !important; }
body.pd-v2 #contact .kit-contact-checklist > div { border-top-color: rgba(90,60,25,.2) !important; }
/* agency reference: cognac like the rest; inner groups are rows, not boxes */
body.pd-v2 #agency.kit-agency-panel { background-color: var(--pd-paper-b) !important; }
body.pd-v2 .kit-agency-head > div:first-child { border-color: rgba(31,61,102,.3) !important; background: #eef2f8 !important; color: #1f3d66 !important; }
body.pd-v2 .kit-agency-head > div:last-child > span { color: #1f3d66 !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,.2) !important; border-radius: 0 !important; padding: 14px 0 0 !important; box-shadow: none !important; outline: 0 !important; }
body.pd-v2 .kit-agency-group-title { color: #1f3d66 !important; border-bottom-color: rgba(90,60,25,.25) !important; }
body.pd-v2 .kit-term-option { border-bottom-color: rgba(90,60,25,.16) !important; }
body.pd-v2 .kit-term-option b, body.pd-v2 .kit-term-option small strong { color: #1c1f2a !important; }
body.pd-v2 .kit-term-option small { color: #4a4d57 !important; }
body.pd-v2 #agency :is(span[style], p[style], li, dd) { color: #353d50 !important; }
body.pd-v2 #agency :is(h3, h4, strong, b) { color: #1c1f2a; }
/* discovery strip and the volume note become paper too */
body.pd-v2 .kit-discovery-grid { overflow: hidden; }
body.pd-v2 .kit-discovery-grid > * { border-color: rgba(90,60,25,.2) !important; }
body.pd-v2 .kit-discovery-grid .kit-channel-link { border-color: #b9a27a !important; background: #fffdf7 !important; color: #2a2118 !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 so the three kinds of relationship read at a glance */
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,.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 .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
body.pd-v2 .kit-partner-card:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 0 0 2px rgba(229,197,134,.7), 0 34px 60px -26px rgba(0,0,0,.85) !important; }
body.pd-v2 .kit-partner-card .kit-partner-logo { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
body.pd-v2 .kit-partner-card:hover .kit-partner-logo { transform: scale(1.06) rotate(-3deg); }
html[data-motion=paused] body.pd-v2 :is(.kit-partner-card, .kit-partner-card .kit-partner-logo) { transition: none; }
@media (prefers-reduced-motion: reduce) { body.pd-v2 :is(.kit-partner-card, .kit-partner-card .kit-partner-logo) { transition: none; } }
/* 16-bit title tiles match the leather instead of navy */
body.pd-v2 .pd-px, html[data-theme=light] body.pd-v2 .pd-px { background: radial-gradient(circle at 30% 25%, rgba(255,214,190,.25), transparent 60%), linear-gradient(160deg, #8a4b2a, #4a2414); border-color: rgba(229,197,134,.6); }
/* #agency had an id-level navy rule that outranked the leather list */
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,.2), transparent 55%) border-box, linear-gradient(160deg, var(--pd-cv-a), var(--pd-cv-b)) border-box !important;
  box-shadow: 0 34px 60px -30px rgba(0,0,0,.85), inset 0 0 0 1px rgba(90,60,25,.25) !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 { margin-bottom: 18px !important; }
body.pd-v2 .kit-discovery-grid > * { padding: 20px 22px !important; }
body.pd-v2 .kit-discovery-grid :is(img[src*="tiktok"], svg) { filter: none; }
body.pd-v2 .kit-discovery-grid img[src*="tiktok"] { filter: none !important; opacity: 1 !important; }
/* series offer: the old ".kit-multi-clip-strip > .kit-series-offer { background: paper }" rule beat the leather */
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,.2), transparent 55%) border-box, linear-gradient(160deg, var(--pd-cv-a), var(--pd-cv-b)) border-box !important;
  border: 12px solid transparent !important; }

/* ── 🌗 Light theme: the hero joins the daytime page instead of staying a night band (Audi 2026-10-17: "คำนึงถึง light dark mode ยัง") ── */
html[data-theme=light] body.pd-v2 .kit-hero { background: radial-gradient(circle at 82% 18%, rgba(229,197,134,.28), transparent 32%), radial-gradient(circle at 15% 90%, rgba(120,160,210,.18), transparent 40%) !important; }
html[data-theme=light] body.pd-v2 .kit-hero::after { border-color: rgba(138,90,18,.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; }
/* every section heading the same ink in light (the scenario title was grey #7b7974) */
html[data-theme=light] body.pd-v2 :is(.kit-scenario-comparison h3, #scenario-comparison-title, .kit-package-guide-head h3, #workflow h3, #scope h2) { color: #14233a !important; }
/* top section bar: links readable, not faded grey */
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; }
