/* The rear ocular is a separate view of the same instrument. */
.scope-wheel-view{max-width:560px;overflow:hidden;text-align:center;scroll-margin-top:20px}
.scope-wheel-view .scope-topline{text-align:left;margin-bottom:19px}
.scope-wheel-view>.eyebrow{font-size:12px;margin:0;color:var(--gold);letter-spacing:.13em}
.scope-wheel-view .scope-viewport{height:450px;position:relative;isolation:isolate;perspective:850px;margin-top:0}
.scope-orbit{position:absolute;inset:0;overflow:hidden;opacity:1}
.scope-orbit-line{position:absolute;width:86%;height:172px;left:7%;top:14px;border:1px solid #b8a17980;border-radius:50%}
.scope-orbit-line:after{content:'';position:absolute;inset:9px -4px;border:1px dashed #b8a17940;border-radius:50%}
.scope-tools{position:absolute;inset:0}
.scope-tool{position:absolute;left:calc(50% - 110px);top:-110px;width:220px;height:220px;padding:0;transform-origin:50% 50%;border:0;background:none;will-change:transform;isolation:isolate}
.scope-tool img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 6px #5b432320);pointer-events:none}
.scope-tool:focus-visible{outline:2px solid var(--gold);outline-offset:-8px;border-radius:50%}
.scope-camera{position:absolute;inset:0;pointer-events:none;overflow:hidden;opacity:0;z-index:120;perspective:700px;background:transparent}
.scope-turntable{position:absolute;left:calc(50% - 170px);top:35px;width:340px;height:340px;transform-style:preserve-3d;transform-origin:50% 50%}
.scope-turntable img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;backface-visibility:hidden}
.scope-rear{transform:rotateY(180deg)}
.scope-eyepiece{position:absolute;left:calc(50% - 60px);top:145px;width:120px;height:120px;border-radius:50%;opacity:0;background:radial-gradient(circle,#f5eedf 0%,#1c211e 18%,#070b09 67%,#a78a50 69%,#0b0d0b 73%);box-shadow:0 0 0 180px #0c100d99;transform-origin:center}
.scope-lens-rim{position:absolute;inset:-8px;border-radius:50%;border:12px solid #bc9655;box-shadow:0 0 0 3px #453a28,inset 0 0 0 3px #e6c88a,inset 0 0 22px #000}
.scope-tunnel{position:absolute;inset:17px;border:2px solid #c6a46890;border-radius:50%;opacity:0;box-shadow:0 0 12px #d2bc8620}
.scope-light{position:absolute;inset:40px;border-radius:50%;background:#faf2d6;box-shadow:0 0 22px 12px #e9dabf66;opacity:0}
.scope-wheel-view.is-entering .scope-camera{animation:scope-camera-exit 4.3s ease both}
.scope-wheel-view.is-entering .scope-turntable{animation:scope-around-to-ocular 4.3s cubic-bezier(.4,0,.3,1) both}
.scope-wheel-view.is-entering .scope-eyepiece{animation:scope-travel-inside 4.3s cubic-bezier(.55,.03,.55,1) both}
.scope-wheel-view.is-entering .scope-tunnel{animation:scope-passing-ring 4.3s ease both}
.scope-wheel-view.is-entering .scope-tunnel-2{animation-delay:.13s}.scope-wheel-view.is-entering .scope-tunnel-3{animation-delay:.26s}
.scope-wheel-view.is-entering .scope-light{animation:scope-light-through 4.3s ease both}
.scope-wheel-view.is-entering .scope-orbit{animation:scope-field-opens 4.3s cubic-bezier(.2,.55,.2,1) both}
.scope-wheel-view.is-entering .scope-reading,.scope-wheel-view.is-entering .scope-controls{animation:scope-reading-arrives 4.3s ease both}
.scope-wheel-view .scope-reading{margin:0 auto;max-width:49ch;min-height:185px;padding-inline:8px;opacity:var(--reading-opacity,1)}
.scope-wheel-view .scope-reading h3{font-size:34px;line-height:1.1;max-width:none;margin:0 0 16px;color:var(--gold);text-wrap:balance}
.scope-wheel-view #scope-reading{font-size:16px;line-height:1.65;margin:0;min-height:86px}
.scope-controls{display:flex;justify-content:center;gap:16px;align-items:center;margin:6px 0 18px}
.scope-controls button{border:1px solid var(--line);min-height:44px;min-width:44px;padding:8px 14px;border-radius:30px;font-size:14px}
.scope-controls .scope-play{min-width:177px}
.scope-controls button:hover{background:#b59a5b18;border-color:var(--gold)}
.scope-controls button:disabled{opacity:.7;cursor:default}
.scope-wheel-view .scope-caption{font-size:12px!important;line-height:1.6;max-width:51ch;margin:0 auto!important;color:var(--muted)}
.scope-load-error{font-size:15px;border:1px solid var(--line);padding:18px}
@keyframes scope-camera-exit{0%,78%{opacity:1;clip-path:circle(100% at 50% 46%)}100%{opacity:0;clip-path:circle(115% at 50% 46%)}}
@keyframes scope-around-to-ocular{0%{transform:rotateY(0) rotateZ(-6deg) scale(.9)}34%{transform:rotateY(180deg) rotateZ(0) scale(.94)}49%{transform:rotateY(180deg) scale(1.13)}77%{transform:rotateY(180deg) scale(7.5)}94%,100%{transform:rotateY(180deg) scale(15)}}
@keyframes scope-travel-inside{0%,54%{opacity:0;transform:scale(.5)}63%{opacity:1;transform:scale(1)}84%{opacity:1;transform:scale(5)}100%{opacity:0;transform:scale(14)}}
@keyframes scope-passing-ring{0%,60%{opacity:0;transform:scale(.15)}72%{opacity:.85}94%{opacity:0;transform:scale(4)}100%{opacity:0}}
@keyframes scope-light-through{0%,67%{opacity:0;transform:scale(.1)}82%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(7)}}
@keyframes scope-field-opens{0%,70%{opacity:0;transform:scale(.7);filter:blur(7px);clip-path:circle(0 at 50% 46%)}87%{opacity:1;filter:blur(1px);clip-path:circle(22% at 50% 46%)}100%{opacity:1;transform:none;filter:none;clip-path:circle(100% at 50% 46%)}}
@keyframes scope-reading-arrives{0%,85%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:none}}
@media(max-width:600px){.scope-wheel-view .scope-viewport{height:450px}.scope-orbit-line{top:30px;height:140px}.scope-wheel-view .scope-reading h3{font-size:29px}.scope-wheel-view .scope-reading{min-height:225px;padding-inline:4px}.scope-wheel-view #scope-reading{font-size:15px}.scope-controls{gap:10px}.scope-controls .scope-play{min-width:165px;font-size:13px}.scope-wheel-view .scope-index{font-size:11px}.scope-wheel-view>.eyebrow{font-size:11px}.scope-turntable{left:calc(50% - 145px);top:60px;width:290px;height:290px}}
@media(prefers-reduced-motion:reduce){.scope-wheel-view *{animation:none!important;transition:none!important}.scope-camera{display:none}.scope-orbit{opacity:1;transform:none;filter:none;clip-path:none}}
@media(max-width:350px){.scope-controls{gap:6px}.scope-controls .scope-play{min-width:150px;padding-inline:9px}.scope-controls button{padding-inline:10px}}
