@font-face {
  font-family: 'General Sans';
  src: url('/static/homepage/fonts/GeneralSans-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/static/homepage/fonts/BricolageGrotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

body {
  background: #F5EFE5 !important;
  color: #1B1815 !important;
}

.ow-page {
  --bg: #F5EFE5;
  --surface: #FFFDF9;
  --ink: #1B1815;
  --muted: #6C6257;
  --hair: rgba(27, 24, 21, 0.11);
  --gold: #C28A2A;
  --cta: #D63C08;
  --cta-hover: #B8320A;
  --span-bg: #E6F3F0;
  --span-fg: #146356;
  --span-bd: rgba(20, 99, 86, 0.28);
  --tall-bg: #FCEEE6;
  --tall-fg: #A84416;
  --tall-bd: rgba(168, 68, 22, 0.28);
  --women: #B85D6E;
  --men: #3F6688;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  padding: 64px 20px 64px;
}

.ow-page *, .ow-page *::before, .ow-page *::after {
  box-sizing: border-box;
}

.ow-shell {
  max-width: 1320px;
  margin: 0 auto;
}

.ow-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  line-height: 1.2;
  color: var(--muted);
  margin-bottom: 3px;
}
.ow-crumb a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.ow-crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ow-header > div:first-child {
  min-width: 0;
  flex: 1 1 320px;
}
.ow-header-title-wrap {
  padding-left: 16px;
}
.ow-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}
.ow-title-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.14s ease, color 0.14s ease, background 0.14s ease;
}
.ow-title-copy-btn:hover,
.ow-title-copy-btn.is-copied {
  border-color: var(--cta);
  color: var(--cta);
  background: #FFF7F4;
}
.ow-header h1 {
  font-family: 'General Sans', Inter, sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.68rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.ow-header h1 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.14s ease, border-color 0.14s ease;
}
.ow-header h1 a:hover,
.ow-header h1 a:focus-visible {
  color: #D63C08;
  border-bottom-color: rgba(214, 60, 8, 0.45);
  outline: none;
}
.ow-sub {
  font-size: 0.77rem;
  color: var(--muted);
  opacity: 0.82;
  margin: 2px 0 0;
  max-width: 640px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header Compare bar */
.ow-compare-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 5px 7px 5px 13px;
  box-shadow: 0 2px 10px rgba(27, 24, 21, 0.05);
  transition: border-color 0.16s, background 0.16s;
}
.ow-compare-bar.active {
  background: #FFF9EE;
  border-color: rgba(194, 138, 42, 0.55);
  box-shadow: 0 2px 12px rgba(194, 138, 42, 0.14);
}
.ow-compare-bar label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.ow-compare-bar select {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  padding: 2px 4px 2px 2px;
  max-width: 170px;
}
.ow-toggle-tag {
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  background: rgba(27, 24, 21, 0.08);
  color: var(--muted);
  transition: background 0.16s, color 0.16s;
}
.ow-compare-bar.active .ow-toggle-tag {
  background: var(--gold);
  color: #FFFDF9;
}

/* Desktop workbench: full-size 3D stage on left + complete controls dock on right (100% above the fold on MacBook!) */
.ow-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 338px;
  gap: 12px;
  align-items: stretch;
}

/* Stage card */
.ow-stage-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hair);
  box-shadow: 0 18px 48px rgba(42, 31, 18, 0.08);
  background: radial-gradient(ellipse at 50% 42%, #FAF6EF 0%, #EFE9DF 65%, #E4DDD0 100%);
  display: flex;
  flex-direction: column;
}
.ow-stage-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 520px;
  user-select: none;
  -webkit-user-select: none;
}
.ow-stage-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 1;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.ow-stage-poster.is-hidden {
  opacity: 0;
}
.ow-stage-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  position: relative;
  z-index: 2;
}
.ow-stage-wrap canvas:active { cursor: grabbing; }

