:root {
  --bg: #07070b;
  --panel: rgba(22, 22, 32, .72);
  --line: rgba(255, 255, 255, .10);
  --text: #eef0f6;
  --dim: #7d8194;
  --lime: #c6ff3d;
  --violet: #8b5cf6;
  --reel-h: 92px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 18% 8%, rgba(139, 92, 246, .20), transparent 60%),
    radial-gradient(800px 620px at 82% 100%, rgba(198, 255, 61, .10), transparent 62%),
    radial-gradient(1200px 800px at 50% 50%, rgba(20, 20, 34, .9), #05050a 75%);
  pointer-events: none;
}

.top {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 26px 40px 0;
}

.brand {
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--dim);
}

.stage {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--lime);
  opacity: .8;
}

main {
  position: relative;
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 40px 30px;
}

.tablo {
  width: min(1080px, 92vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px 28px 22px;
  box-shadow:
    0 0 0 1px rgba(198, 255, 61, .06),
    0 30px 90px -30px rgba(139, 92, 246, .55),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.tablo::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 220px;
  background: radial-gradient(closest-side, rgba(198, 255, 61, .16), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.tablo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tablo-head h1 {
  font-size: 26px;
  letter-spacing: .22em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 26px rgba(198, 255, 61, .45);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
  animation: pulse 2.4s infinite;
}

@keyframes pulse { 50% { opacity: .35; } }

.hint {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--dim);
  text-transform: uppercase;
}

.reels {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 12px;
}

.reel {
  position: relative;
  height: var(--reel-h);
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b0b12, #14141f 45%, #0b0b12);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 12px 30px -12px rgba(0, 0, 0, .9), inset 0 -12px 30px -12px rgba(0, 0, 0, .9);
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 7, 11, .95), transparent 26%, transparent 74%, rgba(7, 7, 11, .95));
}

.strip { will-change: transform; }

.item {
  height: var(--reel-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel:not(.reel-main) .item {
  font-size: 21px;
  font-weight: 600;
  color: #b9bdcc;
}

.reel-main .item { color: #fff; }

.strip.spinning { filter: blur(1.6px); }

.strip.settle .item { animation: settle .18s ease; }

@keyframes settle {
  0% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.tablo-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 15px 42px;
  border-radius: 12px;
  background: var(--lime);
  color: #0a0a0f;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: 0 8px 40px -8px rgba(198, 255, 61, .8);
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 48px -8px rgba(198, 255, 61, .95); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .45; cursor: default; box-shadow: none; transform: none; }

.keys {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--dim);
  text-transform: uppercase;
}

.result {
  width: min(1080px, 92vw);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  transition: opacity .35s ease, transform .35s ease;
}

.result.hidden { opacity: 0; transform: translateY(10px); pointer-events: none; }

.card, .idea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.card { padding: 18px 20px; }

.card-top { display: flex; gap: 28px; }

.metric .label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}

.metric .value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.metric .value.small { font-size: 18px; font-weight: 600; color: #c9cddb; }
.metric .value.up { color: var(--lime); }
.metric .value.down { color: #ff6b6b; }

.spark-wrap { margin-top: 12px; }
#spark { width: 100%; height: 64px; display: block; }

.top-phrases {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-size: 11px;
  color: #a8adbf;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.chip b { color: #e6e9f2; font-weight: 600; }

.idea {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-color: rgba(198, 255, 61, .22);
  box-shadow: inset 0 0 40px -20px rgba(198, 255, 61, .8);
}

.idea-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 2px;
}

.idea-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.idea-tag {
  font-size: 12px;
  color: #9aa0b3;
}

.idea-body {
  font-size: 13px;
  line-height: 1.45;
  color: #cfd3e0;
  margin-top: 4px;
}

.idea-cab {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.idea-cab span {
  font-size: 11px;
  color: #0a0a0f;
  background: rgba(198, 255, 61, .85);
  border-radius: 999px;
  padding: 3px 9px;
}

.idea-loading {
  font-size: 13px;
  color: #9aa0b3;
  animation: blink 1.1s infinite;
}

@keyframes blink { 50% { opacity: .35; } }

/* ---------- экраны ---------- */
.screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hidden { display: none !important; }

.btn-next { margin-top: 12px; align-self: flex-start; padding: 11px 28px; font-size: 14px; }

/* ---------- доска ---------- */
.board-wrap {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 16px;
  width: min(1180px, 94vw);
}

.board {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}

.board-count { color: var(--lime); letter-spacing: .1em; }

.board-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  flex: 1;
  position: relative;
}

.board-grid.over {
  outline: 1px dashed rgba(198, 255, 61, .45);
  outline-offset: 6px;
  border-radius: 12px;
}

.empty-hint {
  color: #5d6172;
  font-size: 13px;
  line-height: 1.6;
  margin: auto;
  text-align: center;
}

.tray {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
}

.tray-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.tray-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
  flex: 1;
}

.tray-foot { margin-top: 14px; }

.sticker {
  width: 200px;
  background: #f2e85c;
  color: #15161c;
  border-radius: 10px;
  padding: 13px 14px 11px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .75);
  transform: rotate(var(--r, 0deg));
  animation: drop-in .28s cubic-bezier(.2, 1.2, .4, 1) both;
  touch-action: none;
}

.sticker:nth-child(4n+1) { background: #f2e85c; }
.sticker:nth-child(4n+2) { background: #9be3c8; }
.sticker:nth-child(4n+3) { background: #f6b8a8; }
.sticker:nth-child(4n+4) { background: #b9c8f5; }

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-14px) rotate(var(--r, 0deg)) scale(.94); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)) scale(1); }
}

