body { padding-top: 24px; }
main { width: min(100%, 620px); }
#host_form, #ice_settings, #import_form, #outbound { margin: 16px 0; }
#host_form label, #ice_settings label, #slot_label { display: block; margin: 5px 0; }
#host_form { grid-template-columns: 1fr auto auto; align-items: center; }
#host_form label:first-child select { max-width: 100%; }
textarea, #ice_settings input {
    width: 100%; min-width: 0; padding: 6px;
    color: inherit; background: #191713; border: 1px solid #74624a;
}
textarea { resize: vertical; }
.controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.controls button:disabled { opacity: .65; }
.file_picker { padding: 6px 0; }
#game iframe { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; }
#game:not(.visible) iframe { visibility: hidden; }
@media (max-width: 550px) { #host_form { grid-template-columns: 1fr; } }
