* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; background: #000; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.screen { display: none; position: fixed; inset: 0; }
.screen.active { display: flex; flex-direction: column; }
.hidden { display: none !important; }

/* ---------- Setup ---------- */
#setup {
  background: #0a0a0a;
  padding: max(env(safe-area-inset-top), 24px) 20px max(env(safe-area-inset-bottom), 24px);
  overflow-y: auto;
}
#setup header { padding: 12px 0 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
#setup .brand-logo { height: 48px; width: auto; opacity: 0.9; margin-bottom: 8px; }
#setup h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
#setup .sub { color: #888; font-size: 12px; margin-top: 0; letter-spacing: 0.02em; }

/* marca discreta na tela de review */
.brand-mark {
  position: absolute;
  top: max(env(safe-area-inset-top), 14px);
  right: 16px;
  opacity: 0.45;
  z-index: 4;
  transition: opacity 0.2s;
}
.brand-mark:active { opacity: 0.8; }
.brand-mark img { height: 22px; width: auto; display: block; }

.setup-content { display: flex; flex-direction: column; gap: 18px; flex: 1; }

#script {
  flex: 1;
  min-height: 220px;
  padding: 16px;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  resize: none;
  outline: none;
}
#script:focus { border-color: #007aff; }

#title {
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  outline: none;
}
#title::placeholder { color: #888; }
#title:focus { border-color: #007aff; }

