/* ═══════════════════════════════════════════════════════════════════════════
   Release Readiness Agent — Exact Report UI Design
   Inherited directly from readiness_report.html
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --card: #f1f3f4;
  --text: #202124;
  --muted: #5f6368;
  --divider: #e0e0e0;
  --accent: #1a73e8;
  --red: #d93025;
  --amber: #b06000;
  --green: #188038;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #202124;
    --card: #292a2d;
    --text: #e8eaed;
    --muted: #9aa0a6;
    --divider: #3c4043;
    --accent: #8ab4f8;
    --red: #f28b82;
    --amber: #fdd663;
    --green: #81c995;
  }
}

:root[data-theme="dark"] {
  --bg: #202124;
  --card: #292a2d;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --divider: #3c4043;
  --accent: #8ab4f8;
  --red: #f28b82;
  --amber: #fdd663;
  --green: #81c995;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --card: #f1f3f4;
  --text: #202124;
  --muted: #5f6368;
  --divider: #e0e0e0;
  --accent: #1a73e8;
  --red: #d93025;
  --amber: #b06000;
  --green: #188038;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom, 24px);
  -webkit-font-smoothing: antialiased;
}

/* ─── Main Wrapper ─────────────────────────────────────────────────────────── */
.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* ─── Top Navigation Bar ───────────────────────────────────────────────────── */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--divider);
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.brand-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: 11px;
  color: var(--muted);
  background: var(--card);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-btn:hover {
  color: var(--text);
  background: var(--card);
}

.nav-btn.active {
  color: var(--accent);
  background: var(--card);
  font-weight: 600;
}

/* ─── Landing Page Hero Card & Background Bot ─────────────────────────────── */
.brand-avatar-img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 30px 28px 26px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
  border-color: rgba(26, 115, 232, 0.35);
  box-shadow: 0 6px 24px rgba(26, 115, 232, 0.08);
}

:root[data-theme="dark"] .hero-card {
  background: radial-gradient(circle at 85% 40%, rgba(138, 180, 248, 0.08) 0%, transparent 70%), var(--card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

:root[data-theme="dark"] .hero-card:hover {
  border-color: rgba(138, 180, 248, 0.4);
  box-shadow: 0 6px 28px rgba(138, 180, 248, 0.12);
}

.hero-card-content {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  background: rgba(26, 115, 232, 0.08);
  border: 1px solid rgba(26, 115, 232, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

:root[data-theme="dark"] .hero-tag {
  background: rgba(138, 180, 248, 0.12);
  border-color: rgba(138, 180, 248, 0.25);
}

.hero-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--divider);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* ─── Rocky Assist Access Toggle Badge ───────────────────────────────────── */
.rocky-assist-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg);
  border: 1px solid var(--divider);
  font-size: 11px;
  font-family: var(--font);
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.rocky-assist-toggle-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.rocky-assist-toggle-badge.active {
  background: rgba(26, 115, 232, 0.08);
  color: var(--accent);
  border-color: rgba(26, 115, 232, 0.35);
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.12);
}

:root[data-theme="dark"] .rocky-assist-toggle-badge.active {
  background: rgba(138, 180, 248, 0.12);
  color: var(--accent);
  border-color: rgba(138, 180, 248, 0.35);
  box-shadow: 0 2px 8px rgba(138, 180, 248, 0.18);
}

.rocky-assist-toggle-badge:not(.active) {
  opacity: 0.75;
  background: var(--bg);
  color: var(--muted);
}

.rocky-assist-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
  transition: all 0.2s ease;
}

.rocky-assist-toggle-badge.active .rocky-assist-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: rockyAssistPulse 2s infinite ease-in-out;
}

