/* Sol Creation · Dual-Smartphone Speed Comparison v2 (CSP-safe, Dark & Light, Ultra-Compact Mobile Side-by-Side) */
.pd-sec { position: relative; }

.pd-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(16px, 2.5vw, 26px);
}
.pd-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 6px 0 8px;
  color: var(--text);
}
.pd-sun-grad {
  background: var(--sun-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pd-head .lead {
  margin: 0 auto;
  font-size: clamp(0.88rem, 1.3vw, 1.02rem);
  color: var(--text-2);
}

/* Controls Dock */
.pd-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(16px, 2.5vw, 26px);
}
.pd-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.pd-seg-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.pd-seg-btn:hover { color: var(--text); }
.pd-seg-btn.is-active {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.pd-replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--grad-sun);
  color: #16101f;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(249, 229, 78, 0.5);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.pd-replay:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(249, 229, 78, 0.65); }
.pd-replay:active { transform: scale(0.97); }
[data-theme="light"] .pd-replay {
  background: #17121e;
  color: #fffdfa;
  box-shadow: 0 10px 24px -10px rgba(23, 18, 30, 0.35);
}
.pd-loop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.pd-loop input { accent-color: var(--teal); width: 14px; height: 14px; margin: 0; }

/* Dual Arena (ALWAYS side-by-side) */
.pd-arena {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2.6vw, 26px);
  align-items: stretch;
  margin-bottom: clamp(14px, 2.2vw, 24px);
}
.pd-vs { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.pd-vs-line { width: 1px; height: 92px; background: linear-gradient(180deg, transparent, var(--line-strong), transparent); }
.pd-vs-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--accent);
}

/* Side Column */
.pd-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 16px 16px;
  border-radius: var(--r-l, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease;
}
.pd-col.is-fast { border-color: rgba(63, 207, 155, 0.28); }
.pd-col.is-fast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(63, 207, 155, 0.13), rgba(249, 229, 78, 0.05) 42%, transparent 72%);
  pointer-events: none;
}
.pd-col.is-slow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(225, 46, 75, 0.11), transparent 66%);
  pointer-events: none;
}