.controls-grid { display: flex; flex-direction: column; gap: 14px; }
.controls-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #aaa; }
.controls-grid label span { display: flex; justify-content: space-between; align-items: center; }
.controls-grid label.check { flex-direction: row; align-items: center; gap: 12px; }
.controls-grid input[type=range] { width: 100%; accent-color: #007aff; }
.controls-grid input[type=checkbox] { width: 20px; height: 20px; accent-color: #007aff; }
output { color: #fff; font-variant-numeric: tabular-nums; }

button {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 14px;
  background: #2a2a2a;
  color: #fff;
  cursor: pointer;
  transition: transform 0.05s, opacity 0.15s;
}
button:active { transform: scale(0.97); }
button.primary { background: #007aff; }
button.primary:disabled { background: #003d7f; opacity: 0.6; }
button.secondary { background: transparent; color: #c0caf5; border: 1px solid #2a2a2a; }
button.secondary:active { background: #1a1a1a; }
.hint { color: #999; font-size: 13px; text-align: center; margin-top: 4px; }

/* ---------- Storyboard (Fase C: slides visuais reais, editáveis) ---------- */
#storyboardScreen {
  background: #0a0a0a;
  padding: max(env(safe-area-inset-top), 20px) 16px max(env(safe-area-inset-bottom), 20px);
}
.sb-header {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 4px 18px 4px;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 16px;
}
.sb-header .ghost {
  width: 40px; height: 40px;
  background: #1a1a1a; color: #fff;
  border-radius: 12px;
  font-size: 20px;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.sb-title-wrap h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.sb-meta { font-size: 12px; color: #888; margin-top: 2px; }
.sb-list {
  flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 22px;
  padding-bottom: 110px;
  -webkit-overflow-scrolling: touch;
}

/* Cada cena no storyboard = slide visual + metadados + roteiro do prompter */
.sb-scene {
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s ease-out;
}
.sb-scene:hover .slide-frame {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.slide-frame {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}
.sb-scene-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #888;
}
.sb-scene-num { color: #007aff; }
.sb-scene-dur { color: #555; letter-spacing: 0; text-transform: none; font-weight: 500; }
.sb-scene-layout {
  margin-left: auto;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #c0caf5;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}
.sb-scene-layout:focus { border-color: #007aff; }

/* Frame do slide — aspect 16:9, estética editorial job-narrativo (cream + gold + serif) */
.slide-frame {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8e1d2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  position: relative;
  container-type: inline-size;
  --cream-50: #faf9f5;
  --ink-900: #141413;
  --ink-500: #5a5853;
  --ink-300: #8a8782;
  --accent: #d4af37;
  --rule: #14141322;
}
.slide-frame .sl {
  width: 100%; height: 100%;
  padding: 9% 8%;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: 'Lora', Georgia, serif;
  position: relative;
}

/* Marca-texto gold passando atrás de palavras-chave */
.sl .hl {
  background: linear-gradient(transparent 60%, var(--accent) 60%);
}

/* Label superior — uppercase letterspaced em Poppins */
.sl-label {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8cqi; font-weight: 600;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ink-300);
  margin-bottom: 5cqi;
}

/* Footer minimalista — borda topo + linha rule */
.sl-footer {
  position: absolute; bottom: 4cqi; left: 8%; right: 8%;
  padding-top: 1.6cqi;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.sl-footer-text, .sl-footer-url {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4cqi; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-500);
}

/* ── HOOK ── */
.sl-hook { justify-content: center; }
.sl-line1 {
  font-family: 'Lora'; font-style: italic; font-weight: 500;
  font-size: 5.2cqi; line-height: 1.25; color: var(--ink-500);
}
.sl-line2 {
  font-family: 'Lora'; font-weight: 600;
  font-size: 7.2cqi; line-height: 1.1; color: var(--ink-900);
  letter-spacing: -0.018em; margin-top: 3cqi;
}
.sl-line3 {
  font-family: 'Lora'; font-style: italic; font-weight: 400;
  font-size: 3.4cqi; line-height: 1.35; color: var(--ink-500);
  margin-top: 4cqi; max-width: 86%;
}

/* ── STAT ── */
.sl-stat { justify-content: center; }
.sl-statnum {
  font-family: 'Poppins'; font-weight: 800;
  font-size: 26cqi; line-height: 1; letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.sl-statnum .sl-statunit {
  font-size: 0.4em; color: var(--ink-500); font-weight: 600;
  margin-left: 0.2em; letter-spacing: 0.08em;
}
.sl-prose {
  font-family: 'Lora'; font-weight: 500;
  font-size: 5.4cqi; line-height: 1.15;
  letter-spacing: -0.015em; color: var(--ink-900);
  margin-top: 4cqi; max-width: 80%;
}
.sl-coda {
  font-family: 'Lora'; font-style: italic; font-weight: 400;
  font-size: 3.2cqi; color: var(--ink-500);
  margin-top: 2.5cqi;
}

/* ── LESSON ── */
.sl-lesson { justify-content: center; }
.sl-aphorism {
  font-family: 'Lora'; font-weight: 600;
  font-size: 6.8cqi; line-height: 1.12;
  letter-spacing: -0.02em; color: var(--ink-900);
  max-width: 90%;
}
.sl-detail {
  font-family: 'Lora'; font-style: italic; font-weight: 400;
  font-size: 2.9cqi; line-height: 1.4; color: var(--ink-500);
  margin-top: 4cqi; max-width: 75%;
}

/* ── STEP ── asimetria: número gigante esquerda + conteúdo direita */
.sl-step { justify-content: stretch; padding: 9% 8% 11%; }
.sl-step-indicator {
  position: absolute; top: 6cqi; right: 8%;
  font-family: 'Poppins'; font-weight: 600;
  font-size: 1.6cqi; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}
.sl-step-grid {
  flex: 1;
  display: grid; grid-template-columns: 38% 62%;
  align-items: center;
  gap: 4cqi;
  margin-top: 4cqi;
}
.sl-step-num {
  font-family: 'Poppins'; font-weight: 800;
  font-size: 30cqi; line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: left;
  position: relative;
}
/* Numeral fantasma — sombra editorial, dá profundidade impressa */
.sl-step-num::after {
  content: attr(data-ghost);
  position: absolute; left: -4cqi; top: 50%;
  transform: translateY(-50%) scale(1.4);
  font-size: 1em; color: var(--ink-900);
  opacity: 0.035; z-index: -1;
  letter-spacing: -0.08em;
  pointer-events: none;
}
.sl-step-body { display: flex; flex-direction: column; gap: 2cqi; }
.sl-step-body .sl-label { margin-bottom: 1cqi; }
.sl-step-title {
  font-family: 'Lora'; font-weight: 600;
  font-size: 5.4cqi; line-height: 1.15;
  letter-spacing: -0.018em; color: var(--ink-900);
  margin: 0;
}
.sl-step-desc {
  font-family: 'Lora'; font-weight: 400;
  font-size: 2.6cqi; line-height: 1.45;
  color: var(--ink-500);
  margin: 1cqi 0 0; max-width: 92%;
}

/* ── QUOTE ── aspa sangrante + frase itálica esquerda + autor uppercase */
.sl-quote { justify-content: center; padding: 8% 9% 9% 12%; }
.sl-quote-aspa {
  position: absolute;
  top: -6cqi; left: 2cqi;
  font-family: Georgia, 'Lora', serif;
  font-size: 56cqi; line-height: 1;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.sl-quote-text {
  font-family: 'Lora'; font-style: italic; font-weight: 500;
  font-size: 7.4cqi; line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink-900);
  max-width: 70%;
  margin: 0;
  position: relative; z-index: 1;
  border: none;
  padding: 0;
}
.sl-quote-text .hl {
  background: none;
  border-bottom: 0.25cqi solid var(--accent);
  padding-bottom: 0.1cqi;
}
.sl-quote-attr {
  display: block;
  margin-top: 4cqi;
  font-family: 'Poppins'; font-weight: 700; font-style: normal;
  font-size: 1.7cqi; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative; z-index: 1;
}

/* Campos editáveis inline (contenteditable) */
.sb-scene [contenteditable="true"] {
  outline: none;
  cursor: text;
  border-radius: 4px;
  transition: background 0.12s, box-shadow 0.12s;
}
.sb-scene [contenteditable="true"]:focus {
  background: rgba(0,122,255,0.15);
  box-shadow: 0 0 0 2px rgba(0,122,255,0.4);
}
.sb-scene [contenteditable="true"]:empty::before {
  content: attr(data-placeholder);
  color: rgba(255,255,255,0.25);
}

/* Roteiro do teleprompter (texto que vai rolar durante gravação) */
.sb-script {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-left: 3px solid #007aff;
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
}
.sb-script-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #007aff;
  margin-bottom: 4px;
}
.sb-script-text {
  font-size: 13px; line-height: 1.5;
  color: #fff;
  min-height: 18px;
}

.sb-bottom {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  padding: 14px 16px max(env(safe-area-inset-bottom), 16px);
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.95) 30%, #0a0a0a 100%);
  display: flex; gap: 10px;
}
.sb-bottom button { flex: 1; }

/* ---------- Recorder ---------- */
#recorder { background: #000; }
#preview {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* preview espelhado pra parecer natural */
}

.prompt-overlay {
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 55vh; /* faixa só na parte de cima, perto da câmera */
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}
.prompt-inner {
  position: absolute;
  left: 0; right: 0;
  padding: 0 24px;
  will-change: transform;
}
.prompt-inner .text {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.95), 0 0 4px rgba(0,0,0,0.9);
  line-height: 1.45;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.prompt-inner .text .w {
  transition: color 0.2s, opacity 0.2s, transform 0.2s, text-shadow 0.2s;
  padding: 0 2px;
  display: inline-block;
}
/* Karaokê: anteriores fade discreto, atual amarela vívida com escala + glow */
.prompt-inner .text .w.spoken {
  color: rgba(255,255,255,0.4);
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}
.prompt-inner .text .w.current {
  color: #ffd400;
  /* Sem font-weight: 800 — bold muda a métrica do glyph e causa reflow do texto
     (palavras pulam de linha quando cursor avança). text-stroke imita peso visual
     sem afetar layout porque é decoração, não tipografia. */
  -webkit-text-stroke: 0.5px #ffd400;
  text-stroke: 0.5px #ffd400;
  text-shadow: 0 0 18px rgba(255, 212, 0, 0.85), 0 2px 8px rgba(0,0,0,0.85);
  transform: scale(1.08);
}

/* reading line discreta — só uma referência sutil pra fixar a altura ideal */
.reading-line {
  position: absolute;
  top: 18%;
  left: 30%; right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 0, 0.35), transparent);
  pointer-events: none;
  z-index: 2;
}

.countdown {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 220px; font-weight: 800;
  background: rgba(0,0,0,0.45);
  z-index: 20;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.rec-bar {
  position: absolute;
  top: max(env(safe-area-inset-top), 16px);
  left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  z-index: 5;
}
.rec-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff3b30;
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
#timer {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  background: rgba(0,0,0,0.55);
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.voice-badge {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 212, 0, 0.85);
  color: #1a1300;
  padding: 5px 12px;
  border-radius: 100px;
}

.voice-resume {
  font-size: 12px;
  font-weight: 700;
  background: #ff9500;
  color: #1a1300;
  padding: 6px 14px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  animation: pulse-warn 1.4s ease-in-out infinite;
}
.voice-resume:active { transform: scale(0.96); }
@keyframes pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,149,0,0.6); }
  50%      { box-shadow: 0 0 0 10px rgba(255,149,0,0); }
}

.advance-btn {
  position: absolute;
  right: 16px;
  bottom: 110px;
  z-index: 5;
  background: rgba(255,255,255,0.18);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  letter-spacing: 0.02em;
}
.advance-btn:active {
  transform: scale(0.94);
  background: rgba(255,255,255,0.32);
}
@media (max-width: 480px) {
  .advance-btn { padding: 10px 14px; font-size: 12px; right: 12px; bottom: 100px; }
}
.voice-debug {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  font-size: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.55);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bottom-controls {
  position: absolute;
  bottom: max(env(safe-area-inset-bottom), 20px);
  left: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 16px;
  z-index: 5;
}
.bottom-controls button {
  border-radius: 50%;
  padding: 0;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
}
.bottom-controls button.ghost { width: 52px; height: 52px; }
.bottom-controls button.ghost.small { font-size: 14px; font-weight: 700; }
.bottom-controls button.rec {
  width: 78px; height: 78px;
  background: #ff3b30;
  position: relative;
}
.bottom-controls button.rec::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.95);
}
.bottom-controls button.stop {
  width: 78px; height: 78px;
  background: #ff3b30;
  position: relative;
}
.bottom-controls button.stop::before {
  content: '';
  position: absolute;
  inset: 26px;
  background: #fff;
  border-radius: 4px;
}

/* ---------- Review ---------- */
#review { background: #000; padding: 0; }

.sync-status {
  position: absolute;
  top: max(env(safe-area-inset-top), 14px);
  left: 16px;
  right: 60px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  z-index: 4;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s, transform 0.3s;
}
.sync-status.ok { background: rgba(40, 180, 80, 0.85); }
.sync-status.err { background: rgba(220, 60, 50, 0.85); }
#recorded {
  flex: 1;
  width: 100%;
  height: calc(100% - 100px);
  object-fit: contain;
  background: #000;
}
#review .bottom-controls button {
  width: auto;
  height: 52px;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
}
#review .bottom-controls button.ghost { background: rgba(255,255,255,0.12); }
#review .bottom-controls button.primary { background: #007aff; }

/* Landscape ajustes — câmera fica no topo central também */
@media (orientation: landscape) and (max-height: 500px) {
  #setup { padding: 16px 24px; }
  #script { min-height: 100px; }
  .prompt-overlay { height: 70vh; }
  .reading-line { top: 14%; }
}

/* ---------- Upload (video editado) ---------- */
#upload {
  background: #0a0a0a;
  padding: max(env(safe-area-inset-top), 20px) 16px max(env(safe-area-inset-bottom), 20px);
}
.up-content {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 24px;
  padding: 8px 4px 110px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.up-section { display: flex; flex-direction: column; gap: 10px; }
.up-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #888;
}
.up-hint { font-size: 12px; color: #666; line-height: 1.4; }
.up-hint code {
  background: #1a1a1a; color: #ffd400;
  padding: 1px 6px; border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.up-select {
  background: #141414;
  border: 1px solid #2a2a2a;
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  border-radius: 12px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.up-select:focus { border-color: #007aff; }
.up-file {
  width: 100%;
  padding: 18px 16px;
  background: #141414;
  border: 1px dashed #2a2a2a;
  color: #fff;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
}
.up-file:hover { border-color: #007aff; }
.up-fileinfo {
  font-size: 13px; color: #ffd400;
  background: rgba(255,212,0,0.08);
  padding: 10px 14px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}
.up-progress {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 14px 16px;
}
.up-progress-bar {
  height: 6px;
  background: #1a1a1a;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.up-progress-fill {
  height: 100%;
  background: #007aff;
  width: 0%;
  transition: width 0.2s ease-out;
}
.up-progress-text {
  font-size: 12px; color: #888;
  font-variant-numeric: tabular-nums;
}
.up-result {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.up-result.ok {
  background: rgba(40,180,80,0.12);
  border: 1px solid rgba(40,180,80,0.4);
  color: #8af0a8;
}
.up-result.err {
  background: rgba(220,60,50,0.12);
  border: 1px solid rgba(220,60,50,0.4);
  color: #f7768e;
}
.up-result code {
  background: rgba(255,255,255,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
}
