/* ================================================
   J.A.R.V.I.S. v2 — Chat UI + Auth
   ================================================ */

/* --- Auth View --- */
#auth-view {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: var(--space-lg);
  transition: opacity var(--duration-slow) var(--ease-out);
}

#auth-view.hidden {
  opacity: 0;
  pointer-events: none;
  display: flex !important;
}

.auth-card {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.auth-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.auth-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-dim);
  margin-bottom: var(--space-xl);
}

.auth-input {
  width: 100%;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  text-align: center;
  outline: none;
  transition: all var(--duration-base) var(--ease-out);
}

.auth-input:focus {
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.08);
}

.auth-input::placeholder {
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  margin-top: var(--space-md);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(0, 100, 255, 0.1));
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
}

.auth-btn:active {
  transform: scale(0.97);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.25), rgba(0, 100, 255, 0.2));
}

.auth-error {
  font-size: var(--font-size-xs);
  color: var(--accent-red);
  margin-top: var(--space-sm);
  min-height: 1.2em;
}

/* --- Chat View --- */
#chat-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

#chat-view.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- AI Header --- */
.chat-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--safe-top) + var(--space-md)) var(--space-md) var(--space-sm);
  flex-shrink: 0;
}

.history-btn {
  position: absolute;
  top: calc(var(--safe-top) + var(--space-md));
  left: var(--space-md);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--duration-fast);
}

.history-btn:hover { color: var(--text); }
.history-btn svg { width: 24px; height: 24px; }

/* --- Messages --- */
#messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.message {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  line-height: 1.55;
  animation: msg-appear 0.3s var(--ease-out) both;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@keyframes msg-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* User message */
.message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.2), rgba(0, 100, 200, 0.12));
  border: 1px solid rgba(0, 132, 255, 0.15);
  color: var(--text);
}

/* AI message */
.message.ai {
  align-self: flex-start;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  color: var(--text);
}

/* Streaming message */
.message.streaming::after {
  content: '▊';
  animation: cursor-blink 0.8s steps(2) infinite;
  color: var(--accent);
  margin-left: 2px;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Message time */
.message-time {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* --- Empty state --- */
.empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  text-align: center;
  padding: var(--space-xl);
  gap: var(--space-sm);
}

.empty-state-hint {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  opacity: 0.6;
}

/* --- Input Bar --- */
.predictive-chips {
  width: 100%;
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xs);
  -webkit-overflow-scrolling: touch;
}

.predictive-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  animation: chip-appear 0.4s var(--ease-out) backwards;
  transition: all var(--duration-fast) var(--ease-out);
}

.chip:active {
  background: var(--surface-hover);
  color: var(--accent);
  transform: scale(0.95);
}

@keyframes chip-appear {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.input-bar {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-md) calc(var(--safe-bottom) + var(--space-md));
  flex-shrink: 0;
}

/* Vision Preview Box */
.vision-preview {
  position: relative;
  width: 100%;
  height: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.vision-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: crosshair;
}

.vision-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.input-row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  width: 100%;
}

.input-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-end;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 6px 6px 16px;
  transition: border-color var(--duration-base) var(--ease-out);
}

.input-wrapper:focus-within {
  border-color: rgba(0, 255, 255, 0.2);
}

/* Camera Button */
.vision-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
  margin-right: 4px;
}

.vision-btn:hover { color: var(--text); }
.vision-btn.active { color: var(--accent); }

.vision-btn svg {
  width: 20px;
  height: 20px;
}

#chat-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-md);
  line-height: 1.4;
  resize: none;
  outline: none;
  max-height: 120px;
  min-height: 22px;
  padding: 6px 0;
}

#chat-input::placeholder {
  color: var(--text-muted);
}

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-blue));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--duration-fast) var(--ease-out);
  opacity: 0.4;
}

.send-btn.active {
  opacity: 1;
}

.send-btn:active {
  transform: scale(0.9);
}

.send-btn svg {
  width: 16px;
  height: 16px;
}

/* --- Code blocks --- */
.code-block {
  margin: var(--space-sm) 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-size: var(--font-size-xs);
  color: var(--text-dim);
}

.copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: var(--font-size-xs);
  padding: 2px 8px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.copy-btn:active {
  background: var(--surface-hover);
  color: var(--accent);
}

.code-block pre {
  padding: 12px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  line-height: 1.5;
  color: var(--text);
}

