/* Liquid Scripture — Reservoir Currents (Step 5). Scoped to #lsReservoirCurrent. */
#lsReservoirCurrent {
  --ls-cu-abyss: #04070d;
  --ls-cu-sapphire: #2f7df6;
  --ls-cu-sapphire-bright: #6cc0ff;
  --ls-cu-platinum: #dde7f0;
  --ls-cu-muted: #7d93ab;
  --ls-cu-hair: rgba(120, 160, 210, 0.14);
  position: fixed;
  inset: 0;
  z-index: 100205;
  display: none;
  background: #04070d;
  color: var(--ls-cu-platinum);
  font-family: "Cormorant Garamond", Georgia, serif;
}
#lsReservoirCurrent.ls-cu-visible {
  display: flex;
  justify-content: center;
}
#lsReservoirCurrent .ls-cu-app {
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: radial-gradient(
    120% 55% at 50% -8%,
    rgba(34, 84, 200, 0.15),
    transparent 62%
  );
}
#lsReservoirCurrent .ls-cu-back {
  position: absolute;
  left: 18px;
  top: 24px;
  z-index: 8;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ls-cu-hair);
  background: rgba(10, 16, 34, 0.7);
  color: #cfe0f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
}
#lsReservoirCurrent header {
  padding: 22px 24px 8px;
  text-align: center;
  position: relative;
  z-index: 6;
}
#lsReservoirCurrent .ls-cu-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ls-cu-muted);
}
#lsReservoirCurrent .ls-cu-h1 {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 27px;
  letter-spacing: 0.05em;
  margin-top: 7px;
  color: #eef5fc;
  text-shadow: 0 0 30px rgba(108, 192, 255, 0.3);
}
#lsReservoirCurrent .ls-cu-sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ls-cu-muted);
  font-style: italic;
}
#lsReservoirCurrent .ls-cu-assign {
  margin: 12px 16px 0;
  border: 1px solid rgba(120, 178, 238, 0.3);
  border-radius: 14px;
  padding: 11px 14px;
  background: rgba(12, 28, 60, 0.55);
  position: relative;
  z-index: 6;
}
#lsReservoirCurrent .ls-cu-arow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#lsReservoirCurrent .ls-cu-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ls-cu-sapphire-bright);
}
#lsReservoirCurrent .ls-cu-due {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--ls-cu-muted);
}
#lsReservoirCurrent .ls-cu-bar {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 9px;
  overflow: hidden;
}
#lsReservoirCurrent .ls-cu-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3c8cf0, #6cc0ff);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(108, 192, 255, 0.6);
}
#lsReservoirCurrent .ls-cu-prog {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ls-cu-muted);
  margin-top: 7px;
}
#lsReservoirCurrent .ls-cu-prog b {
  color: var(--ls-cu-sapphire-bright);
}
#lsReservoirCurrent .ls-cu-vessel {
  position: relative;
  flex: 1;
  min-height: 42vh;
  margin: 10px 16px 0;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--ls-cu-hair);
  border-bottom: none;
  box-shadow: inset 0 0 90px rgba(6, 16, 40, 0.92);
}
#lsReservoirCurrent .ls-cu-water {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
#lsReservoirCurrent .ls-cu-crystals {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
#lsReservoirCurrent .ls-cu-crystal {
  position: absolute;
  width: 118px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
  animation: ls-cu-bob var(--ls-cu-dur, 6s) ease-in-out infinite;
}
#lsReservoirCurrent .ls-cu-step {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--ls-cu-hair);
  background: rgba(8, 16, 34, 0.85);
  color: #cfe0f2;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
