/* rino.wtf — experience prototype styles.
   Palette and type straight from the design: black space, cool grays,
   electric cyan + magenta used like live wiring, pixel type in small doses. */

:root {
  --bg: #050508;
  --phone: #050507;
  --panel: #0a0a0f;
  --panel-hot: #12060e;
  --line: #26262e;
  --line-strong: #1f1f26;
  --line-soft: #2b2b36;
  --line-dash: #34343e;
  --cyan: #2ee6ff;
  --pink: #ff2ec4;
  --cream: #f2efe9;
  --gray: #8a8a98;
  --gray-2: #9d9daa;
  --gray-3: #7a7a89;
  --gray-4: #6a6a78;
  --gray-5: #b5b5c0;
  --px: 'Silkscreen', monospace;
  --vt: 'VT323', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; background: none; border: none; padding: 0; color: inherit; cursor: pointer; text-align: inherit; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }
img { -webkit-user-drag: none; user-select: none; }

@keyframes blinkDot { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.15; } }
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes trotAcross {
  0%   { transform: translateX(-50px)  translateY(0)    scaleX(-1); }
  12%  { transform: translateX(10px)   translateY(-4px) scaleX(-1); }
  25%  { transform: translateX(70px)   translateY(0)    scaleX(-1); }
  37%  { transform: translateX(130px)  translateY(-4px) scaleX(-1); }
  50%  { transform: translateX(190px)  translateY(0)    scaleX(-1); }
  62%  { transform: translateX(250px)  translateY(-4px) scaleX(-1); }
  75%  { transform: translateX(310px)  translateY(0)    scaleX(-1); }
  87%  { transform: translateX(370px)  translateY(-4px) scaleX(-1); }
  100% { transform: translateX(430px)  translateY(0)    scaleX(-1); }
}
@keyframes glitchOnce {
  0%, 90% { transform: translate(0, 0); text-shadow: none; }
  92%  { transform: translate(-1px, 1px); text-shadow: 2px 0 var(--cyan), -2px 0 var(--pink); }
  96%  { transform: translate(1px, -1px); text-shadow: -2px 0 var(--cyan), 2px 0 var(--pink); }
  100% { transform: translate(0, 0); text-shadow: none; }
}

/* ---------- stage & phone frame ---------- */

.stage {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  width: 390px;
  height: 844px;
  background: var(--phone);
  border: 2px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px), (max-height: 900px) {
  .stage { align-items: stretch; justify-content: stretch; }
  .phone { width: 100%; height: 100dvh; border: none; border-radius: 0; }
}

.scanlines {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: repeating-linear-gradient(0deg,
    rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px,
    transparent 1px, transparent 3px);
}

/* ---------- shared screen chrome ---------- */

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.screen.enter { animation: screenIn 0.22s steps(4); }

.hdr {
  padding: 22px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px dashed var(--line);
}
.hdr-row { display: flex; align-items: center; justify-content: space-between; }
.hdr-left { display: flex; align-items: center; gap: 8px; }
.hdr-right { display: flex; align-items: center; gap: 10px; }

.dot { width: 8px; height: 8px; background: var(--cyan); display: inline-block; }
.dot.blink { animation: blinkDot 1.6s steps(1) infinite; }
.dot.pink { background: var(--pink); }

.kicker { font-family: var(--px); font-size: 10px; letter-spacing: 1.5px; color: var(--cyan); }
.kicker.pink { color: var(--pink); }
.h-title { font-family: var(--px); font-size: 21px; color: var(--cream); letter-spacing: 0.5px; }
.h-title.sm { font-size: 19px; line-height: 1.3; }
.h-title.glitch { animation: glitchOnce 3.2s steps(2) infinite; }

.scout { object-fit: cover; mix-blend-mode: screen; flex-shrink: 0; }
.scout.s30 { width: 30px; height: 30px; }
.scout.s38 { width: 38px; height: 38px; }
.scout.s42 { width: 42px; height: 42px; }
.scout.s56 { width: 56px; height: 56px; }
.scout.s64 { width: 64px; height: 64px; }
.scout.s88 { width: 88px; height: 88px; }

