:root {
  color-scheme: dark;
  font-family: system-ui, "Microsoft JhengHei", sans-serif;
  color: #f1f4ef;
  background: #111a18;
}

body { margin: 0; }

main {
  max-width: 70rem;
  padding: 1.1rem clamp(.75rem, 3vw, 2rem);
  margin-inline: auto;
}

header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin-block-end: .85rem;
}

h1 { font-size: clamp(1.25rem, 3vw, 1.8rem); margin: 0; }
header p { color: #b8c5bb; margin: 0; }

.screen {
  min-height: 16rem;
  height: min(74vh, 49rem);
  position: relative;
  background: #070b09;
  border: 1px solid #394842;
  overflow: hidden;
}

#dos, .launch { position: absolute; inset: 0; }
.launch {
  z-index: 5;
  background: #0d1512;
  display: grid;
  place-content: center;
  gap: .7rem;
  padding: 1.5rem;
  text-align: center;
}

.launch[hidden] { display: none; }
.launch label { text-align: left; }
select {
  color: inherit;
  background: #182620;
  border: 1px solid #708479;
  border-radius: .4rem;
  font: inherit;
  padding: .55rem .7rem;
}
button {
  justify-self: center;
  font: inherit;
  font-weight: 700;
  color: #162219;
  background: #b9e4bf;
  border: 0;
  border-radius: .4rem;
  padding: .75rem 1.25rem;
  cursor: pointer;
}

button:disabled { opacity: .7; cursor: progress; }
button:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #e4c67d; outline-offset: 4px; }
#status { min-height: 1.5rem; margin: .8rem 0 0; }
footer { padding-block: .9rem; color: #ccd6cd; }
footer p { line-height: 1.6; }
kbd { color: #f4ecd6; }
