.river-story .plate-frame{
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: 1440px;
  height: 800px;
  margin: -400px 0 0 -720px;
  transform: translate3d(0, var(--dy, 0px), 0) scale(var(--k, 1));
  transform-origin: 50% 50%;
  pointer-events: none;
  display: none;
  color: #f5f7fa;
}
.river-story .plate-frame .eyebrow{ margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.26em; color: var(--blue); }
.river-story .plate-frame h2{ margin: 0; font-family: "Caveat", Georgia, serif; font-style: italic; font-weight: 400; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.river-story .plate-frame h3{ margin: 0; font-family: "Caveat", Georgia, serif; font-style: italic; font-weight: 400; font-size: 44px; line-height: 1.02; letter-spacing: -0.015em; }
.river-story .win{ position: absolute; left: 200px; top: 96px; width: 1040px; margin: 0; transform-origin: 50% 50%; visibility: hidden; }
.river-story .win img{
  display: block;
  filter: brightness(calc(1 - 0.62 * var(--dim, 0)));
  width: 100%;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 140px rgba(0, 0, 0, 0.6),
    0 0 calc(160px * var(--rise, 0)) rgba(96, 176, 255, calc(0.6 * var(--rise, 0)));
}
.river-story .pill-flyer{ position: absolute; left: 0; top: 0; z-index: 8; display: grid; place-items: center; border-radius: 999px; visibility: hidden; overflow: hidden; white-space: nowrap; }
.river-story .pill-flyer i{ grid-area: 1 / 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; font-style: normal; }
.river-story .pill-flyer .was{ font-size: 7.4px; font-weight: 500; color: #e3eadf; border: 1px solid rgba(160, 200, 170, 0.35); background: #0b0f12; opacity: calc(1 - var(--k, 0)); }
.river-story .pill-flyer.on .was{ background: #2f7a50; border-color: #2f7a50; color: #fff; }
.river-story .pill-flyer .now{ font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: #7f97b5; border: 1px solid rgba(120, 160, 210, 0.2); background: rgba(6, 11, 20, 0.6); opacity: var(--k, 0); }
.river-story .pill-flyer.on .now{ color: #e6f2ff; border-color: rgba(50, 156, 255, 0.6); background: rgba(50, 156, 255, 0.18); }
.river-story .plate{ position: absolute; left: 130px; top: 68px; width: 1180px; height: 664px; transform-origin: 50% 50%; visibility: hidden; }
.river-story .plate-well{
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: calc(14px / var(--g, 1));
  background: #05080d;
  box-shadow: 0 0 0 calc(1px / var(--g, 1)) rgba(146, 186, 232, 0.14), 0 50px 130px rgba(0, 0, 0, 0.6);
}
.river-story .plate-view{ position: absolute; inset: 0; transform-origin: 50% 50%; }
.river-story .pl{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; }
.river-story .marquee{
  position: absolute;
  border: calc(2px / var(--z, 1)) solid #fff;
  border-radius: calc(4px / var(--z, 1));
  box-shadow:
    0 0 0 9999px rgba(2, 6, 14, calc(0.55 * var(--draw, 1))),
    0 0 0 calc(1px / var(--z, 1)) rgba(2, 8, 18, 0.6),
    0 0 calc(36px / var(--z, 1)) rgba(80, 170, 255, 0.45);
  visibility: hidden;
}
.river-story .marquee i{ position: absolute; width: calc(10px / var(--z, 1)); height: calc(10px / var(--z, 1)); background: #fff; border-radius: calc(2px / var(--z, 1)); box-shadow: 0 0 0 1px rgba(2, 8, 18, 0.5); opacity: var(--lab, 1); }
.river-story .marquee i:nth-child(1){ left: calc(-6px / var(--z, 1)); top: calc(-6px / var(--z, 1)); }
.river-story .marquee i:nth-child(2){ right: calc(-6px / var(--z, 1)); top: calc(-6px / var(--z, 1)); }
.river-story .marquee i:nth-child(3){ right: calc(-6px / var(--z, 1)); bottom: calc(-6px / var(--z, 1)); }
.river-story .marquee i:nth-child(4){ left: calc(-6px / var(--z, 1)); bottom: calc(-6px / var(--z, 1)); }
.river-story .ring{
  position: absolute;
  left: 55%;
  top: 35%;
  width: 17%;
  height: 25%;
  border: calc(2px / var(--z, 1)) solid #fff;
  border-radius: calc(4px / var(--z, 1));
  box-shadow: 0 0 0 9999px rgba(2, 6, 14, calc(0.5 * var(--draw, 1))), 0 0 calc(30px / var(--z, 1)) rgba(80, 170, 255, 0.45);
  visibility: hidden;
}
.river-story .ring::after{
  content: "SELECTION";
  position: absolute;
  left: calc(-2px / var(--z, 1));
  bottom: calc(100% + 8px / var(--z, 1));
  padding: calc(4px / var(--z, 1)) calc(10px / var(--z, 1)) calc(5px / var(--z, 1));
  border-radius: calc(6px / var(--z, 1));
  background: #fff;
  color: #07101c;
  font-size: calc(11px / var(--z, 1));
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.river-story .alt{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
  background: radial-gradient(90% 80% at 50% 45%, #0e1724, #05080d);
  visibility: hidden;
}
.river-story .alt > *{ position: relative; }
.river-story .alt-identity{ padding: 40px 60px 64px; gap: 40px; }
.river-story .alt-expr{ padding: 6% 8%; }
.river-story .id-ref, .river-story .id-target, .river-story .ex-pose{ height: 100%; flex: none; border-radius: 12px; overflow: hidden; }
.river-story .id-ref{ aspect-ratio: 760 / 1400; overflow: visible; }
.river-story .id-ref img{ filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55)); }
.river-story .id-target{ aspect-ratio: 1; box-shadow: 0 0 0 1px rgba(146, 186, 232, 0.16), 0 30px 70px rgba(0, 0, 0, 0.5); }
.river-story .id-ref img, .river-story .ex-pose img{ display: block; width: 100%; height: 100%; object-fit: contain; }
.river-story .id-rule{ flex: none; width: 2px; height: 64%; background: linear-gradient(180deg, transparent, rgba(146, 186, 232, 0.35), transparent); border-radius: 2px; }
.river-story .id-zoom{ position: absolute; inset: 0; transform-origin: 60% 26%; }
.river-story .id-zoom img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .gone{
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(#c9d2de 0 25%, #8892a2 0 50%) 0 0 / 7px 7px;
  -webkit-mask: radial-gradient(circle, #000 58%, transparent 71%);
  mask: radial-gradient(circle, #000 58%, transparent 71%);
  opacity: 0;
}
.river-story .gone.g1{ left: 56%; top: 15.6%; width: 9%; }
.river-story .gone.g2{ left: 58%; top: 30.2%; width: 8%; }
.river-story .gone.g3{ left: 86%; top: 71.8%; width: 7%; }
.river-story .brush{
  position: absolute;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 16px rgba(120, 190, 255, 0.6);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.river-story .marks{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.river-story .mark{ opacity: 0; }
.river-story .mark path{ fill: none; stroke: #8fd0ff; stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); filter: drop-shadow(0 0 6px rgba(80, 170, 255, 0.8)); }
.river-story .mark circle{ fill: #0b1a2c; stroke: #bfe4ff; stroke-width: 2; }
.river-story .mark text{ fill: #e6f3ff; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-anchor: start; paint-order: stroke; stroke: rgba(4, 10, 20, 0.85); stroke-width: 4px; opacity: var(--draw, 0); }
.river-story .ex-pose{ aspect-ratio: 0.9; background: rgba(255, 255, 255, 0.03); }
.river-story .ex-faces{ flex: none; height: 100%; aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.river-story .face{ border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(120, 160, 210, 0.2); opacity: 0; transition: box-shadow 0.4s ease; }
.river-story .face img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .face.on{ box-shadow: 0 0 0 3px #57c1ff; }
.river-story .face.kept{ box-shadow: 0 0 0 3px #57c1ff, 0 0 50px rgba(50, 156, 255, 0.35); }
.river-story .plate-chrome{ position: absolute; left: 0; top: 0; height: 0; visibility: hidden; }
.river-story .plate-chrome .tabs{ position: absolute; left: 0; bottom: 12px; display: flex; gap: 6px; }
.river-story .plate-chrome .tabs span{
  padding: 6px 15px 7px;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 210, 0.2);
  background: rgba(6, 11, 20, 0.6);
  color: #7f97b5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.river-story .plate-chrome .tabs span.on{ color: #e6f2ff; border-color: rgba(50, 156, 255, 0.6); background: rgba(50, 156, 255, 0.18); }
.river-story .column{ position: absolute; display: flex; flex-direction: column; gap: 16px; visibility: hidden; }
.river-story .column > *{ visibility: hidden; }
.river-story .col-right{ left: 906px; width: 470px; top: 50%; transform: translateY(-50%); }
.river-story .col-left{ left: 64px; width: 470px; top: 50%; transform: translateY(-50%); }
.river-story .col-idl{ left: 64px; width: 400px; top: 50%; transform: translateY(-50%); }
.river-story .col-idl h3{ font-size: 38px !important; }
.river-story .below-a{ left: 170px; width: 330px; top: 494px; }
.river-story .below-b{ left: 540px; width: 390px; top: 500px; }
.river-story .below-c{ left: 960px; width: 320px; top: 500px; }
.river-story .heading{ padding: 0 4px 6px; }
.river-story .tool-label{ margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; color: var(--blue); }
.river-story .tool-body{ margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: #a7b8cd; }
.river-story .card{
  padding: 16px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(120, 160, 210, 0.16);
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.94), rgba(4, 8, 14, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.river-story .card > i{ display: block; margin-bottom: 10px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: #7f97b5; }
.river-story .say{
  border-radius: 22px;
  border-color: rgba(87, 193, 255, 0.34);
  background: linear-gradient(180deg, rgba(14, 30, 50, 0.96), rgba(6, 14, 26, 0.97));
  
  box-shadow: 0 0 0 1px rgba(2, 6, 14, 0.6), 0 0 34px rgba(50, 156, 255, 0.2), 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.river-story .say .line{ display: block; }
.river-story .say .line b{ font-weight: inherit; }
.river-story .say .line u{ text-decoration: none; visibility: hidden; }
.river-story .say .caret{ position: relative; display: inline-block; width: 0; height: 1em; vertical-align: baseline; }
.river-story .say .caret::after{ content: ""; position: absolute; left: 1px; top: 0.02em; width: 2px; height: 1.12em; border-radius: 1px; background: var(--blue); box-shadow: 0 0 8px rgba(87, 193, 255, 0.8); animation: plate-caret 1.05s steps(2, start) infinite; }
.river-story .say.done .caret{ display: none; }
.river-story .say.typing{ border-color: rgba(87, 193, 255, 0.7); box-shadow: 0 0 0 4px rgba(50, 156, 255, 0.12), 0 0 40px rgba(50, 156, 255, 0.18), 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.river-story .say > i{ color: var(--blue); }
.river-story .say span{ font-size: 16px; line-height: 1.5; color: #e6f1ff; }
@keyframes plate-caret{0%, 100%{ opacity: 1; }
50%{ opacity: 0; }
 }
.river-story .opts{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.river-story .results.one .opts{ grid-template-columns: 1fr; }
.river-story .opt{
  position: relative;
  aspect-ratio: 1.32;
  border-radius: 11px;
  overflow: hidden;
  background: #070b12;
  box-shadow: 0 0 0 1px rgba(120, 160, 210, 0.18);
  opacity: 0;
  transition: box-shadow 0.45s ease, filter 0.5s ease;
}
.river-story .results.one .opt{ aspect-ratio: 16 / 9; }
.river-story .opt img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .opt em{ position: absolute; left: 10px; bottom: 8px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; color: #eef4fb; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); }
.river-story .opt.kept{ box-shadow: 0 0 0 3px #57c1ff, 0 0 40px rgba(50, 156, 255, 0.35); }
.river-story .opt.dim{ filter: saturate(0.3) brightness(0.42); }
.river-story .sent-row{ display: flex; align-items: center; gap: 12px; }
.river-story .sent-row figure{ margin: 0; flex: 1; }
.river-story .sent-row figure img{ display: block; width: 100%; height: 108px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px rgba(120, 160, 210, 0.2); }
.river-story .sent-row figure.char img{ object-fit: contain; background: rgba(255, 255, 255, 0.04); }
.river-story .sent-row figcaption{ margin-top: 8px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; color: #9fb3cc; }
.river-story .sent-row b{ font-size: 22px; font-weight: 300; color: var(--blue); }
.river-story .apply-btn{
  align-self: flex-start;
  padding: 14px 28px 15px;
  border-radius: 999px;
  background: #e8693c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  box-shadow: 0 16px 40px rgba(232, 105, 60, 0.35);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.river-story .apply-btn{ position: relative; }
.river-story .cursor.in-btn{ left: 62%; top: 52%; transform-origin: 0 0; }
.river-story .apply-btn.pressed{ transform: scale(0.95); box-shadow: 0 0 0 6px rgba(232, 105, 60, 0.3), 0 8px 20px rgba(232, 105, 60, 0.4); }
.river-story .ipad{
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(160deg, #2a2f38, #121419);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 2px #05060a, 0 40px 100px rgba(0, 0, 0, 0.6);
}
.river-story .ipad-screen{ position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #f3f0e9; }
.river-story .ipad-screen .paper{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .ipad-screen .original{ position: absolute; left: 50%; top: 2%; height: 96%; transform: translateX(-50%); }
.river-story .flyer{ position: absolute; left: 0; top: 0; z-index: 3; visibility: hidden; transform-origin: 0 0; }
.river-story .cursor{ position: absolute; left: 0; top: 0; z-index: 4; width: 30px; visibility: hidden; }
.river-story .cursor svg{ display: block; width: 100%; fill: #fff; stroke: #0a0f18; stroke-width: 1.2; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5)); }
.river-story .idpick{ position: absolute; left: 96px; top: 496px; width: 1248px; z-index: 5; visibility: hidden; }
.river-story .idpick > i{ display: block; margin: 0 0 12px 2px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; color: #cfe2f7; }
.river-story .idpick-row{ position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.river-story .idopt{ margin: 0; transition: filter 0.3s ease; }
.river-story .idopt img{ display: block; width: 100%; aspect-ratio: 720 / 416; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px rgba(146, 186, 232, 0.22), 0 18px 40px rgba(0, 0, 0, 0.5); }
.river-story .idopt figcaption{ margin-top: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; color: #9fb3cc; transition: color 0.3s ease; }
.river-story .idopt.on figcaption{ color: #e6f2ff; }
.river-story .idopt.dim{ filter: saturate(0.3) brightness(0.45); }
.river-story .idpick-ring{ position: absolute; left: 0; top: 0; border-radius: 16px; box-shadow: 0 0 0 3px #57c1ff, 0 0 30px rgba(50, 156, 255, 0.45); pointer-events: none; transition: transform 0.35s ease, opacity 0.2s ease; }
.river-story .big-title{ position: absolute; left: 0; right: 0; text-align: center; visibility: hidden; }
.river-story .big-title.top{ top: 190px; }
.river-story .big-title h2{ font-size: 58px; }
.river-story .strip{ position: absolute; left: 80px; top: 344px; width: 1280px; display: flex; gap: 16px; visibility: hidden; }
.river-story .still{ position: relative; flex: none; width: 200px; margin: 0; }
.river-story .still img, .river-story .still > span{ display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(120, 160, 210, 0.18), 0 20px 50px rgba(0, 0, 0, 0.5); }
.river-story .still > span{ box-shadow: none; }
.river-story .still.start img, .river-story .still.end img, .river-story .still.start > span{ box-shadow: 0 0 0 2px #57c1ff, 0 0 40px rgba(50, 156, 255, 0.3); }
.river-story .still.start > span{ position: relative; z-index: 8; }
.river-story .still.start figcaption, .river-story .still.end figcaption{ color: #a9d3ff; }
.river-story .still.start figcaption::after{ content: "  ·  START"; }
.river-story .still.end figcaption::after{ content: "  ·  END"; }
.river-story .beat-card{
  position: absolute;
  left: 80px;
  top: 494px;
  width: 416px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(50, 156, 255, 0.3);
  background: linear-gradient(90deg, rgba(50, 156, 255, 0.16), rgba(50, 156, 255, 0.05));
  visibility: hidden;
}
.river-story .beat-card b{ display: block; font-size: 10px; letter-spacing: 0.2em; color: var(--blue); }
.river-story .beat-card span{ display: block; margin-top: 6px; font-size: 13px; color: #dcebff; }
.river-story .beat-card em{ display: block; margin-top: 12px; height: 3px; border-radius: 2px; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.river-story .say.direction{ position: absolute; left: 470px; top: 566px; width: 500px; visibility: hidden; }
.river-story .player{ position: absolute; left: 50%; top: 50%; width: 1180px; aspect-ratio: 16 / 9; margin: 0; visibility: hidden; }
.river-story .player video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.river-story .player::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
  background: linear-gradient(20deg, rgba(2, 6, 14, 0.78) 0%, rgba(2, 6, 14, 0.35) 30%, rgba(2, 6, 14, 0) 55%);
  opacity: var(--film, 0);
  pointer-events: none;
}
.river-story .player::after{ content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 60px 160px rgba(0, 0, 0, 0.65); pointer-events: none; }
.river-story .cutstrip{
  position: absolute;
  left: 50%;
  top: 500px;
  width: 1180px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  visibility: hidden;
}
.river-story .cutstrip i{ display: block; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px rgba(120, 160, 210, 0.16); transition: box-shadow 0.4s ease; }
.river-story .cutstrip img{ display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.river-story .cutstrip i.in.marked{ box-shadow: 0 0 0 2px #57c1ff; }
.river-story .cut-copy{ position: absolute; left: 0; right: 0; top: 640px; text-align: center; visibility: hidden; }
.river-story .cut-copy h3{ font-size: 38px; }
.river-story .film-title{ position: absolute; z-index: 2; left: 180px; top: 590px; visibility: hidden; }
.river-story .film-title h2{ font-size: 76px; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.river-story .close-title{ position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; visibility: hidden; }
.river-story .close-title h2{ font-size: 104px; }
.river-story .cta{ display: inline-block; margin-top: 44px; padding: 16px 30px; border-radius: 999px; background: #f5f7fa; color: #000; font-size: 16px; font-weight: 600; pointer-events: auto; }
.river-story .plate-veil{
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(78% 72% at 50% 50%, rgba(2, 5, 11, 0.8) 0%, rgba(2, 5, 11, 0.5) 62%, rgba(2, 4, 9, 0.3) 100%);
}
.river-story .dip-bird{ position: absolute; left: 0; top: 0; z-index: 6; width: 26vw; opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce){.river-story .plate-frame{ display: none !important; }

}
.river-story .results > i{ display: block; margin: 0 2px 12px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; color: #8ba4c2; }
.river-story .results .opt{ box-shadow: 0 0 0 1px rgba(120, 160, 210, 0.14), 0 18px 40px rgba(0, 0, 0, 0.45); }
.river-story .results .opt.on{ box-shadow: 0 0 0 3px #57c1ff; }
.river-story .results .opt.kept{ box-shadow: 0 0 0 3px #57c1ff, 0 0 46px rgba(50, 156, 255, 0.4); }
.river-story .lifted{ position: absolute; left: 0; top: 0; z-index: 3; margin: 0; transform-origin: 0 0; visibility: hidden; }
.river-story .lifted img{ display: block; width: 100%; aspect-ratio: 640 / 605; object-fit: cover; border-radius: 6px; outline: 2px solid #fff; outline-offset: -1px; }
.river-story .lifted.floating img{ box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(80, 170, 255, 0.25); }
.river-story .who{ position: absolute; left: 820px; top: 398px; z-index: 6; margin: 0; height: 392px; visibility: hidden; transform-origin: 50% 100%; }
.river-story .who img{ display: block; height: 100%; width: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); }
.river-story .who figcaption{ position: absolute; left: 50%; top: 100%; margin-top: 6px; translate: -50% 0; white-space: nowrap; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: #a9c2dd; }
.river-story .who figcaption b{ color: var(--blue); font-weight: 400; font-size: 16px; margin-right: 4px; }
.river-story .marquee.cut{ background: rgba(3, 7, 13, 0.34) repeating-conic-gradient(rgba(255, 255, 255, 0.06) 0 25%, transparent 0 50%) 0 0 / 14px 14px; border-style: dashed; }
.river-story .explode{ position: absolute; left: 130px; top: 68px; width: 1180px; height: 664px; visibility: hidden; }
.river-story .stack{ position: absolute; inset: 0; }
.river-story .sheet{ position: absolute; inset: 0; margin: 0; border-radius: 14px; transform-origin: 50% 50%; }
.river-story .sheet img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.river-story .sheet.base img{ box-shadow: 0 60px 120px rgba(0, 0, 0, 0.6); }
.river-story .sheet:not(.base)::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(120, 190, 255, 0.10), rgba(120, 190, 255, 0.02) 60%);
  box-shadow: inset 0 0 0 1.5px rgba(160, 210, 255, 0.45);
  opacity: var(--x, 0);
}
.river-story .sheet:nth-child(2) img{ filter: drop-shadow(0 0 calc(14px * var(--x, 0)) rgba(120, 205, 255, 0.85)) brightness(calc(1 + 0.25 * var(--x, 0))); }
.river-story .sheet .anchor{ position: absolute; left: 100%; top: 50%; width: 1px; height: 1px; }
.river-story .sheet-label{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  margin: 0 0 0 26px;
  translate: 0 -50%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #eaf4ff;
  visibility: hidden;
}
.river-story .sheet-label::before{ content: ""; position: absolute; left: -26px; top: 50%; width: 18px; height: 1px; background: rgba(160, 210, 255, 0.6); }
.river-story .sheet-label b{ font-weight: 600; color: #57c1ff; }
.river-story .layers-head{ position: absolute; left: 92px; top: 132px; width: 380px; visibility: hidden; }
.river-story .take-row{ position: absolute; left: 528px; top: 556px; z-index: 5; visibility: hidden; }
.river-story .take-row > div{ display: flex; gap: 10px; }
.river-story .take-thumb{ position: relative; margin: 0; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(146, 186, 232, 0.25), 0 14px 30px rgba(0, 0, 0, 0.55); transition: box-shadow 0.25s ease, filter 0.3s ease, transform 0.25s ease; }
.river-story .take-thumb img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .take-thumb figcaption{ position: absolute; left: 7px; bottom: 5px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; color: #f1f6fc; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); }
.river-story .take-thumb.on{ box-shadow: 0 0 0 3px #57c1ff, 0 0 30px rgba(50, 156, 255, 0.45); transform: translateY(-4px); }
.river-story .take-thumb.dim{ filter: saturate(0.25) brightness(0.45); }
.river-story .take-thumb.chosen figcaption::after{ content: " · CHOSEN"; color: #9fd4ff; }
.river-story .below-r{ left: 1092px; width: 290px; top: 500px; }
.river-story .sent-plus{ position: absolute; left: 752px; top: 540px; z-index: 5; font: 300 92px/1 "Manrope", system-ui, sans-serif; color: #57c1ff; text-shadow: 0 0 30px rgba(50, 156, 255, 0.55); visibility: hidden; }
.river-story .marquee.bare span, .river-story .marquee.bare i{ display: none; }
.river-story .sel-fly{ position: absolute; left: 0; top: 0; z-index: 6; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); visibility: hidden; }
.river-story .sel-fly img{ position: absolute; left: 0; top: 0; display: block; max-width: none; }
.river-story .sel-fly img.fit{ width: 100%; height: 100%; object-fit: cover; transform: none; opacity: 0; }
.river-story .sel-fly img.fit:last-child{ z-index: 1; }
.river-story .area-fly{ position: absolute; left: 0; top: 0; z-index: 6; object-fit: cover; border-radius: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.6); visibility: hidden; }
.river-story .key{ position: absolute; left: 0; top: 0; z-index: 10; margin: 0; visibility: hidden; }
.river-story .sel-cell{ position: absolute; z-index: 4; display: block; border-radius: 4px; background-repeat: no-repeat; box-shadow: 0 0 0 1px rgba(160, 210, 255, 0.28), 0 8px 18px rgba(0, 0, 0, 0.45); visibility: hidden; }
.river-story .sel-cell.ticked::after{ content: ""; position: absolute; right: -5px; top: -7px; width: 15px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M2 7.5 L6.2 11.5 L14 2' fill='none' stroke='%23e2543e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.river-story .sel-label{ position: absolute; z-index: 11; text-align: center; font: 600 11px/1 Manrope, sans-serif; letter-spacing: 0.2em; color: #a9d3ff; visibility: hidden; }
.river-story .sel-label.new{ color: #ffb3a7; }
.river-story .sel-bracket{ position: absolute; z-index: 4; display: grid; justify-items: center; gap: 10px; visibility: hidden; }
.river-story .sel-bracket i{ display: block; width: 100%; height: 8px; box-sizing: border-box; border: 1.5px solid rgba(169, 211, 255, 0.55); border-top: 0; border-radius: 0 0 3px 3px; }
.river-story .sel-bracket b{ font: 600 11px/1 Manrope, sans-serif; letter-spacing: 0.2em; color: #a9d3ff; }
.river-story .sel-sub{ margin: 12px 0 0; font-size: 17px; color: #a9b8cc; }
.river-story .key img{ display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 2px #57c1ff, 0 0 40px rgba(50, 156, 255, 0.3), 0 30px 70px rgba(0, 0, 0, 0.55); }
.river-story .key figcaption{ margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: #a9d3ff; opacity: var(--cap, 0); }
.river-story .ghost{ position: absolute; left: 0; top: 0; z-index: 3; margin: 0; visibility: hidden; }
.river-story .ghost img{ display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(160, 210, 255, 0.45), 0 20px 50px rgba(0, 0, 0, 0.55); }
.river-story .beat-line{ position: absolute; left: 100px; top: 482px; width: 1240px; display: grid; justify-items: center; gap: 10px; visibility: hidden; }
.river-story .beat-line em{ display: block; width: 100%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #57c1ff, rgba(87, 193, 255, 0.35), #57c1ff); transform-origin: 0 50%; transform: scaleX(0); }
.river-story .beat-line b{ font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: #a9d3ff; }
.river-story .take-row > div{ position: relative; }
.river-story .cam-tool .slot{ pointer-events: auto; cursor: pointer; }
.river-story .take-ring{ position: absolute; left: -3px; top: -3px; width: 90px; height: 90px; border-radius: 13px; box-shadow: 0 0 0 3px #57c1ff, 0 0 30px rgba(50, 156, 255, 0.45); pointer-events: none; }
.river-story .take-thumb.on{ box-shadow: 0 0 0 1px rgba(146, 186, 232, 0.25), 0 14px 30px rgba(0, 0, 0, 0.55); transform: none; }
.river-story .area-fly.cut-fly{ object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 0 calc(10px * var(--glow, 1)) rgba(87, 193, 255, calc(0.95 * var(--glow, 1)))) drop-shadow(0 0 calc(2px * var(--glow, 1)) rgba(190, 230, 255, var(--glow, 1))); }
.river-story .ex-faces.ex-ref{ display: block; position: relative; border-radius: 12px; overflow: hidden; }
.river-story .ex-ref img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .say.with-send{ padding-right: 64px; }
.river-story .say .send{ position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(120, 170, 230, 0.12); color: #7f97b5; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease; }
.river-story .say .send svg{ width: 16px; height: 16px; }
.river-story .say.done .send{ background: #2f8fff; color: #fff; box-shadow: 0 0 0 5px rgba(47, 143, 255, 0.18), 0 8px 24px rgba(47, 143, 255, 0.45); }
.river-story .say .send.pressed{ transform: scale(0.88); }
.river-story .say.sent .send{ box-shadow: 0 0 0 9px rgba(47, 143, 255, 0.12), 0 0 30px rgba(47, 143, 255, 0.6); }
.river-story .say .send .cursor.in-btn{ left: 55%; top: 55%; }
.river-story .lasso{ position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.river-story .lasso svg{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.river-story .lasso-dim{ fill: rgba(2, 6, 14, calc(0.55 * var(--dim, 0))); }
.river-story .lasso-line{ fill: none; stroke: #fff; stroke-width: 2.4px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(80, 170, 255, 0.8)); stroke-linejoin: round; }
.river-story .lasso-ants{ fill: none; stroke: #0b1a2c; stroke-width: 2.4px; vector-effect: non-scaling-stroke; stroke-dasharray: 6 6; animation: lasso-ants 0.8s linear infinite; }
@keyframes lasso-ants{to{ stroke-dashoffset: -12; }
 }
.river-story .face.dim{ filter: saturate(0.3) brightness(0.5); }
.river-story .devices{ display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; align-items: end; }
.river-story .dev{ position: relative; margin: 0; }
.river-story .dev-screen{ position: relative; overflow: hidden; border-radius: 10px; background: #f3f0e9; }
.river-story .dev-screen img.made{ display: block; width: 100%; height: 100%; object-fit: contain; }
.river-story .dev-screen .app-top{ position: absolute; left: 0; right: 0; top: 0; height: 18px; display: flex; align-items: center; gap: 4px; padding: 0 8px; background: #fbfaf6; border-bottom: 1px solid rgba(0, 0, 0, 0.08); font-style: normal; }
.river-story .dev-screen .app-top b{ width: 6px; height: 6px; border-radius: 50%; background: #d9d4c8; }
.river-story .dev-screen .app-top em{ margin-left: auto; font-style: normal; font-size: 7.5px; letter-spacing: 0.08em; color: #8a8578; }
.river-story .dev-screen .app-side{ position: absolute; left: 6px; top: 30px; bottom: 10px; width: 10px; border-radius: 5px; background: rgba(0, 0, 0, 0.06); }
.river-story .app2d{ aspect-ratio: 4 / 3; padding: 18px 10px 6px 22px; }
.river-story .dev-ipad .dev-screen{ padding: 8px; border-radius: 16px; background: #15181e; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.6); }
.river-story .dev-ipad .app2d{ border-radius: 9px; background: #f3f0e9; }
.river-story .dev-lid{ padding: 7px 7px 4px; border-radius: 9px 9px 2px 2px; background: #1a1d23; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.6); }
.river-story .app3d{ aspect-ratio: 16 / 10; background: #23272e; padding-top: 18px; }
.river-story .app3d .app-top{ background: #2c313a; border-bottom-color: rgba(255, 255, 255, 0.06); }
.river-story .app3d .app-top b{ background: #4a515c; }
.river-story .app3d .app-top em{ color: #9aa3b0; }
.river-story .app3d .grid{ position: absolute; inset: 18px 0 0; background: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 14px, linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 14px 100%; pointer-events: none; }
.river-story .app3d img.made{ position: relative; z-index: 1; padding: 4px 0; }
.river-story .dev-base{ height: 7px; margin: 0 -10px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #353a43, #1a1d23); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.river-story .garden{ position: absolute; left: 105px; top: 634px; z-index: 5; visibility: hidden; }
.river-story .garden > i{ display: block; margin: 0 0 10px 2px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; color: #cfe2f7; }
.river-story .garden > div{ display: flex; gap: 10px; }
.river-story .garden figure{ position: relative; margin: 0; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: rgba(243, 240, 233, 0.9); box-shadow: 0 0 0 1px rgba(146, 186, 232, 0.25), 0 14px 30px rgba(0, 0, 0, 0.55); }
.river-story .garden figure img{ display: block; width: 100%; height: 100%; object-fit: contain; padding: 4px; opacity: 0; }
.river-story .garden figcaption{ position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0 4px; text-align: center; font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; color: #07101c; background: rgba(255, 255, 255, 0.85); }
.river-story .flyer.char-fly{ object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6)); }
.river-story .toolbar .tools{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.river-story .tool{ display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12.5px; color: #b6c6da; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
.river-story .tool svg{ width: 18px; height: 18px; flex: none; color: #8ba4c2; transition: color 0.3s ease; }
.river-story .tool.on{ background: rgba(50, 156, 255, 0.18); color: #eaf4ff; box-shadow: inset 0 0 0 1px rgba(87, 193, 255, 0.5); }
.river-story .tool.on svg{ color: #57c1ff; }
.river-story .pl.bg-off{ background: #e9ecef repeating-conic-gradient(rgba(0, 0, 0, 0.09) 0 25%, transparent 0 50%) 0 0 / 22px 22px; visibility: hidden; }
.river-story .lasso-k span{ left: 54%; top: 25%; }
.river-story .face{ position: relative; }
.river-story .key-head{ top: 74px; }
.river-story .original-continuation .plate-frame .key-head h2{ font-size: 42px; line-height: 1.04; }
.river-story .key.key-new img{ background: #f7f5ef; object-fit: contain; padding: 4px; box-shadow: 0 0 0 2px #d8432f, 0 0 40px rgba(216, 67, 47, 0.3), 0 30px 70px rgba(0, 0, 0, 0.55); }
.river-story .key.key-new figcaption{ color: #ffb3a7; }
.river-story .plate-empty{ position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; background: radial-gradient(70% 60% at 50% 50%, #0e1828, #05080d); visibility: hidden; }
.river-story .plate-empty b{ font-size: 17px; font-weight: 700; letter-spacing: 0.3em; color: #cfe2f7; }
.river-story .plate-empty span{ font-size: 19px; color: #7f97b5; }
.river-story .flyer.paint-fly{ object-fit: cover; border-radius: 10px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.5); }
.river-story .choices{ position: absolute; left: 548px; top: 500px; width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; visibility: hidden; }
.river-story .choice{ margin: 0; overflow: hidden; border-radius: 14px; background: rgba(8, 13, 22, 0.88); box-shadow: 0 0 0 1px rgba(146, 186, 232, 0.2), 0 24px 50px rgba(0, 0, 0, 0.5); visibility: hidden; transition: box-shadow 0.3s ease, filter 0.3s ease; }
.river-story .choice .cpic{ aspect-ratio: 16 / 9; overflow: hidden; background: #0b1119; }
.river-story .choice .cpic img{ display: block; width: 100%; height: 100%; object-fit: cover; }
.river-story .choice figcaption{ display: grid; grid-template-columns: 20px 1fr; column-gap: 10px; row-gap: 4px; padding: 12px 14px 14px; }
.river-story .choice figcaption svg{ grid-row: span 2; width: 20px; height: 20px; color: #57c1ff; }
.river-story .choice figcaption b{ font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; color: #e6f2ff; }
.river-story .choice figcaption span{ font-size: 12.5px; line-height: 1.35; color: #9fb3cc; }
.river-story .choice.on{ box-shadow: 0 0 0 3px #57c1ff, 0 0 40px rgba(50, 156, 255, 0.35), 0 24px 50px rgba(0, 0, 0, 0.5); }
.river-story .choice.off{ filter: saturate(0.3) brightness(0.5); }
.river-story .cam-col{ gap: 18px; }
.river-story .cam-tool{ padding: 18px 20px 20px; border-radius: 16px; background: #0b0f13; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.55); }
.river-story .cam-tool > i{ color: #9fb0a8; }
.river-story .ct-pills{ display: flex; gap: 6px; margin-bottom: 16px; }
.river-story .ct-pills span{ padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(160, 200, 180, 0.25); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: #c9d6cf; }
.river-story .ct-pills span.on{ background: #2f8f5b; border-color: #2f8f5b; color: #fff; }
.river-story .ct-title{ display: block; margin-bottom: 4px; font-size: 17px; font-weight: 500; color: #eef4f1; }
.river-story .orbit{ display: block; width: 100%; height: auto; overflow: visible; }
.river-story .o-floor{ fill: rgba(47, 143, 91, 0.1); }
.river-story .o-ring{ fill: none; stroke: rgba(80, 190, 140, 0.5); stroke-width: 1.2; stroke-dasharray: 3 4; }
.river-story .o-trail{ fill: none; stroke: #3fbf7f; stroke-width: 2.4; stroke-linecap: round; }
.river-story .o-sight{ stroke: rgba(230, 240, 235, 0.7); stroke-width: 1.2; stroke-dasharray: 3 3; }
.river-story .o-peak{ fill: #5fc9a8; }
.river-story .o-cam rect, .river-story .o-cam path{ fill: #f2f5f3; }
.river-story .o-cam circle{ fill: #0b0f13; }
.river-story .ct-frames{ position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.river-story .ct-frames .slot{ margin: 0; }
.river-story .ct-frames .slot img{ display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; opacity: 0; transition: opacity 0.35s ease; }
.river-story .ct-frames .slot{ position: relative; }
.river-story .ct-frames .slot::before{ content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; border: 1px dashed rgba(160, 210, 190, 0.35); }
.river-story .ct-frames .slot.filled img{ opacity: 1; }
.river-story .ct-frames .slot figcaption{ margin-top: 7px; font-size: 9px; font-weight: 600; letter-spacing: 0.18em; color: #8fa59a; }
.river-story .ct-frames .take-ring{ left: -3px; top: -3px; border-radius: 10px; box-shadow: 0 0 0 2px #3fbf7f, 0 0 24px rgba(63, 191, 127, 0.4); transition: transform 0.35s ease; }
.river-story .finder{ position: absolute; inset: 3.2%; z-index: 2; pointer-events: none; visibility: hidden; }
.river-story .finder i{ position: absolute; width: 40px; height: 40px; border: 2.5px solid rgba(255, 255, 255, 0.9); }
.river-story .finder i:nth-child(1){ left: 0; top: 0; border-right: 0; border-bottom: 0; }
.river-story .finder i:nth-child(2){ right: 0; top: 0; border-left: 0; border-bottom: 0; }
.river-story .finder i:nth-child(3){ right: 0; bottom: 0; border-left: 0; border-top: 0; }
.river-story .finder i:nth-child(4){ left: 0; bottom: 0; border-right: 0; border-top: 0; }
.river-story .snap-flash{ position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }
.river-story .refine-col{ width: 300px; }
.river-story .rail{ display: flex; flex-direction: column; gap: 4px; padding: 7px; border-radius: 14px; background: #0b0f13; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.5); visibility: hidden; }
.river-story .rail .rt{ display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #dfe7e3; transition: background-color 0.25s ease, color 0.25s ease; }
.river-story .rail .rt svg{ width: 22px; height: 22px; }
.river-story .rail .rt.on{ background: #2f8f5b; color: #fff; }
.river-story .rail.on-canvas{ position: absolute; left: 14px; top: 50%; z-index: 4; transform: translateY(-50%); }
.river-story .rail.lifted-rail{ position: absolute; left: 0; top: 0; z-index: 7; gap: 6px; padding: 9px; border-radius: 20px; transform-origin: 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 calc(20px + 30px * var(--lift, 0)) calc(50px + 40px * var(--lift, 0)) rgba(0, 0, 0, 0.6); }
.river-story .rail.lifted-rail .rt{ width: 52px; height: 52px; border-radius: 13px; }
.river-story .rail.lifted-rail .rt svg{ width: 27px; height: 27px; }
.river-story .rail-tip{ position: absolute; left: 0; top: 0; z-index: 8; padding: 9px 14px 10px; border-radius: 10px; background: #0b0f13; color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 30px rgba(0, 0, 0, 0.5); visibility: hidden; }
.river-story .rail-tip{ padding: 14px 24px 16px; border-radius: 16px; font-size: 32px; font-weight: 600; letter-spacing: -0.01em; }
.river-story .world-col .choices{ position: static; width: auto; grid-template-columns: 1fr; gap: 12px; }
.river-story .world-col .choice{ display: grid; grid-template-columns: 172px 1fr; align-items: center; }
.river-story .world-col .choice figcaption{ padding: 10px 16px 10px 0; }
.river-story .id-zoom > img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.river-story .id-fix, .river-story .id-erase, .river-story .id-whole{ opacity: 0; }
.river-story .id-fix{ -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.river-story .marks .mark circle{ fill: none; stroke: #ff6a55; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--ring, 0)); transform-box: fill-box; transform-origin: center; transform: rotate(-80deg); }
.river-story .marks .mark text{ fill: #ff7a66; font: 700 22px/1 "Caveat", "Segoe Print", cursive; opacity: var(--ring, 0); paint-order: stroke; stroke: rgba(5, 9, 15, 0.7); stroke-width: 3px; }
.river-story .marks .mark .ln{ fill: none; stroke: #ff8a78; stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--line, 0)); opacity: 0.85; }
.river-story .marks .mark g{ transition: opacity 0.25s ease; }
.river-story .marks .mark.lit .on-ref circle{ stroke-width: 3.6; filter: drop-shadow(0 0 8px rgba(255, 106, 85, 0.75)); }
.river-story .id-say{ position: absolute; left: 16px; top: 16px; z-index: 4; margin: 0; display: flex; align-items: baseline; gap: 10px; padding: 9px 14px 10px; border-radius: 10px; background: rgba(5, 9, 15, 0.8); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.45); white-space: nowrap; visibility: hidden; }
.river-story .id-say b{ font: 700 26px/1 "Caveat", "Segoe Print", cursive; color: #ff7a66; }
.river-story .id-say em{ font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #9fe8bf; }
.river-story .id-say em:empty{ display: none; }
.river-story .rewind-note{ position: absolute; left: 400px; top: 112px; z-index: 60; pointer-events: none; visibility: hidden; }
.river-story .rn-text{ display: inline-block; font: 500 58px/1.1 Caveat, cursive; color: #d8432f; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35); clip-path: inset(-10px calc((1 - var(--written, 0)) * 100%) -10px -6px); }
.river-story .rn-strikes{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.river-story .rn-strikes svg{ display: block; width: 100%; height: 100%; overflow: visible; }
.river-story .rn-strikes path{ fill: none; stroke: #d8432f; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--drawn, 0)); }
.river-story .av{ position: absolute; right: 24px; bottom: 22px; z-index: 30; display: none; }
.river-story .av.shown{ display: flex; }
.river-story .av button{ pointer-events: auto; }
.river-story .sound{ display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(4, 9, 18, 0.32); color: #eef6ff; cursor: pointer; transition: background-color 0.2s; }
.river-story .sound:hover{ background: rgba(4, 9, 18, 0.55); }
.river-story .sound:focus-visible, .river-story .pp:focus-visible .sign{ outline: 2px solid #a6d4ff; outline-offset: 3px; }
.river-story .sound svg{ width: 22px; height: 22px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
.river-story .sound .mute, .river-story .sound.playing .mute{ display: none; }
.river-story .sound:not(.playing) .mute{ display: inline; }
.river-story .sound:not(.playing) .waves{ display: none; }
.river-story .sound.blocked:not(.playing){ animation: ask-sound 2.4s ease-in-out infinite; }
@keyframes ask-sound{50%{ background: rgba(98, 186, 250, 0.35); }
 }
.river-story .player .pp{ position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0; border: 0; border-radius: 16px; background: none; color: #fff; cursor: pointer; pointer-events: none; }
.river-story .player.live .pp{ pointer-events: auto; }
.river-story .player .pp .sign{ display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: rgba(4, 9, 18, 0.28); opacity: 0; transition: opacity 0.35s ease; }
.river-story .player .pp svg{ width: 40px; height: 40px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); }
.river-story .player .i-pause, .river-story .player.paused .i-pause{ display: none; }
.river-story .player .i-play{ display: block; }
.river-story .player:not(.paused).pressed .i-pause{ display: block; }
.river-story .player:not(.paused).pressed .i-play{ display: none; }
.river-story .player.paused .pp .sign, .river-story .player.pressed .pp .sign{ opacity: 0.9; }

