/* Liquid Scripture — Reservoir catch-loop (Step 2). Scoped to #lsReservoirCatch. */
#lsReservoirCatch {
  --ls-rc-abyss: #04070d;
  --ls-rc-sapphire: #2f7df6;
  --ls-rc-sapphire-bright: #6cc0ff;
  --ls-rc-platinum: #dde7f0;
  --ls-rc-muted: #7d93ab;
  --ls-rc-hair: rgba(120, 160, 210, 0.14);
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: none;
  background: #04070d;
  color: var(--ls-rc-platinum);
  font-family: "Cormorant Garamond", Georgia, serif;
}
#lsReservoirCatch.ls-rc-visible {
  display: flex;
  justify-content: center;
}
html.ls-reservoir-open {
  overflow: hidden;
}
#lsReservoirCatch .ls-rc-app {
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #04070d;
  background-image: radial-gradient(
    120% 55% at 50% -8%,
    rgba(34, 84, 200, 0.15),
    transparent 62%
  );
}
#lsReservoirCatch .ls-rc-back {
  position: absolute;
  left: 18px;
  top: 24px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ls-rc-hair);
  background: rgba(10, 16, 34, 0.7);
  color: #cfe0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
}
#lsReservoirCatch header {
  padding: 24px 26px 10px;
  text-align: center;
  position: relative;
  z-index: 6;
}
#lsReservoirCatch .ls-rc-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ls-rc-muted);
}
#lsReservoirCatch .ls-rc-h1 {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 29px;
  letter-spacing: 0.06em;
  margin-top: 8px;
  color: #eef5fc;
  text-shadow: 0 0 30px rgba(108, 192, 255, 0.32);
}
#lsReservoirCatch .ls-rc-status {
  margin-top: 9px;
  font-size: 16px;
  color: var(--ls-rc-muted);
  font-style: italic;
  min-height: 20px;
}
#lsReservoirCatch .ls-rc-vessel {
  position: relative;
  flex: 1;
  min-height: 42vh;
  margin: 6px 16px 0;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--ls-rc-hair);
  border-bottom: none;
  box-shadow: inset 0 0 90px rgba(6, 16, 40, 0.92),
    0 -10px 44px rgba(34, 84, 200, 0.06);
}
#lsReservoirCatch .ls-rc-water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}
#lsReservoirCatch .ls-rc-crystals {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
#lsReservoirCatch .ls-rc-crystal {
  position: absolute;
  width: 110px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  animation: ls-rc-bob var(--ls-rc-dur, 6s) ease-in-out infinite;
  transition: opacity 0.6s ease;
}
#lsReservoirCatch .ls-rc-gem {
  position: relative;
  padding: 13px 12px 11px;
  clip-path: polygon(
    14% 0,
    86% 0,
    100% 30%,
    100% 70%,
    86% 100%,
    14% 100%,
    0 70%,
    0 30%
  );
  text-align: center;
  border: 1px solid;
  transition: background 0.8s, border-color 0.8s, box-shadow 0.8s, filter 0.8s;
}
#lsReservoirCatch .ls-rc-gem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 52%;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
  transition: opacity 0.8s;
}
#lsReservoirCatch .ls-rc-ref {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.8s;
  text-shadow: 0 1px 5px rgba(0, 8, 24, 0.55);
}
#lsReservoirCatch .ls-rc-essence {
  font-size: 14px;
  line-height: 1.15;
  margin-top: 4px;
  font-style: italic;
  position: relative;
  transition: color 0.8s;
  text-shadow: 0 1px 7px rgba(0, 8, 24, 0.6);
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-held .ls-rc-gem {
  background: linear-gradient(
    150deg,
    rgba(242, 248, 255, 0.42),
    rgba(168, 192, 220, 0.34)
  );
  border-color: rgba(248, 252, 255, 0.96);
  box-shadow:
    0 0 22px rgba(210, 232, 255, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: contrast(1.06) saturate(1.08);
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-held .ls-rc-ref {
  color: #eef5ff;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-held .ls-rc-essence {
  color: #fff;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-held {
  animation: ls-rc-bob var(--ls-rc-dur, 6s) ease-in-out infinite,
    ls-rc-glow 4s ease-in-out infinite;
}
@keyframes ls-rc-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px rgba(190, 218, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(210, 230, 255, 0.6));
  }
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-settling .ls-rc-gem {
  background: linear-gradient(
    150deg,
    rgba(122, 130, 140, 0.18),
    rgba(34, 40, 48, 0.46)
  );
  border-color: rgba(150, 160, 172, 0.42);
  box-shadow: none;
  filter: saturate(0.18);
  opacity: 0.82;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-settling .ls-rc-gem::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  animation: ls-rc-murk-drift 9s linear infinite;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-settling .ls-rc-gem::before {
  opacity: 0.28;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-settling .ls-rc-ref {
  color: #bcc6d1;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-settling .ls-rc-essence {
  color: #d8dee5;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-slipping .ls-rc-gem {
  background: linear-gradient(
    150deg,
    rgba(58, 200, 120, 0.42),
    rgba(14, 66, 42, 0.72)
  );
  border-color: rgba(110, 245, 165, 0.72);
  box-shadow: 0 0 16px rgba(60, 210, 140, 0.28);
  opacity: 0.78;
  filter: saturate(0.72);
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-slipping .ls-rc-gem::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
  animation: ls-rc-murk-drift 6.5s linear infinite;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-slipping .ls-rc-gem::before {
  opacity: 0.18;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-slipping .ls-rc-ref {
  color: #dcfdee;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-slipping .ls-rc-essence {
  color: #f1fff8;
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-slipping::after {
  content: "slipping";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7ae8b0;
  animation: ls-rc-pulse 2.1s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes ls-rc-murk-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 160px 120px;
  }
}
#lsReservoirCatch .ls-rc-crystal.ls-rc-flare {
  animation: ls-rc-flare 0.8s ease-out;
  z-index: 5;
}
@keyframes ls-rc-flare {
  0% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 6px #fff) brightness(1.3);
  }
  35% {
    transform: translate(-50%, -50%) scale(1.26);
    filter: drop-shadow(0 0 50px #eaf6ff) brightness(2.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 18px rgba(180, 220, 255, 0.9));
  }
}
#lsReservoirCatch .ls-rc-crystal:active {
  transform: translate(-50%, -50%) scale(0.96);
}
@keyframes ls-rc-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}
@keyframes ls-rc-pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
  }
}
#lsReservoirCatch .ls-rc-depth {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  z-index: 5;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ls-rc-sapphire-bright);
  opacity: 0.9;
  pointer-events: none;
}
#lsReservoirCatch .ls-rc-legend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 13px;
  background: linear-gradient(0deg, rgba(4, 7, 13, 0.94), transparent);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ls-rc-muted);
  pointer-events: none;
}
#lsReservoirCatch .ls-rc-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
#lsReservoirCatch .ls-rc-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  transform: rotate(45deg);
}
#lsReservoirCatch .ls-rc-dot-h {
  background: #eaf2ff;
  box-shadow: 0 0 10px #cfe4ff;
}
#lsReservoirCatch .ls-rc-dot-t {
  background: #8893a0;
  opacity: 0.7;
}
#lsReservoirCatch .ls-rc-dot-d {
  background: #3fd089;
  opacity: 0.85;
}
#lsReservoirCatch .ls-rc-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
#lsReservoirCatch .ls-rc-overlay.ls-rc-open {
  opacity: 1;
  pointer-events: auto;
}
#lsReservoirCatch .ls-rc-seal-card {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  padding: 30px 26px 24px;
  background: linear-gradient(
    165deg,
    rgba(18, 40, 76, 0.96),
    rgba(5, 11, 26, 0.98)
  );
  border: 1px solid rgba(120, 180, 255, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 60px rgba(34, 84, 200, 0.08);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.35s;
  text-align: center;
}
#lsReservoirCatch .ls-rc-overlay.ls-rc-open .ls-rc-seal-card {
  transform: none;
}
#lsReservoirCatch .ls-rc-seal-card.ls-rc-shake {
  animation: ls-rc-shake 0.42s;
}
@keyframes ls-rc-shake {
  0%,
  100% {
    transform: none;
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(3px);
  }
}
#lsReservoirCatch .ls-rc-ref2 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ls-rc-sapphire-bright);
}
#lsReservoirCatch .ls-rc-verse {
  font-size: 25px;
  line-height: 1.5;
  margin: 18px 0 6px;
  color: #f3f9ff;
}
#lsReservoirCatch .ls-rc-binput {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-style: italic;
  color: #f3f9ff;
  text-align: center;
  background: transparent;
  border: none;
  border-bottom: 1.6px solid var(--ls-rc-sapphire);
  min-width: 44px;
  margin: 0 3px;
  padding: 0 2px 2px;
  outline: none;
  transition: border-color 0.3s, color 0.3s;
}
#lsReservoirCatch .ls-rc-binput:focus {
  border-color: var(--ls-rc-sapphire-bright);
}
#lsReservoirCatch .ls-rc-binput.ls-rc-wrong {
  border-color: #EF9F27;
  color: #FAC775;
  text-shadow: 0 0 10px rgba(239, 159, 39, 0.6);
}
#lsReservoirCatch .ls-rc-binput.ls-rc-shown {
  border-color: transparent;
  color: #9fb4c8;
}
#lsReservoirCatch .ls-rc-prompt {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ls-rc-muted);
  margin-top: 16px;
  min-height: 14px;
}
#lsReservoirCatch .ls-rc-prompt.ls-rc-warn {
  color: #5fe6b0;
}
#lsReservoirCatch .ls-rc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
#lsReservoirCatch .ls-rc-actions button {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--ls-rc-sapphire);
  color: #eaf4ff;
  background: linear-gradient(
    180deg,
    rgba(47, 125, 246, 0.32),
    rgba(47, 125, 246, 0.12)
  );
  transition: transform 0.15s, box-shadow 0.25s;
}
#lsReservoirCatch .ls-rc-actions button:hover {
  box-shadow: 0 0 22px rgba(47, 125, 246, 0.4);
}
#lsReservoirCatch .ls-rc-actions button:active {
  transform: scale(0.97);
}
#lsReservoirCatch .ls-rc-actions button.ls-rc-ghost {
  border-color: var(--ls-rc-hair);
  background: transparent;
  color: var(--ls-rc-muted);
}
#lsReservoirCatch .ls-rc-actions button.ls-rc-secondary {
  background: transparent;
  color: #cfe0f2;
}
#lsReservoirCatch .ls-rc-milestone {
  position: absolute;
  left: 0;
  right: 0;
  top: 34%;
  z-index: 25;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}
