.machine-card {
  display: grid;
  gap: 7px;
  padding: 15px;
  margin-bottom: 16px;
  border: 1px solid #4f7181;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(135deg, #15384a, #0a1c29);
}

.machine-card b { color: #fff; font-size: 15px; }
.machine-card p { margin: 0; font-size: 12px; line-height: 1.55; }

/* Let the world, not the HUD, occupy the screen. */
header { top: 12px; left: 16px; right: 16px; padding: 8px 12px; border-radius: 6px; background: #182938ed; box-shadow: 0 3px 0 #09152266; }
.brand { font-size: 25px; }
.brand span { letter-spacing: 1px; }
header button, header a { font-size: 11px; padding: 8px 10px; border-radius: 4px; }
header a { color: #f0d299; text-decoration: none; border: 1px solid #77694d; }
#objective { top: 86px; left: 16px; width: 258px; padding: 13px 15px; border-radius: 5px; background: #182938e8; }
#objective h1 { font-size: 20px; }
#objective small { letter-spacing: 1px; font-size: 9px; }
#task { line-height: 1.5; font-size: 11px; }
.actions button { border-radius: 5px; padding: 10px 14px; font-size: 12px; }
#prompt { color: #fff0cf; }
#lookPad { display: none; }
@media(max-width:700px){
 header { top: 6px; left: 6px; right: 6px; padding: 7px; gap: 5px; }
 header button,header a { font-size: 10px; padding: 6px 7px; }
 #status { order: 2; width: 100%; font-size: 9px; }
 .brand span { max-width: 84px; font-size: 7px; }
 #objective { top: 110px; width: 195px; left: 8px; padding: 9px 11px; }
 #objective h1 { font-size: 16px; }
 .actions button { padding: 9px; font-size: 10px; }
 #lookPad { display: grid; place-content: center; gap: 5px; position: absolute; right: 14px; bottom: 210px; width: 66px; height: 66px; background: #182938cc; border-color: #7d96a1; border-radius: 50%; touch-action: none; font-size: 24px; }
 #lookPad span { font-size: 8px; letter-spacing: 1px; }
}
