/* ---- Byte's live worked example (type-lab help) ---- */

.type-lab-action.byte-call {
  border-color: #6d28d9;
  background: linear-gradient(180deg, #a78bfa, #6d28d9);
  color: #fff;
}

.byte-show {
  margin: 0.75rem 0 0.25rem;
  border: 1px solid #c9b8f5;
  border-radius: 14px;
  background: linear-gradient(160deg, #faf7ff, #f1f5ff);
  padding: 0.7rem 0.8rem;
  animation: typeStationIn 0.3s ease both;
}

.byte-show[hidden] { display: none !important; }

.byte-show-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.byte-show-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.byte-show-head strong {
  margin-right: auto;
  color: #5b21b6;
  font-size: 0.88rem;
}

.byte-show-btn {
  border: 1px solid #c9b8f5;
  border-radius: 999px;
  background: #fff;
  color: #6d28d9;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

.byte-show-btn:hover { background: #f3efff; }

.byte-show-board {
  margin-top: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d8ccf5;
  border-radius: 10px;
  background: #fff;
  overflow-x: auto;
}

.bms-row {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
}

.bms-row + .bms-row { margin-top: 0.15rem; }
.bms-row.is-off { display: none; }

.bms-cell {
  position: relative;
  width: 1.75rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font: 900 1.05rem/1 var(--alb-mono);
  color: #17324d;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.bms-carry .bms-cell,
.bms-carry2 .bms-cell {
  height: 1.35rem;
  font-size: 0.78rem;
  color: #d97706;
}

.bms-quo .bms-cell { color: #0369a1; }

.bms-cell.is-on {
  background: #dbeafe;
  box-shadow: 0 0 0 2px #93c5fd;
}

.bms-cell.is-new { animation: bmsPop 0.45s ease both; }

.bms-cell.is-owe::after {
  content: "-1";
  position: absolute;
  top: -0.45rem;
  right: -0.3rem;
  padding: 0.1rem 0.25rem;
  border-radius: 6px;
  background: #fee2e2;
  color: #dc2626;
  font: 800 0.58rem/1 var(--alb-mono);
}

.bms-line {
  width: 78%;
  margin: 0.3rem auto;
  border-top: 3px solid #17324d;
}

.bms-line span {
  font: 900 0.85rem/1.4 var(--alb-mono);
  color: #17324d;
  padding-left: 0.25rem;
}

.bms-work {
  margin: 0.45rem 0 0;
  min-height: 1.2em;
  text-align: center;
  font: 800 0.78rem/1.45 var(--alb-mono);
  color: #7c3aed;
}

.byte-show-say {
  margin: 0.6rem 0 0;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid #8b5cf6;
  border-radius: 0 10px 10px 0;
  background: rgba(139, 92, 246, 0.1);
  color: #3b2f6b;
  font-size: 0.84rem;
  line-height: 1.5;
}

@keyframes bmsPop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