#lsReservoirCatch .ls-rc-milestone.ls-rc-show {
  opacity: 1;
}
#lsReservoirCatch .ls-rc-milestone .ls-rc-mtier {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 0.05em;
  color: #eef6ff;
  text-shadow: 0 0 44px rgba(120, 190, 255, 0.75);
}
#lsReservoirCatch .ls-rc-milestone .ls-rc-msub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ls-rc-sapphire-bright);
  margin-top: 12px;
}
#lsReservoirCatch .ls-rc-toast {
  position: absolute;
  left: 50%;
  bottom: 74px;
  z-index: 30;
  translate: -50% 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #eaf4ff;
  background: rgba(20, 42, 74, 0.92);
  border: 1px solid rgba(120, 180, 255, 0.45);
  padding: 11px 18px;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.4s, translate 0.4s;
  box-shadow: 0 0 28px rgba(34, 84, 200, 0.34);
  white-space: nowrap;
}
#lsReservoirCatch .ls-rc-toast.ls-rc-show {
  opacity: 1;
  translate: -50% 0;
}
#lsReservoirCatch .ls-rc-ripple {
  position: absolute;
  z-index: 4;
  border: 2px solid rgba(150, 200, 255, 0.85);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ls-rc-ring 1.2s ease-out forwards;
}
@keyframes ls-rc-ring {
  from {
    width: 10px;
    height: 10px;
    opacity: 0.9;
  }
  to {
    width: 320px;
    height: 320px;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  #lsReservoirCatch .ls-rc-crystal {
    animation: none !important;
  }
}