/* 3D-projected Wrist Bone pointer arrow (appears while dragging Position slider) */
.ow-bone-pointer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 6px));
  transition: opacity 0.16s ease;
  color: #D63C08;
  filter: drop-shadow(0 2px 6px rgba(27, 24, 21, 0.22));
}
.ow-bone-pointer.is-visible {
  opacity: 1;
}
.ow-bone-label {
  background: rgba(27, 24, 21, 0.92);
  color: #FFFDF9;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.ow-bone-arrow {
  display: block;
}

.ow-hud-top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  gap: 10px;
  z-index: 4;
}
.ow-pill-info {
  background: rgba(255, 253, 249, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 24, 21, 0.09);
  border-radius: 11px;
  padding: 8px 13px;
  font-size: 0.78rem;
  line-height: 1.35;
  box-shadow: 0 3px 12px rgba(27, 24, 21, 0.05);
}
.ow-pill-info strong { display: block; font-size: 0.85rem; color: var(--ink); font-weight: 650; }
.ow-pill-info span { color: var(--muted); font-size: 0.74rem; }

.ow-badge-3d {
  background: rgba(27, 24, 21, 0.80);
  color: #FAF6EF;
  font-size: 0.71rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.ow-pos-hud-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 253, 249, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 24, 21, 0.10);
  border-radius: 999px;
  padding: 5px 13px;
  box-shadow: 0 3px 12px rgba(27, 24, 21, 0.06);
  white-space: nowrap;
}
.ow-pos-hud-title {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.ow-pos-hud-pill input[type="range"] {
  width: 116px;
  height: 16px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.ow-pos-hud-pill strong {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--ink);
  width: 118px;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ow-hud-bottom {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
  z-index: 4;
}
.ow-hud-bottom > * { pointer-events: auto; }

.ow-cam-pills {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(27, 24, 21, 0.09);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 3px 12px rgba(27, 24, 21, 0.06);
}
.ow-cam-pills button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  white-space: nowrap;
}
.ow-cam-pills button:hover { color: var(--ink); }
.ow-cam-pills button.active { background: var(--ink); color: #FAF6EF; }
.ow-cam-pills button[data-cam="top"].active { background: var(--span-fg); color: #fff; }
.ow-cam-pills button[data-cam="side"].active { background: var(--tall-fg); color: #fff; }

.ow-stat-chips {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  flex-wrap: nowrap;
}
.ow-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s, box-shadow 0.16s, background 0.16s, color 0.16s;
  box-shadow: 0 2px 8px rgba(27, 24, 21, 0.06);
  white-space: nowrap;
  flex-shrink: 0;
}
.ow-stat-chip:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27, 24, 21, 0.11); }
.ow-stat-chip.span-chip { background: var(--span-bg); color: var(--span-fg); border-color: var(--span-bd); }
.ow-stat-chip.span-chip.active { background: var(--span-fg); color: #fff; }
.ow-stat-chip.tall-chip { background: var(--tall-bg); color: var(--tall-fg); border-color: var(--tall-bd); }
.ow-stat-chip.tall-chip.active { background: var(--tall-fg); color: #fff; }
.ow-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Controls panel (docked cleanly beside 3D stage on desktop, stacked below on tablet/mobile) */
.ow-controls-panel {
  margin-top: 0;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 8px 11px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}
.ow-ctrl-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.ow-ctrl-label span, .ow-ctrl-label strong { white-space: nowrap; }
.ow-ctrl-label strong {
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

/* ANSUR II hover/focus tooltip */
.ow-tip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-bottom: 1px dotted rgba(27, 24, 21, 0.42);
  cursor: help;
  outline: none;
}
.ow-tip-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(27, 24, 21, 0.11);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
}
.ow-ctrl-label .ow-tooltip {
  position: absolute;
  left: -64px;
  bottom: calc(100% + 8px);
  width: 244px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #1B1815;
  color: #FAF6EF;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  box-shadow: 0 10px 26px rgba(27, 24, 21, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  z-index: 30;
}
.ow-ctrl-label .ow-tooltip::after {
  content: '';
  position: absolute;
  left: 90px;
  top: 100%;
  border: 5px solid transparent;
  border-top-color: #1B1815;
}
.ow-tip-wrap:hover .ow-tooltip,
.ow-tip-wrap:focus .ow-tooltip,
.ow-tip-wrap:focus-within .ow-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#deviceGroups { min-height: 158px; }
.ow-dev-section { margin-bottom: 6px; }
.ow-dev-section:last-child { margin-bottom: 0; }
.ow-dev-cat-head {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ow-cat-pip { width: 6px; height: 6px; border-radius: 2px; display: inline-block; }
.ow-dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.ow-dev-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border: 1px solid var(--hair);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.71rem;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
  transition: background 0.14s, border-color 0.14s, color 0.14s;
  min-width: 0;
}
.ow-dev-btn:not(.active):hover { background: #FAF7F2; border-color: rgba(27, 24, 21, 0.22); }
.ow-dev-btn .ow-dev-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ow-dev-btn[data-cat="over"]  { border-left: 3px solid #4A5B8C; }
.ow-dev-btn[data-cat="watch"] { border-left: 3px solid #2A7562; }
.ow-dev-btn[data-slug="chargerless-ray"] {
  border-left: 3px solid var(--gold);
  background: #FFFBF2;
}
.ow-dev-btn[data-slug="chargerless-ray"]:not(.active):hover { background: #FBF4E4; }
.ow-dev-btn.active { color: #FAF6EF; }
.ow-dev-btn[data-cat="over"].active  { background: #2D3859; border-color: #2D3859; }
.ow-dev-btn[data-cat="watch"].active { background: #1B4F42; border-color: #1B4F42; }

/* Inline 42 | 46 size mini-toggle inside Apple Watch selector */
.ow-dev-btn.has-sizes {
  padding: 4px 5px 4px 7px;
  gap: 4px;
}
.ow-size-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px;
  border-radius: 5px;
  background: rgba(27, 24, 21, 0.08);
  flex-shrink: 0;
}
.ow-dev-btn.active .ow-size-seg {
  background: rgba(255, 255, 255, 0.18);
}
.ow-size-opt {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1.1;
  transition: background 0.12s, color 0.12s;
}
.ow-dev-btn.active .ow-size-opt {
  color: rgba(250, 246, 239, 0.78);
}
.ow-size-opt.active {
  background: #1B4F42;
  color: #FAF6EF;
}
.ow-dev-btn.active .ow-size-opt.active {
  background: #FAF6EF;
  color: #1B4F42;
}
.ow-dev-btn[data-slug="chargerless-ray"].active { background: #8A5A12; border-color: #8A5A12; }

/* Dual shared-scale Women + Men bell curves */
.ow-dist-wrap { display: flex; flex-direction: column; gap: 5px; }
.ow-dist-row {
  background: #FAF7F2;
  border: 1px solid rgba(27, 24, 21, 0.08);
  border-radius: 9px;
  padding: 5px 9px 6px;
}
.ow-dist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.ow-dist-title {
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.ow-dist-title .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ow-dist-row.women .ow-dist-title { color: #8F3E4E; }
.ow-dist-row.women .ow-dist-title .dot { background: var(--women); }
.ow-dist-row.men .ow-dist-title { color: #2E4F6E; }
.ow-dist-row.men .ow-dist-title .dot { background: var(--men); }

.ow-preset-strip {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  padding: 1.5px;
  gap: 2px;
  background: rgba(27, 24, 21, 0.045);
  border: 1px solid rgba(27, 24, 21, 0.08);
}
.ow-preset-strip button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.65rem;
  font-weight: 650;
  padding: 2px 7px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  white-space: nowrap;
}
.ow-preset-strip button:hover { color: var(--ink); }

.ow-curve-track {
  position: relative;
  height: 24px;
  width: 100%;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  border-radius: 6px;
}
.ow-curve-track:focus-visible {
  box-shadow: 0 0 0 2px rgba(27, 24, 21, 0.45);
}
.ow-curve-svg {
  display: block;
  width: 100%;
  height: 17px;
  overflow: visible;
  pointer-events: none;
}
.ow-curve-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 3px;
  border-radius: 99px;
  background: rgba(27, 24, 21, 0.14);
  pointer-events: none;
}
.ow-curve-fill {
  position: absolute;
  left: 0;
  bottom: 5px;
  height: 3px;
  border-radius: 99px;
  pointer-events: none;
}
.ow-dist-row.women .ow-curve-fill { background: rgba(184, 93, 110, 0.52); }
.ow-dist-row.men .ow-curve-fill   { background: rgba(63, 102, 136, 0.52); }
.ow-curve-thumb {
  position: absolute;
  bottom: 0.5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(27, 24, 21, 0.32);
  pointer-events: none;
}
.ow-dist-row.women .ow-curve-thumb { background: var(--women); }
.ow-dist-row.men .ow-curve-thumb   { background: var(--men); }

.ow-scale-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--muted);
  padding: 0 2px;
  margin-top: -2px;
  font-variant-numeric: tabular-nums;
}
.ow-custom-wrist-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
}
.ow-custom-wrist-row input[type="number"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--hair);
  border-radius: 7px;
  padding: 4px 8px;
  font: inherit;
  font-size: 0.75rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.ow-custom-wrist-row input[type="number"]:focus {
  outline: none;
  border-color: var(--ink);
}
.ow-custom-wrist-row input[type="number"].invalid {
  border-color: var(--tall-fg);
  background: #FFF7F4;
}
.ow-unit-seg {
  display: inline-flex;
  border: 1px solid var(--hair);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.ow-unit-seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 4px 8px;
  cursor: pointer;
}
.ow-unit-seg button.active { background: var(--ink); color: #FAF6EF; }
.ow-custom-hint-row {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  color: var(--muted);
  margin-top: -1px;
  padding: 0 2px;
  font-variant-numeric: tabular-nums;
}
.ow-custom-hint-row.has-error { display: flex; }
.ow-custom-hint-row .hint-error { color: var(--tall-fg); font-weight: 600; }

/* Right column: Skin tone + Tension + Banana */
.ow-swatches { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-bottom: 7px; }
.ow-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(27, 24, 21, 0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.12s;
}
.ow-swatch:hover { transform: scale(1.06); }
.ow-swatch.active { outline: 2.5px solid var(--ink); outline-offset: 2px; }
.ow-slider-wrap { display: flex; align-items: center; gap: 8px; }
.ow-slider-wrap input[type="range"] { flex: 1; accent-color: var(--ink); cursor: pointer; }
.ow-slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.61rem;
  color: var(--muted);
  margin-top: 1px;
  padding: 0 2px;
}
.ow-ctrl-block { margin-top: 6px; }

.ow-scale-ref-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid var(--hair);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, box-shadow 0.16s;
}
.ow-scale-ref-btn:hover { background: #FAF7F2; border-color: rgba(27, 24, 21, 0.22); }
.ow-scale-ref-btn.active {
  background: #FFFBE8;
  border-color: rgba(196, 152, 24, 0.55);
  box-shadow: 0 2px 8px rgba(196, 152, 24, 0.12);
}
.ow-scale-ref-btn .ref-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.ow-scale-ref-btn .ref-pill {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(27, 24, 21, 0.08);
  color: var(--muted);
  transition: background 0.16s, color 0.16s;
}
.ow-scale-ref-btn.active .ref-pill {
  background: #C69312;
  color: #FFFDF7;
}
.ow-scale-ref-note {
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 3px;
  padding: 0 2px;
  font-variant-numeric: tabular-nums;
}

.ow-spec-footer {
  border-top: 1px solid rgba(27, 24, 21, 0.08);
  padding-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.68rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ow-spec-footer .ow-spec-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
}
.ow-spec-footer strong {
  color: var(--ink);
  font-weight: 650;
  margin-right: 4px;
}

/* Ray discovery strip: tucked cleanly just below the fold on desktop, revealed immediately on first scroll */
.ow-ray-lead {
  margin-top: 24px;
  background: #EEE5D7;
  border: 1px solid #DFD3C0;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ow-ray-lead-main {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 520px;
  min-width: 0;
}
.ow-ray-lead-photo {
  width: 124px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(27, 24, 21, 0.08);
  background: #F5EFE5;
  flex-shrink: 0;
}
@media (min-width: 1081px) {
  .ow-ray-lead {
    margin-top: max(20px, calc(100vh - 825px));
  }
}
@media (min-width: 1081px) and (max-height: 825px) {
  .ow-page { padding-top: 56px; }
  .ow-header { margin-bottom: 5px; }
  .ow-controls-panel { padding: 7px 11px 6px; gap: 5px; }
  .ow-dev-btn { padding: 4px 7px; font-size: 0.72rem; }
  .ow-dist-row { padding: 4px 8px 4px; }
  .ow-curve-track { height: 21px; }
  .ow-curve-svg { height: 15px; }
  .ow-swatches { margin-bottom: 5px; }
  .ow-swatch { width: 22px; height: 22px; }
  .ow-scale-ref-btn { padding: 5px 8px; }
  .ow-spec-footer { padding-top: 4px; font-size: 0.65rem; }
  .ow-ray-lead { margin-top: max(18px, calc(100vh - 765px)); }
}
.ow-ray-lead-copy {
  max-width: 680px;
}
.ow-ray-lead h2 {
  font-family: 'General Sans', Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: var(--ink);
}
.ow-ray-lead p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #4A4035;
}
.ow-ray-lead-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ow-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s;
}
.ow-cta-btn:hover { background: var(--cta-hover); }
.ow-compare-inline-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(194, 138, 42, 0.55);
  background: #FFF9EE;
  color: var(--ink);
  font-family: 'Bricolage Grotesque', Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s, border-color 0.16s;
}
.ow-compare-inline-btn:hover {
  background: #FBF1DB;
  border-color: var(--gold);
}
.ow-compare-inline-btn[hidden] { display: none; }
.ow-sec-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.ow-sec-link:hover { color: var(--cta); }

/* Editorial breakdown below the visualizer */
.ow-editorial {
  max-width: 780px;
  margin: 44px auto 0;
}
.ow-editorial h2 {
  font-family: 'General Sans', Inter, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 40px 0 12px;
  color: var(--ink);
}
.ow-editorial h2:first-child { margin-top: 0; }
.ow-editorial h3 {
  font-family: 'General Sans', Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 24px 0 6px;
  color: var(--ink);
}
.ow-editorial p {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #2D261F;
}
.ow-editorial ol {
  margin: 0 0 20px;
  padding-left: 22px;
  list-style: decimal;
  font-size: 1rem;
  line-height: 1.65;
  color: #2D261F;
}
.ow-editorial ol li { margin: 8px 0; }
.ow-editorial a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ow-editorial a:hover { color: var(--cta); }
.ow-editorial .ow-fine {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.ow-table-wrap {
  overflow-x: auto;
  margin: 14px 0 22px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 12px;
}
.ow-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.ow-table th, .ow-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(27, 24, 21, 0.08);
}
.ow-table thead th {
  background: #EFE7DA;
  font-weight: 650;
  font-size: 0.8rem;
  color: #4A4035;
}
.ow-table tbody tr:last-child th,
.ow-table tbody tr:last-child td { border-bottom: 0; }
.ow-table tbody th { font-weight: 600; color: var(--ink); }

/* Crawlable all-devices gallery grid */
.ow-device-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 28px;
}
.ow-device-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--ink);
  transition: border-color 0.16s, transform 0.14s;
}
.ow-device-card:hover {
  border-color: rgba(27, 24, 21, 0.30);
  transform: translateY(-1px);
}
.ow-device-card.is-current {
  border-color: var(--gold);
  background: #FFFBF2;
}
.ow-device-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 968 / 677;
  object-fit: cover;
  background: #EFE9DF;
}
.ow-device-card-body {
  padding: 10px 12px 12px;
}
.ow-device-card-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--ink);
}
.ow-device-card-body span {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: var(--muted);
}

