/* AI Identity Portrait: estilos aislados para no afectar tu portafolio */
.ascii-identity {
  --ai-background: #040C19;
  --ai-symbol: #fb923c;
  --ai-border: #42362e;
  box-sizing: border-box;
  width: min(100%, 475px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--ai-border);
  border-radius: 14px;
  background: var(--ai-background);
  color: #dbe6e4;
  box-shadow: 0 17px 45px rgba(0, 0, 0, .26);
}
.ascii-identity * { box-sizing: border-box; }
.ascii-identity__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #15181e;
  border-bottom: 1px solid #30343e;
  color: #c1d0cc;
  font: 11px/1.4 Consolas, "Roboto Mono", monospace;
}
.ascii-identity__path { overflow-wrap: anywhere; }
.ascii-identity__prompt { color: var(--ai-symbol); font-weight: 700; margin-right: 6px; }
.ascii-identity__dots { flex-shrink: 0; display: flex; gap: 6px; }
.ascii-identity__dots span { width: 8px; height: 8px; border-radius: 50%; background: #3c545c; }
.ascii-identity__dots span:last-child { background: #fb923c; }
.ascii-identity__body { padding: 14px; }
.ascii-identity__command {
  font: 11px/1.5 Consolas, "Roboto Mono", monospace;
  color: var(--ai-symbol);
  overflow-wrap: anywhere;
}
.ascii-identity__status {
  min-height: 16px;
  margin: 7px 0 10px;
  color: #9eb6b6;
  font: 11px/1.5 Consolas, "Roboto Mono", monospace;
}
.ascii-identity__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1649 / 2048;
  overflow: hidden;
  border-radius: 7px;
  background: var(--ai-background);
  isolation: isolate;
}
.ascii-identity__visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ascii-identity__final { z-index: 3; opacity: 0; pointer-events: none; }
.ascii-identity__scan {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 2px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--ai-symbol), transparent);
  box-shadow: 0 0 13px #fdba74;
}
.ascii-identity__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
  padding-top: 11px;
  font: 10px/1.4 Consolas, "Roboto Mono", monospace;
  color: var(--ai-symbol);
}
.ascii-identity__replay {
  padding: 6px 10px;
  background: #241b16;
  border: 1px solid #48616b;
  border-radius: 6px;
  color: var(--ai-symbol);
  font: inherit;
  cursor: pointer;
  transition: background-color .2s ease;
}
.ascii-identity__replay:hover { background: #38251a; }
.ascii-identity__replay:focus-visible { outline: 2px solid #fb923c; outline-offset: 3px; }
@media (max-width: 480px) {
  .ascii-identity__body { padding: 9px; }
  .ascii-identity__bar { padding: 10px; font-size: 10px; }
  .ascii-identity__command { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .ascii-identity__replay { transition: none; } }

/* About Me layout — consolidated from the original HTML. */
#about.about-ai-section{display:block;width:min(1180px,94%);max-width:1180px;margin:30px auto 84px;padding:42px 10px;scroll-margin-top:90px}
#about .about-ai-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,475px);gap:clamp(24px,5vw,74px);align-items:center}
#about .about-ai-copy{min-width:0;color:var(--text-secondary);line-height:1.85}
#about .about-ai-eyebrow{color:var(--primary-color);letter-spacing:.13em;font:700 13px/1.5 Consolas,monospace;margin-bottom:16px}
#about .about-ai-copy h2{font-size:clamp(30px,4vw,46px);color:var(--text-primary);font-weight:800;line-height:1.2;margin:0 0 24px}
#about .about-ai-copy h2 span{color:var(--primary-color)}
#about .about-ai-copy p:not(.about-ai-eyebrow){font-size:16px;margin:0 0 16px;max-width:590px}
#about .about-ai-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}
#about .about-ai-tags span{font:12px/1.4 Consolas,monospace;border:1px solid #55402f;background:#1c1713;color:#fdba74;padding:8px 11px;border-radius:6px}
#about .about-ai-portrait{width:100%;min-width:0}
@media(max-width:820px){#about .about-ai-layout{grid-template-columns:1fr}#about .about-ai-portrait{max-width:475px;margin:0 auto}#about.about-ai-section{padding:30px 0}}