.vt { font-family: var(--vt); }
.px8 { font-family: var(--px); font-size: 8px; letter-spacing: 1px; color: var(--gray-3); }

.back-link {
  font-family: var(--vt);
  font-size: 16px;
  color: var(--gray-3);
  cursor: pointer;
  padding: 10px 14px 10px 0;
  margin: -10px 0;
}

.stash-star {
  font-family: var(--vt);
  font-size: 17px;
  color: var(--cyan);
  padding: 9px 12px;
  cursor: pointer;
}

/* ---------- NOW feed ---------- */

.tabs { display: flex; gap: 6px; padding: 12px 20px; }
.tab {
  font-family: var(--vt);
  font-size: 19px;
  padding: 10px 0;
  flex: 1;
  text-align: center;
  color: var(--gray);
  border: 1px solid var(--line-soft);
}
.tab.on { background: var(--pink); color: var(--phone); border-color: var(--pink); }

.cal-banner {
  margin: 0 20px 12px;
  border: 1px solid var(--pink);
  background: var(--panel-hot);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cal-banner .sq { width: 10px; height: 10px; background: var(--pink); flex-shrink: 0; }
.cal-banner .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cal-banner .t1 { font-family: var(--vt); font-size: 18px; color: var(--cream); line-height: 1.1; }
.cal-banner .t2 { font-family: var(--vt); font-size: 15px; color: var(--gray); line-height: 1.1; }
.cal-banner .go {
  background: var(--pink);
  color: var(--phone);
  padding: 7px 10px;
  font-family: var(--vt);
  font-size: 17px;
  flex-shrink: 0;
}
.cal-banner .go:hover { background: #ff5ad2; }
.cal-banner .x {
  font-family: var(--vt);
  font-size: 16px;
  color: var(--gray-3);
  cursor: pointer;
  flex-shrink: 0;
  padding: 12px;
  margin: -12px -6px -12px -4px;
}

.feed {
  flex: 1;
  overflow-y: auto;
  padding: 2px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card:hover { border-color: var(--acc, var(--cyan)); }
.card.dim { opacity: 0.55; }
.card-row { display: flex; align-items: center; justify-content: space-between; }
.card-verb { font-family: var(--vt); font-size: 17px; color: var(--acc, var(--cyan)); }
.card-badge { font-family: var(--vt); font-size: 17px; color: var(--gray); }
.card-title { font-size: 18px; font-weight: 700; color: var(--cream); line-height: 1.25; }
.card-sub { font-size: 13px; color: var(--gray-2); line-height: 1.45; }
.card-meta { font-family: var(--vt); font-size: 16px; color: var(--gray-3); }

.corner {
  border: 1px dashed var(--line-dash);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.corner .head { font-family: var(--vt); font-size: 17px; color: var(--pink); }
.corner .body { font-family: var(--vt); font-size: 17px; color: var(--gray-5); line-height: 1.4; }
.corner .more {
  font-family: var(--vt);
  font-size: 16px;
  color: var(--cyan);
  cursor: pointer;
  padding: 10px 14px 10px 0;
  margin: -6px 0;
  align-self: flex-start;
}

.sniff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--cyan);
  padding: 10px;
  transition: transform 0.05s;
}
.sniff:hover { background: #08141a; }
.sniff:active { transform: translate(1px, 2px); }
.sniff span { font-family: var(--vt); font-size: 20px; color: var(--cyan); }

/* ---------- MAP ---------- */

.wander-toggle {
  font-family: var(--vt);
  font-size: 17px;
  padding: 9px 12px;
  cursor: pointer;
}
.wander-toggle.to-wander { color: var(--pink); border: 1px solid var(--pink); }
.wander-toggle.to-map { color: var(--cyan); border: 1px solid var(--cyan); }

.map-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }

.map-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-image:
    repeating-linear-gradient(0deg, #0c0c12 0px, #0c0c12 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, #0c0c12 0px, #0c0c12 1px, transparent 1px, transparent 28px);
}
.street { position: absolute; left: -10%; width: 130%; height: 0; transform: rotate(14deg); }
.street.river { top: 6%; border-top: 2px dashed #1b3f47; }
.street.mid { top: 34%; border-top: 2px dashed #2a2a34; }
.street.larimer { top: 60%; border-top: 1px solid var(--line); }
.map-lbl { position: absolute; font-family: var(--vt); font-size: 15px; }
.map-lbl.river { left: 8%; top: 13%; color: #2a6b78; }
.map-lbl.larimer { left: 6%; top: 66%; color: var(--gray-4); }
.area-lbl { position: absolute; font-family: var(--px); font-size: 8px; letter-spacing: 1px; color: var(--gray-3); }
.area-lbl.core { left: 22%; top: 52%; }
.area-lbl.riverside { left: 52%; top: 20%; }
.area-lbl.north { right: 6%; top: 8%; }

.barrier-banner {
  position: absolute;
  left: 16px; right: 16px; top: 12px;
  border: 1px solid var(--pink);
  background: var(--panel-hot);
  padding: 8px 12px;
  font-family: var(--vt);
  font-size: 16px;
  color: var(--pink);
}

.marker { position: absolute; cursor: pointer; }
.marker.big { box-shadow: 0 0 18px var(--acc); animation: blinkDot 2.4s steps(1) infinite; }
.marker.dim { opacity: 0.5; }
.marker.sel { outline: 2px solid var(--cream); outline-offset: 3px; }

.map-sheet {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: var(--panel);
  border: 1px solid var(--acc, var(--cyan));
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}
.map-sheet.enter { animation: sheetUp 0.15s ease-out; }
.map-sheet .title { font-size: 16px; font-weight: 700; color: var(--cream); line-height: 1.25; }
.map-sheet .meta { font-family: var(--vt); font-size: 16px; color: var(--gray-2); }
.map-sheet .btns { display: flex; gap: 8px; margin-top: 2px; }

.btn-solid {
  flex: 1;
  display: block;
  background: var(--acc, var(--cyan));
  color: var(--phone);
  padding: 9px;
  font-family: var(--vt);
  font-size: 17px;
  text-align: center;
}
.btn-solid:hover { color: var(--phone); filter: brightness(1.15); }
.btn-ghost {
  flex: 1;
  display: block;
  color: var(--cream);
  border: 1px solid var(--line-dash);
  padding: 9px;
  font-family: var(--vt);
  font-size: 17px;
  text-align: center;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--gray-3); }

.save-share { display: flex; gap: 16px; margin-top: 2px; }
.mini-act {
  font-family: var(--vt);
  font-size: 16px;
  color: var(--gray);
  cursor: pointer;
  padding: 10px 4px;
  margin: -10px -4px;
}
.mini-act:hover { color: var(--cyan); }
.mini-act.on { color: var(--cyan); }
.mini-act.warn:hover { color: var(--pink); }

.x-close {
  font-family: var(--vt);
  color: var(--gray-3);
  cursor: pointer;
  padding: 10px 0 10px 14px;
  margin: -10px 0;
}

.scrub-bar { padding: 10px 0 8px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 2px; }
.scrub-head { display: flex; justify-content: space-between; padding: 0 20px; }
.scrub-head .l { font-family: var(--vt); font-size: 15px; color: var(--gray-3); }
.scrub-head .r { font-family: var(--vt); font-size: 15px; color: var(--cyan); }
.scrub {
  position: relative;
  height: 52px;
  cursor: grab;
  touch-action: none;
  overflow: hidden;
}
.scrub:active { cursor: grabbing; }
.scrub-track {
  position: absolute;
  left: 50%;
  top: 0;
  height: 52px;
  background-image: repeating-linear-gradient(90deg, var(--line-soft) 0px, var(--line-soft) 2px, transparent 2px, transparent 13.6px);
  background-size: auto 14px;
  background-repeat: repeat-x;
  background-position: 0 4px;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scrub-track.dragging { transition: none; }
.scrub-tick { position: absolute; top: 0; width: 3px; height: 22px; background: var(--gray-3); }
.scrub-tick.on { background: var(--cyan); }
.scrub-lbl {
  position: absolute;
  top: 28px;
  width: 90px;
  text-align: center;
  font-family: var(--vt);
  font-size: 15px;
  color: var(--gray-3);
  white-space: nowrap;
}
.scrub-lbl.on { color: var(--cyan); }
.scrub-needle {
  position: absolute;
  left: 50%;
  top: 2px;
  height: 24px;
  width: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: translateX(-1px);
  pointer-events: none;
}
.scrub-fade { position: absolute; top: 0; bottom: 0; width: 56px; pointer-events: none; }
.scrub-fade.l { left: 0; background: linear-gradient(90deg, var(--phone), transparent); }
.scrub-fade.r { right: 0; background: linear-gradient(270deg, var(--phone), transparent); }

/* ---------- WANDER ---------- */

.wander-pane {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.wander-q { font-family: var(--vt); font-size: 19px; color: var(--gray-2); }
.wander-menu { display: flex; flex-direction: column; gap: 8px; }
.wander-opt {
  border: 1px solid var(--line-soft);
  color: var(--cream);
  padding: 14px 12px;
  font-family: var(--vt);
  font-size: 19px;
}
.wander-opt:hover { border-color: var(--cyan); }
.wander-opt.dealer { border-color: var(--pink); color: var(--pink); }
.wander-opt.dealer:hover { background: var(--panel-hot); }

.thread { display: flex; flex-direction: column; }
.stop-wrap { display: flex; flex-direction: column; }
.thread-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.thread-title { font-family: var(--vt); font-size: 18px; color: var(--pink); }
.thread-reset { font-family: var(--vt); font-size: 16px; color: var(--gray-3); cursor: pointer; padding: 10px 0 10px 14px; margin: -10px 0; }
.thread-reset:hover { color: var(--cyan); }

.stop-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stop-top { display: flex; align-items: center; justify-content: space-between; }
.stop-time { font-family: var(--px); font-size: 8px; letter-spacing: 1px; color: var(--cyan); }
.stop-acts { display: flex; gap: 10px; }
.stop-act { font-family: var(--vt); font-size: 15px; color: var(--gray-3); cursor: pointer; padding: 10px 6px; margin: -10px -6px; }
.stop-act.swap:hover { color: var(--cyan); }
.stop-act.drop:hover { color: var(--pink); }
.stop-title { font-size: 15px; font-weight: 600; color: var(--cream); line-height: 1.3; }
.stop-why { font-family: var(--vt); font-size: 16px; color: var(--gray); }

.walk-leg { display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 18px; }
.walk-line {
  width: 2px;
  height: 26px;
  background: repeating-linear-gradient(0deg, var(--line-dash) 0 4px, transparent 4px 8px);
  display: inline-block;
}
.walk-txt { display: flex; flex-direction: column; }
.walk-min { font-family: var(--vt); font-size: 15px; color: var(--gray-3); }
.walk-barrier { font-family: var(--vt); font-size: 15px; color: var(--pink); }

/* ---------- PLAN ---------- */

.plan-days { display: flex; gap: 8px; padding: 12px 20px 0; align-items: stretch; }
.day-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 10px;
  color: var(--gray);
  border: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.day-chip.on { background: var(--pink); color: var(--phone); border-color: var(--pink); }
.day-chip .dow { font-family: var(--px); font-size: 7px; letter-spacing: 1px; }
.day-chip .num { font-family: var(--vt); font-size: 19px; line-height: 1; }
.plan-divider { width: 1px; background: var(--line); flex-shrink: 0; }
.plan-strip { display: flex; gap: 4px; overflow-x: auto; flex: 1; }

.plan-chips { display: flex; gap: 6px; padding: 12px 20px; flex-wrap: wrap; }
.chip {
  font-family: var(--vt);
  font-size: 17px;
  padding: 9px 13px;
  color: var(--gray);
  border: 1px solid var(--line-soft);
}
.chip.on { background: var(--cyan); color: var(--phone); border-color: var(--cyan); }

.plan-feed {
  flex: 1;
  overflow-y: auto;
  padding: 2px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}
.plan-group { display: flex; flex-direction: column; gap: 8px; }
.plan-group-lbl {
  font-family: var(--px);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--cyan);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
}
.plan-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 11px 12px;
  background: var(--panel);
}
.plan-item:hover { border-color: #3a3a46; }
.plan-time { font-family: var(--vt); font-size: 18px; flex-shrink: 0; width: 52px; }
.plan-mid { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.plan-title { font-size: 14px; font-weight: 600; color: var(--cream); line-height: 1.3; }
.plan-meta { font-family: var(--vt); font-size: 16px; color: var(--gray); }
.plan-add {
  display: block;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 10px 14px;
  font-family: var(--vt);
  font-size: 15px;
  flex-shrink: 0;
}
.plan-add:hover { background: var(--cyan); color: var(--phone); }

.empty-box {
  border: 1px dashed var(--line-dash);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.empty-box.roomy { padding: 32px 16px; margin-top: 20px; }
.empty-msg { font-family: var(--vt); font-size: 19px; color: var(--gray-2); }
.empty-sub { font-family: var(--vt); font-size: 16px; color: var(--gray-3); }
.relax-hints { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 6px; }
.relax-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  width: 100%;
}
.relax-hint:hover { border-color: var(--cyan); }
.relax-hint .lbl { font-family: var(--vt); font-size: 17px; color: var(--cream); }
.relax-hint .cnt { font-family: var(--vt); font-size: 16px; color: var(--cyan); }

.plan-subscribe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--pink);
  padding: 10px;
  font-family: var(--vt);
  font-size: 19px;
  color: var(--pink);
}
.plan-subscribe:hover { background: var(--panel-hot); }

/* ---------- HERE ---------- */

.here-feed {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.hub-row {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.hub-row:hover { border-color: var(--cyan); }
.hub-glyph { font-family: var(--vt); font-size: 22px; flex-shrink: 0; }
.hub-dot { width: 10px; height: 10px; background: var(--pink); flex-shrink: 0; animation: blinkDot 1.6s steps(1) infinite; }
.hub-mid { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hub-title { font-size: 15px; font-weight: 600; color: var(--cream); }
.hub-sub { font-family: var(--vt); font-size: 16px; color: var(--gray); }
.hub-arrow { font-family: var(--vt); font-size: 18px; color: var(--gray-3); }

.always-on {
  border: 1px dashed var(--line-dash);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.always-on .head { font-family: var(--vt); font-size: 17px; color: var(--gray-3); }
.always-on .body { font-family: var(--vt); font-size: 16px; color: var(--gray-2); line-height: 1.5; }

.stash-feed {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.stash-item {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stash-item:hover { border-color: #3a3a46; }
.stash-title { font-size: 15px; font-weight: 600; color: var(--cream); line-height: 1.3; }
.stash-meta { font-family: var(--vt); font-size: 16px; color: var(--gray); }
.stash-foot { display: flex; align-items: center; justify-content: space-between; }
.stash-share { font-family: var(--vt); font-size: 16px; cursor: pointer; padding: 10px 0; margin: -10px 0; color: var(--gray); }
.stash-share:hover { color: var(--cyan); }
.stash-share.on { color: var(--cyan); }
.stash-remove { font-family: var(--vt); font-size: 16px; color: var(--gray-3); cursor: pointer; padding: 10px 0 10px 14px; margin: -10px 0; }
.stash-remove:hover { color: var(--pink); }

.place-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; }
.place-hero { padding: 22px 20px 16px; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; }
.place-desc { font-size: 14px; color: var(--gray-2); line-height: 1.5; }
.place-btns { display: flex; gap: 8px; margin-top: 4px; }
.place-btns .btn-solid, .place-btns .btn-ghost { padding: 10px; font-size: 18px; }
.place-sec { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.place-sec.rule { border-bottom: 1px dashed var(--line); }
.sec-head { font-family: var(--vt); font-size: 17px; color: var(--pink); }
.sec-body { font-family: var(--vt); font-size: 16px; color: var(--gray-2); line-height: 1.5; }
.sec-src { font-family: var(--vt); font-size: 16px; color: var(--gray-4); margin-top: 4px; }
.tonight-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tonight-title { font-size: 15px; font-weight: 600; color: var(--cream); }

.pulse-feed {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.pulse-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pulse-card.roomy { gap: 8px; }
.pulse-kind { font-family: var(--vt); font-size: 17px; color: var(--gray); }
.pulse-title { font-size: 16px; font-weight: 700; color: var(--cream); line-height: 1.3; }
.pulse-body { font-family: var(--vt); font-size: 16px; color: var(--gray-2); line-height: 1.4; }
.pulse-follow { font-family: var(--vt); font-size: 16px; color: var(--gray-3); }
.pulse-follow.on { color: var(--cyan); }
.pulse-cta {
  align-self: flex-start;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 7px 12px;
  font-family: var(--vt);
  font-size: 16px;
}
.pulse-cta:hover { background: var(--cyan); color: var(--phone); }

/* ---------- DROP ---------- */

.drop-feed {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.drop-zone {
  border: 2px dashed var(--line-dash);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: center;
}
.drop-zone:hover { border-color: var(--cyan); }
.drop-zone .t1 { font-family: var(--vt); font-size: 21px; color: var(--cream); line-height: 1.2; }
.drop-zone .t2 { font-family: var(--vt); font-size: 17px; color: var(--gray); line-height: 1.3; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drop-opt {
  display: block;
  border: 1px solid var(--line-soft);
  padding: 14px 8px;
  font-family: var(--vt);
  font-size: 18px;
  color: var(--cream);
  text-align: center;
}
.drop-opt:hover { border-color: var(--cyan); color: var(--cyan); }
.drop-opt.email { color: var(--gray); }
.drop-opt.email:hover { border-color: var(--pink); color: var(--pink); }

.drop-center { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.drop-center.scan { padding: 80px 20px; }
.drop-center.sent { padding: 60px 20px; }
.drop-center .scanning { animation: blinkDot 0.5s steps(1) infinite; }
.drop-status { font-family: var(--px); font-size: 12px; letter-spacing: 2px; color: var(--cyan); }
.drop-status.big { font-size: 14px; letter-spacing: 1px; }
.drop-note { font-family: var(--vt); font-size: 18px; color: var(--gray-2); line-height: 1.3; }
.drop-again {
  border: 1px solid var(--pink);
  color: var(--pink);
  padding: 10px 18px;
  font-family: var(--vt);
  font-size: 18px;
  margin-top: 8px;
}
.drop-again:hover { background: var(--panel-hot); }

.found-head { font-family: var(--vt); font-size: 18px; color: var(--pink); }
.found-card { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.found-row { padding: 11px 14px; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 2px; }
.found-row:last-child { border-bottom: none; }
.found-lbl { font-family: var(--px); font-size: 8px; letter-spacing: 1px; color: var(--gray-3); }
.found-lbl.warn { color: var(--pink); }
.found-lbl.ok { color: var(--cyan); }
.found-val { font-size: 15px; color: var(--cream); }
.found-val.strong { font-weight: 600; }
.found-fix {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--panel-hot);
  cursor: pointer;
}
.found-fix .warn-txt { font-size: 15px; color: var(--pink); }
.found-fix .go { font-family: var(--vt); font-size: 17px; color: var(--pink); flex-shrink: 0; }
.send-it {
  background: var(--cyan);
  color: var(--phone);
  padding: 14px;
  font-family: var(--vt);
  font-size: 21px;
  text-align: center;
}
.send-it:hover { background: #6cf0ff; }

/* ---------- nav + overlays ---------- */

.trot-lane {
  position: absolute;
  left: 0; right: 0;
  bottom: 58px;
  height: 60px;
  pointer-events: none;
  overflow: hidden;
}
.trot-lane img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  mix-blend-mode: screen;
  animation: trotAcross 1.15s steps(4) forwards;
}

.nav {
  height: 58px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  align-items: stretch;
  background: var(--phone);
  flex-shrink: 0;
}
.nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--vt);
  font-size: 18px;
  color: var(--gray-3);
  border-top: 2px solid transparent;
}
.nav-item.on { color: var(--cyan); border-top-color: var(--cyan); }

.overlay { position: absolute; inset: 0; z-index: 20; }
.overlay.z25 { z-index: 25; }
.overlay-bg { position: absolute; inset: 0; background: rgba(2, 2, 4, 0.75); }
.overlay.z25 .overlay-bg { background: rgba(2, 2, 4, 0.78); }

.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--panel);
  border-top: 2px solid var(--acc, var(--cyan));
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-height: 88%;
  overflow-y: auto;
}
.sheet.enter { animation: sheetUp 0.18s ease-out; }
.sheet-verb { font-family: var(--vt); font-size: 18px; color: var(--acc, var(--cyan)); }
.sheet-title { font-size: 21px; font-weight: 700; color: var(--cream); line-height: 1.25; }
.sheet-lines { font-family: var(--vt); font-size: 18px; color: var(--gray-5); line-height: 1.45; }
.sheet-btns { display: flex; gap: 8px; }
.sheet-btns .btn-solid, .sheet-btns .btn-ghost { padding: 11px; font-size: 19px; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; }
.sheet-foot .acts { display: flex; gap: 16px; }
.sheet-foot .mini-act { font-size: 17px; }
.sheet-sub-link { font-family: var(--vt); font-size: 16px; color: var(--gray); cursor: pointer; padding: 10px 0; margin: -10px 0; }
.sheet-sub-link:hover { color: var(--pink); }
.night-head { font-family: var(--vt); font-size: 17px; color: var(--pink); }
.night-list { display: flex; flex-direction: column; gap: 6px; }
.night-item { border: 1px solid var(--line); padding: 8px 12px; display: flex; flex-direction: column; gap: 1px; }
.night-t { font-size: 13px; font-weight: 600; color: var(--cream); }
.night-m { font-family: var(--vt); font-size: 16px; color: var(--gray); }
.sheet-src { font-family: var(--vt); font-size: 15px; color: var(--gray-4); }

.sub-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--panel);
  border-top: 2px solid var(--pink);
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sub-sheet.enter { animation: sheetUp 0.18s ease-out; }
.sub-head { font-family: var(--vt); font-size: 18px; color: var(--pink); }
.sub-desc { font-size: 14px; color: var(--gray-2); line-height: 1.45; }
.sub-feeds { display: flex; flex-direction: column; gap: 8px; }
.sub-feed { border: 1px solid var(--line); padding: 11px 12px; display: flex; align-items: center; gap: 12px; }
.sub-feed:hover { border-color: var(--pink); }
.sub-feed .mid { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sub-feed .name { font-size: 14px; font-weight: 600; color: var(--cream); }
.sub-feed .desc { font-family: var(--vt); font-size: 16px; color: var(--gray); }
.sub-feed .add {
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 6px 10px;
  font-family: var(--vt);
  font-size: 16px;
  flex-shrink: 0;
}
.sub-feed .add:hover { background: var(--cyan); color: var(--phone); }

/* ---------- motion & a11y ---------- */

@media (prefers-reduced-motion: reduce) {
  .h-title.glitch,
  .dot.blink,
  .hub-dot,
  .marker.big,
  .drop-center .scanning,
  .screen.enter,
  .sheet.enter,
  .map-sheet.enter,
  .sub-sheet.enter,
  .trot-lane img { animation: none; }
  .scrub-track { transition: none; }
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
