.pov-inspect{position:absolute;inset:0;width:100%;border:0;background:linear-gradient(transparent 35%,#092d4099);color:white;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-family:inherit;font-weight:600;font-size:clamp(10px,1.25vw,18px);line-height:1.2;text-shadow:0 1px 5px #000}
.pov-inspect>span:last-child{background:#10394ced;padding:9px 13px;border:1px solid #bce2eb88;border-radius:30px;font-size:clamp(10px,1.1vw,16px)}
.pov-target{font-size:clamp(22px,3vw,44px);line-height:1;animation:inspection-pulse 2s ease-in-out infinite}
.pov-inspect:disabled{visibility:hidden}.pov-inspect:focus-visible{outline:4px solid #ffd65c;outline-offset:-6px}
.office-paused .pov-target{animation-play-state:paused}
@keyframes inspection-pulse{50%{transform:scale(1.18);opacity:.6}}
.game-screen{--ink:#183448;--muted:#4c6573;--blue:#16739b;--line:#dae5eb;color:var(--ink);width:100%;min-width:0}
.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 12px}
.game-eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;color:#2d687b;margin:0 0 9px}
.game-heading h1{font-size:clamp(25px,3vw,40px);letter-spacing:-.03em;line-height:1.12;margin:0}
.game-lead{max-width:840px;font-size:16px;line-height:1.55;margin:0 0 22px;color:#4b6576}
.game-console{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.game-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 18px}
.game-cameras{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
.game-cameras button{border:1px solid var(--line);border-radius:9px;background:#f3f7f9;padding:11px 16px;color:var(--ink);font-family:inherit;font-weight:600;font-size:14px;line-height:1.3;cursor:pointer;min-height:44px}
.game-cameras button[aria-pressed=true]{color:white;background:#173d51;border-color:#173d51}
.game-cameras small{font-size:11px;margin-left:7px;opacity:.72}
.game-progress{font-size:13px;font-weight:600;color:#356679}
.game-viewtools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px 10px;font-size:12px;color:var(--muted)}
.game-viewtools>div{display:flex;gap:5px;flex-wrap:wrap}
.game-viewtools button,.game-panbar button{font:inherit;color:#31596d;background:#f1f6f8;border:1px solid transparent;border-radius:7px;min-height:36px;padding:6px 10px;cursor:pointer}
.game-viewtools button[aria-pressed=true]{background:#d5edf6;border-color:#79b3c9}
.game-stage-shell{position:relative;background:#dae1e1;isolation:isolate}
.game-viewport{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-color:#7696a4 #e1eaed;scrollbar-width:thin}
.game-visual{position:relative;width:100%;min-width:1000px;aspect-ratio:16/9;background:#d6dfe3}
.game-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.game-scene{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:pan-x pan-y}
.game-screen[data-zoom=true] .game-visual{width:260%;min-width:2400px}
.game-screen[data-zoom=true] .game-viewport{height:min(65svh,700px);overflow:auto;overscroll-behavior-x:contain;overscroll-behavior-y:auto}
.game-viewport:focus-visible{outline:3px solid #956410;outline-offset:-3px}
.game-panbar [data-pan-y]{display:none}
.game-screen[data-zoom=true] .game-panbar [data-pan-y]{display:block}
.game-shot-label{position:absolute;top:13px;left:15px;pointer-events:none;background:#173440;color:#ecf7f8;letter-spacing:.07em;font-size:10px;padding:8px 11px;border-radius:6px}
.game-shot-label i{display:inline-block;width:6px;height:6px;background:#8bd6bd;border-radius:50%;margin-right:5px;animation:inspection-pulse 2.5s ease-in-out infinite}
.game-consequence{position:absolute;top:13px;right:14px;color:#fff;background:#9b4a20;padding:8px 12px;border-radius:6px;font-size:12px;font-weight:600;pointer-events:none}
.game-loading{position:absolute;inset:0;display:grid;place-items:center;background:#e7eff1ed;padding:24px;text-align:center}
.game-retry{position:absolute;top:60%;left:50%;transform:translateX(-50%)}
.game-panbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 16px;background:#f3f7f9;color:var(--muted);font-size:11px}
.game-panbar>div{display:flex;flex-wrap:wrap;gap:5px}
.game-status{padding:14px 18px;margin:0;min-height:50px;font-size:14px;line-height:1.5;color:#426373}
.game-hotspot{cursor:pointer;outline:none}
.game-hitbox{fill:transparent;stroke:transparent;stroke-width:3;vector-effect:non-scaling-stroke}
.game-hotspot:focus-visible .game-hitbox,.game-screen[data-hints=true] .game-hitbox{fill:#ffd44b18;stroke:#ffd35c;stroke-dasharray:7 5}
.game-hotspot[data-found=true] .game-hitbox{stroke:#3d987e;stroke-dasharray:none;fill:transparent}
.game-hotspot[aria-disabled=true]{pointer-events:none}
.game-pin{pointer-events:none}
.game-pin circle{fill:#20775e;stroke:#eafff3;stroke-width:2}
.game-pin text{fill:#fff;font:700 16px sans-serif;text-anchor:middle}
.game-review{pointer-events:none}
.game-review-outline{fill:#ffbf351c;stroke:#ffc45b;stroke-width:4;stroke-dasharray:12 7;vector-effect:non-scaling-stroke;animation:review-boundary 2.5s linear infinite}
@keyframes review-boundary{to{stroke-dashoffset:-38}}
.game-impact{opacity:0;fill:#ffd67d44;stroke:#ffda8a;stroke-width:5}
.game-worker-idle{transform-box:fill-box;transform-origin:50% 100%;animation:worker-breathe 4s ease-in-out infinite alternate}
.game-tool-idle{transform-origin:505px 150px;animation:tool-sway 3.5s ease-in-out infinite alternate}
@keyframes worker-breathe{to{transform:scaleY(1.004)}}
@keyframes tool-sway{from{transform:rotate(-1deg)}to{transform:rotate(1deg)}}
.game-screen[data-phase=playing] .game-worker-idle,.game-screen[data-phase=playing] .game-tool-idle,
.game-screen[data-phase=feedback] .game-worker-idle,.game-screen[data-phase=feedback] .game-tool-idle{animation:none}
.game-paused *{animation-play-state:paused!important}
.game-feedback,.game-summary{margin-top:18px;padding:26px;background:white;border:1px solid var(--line);border-radius:16px;display:flex;gap:24px;justify-content:space-between;align-items:center}
.game-feedback-copy{max-width:850px;min-width:0}
.game-feedback h2,.game-summary h2{font-size:23px;line-height:1.25;margin:0 0 12px}
.game-feedback p:not(.game-eyebrow),.game-summary p:not(.game-eyebrow){font-size:15px;line-height:1.6;margin:7px 0;color:#496372}
.game-feedback h3{font-size:14px;color:#20775e;margin:15px 0 0}
.game-feedback-actions{display:flex;flex-direction:column;gap:10px;flex-shrink:0}
.game-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 5px;font-size:12px;color:var(--muted)}
.game-footer .text-button{color:#3e6278}
.game-screen .workspace-note{color:var(--muted)}
.game-screen button:focus-visible,.game-screen a:focus-visible,.game-viewport:focus-visible{outline:3px solid #94620b;outline-offset:3px}
.game-screen button:disabled{opacity:.5;cursor:default}
@media(min-width:1100px){.game-panbar{padding-top:5px;padding-bottom:5px}.game-panbar>span{font-size:11px}}
@media(max-width:700px){
 .game-heading{align-items:flex-start;gap:8px}.game-heading>div{flex:1;min-width:0}.game-heading .secondary-button{padding:10px;white-space:nowrap;font-size:12px;flex-shrink:0}
 .game-lead{font-size:14px;margin-bottom:16px}.game-toolbar{padding:12px;gap:8px}
 .game-cameras button{padding:10px 12px;font-size:12px}.game-progress{font-size:12px}
 .game-viewtools{padding:0 12px 9px;flex-wrap:wrap;gap:6px}.game-viewtools button{min-height:44px}
 .game-panbar{flex-wrap:wrap;padding:10px 12px}.game-panbar button{min-width:66px;min-height:44px}
 .game-feedback,.game-summary{padding:20px;flex-direction:column;align-items:stretch;gap:18px}
 .game-feedback h2,.game-summary h2{font-size:21px}.game-feedback-actions{flex-direction:row;flex-wrap:wrap}
 .game-feedback-actions button{flex:1}.game-consequence{top:51px;font-size:11px}
 .game-footer{align-items:flex-start}.game-footer span{line-height:1.5}
}
@media(prefers-reduced-motion:reduce){.pov-target,.game-screen *{animation:none!important;scroll-behavior:auto!important}}
@media(max-width:1100px){
 .game-screen button{min-height:44px;min-width:44px}
}
@media(min-width:900px) and (orientation:landscape) and (max-height:950px){
 .game-viewport,.game-screen[data-zoom=true] .game-viewport{height:clamp(180px,calc(100svh - 430px),500px);overflow:auto;overscroll-behavior-y:auto}
 .game-panbar [data-pan-y]{display:block}
}
/* Окно найденного нарушения: поверх сцены, увеличенный фрагмент и разбор. */
.finding-dialog{width:min(1360px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:20px;background:#fff;color:var(--ink,#181830);box-shadow:0 24px 64px #18183066;overflow:hidden}
.finding-dialog::backdrop{background:#18183099}
.finding-body{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:20px 32px;padding:28px;box-sizing:border-box;max-height:calc(100dvh - 24px);overflow:auto}
.finding-figure{margin:0}
.finding-media{position:relative;aspect-ratio:4/3;width:min(100%,calc((100dvh - 210px)*4/3));margin-inline:auto;border-radius:12px;overflow:hidden;background-color:#12232b}
.finding-media.is-wide{aspect-ratio:16/9;width:min(100%,calc((100dvh - 210px)*16/9))}
.finding-crop{position:absolute;inset:0;background-repeat:no-repeat;background-color:#cfd8e3}
.finding-video{position:absolute;max-width:none;height:auto;aspect-ratio:16/9;background:#12232b}
.finding-video[hidden],.finding-crop[hidden]{display:none}
.finding-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:8px 14px;border-radius:999px;background:#fffffff0;font-size:14px;font-weight:600}
.finding-tools{position:absolute;right:10px;bottom:10px;z-index:2;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.finding-tools button{min-height:44px;padding:0 16px;background:#12232bd9;color:#fff;border:1px solid #ffffff73}
.finding-tools button[hidden]{display:none}
.finding-ring{position:absolute;box-sizing:border-box;border:4px solid var(--gold,#e7a714);border-radius:14px;box-shadow:0 0 0 999px #18183047;transition:opacity .4s}
.finding-ring.is-faded{opacity:0}
@media(prefers-reduced-motion:reduce){.finding-ring{transition:none}}
.finding-copy{min-width:0}
.finding-copy .game-eyebrow{color:var(--brand-hover,#4447b7);font-size:12px}
.finding-copy h2{margin:0 0 14px;font-size:24px;line-height:1.25}
.finding-copy h3{margin:0 0 4px;font-size:16px}
.finding-copy h3.finding-prevent{margin-top:14px;color:#1f6b52}
.finding-copy p:not(.game-eyebrow){margin:0;font-size:16px;line-height:1.55;color:#3a3d52}
.finding-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;border-top:1px solid var(--line,#d6ddec)}
.finding-footer>span{font-size:14px;font-weight:600;color:var(--text-muted,#5d6173)}
.finding-actions{display:flex;gap:12px}
.finding-actions button{min-height:48px}
@media(max-width:700px){
  .finding-body{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}
  .finding-media,.finding-media.is-wide{width:100%}
  .finding-copy h2{font-size:20px}
  .finding-copy h3,.finding-copy p:not(.game-eyebrow){font-size:15px}
  .finding-footer{flex-direction:column;align-items:stretch}
  .finding-actions{flex-direction:column-reverse}.finding-actions button{width:100%}
}
@media(max-height:520px) and (orientation:landscape){.finding-media,.finding-media.is-wide{width:min(100%,calc((100dvh - 120px)*4/3))}.finding-body{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);padding:16px;gap:12px 20px}.finding-copy h2{font-size:20px}}