#lsReservoirCurrent .ls-cu-gem {
  position: relative;
  padding: 12px 12px 10px;
  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.7s, border-color 0.7s, box-shadow 0.7s, filter 0.7s;
}
#lsReservoirCurrent .ls-cu-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%);
}
#lsReservoirCurrent .ls-cu-ref {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}
#lsReservoirCurrent .ls-cu-essence {
  font-size: 14px;
  line-height: 1.15;
  margin-top: 3px;
  font-style: italic;
  position: relative;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-sealed .ls-cu-gem {
  background: linear-gradient(
    150deg,
    rgba(120, 200, 255, 0.45),
    rgba(38, 108, 200, 0.58)
  );
  border-color: rgba(185, 228, 255, 0.95);
  box-shadow: 0 0 20px rgba(86, 184, 255, 0.5),
    inset 0 0 22px rgba(160, 215, 255, 0.36);
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-sealed .ls-cu-step {
  border-color: rgba(150, 210, 255, 0.8);
  color: #bfe6ff;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-held .ls-cu-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);
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-held .ls-cu-ref {
  color: #eef5ff;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-held .ls-cu-essence {
  color: #fff;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-held {
  animation: ls-cu-bob var(--ls-cu-dur, 5.5s) ease-in-out infinite,
    ls-cu-glow 4s ease-in-out infinite;
}
@keyframes ls-cu-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));
  }
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-settling .ls-cu-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);
  filter: saturate(0.18);
  opacity: 0.82;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-settling .ls-cu-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-cu-murk-drift 9s linear infinite;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-dissolving .ls-cu-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);
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-dissolving .ls-cu-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-cu-murk-drift 6.5s linear infinite;
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-dissolving::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;
  white-space: nowrap;
}
@keyframes ls-cu-murk-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 160px 120px;
  }
}
#lsReservoirCurrent .ls-cu-crystal.ls-cu-flare {
  animation: ls-cu-flare 0.8s ease-out;
  z-index: 7;
}
@keyframes ls-cu-flare {
  35% {
    transform: translate(-50%, -50%) scale(1.24);
    filter: drop-shadow(0 0 48px #eaf6ff) brightness(2);
  }
}
@keyframes ls-cu-bob {
  50% {
    translate: 0 -6px;
  }
}
#lsReservoirCurrent .ls-cu-complete {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  z-index: 25;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s;
  padding: 0 26px;
}
#lsReservoirCurrent .ls-cu-complete.ls-cu-show {
  opacity: 1;
}
#lsReservoirCurrent .ls-cu-complete-title {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: #eef6ff;
  text-shadow: 0 0 44px rgba(120, 190, 255, 0.75);
}
#lsReservoirCurrent .ls-cu-complete-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: none;
  color: #aebfd2;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
#lsReservoirCurrent .ls-cu-complete-actions {
  pointer-events: auto;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
#lsReservoirCurrent .ls-cu-complete-actions[hidden] {
  display: none !important;
}
#lsReservoirCurrent .ls-cu-share-btn,
#lsReservoirCurrent .ls-cu-copy-btn {
  pointer-events: auto;
  min-width: 220px;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
