@font-face {
  font-family: "IBM VGA 8x16";
  src: url("/assets/fonts/WebPlus_IBM_VGA_8x16.woff") format("woff");
  font-display: block;
}

:root {
  --black: #000000;
  --grey: #aaaaaa;
  --dark: #555555;
  --cyan: #00aaaa;
  --bright-cyan: #55ffff;
  --bright-magenta: #ff55ff;
  --yellow: #ffff55;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--black);
  color: var(--grey);
  font: 16px/1 "IBM VGA 8x16", "Lucida Console", monospace;
}

.embed {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#terminal {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carrier {
  position: absolute;
  inset: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  border: 0;
  background: var(--black);
  color: var(--grey);
  font: inherit;
  cursor: pointer;
}
.carrier[hidden] { display: none; }
.carrier-title { color: var(--bright-cyan); font-size: 32px; letter-spacing: 4px; }
.carrier-line { color: var(--bright-magenta); }
.carrier-action { color: var(--yellow); }
.carrier:hover .carrier-action,
.carrier:focus-visible .carrier-action { color: var(--black); background: var(--cyan); }
.carrier:focus-visible { outline: 1px dashed var(--cyan); outline-offset: -6px; }

.embed-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 28px;
  padding: 0 8px;
  border-top: 1px solid var(--cyan);
  font-size: 12px;
}
#embed-status { color: var(--cyan); }
#embed-withdraw,
#embed-speaker {
  border: 0;
  background: none;
  color: var(--yellow);
  font: inherit;
  cursor: pointer;
}
.embed-credit { margin-left: auto; color: var(--dark); text-decoration: none; }
.embed-credit:hover { color: var(--cyan); }

#embed-speaker { color: var(--cyan); }

@media (max-width: 480px) {
  .carrier-title { font-size: 20px; letter-spacing: 2px; }
  .embed-credit { display: none; }
}