.code-block .kw { color: #c792ea; }
.code-block .str { color: #c3e88d; }
.code-block .cmt { color: #546e7a; }
.code-block .num { color: #f78c6c; }

.inline-code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
}

/* --- Inline SVG --- */
.svg-render-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: var(--space-sm) 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-render-box svg {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* --- Attachments --- */
.chat-attachment {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin-top: 8px;
  display: block;
}

/* --- Plugin Hub --- */
.plugin-menu {
  position: absolute;
  bottom: calc(100% + var(--space-xs));
  left: var(--space-md);
  right: var(--space-md);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
  overflow: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.plugin-menu.hidden {
  display: none;
}

.plugin-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 16px;
  cursor: pointer;
  transition: background var(--duration-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.plugin-item:last-child {
  border-bottom: none;
}

.plugin-item:hover {
  background: var(--surface-hover);
}

.plugin-icon {
  font-size: 20px;
}

.plugin-cmd {
  font-size: var(--font-size-md);
  color: var(--accent);
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.plugin-desc {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Plugin Rendered Card */
.jarvis-plugin-card {
  background: var(--surface);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: var(--space-sm) 0;
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.05);
}

.jarvis-plugin-card.error {
  border-color: var(--accent-red);
}

.jarvis-plugin-card .card-header {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-size: var(--font-size-md);
}

.jarvis-plugin-card .card-body {
  color: var(--text-dim);
  font-size: var(--font-size-sm);
  margin-bottom: 12px;
}

.jarvis-plugin-card .card-action-btn {
  background: rgba(0, 255, 255, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
  width: 100%;
}

.jarvis-plugin-card .card-action-btn:hover {
  background: var(--accent);
  color: #000;
}

/* --- UI Preview Frame --- */
.ui-preview-wrapper {
  margin: var(--space-md) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #ffffff;
}

.ui-preview-header {
  background: var(--surface-hover);
  padding: 8px 12px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.ui-preview-frame {
  width: 100%;
  border: none;
  min-height: 250px;
  display: block;
}

/* --- Live Preview Box --- */
.live-preview-box {
  position: absolute;
  bottom: calc(100% + var(--space-xs));
  left: var(--space-md);
  right: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
  font-size: var(--font-size-sm);
  z-index: 55;
  color: var(--text-dim);
}
.live-preview-box.hidden { display: none; }

/* Toggle Button Active State */
.vision-btn.active {
  color: var(--accent);
  background: rgba(0, 255, 255, 0.1);
}

/* --- Sticky Messages --- */
.sticky-container {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 var(--space-md);
  margin-bottom: var(--space-md);
}

.sticky-card {
  background: rgba(10, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
  transition: opacity 0.2s;
}

.sticky-content {
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sticky-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  margin-left: 12px;
  cursor: pointer;
  line-height: 1;
}
.sticky-close:hover { color: var(--accent-red); }

/* --- Models Dashboard --- */
.dash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  transition: opacity var(--duration-base) var(--ease-out);
}

.models-dashboard {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  z-index: 51;
  transform: translate(-50%, -50%) scale(1);
  transition: all var(--duration-base) var(--ease-spring);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.models-dashboard.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -40%) scale(0.95);
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.dash-header h3 {
  font-size: var(--font-size-md);
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0;
}

.dash-btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: var(--font-size-xl);
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.dash-section {
  margin-bottom: var(--space-md);
}

.dash-section.horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}

.model-selector-wrap {
  position: relative;
  width: 100%;
}

.model-select {
  width: 100%;
  appearance: none;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-sm);
  outline: none;
}

.model-select:focus {
  border-color: rgba(0, 255, 255, 0.3);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 10px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
}

input:checked + .slider {
  background-color: var(--accent-blue);
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #fff;
}

.slider.round {
  border-radius: 24px;
}
.slider.round:before {
  border-radius: 50%;
}

/* Token Bar */
.token-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 4px;
}

.token-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple));
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.token-status {
  text-align: right;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* --- History Drawer --- */
.history-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 60;
  transition: opacity 0.3s var(--ease-out);
}

.history-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  z-index: 61;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-spring);
  display: flex;
  flex-direction: column;
  box-shadow: 20px 0 50px rgba(0,0,0,0.5);
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

.history-drawer.open {
  transform: translateX(0);
}

.history-header {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.history-header h3 {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-size: var(--font-size-md);
}

.history-search-wrap {
  position: relative;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.history-search {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 16px 10px 40px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-sm);
  outline: none;
  transition: border-color 0.2s;
}

.history-search:focus {
  border-color: rgba(0, 255, 255, 0.3);
}

.search-icon {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.history-list {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm);
}

.history-group-title {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-md) var(--space-sm) var(--space-xs);
}

.history-item {
  padding: 12px var(--space-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
}

.history-item:hover {
  background: var(--surface-hover);
}

.history-item-title {
  font-size: var(--font-size-sm);
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-item-time {
  font-size: 11px;
  color: var(--text-muted);
}

.history-empty {
  text-align: center;
  padding: var(--space-xl);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

/* --- Connection indicator --- */
.connection-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  position: absolute;
  top: calc(var(--safe-top) + 10px);
  right: 14px;
  transition: background var(--duration-base);
}

.connection-dot.disconnected {
  background: var(--accent-red);
  animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Boot Screen --- */
#boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  transition: opacity 0.6s var(--ease-out);
}

#boot-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.boot-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0;
  animation: boot-fade-in 0.8s 0.2s var(--ease-out) forwards;
}

.boot-line {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  opacity: 0;
}

.boot-line:nth-child(2) { animation: boot-fade-in 0.4s 0.6s var(--ease-out) forwards; }
.boot-line:nth-child(3) { animation: boot-fade-in 0.4s 0.9s var(--ease-out) forwards; }
.boot-line:nth-child(4) { animation: boot-fade-in 0.4s 1.2s var(--ease-out) forwards; }
.boot-line:nth-child(5) { animation: boot-fade-in 0.4s 1.5s var(--ease-out) forwards; }

@keyframes boot-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