#lsReservoirCurrent .ls-cu-share-btn {
  border: none;
  color: #eaf4ff;
  background: linear-gradient(
    180deg,
    rgba(47, 125, 246, 0.55),
    rgba(47, 125, 246, 0.25)
  );
  box-shadow: 0 0 18px rgba(47, 125, 246, 0.3);
}
#lsReservoirCurrent .ls-cu-copy-btn {
  border: 1px solid rgba(120, 178, 238, 0.45);
  color: #cfe0f2;
  background: transparent;
}
#lsReservoirCurrent.ls-cu-weekly-mode .ls-cu-eyebrow {
  color: var(--ls-cu-sapphire-bright);
}
#lsReservoirCurrent .ls-cu-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;
}
#lsReservoirCurrent .ls-cu-overlay.ls-cu-open {
  opacity: 1;
  pointer-events: auto;
}
#lsReservoirCurrent .ls-cu-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);
  text-align: center;
}
#lsReservoirCurrent .ls-cu-ref2 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ls-cu-sapphire-bright);
}
#lsReservoirCurrent .ls-cu-verse {
  font-size: 25px;
  line-height: 1.5;
  margin: 18px 0 6px;
  color: #f3f9ff;
}
#lsReservoirCurrent .ls-cu-binput {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: italic;
  color: #f3f9ff;
  text-align: center;
  background: transparent;
  border: none;
  border-bottom: 1.6px solid var(--ls-cu-sapphire);
  min-width: 44px;
  margin: 0 3px;
  padding: 0 2px 2px;
  outline: none;
}
#lsReservoirCurrent .ls-cu-binput.ls-cu-wrong {
  border-color: #EF9F27;
  color: #FAC775;
}
#lsReservoirCurrent .ls-cu-binput.ls-cu-shown {
  border-color: transparent;
  color: #9fb4c8;
}
#lsReservoirCurrent .ls-cu-prompt {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ls-cu-muted);
  margin-top: 16px;
  min-height: 14px;
}
#lsReservoirCurrent .ls-cu-prompt.ls-cu-warn {
  color: #5fe6b0;
}
#lsReservoirCurrent .ls-cu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
#lsReservoirCurrent .ls-cu-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-cu-sapphire);
  color: #eaf4ff;
  background: linear-gradient(
    180deg,
    rgba(47, 125, 246, 0.32),
    rgba(47, 125, 246, 0.12)
  );
}
#lsReservoirCurrent .ls-cu-actions button.ls-cu-secondary {
  background: transparent;
  color: #cfe0f2;
}
#lsReservoirCurrent .ls-cu-actions button.ls-cu-ghost {
  border-color: var(--ls-cu-hair);
  background: transparent;
  color: var(--ls-cu-muted);
}
#lsReservoirCurrent .ls-cu-toast {
  position: absolute;
  left: 50%;
  bottom: 30px;
  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;
  white-space: nowrap;
}
#lsReservoirCurrent .ls-cu-toast.ls-cu-show {
  opacity: 1;
  translate: -50% 0;
}
#lsReservoirCurrent .ls-cu-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-cu-ring 1.2s ease-out forwards;
}
@keyframes ls-cu-ring {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* Home shelf — current cards */
#lsReservoirHome .ls-rh-ccard {
  position: relative;
  display: block;
  width: 100%;
  height: 82px;
  margin-bottom: 12px;
  border: 1px solid var(--ls-rh-hair, rgba(120, 160, 210, 0.14));
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(9, 15, 32, 0.6);
  text-align: left;
  color: inherit;
  font: inherit;
}
#lsReservoirHome .ls-rh-cfill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  transition: height 1.1s ease;
  background: linear-gradient(
    180deg,
    rgba(60, 132, 232, 0.66) 0%,
    rgba(34, 78, 184, 0.96) 40%,
    rgba(11, 24, 78, 1) 100%
  );
}
#lsReservoirHome .ls-rh-cfill::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1.5px;
  background: rgba(180, 220, 255, 0.75);
}
#lsReservoirHome .ls-rh-cshade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 7, 13, 0.82) 38%,
    rgba(4, 7, 13, 0.15)
  );
  pointer-events: none;
}
#lsReservoirHome .ls-rh-ccontent {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  height: 100%;
}
#lsReservoirHome .ls-rh-cname {
  font-family: Cinzel, serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
#lsReservoirHome .ls-rh-ccue {
  font-size: 13px;
  color: var(--ls-rh-muted, #7d93ab);
  font-style: italic;
  margin-top: 4px;
}
#lsReservoirHome .ls-rh-cprog {
  text-align: right;
  font-family: Cinzel, serif;
  font-size: 22px;
}
#lsReservoirHome .ls-rh-cprog small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ls-rh-muted, #7d93ab);
  margin-top: 4px;
}

/* === VESSEL NODES v1 === */
.gem-svg{display:block;width:108px;height:118px;overflow:visible;}
.vessel.locked .gem-svg{filter:saturate(.5) brightness(.7);}
@keyframes gemBreathe{0%,100%{filter:drop-shadow(0 0 10px rgba(70,140,255,.35));}50%{filter:drop-shadow(0 0 22px rgba(120,190,255,.6));}}
.vessel.active .gem-svg{animation:gemBreathe 3.6s ease-in-out infinite;}
@keyframes gemSlosh{0%,100%{transform:translateX(0);}50%{transform:translateX(-6px);}}
.vessel.active .liquid-wave{animation:gemSlosh 4.5s ease-in-out infinite;}
@media (prefers-reduced-motion:reduce){.vessel .gem-svg,.vessel .liquid-wave{animation:none!important;}}

/* === VESSEL NODES v1 — additive integration (non-SVG) === */
/* Neutralize the old octagon look so the gem SVG is the vessel; keep ref/preview overlaid. */
#lsReservoirCurrent .ls-cu-crystal.vessel .ls-cu-gem{
  clip-path:none;
  background:none !important;
  border:none !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
  padding:0;
  width:108px;
  min-height:118px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
#lsReservoirCurrent .ls-cu-crystal.vessel .ls-cu-gem::before{display:none;}
#lsReservoirCurrent .ls-cu-crystal.vessel .ls-cu-gemwrap{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:0;
  pointer-events:none;
}
#lsReservoirCurrent .ls-cu-crystal.vessel .ls-cu-ref,
#lsReservoirCurrent .ls-cu-crystal.vessel .ls-cu-essence{
  position:relative;
  z-index:1;
}
