/* ver ../README.md#marcas */
:root {
  --el-card: #111827;
  --el-human-text: #b8354f;
  --el-font-mono: ui-monospace, 'JetBrains Mono', Consolas, monospace;
}

/* --- Marcas sobre el modelo (las crea markers.js) --- */
.el-flag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: -72px 0 0 -40px;
  background: var(--el-card);
  border: 1.5px solid var(--flag-color);
  border-radius: 10px;
  padding: 8px 12px;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(229, 72, 77, 0.25);
  opacity: 0;
}
.el-flag__value { font-family: var(--el-font-mono); font-weight: 700; font-size: 15px; color: #fff; }
.el-flag__note { font-family: var(--el-font-mono); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--flag-color); }

.el-seal { position: absolute; left: 0; top: 0; z-index: 3; width: 0; height: 0; }
.el-seal svg {
  position: absolute;
  width: 132px;
  height: 132px;
  left: -462px;
  top: -190px;
  color: var(--el-human-text);
  opacity: 0;
  transform: rotate(-14deg) scale(1.8);
  transition: transform 0.35s cubic-bezier(.3, 1.5, .5, 1), opacity 0.2s ease;
}
.el-seal.is-stamped svg { opacity: 0.92; transform: rotate(-14deg) scale(1); }

@media (max-width: 767px) {
  .el-seal svg { width: 96px; height: 96px; left: -48px; top: -140px; }
}

/* ver ../README.md#cards-del-hero — las crea src/hero-cards.js */
.el-hero-card {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  box-sizing: border-box;
  padding: 8px 10px 9px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e6e3e8;
  border-top: 2px solid var(--card-color);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(43, 52, 69, 0.1);
  color: #2b3445;
  font-size: 10px;
  line-height: 1.45;
  will-change: transform, opacity;
}
.el-hero-card[hidden] { display: none; }
.el-hero-card__title {
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-color);
}

.el-hero-card__check { display: flex; align-items: center; gap: 6px; padding: 1px 0; }
.el-hero-card__box {
  position: relative;
  width: 10px;
  height: 10px;
  border: 1.5px solid #c3cad6;
  border-radius: 3px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.el-hero-card__check.is-checked .el-hero-card__box { background: var(--card-color); border-color: var(--card-color); }
.el-hero-card__check.is-checked .el-hero-card__box::after {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 0;
  width: 3px;
  height: 6px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.el-hero-card__lines { font-family: var(--el-font-mono); font-size: 9px; white-space: pre; }
.el-hero-card__pending { visibility: hidden; }
.el-hero-card__done {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  color: #00735c;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.el-hero-card__done.is-shown { opacity: 1; }

.el-hero-card--code .el-hero-card__lines {
  padding: 6px 7px;
  background: #f6f7f9;
  border-radius: 4px;
  color: #4a5568;
}

/* Cards claras de la sección 2 · ver ../README.md#cards-grandes-de-la-seccion-2 */
.el-hero-card__detail { display: none; }
.el-hero-card__check b { font-weight: inherit; }
.el-hero-card.is-large { padding: 9px 11px 10px; font-size: 11px; line-height: 1.4; border-radius: 9px; box-shadow: 0 8px 22px rgba(43, 52, 69, 0.14); }
.el-hero-card.is-large .el-hero-card__title { margin-bottom: 6px; font-size: 9.5px; }
.el-hero-card.is-large .el-hero-card__detail { display: block; }
.el-hero-card.is-large .el-hero-card__check { align-items: flex-start; gap: 7px; padding: 3px 0; }
.el-hero-card.is-large .el-hero-card__box { flex: none; margin-top: 1px; }
.el-hero-card.is-large .el-hero-card__check b { display: block; font-size: 11.5px; font-weight: 700; }
.el-hero-card.is-large .el-hero-card__check small { color: #5b6577; font-size: 10px; line-height: 1.3; }
.el-hero-card.is-large .el-hero-card__lines { font-size: 9px; }
.el-hero-card.is-large .el-hero-card__legend { margin: 8px 0 0; padding: 7px 0 0 14px; border-top: 1px solid #e6e3e8; color: #5b6577; font-size: 9.5px; line-height: 1.35; }
.el-hero-card.is-large .el-hero-card__legend li { margin-bottom: 2px; }
