/* onboarding.css - the new-account tutorial (2026-10-19 - TUTORIAL_PLAN.md):
 * the training yard's step card (ui/TrainingCard.js) and the first-time tip
 * card (services/Onboarding.js).
 *
 * Both sit OVER THE LIVE WORLD, so by the house rules (base.css) neither
 * animates nor blurs what is behind it: they appear and go, nothing more.
 * Position and pointer-events stay inline in the JS; this file is the look -
 * the column cards' family (hud.css), a little warmer for Corvel's words. */

/* ---- The step card ---- */
.ed-train {
  box-sizing: border-box;
  padding: 11px 16px 13px;
  background: linear-gradient(180deg, rgba(34, 27, 33, 0.95), rgba(20, 16, 21, 0.94));
  box-shadow: var(--ed-shadow-1);
  user-select: none;
}
.ed-train__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}
.ed-train__pips {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ed-train__pip {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 236, 214, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 110, 0.18);
}
.ed-train__pip.is-done { background: var(--ed-gold-500); box-shadow: none; }
.ed-train__pip.is-current {
  background: var(--ed-ember-400);
  box-shadow: 0 0 0 2px rgba(255, 154, 82, 0.25), 0 0 8px rgba(255, 122, 47, 0.55);
}
.ed-train__count {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: calc(13px * var(--ed-fs));
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ed-text-3);
}
.ed-train__skip { margin-right: -6px; }
.ed-train__skip.is-armed {
  border-color: rgba(255, 98, 87, 0.5);
  background: rgba(255, 98, 87, 0.1);
  color: var(--ed-danger-text);
}
.ed-train__speaker {
  margin-top: 6px;
  font-size: calc(13px * var(--ed-fs));
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ed-ember-300);
}
.ed-train__line {
  margin: 3px 0 0;
  font-family: var(--ed-font-display);
  font-weight: 500;
  font-size: calc(22px * var(--ed-fs));
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--ed-gold-200);
  text-shadow: 0 0 14px rgba(255, 160, 70, 0.18);
}
.ed-train__hint {
  margin: 6px 0 0;
  font-size: calc(15px * var(--ed-fs));
  line-height: 1.5;
  color: var(--ed-text-2);
}
.ed-train__hint .ed-kbd, .ed-tip__text .ed-kbd { margin: 0 1px; }

/* ---- The tip card ---- */
.ed-tip {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: max-content;
  max-width: min(calc(480px * var(--ed-fs)), calc(var(--ed-vw, 100vw) - 260px));
  padding: 9px 8px 9px 12px;
  border: 1px solid rgba(255, 196, 140, 0.42);
  border-radius: var(--ed-r-lg);
  background: linear-gradient(180deg, rgba(40, 30, 28, 0.96), rgba(24, 18, 20, 0.95));
  box-shadow: var(--ed-shadow-1), 0 0 18px rgba(255, 110, 40, 0.12);
  cursor: pointer;
  user-select: none;
}
.ed-tip__badge {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 122, 47, 0.18);
  border: 1px solid rgba(255, 170, 100, 0.5);
  color: var(--ed-ember-200);
  font-size: calc(12px * var(--ed-fs));
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.ed-tip__text {
  flex: 1;
  font-size: calc(14px * var(--ed-fs));
  line-height: 1.45;
  color: var(--ed-text);
}
/* A tip's way to its Guide topic (round 2 part 25g1): a button where the Guide can open, words where it cannot. */
.ed-tip__more { display: block; margin-top: 4px; font-size: calc(13px * var(--ed-fs)); color: var(--ed-text-3); }
.ed-tip__more--btn {
  width: max-content;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 176, 110, 0.45);
  background: transparent;
  color: var(--ed-ember-300);
  font-family: var(--ed-font-ui);
  font-weight: 600;
  cursor: pointer;
}
.ed-tip__more--btn:hover { color: var(--ed-gold-200); }
.ed-tip__close {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: -2px 0 0;
  font-size: calc(15px * var(--ed-fs));
}
