/* Estilos de inspector.html — se carga DESPUÉS de styles.css y usa sus variables */
.insp-hero { height: 440px; }
.insp-hero .hero-overlay { background: linear-gradient(100deg, rgba(20,10,40,.96) 0%, rgba(142,27,43,.78) 60%, rgba(244,194,13,.35) 100%); }
.insp-hero .hero-title { font-size: 4.6em; }
.insp-hero .hero-desc { max-width: 620px; }
.insp-main { max-width: 1100px; margin: 0 auto; padding: 50px 24px 70px; }
.insp-h { margin: 0 0 8px; color: var(--azul); font-size: 2em; }
.insp-intro { max-width: 760px; line-height: 1.75; margin: 0 0 26px; font-size: 1.08em; }

.insp-hud { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hud-item { background: #fff; border-radius: 16px; padding: 8px 18px; box-shadow: 0 6px 16px rgba(142,27,43,.12); display: flex; flex-direction: column; min-width: 110px; }
.hud-item span { font: 600 .72em 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--azul); }
.hud-item b { font: 700 1.9em 'Oswald', sans-serif; color: var(--texto); line-height: 1.1; }
.hud-item.poco b { color: #C0392B; animation: inspTic .6s infinite alternate; }
@keyframes inspTic { to { transform: scale(1.12); } }
.insp-btn { font: 600 .95em 'Poppins', sans-serif; cursor: pointer; border: 2px solid var(--azul); background: #fff; color: var(--azul); border-radius: 30px; padding: 10px 22px; transition: background .2s, color .2s, transform .2s; }
.insp-btn:hover:not(:disabled) { background: var(--azul); color: #fff; transform: translateY(-2px); }
.insp-btn:disabled { opacity: .45; cursor: default; }
.insp-btn.grande { background: var(--amarillo); border-color: var(--amarillo); color: #1b1b1b; font-size: 1.15em; padding: 14px 34px; box-shadow: 0 0 30px rgba(244,194,13,.6); }

.insp-escena { position: relative; border-radius: 26px; overflow: hidden; background: #0A0818; box-shadow: 0 18px 40px rgba(20,10,40,.35); touch-action: none; cursor: none; user-select: none; }
.insp-escena.fuera { cursor: default; }
.insp-escena svg { display: block; width: 100%; height: auto; }
.insp-escena.mal { animation: inspMal .35s; }
@keyframes inspMal { 30% { box-shadow: inset 0 0 0 6px #E63946, 0 18px 40px rgba(20,10,40,.35); } }
.insp-start { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(10,8,24,.88); color: #fff; cursor: default; }
.insp-start[hidden] { display: none; }
.insp-start h3 { margin: 0 0 8px; font-size: 1.8em; color: var(--amarillo); }
.insp-start p { max-width: 460px; line-height: 1.6; margin: 0 0 20px; }
.hz-ring { fill: none; stroke: #7CFFB0; stroke-width: 4; }
.hz-num { fill: #0A0818; font: 700 15px 'Poppins', sans-serif; text-anchor: middle; }
.hz-badge { fill: #7CFFB0; stroke: #fff; stroke-width: 2; }
.pista { fill: none; stroke: var(--amarillo); stroke-width: 5; animation: inspPista 1s ease-out 3; opacity: 0; }
@keyframes inspPista { 0% { opacity: 1; r: 20; } 100% { opacity: 0; r: 85; } }

.insp-lista { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.insp-lista li { background: #fff; border-radius: 20px; padding: 16px 18px; border-left: 8px solid var(--turquesa); box-shadow: 0 8px 20px rgba(142,27,43,.1); line-height: 1.5; font-size: .92em; }
.insp-lista li.lock { opacity: .55; border-left-color: #ccc; }
.insp-lista li.ok { border-left-color: #1E8449; animation: detalleIn .4s ease both; }
.insp-lista li.no { border-left-color: #C0392B; }
.insp-lista h4 { margin: 0 0 6px; color: var(--azul); font-size: 1.05em; }
.insp-lista p { margin: 0 0 6px; }
.insp-lista small { display: inline-block; background: var(--fondo2); color: var(--azul); border-radius: 10px; padding: 2px 10px; font-weight: 600; }

.insp-fin { margin-top: 30px; background: var(--azul); color: #fff; border-radius: 28px; padding: 30px 28px; border-left: 12px solid var(--amarillo); animation: detalleIn .5s ease both; }
.insp-fin[hidden] { display: none; }
.insp-fin h3 { margin: 0 0 6px; font-size: 2em; color: #fff; }
.insp-estrellas { font-size: 2.2em; letter-spacing: 6px; color: var(--amarillo); margin: 4px 0 8px; }
.insp-fin p { margin: 0 0 14px; line-height: 1.6; }
.insp-fin label { display: block; font: 600 .85em 'Poppins', sans-serif; margin-bottom: 6px; }
.insp-fin input { font: 500 1em 'Poppins', sans-serif; padding: 11px 16px; border-radius: 30px; border: 0; width: min(380px, 100%); margin-bottom: 14px; }
.insp-acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.insp-fin .insp-btn { background: var(--amarillo); border-color: var(--amarillo); color: #1b1b1b; }
.insp-fin .insp-btn.sec { background: none; color: #fff; border-color: #fff; }
.confeti { position: fixed; top: -20px; width: 10px; height: 16px; z-index: 3000; pointer-events: none; animation: inspCae 2.6s linear forwards; }
@keyframes inspCae { to { transform: translateY(110vh) rotate(720deg); } }
@media (max-width: 768px) { .insp-hero { height: 400px; } .insp-hero .hero-title { font-size: 2.6em; } .insp-main { padding: 36px 16px 50px; } }
@media (prefers-reduced-motion: reduce) { .confeti, .hud-item.poco b, .pista { animation: none; } }