.s-text { font-weight: 700; font-size: 15px; line-height: 1.25; }
.s-detail { font-size: 11px; opacity: .7; margin-top: 5px; line-height: 1.35; }
.s-src { font-size: 10px; opacity: .5; margin-top: 5px; }

.sticker.dragging {
  position: fixed;
  z-index: 200;
  cursor: grabbing;
  box-shadow: 0 26px 60px -12px rgba(0, 0, 0, .85);
  transform: rotate(3deg) scale(1.06);
  animation: none;
  pointer-events: none;
}

.sticker.dropped { cursor: default; }

.status {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  min-height: 18px;
}

.status b { color: var(--lime); font-weight: 600; }

/* ---------- вёрстка с прокруткой ---------- */
main {
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 10px;
  padding-bottom: 40px;
  scrollbar-width: thin;
}

main .screen { margin: auto 0; }

.tablo-wrap { margin: auto; }

.idea-loading { font-size: 13px; color: #9aa0b3; }
.idea-loading::after { content: ""; animation: dots 1.4s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.error-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 90, 90, .12);
  border: 1px solid rgba(255, 90, 90, .35);
  color: #ffb3b3;
  font-size: 13px;
  max-width: 820px;
}

/* ---------- полоса прогресса разведки ---------- */
.run-line {
  width: min(1180px, 94vw);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c6ff3d, #8b5cf6);
  box-shadow: 0 0 18px rgba(198, 255, 61, .55);
}

.status { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.status b { color: var(--lime); }

/* скелетоны стикеров, пока идёт разведка */
.skeleton {
  height: 74px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .10), transparent);
  animation: sweep 1.35s infinite;
}

@keyframes sweep { 100% { transform: translateX(100%); } }

/* бегущая точка на табло во время работы */
.dot.busy { animation: pulse .9s infinite; }

/* ---------- экран 3: книга ---------- */
.screen-book { gap: 14px; }

.book-stage {
  perspective: 2400px;
  width: min(1180px, 94vw);
}

.book {
  position: relative;
  width: 100%;
  min-height: 560px;
  transform-style: preserve-3d;
}

.book-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-height: 560px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}

.page {
  background: linear-gradient(180deg, #f6f3ea, #efeadc);
  color: #1b1a17;
  padding: 34px 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13.5px;
  line-height: 1.62;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 560px;
  scrollbar-width: thin;
}

.page::-webkit-scrollbar { width: 6px; }
.page::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 3px; }

.page.left { box-shadow: inset -18px 0 30px -22px rgba(0, 0, 0, .55); }
.page.right { box-shadow: inset 18px 0 30px -22px rgba(0, 0, 0, .55); }

.page h3 {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a3d12;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.page p { margin: 0 0 10px; }
.page ul, .page ol { margin: 0 0 10px 18px; padding: 0; }
.page li { margin-bottom: 5px; }

.page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  font-family: "Segoe UI", system-ui, sans-serif;
  margin-bottom: 10px;
}

.page th {
  text-align: left;
  font-weight: 600;
  color: #7a3d12;
  border-bottom: 1px solid rgba(0, 0, 0, .18);
  padding: 4px 6px;
}

.page td {
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  padding: 4px 6px;
  vertical-align: top;
}

.page-empty { opacity: .25; }