.ow-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.ow-related-list li a {
  font-size: 0.93rem;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .ow-workbench { grid-template-columns: 1fr; }
  .ow-stage-wrap { min-height: 0; height: 440px; }
  .ow-controls-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    padding: 16px;
  }
  .ow-spec-footer { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 680px) {
  .ow-page { padding: 76px 12px 48px; }
  .ow-header { flex-direction: column; align-items: stretch; gap: 8px; }
  .ow-header > div:first-child { flex: none; }
  .ow-sub { white-space: normal; overflow: visible; text-overflow: unset; }
  .ow-compare-bar { width: 100%; justify-content: space-between; border-radius: 12px; padding: 6px 8px 6px 12px; }
  .ow-compare-bar select { flex: 1; max-width: none; }
  .ow-controls-panel { grid-template-columns: 1fr; padding: 14px; gap: 14px; }
  .ow-stage-card { border-radius: 14px; }
  .ow-stage-wrap { height: 310px; }
  .ow-hud-top { top: 10px; left: 10px; right: 10px; }
  .ow-pill-info { padding: 6px 10px; font-size: 0.72rem; }
  .ow-pill-info strong { font-size: 0.78rem; }
  .ow-badge-3d { font-size: 0.66rem; padding: 4px 9px; }
  .ow-pos-hud-pill {
    position: static;
    transform: none;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--hair);
    box-shadow: none;
    background: #FAF6EE;
    padding: 8px 12px;
    justify-content: space-between;
  }
  .ow-pos-hud-pill input[type="range"] { flex: 1; width: auto; max-width: none; }
  .ow-pos-hud-pill strong { width: 112px; }
  .ow-hud-bottom {
    position: static;
    padding: 10px;
    background: #F6F1E9;
    border-top: 1px solid var(--hair);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ow-cam-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 11px;
    padding: 3px;
  }
  .ow-cam-pills button {
    padding: 7px 4px;
    font-size: 0.71rem;
    text-align: center;
  }
  .ow-stat-chips { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ow-stat-chip {
    justify-content: center;
    padding: 7px 6px;
    font-size: 0.69rem;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .ow-chip-dot { width: 6px; height: 6px; }
  .ow-preset-strip button { padding: 4px 7px; font-size: 0.65rem; }
  .ow-spec-footer { font-size: 0.7rem; gap: 5px 12px; }
  .ow-ray-lead { padding: 18px; }
  .ow-editorial { margin-top: 32px; }
}
@media (max-width: 380px) {
  .ow-stage-wrap { height: 280px; }
  .ow-cam-pills button { font-size: 0.67rem; padding: 7px 2px; }
  .ow-stat-chip { font-size: 0.66rem; padding: 6px 5px; gap: 4px; }
  .ow-preset-strip button { padding: 3px 6px; font-size: 0.63rem; }
}

.ow-share-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  margin-top: 3px;
}
.ow-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid var(--hair);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.14s, color 0.14s, background 0.14s;
}
.ow-share-btn:hover { border-color: #D63C08; color: #D63C08; background: #FFF7F4; }
.ow-share-ar { margin-left: auto; color: #D63C08; border-color: rgba(214, 60, 8, 0.28); background: #FFF7F4; }
