/* Minimal, self-contained styles for the iframe embed. Background is rflab.io's
   exact page color so it blends seamlessly when framed there (and stays readable
   on its own). */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: #070a0e;
  color: #e6edf5;
  font: 13.5px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.log {
  height: 100%;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
}
.log::-webkit-scrollbar { width: 8px; }
.log::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 8px; }

.msg { display: flex; gap: 8px; align-items: center; animation: fade .2s ease; }
.play {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent;
  color: #38c7e6; font-size: 9px; line-height: 1; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.play:hover { border-color: #38c7e6; }
.play.playing { background: #38c7e6; color: #04121b; border-color: #38c7e6; }
@keyframes fade { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.msg .ts {
  flex: none;
  color: #5f6b78;
  font-family: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
}
.msg .src { flex: none; color: #38c7e6; font-size: 12px; }
.msg .tx { color: #e6edf5; word-break: break-word; }

.note { color: #5f6b78; padding: 10px; font-size: 12px; }