@keyframes rockyAssistPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.hero-bot-badge-name {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-bot-badge-role {
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.status-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 6px rgba(24, 128, 56, 0.6);
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-sub {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Background Enlarged Robot Decoration ────────────────────────────────── */
.hero-card-bg-robot {
  position: absolute;
  top: -25px;
  right: -30px;
  width: 390px;
  height: 390px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.hero-card:hover .hero-card-bg-robot {
  transform: scale(1.05) translate(-4px, 2px);
}

.hero-bg-robot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.25;
  filter: drop-shadow(0 12px 32px rgba(26, 115, 232, 0.16));
  -webkit-mask-image: radial-gradient(circle at 55% 50%, rgba(0, 0, 0, 1) 32%, rgba(0, 0, 0, 0) 78%);
  mask-image: radial-gradient(circle at 55% 50%, rgba(0, 0, 0, 1) 32%, rgba(0, 0, 0, 0) 78%);
  transition: opacity 0.35s ease, filter 0.35s ease;
}

:root[data-theme="dark"] .hero-bg-robot-img {
  opacity: 0.42;
  filter: drop-shadow(0 14px 36px rgba(138, 180, 248, 0.32));
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-bg-robot-img {
    opacity: 0.42;
    filter: drop-shadow(0 14px 36px rgba(138, 180, 248, 0.32));
  }
}

.hero-card:hover .hero-bg-robot-img {
  opacity: 0.38;
}

:root[data-theme="dark"] .hero-card:hover .hero-bg-robot-img {
  opacity: 0.58;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-card:hover .hero-bg-robot-img {
    opacity: 0.58;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 24px 20px 20px;
  }

  .hero-card-content {
    max-width: 100%;
  }

  .hero-card-bg-robot {
    right: -55px;
    top: auto;
    bottom: -35px;
    width: 270px;
    height: 270px;
  }

  .hero-bg-robot-img {
    opacity: 0.18;
  }

  :root[data-theme="dark"] .hero-bg-robot-img {
    opacity: 0.28;
  }

  .hero-title {
    font-size: 22px;
  }
}

.landing-card {
  background: var(--card);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.landing-card-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-card-title {
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-card-sub {
  font-size: 13px;
  color: var(--muted);
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.theme-toggle-btn:hover {
  color: var(--text);
}

/* ─── Typography & Shared Elements ─────────────────────────────────────────── */
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}

.title-row h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.badge {
  font-size: 12px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 20px 0 24px;
  position: relative;
  margin-bottom: 12px;
}

.stats::after {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: var(--divider);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.stat-value {
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.stat-value .unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.stat-value.red {
  color: var(--red);
}

.stat-value.green {
  color: var(--green);
}

.stat-value.amber {
  color: var(--amber);
}

.meta-rows {
  margin: 6px 0 24px;
  font-size: 14px;
}

.meta-rows div {
  margin-bottom: 4px;
}

.meta-rows b {
  font-weight: 600;
}

.verdict-line {
  font-size: 16px;
  margin: 20px 0 8px;
  line-height: 1.5;
}

.verdict-line b {
  font-weight: 700;
}

.verdict-line b.red {
  color: var(--red);
}

.verdict-line b.amber {
  color: var(--amber);
}

.verdict-line b.green {
  color: var(--green);
}

.verdict-sub {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.group {
  margin-bottom: 32px;
}

.group-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  gap: 16px;
}

.row:last-child {
  border-bottom: none;
}

.row-main {
  font-size: 15px;
  margin-bottom: 3px;
  line-height: 1.4;
}

.row-sub {
  font-size: 13px;
  color: var(--muted);
}

.row-fix {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  font-style: italic;
}

.row-tag {
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
  font-weight: 500;
}

.row-tag.critical {
  color: var(--red);
}

.row-tag.warning {
  color: var(--amber);
}

.row-tag.muted {
  color: var(--muted);
}

code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--card);
  padding: 1px 5px;
  border-radius: 4px;
}

table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.tbl th,
table.tbl td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--divider);
}

table.tbl th {
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.tbl tbody tr:hover {
  background: var(--card);
}

.actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pill-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.pill-btn:hover {
  opacity: 0.9;
}

.pill-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pill-btn.secondary {
  background: var(--card);
  color: var(--text);
}

.link-btn {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--font);
  padding: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 36px 0 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}

ul.cl {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 14px;
}

ul.cl li {
  margin-bottom: 3px;
}

/* ─── Mode Switcher / Segmented Tabs ───────────────────────────────────────── */
.mode-switch {
  display: flex;
  background: var(--card);
  padding: 3px;
  border-radius: 8px;
  margin-bottom: 24px;
  gap: 4px;
}

.mode-tab {
  flex: 1;
  text-align: center;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s ease;
}

.mode-tab.active {
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ─── Form Controls (Native to Design) ─────────────────────────────────────── */
.form-box {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-label span {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.form-control {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid var(--divider);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.form-control:focus {
  border-color: var(--accent);
}

.form-textarea {
  width: 100%;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--divider);
  background: var(--bg);
  color: var(--text);
  outline: none;
  resize: vertical;
}

.form-textarea:focus {
  border-color: var(--accent);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Collapsible File Accordions in Custom Mode ───────────────────────────── */
details.file-box {
  border: 1px solid var(--divider);
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--bg);
}

details.file-box summary {
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

details.file-box summary::-webkit-details-marker {
  display: none;
}

details.file-box summary::after {
  content: "▾";
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s;
}

details.file-box[open] summary::after {
  transform: rotate(180deg);
}

details.file-box summary span.file-badge {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

.file-box-body {
  padding: 0 14px 14px;
}

/* ─── Subagent Progress & Live Steps ───────────────────────────────────────── */
.progress-card {
  padding: 20px;
  background: var(--card);
  border-radius: 8px;
  margin: 20px 0 32px;
}

.progress-bar-wrap {
  height: 4px;
  background: var(--divider);
  border-radius: 2px;
  overflow: hidden;
  margin: 12px 0 16px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.subagent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subagent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.subagent-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  margin-right: 8px;
  display: inline-block;
}

.subagent-item .dot.active {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1s infinite alternate;
}

.subagent-item .dot.done {
  background: var(--green);
}

@keyframes pulse {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

/* ─── Code Snippet / Rollback Script Box ────────────────────────────────────── */
.code-box {
  position: relative;
  background: var(--card);
  border-radius: 6px;
  padding: 14px;
  margin: 10px 0 16px;
  overflow-x: auto;
}

.code-box pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  white-space: pre;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11.5px;
  background: var(--bg);
  border: 1px solid var(--divider);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font);
}

.copy-btn:hover {
  color: var(--text);
}

/* ─── Toast Notifications ─────────────────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Helpers ─────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-state {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
  font-size: 14px;
}

.pointer {
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Rocky Floating Feature Navigator (Cursor Follower & Guide)
   ═══════════════════════════════════════════════════════════════════════════ */

.rocky-floating-guide {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(26, 115, 232, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 0 18px rgba(26, 115, 232, 0.16);
  max-width: 320px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0) scale(0.85);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s;
  will-change: transform, opacity, top, left;
}

:root[data-theme="dark"] .rocky-floating-guide {
  background: rgba(30, 32, 38, 0.95);
  border-color: rgba(138, 180, 248, 0.38);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 20px rgba(138, 180, 248, 0.22);
}

.rocky-floating-guide.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  animation: rockyFloatBob 2.4s ease-in-out infinite alternate;
}

@keyframes rockyFloatBob {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-4px);
  }
}

.rocky-float-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  padding: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
}

.rocky-float-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.rocky-float-pulse {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  border: 1.5px solid var(--card);
  box-shadow: 0 0 6px var(--green);
}

.rocky-float-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rocky-float-header {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.rocky-float-tone {
  font-size: 11px;
  color: var(--accent);
  animation: rockyTonePulse 1.8s ease-in-out infinite;
}

@keyframes rockyTonePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.rocky-float-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.rocky-float-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* Ship Engine Transition Animation */
.ship-engine-transition {
  animation: shipWarp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shipWarp {
  0% {
    opacity: 0.35;
    transform: translateY(8px) scale(0.995);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}