/* X-ray mini game: the broken fiber, its test gear, and the repair (js/xray/fiber-repair.js).
   Everything here is X-ray only; the normal page never sees the break. */

/* Before an OTDR is on the line nothing is pulsing: the page's own light stops at the break. */
.xr-active[data-fr="dark"] .hero-fiber .hf-ray { visibility: hidden; }
.xr-active[data-fr="dark"] .fiber.lit::after,
.xr-active[data-fr="dark"] .xr-fiber-cut::after { animation: none; opacity: 0; }

/* The hero's status flips while the link is down. */
.fr-signal-lost { display: none; }
.xr-active.fr-broken .fr-signal-ok { display: none; }
.xr-active.fr-broken .fr-signal-lost { display: inline; color: #ff8a70; }
.xr-active.fr-broken .hero-label .led-live { background: #ff8a70; box-shadow: 0 0 0 3px #ff8a7024, 0 0 8px #ff8a70b0; animation: none; }

/* Downstream of the break the jacket is still there, but the core is dark. */
.fr-dead {
  position: absolute; z-index: 4; top: 0; bottom: 0;
  left: var(--fiber-x); width: 6px; margin-left: -3px;
  background: linear-gradient(90deg, transparent 2px, #72e5ef1f 2px 4px, transparent 4px), #0a1a21;
  pointer-events: none;
}
.contact > .fr-dead { bottom: auto; height: calc(var(--node-y, 186px) - 62px); }
.xr-active:not(.fr-broken) .fr-dead, .fr-dead[hidden] { display: none !important; }
.xr-active.fr-broken .fr-node-dark { background: var(--node-bg, var(--night)); box-shadow: none; opacity: .5; }
.xr-active.fr-broken .fr-node-dark::after { display: none; }
.xr-active.fr-broken .fr-downstream .fiber-path path:not(.xr-fc-jacket):not(.xr-fc-cladding) { stroke-opacity: .12; filter: none; }
.xr-active.fr-broken .fr-downstream .fiber-path .fp-head { opacity: 0; }

/* The break site sits on the line at km 3.1. */
.xr-active .fr-site.xr-only {
  display: block !important; position: absolute; z-index: 6; left: var(--fiber-x); width: 0; height: 0;
  outline: none;
}
.fr-leak, .fr-crack { max-width: none; }
.fr-leak { position: absolute; left: -80px; top: -60px; width: 160px; height: 120px; pointer-events: none; overflow: visible; }
.fr-leak-glow { opacity: .25; transform-origin: center; }
.fr-leak-rays path { stroke: #dffcff; stroke-width: 1.4; stroke-linecap: round; opacity: 0; }
.fr-crack { position: absolute; left: -14px; top: -12px; width: 28px; height: 24px; overflow: visible; }
.fr-crack-gap { fill: #071118; }
.fr-crack-edge { fill: none; stroke: #f0c832; stroke-width: 1.1; stroke-linejoin: round; }
.fr-sleeve {
  position: absolute; left: -15px; top: -26px; width: 30px; height: 52px; border-radius: 9px;
  border: 1px solid #e8f3f6aa; background: linear-gradient(90deg, #e8f3f622, #e8f3f650 45%, #e8f3f622);
  box-shadow: inset 0 0 0 4px #e8f3f610, 0 0 12px #72e5ef55; opacity: 0; transform: scaleY(.6);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .8, .3, 1.2);
}
.fr-sleeve::after { content: ''; position: absolute; top: 6px; bottom: 6px; right: 6px; width: 2px; background: #c9d6dc99; border-radius: 1px; }

/* Once the OTDR has found it, the leak is plain to see. */
.xr-active[data-fr="traced"] .fr-leak-glow { opacity: 1; }
.xr-active[data-fr="traced"] .fr-leak-rays path { opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .xr-active.fr-broken .fr-leak-glow { animation: fr-flicker 2.6s ease-in-out infinite; }
  .xr-active[data-fr="traced"] .fr-leak-rays path { animation: fr-ray 1.6s ease-out infinite; animation-delay: calc(var(--i) * -.37s); }
}
@keyframes fr-flicker { 0%, 100% { transform: scale(.92); } 40% { transform: scale(1.06); } 55% { transform: scale(.98); } }
@keyframes fr-ray { 0% { opacity: 0; stroke-dasharray: 0 60; } 30% { opacity: .9; } 100% { opacity: 0; stroke-dasharray: 60 0; } }

/* Repaired: the crack is closed by a sleeve and the leak is gone. */
.xr-active:not(.fr-broken) .fr-leak, .xr-active:not(.fr-broken) .fr-crack { display: none; }
.xr-active:not(.fr-broken) .fr-sleeve { opacity: 1; transform: none; }
.xr-active[data-fr="dark"] .fr-site-copy {
  position: absolute; left: 26px; top: -20px; display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  width: max-content; max-width: min(320px, calc(100vw - var(--fiber-x) - 40px)); min-height: 40px;
}
.fr-tag {
  padding: 3px 8px; border: 1px solid #ff8a7099; border-radius: 999px;
  background: #07151df2; color: #ffd2c6; white-space: nowrap;
  font: 500 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.fr-tag b { color: #ff8a70; font-weight: 600; }
.xr-active:not(.fr-broken) .fr-tag { border-color: #87e8a066; color: #b3cdd7; }
.xr-active:not(.fr-broken) .fr-tag b { color: #87e8a0; }
.fr-splice { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding-block: 0; white-space: nowrap; }
.fr-splice .fr-icon { width: 24px; height: 22px; }
.fr-locked {
  margin: 0; padding: 3px 8px; border: 1px dashed #35505d; border-radius: 999px; background: #07151df2;
  color: #b3cdd7; white-space: nowrap; font: 500 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.fr-locked[hidden], .fr-splice[hidden] { display: none; }
/* The next move in the repair calls for attention: Go to km 3.1 once the break is found, then
   Fusion splice. A pulse ring, a slight lift, and the splice icon sparks. */
.fr-splice, .fr-call { position: relative; border-color: #ff9ccf; box-shadow: 0 0 14px #ff9ccf55; }
@media (prefers-reduced-motion: no-preference) {
  .fr-splice::after, .fr-call::after {
    content: ''; position: absolute; inset: -1px; border: 2px solid #ff9ccf; border-radius: inherit;
    pointer-events: none; animation: fr-splice-ring 1.8s ease-out infinite;
  }
  .fr-splice, .fr-call { animation: fr-splice-lift 1.8s ease-in-out infinite; }
  .fr-splice .fr-icon { animation: fr-splice-spark 1.8s steps(1, end) infinite; }
  .fr-splice:hover, .fr-call:hover { animation: none; }
}
@keyframes fr-splice-ring { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }
@keyframes fr-splice-lift { 0%, 100% { transform: translateY(0); box-shadow: 0 0 10px #ff9ccf44; } 50% { transform: translateY(-2px); box-shadow: 0 0 22px #ff9ccfaa; } }
@keyframes fr-splice-spark { 0%, 40%, 52%, 100% { filter: none; } 44%, 48% { filter: drop-shadow(0 0 4px #fff) brightness(1.8); } }

/* The splicer's screen. */
.fr-splicer { position: absolute; top: calc(100% + 8px); left: 0; z-index: 2; width: 260px; padding: 10px; border: 1px solid #35505d; border-radius: 10px; background: #07151df5; box-shadow: 0 12px 30px #0008; }
.fr-splicer[hidden] { display: none; }
.fr-splicer-screen { display: block; width: 100%; height: auto; border-radius: 6px; overflow: hidden; }
.fr-sp-bg { fill: #16252c; }
.fr-sp-split { stroke: #0a1418; stroke-width: 2; }
.fr-sp-electrode { fill: #4d5d64; }
.fr-sp-core { stroke: #8ea3ab; stroke-width: 1.4; opacity: .9; }
.fr-sp-seam { stroke: #6f858d; stroke-width: 1; opacity: 0; }
.fr-sp-heat { opacity: 0; mix-blend-mode: screen; }
.fr-sp-white { fill: #fff; opacity: 0; pointer-events: none; }
.fr-sp-label { fill: #8fa9b6; font: 600 8px var(--mono); }
.fr-sp-readout { fill: #87e8a0; font: 600 9px var(--mono); }
.fr-splicer-step { margin: 8px 2px 0; min-height: 1.4em; color: #cfe3ea; font: 500 11px/1.4 var(--mono); }

/* The fusion arc lights the room for an instant. */
.fr-flash {
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  background: radial-gradient(circle at var(--fx, 20%) var(--fy, 50%), #fff 0, #f4fbff 40%, #e6f6ff 100%);
  opacity: 0; animation: fr-flash .5s cubic-bezier(.1, .8, .3, 1) both;
}
@keyframes fr-flash { 0% { opacity: 0; } 8% { opacity: .85; } 22% { opacity: .55; } 30% { opacity: .7; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fr-flash { display: none; } }

/* Test gear in the field kit. */
.fr-gear { margin-top: 14px; padding-top: 12px; border-top: 1px solid #22404c; }
.fr-gear-head h3 { margin: 4px 0 10px; color: #e6f7fb; font: 500 16px/1.25 var(--display); }
.fr-gear-list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.fr-tool {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px dashed #2f4c58; border-radius: 10px; background: #07151dcc; color: #5f7d8a;
}
.fr-tool.is-owned { border-style: solid; border-color: #35505d; color: #9cf1f7; }
.fr-icon { display: block; width: 40px; height: 36px; }
.fr-tool:not(.is-owned) .fr-icon { opacity: .55; }
.fr-tool-copy { display: grid; gap: 2px; min-width: 0; }
.fr-tool-copy strong { color: #a9c1cc; font: 600 12.5px/1.25 var(--sans); }
.fr-tool.is-owned .fr-tool-copy strong { color: #e6f7fb; }
.fr-tool-copy span { color: #7c99a6; font: 400 11.5px/1.4 var(--sans); }
.fr-tool:not(.is-owned) .fr-tool-copy span { font: 500 9.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fr-tool-use { min-height: 36px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
.fr-tool-use[hidden] { display: none; }
@media (max-width: 420px) {
  .fr-tool { grid-template-columns: 34px minmax(0, 1fr); }
  .fr-tool .fr-icon { width: 34px; height: 30px; }
  .fr-tool-use { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .fr-tool.is-fresh { animation: fr-tool-ping 1.6s ease-out; }
}
.fr-tool.is-fresh { border-color: #72e5ef; }
@keyframes fr-tool-ping { 0% { box-shadow: 0 0 0 0 #72e5ef88; background: #123440; } 100% { box-shadow: 0 0 0 12px #72e5ef00; } }

/* The new-gear card: pops in under the bar (or under a stamp card), pops out after a few seconds. */
.fr-unlock {
  position: absolute; z-index: 2; top: calc(100% + 10px); right: 0;
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 316px; max-width: calc(100vw - 24px); padding: 10px 14px 10px 10px;
  border: 1px solid #72e5ef88; border-radius: 12px; background: #0b1821fa; color: #e6f7fb; text-align: left;
  box-shadow: 0 22px 60px #000a, 0 0 0 1px #72e5ef10, 0 0 24px #72e5ef22; cursor: pointer;
  font: inherit;
}
.fr-unlock[hidden] { display: none; }
.fr-unlock:hover, .fr-unlock:focus-visible { border-color: #9cf1f7; background: #0f2530; }
.fr-unlock-icon {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: #102a34; color: #9cf1f7;
}
.fr-unlock-icon .fr-icon { width: 38px; height: 34px; }
.fr-unlock-icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #72e5ef; opacity: 0; }
.fr-unlock-copy { display: grid; gap: 2px; min-width: 0; }
.fr-unlock-copy strong { color: #e6f7fb; font: 600 15px/1.25 var(--sans); }
.fr-unlock-copy > span:last-child { color: #a9c1cc; font: 400 12px/1.4 var(--sans); }
.fr-unlock-go { color: #9cf1f7; font: 500 16px/1 var(--sans); }
@media (prefers-reduced-motion: no-preference) {
  .fr-unlock.is-in { animation: fr-pop-in .42s cubic-bezier(.2, .9, .25, 1.25) both; }
  .fr-unlock.is-in .fr-unlock-icon::after { animation: fr-icon-ping 1.4s .3s ease-out 2; }
  .fr-unlock.is-in .fr-unlock-icon .fr-icon { animation: fr-icon-in .5s .1s cubic-bezier(.2, .9, .25, 1.4) both; }
  .fr-unlock.is-out { animation: fr-pop-out .24s ease-in both; }
}
@keyframes fr-pop-in { from { opacity: 0; transform: translateY(-10px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes fr-pop-out { to { opacity: 0; transform: translateY(-6px) scale(.92); } }
@keyframes fr-icon-in { from { opacity: 0; transform: scale(.4) rotate(-12deg); } }
@keyframes fr-icon-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@media (max-width: 699px) { .fr-unlock { top: calc(100% + 8px); } }

/* The OTDR window. */
.xr-active .fr-otdr.xr-only {
  display: block !important; position: fixed; z-index: 60; right: 20px; bottom: 20px;
  width: 372px; max-width: calc(100vw - 24px); padding: 12px 14px 14px;
  border: 1px solid #35505d; border-radius: 14px; background: #0b1821fa; color: #e6f7fb;
  box-shadow: 0 22px 60px #000a, 0 0 0 1px #72e5ef10;
}
.xr-active .fr-otdr.xr-only[hidden] { display: none !important; }
.fr-otdr-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: #9cf1f7; }
.fr-otdr-head h3 { margin: 2px 0 0; color: #e6f7fb; font: 500 17px/1.2 var(--display); outline: none; }
.fr-otdr-close { width: 36px; height: 36px; }
.fr-otdr-screen { position: relative; margin-top: 10px; padding: 6px; border-radius: 8px; background: #06141a; border: 1px solid #1d3a45; }
/* A clean scan gets a green check in the screen's top-right corner. */
.fr-otdr-ok {
  position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: #87e8a0; box-shadow: 0 0 0 3px #87e8a033, 0 0 14px #87e8a066;
}
.fr-otdr-ok svg { width: 15px; height: 15px; fill: none; stroke: #062014; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* While a scan draws, the end or break marker and the check wait for the trace to get there. */
.fr-trace-cursor, .fr-trace-flag { transition: opacity .3s; }
.fr-otdr-ok { transition: opacity .2s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.fr-otdr-screen.is-scanning .fr-trace-cursor, .fr-otdr-screen.is-scanning .fr-trace-flag { opacity: 0; transition: none; }
.fr-otdr-screen.is-scanning .fr-otdr-ok { opacity: 0; transform: scale(.4); transition: none; }
.fr-trace { display: block; width: 100%; height: auto; overflow: visible; }
.fr-trace-grid path { stroke: #72e5ef14; stroke-width: 1; }
.fr-trace-grid text, .fr-trace-unit { fill: #5f7d8a; font: 500 8px var(--mono); }
.fr-trace-line { fill: none; stroke: #9cf1f7; stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; filter: drop-shadow(0 0 3px #72e5ef88); }
.fr-trace-line.is-drawing { transition: stroke-dashoffset 1.6s cubic-bezier(.4, .1, .3, 1); }
.fr-trace-cursor { stroke: #ff8a70; stroke-width: 1; stroke-dasharray: 3 3; }
.fr-trace-flag { fill: #ff8a70; font: 600 9px var(--mono); letter-spacing: .04em; }
.fr-trace:not(.is-break) .fr-trace-cursor { stroke: #87e8a0; }
.fr-trace:not(.is-break) .fr-trace-flag { fill: #87e8a0; }
.fr-otdr-read { margin: 10px 0 0; color: #cfe3ea; font: 400 12.5px/1.5 var(--sans); }
.fr-otdr-read strong { color: #fff; }
.fr-otdr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fr-otdr-actions .xr-button[hidden] { display: none; }
@media (max-width: 1023.98px) {
  .xr-active .fr-otdr.xr-only { left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); width: auto; max-width: none; }
}

/* The OLTS result at the end of the line. */
.xr-active .fr-olts.xr-only[hidden] { display: none !important; }
.fr-olts {
  max-width: 460px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid #87e8a066; border-radius: 12px;
  background: #07151df2; color: #e6f7fb; outline: none;
}
.fr-olts-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: #87e8a0; }
.fr-olts-head h3 { margin: 2px 0 0; color: #e6f7fb; font: 500 17px/1.2 var(--display); }
.fr-olts-verdict { padding: 4px 10px; border-radius: 999px; font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.fr-olts-verdict.is-pass { background: #87e8a0; color: #062016; }
.fr-olts-verdict.is-fail { background: #ff8a70; color: #2a0b05; }
.fr-olts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 12px 0 0; }
.fr-olts-grid dt { color: #7c99a6; font: 500 9.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.fr-olts-grid dd { margin: 2px 0 0; color: #e6f7fb; font: 600 14px/1.3 var(--mono); }
.fr-olts-note { margin: 10px 0 0; color: #b3cdd7; font: 400 12.5px/1.5 var(--sans); }

/* The light meter past an unrepaired break. */
.xr-fiber-meter.is-dark { border-color: #ff8a70aa; }
.xr-fiber-meter.is-dark strong { color: #ff8a70; }
.xr-fiber-meter.is-dark .xr-fiber-meter-sub { color: #ffb8a6; }
@media (max-width: 699px) { .xr-fiber-meter.is-dark .xr-fiber-meter-sub { display: block; } }

/* The OTDR docked beside the name: drops in, takes the line in its launch port, then lights up. */
.xr-active .fr-unit.xr-only {
  display: block !important; position: absolute; z-index: 4; right: 26px; top: 150px; width: 150px;
  padding: 0; border: 0; background: transparent; appearance: none;
  pointer-events: auto; cursor: pointer;
}
.xr-active .fr-unit.xr-only[hidden] { display: none !important; }
.fr-unit:disabled { cursor: default; }
.fr-unit:focus-visible { outline: 2px solid var(--fiber); outline-offset: 5px; border-radius: 12px; }
.fr-unit-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 18px #0009); }
.fr-unit-bumper { fill: #f0c832; opacity: .9; }
.fr-unit-body { fill: #17252c; stroke: #2c4550; }
.fr-unit-screen { fill: #04111a; stroke: #2c4550; }
.fr-unit-grid { stroke: #72e5ef12; stroke-width: 1; fill: none; }
.fr-unit-trace { fill: none; stroke: #9cf1f7; stroke-width: 1.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.fr-unit.is-connected .fr-unit-trace { opacity: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 2px #72e5ef); }
.fr-unit-trace.is-drawing { transition: stroke-dashoffset 1.4s cubic-bezier(.4, .1, .3, 1); }
.fr-unit-ok { opacity: 0; transition: opacity .3s; }
.fr-unit-ok circle { fill: #87e8a0; }
.fr-unit-ok path { fill: none; stroke: #062014; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fr-unit.is-connected.is-clean .fr-unit-ok { opacity: 1; }
.fr-unit-km { fill: #ff8a70; font: 600 6.5px var(--mono); letter-spacing: .05em; opacity: 0; }
.fr-unit.is-connected .fr-unit-km { opacity: 1; }
.fr-unit.is-clean .fr-unit-km { fill: #87e8a0; }
.fr-unit.is-connected.is-scanning .fr-unit-km, .fr-unit.is-connected.is-scanning .fr-unit-ok { opacity: 0; transition: none; }
.fr-unit-km { transition: opacity .3s; }
.fr-unit-name { fill: #8fa9b6; font: 600 7px var(--mono); letter-spacing: .08em; }
.fr-unit-led { fill: #3a4a50; }
.fr-unit.is-connected .fr-unit-led { fill: #87e8a0; filter: drop-shadow(0 0 3px #87e8a0); }
.fr-unit-key { fill: #22343c; stroke: #3a5560; }
.fr-unit-housing { fill: #0a1418; stroke: #3a5560; }
.fr-unit-plug { opacity: 0; }
.fr-unit.is-connected .fr-unit-plug { opacity: 1; }
.fr-lc-adapter { fill: #237f47; stroke: #5aaa69; stroke-width: .6; }
.fr-lc-socket { fill: #07150d; }
.fr-lc-body { fill: #48a455; stroke: #174c2b; stroke-width: .65; stroke-linejoin: round; }
.fr-lc-side { fill: #277a3f; }
.fr-lc-highlight { fill: none; stroke: #9dd98e; stroke-width: .8; }
.fr-lc-latch { fill: #7acb70; stroke: #245b34; stroke-width: .6; stroke-linejoin: round; }
.fr-lc-latch-slot { fill: none; stroke: #164d2a; stroke-width: .65; }
.fr-lc-neck { fill: #256f3a; }
.fr-lc-boot, .fr-lc-boot-tip { fill: #3a9349; }
.fr-lc-ribs { fill: none; stroke: #174e2d; stroke-width: .8; }
.fr-lc-cord { fill: none; stroke: #e5bd30; stroke-width: 3; }
/* A slim simplex patch cord leaves the LC boot and meets the page backbone. */
.hero-fiber.is-launched .xr-fc-jacket { stroke-width: 5; }
.hero-fiber.is-launched .xr-fc-cladding { stroke-width: 2.5; }
.hero-fiber.is-launched .hf-core { stroke-width: .9; }
.hero-fiber.is-launched .hf-glow { stroke-width: 3; }
.hero-fiber.is-launched .hf-ray { stroke-width: 1.5; }
.hero-fiber.is-launched .hf-dots circle { r: 1.3; }
.xr-active .fr-unit.xr-only.is-staged { visibility: hidden; }
/* The free end's connector while the line is pulled in, on the fiber's layer: under the text. */
.xr-active .fr-plug.xr-only { display: block !important; position: absolute; z-index: 3; left: 0; top: 0; width: 150px; height: 132px; transform-origin: 0 0; pointer-events: none; will-change: transform, opacity; }
.xr-active .fr-plug.xr-only[hidden] { display: none !important; }
.fr-plug svg { display: block; overflow: visible; filter: drop-shadow(0 4px 6px #0008); }
.fr-unit-seat { fill: none; stroke: #dffcff; stroke-width: 2; opacity: 0; }
.fr-unit-port { fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .fr-unit.is-dropping, .fr-unit.is-seating { will-change: transform; }
  .fr-unit.is-dropping { animation: fr-unit-drop .7s cubic-bezier(.25, .9, .3, 1.25) both; }
  .fr-unit.is-seating .fr-unit-seat { animation: fr-unit-seat .6s ease-out both; }
  .fr-unit.is-seating .fr-unit-svg { animation: fr-unit-click .35s ease-out; }
}
@keyframes fr-unit-drop {
  0% { opacity: 0; transform: translateY(-160px) rotate(-7deg); }
  60% { opacity: 1; transform: translateY(6px) rotate(1.5deg); }
  80% { transform: translateY(-3px) rotate(-.5deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes fr-unit-seat { 0% { opacity: 1; r: 4; } 100% { opacity: 0; r: 18; } }
@keyframes fr-unit-click { 40% { transform: translateY(2px); } }
@media (max-width: 699.98px) {
  .xr-active .hero-id:has(.fr-unit:not([hidden])) { padding-bottom: var(--fr-unit-space, 0px); }
}
