/* Scene "xray" — page skeleton scan + surface checklist + tuning-score dial */
.xr { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 14px; padding: 16px; }
.xr-page { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 12px 26px 12px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a1233; overflow: hidden; }
.xr-page > * { position: relative; transition: background 0.4s, box-shadow 0.4s; border-radius: 5px; }
.xr-page i { display: block; height: 6px; border-radius: 3px; background: rgba(160, 180, 255, 0.26); }
.xr-url { display: flex; align-items: center; gap: 2px; height: 22px; padding: 0 8px; border-radius: 11px; background: rgba(140, 165, 255, 0.08); font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.xr-lock { color: var(--dim); }
.xr-serp { padding: 2px 0; }
.xr-t { width: 78%; height: 8px !important; background: #8fb0ff !important; }
.xr-serp-d { display: flex; flex-direction: column; gap: 4px; }
.xr-serp-d i:last-child { width: 64%; }
.xr-h1 { padding: 6px 0 2px; }
.xr-h1 i { width: 86%; height: 12px; background: rgba(255, 255, 255, 0.75); }
.xr-h2 i { width: 52%; height: 9px; background: rgba(255, 255, 255, 0.5); }
.xr-h2b i { width: 40%; }
.xr-txt { display: flex; flex-direction: column; gap: 5px; }
.xr-short { width: 58%; }
.xr-row { display: flex; gap: 10px; }
.xr-img { flex: 0 0 42%; height: 58px; border-radius: 6px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(70, 225, 255, 0.35), transparent 60%), rgba(154, 131, 255, 0.22); font-size: 9.5px; color: var(--rose); transition: color 0.4s; }
.xr-img.is-pass { color: var(--mint); }
.xr-img.is-pass span::after { content: " ✓"; }
.xr-links { flex: 1; justify-content: center; }
.xr-lnk { background: rgba(70, 225, 255, 0.55) !important; }
.xr-schema { align-self: flex-start; padding: 4px 8px; font-size: 9.5px; color: var(--dim); border: 1px dashed var(--line-2); }
.xr-page .is-pass { background: rgba(87, 242, 176, 0.07); box-shadow: 0 0 0 1px rgba(87, 242, 176, 0.35); }
.xr-schema.is-pass { color: var(--mint); border-style: solid; border-color: transparent; }
.xr-scan { position: absolute; left: 0; right: 0; top: -35%; height: 35%; padding: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(70, 225, 255, 0.14) 70%, rgba(70, 225, 255, 0.7) 99%, transparent); opacity: 0; }
.xr-scan.is-run { animation: xr-scan 1.2s var(--ease-in-out) forwards; }
@keyframes xr-scan { 0% { top: -35%; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.xr-pin { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; color: var(--bg); background: var(--rose); box-shadow: 0 0 0 3px rgba(255, 111, 134, 0.2); transition: background 0.35s, box-shadow 0.35s, transform 0.35s var(--ease); }
.xr-pin.is-warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 190, 92, 0.2); }
.xr-pin.is-pass { background: var(--mint); box-shadow: 0 0 0 3px rgba(87, 242, 176, 0.2); }
.xr-pin.is-active { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(70, 225, 255, 0.3); }
.xr-panel { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.xr-dial { position: relative; width: 74%; max-width: 190px; margin: 0 auto; }
.xr-dial svg { width: 100%; overflow: visible; }
.xr-track { fill: none; stroke: var(--line-2); stroke-width: 12; stroke-linecap: round; }
.xr-fill { fill: none; stroke: url(#xrGrad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 251.3; filter: drop-shadow(0 0 6px rgba(87, 242, 176, 0.35)); }
.xr-score { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.xr-score b { font-size: 34px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.xr-score span { margin-top: 3px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.xr-verdict { align-self: center; margin: 8px 0 8px; }
.xr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; min-height: 0; }
.xr-item { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 7px; font-size: 12px; color: var(--muted); transition: background 0.3s, color 0.3s; }
.xr-item.is-active { background: rgba(70, 225, 255, 0.1); color: var(--text); }
.xr-n { font-size: 9.5px; color: var(--dim); text-align: right; }
.xr-k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xr-s { height: 18px; font-size: 9.5px; min-width: 40px; justify-content: center; }
@media (max-width: 560px) {
  .xr { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 10px; padding: 12px; }
  .xr-page { padding: 10px 22px 10px 8px; gap: 7px; }
  .xr-img { height: 42px; }
  .xr-schema { font-size: 8px; }
  .xr-score b { font-size: 26px; }
  .xr-item { font-size: 10.5px; gap: 5px; padding: 2px 4px; grid-template-columns: 12px minmax(0, 1fr) auto; }
  .xr-s { min-width: 34px; font-size: 8.5px; padding: 0 5px; }
}