/* обложка */
.book-cover {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  background: linear-gradient(135deg, #14141d, #1e1a2e 55%, #171727);
  border-radius: 10px;
  border: 1px solid rgba(198, 255, 61, .22);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 0 80px -40px rgba(198, 255, 61, .5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 48px;
  cursor: pointer;
  transition: transform 1s cubic-bezier(.6, .02, .3, 1), opacity .3s;
  backface-visibility: hidden;
}

.book-cover.open { transform: rotateY(-172deg); opacity: 0; pointer-events: none; }

.cover-brand {
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--lime);
}

.cover-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  margin-top: 6px;
}

.cover-tag { font-size: 15px; color: #a9adc0; margin-top: 8px; max-width: 520px; }

.cover-mock {
  width: 320px;
  height: 190px;
  border-radius: 12px;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, .12);
  margin: 26px 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
}

.mock-bar { display: flex; gap: 5px; margin-bottom: 4px; }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-row { height: 12px; border-radius: 4px; background: rgba(255,255,255,.09); }
.mock-row.hl { background: rgba(198,255,61,.5); width: 62%; }
.mock-row.w80 { width: 80%; }
.mock-row.w55 { width: 55%; }

.cover-foot { display: flex; gap: 18px; font-size: 11px; color: #6f7488; letter-spacing: .1em; text-transform: uppercase; }

.cover-hint {
  position: absolute;
  right: 48px;
  bottom: 40px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f7488;
  animation: blink 2s infinite;
}

/* перелистывание */
.turner {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(180deg, #f6f3ea, #efeadc);
  color: #1b1a17;
  padding: 34px 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13.5px;
  line-height: 1.62;
  overflow: hidden;
  backface-visibility: hidden;
  z-index: 5;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
}

.turner.fwd { right: 0; transform-origin: left center; }
.turner.bwd { left: 0; transform-origin: right center; }

.book-nav { display: flex; align-items: center; gap: 14px; width: min(1180px, 94vw); }

.nav-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.nav-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .06); border-color: rgba(198,255,61,.4); }
.nav-btn:disabled { opacity: .3; cursor: default; }

.page-num { font-size: 12px; letter-spacing: .14em; color: var(--dim); }
.nav-gap { flex: 1; }

.nav-btn.wide {
  width: auto;
  padding: 0 16px;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 600;
}

/* ---------- экран 4: выпуск ---------- */
.screen-release { justify-content: center; }

.release-box {
  width: min(760px, 92vw);
  background: var(--panel);
  border: 1px solid rgba(198, 255, 61, .18);
  border-radius: 24px;
  padding: 40px 44px 34px;
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 100px -50px rgba(139, 92, 246, .8);
  text-align: left;
}

.release-kicker {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}

.release-title { font-size: 34px; letter-spacing: -.02em; margin-bottom: 6px; }
.release-sub { color: #8b90a3; font-size: 14px; margin-bottom: 22px; }

.steps { list-style: none; margin: 0 0 26px; padding: 0; }

.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #5d6172;
  padding: 6px 0;
  transition: color .25s;
}

.steps li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2b2d3a;
  box-shadow: none;
  transition: background .25s, box-shadow .25s;
}