.pd-col-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.pd-col-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pd-col.is-slow .pd-tag { color: var(--rose, #f2647b); }
.pd-col.is-fast .pd-tag { color: var(--ok, #3fcf9b); }
.pd-col-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; line-height: 1.2; }

.pd-clock {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  min-width: 86px;
  text-align: center;
  flex-shrink: 0;
}
.pd-col.is-slow .pd-clock { color: #f2647b; border-color: rgba(242, 100, 123, 0.35); }
.pd-col.is-fast .pd-clock { color: var(--ok, #3fcf9b); border-color: rgba(63, 207, 155, 0.4); }
[data-theme="light"] .pd-col.is-slow .pd-clock { color: #c81e1e; }
[data-theme="light"] .pd-col.is-fast .pd-clock { color: #058c47; }

/* Flagship Smartphone Mockup */
.pd-phone-wrap { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; }
.pd-glow {
  position: absolute;
  inset: 20px 24px;
  border-radius: 36px;
  filter: blur(30px);
  opacity: 0.24;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pd-col.is-slow .pd-glow { background: radial-gradient(circle, #e12e4b, transparent 70%); }
.pd-col.is-fast .pd-glow { background: radial-gradient(circle, #3fcf9b, #f9e54e 58%, transparent 74%); }
.pd-col.is-fast.is-done .pd-glow { opacity: 0.45; }

.pd-shell {
  position: relative;
  width: 274px;
  max-width: 100%;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(145deg, #3c364d 0%, #1d1929 46%, #0d0b14 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.58), 0 22px 46px -18px rgba(0, 0, 0, 0.62);
}
.pd-shell::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 86px;
  width: 2.5px;
  height: 32px;
  border-radius: 3px 0 0 3px;
  background: #474158;
  box-shadow: 0 42px 0 #474158, 0 -26px 0 -0.5px #474158;
}
.pd-shell::after {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 116px;
  width: 2.5px;
  height: 48px;
  border-radius: 0 3px 3px 0;
  background: #474158;
}

.pd-screen {
  position: relative;
  width: 100%;
  height: 428px;
  border-radius: 33px;
  background: #0c0a12;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid #08070d;
}
.pd-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 33%, transparent 34%);
  pointer-events: none;
  z-index: 40;
}

.pd-sys {
  height: 30px;
  padding: 6px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  position: relative;
  z-index: 30;
  flex-shrink: 0;
}
.pd-sys-light { background: #ffffff; color: #1f2937; }
.pd-sys-dark { background: #0c0a12; color: #e5dff0; }

.pd-island {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 70px;
  height: 17px;
  border-radius: 999px;
  background: #050507;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}
.pd-island::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4f6cf7, #111827 70%);
}
.pd-sys-r { display: flex; align-items: center; gap: 4px; }
.pd-bat { width: 16px; height: 8px; border-radius: 2px; border: 1px solid currentColor; padding: 1px; display: flex; }
.pd-bat i { display: block; width: 78%; height: 100%; background: currentColor; border-radius: 1px; }

.pd-urlbar { padding: 4px 10px 6px; position: relative; z-index: 25; flex-shrink: 0; }
.pd-urlbar-light { background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.pd-urlbar-dark { background: #14101d; border-bottom: 1px solid rgba(240, 230, 255, 0.08); }
.pd-urlpill {
  text-align: center;
  padding: 3px 8px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-urlbar-light .pd-urlpill { background: #ffffff; color: #4b5563; border: 1px solid #e5e7eb; }
.pd-urlbar-dark .pd-urlpill { background: #1d182a; color: #e9e4f4; border: 1px solid rgba(240, 230, 255, 0.09); }
.pd-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; overflow: hidden; }
.pd-prog-fill { height: 100%; width: 0%; transition: width 0.14s linear; }
.pd-prog-bad { background: linear-gradient(90deg, #f07a3c, #e12e4b); }
.pd-prog-ok { background: linear-gradient(90deg, #f9e54e, #3fcf9b); }

/* LEFT PHONE: SLOW WORDPRESS */
.pd-wp-view { flex: 1; background: #ffffff; color: #1f2937; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pd-wp-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  transition: opacity 0.25s ease;
}
.pd-wp-overlay.is-hidden { opacity: 0; pointer-events: none; }

@keyframes pdSpin { to { transform: rotate(360deg); } }
.pd-spin-bad {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid #e5e7eb;
  border-top-color: #dc2626;
  animation: pdSpin 0.85s linear infinite;
}
.pd-wp-wait { font-size: 11px; font-weight: 600; color: #4b5563; line-height: 1.3; }
.pd-wp-waitsub { font-family: var(--font-mono); font-size: 9.5px; color: #6b7280; }

.pd-cls-banner {
  background: linear-gradient(90deg, #b91c1c, #ea580c);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 0 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: max-height 0.14s ease, padding 0.14s ease, opacity 0.14s ease;
}
.pd-cls-banner.is-shifted { max-height: 38px; padding: 6px 8px; opacity: 1; }

.pd-cls-tag {
  position: absolute;
  top: 40px;
  right: 7px;
  z-index: 24;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2.5px 6px;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pd-cls-tag.is-visible { opacity: 1; transform: translateY(0); }

.pd-bounce {
  position: absolute;
  top: 116px;
  left: 8px;
  right: 8px;
  z-index: 26;
  background: rgba(153, 27, 27, 0.94);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 7px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.pd-bounce.is-visible { opacity: 1; transform: translateY(0); }

.pd-wp-body { padding: 9px 10px; display: flex; flex-direction: column; gap: 8px; }
.pd-wp-nav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 5px; border-bottom: 1px solid #e5e7eb; }
.pd-wp-brand { font-family: Georgia, serif; font-size: 11px; font-weight: 700; color: #111827; }
.pd-wp-burger { font-size: 12px; color: #6b7280; }

.pd-wp-hero { position: relative; height: 102px; border-radius: 7px; background: #e5e7eb; overflow: hidden; border: 1px solid #d1d5db; }
.pd-wp-hero-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #6b7280;
  text-align: center;
  padding: 6px;
}
.pd-wp-hero-rev {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  overflow: hidden;
  background: linear-gradient(135deg, #334155 0%, #475569 50%, #1e293b 100%);
  transition: height 0.22s linear, filter 0.3s ease;
  filter: blur(4px);
}
.pd-wp-hero-rev.is-sharp { filter: blur(0px); }
.pd-wp-hero-in { height: 102px; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; color: #ffffff; }
.pd-wp-hero-in strong { font-size: 11.5px; line-height: 1.2; }
.pd-wp-hero-in span { font-size: 9.5px; opacity: 0.78; margin-top: 2px; }

.pd-wp-skels { display: flex; flex-direction: column; gap: 5px; }
.pd-wp-skels.is-hidden { display: none; }
@keyframes pdShimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.pd-skel {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: pdShimmer 1.2s infinite;
}
.pd-skel-lg { width: 88%; }
.pd-skel-md { width: 70%; }
.pd-skel-btn { width: 52%; height: 22px; margin-top: 3px; }

.pd-wp-copy { display: none; font-size: 10.5px; line-height: 1.38; color: #374151; }
.pd-wp-copy.is-shown { display: block; }
.pd-wp-oldbtn { display: inline-block; margin-top: 5px; padding: 5px 10px; border-radius: 4px; background: #2563eb; color: #ffffff; font-size: 10px; font-weight: 600; }

.pd-wp-cookie {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  z-index: 22;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pd-wp-cookie.is-shown { opacity: 1; }
.pd-wp-cookie-box {
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  padding: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(16px);
  transition: transform 0.26s ease;
}
.pd-wp-cookie.is-shown .pd-wp-cookie-box { transform: translateY(0); }
.pd-wp-cookie-box strong { display: block; font-size: 10.5px; color: #111827; margin-bottom: 3px; }
.pd-wp-cookie-box p { font-size: 9.2px; line-height: 1.32; color: #4b5563; margin: 0 0 6px; }
.pd-wp-cookie-row { display: flex; gap: 5px; }
.pd-wp-cookie-ok { flex: 1; text-align: center; padding: 5px 6px; border-radius: 5px; background: #dc2626; color: #ffffff; font-size: 9.5px; font-weight: 700; }
.pd-wp-cookie-opt { padding: 5px 6px; border-radius: 5px; border: 1px solid #d1d5db; color: #4b5563; font-size: 9.5px; }

/* RIGHT PHONE: SOL CREATION */
.pd-sc-view { flex: 1; background: #0c0a12; color: #f4efe8; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pd-sc-sun {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 165px;
  background: radial-gradient(circle, rgba(249, 229, 78, 0.24) 0%, rgba(240, 122, 60, 0.12) 40%, rgba(225, 46, 75, 0.08) 62%, transparent 76%);
  pointer-events: none;
}
.pd-sc-loader {
  position: absolute;
  inset: 0;
  background: #0c0a12;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.pd-sc-loader.is-hidden { opacity: 0; pointer-events: none; }
.pd-spin-ok {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(249, 229, 78, 0.2);
  border-top-color: #f9e54e;
  animation: pdSpin 0.6s linear infinite;
}

.pd-sc-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 9px 11px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pd-sc-content.is-shown { opacity: 1; transform: translateY(0); }

.pd-sc-nav { display: flex; align-items: center; justify-content: space-between; padding-bottom: 7px; border-bottom: 1px solid rgba(240, 230, 255, 0.09); }
.pd-sc-logo { height: 22px; width: auto; display: block; }
.pd-sc-chip {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: #3fcf9b;
  background: rgba(63, 207, 155, 0.14);
  border: 1px solid rgba(63, 207, 155, 0.35);
  padding: 2px 6px;
  border-radius: 999px;
}

.pd-sc-hero { padding: 4px 0 2px; }
.pd-sc-eyebrow { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #f9e54e; margin-bottom: 4px; }
.pd-sc-h { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; color: #f4efe8; margin-bottom: 5px; }
.pd-sc-sub { font-size: 10px; line-height: 1.38; color: #cbc3d4; }

.pd-sc-proof {
  background: linear-gradient(160deg, rgba(28, 24, 40, 0.96), rgba(20, 16, 30, 0.98));
  border: 1px solid rgba(63, 207, 155, 0.3);
  border-radius: 12px;
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pd-sc-prooftop { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; color: #cbc3d4; }
.pd-sc-prooftop strong { color: #f4efe8; }
.pd-sc-lcp-mini { color: #3fcf9b; font-family: var(--font-mono); }

.pd-sc-4x100 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pd-mdial { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pd-mdial-ring {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 2px solid #3fcf9b;
  background: rgba(63, 207, 155, 0.12);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #3fcf9b;
}
.pd-mdial span { font-size: 8px; color: #b2abc0; }

.pd-sc-ctas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; }
.pd-sc-btn1 {
  text-align: center;
  padding: 7px 6px;
  border-radius: 9px;
  background: var(--grad-sun);
  color: #16101f;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
}
.pd-sc-btn2 {
  text-align: center;
  padding: 7px 5px;
  border-radius: 9px;
  border: 1px solid rgba(240, 230, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f4efe8;
  font-size: 10px;
  font-weight: 600;
}

.pd-sc-ready {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(63, 207, 155, 0.12);
  border: 1px solid rgba(63, 207, 155, 0.3);
  font-size: 9.5px;
  color: #3fcf9b;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.pd-sc-ready.is-visible { opacity: 1; transform: translateY(0); }
.pd-mono { font-family: var(--font-mono); }

.pd-homepill { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 82px; height: 3.5px; border-radius: 999px; z-index: 35; pointer-events: none; }
.pd-homepill-dark { background: rgba(15, 23, 42, 0.26); }
.pd-homepill-light { background: rgba(255, 255, 255, 0.34); }

/* Bottom Gauge & Metrics */
.pd-foot { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.pd-gauge { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pd-gsvg { width: 46px; height: 46px; position: relative; flex-shrink: 0; }
.pd-gsvg svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-gtrack { fill: none; stroke: var(--line-strong); stroke-width: 5.5; }
.pd-garc {
  fill: none;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pd-col.is-slow .pd-garc { stroke: #f2647b; }
.pd-col.is-fast .pd-garc { stroke: #3fcf9b; }
[data-theme="light"] .pd-col.is-slow .pd-garc { stroke: #c81e1e; }
[data-theme="light"] .pd-col.is-fast .pd-garc { stroke: #058c47; }

.pd-gnum { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; }
.pd-col.is-slow .pd-gnum { color: #f2647b; }
.pd-col.is-fast .pd-gnum { color: #3fcf9b; }
[data-theme="light"] .pd-col.is-slow .pd-gnum { color: #c81e1e; }
[data-theme="light"] .pd-col.is-fast .pd-gnum { color: #058c47; }

.pd-gmeta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pd-gmeta strong { font-size: 0.78rem; color: var(--text); }
.pd-gmeta span { font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pd-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.pd-pill { font-family: var(--font-mono); font-size: 0.68rem; padding: 3px 7px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }

/* Live Race Timeline */
.pd-race { padding: 16px 20px; border-radius: var(--r-l, 22px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.pd-race-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pd-race-title { font-family: var(--font-display); font-size: 0.94rem; font-weight: 700; color: var(--text); margin: 0; }
.pd-verdict {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ok, #3fcf9b);
  padding: 3.5px 10px;
  border-radius: 999px;
  background: rgba(63, 207, 155, 0.12);
  border: 1px solid rgba(63, 207, 155, 0.3);
}
[data-theme="light"] .pd-verdict { color: #058c47; }

.pd-tracks { position: relative; display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; }
.pd-rrow { display: grid; grid-template-columns: 148px 1fr 56px; align-items: center; gap: 10px; }
.pd-rlabel { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.pd-rbg { height: 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.pd-rfill { height: 100%; width: 0%; border-radius: 999px; transition: width 0.08s linear; }
.pd-rfill-ok { background: linear-gradient(90deg, #f9e54e, #3fcf9b); box-shadow: 0 0 12px rgba(63, 207, 155, 0.4); }
.pd-rfill-bad { background: linear-gradient(90deg, #f07a3c, #e12e4b); }
.pd-rval { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; text-align: right; }
.pd-rval-ok { color: var(--ok, #3fcf9b); }
.pd-rval-bad { color: #f2647b; }
[data-theme="light"] .pd-rval-ok { color: #058c47; }
[data-theme="light"] .pd-rval-bad { color: #c81e1e; }

.pd-thresh { position: absolute; top: -4px; bottom: 4px; pointer-events: none; }
.pd-thresh-line { width: 1.5px; height: 100%; border-left: 1.5px dashed var(--amber, #f6b23e); opacity: 0.9; }
.pd-thresh-cap {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--amber, #f6b23e);
  background: var(--surface);
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px solid rgba(246, 178, 62, 0.4);
}
[data-theme="light"] .pd-thresh-cap { color: #b45309; }

/* =====================================================================
   NARROW DESKTOP / TABLET
   ===================================================================== */
@media (max-width: 1080px) {
  .pd-pills { display: none; }
}
@media (max-width: 920px) {
  .pd-arena { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pd-vs { display: none; }
}

/* =====================================================================
   ULTRA-COMPACT MOBILE SIDE-BY-SIDE (Controls + Both Phones + Timeline in 1 screen!)
   ===================================================================== */
@media (max-width: 640px) {
  .pd-head { margin-bottom: 10px; }
  .pd-head .lead { display: none; }

  /* Single compact control row right above both phones */
  .pd-controls {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 10px;
  }
  .pd-seg { padding: 2px; }
  .pd-seg-btn { font-size: 0.7rem; padding: 5px 8px; white-space: nowrap; }
  .pd-replay { font-size: 0.72rem; padding: 6px 11px; gap: 5px; white-space: nowrap; }
  .pd-replay svg { width: 12px; height: 12px; }
  .pd-loop { display: none; }

  .pd-arena {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }

  .pd-col {
    padding: 8px 6px 8px;
    gap: 6px;
    border-radius: 15px;
  }

  /* Identical single-row header height so BOTH phones align to the exact pixel */
  .pd-col-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .pd-tag { display: none; }
  .pd-col-titles { min-height: 1.1rem; justify-content: center; }
  .pd-col-name {
    font-size: 0.64rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .pd-clock {
    font-size: 0.88rem;
    padding: 2px 7px;
    min-width: 66px;
    border-radius: 7px;
  }

  /* Compact side-by-side phones */
  .pd-shell {
    width: 100%;
    max-width: 180px;
    padding: 4px;
    border-radius: 20px;
  }
  .pd-shell::before,
  .pd-shell::after { display: none; }

  .pd-screen {
    height: 248px;
    border-radius: 16px;
    border-width: 1px;
  }

  .pd-sys { height: 19px; padding: 3px 8px 0; font-size: 7px; }
  .pd-island { top: 3.5px; width: 38px; height: 10px; padding-right: 3px; }
  .pd-island::after { width: 3.5px; height: 3.5px; }
  .pd-bat { width: 11px; height: 5.5px; }
  .pd-urlbar { padding: 2px 5px 3px; }
  .pd-urlpill { font-size: 7px; padding: 1.5px 4px; border-radius: 4px; }

  /* Compact Left WP Phone */
  .pd-wp-overlay { padding: 7px; gap: 4px; }
  .pd-spin-bad { width: 16px; height: 16px; border-width: 2px; }
  .pd-wp-wait { font-size: 8px; }
  .pd-wp-waitsub { font-size: 7px; }
  .pd-cls-banner { font-size: 7px; }
  .pd-cls-banner.is-shifted { padding: 3px 5px; max-height: 24px; }
  .pd-cls-tag { top: 24px; right: 4px; font-size: 6.5px; padding: 1.5px 4px; }
  .pd-bounce { top: 56px; left: 4px; right: 4px; font-size: 6.8px; padding: 3px 4px; line-height: 1.2; }
  .pd-wp-body { padding: 5px 6px; gap: 4px; }
  .pd-wp-nav { padding-bottom: 3px; }
  .pd-wp-brand { font-size: 8px; }
  .pd-wp-burger { font-size: 9px; }
  .pd-wp-hero { height: 52px; }
  .pd-wp-hero-in { height: 52px; padding: 5px; }
  .pd-wp-hero-in strong { font-size: 8px; }
  .pd-wp-hero-in span { font-size: 6.8px; }
  .pd-wp-hero-ph { font-size: 7px; }
  .pd-wp-copy { font-size: 7px; line-height: 1.25; }
  .pd-wp-oldbtn { font-size: 6.8px; padding: 2.5px 5px; margin-top: 2px; }
  .pd-wp-cookie { padding: 4px; }
  .pd-wp-cookie-box { padding: 5px; border-radius: 6px; }
  .pd-wp-cookie-box strong { font-size: 7.4px; margin-bottom: 2px; }
  .pd-wp-cookie-box p { font-size: 6.5px; line-height: 1.25; margin-bottom: 4px; }
  .pd-wp-cookie-ok, .pd-wp-cookie-opt { font-size: 6.8px; padding: 2.5px 4px; }

  /* Compact Right Sol Creation Phone — airy, zero clipping */
  .pd-sc-content { padding: 5px 6px 10px; gap: 3px; }
  .pd-sc-nav { padding-bottom: 4px; }
  .pd-sc-logo { height: 14px; }
  .pd-sc-chip { font-size: 6.5px; padding: 1px 4px; }
  .pd-sc-hero { padding: 2px 0; }
  .pd-sc-eyebrow { font-size: 6.4px; margin-bottom: 2px; }
  .pd-sc-h { font-size: 9.8px; line-height: 1.15; margin-bottom: 0; }
  .pd-sc-sub { display: none; }
  .pd-sc-proof { padding: 5px; border-radius: 7px; gap: 4px; }
  .pd-sc-prooftop { font-size: 6.5px; }
  .pd-mdial-ring { width: 20px; height: 20px; font-size: 6.6px; border-width: 1.5px; }
  .pd-mdial span { font-size: 5.8px; }
  .pd-sc-ctas { gap: 4px; }
  .pd-sc-btn1, .pd-sc-btn2 { font-size: 6.8px; padding: 4px 2px; border-radius: 5px; }
  .pd-sc-ready { font-size: 6.4px; padding: 3px 5px; border-radius: 5px; white-space: nowrap; justify-content: center; }
  .pd-sc-ready .pd-mono { display: none; }
  .pd-homepill { width: 46px; height: 2px; bottom: 3px; }

  /* Compact Footer Gauge */
  .pd-foot { padding-top: 6px; justify-content: center; }
  .pd-gauge { gap: 6px; }
  .pd-gsvg { width: 30px; height: 30px; }
  .pd-gnum { font-size: 0.64rem; }
  .pd-gmeta strong { font-size: 0.66rem; }
  .pd-gmeta span { font-size: 0.6rem; }

  /* Compact Race Bar */
  .pd-race { padding: 10px 11px; border-radius: 14px; }
  .pd-race-head { margin-bottom: 8px; gap: 4px; }
  .pd-race-title { display: none; }
  .pd-verdict { font-size: 0.7rem; padding: 2.5px 8px; width: 100%; text-align: center; }
  .pd-tracks { gap: 6px; padding-bottom: 16px; }
  .pd-rrow { grid-template-columns: 78px 1fr 40px; gap: 6px; }
  .pd-rlabel { font-size: 0.7rem; }
  .pd-rbg { height: 9px; }
  .pd-rval { font-size: 0.68rem; }
  .pd-thresh-cap { font-size: 0.58rem; padding: 1px 4px; }
}
                                                                         