.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 .rewind-title{ position: absolute; left: 0; right: 0; top: 50%; margin-top: -36px; z-index: 4; text-align: center; visibility: hidden; }
.river-story .rewind-scrim{ position: absolute; inset: -200px; z-index: 3; background: radial-gradient(60% 60% at 50% 50%, rgba(2, 5, 11, 0.72), rgba(2, 5, 11, 0.86)); visibility: hidden; }
.river-story .rewind-title h2{ font-size: 72px; line-height: 1; white-space: nowrap; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.6); }
.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 .marquee span{
  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;
  opacity: var(--lab, 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 116px; gap: 34px; }
.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: 653 / 540; 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.kept{ box-shadow: 0 0 0 3px #57c1ff, 0 0 50px rgba(50, 156, 255, 0.35); }
.river-story .cap{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 11px 5px;
  border-radius: 999px;
  background: rgba(50, 156, 255, 0.18);
  border: 1px solid rgba(50, 156, 255, 0.45);
  color: #cfe6ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  z-index: 2;
}
.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 .plate-chrome .name{ position: absolute; right: 2px; bottom: 18px; display: flex; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: #8ba4c2; white-space: nowrap; }
.river-story .plate-chrome .name b{ color: #a9d3ff; font-weight: 600; }
.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: 990px; width: 390px; top: 50%; transform: translateY(-50%); }
.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.kept em::after{ content: "  ·  KEPT"; color: #9fd4ff; }
.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 .idbar{
  position: absolute;
  left: 533px;
  top: 540px;
  width: 760px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(120, 160, 210, 0.2);
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.9), rgba(4, 8, 14, 0.94));
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  visibility: hidden;
}
.river-story .idbar-copy{ flex: none; width: 170px; }
.river-story .idbar-copy i{ display: block; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: var(--blue); }
.river-story .idbar-copy span{ display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: #b6c6da; }
.river-story .idbar-row{ flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.river-story .idbar-row .opt{ aspect-ratio: 720 / 416; }
.river-story .idbar-row .opt.dim{ filter: saturate(0.15) brightness(0.3); }
.river-story .note{
  position: absolute;
  left: 130px;
  top: 748px;
  width: 1180px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #b8dcff;
  visibility: hidden;
}
.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 figcaption{ margin-top: 10px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.2em; color: #7f97b5; }
.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.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 .lifted figcaption{ margin-top: 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: #a9c2dd; }
.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 .sheet-label i{ font-style: normal; font-size: 10px; letter-spacing: 0.16em; color: #7f9cbf; }
.river-story .layers-head{ position: absolute; left: 92px; top: 132px; width: 380px; visibility: hidden; }
.river-story .take-row{ position: absolute; left: 156px; top: 588px; z-index: 5; visibility: hidden; }
.river-story .take-row > i{ display: block; margin: 0 0 10px 2px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; color: #cfe2f7; text-shadow: 0 1px 10px rgba(2, 6, 14, 0.9); }
.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 .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 .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 .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 .lasso span{
  position: absolute; left: 53%; top: 47.5%;
  translate: 0 -150%;
  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;
  opacity: var(--lab, 0);
}
.river-story .face.dim{ filter: saturate(0.3) brightness(0.5); }