.steps li.on { color: #dfe2ee; }
.steps li.on::before { background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.steps li.done { color: #9aa0b3; }
.steps li.done::before { background: #4b5a2a; box-shadow: none; }

.btn-big {
  font-size: 19px;
  padding: 18px 54px;
  letter-spacing: .14em;
  box-shadow: 0 12px 54px -10px rgba(198, 255, 61, .9);
  animation: breathe 2.6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 12px 54px -10px rgba(198, 255, 61, .55); }
  50% { box-shadow: 0 16px 70px -8px rgba(198, 255, 61, 1); }
}

.btn:disabled { animation: none; }

.btn-ghost {
  background: transparent;
  color: #c9cddb;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: none;
  letter-spacing: .1em;
}

.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }

.release-result { margin-top: 26px; }

.acc {
  border: 1px solid rgba(198, 255, 61, .28);
  border-radius: 16px;
  padding: 18px 20px;
  background: rgba(198, 255, 61, .04);
}

.acc-head {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 10px;
}

.acc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.acc-row:last-child { border-bottom: 0; }
.acc-row span { color: #7d8194; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.acc-row b, .acc-row a { font-size: 16px; font-family: Consolas, monospace; letter-spacing: .02em; }
.acc-row a { color: var(--lime); }

.backup-note {
  margin-top: 14px;
  font-size: 12px;
  color: #7d8194;
  line-height: 1.5;
}

.release-actions { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.restore-note { font-size: 12px; color: var(--lime); }

/* ---------- экран 5: озеро ---------- */
.lake {
  position: relative;
  width: min(900px, 92vw);
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 255, .12);
  background: linear-gradient(180deg, #060912 0%, #0b1430 40%, #10203f 55%, #08101f 100%);
  box-shadow: inset 0 0 120px -40px rgba(80, 130, 255, .35), 0 40px 90px -50px rgba(0, 0, 0, .9);
}

.moon {
  position: absolute;
  right: 14%;
  top: 14%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 32%, #fff9e6, #d9d0b0);
  box-shadow: 0 0 70px 22px rgba(255, 242, 205, .16);
}

.water {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(70, 120, 200, .22), rgba(6, 12, 26, .92));
  box-shadow: inset 0 24px 50px -26px rgba(130, 190, 255, .4);
}

.water::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(160, 200, 255, .05) 0 1px, transparent 1px 9px);
  animation: wave 7s linear infinite;
}

@keyframes wave { 100% { transform: translateY(-9px); } }

.rod-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

#floatDot { animation: bob 2.6s ease-in-out infinite; transform-origin: center; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

#floatDot.bite { animation: dive .9s ease-in forwards; }

@keyframes dive {
  0% { transform: translateY(0); }
  40% { transform: translateY(16px); }
  70% { transform: translateY(-6px); }
  100% { transform: translateY(20px); opacity: .2; }
}

.ripple {
  position: absolute;
  left: 68%;
  top: 74%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1px solid rgba(180, 220, 255, .5);
  opacity: 0;
}

.ripple.go { animation: rip 2.2s ease-out 3; }

@keyframes rip {
  0% { transform: scale(.4); opacity: .9; }
  100% { transform: scale(9); opacity: 0; }
}

.lake-text { text-align: center; }

.lake-kicker {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}

.lake-sub { font-size: 14px; color: #8b90a3; }

.catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 30px;
  border-radius: 16px;
  border: 1px solid rgba(198, 255, 61, .35);
  background: rgba(198, 255, 61, .06);
  animation: drop-in .5s cubic-bezier(.2, 1.2, .4, 1) both;
}

.catch-label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--lime); }
.catch-name { font-size: 22px; font-weight: 700; }
.catch-mail { font-size: 14px; color: #b9bdd0; font-family: Consolas, monospace; }
.catch-src { font-size: 11px; color: #6f7488; }

/* ---------- экран 6: итоги ---------- */
.report {
  width: min(760px, 92vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 38px 30px;
  backdrop-filter: blur(14px);
}

.report-kicker {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }

.rep { background: rgba(255, 255, 255, .04); border-radius: 14px; padding: 16px 18px; }
.rep .lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.rep .val { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.rep-table { width: 100%; border-collapse: collapse; }
.rep-table td { padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }
.rep-table td.num { text-align: right; font-variant-numeric: tabular-nums; color: #c9cddb; }
.rep-table td.stage { color: #9aa0b3; }
.rep-table tr:last-child td { border-bottom: 0; }

.rep-note { margin-top: 16px; font-size: 12px; color: #6f7488; line-height: 1.5; }

.rep-actions { margin-top: 20px; display: flex; align-items: center; gap: 14px; }

.mode-switch { display: flex; gap: 4px; margin-left: 26px; background: rgba(255,255,255,.05); border-radius: 10px; padding: 3px; }
.mode {
  appearance: none; border: 0; background: transparent; color: #7d8194;
  font: inherit; font-size: 12px; letter-spacing: .08em; padding: 6px 12px;
  border-radius: 8px; cursor: pointer; transition: background .15s, color .15s;
}
.mode:hover { color: #c9cddb; }
.mode.on { background: var(--lime); color: #0a0a0f; font-weight: 700; }

.lake-acc {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(198, 255, 61, .22);
  background: rgba(198, 255, 61, .05);
  font-size: 14px;
}

.lake-acc-lbl {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-right: 4px;
}

.lake-acc a { color: var(--lime); font-family: Consolas, monospace; font-size: 13px; }
.lake-acc-login, .lake-acc-pass { font-family: Consolas, monospace; font-size: 15px; font-weight: 600; }
.lake-acc-sep { color: #3a3d4d; }

.cands { margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.06); }
.cands-head { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.cand { font-size: 11.5px; line-height: 1.5; color: #8f93a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cand.ok { color: #dfe3ee; }
.cand .mark { color: #6b6f80; }
.cand.ok .mark { color: var(--lime); }

.trend { display: inline-block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(198,255,61,.4); border-radius: 999px; padding: 2px 8px; margin-right: 6px; }

.whynow { font-size: 12px; line-height: 1.5; color: #b9bdd0; margin: 0 0 8px; padding-left: 10px; border-left: 2px solid rgba(198,255,61,.4); }
.whynow span { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 2px; }
