* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #fef6e4;
  color: #30292f;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}
#app {
  width: 100%;
  max-width: 420px;
  padding: 24px;
}
h1 { text-align: center; }
input, button {
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d8c9a3;
}
#login {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[hidden] {
  display: none !important;
}
#entrar {
  background: #e5b42e;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff3d6;
  border: 2px solid #e5b42e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  transition: transform .2s ease;
}
.avatar.animar {
  transform: scale(1.15);
}
.stat {
  margin: 10px 0;
}
.stat label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.barra {
  background: #f0e4c8;
  border-radius: 8px;
  height: 14px;
  overflow: hidden;
}
.relleno {
  background: #e5b42e;
  height: 100%;
  width: 80%;
  transition: width .3s ease;
}
.acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.acciones button {
  background: white;
  cursor: pointer;
}
