/* Page-only layout for /testar-pixel-morto/. The color overlay stays in browser-tests.js. */

body.page-testar-pixel-morto .px-page { --px-blue: #2563eb; --px-ink: #172033; }
@media (min-width: 1100px) {
  body.page-testar-pixel-morto .px-page { --cv-aside: clamp(210px, 16vw, 250px); }
}
body.page-testar-pixel-morto .px-intro { margin: 0 0 12px; }
body.page-testar-pixel-morto .px-page .conv-title {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
body.page-testar-pixel-morto .article .px-page .conv-lede {
  margin: 0;
  color: #4f63b8;
  font-size: 1rem;
  line-height: 1.4;
}
body.page-testar-pixel-morto .article .px-page .conv-perks { gap: 14px; }
body.page-testar-pixel-morto .article .px-page .conv-perks li { gap: 12px; font-size: 0.84rem; }
body.page-testar-pixel-morto .px-page .conv-perks strong { color: #1d4ed8; font-size: 0.95rem; }
body.page-testar-pixel-morto .px-page .conv-perk { width: 42px; height: 42px; background-size: 22px; }
body.page-testar-pixel-morto .px-page .conv-perk.is-rgb {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='12' r='4' fill='%23ef4444'/%3E%3Ccircle cx='13' cy='9' r='4' fill='%2322c55e'/%3E%3Ccircle cx='13' cy='15' r='4' fill='%232563eb'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .px-page .conv-perk.is-screen {
  background-color: #e0f2fe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='12' rx='2' fill='%230284c7'/%3E%3Cpath fill='%23fff' d='M6 7h3v8H6z'/%3E%3Cpath d='M9 19h6M12 16v3' fill='none' stroke='%230284c7' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .px-page .conv-perk.is-easy {
  background-color: #ffedd5;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='%23f97316'/%3E%3Ccircle cx='12' cy='12' r='2.4' fill='%23fff'/%3E%3Cpath fill='%23fff' d='M12 6.2v1.6M12 16.2v1.6M6.2 12h1.6M16.2 12h1.6M8 8l1.1 1.1M14.9 14.9 16 16M16 8l-1.1 1.1M9.1 14.9 8 16'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .px-page .conv-perk.is-free {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%232563eb'/%3E%3Cpath d='M12 7v7m0 0-3-3m3 3 3-3M8 17h8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .article .px-page img.conv-art { max-width: 220px; margin-top: 8px; }

body.page-testar-pixel-morto .px-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--px-ink);
}
body.page-testar-pixel-morto .px-app [hidden] { display: none !important; }
body.page-testar-pixel-morto .px-page .conv-board {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.72fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  body.page-testar-pixel-morto .px-page .conv-board { grid-template-columns: minmax(0, 1fr); }
}
body.page-testar-pixel-morto .px-page .conv-stack,
body.page-testar-pixel-morto .px-page .conv-card { min-width: 0; }
body.page-testar-pixel-morto .px-page .conv-stack { gap: 14px; }
body.page-testar-pixel-morto .px-page .conv-card,
body.page-testar-pixel-morto .px-page .conv-steps,
body.page-testar-pixel-morto .px-page .conv-tips {
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.04);
}
body.page-testar-pixel-morto .px-page .conv-steps li > span:first-child {
  width: 36px;
  height: 36px;
  background: #e8eef8;
  color: #64748b;
}
body.page-testar-pixel-morto .px-page .conv-steps li.is-on > span:first-child { background: var(--px-blue); color: #fff; }
body.page-testar-pixel-morto .px-page .conv-steps li.is-done > span:first-child { background: #16a34a; color: #fff; }
body.page-testar-pixel-morto .px-page .conv-steps li.is-on strong { color: var(--px-blue); }
body.page-testar-pixel-morto .px-page .conv-card-title { color: #1d4ed8; }
body.page-testar-pixel-morto .px-badge {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 10px;
  background: #dbeafe url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='12' rx='2' fill='%232563eb'/%3E%3Cpath d='M9 19h6M12 16v3' fill='none' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
body.page-testar-pixel-morto .px-badge-key {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='12' rx='2' fill='%232563eb'/%3E%3Cpath fill='%23fff' d='M6 9h2v2H6zm4 0h2v2h-2zM7 12.5h10v2H7z'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .px-badge-chart {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M5 19V9h3v10H5zm5.5 0V5h3v14h-3zM16 19v-7h3v7h-3z'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .px-badge-help {
  border-radius: 50%;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%232563eb'/%3E%3Cpath fill='%23fff' d='M11 17h2v-2h-2zm1-12a4 4 0 0 0-4 4h2a2 2 0 1 1 2.2 2c-.8.3-2.2 1-2.2 3v1h2v-.6c0-.8.7-1.3 1.6-1.7A4 4 0 0 0 12 5z'/%3E%3C/svg%3E");
}
body.page-testar-pixel-morto .px-sub,
body.page-testar-pixel-morto .px-keys-card p,
body.page-testar-pixel-morto .px-now {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
}
body.page-testar-pixel-morto .px-now { margin: 10px 0 0; }
body.page-testar-pixel-morto .px-now strong { color: var(--px-ink); }

body.page-testar-pixel-morto .px-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
body.page-testar-pixel-morto .btest-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 10px 4px;
  border: 1px solid #e6edf5;
  border-radius: 14px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
body.page-testar-pixel-morto .btest-swatch.is-picked {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}
body.page-testar-pixel-morto .px-chip {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
body.page-testar-pixel-morto .px-chip.is-light { box-shadow: inset 0 0 0 1px #dbe3ee; }
body.page-testar-pixel-morto .px-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
body.page-testar-pixel-morto #btest-btn-start,
body.page-testar-pixel-morto #px-btn-fs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
body.page-testar-pixel-morto #btest-btn-start {
  flex: 1;
  border: 0;
  background: var(--px-blue);
  color: #fff;
  font-size: 1rem;
}
body.page-testar-pixel-morto #btest-btn-start::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l12-7z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
body.page-testar-pixel-morto #px-btn-fs {
  flex-direction: column;
  gap: 0;
  width: 92px;
  border: 1px solid #e3e9f1;
  background: #fff;
  color: #334155;
  font-size: 0.75rem;
  line-height: 1.15;
}
body.page-testar-pixel-morto #px-btn-fs::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
body.page-testar-pixel-morto #px-btn-fs small { color: #94a3b8; font-size: 0.68rem; font-weight: 700; }
body.page-testar-pixel-morto #btest-btn-start:disabled,
body.page-testar-pixel-morto #btest-btn-stop:disabled { opacity: 0.55; cursor: not-allowed; }
body.page-testar-pixel-morto #btest-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-testar-pixel-morto .px-keys-card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f5f9ff;
}
body.page-testar-pixel-morto .px-keys-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  color: #1d4ed8;
  font-size: 0.98rem;
}
body.page-testar-pixel-morto .px-keys {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
body.page-testar-pixel-morto .px-keys button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 8px 2px;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font: inherit;
  cursor: pointer;
}
body.page-testar-pixel-morto .px-keys b { font-size: 1rem; }
body.page-testar-pixel-morto .px-keys small {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}
body.page-testar-pixel-morto .px-banner {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
}
body.page-testar-pixel-morto .px-banner.is-live { background: #eff6ff; color: #1e3a8a; }
body.page-testar-pixel-morto .px-banner.is-done { background: #dcfce7; color: #166534; }
body.page-testar-pixel-morto .px-banner strong,
body.page-testar-pixel-morto .px-banner p { display: block; margin: 0; }
body.page-testar-pixel-morto .px-banner p { margin-top: 4px; font-size: 0.86rem; }
body.page-testar-pixel-morto .px-def { margin-top: 8px; padding: 12px; border-radius: 12px; }
body.page-testar-pixel-morto .px-def strong,
body.page-testar-pixel-morto .px-def p { display: block; margin: 0; }
body.page-testar-pixel-morto .px-def p { margin-top: 4px; font-size: 0.86rem; line-height: 1.35; }
body.page-testar-pixel-morto .px-def.is-dead { background: #fef2f2; color: #991b1b; }
body.page-testar-pixel-morto .px-def.is-stuck { background: #fffbeb; color: #92400e; }
body.page-testar-pixel-morto .article .px-tips { margin: 0; }
body.page-testar-pixel-morto .article .px-tips h2::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5b400' d='M9 18h6v2H9zM12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
body.page-testar-pixel-morto .article .px-tips ol,
body.page-testar-pixel-morto .article .px-tips li { list-style: none; }
body.page-testar-pixel-morto .article .px-tips li::before {
  content: "";
  background: #f5b400 url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

body.page-testar-pixel-morto .btest-pixel {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  cursor: crosshair;
}
body.page-testar-pixel-morto .btest-pixel.is-on { display: block; }
body.page-testar-pixel-morto .btest-pixel-exit {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100000;
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
body.page-testar-pixel-morto .btest-pixel-exit.is-on { display: inline-flex; align-items: center; }

@media (max-width: 720px) {
  body.page-testar-pixel-morto .px-actions,
  body.page-testar-pixel-morto .px-keys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.page-testar-pixel-morto .px-actions { display: flex; flex-direction: column; }
  body.page-testar-pixel-morto #px-btn-fs { width: 100%; flex-direction: row; gap: 8px; }
  body.page-testar-pixel-morto .px-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

html[data-theme="dark"] body.page-testar-pixel-morto .btest-swatch,
html[data-theme="dark"] body.page-testar-pixel-morto .px-keys button,
html[data-theme="dark"] body.page-testar-pixel-morto #px-btn-fs { background: #0f172a; color: #e2e8f0; border-color: #334155; }
html[data-theme="dark"] body.page-testar-pixel-morto .px-keys-card,
html[data-theme="dark"] body.page-testar-pixel-morto .px-banner { background: #0f172a; }
html[data-theme="dark"] body.page-testar-pixel-morto .px-sub,
html[data-theme="dark"] body.page-testar-pixel-morto .px-keys-card p,
html[data-theme="dark"] body.page-testar-pixel-morto .px-keys small,
html[data-theme="dark"] body.page-testar-pixel-morto .px-now { color: #94a3b8; }
html[data-theme="dark"] body.page-testar-pixel-morto .px-banner.is-done { background: #14532d; color: #bbf7d0; }
